openbsd-ports/audio/xhippo/patches/patch-aclocal_m4
naddy 4e49143083 - Do not try to link with id3lib.
- gettext cleanup.
2002-10-12 15:38:23 +00:00

17 lines
639 B
Plaintext

$OpenBSD: patch-aclocal_m4,v 1.1 2002/10/12 15:38:23 naddy Exp $
--- aclocal.m4.orig Mon Jul 23 21:14:22 2001
+++ aclocal.m4 Sat Oct 12 17:28:50 2002
@@ -183,10 +183,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