summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2017-06-23 22:16:23 +0100
committerToby Goodwin <toby@paccrat.org>2017-06-23 22:16:47 +0100
commit1216df718969c0f856bce9e1adc64bce127eadd9 (patch)
tree147e8aeb459b54a9d41ad0615d539f1e01afc580 /configure.ac
parent29440403156f6afc4ace075d96407596dfea2daa (diff)
add parse tree dumper with --enable-develop
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b7b8a7f..23ebf8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,6 +145,19 @@ yes) AC_CACHE_CHECK(extant directories for default path, rc_cv_def_path,[
;;
esac
+
+AC_ARG_ENABLE(develop,
+ [ --enable-develop Include extra code for developers],[
+ case "$enableval" in
+ yes)
+ rc_develop=true
+ AC_DEFINE([RC_DEVELOP], 1, [Enable developer options]) ;;
+ no) ;;
+ *) AC_MSG_ERROR([bad value $enableval for --enable-develop]) ;;
+ esac])
+AM_CONDITIONAL(AMC_DEVELOP, test "$rc_develop" = true)
+
+
AC_ARG_WITH(history,
[ --with-history Build history subprograms],[
case "$withval" in