aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-17 03:43:01 +0800
committerDan Winship <danw@src.gnome.org>2001-01-17 03:43:01 +0800
commitaf465f8d67ac84a6c5083dd58b79a5065db3ef24 (patch)
tree2a3073258fe01e89b3c2e90f77d5c39e0997758c
parentdd91f0c23c97b5a5a4e5617954e0c3cd22b169f6 (diff)
downloadgsoc2013-evolution-af465f8d67ac84a6c5083dd58b79a5065db3ef24.tar.gz
gsoc2013-evolution-af465f8d67ac84a6c5083dd58b79a5065db3ef24.tar.zst
gsoc2013-evolution-af465f8d67ac84a6c5083dd58b79a5065db3ef24.zip
Add --with-x-mailer to set the version string that appears in the X-Mailer
* configure.in, acconfig.h: Add --with-x-mailer to set the version string that appears in the X-Mailer header. svn path=/trunk/; revision=7539
-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