Browse Source

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

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
7c90ff5d41
  1. 1
      config.mak.in
  2. 4
      configure.ac

1
config.mak.in

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

4
configure.ac

@ -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…
Cancel
Save