This is needed to bootstrap with Automake git master. Previously xsmallpot.sh script used configure.in as a temporary output of pre-processed configure.ac.
--- gettext-tools/examples/ChangeLog | 4 ++++ gettext-tools/examples/po/xsmallpot.sh | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog index b3461f8..e3cbdc2 100644 --- a/gettext-tools/examples/ChangeLog +++ b/gettext-tools/examples/ChangeLog @@ -1,3 +1,7 @@ +2013-04-23 Daiki Ueno <[email protected]> + + * po/xsmallpot.sh: Don't assume that aclocal accepts configure.in. + 2013-04-02 Daiki Ueno <[email protected]> * Makefile.am (clean-local): New rule to remove tmp-hello-*. diff --git a/gettext-tools/examples/po/xsmallpot.sh b/gettext-tools/examples/po/xsmallpot.sh index b4a86d5..060c954 100755 --- a/gettext-tools/examples/po/xsmallpot.sh +++ b/gettext-tools/examples/po/xsmallpot.sh @@ -22,8 +22,8 @@ case $directory in hello-c++-kde) ./autogen.sh sed -e 's,tmp-,,' < configure.in > configure.ac - grep '^\(AC_INIT\|AC_CONFIG\|AC_PROG_\|AC_SUBST(.*OBJC\|AM_INIT\|AM_CONDITIONAL\|AM_GNU_GETTEXT\|AM_PO_SUBDIRS\|AC_OUTPUT\)' configure.ac > configure.in - rm -f configure.ac + grep '^\(AC_INIT\|AC_CONFIG\|AC_PROG_\|AC_SUBST(.*OBJC\|AM_INIT\|AM_CONDITIONAL\|AM_GNU_GETTEXT\|AM_PO_SUBDIRS\|AC_OUTPUT\)' configure.ac > tmp-configure.ac + mv -f tmp-configure.ac configure.ac autoconf -f ./configure ;; @@ -31,8 +31,8 @@ case $directory in ./autogen.sh ;; *) - grep '^\(AC_INIT\|AC_CONFIG\|AC_PROG_\|AC_SUBST(.*OBJC\|AM_INIT\|AM_CONDITIONAL\|AM_GNU_GETTEXT\|AM_PO_SUBDIRS\|AC_OUTPUT\)' configure.ac > configure.in - rm -f configure.ac + grep '^\(AC_INIT\|AC_CONFIG\|AC_PROG_\|AC_SUBST(.*OBJC\|AM_INIT\|AM_CONDITIONAL\|AM_GNU_GETTEXT\|AM_PO_SUBDIRS\|AC_OUTPUT\)' configure.ac > tmp-configure.ac + mv -f tmp-configure.ac configure.ac ./autogen.sh ./configure ;; -- 1.8.1.4
