summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-10-21 17:57:42 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-10-21 17:57:42 +0000
commit9af1ddb92433479214b08e47c774e68ed86e2f08 (patch)
treea47b5f42c57bc22c52adfe54f9a76508974ddf2e
parent1a01057394bbaec40fc578265e8db378268b2d9a (diff)
Added -enable-windows-style support to configh.in and configure.in.
Updated README for -enable-production option. git-svn-id: file:///fltk/svn/fltk/trunk@42 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--README1
-rw-r--r--configh.in6
-rw-r--r--configure.in9
3 files changed, 11 insertions, 5 deletions
diff --git a/README b/README
index be44883f6..60e0f5ad9 100644
--- a/README
+++ b/README
@@ -126,6 +126,7 @@ BUILDING AND INSTALLING FLTK UNDER UNIX
Windows counterparts. Other options include:
--enable-debug - Enable debugging code & symbols
+ --enable-production - Enable optimization
--enable-shared - Enable generation of shared libraries
--enable-windows-style - Enable the Microsoft Windows "look-n-feel"
diff --git a/configh.in b/configh.in
index 8e9895f9f..94a2eac3d 100644
--- a/configh.in
+++ b/configh.in
@@ -1,5 +1,5 @@
/*
- * "$Id: configh.in,v 1.4 1998/10/21 14:18:54 mike Exp $"
+ * "$Id: configh.in,v 1.5 1998/10/21 17:57:41 mike Exp $"
*
* Configuration file for the Fast Light Tool Kit (FLTK).
* @configure_input@
@@ -34,7 +34,7 @@
* at runtime by redefining the boxtypes using Fl::set_boxtype().
*/
-#define BORDER_WIDTH 3
+#define BORDER_WIDTH @BORDER_WIDTH@
/*
* HAVE_GL:
@@ -139,5 +139,5 @@
#define HAVE_LIBJPEG 0
/*
- * End of "$Id: configh.in,v 1.4 1998/10/21 14:18:54 mike Exp $".
+ * End of "$Id: configh.in,v 1.5 1998/10/21 17:57:41 mike Exp $".
*/
diff --git a/configure.in b/configure.in
index 785b762ec..9609f1c43 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl# -*- sh -*-
dnl# the "configure" script is made from this by running GNU "autoconf"
dnl#
-dnl# "$Id: configure.in,v 1.4 1998/10/21 14:18:55 mike Exp $"
+dnl# "$Id: configure.in,v 1.5 1998/10/21 17:57:42 mike Exp $"
dnl#
dnl# for the Fast Light Tool Kit (FLTK).
dnl#
@@ -37,6 +37,7 @@ else
fi
DEBUGFLAG=""
+BORDER_WIDTH=3
AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],if eval "test x$enable_debug = xyes"; then
DEBUGFLAG="-g"
@@ -68,6 +69,9 @@ if eval "test x$enable_shared = xyes"; then
;;
esac
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 "$DEBUGFLAG"; then
CFLAGS="$DEBUGFLAG $CFLAGS"
@@ -133,6 +137,7 @@ fi
MAKEDEPEND="\$(CXX) -M"
+AC_SUBST(BORDER_WIDTH)
AC_SUBST(LIBNAME)
AC_SUBST(LIBCOMMAND)
AC_SUBST(MAKEDEPEND)
@@ -140,5 +145,5 @@ AC_CONFIG_HEADER(config.h:configh.in)
AC_OUTPUT(makeinclude)
dnl#
-dnl# End of "$Id: configure.in,v 1.4 1998/10/21 14:18:55 mike Exp $".
+dnl# End of "$Id: configure.in,v 1.5 1998/10/21 17:57:42 mike Exp $".
dnl#