From 4c1b64ea55dc20faa79c79f85fb53d04d956315b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 8 Apr 2000 18:35:20 +0000 Subject: add SYSTEM_MAIL_DIR * configure.in, acconfig.h: add SYSTEM_MAIL_DIR svn path=/trunk/; revision=2338 --- ChangeLog | 4 ++++ acconfig.h | 1 + configure.in | 13 ++++++++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c305746b46..9d91b8913b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-04-08 Dan Winship + + * configure.in, acconfig.h: add SYSTEM_MAIL_DIR + 2000-04-08 Jesus Bravo Alvarez * configure.in (ALL_LINGUAS): Added Galician (gl). diff --git a/acconfig.h b/acconfig.h index 46f03b62ef..b74d78a06a 100644 --- a/acconfig.h +++ b/acconfig.h @@ -10,6 +10,7 @@ #undef CAMEL_HARD_LOG_LEVEL #undef ENABLE_THREADS #undef SENDMAIL_PATH +#undef SYSTEM_MAIL_DIR /* Define this if you want to build against the development gtk */ #undef HAVE_DEVGTK diff --git a/configure.in b/configure.in index d940f392de..9dfd99edcd 100644 --- a/configure.in +++ b/configure.in @@ -35,9 +35,20 @@ AC_ARG_PROGRAM AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET + AC_PATH_PROG(SENDMAIL, sendmail, /usr/sbin/sendmail, /usr/sbin:/usr/lib) AC_DEFINE_UNQUOTED(SENDMAIL_PATH, "$SENDMAIL") +AC_MSG_CHECKING(system mail directory) +if test -d /var/mail; then + system_mail_dir=/var/mail +else + system_mail_dir=/var/spool/mail +fi +AC_MSG_RESULT($system_mail_dir) +AC_DEFINE_UNQUOTED(SYSTEM_MAIL_DIR, "$system_mail_dir") + + ALL_LINGUAS="el gl no sv uk" AM_GNOME_GETTEXT @@ -58,7 +69,7 @@ dnl ************************************************** have_pthread=false -AC_ARG_WITH(threads, [--with-threads inculde threads support], +AC_ARG_WITH(threads, [--with-threads include threads support], [GNOME_PTHREAD_CHECK]) if test "x$PTHREAD_LIB" = "x" ; then -- cgit v1.2.3