This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AM_GNU_GETTEXT in aclocal.m4 changed


My first change to AM_GNU_GETTEXT, checked in with my NLS patches that
checked if LINGUAS is a subset of ALL_LINGUAS resulted in no catalog being
built if LINGUAS wasn't defined. This patch, that I checked in, fixes the 
error.

2000-06-24  Philipp Thomas  <pthomas@suse.de>

	* aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
	all catalogs specified in ALL_LINGUAS.
	* configure: Rebuilt.

Index: aclocal.m4
===================================================================
RCS file: /cvs/gcc/egcs/gcc/aclocal.m4,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- aclocal.m4	2000/06/06 22:04:08	1.29
+++ aclocal.m4	2000/06/24 06:48:43	1.30
@@ -512,13 +512,17 @@ strdup __argz_count __argz_stringify __a
        LINGUAS=
      else
        AC_MSG_CHECKING(for catalogs to be installed)
-       NEW_LINGUAS=
-       for lang in $ALL_LINGUAS; do
-         case " $LINGUAS " in
-           *" $lang "*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
-         esac
-       done
-       LINGUAS=$NEW_LINGUAS
+       if test "x$LINGUAS" = "x"; then
+	 LINGUAS=$ALL_LINGUAS
+       else
+	 NEW_LINGUAS=
+	 for lang in $ALL_LINGUAS; do
+	   case " $LINGUAS " in
+	     *" $lang "*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
+	   esac
+	 done
+         LINGUAS=$NEW_LINGUAS
+       fi
        AC_MSG_RESULT($LINGUAS)
      fi
 


-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]