49 lines
1.5 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.1 2007/03/17 14:17:58 jasper Exp $
--- configure.orig Wed Nov 1 06:34:28 2006
+++ configure Wed Dec 20 07:44:11 2006
@@ -4243,7 +4243,7 @@ if test "${ac_cv_lib_intl_bindtextdomain
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4308,7 +4308,7 @@ if test "${ac_cv_lib_intl_ngettext+set}"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4373,7 +4373,7 @@ if test "${ac_cv_lib_intl_dgettext+set}"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4594,7 +4594,7 @@ fi
#
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
glib_save_LIBS="$LIBS"
- LIBS="$LIBS -lintl $libintl_extra_libs"
+ LIBS="$LIBS -lintl -iconv $libintl_extra_libs"
unset ac_cv_func_bind_textdomain_codeset
for ac_func in bind_textdomain_codeset
@@ -4717,7 +4717,7 @@ done
fi
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
- INTLLIBS="-lintl $libintl_extra_libs"
+ INTLLIBS="-lintl -liconv $libintl_extra_libs"
fi
if test "$gt_cv_have_gettext" = "yes"; then