From: Simon Josefsson <simon@josefsson.org>
Date: Wed, 3 Jan 2007 12:19:04 +0000 (+0000)
Subject: 2007-01-03  Simon Josefsson  <simon@josefsson.org>
X-Git-Tag: cvs-readonly~1441
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=7aba1eb26b57cc3955f2318ddcaf1f5783130eba;p=gnulib.git

2007-01-03  Simon Josefsson  <simon@josefsson.org>

	* gnulib-tool (func_create_testdir): Run AC_CANONICAL_BUILD and
	AC_CANONICAL_HOST, to improve autobuild outputs.
---

diff --git a/ChangeLog b/ChangeLog
index 87ccd6f153..ddea896aa9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-03  Simon Josefsson  <simon@josefsson.org>
+
+	* gnulib-tool (func_create_testdir): Run AC_CANONICAL_BUILD and
+	AC_CANONICAL_HOST, to improve autobuild outputs.
+
 2007-01-03  Paolo Bonzini  <bonzini@gnu.org>
 	    Yoann Vandoorselaere <yoann.v@prelude-ids.com>
 
diff --git a/gnulib-tool b/gnulib-tool
index 5985810e49..2ce09a0aca 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2007-01-02 20:59:11 $'
+cvsdatestamp='$Date: 2007-01-03 12:19:04 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 nl='
@@ -2510,6 +2510,10 @@ func_create_testdir ()
    echo "AC_PROG_INSTALL"
    echo "AC_PROG_MAKE_SET"
    echo
+   echo "# For autobuild."
+   echo "AC_CANONICAL_BUILD"
+   echo "AC_CANONICAL_HOST"
+   echo
    echo "m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace"
    echo "m4_pattern_allow([^gl_ES\$])dnl a valid locale name"
    echo "m4_pattern_allow([^gl_LIBOBJS\$])dnl a variable"