Remove the --enable-ansi option (#160469)
authorMatthias Clasen <mclasen@redhat.com>
Sat, 5 Feb 2005 03:38:06 +0000 (03:38 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 5 Feb 2005 03:38:06 +0000 (03:38 +0000)
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Remove the --enable-ansi option  (#160469)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
configure.in

index eac01c8..6bc6978 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
 
+       * configure.in: Remove the --enable-ansi option  (#160469)
+
        * configure.in: Define a HAVE_GNUC_VISIBILITY automake
        conditional.
 
index eac01c8..6bc6978 100644 (file)
@@ -1,5 +1,7 @@
 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
 
+       * configure.in: Remove the --enable-ansi option  (#160469)
+
        * configure.in: Define a HAVE_GNUC_VISIBILITY automake
        conditional.
 
index eac01c8..6bc6978 100644 (file)
@@ -1,5 +1,7 @@
 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
 
+       * configure.in: Remove the --enable-ansi option  (#160469)
+
        * configure.in: Define a HAVE_GNUC_VISIBILITY automake
        conditional.
 
index eac01c8..6bc6978 100644 (file)
@@ -1,5 +1,7 @@
 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
 
+       * configure.in: Remove the --enable-ansi option  (#160469)
+
        * configure.in: Define a HAVE_GNUC_VISIBILITY automake
        conditional.
 
index 00671c5..e9a7d95 100644 (file)
@@ -202,10 +202,6 @@ AC_ARG_ENABLE(mem_pools,
               [AC_HELP_STRING([--disable-mem-pools],
                              [disable all glib memory pools])],,
              [disable_mem_pools=no])
-AC_ARG_ENABLE(ansi,
-              [AC_HELP_STRING([--enable-ansi],
-                              [turn on strict ansi [default=no]])],,
-             [enable_ansi=no])
 AC_ARG_ENABLE(threads,
               [AC_HELP_STRING([--enable-threads],
                               [turn on basic thread support [default=yes]
@@ -461,18 +457,6 @@ if test "x$GCC" = "xyes"; then
   *[[\ \       ]]-Wall[[\ \    ]]*) ;;
   *) CFLAGS="$CFLAGS -Wall" ;;
   esac
-
-  if test "x$enable_ansi" = "xyes"; then
-    case " $CFLAGS " in
-    *[[\ \     ]]-ansi[[\ \    ]]*) ;;
-    *) CFLAGS="$CFLAGS -ansi" ;;
-    esac
-
-    case " $CFLAGS " in
-    *[[\ \     ]]-pedantic[[\ \        ]]*) ;;
-    *) CFLAGS="$CFLAGS -pedantic" ;;
-    esac
-  fi
 fi
 
 dnl