openbsd-ports/games/eboard/patches/patch-aclocal_m4
fgsch 0c468ad1eb eboard 0.7.1pl1 update.
from naddy@:
- DESTDIR support in po.
- fix gettext detection.
2003-01-26 19:26:25 +00:00

17 lines
639 B
Plaintext

$OpenBSD: patch-aclocal_m4,v 1.1 2003/01/26 19:26:25 fgsch Exp $
--- aclocal.m4.orig Sat Nov 2 18:49:25 2002
+++ aclocal.m4 Sat Jan 25 03:44:11 2003
@@ -876,10 +876,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