]> Pileus Git - ~andy/gtk/blobdiff - acinclude.m4
Added translation by Krzysztof Krzy¿aniak <eloy@venco.com.pl>
[~andy/gtk] / acinclude.m4
index afe5197e92bc4d1be24f986db9a45f63ae311e47..91e8d049fa7643f7b6568925a7bf66609a08c1f0 100644 (file)
@@ -272,7 +272,7 @@ AC_SUBST(NM)
 
 # serial 5
 
-AC_DEFUN(AM_WITH_NLS_GTK,
+AC_DEFUN(AM_GTK_WITH_NLS,
   [AC_MSG_CHECKING([whether NLS is requested])
     dnl Default is enabled NLS
     AC_ARG_ENABLE(nls,
@@ -338,6 +338,13 @@ AC_DEFUN(AM_WITH_NLS_GTK,
                INSTOBJEXT=.mo
              fi
            fi
+
+           # Added by Martin Baulig 12/15/98 for libc5 systems
+           if test "$gt_cv_func_gettext_libc" != "yes" \
+              && test "$gt_cv_func_gettext_libintl" = "yes"; then
+              INTLLIBS=-lintl
+              LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+           fi
        ])
 
         if test "$CATOBJEXT" = "NONE"; then
@@ -461,7 +468,7 @@ AC_DEFUN(AM_WITH_NLS_GTK,
     AC_SUBST(POSUB)
   ])
 
-AC_DEFUN(AM_GNU_GETTEXT_GTK,
+AC_DEFUN(AM_GTK_GNU_GETTEXT,
   [AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    AC_REQUIRE([AC_PROG_CC])dnl
    AC_REQUIRE([AC_PROG_RANLIB])dnl
@@ -487,7 +494,7 @@ strdup __argz_count __argz_stringify __argz_next])
    fi
 
    AM_LC_MESSAGES
-   AM_WITH_NLS_GTK
+   AM_GTK_WITH_NLS
 
    if test "x$CATOBJEXT" != "x"; then
      if test "x$ALL_LINGUAS" = "x"; then