openbsd-ports/comms/jpilot/patches/patch-m4_gettext_m4
pvalchev 5accf6a94f Update to jpilot-0.99.2
Thanks to the author who accepted most patches in this release.
2002-02-18 23:47:23 +00:00

17 lines
649 B
Plaintext

$OpenBSD: patch-m4_gettext_m4,v 1.1 2002/02/18 23:47:23 pvalchev Exp $
--- m4/gettext.m4.orig Thu Dec 20 22:02:52 2001
+++ m4/gettext.m4 Mon Feb 18 12:53:59 2002
@@ -46,10 +46,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