configure.ac (AC_CHECK_HEADERS after AC_LANG(C++)): Add sys/stat.h.

2009-09-23  Loren J. Rittle  <ljrittle@acm.org>

	* configure.ac (AC_CHECK_HEADERS after AC_LANG(C++)): Add sys/stat.h.
	* configure: Rebuilt.

From-SVN: r152081
This commit is contained in:
Loren J. Rittle 2009-09-23 15:21:42 +00:00 committed by Loren J. Rittle
parent b3901be5a1
commit e02222d2e7
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-09-23 Loren J. Rittle <ljrittle@acm.org>
* configure.ac (AC_CHECK_HEADERS after AC_LANG(C++)): Add sys/stat.h.
* configure: Rebuilt.
2009-09-22 Richard Guenther <rguenther@suse.de>
PR pch/38987

2
libcpp/configure vendored
View File

@ -5127,7 +5127,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
for ac_header in locale.h fcntl.h limits.h stddef.h \
stdlib.h strings.h string.h sys/file.h unistd.h
stdlib.h strings.h string.h sys/stat.h sys/file.h unistd.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"

View File

@ -62,7 +62,7 @@ if test "$ENABLE_BUILD_WITH_CXX" = "no"; then
else
AC_LANG(C++)
AC_CHECK_HEADERS(locale.h fcntl.h limits.h stddef.h \
stdlib.h strings.h string.h sys/file.h unistd.h)
stdlib.h strings.h string.h sys/stat.h sys/file.h unistd.h)
fi
# Checks for typedefs, structures, and compiler characteristics.