openbsd-ports/net/amule/patches/patch-m4_gettext_m4
2022-03-11 19:45:43 +00:00

22 lines
729 B
Plaintext

Index: m4/gettext.m4
--- m4/gettext.m4.orig
+++ m4/gettext.m4
@@ -265,7 +265,7 @@ return (long) gettext ("")]ifelse([$2], [need-ngettext
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
AC_MSG_CHECKING([how to link with libintl])
- AC_MSG_RESULT([$LIBINTL])
+ AC_MSG_RESULT([$LTLIBINTL])
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
fi
@@ -315,7 +315,7 @@ return (long) gettext ("")]ifelse([$2], [need-ngettext
])
dnl For backward compatibility. Some Makefiles may be using this.
- INTLLIBS="$LIBINTL"
+ INTLLIBS="$LTLIBINTL"
AC_SUBST(INTLLIBS)
dnl Make all documented variables known to autoconf.