Browse files

Use --enable-debug instead of --with-debug

  • Loading branch information...
1 parent 813a5c7 commit ebbe849eb31f39f91ed4d85b8a642783e6587cab @jedisct1 committed May 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 configure.ac
View
4 configure.ac
@@ -156,8 +156,8 @@ AC_CHECK_FUNCS([atexit socket strerror])
# Switches
AC_HEADER_ASSERT
-AC_ARG_WITH(debug,
-[AS_HELP_STRING(--with-debug,For maintainers only - please do not use)],
+AC_ARG_ENABLE(debug,
+[AS_HELP_STRING(--enable-debug,For maintainers only - please do not use)],
[ if test "x$withval" = "xyes" ; then
CFLAGS="$CFLAGS -DDEBUG=1 -g -Werror -Wall -W -Wcast-align -Wbad-function-cast -Wstrict-prototypes -Wwrite-strings -Wreturn-type "
fi ])

0 comments on commit ebbe849

Please sign in to comment.