]> granicus.if.org Git - mutt/commitdiff
use [] around body of AC_CHECK_HEADER to avoid problems with older versions of
authorMichael Elkins <me@sigpipe.org>
Fri, 28 Dec 2012 01:37:42 +0000 (17:37 -0800)
committerMichael Elkins <me@sigpipe.org>
Fri, 28 Dec 2012 01:37:42 +0000 (17:37 -0800)
autoconf

configure.ac

index 34d0dccc3c58ddba142d404f33ff984a2a21d5d5..d605da25db27c33adce3ad1b4b18de1b0b4cf4e5 100644 (file)
@@ -1176,7 +1176,7 @@ if test "x$with_idn" != "xno"; then
     have_idna_libs=no
     dnl AC_CHECK_HEADERS also defines HAVE_<NAME> which we don't care about here
     AC_CHECK_HEADER(stringprep.h,
-      AC_CHECK_HEADER(idna.h, [have_idna_includes=yes]))
+      [AC_CHECK_HEADER(idna.h, [have_idna_includes=yes])])
     if test $have_idna_includes = yes; then
       AC_SEARCH_LIBS([stringprep_check_version], [idn], [
        have_idna_libs=yes