Add configure --enable-debug to make it build both

This commit is contained in:
Ryan Dahl 2010-10-30 16:10:55 -07:00
parent 5e11b8a937
commit 7c90ff5d41
2 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,7 @@ mandir=@mandir@
srcdir = @srcdir@
VPATH = @srcdir@
DEBUG = @DEBUG@
export exec_prefix mandir
export srcdir VPATH PREFIX

View File

@ -19,6 +19,10 @@ echo "# ${config_append}. Generated by configure." > "${config_append}"
#dnl Search for pkg-config
#AC_PATH_PROG(PKG_CONFIG, pkg-config)
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug], [enable debugging ]),
AC_SUBST(DEBUG,[1]))
# TODO support options
# --efence Build with -lefence for debugging [Default: False]