summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliot Lee <sopwith@redhat.com>2001-06-22 05:00:48 +0000
committerElliot Lee <sopwith@src.gnome.org>2001-06-22 05:00:48 +0000
commita3bbcf7f886aace72120634416ef746420682f78 (patch)
tree610adc4b43e758b829d269c41664fd3007eec086
parent87d3aa32043313b2f4da3c994b59706750662c76 (diff)
downloadshared-mime-info-a3bbcf7f886aace72120634416ef746420682f78.tar.gz
N'sync with the gnome1 version, bye bye buggies.
2001-06-22 Elliot Lee <sopwith@redhat.com> * gnome-gettext.m4: N'sync with the gnome1 version, bye bye buggies. svn path=/trunk/; revision=1801
-rw-r--r--macros2/ChangeLog4
-rw-r--r--macros2/gnome-gettext.m410
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 <sopwith@redhat.com>
+
+ * gnome-gettext.m4: N'sync with the gnome1 version, bye bye buggies.
+
2001-06-13 Martin Baulig <baulig@suse.de>
* 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