From: Michael Elkins Date: Fri, 28 Dec 2012 01:37:42 +0000 (-0800) Subject: use [] around body of AC_CHECK_HEADER to avoid problems with older versions of X-Git-Tag: neomutt-20160307~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b75043bbb89bd9c2e67f0c9838c04bcbcc51b1c;p=neomutt use [] around body of AC_CHECK_HEADER to avoid problems with older versions of autoconf --- diff --git a/configure.ac b/configure.ac index 34d0dccc3..d605da25d 100644 --- a/configure.ac +++ b/configure.ac @@ -1176,7 +1176,7 @@ if test "x$with_idn" != "xno"; then have_idna_libs=no dnl AC_CHECK_HEADERS also defines HAVE_ 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