X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.ac;h=2eb35f2d70ea0394ac0ca19de7fd6cb568a236df;hb=21280aed16e7a74b4c578c328ef76e2a4649985c;hp=8979fdef0de14fcb3e7ee8d4b71e6076b4117869;hpb=1a02dc347cf3d583b8b2e4a57e9ff32cf82240e9;p=mmh diff --git a/configure.ac b/configure.ac index 8979fde..2eb35f2 100644 --- a/configure.ac +++ b/configure.ac @@ -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 @@ -350,12 +352,12 @@ dnl then use `vi' as the default. AS_IF([test -z "$editorpath"], [editorpath="$vipath"]) AC_SUBST([editorpath])dnl -dnl Cygwin FAT filesystems do not support hard links. So use cp instead, -dnl even if running on an NTFS or other filesystem. +dnl Cygwin FAT filesystems do not support hard links. So default to +dnl cp instead, even if running on an NTFS or other filesystem. AS_CASE(["$host_os"], - [cygwin*],[LINK_FILE=cp], - [LINK_FILE=ln]) -AC_SUBST([LINK_FILE]) + [cygwin*],[LN=cp], + [LN=ln]) +AC_SUBST([LN]) dnl ---------------------------------------------------------- dnl FIND MAIL SPOOL AND SEE IF WE NEED TO MAKE inc SETGID MAIL @@ -816,5 +818,5 @@ TLS support : ${tls_support} dnl --------------- dnl OUTPUT MAKEFILE dnl --------------- -AC_CONFIG_FILES([Makefile test/common.sh]) +AC_CONFIG_FILES([Makefile uip/spost test/common.sh]) AC_OUTPUT