openbsd-ports/editors/nano/patches/patch-aclocal_m4
naddy 55487803d0 - update to 0.9.18
- fix up gettext autoconf breakage, get rid of workarounds
2000-09-21 15:10:24 +00:00

17 lines
639 B
Plaintext

$OpenBSD: patch-aclocal_m4,v 1.1 2000/09/21 15:10:25 naddy Exp $
--- aclocal.m4.orig Thu Sep 21 16:29:40 2000
+++ aclocal.m4 Thu Sep 21 16:32:43 2000
@@ -370,10 +370,9 @@ AC_DEFUN(AM_WITH_NLS,
if test "$gt_cv_func_gettext_libc" != "yes"; then
AC_CHECK_LIB(intl, bindtextdomain,
- [AC_CACHE_CHECK([for gettext in libintl],
- gt_cv_func_gettext_libintl,
+ [AC_CACHE_VAL(gt_cv_func_gettext_libintl,
[AC_CHECK_LIB(intl, gettext,
- gt_cv_func_gettext_libintl=yes,
+ [gt_cv_func_gettext_libintl=yes; LIBS="$LIBS -lintl"],
gt_cv_func_gettext_libintl=no)],
gt_cv_func_gettext_libintl=no)])
fi