projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a --enable-debug option to configure and
[pspp-builds.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 25631a4d87cac9d2a27fd473d7a5dcb8239bf23a..f5fd1e3e39198c39870da6295a7a8659c3cbe6ad 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-102,6
+102,11
@@
AH_BOTTOM([#include <pref.h>])
dnl This is needed otherwise --with-included-gettext fails
AH_BOTTOM([#include <locale.h>])
dnl This is needed otherwise --with-included-gettext fails
AH_BOTTOM([#include <locale.h>])
+AC_ARG_ENABLE(debug, [ --enable-debug Turn on diagnostic features in the program])
+if test x"$enable_debug" = x"yes" ; then
+ AC_DEFINE(DEBUGGING, 1, [Define to 1 if debugging is enabled.])
+fi
+
AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile intl/Makefile
lib/Makefile lib/julcal/Makefile lib/misc/Makefile
lib/dcdflib/Makefile doc/Makefile src/Makefile
AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile intl/Makefile
lib/Makefile lib/julcal/Makefile lib/misc/Makefile
lib/dcdflib/Makefile doc/Makefile src/Makefile