summaryrefslogtreecommitdiffstats
path: root/sqwebmail/configure.ac
diff options
context:
space:
mode:
authorSam Varshavchik2015-02-28 11:59:45 -0500
committerSam Varshavchik2015-02-28 11:59:45 -0500
commitaab9bb42224fbb92c11eabb477282a8f0efe1c17 (patch)
tree9c9f27f6e3755bc7bba874727ae08a0e1a5df48b /sqwebmail/configure.ac
parent3c35c22f36316dd84533a5d22f04f8b8f90b23a3 (diff)
downloadcourier-libs-aab9bb42224fbb92c11eabb477282a8f0efe1c17.tar.bz2
Remove clean and smudge filters from the git repo that are used to
stamp sysconftool-processed configuration file. Rename all sysconftool-processed configuration files to *.git, and use a build rule to create a stamped sysconftool file. Fix a couple of compilation warnings.
Diffstat (limited to 'sqwebmail/configure.ac')
-rw-r--r--sqwebmail/configure.ac16
1 files changed, 15 insertions, 1 deletions
diff --git a/sqwebmail/configure.ac b/sqwebmail/configure.ac
index 676336a..fd40b78 100644
--- a/sqwebmail/configure.ac
+++ b/sqwebmail/configure.ac
@@ -350,7 +350,7 @@ AC_DEFINE_UNQUOTED(MAXLONGSIZE, $MAXLONGSIZE,
AC_ARG_ENABLE(bannerprog,
[ --enable-bannerprog=prog Program which will generate a banner.],
- [
+ [
AC_DEFINE_UNQUOTED(BANNERPROG, "$enableval",
[ External banner generating program ])
])
@@ -456,6 +456,20 @@ AC_SUBST(MINPASSLEN)
AC_DEFINE_UNQUOTED(MINPASSLEN, $MINPASSLEN,
[ Minimum length of a password ])
+
+AM_CONDITIONAL(HAVE_SGML, test -d ${srcdir}/../docbook)
+
+# This gets built by the make rule, and is not in the git repo
+
+for f in sqwebmaild.dist.in
+do
+ if test ! -f "$srcdir/$f"
+ then
+ cp -p "$srcdir/$f.git" "$srcdir/$f"
+ touch "$srcdir/$f.git"
+ fi
+done
+
AC_OUTPUT(Makefile sendit.sh cleancache.pl sqwebmaild.dist)
if test ! -d html/$lang