From f92617db079101dc1a63f5a94d476a1eafe723ba Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 5 Feb 2005 03:38:06 +0000 Subject: [PATCH] Remove the --enable-ansi option (#160469) 2005-02-04 Matthias Clasen * configure.in: Remove the --enable-ansi option (#160469) --- ChangeLog | 2 ++ ChangeLog.pre-2-10 | 2 ++ ChangeLog.pre-2-12 | 2 ++ ChangeLog.pre-2-8 | 2 ++ configure.in | 16 ---------------- 5 files changed, 8 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index eac01c8..6bc6978 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-02-04 Matthias Clasen + * configure.in: Remove the --enable-ansi option (#160469) + * configure.in: Define a HAVE_GNUC_VISIBILITY automake conditional. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index eac01c8..6bc6978 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,7 @@ 2005-02-04 Matthias Clasen + * configure.in: Remove the --enable-ansi option (#160469) + * configure.in: Define a HAVE_GNUC_VISIBILITY automake conditional. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index eac01c8..6bc6978 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,7 @@ 2005-02-04 Matthias Clasen + * configure.in: Remove the --enable-ansi option (#160469) + * configure.in: Define a HAVE_GNUC_VISIBILITY automake conditional. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index eac01c8..6bc6978 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,7 @@ 2005-02-04 Matthias Clasen + * configure.in: Remove the --enable-ansi option (#160469) + * configure.in: Define a HAVE_GNUC_VISIBILITY automake conditional. diff --git a/configure.in b/configure.in index 00671c5..e9a7d95 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.7.4