summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-09-14 14:24:34 +0000
committerWerner Koch <wk@gnupg.org>2006-09-14 14:24:34 +0000
commit12172fa6fa5136cfaa8eca23cb83840386a3892f (patch)
tree8261c598e67f51dd708bc9b2a11f56704e2db224 /m4
parent1a01e7ec9f4943367ed27330017f52a1bf2cbaa5 (diff)
downloadlibgpg-error-12172fa6fa5136cfaa8eca23cb83840386a3892f.tar.gz
Ready for a new releaselibgpg-error-1.4
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog4
-rw-r--r--m4/Makefile.am2
-rw-r--r--m4/autobuild.m434
3 files changed, 40 insertions, 0 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 191edbd..70f2884 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+2006-09-14 Werner Koch <wk@g10code.com>
+
+ * autobuild.m4: New.
+
2006-03-14 gettextize <bug-gnu-gettext@gnu.org>
* codeset.m4: Upgrade to gettext-0.14.5.
diff --git a/m4/Makefile.am b/m4/Makefile.am
index 94d360b..6c111d6 100644
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -1 +1,3 @@
EXTRA_DIST = glibc2.m4 intmax.m4 longdouble.m4 longlong.m4 printf-posix.m4 signed.m4 size_max.m4 wchar_t.m4 wint_t.m4 xsize.m4 ac_prog_cc_for_build.m4 nls.m4 po.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 progtest.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4
+
+EXTRA_DIST += autobuild.m4
diff --git a/m4/autobuild.m4 b/m4/autobuild.m4
new file mode 100644
index 0000000..bd1f4dc
--- /dev/null
+++ b/m4/autobuild.m4
@@ -0,0 +1,34 @@
+# autobuild.m4 serial 2 (autobuild-3.3)
+# Copyright (C) 2004 Simon Josefsson
+#
+# This file is free software, distributed under the terms of the GNU
+# General Public License. As a special exception to the GNU General
+# Public License, this file may be distributed as part of a program
+# that contains a configuration script generated by Autoconf, under
+# the same distribution terms as the rest of that program.
+#
+# This file can can be used in projects which are not available under
+# the GNU General Public License or the GNU Library General Public
+# License but which still want to provide support for Autobuild.
+
+# Usage: AB_INIT([MODE]).
+AC_DEFUN([AB_INIT],
+[
+ AC_REQUIRE([AC_CANONICAL_BUILD])
+ AC_REQUIRE([AC_CANONICAL_HOST])
+
+ AC_MSG_NOTICE([autobuild project... ${PACKAGE_NAME:-$PACKAGE}])
+ AC_MSG_NOTICE([autobuild revision... ${PACKAGE_VERSION:-$VERSION}])
+ hostname=`hostname`
+ if test "$hostname"; then
+ AC_MSG_NOTICE([autobuild hostname... $hostname])
+ fi
+ ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
+ date=`date +%Y%m%d-%H%M%S`
+ if test "$?" != 0; then
+ date=`date`
+ fi
+ if test "$date"; then
+ AC_MSG_NOTICE([autobuild timestamp... $date])
+ fi
+])