From 7a10e386467421bfac0ba425289250e61e566ce0 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 25 May 2009 20:44:07 +0300 Subject: [PATCH] configure.ad: Fixed configure to support new autoconf --- configure.ad | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ad b/configure.ad index 21d47d37..186628e3 100644 --- a/configure.ad +++ b/configure.ad @@ -1015,7 +1015,7 @@ if test x$has_iconv = xtrue; then # (2) In glibc-2.1.2 and earlier there is a bug that messes up ob and # obl when args 2 and 3 are 0 (fixed in glibc-2.1.3). # - AC_CACHE_CHECK([whether this iconv is good enough], ac_iconv_good, + AC_CACHE_CHECK([whether this iconv is good enough], ac_cv_iconv_good, AC_TRY_RUN( [ #include @@ -1034,17 +1034,17 @@ if test x$has_iconv = xtrue; then } ], [ - ac_iconv_good=yes + ac_cv_iconv_good=yes ], [ - ac_iconv_good=no + ac_cv_iconv_good=no ], [ - ac_iconv_good=yes + ac_cv_iconv_good=yes ]) ) - if test x$ac_iconv_good = xno; then + if test x$ac_cv_iconv_good = xno; then AC_MSG_RESULT(Try using libiconv instead.) fi fi -- 2.24.0