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 cd42896f4dd9b7a821a2f98ec286ba1ed0749e6c..4ab8d132ce8c6b29dd9f95995840c15c557ecfed 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 d52c20b8b16ab41c425399b9cb1998d535fc1054..c8b4b989aaced66562d829adfa5ce186c016517f 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"