summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorescoffon <escoffon>1998-07-24 11:14:44 (GMT)
committerescoffon <escoffon>1998-07-24 11:14:44 (GMT)
commite7833c22029a12d6ce78fd0575a04765d0fa8e5b (patch)
tree0e4d48bf0d9bfc30af153af6044fede63af39d4c
parent4b30f059a8862f77079033a74b10f2522d7cc460 (diff)
downloadtk-e7833c22029a12d6ce78fd0575a04765d0fa8e5b.zip
tk-e7833c22029a12d6ce78fd0575a04765d0fa8e5b.tar.gz
tk-e7833c22029a12d6ce78fd0575a04765d0fa8e5b.tar.bz2
leave -Wconversion out, the X libs generate so many of these warnings
that they obscure everything else.
-rw-r--r--unix/configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 5579147..62412f6 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -1,3 +1,4 @@
+#! /bin/bash -norc
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.
@@ -32,7 +33,10 @@ AC_HAVE_HEADERS(unistd.h limits.h)
# set the warning flags depending on whether or not we are using gcc
if test "${GCC}" = "yes" ; then
- CFLAGS_WARNING="-Wall -Wconversion"
+ # leave -Wconversion out, the X libs generate so many of these warnings
+ # that they obscure everything else.
+
+ CFLAGS_WARNING="-Wall"
else
CFLAGS_WARNING=""
fi