Commit d699d815 authored by Wayne Davison's avatar Wayne Davison

Enhance the -liconv check for OS X. Fixes bug 8018.

parent e5e6d3c4
...@@ -445,8 +445,10 @@ fi ...@@ -445,8 +445,10 @@ fi
AC_SEARCH_LIBS(inet_ntop, resolv) AC_SEARCH_LIBS(inet_ntop, resolv)
# Solaris and HP-UX weirdness: # For OS X, Solaris, HP-UX, etc.: figure out if -liconv is needed. We'll
# Search for libiconv_open (not iconv_open) to discover if -liconv is needed! # accept either iconv_open or libiconv_open, since some include files map
# the former to the latter.
AC_SEARCH_LIBS(iconv_open, iconv)
AC_SEARCH_LIBS(libiconv_open, iconv) AC_SEARCH_LIBS(libiconv_open, iconv)
AC_MSG_CHECKING([for iconv declaration]) AC_MSG_CHECKING([for iconv declaration])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment