* configure.ac (PACKAGE_AUTHORS): New variable. Define it both as
a C/C++ preprocessor symbol (using AC_DEFINE_UNQUOTED) and as an
Autoconf output variable (via AC_SUBST).
---
ChangeLog | 8 ++++++++
configure.ac | 9 +++++++++
2 files changed, 17 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 2369b28..e454d84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2013-09-06 Roland Levillain <roland(a)lrde.epita.fr>
+ Define PACKAGE_AUTHORS in configure.ac.
+
+ * configure.ac (PACKAGE_AUTHORS): New variable. Define it both as
+ a C/C++ preprocessor symbol (using AC_DEFINE_UNQUOTED) and as an
+ Autoconf output variable (via AC_SUBST).
+
+2013-09-06 Roland Levillain <roland(a)lrde.epita.fr>
+
Stop generating milena/mln/version.hh in the build tree with configure.
* configure.ac: No longer configure milena/mln/version.hh, as
diff --git a/configure.ac b/configure.ac
index aa1f1fd..e76a931 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,15 @@ AM_INIT_AUTOMAKE([1.11 subdir-objects check-news tar-pax dist-bzip2
# "GEN ..." message, unless V=1 is passed to "make".
AM_SILENT_RULES([yes])
+# Package metadata.
+# Define this symbol in addition to what AC_INIT already defines
+# (PACKAGE_NAME, etc.)...
+PACKAGE_AUTHORS="EPITA Research and Development Laboratory (LRDE)"
+# - for config.hh
+AC_DEFINE_UNQUOTED([PACKAGE_AUTHORS], ["$PACKAGE_AUTHORS"],
+ [Authors of the package.])
+# - and for milena/mln/version.hh.
+AC_SUBST([PACKAGE_AUTHORS])
## --------------------- ##
--
1.7.10.4