From f9cfaae952612d37b287efa607ac35beb92f7655 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 6 Feb 2006 08:57:16 +0000 Subject: [PATCH] Solaris 9 and HP-UX 11.11 need us to look for libiconv_open, not iconv_open (perhaps because iconf.h wasn't included in the autoconf test). --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index a312b39a..89b03aaf 100644 --- a/configure.in +++ b/configure.in @@ -367,7 +367,10 @@ if test x"$ac_cv_func_connect" = x"no"; then fi AC_SEARCH_LIBS(inet_ntop, resolv) -AC_SEARCH_LIBS(iconv_open, iconv) + +# Solaris and HP-UX weirdness: +# Search for libiconv_open (not iconv_open) to discover if -liconv is needed! +AC_SEARCH_LIBS(libiconv_open, iconv) dnl AC_MSG_NOTICE([Looking in libraries: $LIBS]) -- 2.34.1