aboutsummaryrefslogtreecommitdiffstats
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
parentbf8ac9cd55803fc7c71f1e5c476b678472c8524b (diff)
downloadgsoc2013-evolution-4c1b64ea55dc20faa79c79f85fb53d04d956315b.tar
gsoc2013-evolution-4c1b64ea55dc20faa79c79f85fb53d04d956315b.tar.gz
gsoc2013-evolution-4c1b64ea55dc20faa79c79f85fb53d04d956315b.tar.bz2
gsoc2013-evolution-4c1b64ea55dc20faa79c79f85fb53d04d956315b.tar.lz
gsoc2013-evolution-4c1b64ea55dc20faa79c79f85fb53d04d956315b.tar.xz
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
-rw-r--r--ChangeLog4
-rw-r--r--acconfig.h1
-rw-r--r--configure.in13
3 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c305746b46..9d91b8913b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-08 Dan Winship <danw@helixcode.com>
+
+ * configure.in, acconfig.h: add SYSTEM_MAIL_DIR
+
2000-04-08 Jesus Bravo Alvarez <jba@pobox.com>
* 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