forked from aniani/vim
updated for version 7.4.062
Problem: Configure check for AvailabilityMacros.h is wrong. Solution: Use AC_CHECK_HEADERS().
This commit is contained in:
10
src/auto/configure
vendored
10
src/auto/configure
vendored
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user