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 e6ffc86 commit 37cf6e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -101,8 +101,8 @@ AC_CHECK_TYPES([ptrdiff_t])
# 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 -DQUEUE_MACRO_DEBUG=1 -DDEBUG=1 -g -Wall -W -Wcast-align -Wbad-function-cast -Wstrict-prototypes -Wwrite-strings -Wreturn-type " CFLAGS="$CFLAGS -DQUEUE_MACRO_DEBUG=1 -DDEBUG=1 -g -Wall -W -Wcast-align -Wbad-function-cast -Wstrict-prototypes -Wwrite-strings -Wreturn-type "
fi ]) fi ])
Expand Down

0 comments on commit 37cf6e7

Please sign in to comment.