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:
Owen Taylor 2002-12-15 16:26:58 +00:00 committed by Owen Taylor
parent d48eb0a42f
commit 1cac48d3a8
8 changed files with 40 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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)
2002-12-15 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_rand_init.

View File

@ -1,3 +1,8 @@
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)
2002-12-15 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_rand_init.

View File

@ -1,3 +1,8 @@
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)
2002-12-15 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_rand_init.

View File

@ -1,3 +1,8 @@
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)
2002-12-15 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_rand_init.

View File

@ -1,3 +1,8 @@
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)
2002-12-15 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_rand_init.

View File

@ -1,3 +1,8 @@
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)
2002-12-15 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_rand_init.

View File

@ -1,3 +1,8 @@
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)
2002-12-15 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_rand_init.

View File

@ -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.])