Autoconf sucks - can't redefine BORDER_WIDTH to another value in config.h...

Removed --enable-windows-style option.


git-svn-id: file:///fltk/svn/fltk/trunk@47 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
1998-10-21 21:41:41 +00:00
parent 85b225865e
commit 05d7379a35
3 changed files with 5 additions and 10 deletions
-1
View File
@@ -127,7 +127,6 @@ BUILDING AND INSTALLING FLTK UNDER UNIX
--enable-debug - Enable debugging code & symbols --enable-debug - Enable debugging code & symbols
--enable-shared - Enable generation of shared libraries --enable-shared - Enable generation of shared libraries
--enable-windows-style - Enable the Microsoft Windows "look-n-feel"
--bindir=/path - Set the location for executables --bindir=/path - Set the location for executables
[default = /usr/local/bin] [default = /usr/local/bin]
+3 -3
View File
@@ -1,5 +1,5 @@
/* /*
* "$Id: configh.in,v 1.5 1998/10/21 17:57:41 mike Exp $" * "$Id: configh.in,v 1.6 1998/10/21 21:41:41 mike Exp $"
* *
* Configuration file for the Fast Light Tool Kit (FLTK). * Configuration file for the Fast Light Tool Kit (FLTK).
* @configure_input@ * @configure_input@
@@ -34,7 +34,7 @@
* at runtime by redefining the boxtypes using Fl::set_boxtype(). * at runtime by redefining the boxtypes using Fl::set_boxtype().
*/ */
#define BORDER_WIDTH @BORDER_WIDTH@ #define BORDER_WIDTH 3
/* /*
* HAVE_GL: * HAVE_GL:
@@ -139,5 +139,5 @@
#define HAVE_LIBJPEG 0 #define HAVE_LIBJPEG 0
/* /*
* End of "$Id: configh.in,v 1.5 1998/10/21 17:57:41 mike Exp $". * End of "$Id: configh.in,v 1.6 1998/10/21 21:41:41 mike Exp $".
*/ */
+2 -6
View File
@@ -1,7 +1,7 @@
dnl# -*- sh -*- dnl# -*- sh -*-
dnl# the "configure" script is made from this by running GNU "autoconf" dnl# the "configure" script is made from this by running GNU "autoconf"
dnl# dnl#
dnl# "$Id: configure.in,v 1.7 1998/10/21 20:56:42 mike Exp $" dnl# "$Id: configure.in,v 1.8 1998/10/21 21:41:41 mike Exp $"
dnl# dnl#
dnl# for the Fast Light Tool Kit (FLTK). dnl# for the Fast Light Tool Kit (FLTK).
dnl# dnl#
@@ -66,9 +66,6 @@ if eval "test x$enable_shared = xyes"; then
;; ;;
esac esac
fi]) fi])
AC_ARG_ENABLE(winstyle, [ --enable-windows-style turn on windows look-n-feel [default=no]],if eval "test x$enable_winstyle = xyes"; then
BORDER_WIDTH=2
fi)
if test -n "$CFLAGS"; then if test -n "$CFLAGS"; then
CFLAGS="$DEBUGFLAG $CFLAGS" CFLAGS="$DEBUGFLAG $CFLAGS"
@@ -138,7 +135,6 @@ fi
MAKEDEPEND="\$(CXX) -M" MAKEDEPEND="\$(CXX) -M"
AC_SUBST(BORDER_WIDTH)
AC_SUBST(LIBNAME) AC_SUBST(LIBNAME)
AC_SUBST(LIBCOMMAND) AC_SUBST(LIBCOMMAND)
AC_SUBST(MAKEDEPEND) AC_SUBST(MAKEDEPEND)
@@ -146,5 +142,5 @@ AC_CONFIG_HEADER(config.h:configh.in)
AC_OUTPUT(makeinclude) AC_OUTPUT(makeinclude)
dnl# dnl#
dnl# End of "$Id: configure.in,v 1.7 1998/10/21 20:56:42 mike Exp $". dnl# End of "$Id: configure.in,v 1.8 1998/10/21 21:41:41 mike Exp $".
dnl# dnl#