commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/geas configure.in


From: Daniel E. Baumann
Subject: gnue/geas configure.in
Date: Wed, 06 Jun 2001 08:57:31 -0700

CVSROOT:        /cvs
Module name:    gnue
Changes by:     Daniel E. Baumann <address@hidden>      01/06/06 08:57:31

Modified files:
        geas           : configure.in 

Log message:
        Made changes suggested by reinhard.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/configure.in.diff?cvsroot=OldCVS&tr1=1.28&tr2=1.29&r1=text&r2=text

Patches:
Index: gnue/geas/configure.in
diff -u gnue/geas/configure.in:1.28 gnue/geas/configure.in:1.29
--- gnue/geas/configure.in:1.28 Tue Jun  5 22:17:22 2001
+++ gnue/geas/configure.in      Wed Jun  6 08:57:31 2001
@@ -336,7 +336,6 @@
 [  --enable-more-warnings  Maximum compiler warnings],
 set_more_warnings="$enableval",[
 if test -f $srcdir/CVSVERSION; then
-       is_cvs_version=true
        set_more_warnings=yes
 else
        set_more_warnings=no
@@ -347,28 +346,11 @@
        AC_MSG_RESULT(yes)
        CFLAGS="\
        -Wall \
-       -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
-       -Wnested-externs -Wpointer-arith \
+       -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
        -Wcast-align -Wsign-compare \
        -Werror \
        $CFLAGS"
 
-       for option in -Wsign-promo -Wno-sign-compare; do
-               SAVE_CFLAGS="$CFLAGS"
-               CFLAGS="$CFLAGS $option"
-               AC_MSG_CHECKING([whether gcc understands $option])
-               AC_TRY_COMPILE([], [],
-                       has_option=yes,
-                       has_option=no,)
-               CFLAGS="$SAVE_CFLAGS"
-               if test $has_option = yes; then
-                 CFLAGS="$CFLAGS $option"
-               fi
-               AC_MSG_RESULT($has_option)
-               unset has_option
-               unset SAVE_CFLAGS
-       done
-       unset option
 else
        AC_MSG_RESULT(no)
 fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]