From: Michihiro NAKAJIMA Date: Wed, 22 Feb 2012 12:28:31 +0000 (+0900) Subject: A header check for iconv.h should be done after AM_ICONV because X-Git-Tag: v3.0.4~2^2~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1354b7df355490a05f626fcb11b6cb4c4104d30b;p=thirdparty%2Flibarchive.git A header check for iconv.h should be done after AM_ICONV because a proper include direcotry for iconv.h is set by AM_ICONV. --- diff --git a/configure.ac b/configure.ac index 5e258fed0..51a02100b 100644 --- a/configure.ac +++ b/configure.ac @@ -268,8 +268,8 @@ AC_ARG_WITH([iconv], AS_HELP_STRING([--without-iconv], [Don't try to link against iconv])) if test "x$with_iconv" != "xno"; then - AC_CHECK_HEADERS([iconv.h],[],[],[#include ]) AM_ICONV + AC_CHECK_HEADERS([iconv.h],[],[],[#include ]) if test "x$am_cv_func_iconv" = "xyes"; then AC_CHECK_HEADERS([localcharset.h]) am_save_LIBS="$LIBS"