Use with_dmalloc instead of withval.

This commit is contained in:
Ralf Corsépius 2007-08-24 06:05:45 +02:00
parent b6abbcf059
commit 752fea0aee
1 changed files with 2 additions and 2 deletions

View File

@ -861,9 +861,9 @@ AS_IF([test "$with_apidocs" = yes],[
AC_SUBST(WITH_APIDOCS_TARGET)
AC_SUBST(WITH_APIDOCS)
withval=no
with_dmalloc=no
AC_ARG_WITH(dmalloc, [ --with-dmalloc build with dmalloc debugging support ])
if test $withval = yes ; then
if test "$with_dmalloc" = yes ; then
AC_DEFINE(DMALLOC, 1, [Build with dmalloc support?])
LIBS="$LIBS -ldmalloc"
fi