llvm.org GIT mirror llvm / a6d990a
Add a HAVE_MACH_MACH_H #define to detect the presence of the mach/mach.h header file on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30319 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 13 years ago
3 changed file(s) with 6 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
618618 AC_CHECK_HEADERS([dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h])
619619 AC_CHECK_HEADERS([malloc.h setjmp.h signal.h stdint.h unistd.h utime.h])
620620 AC_CHECK_HEADERS([windows.h sys/mman.h sys/param.h sys/resource.h sys/time.h])
621 AC_CHECK_HEADERS([sys/types.h malloc/malloc.h])
621 AC_CHECK_HEADERS([sys/types.h malloc/malloc.h mach/mach.h])
622622 if test "$ENABLE_THREADS" -eq 1 ; then
623623 AC_CHECK_HEADERS(pthread.h)
624624 fi
2883228832
2883328833
2883428834
28835 for ac_header in sys/types.h malloc/malloc.h
28835
28836 for ac_header in sys/types.h malloc/malloc.h mach/mach.h
2883628837 do
2883728838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2883828839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
198198
199199 /* Define if lt_dlopen() is available on this platform */
200200 #undef HAVE_LT_DLOPEN
201
202 /* Define to 1 if you have the header file. */
203 #undef HAVE_MACH_MACH_H
201204
202205 /* Define to 1 if you have the header file. */
203206 #undef HAVE_MACH_O_DYLD_H