Add configure --enable-debug to make it build both
This commit is contained in:
parent
5e11b8a937
commit
7c90ff5d41
@ -23,6 +23,7 @@ mandir=@mandir@
|
||||
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
DEBUG = @DEBUG@
|
||||
|
||||
export exec_prefix mandir
|
||||
export srcdir VPATH PREFIX
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user