~mdw
/
misc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
qmail-checkspam.c: Add copious logging, particularly of envelopes.
[misc]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
2ee58af
..
b171850
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-31,6
+31,16
@@
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([foreign])
mdw_SILENT_RULES
AM_INIT_AUTOMAKE([foreign])
mdw_SILENT_RULES
+AC_ARG_WITH([logdir],
+ AS_HELP_STRING([--with-logdir=DIR],
+ [Write log files here.]),
+ [logdir=$withval],
+ [logdir=/var/log
+ for i in /var/log /var/adm; do
+ if test -d $i; then logdir=$i; break; fi
+ done])
+AC_SUBST(logdir)
+
AC_CANONICAL_HOST
dnl--------------------------------------------------------------------------
AC_CANONICAL_HOST
dnl--------------------------------------------------------------------------
@@
-84,9
+94,8
@@
AC_PATH_PROGS([PERL], [perl perl5], [false])
AX_PROG_PERL_VERSION([5.004], [have_perl=yes], [have_perl=no])
AM_CONDITIONAL([HAVE_PERL], [test $have_perl = yes])
AX_PROG_PERL_VERSION([5.004], [have_perl=yes], [have_perl=no])
AM_CONDITIONAL([HAVE_PERL], [test $have_perl = yes])
-AC_ARG_WITH(
- [perlmoddir],
- AS_HELP_STRING([--perlmoddir=DIR],
+AC_ARG_WITH([perlmoddir],
+ AS_HELP_STRING([--with-perlmoddir=DIR],
[Install Perl modules here.]),
[perlmoddir=$withval],
[perlmoddir='${libdir}/site_perl'])
[Install Perl modules here.]),
[perlmoddir=$withval],
[perlmoddir='${libdir}/site_perl'])