Attached is a patch to fix a configure.ac typo. After running AC_SEARCH_LIBS([stringprep_check_version]...), the variable $ac_cv_search_STRINGPREP_CHECK_VERSION was used instead of $ac_cv_search_stringprep_check_version.
This was giving a "test: =: unary operator expected" error. -Kevin
# HG changeset patch # User Kevin McCarthy <[email protected]> # Date 1408072348 25200 # Thu Aug 14 20:12:28 2014 -0700 # Node ID 3b67161e32dbe9f9c49c5ba0bcd9e6b5f434bd95 # Parent 8f62001989cc9f564236e54b318ecca05f551af2 Fix typo in configure.ac. $ac_cv_search_STRINGPREP_CHECK_VERSION should be $ac_cv_search_stringprep_check_version, to match the first parameter of the AC_SEARCH_LIBS([stringprep_check_version] above. Running configure was giving a "test: =: unary operator expected" error. diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -1178,17 +1178,17 @@ AC_DEFINE([HAVE_LIBIDN], 1, [Define to 1 if you have the GNU idn library]) MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_idna.o" AC_CHECK_FUNCS(idna_to_unicode_utf8_from_utf8 idna_to_unicode_8z8z) AC_CHECK_FUNCS(idna_to_ascii_from_utf8 idna_to_ascii_8z) AC_CHECK_FUNCS(idna_to_ascii_lz idna_to_ascii_from_locale) ]) if test "$with_idn" != auto; then - if test $have_stringprep_h = no || test $have_idna_h = no || test $ac_cv_search_STRINGPREP_CHECK_VERSION = no; then + if test $have_stringprep_h = no || test $have_idna_h = no || test $ac_cv_search_stringprep_check_version = no; then AC_MSG_ERROR([IDN was requested, but libidn was not usable on this system]) fi fi fi fi dnl -- locales --
signature.asc
Description: PGP signature
