summaryrefslogtreecommitdiff
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-03 20:26:31 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-03 20:26:31 +0100
commit18e5469b6e73dfbd85ac9831224cd4ec29cbe308 (patch)
treeaa401da08d64742b3eefb281fc6f9f0e511dfa35 /src/auto
parent39766a7595461b89d1aebff72ac3853225e6a4c5 (diff)
downloadvim-git-18e5469b6e73dfbd85ac9831224cd4ec29cbe308.tar.gz
updated for version 7.4.062v7.4.062
Problem: Configure check for AvailabilityMacros.h is wrong. Solution: Use AC_CHECK_HEADERS().
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 75f76a630..bb079f0fc 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -4263,11 +4263,17 @@ else
$as_echo "no" >&6; }
fi
-ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
+for ac_header in AvailabilityMacros.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
- HAVE_AVAILABILITYMACROS_H=1
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_AVAILABILITYMACROS_H 1
+_ACEOF
+
fi
+done