mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
Dropped -enable-production.
Changed default CFLAGS to -O2. git-svn-id: file:///fltk/svn/fltk/trunk@45 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -126,7 +126,6 @@ BUILDING AND INSTALLING FLTK UNDER UNIX
|
|||||||
Windows counterparts. Other options include:
|
Windows counterparts. Other options include:
|
||||||
|
|
||||||
--enable-debug - Enable debugging code & symbols
|
--enable-debug - Enable debugging code & symbols
|
||||||
--enable-production - Enable optimization
|
|
||||||
--enable-shared - Enable generation of shared libraries
|
--enable-shared - Enable generation of shared libraries
|
||||||
--enable-windows-style - Enable the Microsoft Windows "look-n-feel"
|
--enable-windows-style - Enable the Microsoft Windows "look-n-feel"
|
||||||
|
|
||||||
|
|||||||
+5
-9
@@ -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.5 1998/10/21 17:57:42 mike Exp $"
|
dnl# "$Id: configure.in,v 1.6 1998/10/21 20:42:08 mike Exp $"
|
||||||
dnl#
|
dnl#
|
||||||
dnl# for the Fast Light Tool Kit (FLTK).
|
dnl# for the Fast Light Tool Kit (FLTK).
|
||||||
dnl#
|
dnl#
|
||||||
@@ -36,15 +36,12 @@ else
|
|||||||
LIBCOMMAND="ar crvs"
|
LIBCOMMAND="ar crvs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEBUGFLAG=""
|
DEBUGFLAG="-O2"
|
||||||
BORDER_WIDTH=3
|
BORDER_WIDTH=3
|
||||||
|
|
||||||
AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],if eval "test x$enable_debug = xyes"; then
|
AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],if eval "test x$enable_debug = xyes"; then
|
||||||
DEBUGFLAG="-g"
|
DEBUGFLAG="-g"
|
||||||
fi)
|
fi)
|
||||||
AC_ARG_ENABLE(debug, [ --enable-production turn off debugging [default=yes]],if eval "test x$enable_production != xno"; then
|
|
||||||
DEBUGFLAG="-O2"
|
|
||||||
fi)
|
|
||||||
AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [default=no]],[
|
AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [default=no]],[
|
||||||
if eval "test x$enable_shared = xyes"; then
|
if eval "test x$enable_shared = xyes"; then
|
||||||
RANLIB=":"
|
RANLIB=":"
|
||||||
@@ -73,9 +70,8 @@ AC_ARG_ENABLE(winstyle, [ --enable-windows-style turn on windows look-n-feel [
|
|||||||
BORDER_WIDTH=2
|
BORDER_WIDTH=2
|
||||||
fi)
|
fi)
|
||||||
|
|
||||||
if test -n "$DEBUGFLAG"; then
|
CFLAGS="$DEBUGFLAG $CFLAGS"
|
||||||
CFLAGS="$DEBUGFLAG $CFLAGS"
|
CXXFLAGS="$DEBUGFLAG $CXXFLAGS"
|
||||||
fi
|
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
@@ -145,5 +141,5 @@ AC_CONFIG_HEADER(config.h:configh.in)
|
|||||||
AC_OUTPUT(makeinclude)
|
AC_OUTPUT(makeinclude)
|
||||||
|
|
||||||
dnl#
|
dnl#
|
||||||
dnl# End of "$Id: configure.in,v 1.5 1998/10/21 17:57:42 mike Exp $".
|
dnl# End of "$Id: configure.in,v 1.6 1998/10/21 20:42:08 mike Exp $".
|
||||||
dnl#
|
dnl#
|
||||||
|
|||||||
Reference in New Issue
Block a user