summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-07-10 13:28:14 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:07 +0100
commit373165c14f7855b6820908b812f26bf9b0bd4f17 (patch)
tree16e31a2ecf89270cb5c3097dbf974a565af4d801
parenteb567b53548387240506e76fb41c1c705c19aa01 (diff)
change to `--with-history'
-rw-r--r--configure.ac13
1 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 1d6e94f..e9d7be6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,11 +6,14 @@ AM_CONFIG_HEADER(config.h)
AC_ARG_PROGRAM
-AC_DEFINE(RELDATE, "1998-02-19")
+AC_DEFINE(RELDATE, "1998-07-10")
+dnl If we're using gcc, specify `-Wall'. I've also checked the code
+dnl with `-pedantic -W -Wall -Wpointer-arith -Wstrict-prototypes
+dnl -Wmissing-prototypes', and all the warning generated are harmless.
AC_PROG_CC
case "$GCC" in
-yes) CFLAGS="-Wall $CFLAGS" ;;
+yes) CFLAGS="-Wall $CFLAGS" ;;
esac
AC_PROG_CPP
@@ -258,9 +261,9 @@ yes) AC_CACHE_CHECK(extant directories for default path, rc_cv_def_path,[
;;
esac
-AC_ARG_ENABLE(history,
- [ --enable-history Build history subprograms],[
- case "$enableval" in
+AC_ARG_WITH(history,
+ [ --with-history Build history subprograms],[
+ case "$withval" in
yes) rc_history=yes ;;
*) rc_history=no ;;
esac