[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/autogen.sh,v
From: |
Bernhard Rosenkraenzer |
Subject: |
Changes to grep/autogen.sh,v |
Date: |
Fri, 18 Aug 2006 21:20:27 -0000 |
CVSROOT: /sources/grep
Module name: grep
Changes by: Bernhard Rosenkraenzer <bero> 06/08/18 21:16:08
Index: autogen.sh
===================================================================
RCS file: /sources/grep/grep/autogen.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- autogen.sh 23 Jun 2005 00:55:58 -0000 1.7
+++ autogen.sh 18 Aug 2006 21:16:07 -0000 1.8
@@ -2,6 +2,17 @@
chmod +x tests/*.sh # fix a bug in CVS
+# Generate configure.ac with ALL_LINGUAS matching the languages
+# we have...
+ALL_LINGUAS=""
+for i in po/*.po; do
+ ALL_LINGUAS="$ALL_LINGUAS `basename $i .po`"
+done
+# Eliminate leading whitespace
+ALL_LINGUAS="`echo $ALL_LINGUAS |cut -b1-`"
+sed -e "s,@ALL_LINGUAS@,$ALL_LINGUAS," configure.ac.in >configure.ac
+
+# Let auto* do its work
if \
aclocal -I m4 &&
autoheader &&
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to grep/autogen.sh,v,
Bernhard Rosenkraenzer <=