mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
* configure.ac: Add --with-mailprog to override the use of sendmail with
another MTA. We can use anything that follows the "$MAILPROG -t" convention.
This commit is contained in:
parent
f07463b72c
commit
b67d342b9d
@ -1,3 +1,9 @@
|
|||||||
|
2002-07-08 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* configure.ac: Add --with-mailprog to override the use of
|
||||||
|
sendmail with another MTA. We can use anything that follows the
|
||||||
|
"$MAILPROG -t" convention.
|
||||||
|
|
||||||
2002-07-04 David Shaw <dshaw@jabberwocky.com>
|
2002-07-04 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* configure.ac: --enable-exec-path should be a 'with'. Fix 'no'
|
* configure.ac: --enable-exec-path should be a 'with'. Fix 'no'
|
||||||
|
20
configure.ac
20
configure.ac
@ -78,7 +78,7 @@ case "$use_static_rnd" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
AC_ARG_WITH(egd-socket,
|
AC_ARG_WITH(egd-socket,
|
||||||
[ --with-egd-socket=NAME Use NAME for the EGD socket)],
|
[ --with-egd-socket=NAME use NAME for the EGD socket],
|
||||||
egd_socket_name="$withval", egd_socket_name="" )
|
egd_socket_name="$withval", egd_socket_name="" )
|
||||||
AC_DEFINE_UNQUOTED(EGD_SOCKET_NAME, "$egd_socket_name",
|
AC_DEFINE_UNQUOTED(EGD_SOCKET_NAME, "$egd_socket_name",
|
||||||
[Define if you don't want the default EGD socket name.
|
[Define if you don't want the default EGD socket name.
|
||||||
@ -393,15 +393,27 @@ fi
|
|||||||
AC_SUBST(GPGKEYS_LDAP)
|
AC_SUBST(GPGKEYS_LDAP)
|
||||||
AC_SUBST(LDAPLIBS)
|
AC_SUBST(LDAPLIBS)
|
||||||
|
|
||||||
if test "$try_mailto" = yes ; then
|
dnl This isn't necessarily sendmail itself, but anything that gives a
|
||||||
AC_PATH_PROG(SENDMAIL,sendmail,,$PATH:/usr/sbin:/usr/libexec:/usr/lib)
|
dnl sendmail-ish interface to the outside world. That includes qmail,
|
||||||
|
dnl postfix, etc. Basically, anything that can handle "sendmail -t".
|
||||||
|
|
||||||
|
if test "$try_mailto" = yes ; then
|
||||||
|
AC_ARG_WITH(mailprog,[ --with-mailprog=NAME use "NAME -t" for mail transport],,with_mailprog=yes)
|
||||||
|
|
||||||
|
if test "$with_mailprog" = yes ; then
|
||||||
|
AC_PATH_PROG(SENDMAIL,sendmail,,$PATH:/usr/sbin:/usr/libexec:/usr/lib)
|
||||||
if test "$ac_cv_path_SENDMAIL" ; then
|
if test "$ac_cv_path_SENDMAIL" ; then
|
||||||
GPGKEYS_MAILTO="gpgkeys_mailto"
|
GPGKEYS_MAILTO="gpgkeys_mailto"
|
||||||
fi
|
fi
|
||||||
|
elif test "$with_mailprog" != no ; then
|
||||||
|
AC_MSG_CHECKING([for a mail transport program])
|
||||||
|
AC_SUBST(SENDMAIL,$with_mailprog)
|
||||||
|
AC_MSG_RESULT($with_mailprog)
|
||||||
|
GPGKEYS_MAILTO="gpgkeys_mailto"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(GPGKEYS_MAILTO)
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(GPGKEYS_MAILTO)
|
||||||
AC_SUBST(GPGKEYS_HKP)
|
AC_SUBST(GPGKEYS_HKP)
|
||||||
|
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user