]> sourceware.org Git - newlib-cygwin.git/commitdiff
2005-01-31 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@gnu.org>
Mon, 31 Jan 2005 20:29:41 +0000 (20:29 +0000)
committerAndrew Cagney <cagney@gnu.org>
Mon, 31 Jan 2005 20:29:41 +0000 (20:29 +0000)
* gettext.m4: Only set ENABLE_NLS when gettext is present.

ChangeLog
gettext.m4

index 7bad48da97db402739a345d96887e012868278b9..b6b22646650e4bc7d4c0e82ddda03c8d1ac1530d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-31  Andrew Cagney  <cagney@gnu.org>
+
+       * gettext.m4: Only set ENABLE_NLS when gettext is present.
+
 2005-01-29  Hans-Peter Nilsson  <hp@axis.com>
 
        * configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
index f3deafa61dc45ca6098307e3fb1e2287c04ef6d1..2c54fb8c140969ca267e610e52c064fc16863f66 100644 (file)
@@ -24,7 +24,6 @@ AC_DEFUN([CY_WITH_NLS],
 
     dnl If we use NLS figure out what method
     if test "$USE_NLS" = "yes"; then
-      AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if NLS is requested])
       AC_MSG_CHECKING([whether included gettext is requested])
       AC_ARG_WITH(included-gettext,
         [  --with-included-gettext use the GNU gettext library included here],
@@ -156,6 +155,9 @@ AC_DEFUN([CY_WITH_NLS],
     AC_SUBST(INTLOBJS)
     AC_SUBST(POFILES)
     AC_SUBST(POSUB)
+    if test "x$CATOBJEXT" != "x"; then
+      AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if NLS is requested])
+    fi
   ])
 
 AC_DEFUN([CY_GNU_GETTEXT],
This page took 0.037224 seconds and 5 git commands to generate.