aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-09 02:35:20 +0800
committerDan Winship <danw@src.gnome.org>2000-04-09 02:35:20 +0800
commit4c1b64ea55dc20faa79c79f85fb53d04d956315b (patch)
tree248b9c3b6065e84da492916b84f5b1b16a7532bc /configure.in
parentbf8ac9cd55803fc7c71f1e5c476b678472c8524b (diff)
downloadgsoc2013-evolution-4c1b64ea55dc20faa79c79f85fb53d04d956315b.tar.gz
gsoc2013-evolution-4c1b64ea55dc20faa79c79f85fb53d04d956315b.tar.zst
gsoc2013-evolution-4c1b64ea55dc20faa79c79f85fb53d04d956315b.zip
add SYSTEM_MAIL_DIR
* configure.in, acconfig.h: add SYSTEM_MAIL_DIR svn path=/trunk/; revision=2338
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 12 insertions, 1 deletions
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