From: Pekka Riikonen Date: Mon, 25 May 2009 17:44:07 +0000 (+0300) Subject: configure.ad: Fixed configure to support new autoconf X-Git-Tag: silc.client.1.1.8~6 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=7a10e386467421bfac0ba425289250e61e566ce0 configure.ad: Fixed configure to support new autoconf --- 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