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
This commit is contained in:
Michael R Sweet 1998-10-21 17:57:42 +00:00
parent 1a01057394
commit 9af1ddb924
3 changed files with 11 additions and 5 deletions

1
README
View File

@ -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"

View File

@ -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 $".
*/

View File

@ -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#