diff options
author | mdejong <mdejong> | 2001-06-26 20:17:22 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-06-26 20:17:22 (GMT) |
commit | cfb424fdeffdc953975e1dd1174390724fb76583 (patch) | |
tree | 694f05651b5e64a6450ae296c7716d1bd3613400 /unix/configure.in | |
parent | d28dcbeb1eafcb1a59fb940457faf7de223b2dfd (diff) | |
download | tk-cfb424fdeffdc953975e1dd1174390724fb76583.zip tk-cfb424fdeffdc953975e1dd1174390724fb76583.tar.gz tk-cfb424fdeffdc953975e1dd1174390724fb76583.tar.bz2 |
* unix/configure: Regen.
* unix/configure.in: Set CFLAGS to "" if the user
did not set CFLAGS in the env. This keeps AC_PROG_CC
from adding "-g -O2" to the CFLAGS by default.
* win/configure: Regen.
* win/configure.in: Ditto.
Diffstat (limited to 'unix/configure.in')
-rw-r--r-- | unix/configure.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in index 1745a75..4a269b6 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which is run during Tk installation dnl to configure the system for the local environment. AC_INIT(../generic/tk.h) -# RCS: @(#) $Id: configure.in,v 1.59 2001/06/22 23:59:48 mdejong Exp $ +# RCS: @(#) $Id: configure.in,v 1.60 2001/06/26 20:17:22 mdejong Exp $ TK_VERSION=8.4 TK_MAJOR_VERSION=8 @@ -22,6 +22,16 @@ fi srcdir=`cd $srcdir ; pwd` TK_SRC_DIR=`cd $srcdir/..; pwd` +#------------------------------------------------------------------------ +# Standard compiler checks +#------------------------------------------------------------------------ + +# If the user did not set CFLAGS, set it now to keep +# the AC_PROG_CC macro from adding "-g -O2". +if test "${CFLAGS+set}" != "set" ; then + export CFLAGS="" +fi + AC_PROG_CC AC_PROG_RANLIB |