Changed iconv search
This commit is contained in:
parent
4771af7cec
commit
5835a1ed72
12
configure.ac
12
configure.ac
@ -196,13 +196,13 @@ fi
|
|||||||
#
|
#
|
||||||
# Support for iconv, check libc first.
|
# Support for iconv, check libc first.
|
||||||
#
|
#
|
||||||
AC_CHECK_FUNC(iconv_open,result=yes,
|
|
||||||
AC_SEARCH_LIBS(iconv_open,iconv,result=yes,result=no)
|
|
||||||
# AC_CHECK_LIB(iconv,iconv_open,result=yes,result=no)
|
|
||||||
if test "$result" = "yes"; then
|
|
||||||
# LIBS="$LIBS -liconv"
|
|
||||||
AC_CHECK_HEADERS(iconv.h)
|
AC_CHECK_HEADERS(iconv.h)
|
||||||
fi
|
AC_CHECK_FUNC(iconv_open,,
|
||||||
|
AC_SEARCH_LIBS(iconv_open, iconv)
|
||||||
|
# AC_CHECK_LIB(iconv,iconv_open,result=yes,result=no)
|
||||||
|
# if test "$result" = "yes"; then
|
||||||
|
# LIBS="$LIBS -liconv"
|
||||||
|
# fi
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user