Unset ac_cv_func_bind_textdomain_codeset before calling

Wed Dec 11 17:49:15 2002  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: Unset
        ac_cv_func_bind_textdomain_codeset before calling
        AC_CHECK_FUNCS(bind_textdomain_codeset) again.

        * configure.in: Remove duplicate call to
        AC_CHECK_FUNCS(bind_textdomain_codeset)
This commit is contained in:
Owen Taylor 2002-12-11 22:51:37 +00:00 committed by Owen Taylor
parent 30d4eecfdc
commit 0aa7b51ef3
2 changed files with 1 additions and 2 deletions

View File

@ -351,8 +351,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
GLIB_DEFINE_LOCALEDIR(GLIB_LOCALE_DIR) GLIB_DEFINE_LOCALEDIR(GLIB_LOCALE_DIR)
AC_CHECK_FUNCS(bind_textdomain_codeset)
dnl dnl
dnl Now we are done with gettext checks, figure out ICONV_LIBS dnl Now we are done with gettext checks, figure out ICONV_LIBS
dnl dnl

View File

@ -137,6 +137,7 @@ glib_DEFUN([GLIB_WITH_NLS],
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
glib_save_LIBS="$LIBS" glib_save_LIBS="$LIBS"
LIBS="$LIBS -lintl $libintl_extra_libs" LIBS="$LIBS -lintl $libintl_extra_libs"
unset ac_cv_func_bind_textdomain_codeset
AC_CHECK_FUNCS(bind_textdomain_codeset) AC_CHECK_FUNCS(bind_textdomain_codeset)
LIBS="$glib_save_LIBS" LIBS="$glib_save_LIBS"