aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--acconfig.h1
-rw-r--r--configure.in9
3 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 91eb7423ad..6f9e3ef188 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-16 Dan Winship <danw@ximian.com>
+
+ * configure.in, acconfig.h: Add --with-x-mailer to set the version
+ string that appears in the X-Mailer header.
+
2001-01-15 Christopher James Lahey <clahey@ximian.com>
* configure.in: Changed the required version of gal.
diff --git a/acconfig.h b/acconfig.h
index cdc2a60974..39c6c68e20 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -6,6 +6,7 @@
#undef HAVE_LIBSM
#undef PACKAGE
#undef VERSION
+#undef XMAILER_VERSION
#undef ENABLE_THREADS
#undef SENDMAIL_PATH
#undef SYSTEM_MAIL_DIR
diff --git a/configure.in b/configure.in
index 4e849f4833..79bc3791d7 100644
--- a/configure.in
+++ b/configure.in
@@ -600,6 +600,13 @@ else
esac
fi
+
+AC_ARG_WITH(x-mailer, [ --with-x-mailer=VERSION Version string for X-Mailer header])
+if test "${with_x_mailer:-no}" = "no"; then
+ with_x_mailer="$VERSION"
+fi
+AC_DEFINE_UNQUOTED(XMAILER_VERSION, "$with_x_mailer")
+
dnl ******************************
dnl Makefiles
dnl ******************************
@@ -699,7 +706,7 @@ doc/devel/calendar/cal-util/Makefile
])
echo "
- Evolution has been configured as follows:
+ Evolution ($with_x_mailer) has been configured as follows:
Mail Directory: $system_mail_dir
LDAP support: $msg_ldap