From b2815e0139727b78a701af5fb66676944b859e2d Mon Sep 17 00:00:00 2001 From: John Criswell Date: Thu, 27 May 2004 20:40:39 +0000 Subject: [PATCH] Added a check for a new header file. My apologies for changing config.h.in. Now you will all have to re-configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13846 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/configure.ac | 2 +- configure | 3 ++- include/Config/config.h.in | 3 +++ include/llvm/Config/config.h.in | 3 +++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 464336e3123..0e9e31810e7 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -233,7 +233,7 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT dnl Checks for POSIX and other various system-specific header files -AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h) +AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h windows.h) dnl Check for things that need to be included in public headers, and so dnl for which we may not have access to a HAVE_* preprocessor #define. diff --git a/configure b/configure index e2721f125dd..bc51db02306 100755 --- a/configure +++ b/configure @@ -18917,7 +18917,8 @@ fi -for ac_header in fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h + +for ac_header in fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h windows.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then diff --git a/include/Config/config.h.in b/include/Config/config.h.in index 9f35aca6983..1b396fea834 100644 --- a/include/Config/config.h.in +++ b/include/Config/config.h.in @@ -131,6 +131,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to have the header file. */ +#undef HAVE_WINDOWS_H + /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in index 9f35aca6983..1b396fea834 100644 --- a/include/llvm/Config/config.h.in +++ b/include/llvm/Config/config.h.in @@ -131,6 +131,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to have the header file. */ +#undef HAVE_WINDOWS_H + /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT -- 2.11.0