From 45e6855b5dc0400f6a1f18f4042fd0292e8b03a9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 20 Jun 2001 15:14:22 +0000 Subject: [PATCH] Try to get libintl on systems that don't have gettext in libc. svn path=/trunk/; revision=3363 --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 20e458d1..9411026e 100644 --- a/configure.in +++ b/configure.in @@ -91,6 +91,10 @@ AC_CHECK_LIB(cposix, strchr, [EXTRADEFS="$EXTRADEFS -D_SYSV3" LIBS="$LIBS -lcposix"]) +dnl Port hack for Sparc/NetBSD-1.5 +AC_CHECK_LIB(intl, gettext, + [LIBS="$LIBS -lintl"]) + AC_CHECK_FUNC(strstr, AC_DEFINE(HAVE_STRSTR), [EXTRASRC="$EXTRASRC \$(srcdir)/strstr.c" EXTRAOBJ="$EXTRAOBJ strstr.o"]) -- 2.43.2