]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
No need to know the GCC -W items in config.h
authorHarlan Stenn <stenn@ntp.org>
Wed, 29 Apr 2009 05:50:44 +0000 (01:50 -0400)
committerHarlan Stenn <stenn@ntp.org>
Wed, 29 Apr 2009 05:50:44 +0000 (01:50 -0400)
bk: 49f7eab4fONs7E8bYg7qUDiqbPg00A

configure.ac

index efbff501b44e1dd0a88cf8e417e1f6f6b3991988..95b4a9f2073ba45ad5deb3a760e4568dc0493eec 100644 (file)
@@ -126,14 +126,9 @@ case "$GCC" in
     CFLAGS="$SAVED_CFLAGS_AC"
     unset SAVED_CFLAGS_AC
     #
-    # $ac_cv_gcc_Wstrict_overflow is tested again later to add the 
+    # $ac_cv_gcc_Wstrict_overflow is tested later to add the 
     # flag to CFLAGS.
     #
-    case "$ac_cv_gcc_Wstrict_overflow" in
-     yes)
-       AC_DEFINE(HAVE_GCC_WARN_STRICT_OVERFLOW, 1, 
-           [compiling with gcc which understands -Wstrict-overflow])
-    esac
 esac
 
 
@@ -155,14 +150,9 @@ case "$GCC" in
     CFLAGS="$SAVED_CFLAGS_AC"
     unset SAVED_CFLAGS_AC
     #
-    # $ac_cv_gcc_Winit_self is tested again later to add the 
+    # $ac_cv_gcc_Winit_self is tested later to add the 
     # flag to CFLAGS.
     #
-    case "$ac_cv_gcc_Winit_self" in
-     yes)
-       AC_DEFINE(HAVE_GCC_WARN_INIT_SELF, 1, 
-           [compiling with gcc which understands -Winit-self])
-    esac
 esac