mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
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:
parent
161e54209e
commit
f92617db07
@ -1,5 +1,7 @@
|
|||||||
2005-02-04 Matthias Clasen <mclasen@redhat.com>
|
2005-02-04 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Remove the --enable-ansi option (#160469)
|
||||||
|
|
||||||
* configure.in: Define a HAVE_GNUC_VISIBILITY automake
|
* configure.in: Define a HAVE_GNUC_VISIBILITY automake
|
||||||
conditional.
|
conditional.
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2005-02-04 Matthias Clasen <mclasen@redhat.com>
|
2005-02-04 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Remove the --enable-ansi option (#160469)
|
||||||
|
|
||||||
* configure.in: Define a HAVE_GNUC_VISIBILITY automake
|
* configure.in: Define a HAVE_GNUC_VISIBILITY automake
|
||||||
conditional.
|
conditional.
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2005-02-04 Matthias Clasen <mclasen@redhat.com>
|
2005-02-04 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Remove the --enable-ansi option (#160469)
|
||||||
|
|
||||||
* configure.in: Define a HAVE_GNUC_VISIBILITY automake
|
* configure.in: Define a HAVE_GNUC_VISIBILITY automake
|
||||||
conditional.
|
conditional.
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2005-02-04 Matthias Clasen <mclasen@redhat.com>
|
2005-02-04 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Remove the --enable-ansi option (#160469)
|
||||||
|
|
||||||
* configure.in: Define a HAVE_GNUC_VISIBILITY automake
|
* configure.in: Define a HAVE_GNUC_VISIBILITY automake
|
||||||
conditional.
|
conditional.
|
||||||
|
|
||||||
|
16
configure.in
16
configure.in
@ -202,10 +202,6 @@ AC_ARG_ENABLE(mem_pools,
|
|||||||
[AC_HELP_STRING([--disable-mem-pools],
|
[AC_HELP_STRING([--disable-mem-pools],
|
||||||
[disable all glib memory pools])],,
|
[disable all glib memory pools])],,
|
||||||
[disable_mem_pools=no])
|
[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_ARG_ENABLE(threads,
|
||||||
[AC_HELP_STRING([--enable-threads],
|
[AC_HELP_STRING([--enable-threads],
|
||||||
[turn on basic thread support [default=yes]
|
[turn on basic thread support [default=yes]
|
||||||
@ -461,18 +457,6 @@ if test "x$GCC" = "xyes"; then
|
|||||||
*[[\ \ ]]-Wall[[\ \ ]]*) ;;
|
*[[\ \ ]]-Wall[[\ \ ]]*) ;;
|
||||||
*) CFLAGS="$CFLAGS -Wall" ;;
|
*) CFLAGS="$CFLAGS -Wall" ;;
|
||||||
esac
|
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
|
fi
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
Reference in New Issue
Block a user