Remove the --enable-ansi option (#160469)

2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Remove the --enable-ansi option  (#160469)
This commit is contained in:
Matthias Clasen 2005-02-05 03:38:06 +00:00 committed by Matthias Clasen
parent 161e54209e
commit f92617db07
5 changed files with 8 additions and 16 deletions

View 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.

View 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.

View 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.

View 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.

View 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