From a3bbcf7f886aace72120634416ef746420682f78 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Fri, 22 Jun 2001 05:00:48 +0000 Subject: N'sync with the gnome1 version, bye bye buggies. 2001-06-22 Elliot Lee * gnome-gettext.m4: N'sync with the gnome1 version, bye bye buggies. svn path=/trunk/; revision=1801 --- macros2/ChangeLog | 4 ++++ macros2/gnome-gettext.m4 | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/macros2/ChangeLog b/macros2/ChangeLog index af379a1e..d09a271c 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -1,3 +1,7 @@ +2001-06-22 Elliot Lee + + * gnome-gettext.m4: N'sync with the gnome1 version, bye bye buggies. + 2001-06-13 Martin Baulig * gnome-pkgconfig.m4 (GNOME_CHECK_PKGCONFIG): Require pkg-config 0.7.0 diff --git a/macros2/gnome-gettext.m4 b/macros2/gnome-gettext.m4 index 46f2f621..1ba7e25c 100644 --- a/macros2/gnome-gettext.m4 +++ b/macros2/gnome-gettext.m4 @@ -12,7 +12,7 @@ # serial 5 -AC_DEFUN(MY_AM_GNOME_WITH_NLS, +AC_DEFUN([MY_AM_GNOME_WITH_NLS], [AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, @@ -21,11 +21,12 @@ AC_DEFUN(MY_AM_GNOME_WITH_NLS, AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) + BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then - AC_DEFINE(ENABLE_NLS) +# AC_DEFINE(ENABLE_NLS) # AC_MSG_CHECKING([whether included gettext is requested]) # AC_ARG_WITH(included-gettext, # [ --with-included-gettext use the GNU gettext library included here], @@ -197,6 +198,7 @@ AC_DEFUN(MY_AM_GNOME_WITH_NLS, done dnl Make all variables we use known to autoconf. + AC_SUBST(BUILD_INCLUDED_LIBINTL) AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) @@ -210,7 +212,7 @@ AC_DEFUN(MY_AM_GNOME_WITH_NLS, AC_SUBST(POSUB) ]) -AC_DEFUN(AM_GNOME2_GETTEXT, +AC_DEFUN([AM_GNOME2_GETTEXT], [AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_RANLIB])dnl @@ -249,7 +251,7 @@ strdup __argz_count __argz_stringify __argz_next]) fi for lang in $LINGUAS; do case "$ALL_LINGUAS" in - *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; + *\ $lang\ *|$lang\ *|*\ $lang) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; esac done LINGUAS=$NEW_LINGUAS -- cgit v1.2.1