Skip to content

Commit

Permalink
Added -enable-windows-style support to configh.in and configure.in.
Browse files Browse the repository at this point in the history
Updated README for -enable-production option.


git-svn-id: file:///fltk/svn/fltk/trunk@42 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Oct 21, 1998
1 parent 1a01057 commit 9af1ddb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions configh.in
Original file line number Diff line number Diff line change
@@ -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@
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 $".
*/
9 changes: 7 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
@@ -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#
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -133,12 +137,13 @@ fi

MAKEDEPEND="\$(CXX) -M"

AC_SUBST(BORDER_WIDTH)
AC_SUBST(LIBNAME)
AC_SUBST(LIBCOMMAND)
AC_SUBST(MAKEDEPEND)
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#

0 comments on commit 9af1ddb

Please sign in to comment.