bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [PATCH] Don't assume that aclocal accepts configure.in.


From: Daiki Ueno
Subject: [bug-gettext] [PATCH] Don't assume that aclocal accepts configure.in.
Date: Tue, 23 Apr 2013 19:16:48 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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  <address@hidden>
+
+       * po/xsmallpot.sh: Don't assume that aclocal accepts configure.in.
+
 2013-04-02  Daiki Ueno  <address@hidden>
 
        * 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]