From 832650823499a1f4f55bbe1262b8dfc050299c25 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 4 Feb 2005 10:32:05 +0000 Subject: Motoi Washida: libiconv test needed on Mac OS X --- ChangeLog | 5 +++++ configure.ac | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index aef61e7d6..1a31df69f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-02-04 Peter Stephenson + + * Motoi Washida: 20785: configure.ac: libiconv test needed + for Mac OS X 3. + 2005-02-02 Peter Stephenson * 20777: Test/A06assign.ztst, Test/C02cond.ztst: tests for diff --git a/configure.ac b/configure.ac index 321cf56fb..6c5ba06f7 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