aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
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