Unset ac_cv_func_bind_textdomain_codeset before calling
authorOwen Taylor <otaylor@redhat.com>
Wed, 11 Dec 2002 22:51:37 +0000 (22:51 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 11 Dec 2002 22:51:37 +0000 (22:51 +0000)
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)

configure.in
m4macros/glib-gettext.m4

index cd42896..4ab8d13 100644 (file)
@@ -351,8 +351,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
 
 GLIB_DEFINE_LOCALEDIR(GLIB_LOCALE_DIR)
 
-AC_CHECK_FUNCS(bind_textdomain_codeset)
-
 dnl
 dnl Now we are done with gettext checks, figure out ICONV_LIBS
 dnl
index d52c20b..c8b4b98 100644 (file)
@@ -137,6 +137,7 @@ glib_DEFUN([GLIB_WITH_NLS],
         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
           glib_save_LIBS="$LIBS"
           LIBS="$LIBS -lintl $libintl_extra_libs"
+          unset ac_cv_func_bind_textdomain_codeset
           AC_CHECK_FUNCS(bind_textdomain_codeset)
           LIBS="$glib_save_LIBS"