summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-02-06 08:57:16 +0000
committerWayne Davison <wayned@samba.org>2006-02-06 08:57:16 +0000
commitf9cfaae952612d37b287efa607ac35beb92f7655 (patch)
treef6426da69c487e2fabeaadd2e7f395cdc7d1160e /configure.in
parentbd4576fe4bb666b1072bebeca6b79b827622db5a (diff)
downloadrsync-f9cfaae952612d37b287efa607ac35beb92f7655.tar.gz
rsync-f9cfaae952612d37b287efa607ac35beb92f7655.tar.bz2
rsync-f9cfaae952612d37b287efa607ac35beb92f7655.zip
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).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
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])