mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Actually set INTLLIBS when needed. (Reported by Tor Lillqvist)
Sun Dec 15 11:24:29 2002 Owen Taylor <otaylor@redhat.com> * m4macros/glib-gettext.m4: Actually set INTLLIBS when needed. (Reported by Tor Lillqvist)
This commit is contained in:
@@ -95,6 +95,7 @@ glib_DEFUN([GLIB_WITH_NLS],
|
||||
|
||||
CATOBJEXT=NONE
|
||||
XGETTEXT=:
|
||||
INTLLIBS=
|
||||
|
||||
AC_CHECK_HEADER(libintl.h,
|
||||
[gt_cv_func_dgettext_libintl="no"
|
||||
@@ -162,6 +163,10 @@ glib_DEFUN([GLIB_WITH_NLS],
|
||||
gt_cv_have_gettext=yes
|
||||
fi
|
||||
|
||||
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
|
||||
INTLLIBS="-lintl $libintl_extra_libs"
|
||||
fi
|
||||
|
||||
if test "$gt_cv_have_gettext" = "yes"; then
|
||||
AC_DEFINE(HAVE_GETTEXT,1,
|
||||
[Define if the GNU gettext() function is already present or preinstalled.])
|
||||
|
Reference in New Issue
Block a user