From 3856a3eeb768ba1fdea92f35735c90755c885654 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 4 Feb 2005 10:33:52 +0000 Subject: Motoi Washida: libiconv test needed on Mac OS X --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e6f7e8261..99d1c49df 100644 --- a/configure.ac +++ b/configure.ac @@ -729,10 +729,11 @@ AC_CHECK_LIB(socket, socket) AC_CHECK_LIB(iconv, iconv) -if test "$host_os" = cygwin; then -dnl cygwin iconv() is really libiconv() -AC_CHECK_LIB(iconv, libiconv) -fi +case "$host_os" in + cygwin | darwin*) + dnl cygwin iconv() is really libiconv() + AC_CHECK_LIB(iconv, libiconv) ;; +esac if test x$enable_pcre = xyes; then dnl pcre-config should probably be employed here -- cgit 1.4.1