Skip to content

Commit

Permalink
Use --enable-debug instead of --with-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed May 21, 2012
1 parent 813a5c7 commit ebbe849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ AC_CHECK_FUNCS([atexit socket strerror])
# Switches # Switches
AC_HEADER_ASSERT AC_HEADER_ASSERT


AC_ARG_WITH(debug, AC_ARG_ENABLE(debug,
[AS_HELP_STRING(--with-debug,For maintainers only - please do not use)], [AS_HELP_STRING(--enable-debug,For maintainers only - please do not use)],
[ if test "x$withval" = "xyes" ; then [ 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 " CFLAGS="$CFLAGS -DDEBUG=1 -g -Werror -Wall -W -Wcast-align -Wbad-function-cast -Wstrict-prototypes -Wwrite-strings -Wreturn-type "
fi ]) fi ])
Expand Down

0 comments on commit ebbe849

Please sign in to comment.