X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.ac;h=c3ebacf08d60cbad6637bc8431b8abe72626137c;hb=68cb35c28d5d050867d9442c177019f0c1fcbdc7;hp=036fb64a3af797d44a24405ce4dc12ada9f733e6;hpb=fcaa86b18b158c1db0736349dccb94e487dbda5c;p=mmh diff --git a/configure.ac b/configure.ac index 036fb64..c3ebacf 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ AC_PREREQ([2.61]) AC_INIT([nmh], m4_normalize(m4_include([VERSION])), [nmh-workers@nongnu.org]) AC_CONFIG_SRCDIR([h/nmh.h]) AC_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) +AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) AC_CANONICAL_HOST @@ -74,7 +74,7 @@ dnl What method of locking to use? AS_CASE(["$host_os"], [aix*|cygwin*|linux*], [default_locktype="fcntl"; default_locking=FCNTL_LOCKING], - [freebsd*], [default_locktype="flock"; default_locking=FLOCK_LOCKING], + [freebsd*|openbsd*|darwin*], [default_locktype="flock"; default_locking=FLOCK_LOCKING], [default_locktype="dot"; default_locking=DOT_LOCKING]) AC_ARG_WITH(locking, @@ -111,11 +111,13 @@ AC_ARG_ENABLE([lockdir], dnl What method of posting should post use? AC_ARG_WITH([mts], - AS_HELP_STRING([--with-mts=@<:@smtp|sendmail@:>@], + AS_HELP_STRING([--with-mts=@<:@smtp|sendmail/smtp|sendmail/pipe@:>@], [specify the default mail transport agent/service])) AS_IF([test x"$with_mts" = x"smtp"], [MTS="smtp"], - [test x"$with_mts" = x"sendmail"], [MTS="sendmail"], + [test x"$with_mts" = x"sendmail"], [MTS="sendmail/smtp"], + [test x"$with_mts" = x"sendmail/smtp"], [MTS="sendmail/smtp"], + [test x"$with_mts" = x"sendmail/pipe"], [MTS="sendmail/pipe"], [MTS="smtp"]) AC_SUBST([MTS])dnl @@ -817,4 +819,5 @@ dnl --------------- dnl OUTPUT MAKEFILE dnl --------------- AC_CONFIG_FILES([Makefile test/common.sh]) +AC_CONFIG_FILES([uip/spost], [chmod +x uip/spost]) AC_OUTPUT