Replace --with-mad-warnings with --enable-mad-warnings.
authorMalte S. Stretz <mss@apache.org>
Fri, 3 Sep 2010 13:57:02 +0000 (15:57 +0200)
committerEmil Mikulic <emikulic@gmail.com>
Sat, 28 May 2011 10:10:52 +0000 (20:10 +1000)
configure.ac

index 0d7b335..ebe3107 100644 (file)
@@ -53,10 +53,10 @@ else
  CFLAGS="$save_cflags"
 fi
 
-AC_ARG_WITH(mad-warnings, AS_HELP_STRING([--with-mad-warnings],
+AC_ARG_ENABLE(mad-warnings, AS_HELP_STRING([--enable-mad-warnings],
  [turn on lots of compile-time warnings, this needs GCC and is only
  really useful for development]),
- [if test "$withval" = yes ; then
+ [if test "x$enableval" = "xyes" ; then
    AC_MSG_CHECKING(if your C compiler throws mad warnings)
    save_cflags="$CFLAGS"
    CFLAGS="$CFLAGS -fdiagnostics-show-option \