|
|
|
@@ -475,7 +475,7 @@ ac_includes_default="\
|
|
|
|
|
# include <unistd.h>
|
|
|
|
|
#endif"
|
|
|
|
|
|
|
|
|
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT ENABLE_OPTIMIZED JIT ENABLE_DOXYGEN TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ GV INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN RUNTEST TCLSH ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 LLVMCC1PLUS LLVMGCCDIR SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
|
|
|
|
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_COPYRIGHT subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVM_ON_UNIX LLVM_ON_WIN32 ARCH ENDIAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT ENABLE_OPTIMIZED JIT ENABLE_DOXYGEN ENABLE_THREADS TARGETS_TO_BUILD CPP CXX CXXFLAGS ac_ct_CXX LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON ifGNUmake LN_S CMP CP DATE FIND GREP MKDIR MV RANLIB ac_ct_RANLIB RM SED TAR GRAPHVIZ GV INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA BZIP2 DOT DOXYGEN ETAGS GROFF GZIP POD2HTML POD2MAN RUNTEST TCLSH ZIP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL ECHO AR ac_ct_AR STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ETAGSFLAGS LLVMGCC LLVMGXX ALLOCA MMAP_FILE LLVMCC1 LLVMCC1PLUS LLVMGCCDIR SHLIBEXT LLVM_PREFIX LLVM_BINDIR LLVM_LIBDIR LLVM_DATADIR LLVM_DOCSDIR LLVM_ETCDIR LLVM_INCLUDEDIR LLVM_INFODIR LLVM_MANDIR LLVM_CONFIGTIME LIBOBJS LTLIBOBJS'
|
|
|
|
|
ac_subst_files=''
|
|
|
|
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
|
|
@@ -1036,6 +1036,7 @@ Optional Features:
|
|
|
|
|
--enable-optimized
|
|
|
|
|
--enable-jit Enable Just In Time Compiling (default is YES)
|
|
|
|
|
--enable-doxygen Build doxygen documentation (default is NO)
|
|
|
|
|
--enable-threads Use threads if available (default is YES)
|
|
|
|
|
--enable-target Build specific host targets:
|
|
|
|
|
all,host-only,{target-name} (default=all)
|
|
|
|
|
--enable-ltdl-install install libltdl
|
|
|
|
@@ -3025,6 +3026,28 @@ echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"
|
|
|
|
|
{ (exit 1); exit 1; }; } ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-threads or --disable-threads was given.
|
|
|
|
|
if test "${enable_threads+set}" = set; then
|
|
|
|
|
enableval="$enable_threads"
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
enableval=yes
|
|
|
|
|
fi;
|
|
|
|
|
case "$enableval" in
|
|
|
|
|
yes) ENABLE_THREADS=1
|
|
|
|
|
;;
|
|
|
|
|
no) ENABLE_THREADS=0
|
|
|
|
|
;;
|
|
|
|
|
*) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
|
|
|
|
|
echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; } ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define ENABLE_THREADS $ENABLE_THREADS
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TARGETS_TO_BUILD=""
|
|
|
|
|
# Check whether --enable-targets or --disable-targets was given.
|
|
|
|
|
if test "${enable_targets+set}" = set; then
|
|
|
|
@@ -8333,7 +8356,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 8336 "configure"
|
|
|
|
|
#line 8359 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@@ -10324,7 +10347,7 @@ ia64-*-hpux*)
|
|
|
|
|
;;
|
|
|
|
|
*-*-irix6*)
|
|
|
|
|
# Find out which ABI we are using.
|
|
|
|
|
echo '#line 10327 "configure"' > conftest.$ac_ext
|
|
|
|
|
echo '#line 10350 "configure"' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
|
(eval $ac_compile) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
@@ -10809,7 +10832,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Provide some information about the compiler.
|
|
|
|
|
echo "$as_me:10812:" \
|
|
|
|
|
echo "$as_me:10835:" \
|
|
|
|
|
"checking for Fortran 77 compiler version" >&5
|
|
|
|
|
ac_compiler=`set X $ac_compile; echo $2`
|
|
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
|
|
|
@@ -11866,11 +11889,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:11869: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:11892: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:11873: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:11896: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
@@ -12109,11 +12132,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:12112: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:12135: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:12116: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:12139: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
@@ -12169,11 +12192,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:12172: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:12195: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat out/conftest.err >&5
|
|
|
|
|
echo "$as_me:12176: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:12199: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
|
|
|
then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
@@ -14354,7 +14377,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 14357 "configure"
|
|
|
|
|
#line 14380 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@@ -14452,7 +14475,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 14455 "configure"
|
|
|
|
|
#line 14478 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@@ -16645,11 +16668,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:16648: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:16671: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:16652: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:16675: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
@@ -16705,11 +16728,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:16708: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:16731: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat out/conftest.err >&5
|
|
|
|
|
echo "$as_me:16712: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:16735: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
|
|
|
then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
@@ -18066,7 +18089,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 18069 "configure"
|
|
|
|
|
#line 18092 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@@ -18164,7 +18187,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 18167 "configure"
|
|
|
|
|
#line 18190 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@@ -19001,11 +19024,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:19004: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:19027: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:19008: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:19031: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
@@ -19061,11 +19084,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:19064: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:19087: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat out/conftest.err >&5
|
|
|
|
|
echo "$as_me:19068: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:19091: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
|
|
|
then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
@@ -21100,11 +21123,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:21103: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:21126: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:21107: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:21130: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
@@ -21343,11 +21366,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:21346: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:21369: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:21350: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:21373: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
@@ -21403,11 +21426,11 @@ else
|
|
|
|
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
|
|
|
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
|
|
|
(eval echo "\"\$as_me:21406: $lt_compile\"" >&5)
|
|
|
|
|
(eval echo "\"\$as_me:21429: $lt_compile\"" >&5)
|
|
|
|
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
|
|
|
ac_status=$?
|
|
|
|
|
cat out/conftest.err >&5
|
|
|
|
|
echo "$as_me:21410: \$? = $ac_status" >&5
|
|
|
|
|
echo "$as_me:21433: \$? = $ac_status" >&5
|
|
|
|
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
|
|
|
then
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
@@ -23588,7 +23611,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 23591 "configure"
|
|
|
|
|
#line 23614 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@@ -23686,7 +23709,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 23689 "configure"
|
|
|
|
|
#line 23712 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@@ -25339,6 +25362,7 @@ _ACEOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "$ENABLE_THREADS" -eq 1 ; then
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
|
|
|
|
|
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
|
|
|
|
@@ -25413,7 +25437,7 @@ _ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
|
|
|
|
|
echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
|
|
|
|
|
echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
@@ -25543,6 +25567,7 @@ _ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -26473,157 +26498,7 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in malloc.h pthread.h signal.h stdint.h unistd.h utime.h
|
|
|
|
|
do
|
|
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
fi
|
|
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
|
|
else
|
|
|
|
|
# Is the header compilable?
|
|
|
|
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
$ac_includes_default
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
rm -f conftest.$ac_objext
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
|
(eval $ac_compile) 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } &&
|
|
|
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
|
|
|
|
|| test ! -s conftest.err'
|
|
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
|
|
(eval $ac_try) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); }; } &&
|
|
|
|
|
{ ac_try='test -s conftest.$ac_objext'
|
|
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
|
|
(eval $ac_try) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); }; }; then
|
|
|
|
|
ac_header_compiler=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_compiler=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
|
|
|
|
|
|
# Is the header present?
|
|
|
|
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } >/dev/null; then
|
|
|
|
|
if test -s conftest.err; then
|
|
|
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
|
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
|
|
|
else
|
|
|
|
|
ac_cpp_err=
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
ac_cpp_err=yes
|
|
|
|
|
fi
|
|
|
|
|
if test -z "$ac_cpp_err"; then
|
|
|
|
|
ac_header_preproc=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_preproc=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest.err conftest.$ac_ext
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
|
|
|
|
|
|
# So? What about this header?
|
|
|
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
|
|
|
yes:no: )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
|
|
|
ac_header_preproc=yes
|
|
|
|
|
;;
|
|
|
|
|
no:yes:* )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
|
|
(
|
|
|
|
|
cat <<\_ASBOX
|
|
|
|
|
## ----------------------------------- ##
|
|
|
|
|
## Report this to llvmbugs@cs.uiuc.edu ##
|
|
|
|
|
## ----------------------------------- ##
|
|
|
|
|
_ASBOX
|
|
|
|
|
) |
|
|
|
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
eval "$as_ac_Header=\$ac_header_preproc"
|
|
|
|
|
fi
|
|
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in windows.h
|
|
|
|
|
for ac_header in malloc.h signal.h stdint.h unistd.h utime.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
|
|
|
|
@@ -27077,6 +26952,158 @@ fi
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
if test "$ENABLE_THREADS" -eq 1 ; then
|
|
|
|
|
|
|
|
|
|
for ac_header in pthread.h
|
|
|
|
|
do
|
|
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
fi
|
|
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
|
|
else
|
|
|
|
|
# Is the header compilable?
|
|
|
|
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
$ac_includes_default
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
rm -f conftest.$ac_objext
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
|
(eval $ac_compile) 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } &&
|
|
|
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
|
|
|
|
|| test ! -s conftest.err'
|
|
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
|
|
(eval $ac_try) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); }; } &&
|
|
|
|
|
{ ac_try='test -s conftest.$ac_objext'
|
|
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
|
|
(eval $ac_try) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); }; }; then
|
|
|
|
|
ac_header_compiler=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_compiler=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
|
|
|
|
|
|
# Is the header present?
|
|
|
|
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } >/dev/null; then
|
|
|
|
|
if test -s conftest.err; then
|
|
|
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
|
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
|
|
|
else
|
|
|
|
|
ac_cpp_err=
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
ac_cpp_err=yes
|
|
|
|
|
fi
|
|
|
|
|
if test -z "$ac_cpp_err"; then
|
|
|
|
|
ac_header_preproc=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_preproc=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest.err conftest.$ac_ext
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
|
|
|
|
|
|
# So? What about this header?
|
|
|
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
|
|
|
yes:no: )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
|
|
|
ac_header_preproc=yes
|
|
|
|
|
;;
|
|
|
|
|
no:yes:* )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
|
|
(
|
|
|
|
|
cat <<\_ASBOX
|
|
|
|
|
## ----------------------------------- ##
|
|
|
|
|
## Report this to llvmbugs@cs.uiuc.edu ##
|
|
|
|
|
## ----------------------------------- ##
|
|
|
|
|
_ASBOX
|
|
|
|
|
) |
|
|
|
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
eval "$as_ac_Header=\$ac_header_preproc"
|
|
|
|
|
fi
|
|
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for pid_t" >&5
|
|
|
|
@@ -31322,6 +31349,7 @@ s,@OBJEXT@,$OBJEXT,;t t
|
|
|
|
|
s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
|
|
|
|
|
s,@JIT@,$JIT,;t t
|
|
|
|
|
s,@ENABLE_DOXYGEN@,$ENABLE_DOXYGEN,;t t
|
|
|
|
|
s,@ENABLE_THREADS@,$ENABLE_THREADS,;t t
|
|
|
|
|
s,@TARGETS_TO_BUILD@,$TARGETS_TO_BUILD,;t t
|
|
|
|
|
s,@CPP@,$CPP,;t t
|
|
|
|
|
s,@CXX@,$CXX,;t t
|
|
|
|
|