]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid spurious warning.
authorBruno Haible <bruno@clisp.org>
Wed, 8 Jan 2003 13:14:41 +0000 (13:14 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:53 +0000 (12:08 +0200)
m4/ChangeLog
m4/gettext.m4

index 26f3e9e485c9ed9ecf527aa4b08fdcd2c0fb9de9..c9c82078f4b52c6af4d12a235c5158529c877898 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.m4 (AM_PO_SUBDIRS): Avoid warning when there are at least
+       two PO directories.
+       Reported by Alexander Turbov <AVTurbov@gwise.eltech.ru>.
+
 2002-12-07  Bruno Haible  <bruno@clisp.org>
 
        Switch to autoconf-2.57 and automake-1.7.2.
index bff53bffc7723e491a703c2c36cd23e9eac47cde..878df12ccb82e0de56f24135e1b811b3b9b46c64 100644 (file)
@@ -438,13 +438,16 @@ AC_DEFUN([AM_PO_SUBDIRS],
           # parameters.
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
-            if test -n "$ALL_LINGUAS"; then
+            if test -n "$OBSOLETE_ALL_LINGUAS"; then
               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
+          else
+            # The set of available languages was given in configure.in.
+            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
             .) srcdirpre= ;;
@@ -509,7 +512,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
    [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
     # from automake.
-    eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
+    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
     # Capture the value of LINGUAS because we need it to compute CATALOGS.
     LINGUAS="${LINGUAS-%UNSET%}"
    ])