~ubuntu-branches/ubuntu/trusty/llvm-toolchain-snapshot/trusty-201310232150

« back to all changes in this revision

Viewing changes to .pc/0023-link-libopagent.patch/configure

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-27 15:01:57 UTC
  • mfrom: (0.10.1) (0.9.1) (0.8.1) (0.7.1) (0.6.1) (0.5.2)
  • Revision ID: package-import@ubuntu.com-20130527150157-tdkrsjpuvht7v0qx
Tags: 1:3.4~svn182733-1~exp1
* New snapshot release (3.4 release)
* Add a symlink of libLLVM-3.4.so.1 to usr/lib/llvm-3.4/lib/libLLVM-3.4.so
    to fix make the llvm-config-3.4 --libdir work (Closes: #708677)
  * Various packages rename to allow co installations:
    * libclang1 => libclang1-3.4
    * libclang1-dbg => libclang1-3.4-dbg
    * libclang-dev => libclang-3.4-dev
    * libclang-common-dev => libclang-common-3.4-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.60 for LLVM 3.3svn.
 
3
# Generated by GNU Autoconf 2.60 for LLVM 3.4svn.
4
4
#
5
5
# Report bugs to <http://llvm.org/bugs/>.
6
6
#
561
561
# Identity of this package.
562
562
PACKAGE_NAME='LLVM'
563
563
PACKAGE_TARNAME='llvm'
564
 
PACKAGE_VERSION='3.3svn'
565
 
PACKAGE_STRING='LLVM 3.3svn'
 
564
PACKAGE_VERSION='3.4svn'
 
565
PACKAGE_STRING='LLVM 3.4svn'
566
566
PACKAGE_BUGREPORT='http://llvm.org/bugs/'
567
567
 
568
568
ac_unique_file="lib/IR/Module.cpp"
703
703
ENABLE_DOXYGEN
704
704
LLVM_ENABLE_THREADS
705
705
ENABLE_PTHREADS
 
706
LLVM_ENABLE_ZLIB
706
707
ENABLE_PIC
707
708
ENABLE_SHARED
708
709
ENABLE_EMBED_STDCXX
776
777
XML2CONFIG
777
778
LIBXML2_LIBS
778
779
LIBXML2_INC
 
780
CXXCPP
779
781
HAVE_PTHREAD
 
782
HAVE_LIBZ
780
783
HUGE_VAL_SANITY
781
784
MMAP_FILE
782
785
SHLIBEXT
811
814
CXX
812
815
CXXFLAGS
813
816
CCC
814
 
CPP'
 
817
CPP
 
818
CXXCPP'
815
819
ac_subdirs_all='projects/llvm-gcc
816
820
projects/test-suite
817
821
projects/llvm-test
1327
1331
  # Omit some internal or obsolete options to make the list less imposing.
1328
1332
  # This message is too long to be a string in the A/UX 3.1 sh.
1329
1333
  cat <<_ACEOF
1330
 
\`configure' configures LLVM 3.3svn to adapt to many kinds of systems.
 
1334
\`configure' configures LLVM 3.4svn to adapt to many kinds of systems.
1331
1335
 
1332
1336
Usage: $0 [OPTION]... [VAR=VALUE]...
1333
1337
 
1393
1397
 
1394
1398
if test -n "$ac_init_help"; then
1395
1399
  case $ac_init_help in
1396
 
     short | recursive ) echo "Configuration of LLVM 3.3svn:";;
 
1400
     short | recursive ) echo "Configuration of LLVM 3.4svn:";;
1397
1401
   esac
1398
1402
  cat <<\_ACEOF
1399
1403
 
1426
1430
  --enable-doxygen        Build doxygen documentation (default is NO)
1427
1431
  --enable-threads        Use threads if available (default is YES)
1428
1432
  --enable-pthreads       Use pthreads if available (default is YES)
 
1433
  --enable-zlib           Use zlib for compression/decompression if available
 
1434
                          (default is YES)
1429
1435
  --enable-pic            Build LLVM with Position Independent Code (default
1430
1436
                          is YES)
1431
1437
  --enable-shared         Build a shared library and link tools against it
1439
1445
  --enable-targets        Build specific host targets: all or
1440
1446
                          target1,target2,... Valid targets are: host, x86,
1441
1447
                          x86_64, sparc, powerpc, arm, aarch64, mips, hexagon,
1442
 
                          xcore, msp430, nvptx, and cpp (default=all)
 
1448
                          xcore, msp430, nvptx, systemz, r600, and cpp
 
1449
                          (default=all)
1443
1450
  --enable-experimental-targets
1444
1451
                          Build experimental host targets: disable or
1445
1452
                          target1,target2,... (default=disable)
1487
1494
  CXX         C++ compiler command
1488
1495
  CXXFLAGS    C++ compiler flags
1489
1496
  CPP         C preprocessor
 
1497
  CXXCPP      C++ preprocessor
1490
1498
 
1491
1499
Use these variables to override the choices made by `configure' or to help
1492
1500
it to find libraries and programs with nonstandard names/locations.
1552
1560
test -n "$ac_init_help" && exit $ac_status
1553
1561
if $ac_init_version; then
1554
1562
  cat <<\_ACEOF
1555
 
LLVM configure 3.3svn
 
1563
LLVM configure 3.4svn
1556
1564
generated by GNU Autoconf 2.60
1557
1565
 
1558
1566
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1568
1576
This file contains any messages produced by compilers while
1569
1577
running configure, to aid debugging if configure makes a mistake.
1570
1578
 
1571
 
It was created by LLVM $as_me 3.3svn, which was
 
1579
It was created by LLVM $as_me 3.4svn, which was
1572
1580
generated by GNU Autoconf 2.60.  Invocation command line was
1573
1581
 
1574
1582
  $ $0 $@
1928
1936
 
1929
1937
 
1930
1938
cat >>confdefs.h <<\_ACEOF
1931
 
#define LLVM_VERSION_MINOR 3
 
1939
#define LLVM_VERSION_MINOR 4
1932
1940
_ACEOF
1933
1941
 
1934
1942
 
4019
4027
  hexagon-*)              llvm_cv_target_arch="Hexagon" ;;
4020
4028
  mblaze-*)               llvm_cv_target_arch="MBlaze" ;;
4021
4029
  nvptx-*)                llvm_cv_target_arch="NVPTX" ;;
 
4030
  s390x-*)                llvm_cv_target_arch="SystemZ" ;;
4022
4031
  *)                      llvm_cv_target_arch="Unknown" ;;
4023
4032
esac
4024
4033
fi
4052
4061
  msp430-*)               host_arch="MSP430" ;;
4053
4062
  hexagon-*)              host_arch="Hexagon" ;;
4054
4063
  mblaze-*)               host_arch="MBlaze" ;;
 
4064
  s390x-*)                host_arch="SystemZ" ;;
4055
4065
  *)                      host_arch="Unknown" ;;
4056
4066
esac
4057
4067
 
5392
5402
 ;;
5393
5403
    NVPTX)       TARGET_HAS_JIT=0
5394
5404
 ;;
 
5405
    SystemZ)     TARGET_HAS_JIT=1
 
5406
 ;;
5395
5407
    *)           TARGET_HAS_JIT=0
5396
5408
 ;;
5397
5409
  esac
5478
5490
   { (exit 1); exit 1; }; } ;;
5479
5491
esac
5480
5492
 
 
5493
# Check whether --enable-zlib was given.
 
5494
if test "${enable_zlib+set}" = set; then
 
5495
  enableval=$enable_zlib;
 
5496
else
 
5497
  enableval=default
 
5498
fi
 
5499
 
 
5500
case "$enableval" in
 
5501
  yes) LLVM_ENABLE_ZLIB=1
 
5502
 ;;
 
5503
  no)  LLVM_ENABLE_ZLIB=0
 
5504
 ;;
 
5505
  default) LLVM_ENABLE_ZLIB=1
 
5506
 ;;
 
5507
  *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-zlib. Use \"yes\" or \"no\"" >&5
 
5508
echo "$as_me: error: Invalid setting for --enable-zlib. Use \"yes\" or \"no\"" >&2;}
 
5509
   { (exit 1); exit 1; }; } ;;
 
5510
esac
 
5511
 
 
5512
cat >>confdefs.h <<_ACEOF
 
5513
#define LLVM_ENABLE_ZLIB $LLVM_ENABLE_ZLIB
 
5514
_ACEOF
 
5515
 
 
5516
 
5481
5517
# Check whether --enable-pic was given.
5482
5518
if test "${enable_pic+set}" = set; then
5483
5519
  enableval=$enable_pic;
5601
5637
  enableval=host
5602
5638
fi
5603
5639
case "$enableval" in
5604
 
  all) TARGETS_TO_BUILD="X86 Sparc PowerPC AArch64 ARM Mips XCore MSP430 CppBackend MBlaze NVPTX Hexagon" ;;
 
5640
  all) TARGETS_TO_BUILD="X86 Sparc PowerPC AArch64 ARM Mips XCore MSP430 CppBackend MBlaze NVPTX Hexagon SystemZ R600" ;;
5605
5641
  *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
5606
5642
      case "$a_target" in
5607
5643
        x86)      TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5620
5656
        hexagon)  TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
5621
5657
        mblaze)   TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5622
5658
        nvptx)    TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
 
5659
        systemz)  TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
 
5660
        r600)     TARGETS_TO_BUILD="R600 $TARGETS_TO_BUILD" ;;
5623
5661
        host) case "$llvm_cv_target_arch" in
5624
5662
            x86)         TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5625
5663
            x86_64)      TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5626
5664
            Sparc)       TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5627
5665
            PowerPC)     TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
 
5666
            AArch64)     TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
5628
5667
            ARM)         TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5629
5668
            Mips)        TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5630
5669
            MBlaze)      TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5632
5671
            MSP430)      TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5633
5672
            Hexagon)     TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
5634
5673
            NVPTX)       TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
 
5674
            SystemZ)     TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5635
5675
            *)       { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
5636
5676
echo "$as_me: error: Can not set target to build" >&2;}
5637
5677
   { (exit 1); exit 1; }; } ;;
10497
10537
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10498
10538
  lt_status=$lt_dlunknown
10499
10539
  cat > conftest.$ac_ext <<EOF
10500
 
#line 10500 "configure"
 
10540
#line 10540 "configure"
10501
10541
#include "confdefs.h"
10502
10542
 
10503
10543
#if HAVE_DLFCN_H
13440
13480
 
13441
13481
fi
13442
13482
 
 
13483
if test "$LLVM_ENABLE_ZLIB" -eq 1 ; then
 
13484
 
 
13485
{ echo "$as_me:$LINENO: checking for compress2 in -lz" >&5
 
13486
echo $ECHO_N "checking for compress2 in -lz... $ECHO_C" >&6; }
 
13487
if test "${ac_cv_lib_z_compress2+set}" = set; then
 
13488
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13489
else
 
13490
  ac_check_lib_save_LIBS=$LIBS
 
13491
LIBS="-lz  $LIBS"
 
13492
cat >conftest.$ac_ext <<_ACEOF
 
13493
/* confdefs.h.  */
 
13494
_ACEOF
 
13495
cat confdefs.h >>conftest.$ac_ext
 
13496
cat >>conftest.$ac_ext <<_ACEOF
 
13497
/* end confdefs.h.  */
 
13498
 
 
13499
/* Override any GCC internal prototype to avoid an error.
 
13500
   Use char because int might match the return type of a GCC
 
13501
   builtin and then its argument prototype would still apply.  */
 
13502
#ifdef __cplusplus
 
13503
extern "C"
 
13504
#endif
 
13505
char compress2 ();
 
13506
int
 
13507
main ()
 
13508
{
 
13509
return compress2 ();
 
13510
  ;
 
13511
  return 0;
 
13512
}
 
13513
_ACEOF
 
13514
rm -f conftest.$ac_objext conftest$ac_exeext
 
13515
if { (ac_try="$ac_link"
 
13516
case "(($ac_try" in
 
13517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13518
  *) ac_try_echo=$ac_try;;
 
13519
esac
 
13520
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13521
  (eval "$ac_link") 2>conftest.er1
 
13522
  ac_status=$?
 
13523
  grep -v '^ *+' conftest.er1 >conftest.err
 
13524
  rm -f conftest.er1
 
13525
  cat conftest.err >&5
 
13526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13527
  (exit $ac_status); } &&
 
13528
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
13529
  { (case "(($ac_try" in
 
13530
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13531
  *) ac_try_echo=$ac_try;;
 
13532
esac
 
13533
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13534
  (eval "$ac_try") 2>&5
 
13535
  ac_status=$?
 
13536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13537
  (exit $ac_status); }; } &&
 
13538
         { ac_try='test -s conftest$ac_exeext'
 
13539
  { (case "(($ac_try" in
 
13540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13541
  *) ac_try_echo=$ac_try;;
 
13542
esac
 
13543
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13544
  (eval "$ac_try") 2>&5
 
13545
  ac_status=$?
 
13546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13547
  (exit $ac_status); }; }; then
 
13548
  ac_cv_lib_z_compress2=yes
 
13549
else
 
13550
  echo "$as_me: failed program was:" >&5
 
13551
sed 's/^/| /' conftest.$ac_ext >&5
 
13552
 
 
13553
        ac_cv_lib_z_compress2=no
 
13554
fi
 
13555
 
 
13556
rm -f core conftest.err conftest.$ac_objext \
 
13557
      conftest$ac_exeext conftest.$ac_ext
 
13558
LIBS=$ac_check_lib_save_LIBS
 
13559
fi
 
13560
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress2" >&5
 
13561
echo "${ECHO_T}$ac_cv_lib_z_compress2" >&6; }
 
13562
if test $ac_cv_lib_z_compress2 = yes; then
 
13563
  cat >>confdefs.h <<_ACEOF
 
13564
#define HAVE_LIBZ 1
 
13565
_ACEOF
 
13566
 
 
13567
  LIBS="-lz $LIBS"
 
13568
 
 
13569
fi
 
13570
 
 
13571
fi
 
13572
 
13443
13573
 
13444
13574
# Check whether --with-udis86 was given.
13445
13575
if test "${with_udis86+set}" = set; then
14743
14873
fi
14744
14874
 
14745
14875
 
 
14876
ac_ext=cpp
 
14877
ac_cpp='$CXXCPP $CPPFLAGS'
 
14878
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14879
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14880
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14881
 
 
14882
ac_ext=cpp
 
14883
ac_cpp='$CXXCPP $CPPFLAGS'
 
14884
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14885
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14886
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14887
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
14888
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
14889
if test -z "$CXXCPP"; then
 
14890
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
14891
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14892
else
 
14893
      # Double quotes because CXXCPP needs to be expanded
 
14894
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
14895
    do
 
14896
      ac_preproc_ok=false
 
14897
for ac_cxx_preproc_warn_flag in '' yes
 
14898
do
 
14899
  # Use a header file that comes with gcc, so configuring glibc
 
14900
  # with a fresh cross-compiler works.
 
14901
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14902
  # <limits.h> exists even on freestanding compilers.
 
14903
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
14904
  # not just through cpp. "Syntax error" is here to catch this case.
 
14905
  cat >conftest.$ac_ext <<_ACEOF
 
14906
/* confdefs.h.  */
 
14907
_ACEOF
 
14908
cat confdefs.h >>conftest.$ac_ext
 
14909
cat >>conftest.$ac_ext <<_ACEOF
 
14910
/* end confdefs.h.  */
 
14911
#ifdef __STDC__
 
14912
# include <limits.h>
 
14913
#else
 
14914
# include <assert.h>
 
14915
#endif
 
14916
                     Syntax error
 
14917
_ACEOF
 
14918
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
14919
case "(($ac_try" in
 
14920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14921
  *) ac_try_echo=$ac_try;;
 
14922
esac
 
14923
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14924
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
14925
  ac_status=$?
 
14926
  grep -v '^ *+' conftest.er1 >conftest.err
 
14927
  rm -f conftest.er1
 
14928
  cat conftest.err >&5
 
14929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14930
  (exit $ac_status); } >/dev/null; then
 
14931
  if test -s conftest.err; then
 
14932
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
14933
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
14934
  else
 
14935
    ac_cpp_err=
 
14936
  fi
 
14937
else
 
14938
  ac_cpp_err=yes
 
14939
fi
 
14940
if test -z "$ac_cpp_err"; then
 
14941
  :
 
14942
else
 
14943
  echo "$as_me: failed program was:" >&5
 
14944
sed 's/^/| /' conftest.$ac_ext >&5
 
14945
 
 
14946
  # Broken: fails on valid input.
 
14947
continue
 
14948
fi
 
14949
 
 
14950
rm -f conftest.err conftest.$ac_ext
 
14951
 
 
14952
  # OK, works on sane cases.  Now check whether nonexistent headers
 
14953
  # can be detected and how.
 
14954
  cat >conftest.$ac_ext <<_ACEOF
 
14955
/* confdefs.h.  */
 
14956
_ACEOF
 
14957
cat confdefs.h >>conftest.$ac_ext
 
14958
cat >>conftest.$ac_ext <<_ACEOF
 
14959
/* end confdefs.h.  */
 
14960
#include <ac_nonexistent.h>
 
14961
_ACEOF
 
14962
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
14963
case "(($ac_try" in
 
14964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14965
  *) ac_try_echo=$ac_try;;
 
14966
esac
 
14967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14968
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
14969
  ac_status=$?
 
14970
  grep -v '^ *+' conftest.er1 >conftest.err
 
14971
  rm -f conftest.er1
 
14972
  cat conftest.err >&5
 
14973
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14974
  (exit $ac_status); } >/dev/null; then
 
14975
  if test -s conftest.err; then
 
14976
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
14977
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
14978
  else
 
14979
    ac_cpp_err=
 
14980
  fi
 
14981
else
 
14982
  ac_cpp_err=yes
 
14983
fi
 
14984
if test -z "$ac_cpp_err"; then
 
14985
  # Broken: success on invalid input.
 
14986
continue
 
14987
else
 
14988
  echo "$as_me: failed program was:" >&5
 
14989
sed 's/^/| /' conftest.$ac_ext >&5
 
14990
 
 
14991
  # Passes both tests.
 
14992
ac_preproc_ok=:
 
14993
break
 
14994
fi
 
14995
 
 
14996
rm -f conftest.err conftest.$ac_ext
 
14997
 
 
14998
done
 
14999
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
15000
rm -f conftest.err conftest.$ac_ext
 
15001
if $ac_preproc_ok; then
 
15002
  break
 
15003
fi
 
15004
 
 
15005
    done
 
15006
    ac_cv_prog_CXXCPP=$CXXCPP
 
15007
 
 
15008
fi
 
15009
  CXXCPP=$ac_cv_prog_CXXCPP
 
15010
else
 
15011
  ac_cv_prog_CXXCPP=$CXXCPP
 
15012
fi
 
15013
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
15014
echo "${ECHO_T}$CXXCPP" >&6; }
 
15015
ac_preproc_ok=false
 
15016
for ac_cxx_preproc_warn_flag in '' yes
 
15017
do
 
15018
  # Use a header file that comes with gcc, so configuring glibc
 
15019
  # with a fresh cross-compiler works.
 
15020
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
15021
  # <limits.h> exists even on freestanding compilers.
 
15022
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
15023
  # not just through cpp. "Syntax error" is here to catch this case.
 
15024
  cat >conftest.$ac_ext <<_ACEOF
 
15025
/* confdefs.h.  */
 
15026
_ACEOF
 
15027
cat confdefs.h >>conftest.$ac_ext
 
15028
cat >>conftest.$ac_ext <<_ACEOF
 
15029
/* end confdefs.h.  */
 
15030
#ifdef __STDC__
 
15031
# include <limits.h>
 
15032
#else
 
15033
# include <assert.h>
 
15034
#endif
 
15035
                     Syntax error
 
15036
_ACEOF
 
15037
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15038
case "(($ac_try" in
 
15039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15040
  *) ac_try_echo=$ac_try;;
 
15041
esac
 
15042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15043
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15044
  ac_status=$?
 
15045
  grep -v '^ *+' conftest.er1 >conftest.err
 
15046
  rm -f conftest.er1
 
15047
  cat conftest.err >&5
 
15048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15049
  (exit $ac_status); } >/dev/null; then
 
15050
  if test -s conftest.err; then
 
15051
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
15052
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
15053
  else
 
15054
    ac_cpp_err=
 
15055
  fi
 
15056
else
 
15057
  ac_cpp_err=yes
 
15058
fi
 
15059
if test -z "$ac_cpp_err"; then
 
15060
  :
 
15061
else
 
15062
  echo "$as_me: failed program was:" >&5
 
15063
sed 's/^/| /' conftest.$ac_ext >&5
 
15064
 
 
15065
  # Broken: fails on valid input.
 
15066
continue
 
15067
fi
 
15068
 
 
15069
rm -f conftest.err conftest.$ac_ext
 
15070
 
 
15071
  # OK, works on sane cases.  Now check whether nonexistent headers
 
15072
  # can be detected and how.
 
15073
  cat >conftest.$ac_ext <<_ACEOF
 
15074
/* confdefs.h.  */
 
15075
_ACEOF
 
15076
cat confdefs.h >>conftest.$ac_ext
 
15077
cat >>conftest.$ac_ext <<_ACEOF
 
15078
/* end confdefs.h.  */
 
15079
#include <ac_nonexistent.h>
 
15080
_ACEOF
 
15081
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15082
case "(($ac_try" in
 
15083
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15084
  *) ac_try_echo=$ac_try;;
 
15085
esac
 
15086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15087
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15088
  ac_status=$?
 
15089
  grep -v '^ *+' conftest.er1 >conftest.err
 
15090
  rm -f conftest.er1
 
15091
  cat conftest.err >&5
 
15092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15093
  (exit $ac_status); } >/dev/null; then
 
15094
  if test -s conftest.err; then
 
15095
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
15096
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
15097
  else
 
15098
    ac_cpp_err=
 
15099
  fi
 
15100
else
 
15101
  ac_cpp_err=yes
 
15102
fi
 
15103
if test -z "$ac_cpp_err"; then
 
15104
  # Broken: success on invalid input.
 
15105
continue
 
15106
else
 
15107
  echo "$as_me: failed program was:" >&5
 
15108
sed 's/^/| /' conftest.$ac_ext >&5
 
15109
 
 
15110
  # Passes both tests.
 
15111
ac_preproc_ok=:
 
15112
break
 
15113
fi
 
15114
 
 
15115
rm -f conftest.err conftest.$ac_ext
 
15116
 
 
15117
done
 
15118
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
15119
rm -f conftest.err conftest.$ac_ext
 
15120
if $ac_preproc_ok; then
 
15121
  :
 
15122
else
 
15123
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
15124
See \`config.log' for more details." >&5
 
15125
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
15126
See \`config.log' for more details." >&2;}
 
15127
   { (exit 1); exit 1; }; }
 
15128
fi
 
15129
 
 
15130
ac_ext=cpp
 
15131
ac_cpp='$CXXCPP $CPPFLAGS'
 
15132
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15133
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15134
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15135
 
 
15136
 
 
15137
 
 
15138
for ac_header in cxxabi.h
 
15139
do
 
15140
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15141
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15142
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15143
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
15144
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15145
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15146
fi
 
15147
ac_res=`eval echo '${'$as_ac_Header'}'`
 
15148
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
15149
echo "${ECHO_T}$ac_res" >&6; }
 
15150
else
 
15151
  # Is the header compilable?
 
15152
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
15153
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
15154
cat >conftest.$ac_ext <<_ACEOF
 
15155
/* confdefs.h.  */
 
15156
_ACEOF
 
15157
cat confdefs.h >>conftest.$ac_ext
 
15158
cat >>conftest.$ac_ext <<_ACEOF
 
15159
/* end confdefs.h.  */
 
15160
$ac_includes_default
 
15161
#include <$ac_header>
 
15162
_ACEOF
 
15163
rm -f conftest.$ac_objext
 
15164
if { (ac_try="$ac_compile"
 
15165
case "(($ac_try" in
 
15166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15167
  *) ac_try_echo=$ac_try;;
 
15168
esac
 
15169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15170
  (eval "$ac_compile") 2>conftest.er1
 
15171
  ac_status=$?
 
15172
  grep -v '^ *+' conftest.er1 >conftest.err
 
15173
  rm -f conftest.er1
 
15174
  cat conftest.err >&5
 
15175
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15176
  (exit $ac_status); } &&
 
15177
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
15178
  { (case "(($ac_try" in
 
15179
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15180
  *) ac_try_echo=$ac_try;;
 
15181
esac
 
15182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15183
  (eval "$ac_try") 2>&5
 
15184
  ac_status=$?
 
15185
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15186
  (exit $ac_status); }; } &&
 
15187
         { ac_try='test -s conftest.$ac_objext'
 
15188
  { (case "(($ac_try" in
 
15189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15190
  *) ac_try_echo=$ac_try;;
 
15191
esac
 
15192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15193
  (eval "$ac_try") 2>&5
 
15194
  ac_status=$?
 
15195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15196
  (exit $ac_status); }; }; then
 
15197
  ac_header_compiler=yes
 
15198
else
 
15199
  echo "$as_me: failed program was:" >&5
 
15200
sed 's/^/| /' conftest.$ac_ext >&5
 
15201
 
 
15202
        ac_header_compiler=no
 
15203
fi
 
15204
 
 
15205
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15206
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15207
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
15208
 
 
15209
# Is the header present?
 
15210
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
15211
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
15212
cat >conftest.$ac_ext <<_ACEOF
 
15213
/* confdefs.h.  */
 
15214
_ACEOF
 
15215
cat confdefs.h >>conftest.$ac_ext
 
15216
cat >>conftest.$ac_ext <<_ACEOF
 
15217
/* end confdefs.h.  */
 
15218
#include <$ac_header>
 
15219
_ACEOF
 
15220
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15221
case "(($ac_try" in
 
15222
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15223
  *) ac_try_echo=$ac_try;;
 
15224
esac
 
15225
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15226
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
15227
  ac_status=$?
 
15228
  grep -v '^ *+' conftest.er1 >conftest.err
 
15229
  rm -f conftest.er1
 
15230
  cat conftest.err >&5
 
15231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15232
  (exit $ac_status); } >/dev/null; then
 
15233
  if test -s conftest.err; then
 
15234
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
15235
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
15236
  else
 
15237
    ac_cpp_err=
 
15238
  fi
 
15239
else
 
15240
  ac_cpp_err=yes
 
15241
fi
 
15242
if test -z "$ac_cpp_err"; then
 
15243
  ac_header_preproc=yes
 
15244
else
 
15245
  echo "$as_me: failed program was:" >&5
 
15246
sed 's/^/| /' conftest.$ac_ext >&5
 
15247
 
 
15248
  ac_header_preproc=no
 
15249
fi
 
15250
 
 
15251
rm -f conftest.err conftest.$ac_ext
 
15252
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15253
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
15254
 
 
15255
# So?  What about this header?
 
15256
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
 
15257
  yes:no: )
 
15258
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
15259
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15260
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
15261
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
15262
    ac_header_preproc=yes
 
15263
    ;;
 
15264
  no:yes:* )
 
15265
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
15266
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
15267
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
15268
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
15269
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
15270
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
15271
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
15272
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15273
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
15274
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
15275
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
15276
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
15277
    ( cat <<\_ASBOX
 
15278
## ------------------------------------ ##
 
15279
## Report this to http://llvm.org/bugs/ ##
 
15280
## ------------------------------------ ##
 
15281
_ASBOX
 
15282
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
15283
    ;;
 
15284
esac
 
15285
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15286
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
15287
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15288
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15289
else
 
15290
  eval "$as_ac_Header=\$ac_header_preproc"
 
15291
fi
 
15292
ac_res=`eval echo '${'$as_ac_Header'}'`
 
15293
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
15294
echo "${ECHO_T}$ac_res" >&6; }
 
15295
 
 
15296
fi
 
15297
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15298
  cat >>confdefs.h <<_ACEOF
 
15299
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15300
_ACEOF
 
15301
 
 
15302
fi
 
15303
 
 
15304
done
 
15305
 
 
15306
ac_ext=c
 
15307
ac_cpp='$CPP $CPPFLAGS'
 
15308
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15309
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15311
 
14746
15312
 
14747
15313
 
14748
15314
 
16294
16860
  HAVE_PTHREAD=0
16295
16861
 
16296
16862
fi
 
16863
if test "$LLVM_ENABLE_ZLIB" -eq 1 ; then
 
16864
 
 
16865
for ac_header in zlib.h
 
16866
do
 
16867
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
16868
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
16869
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
16870
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
16871
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
16872
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16873
fi
 
16874
ac_res=`eval echo '${'$as_ac_Header'}'`
 
16875
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
16876
echo "${ECHO_T}$ac_res" >&6; }
 
16877
else
 
16878
  # Is the header compilable?
 
16879
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
16880
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
16881
cat >conftest.$ac_ext <<_ACEOF
 
16882
/* confdefs.h.  */
 
16883
_ACEOF
 
16884
cat confdefs.h >>conftest.$ac_ext
 
16885
cat >>conftest.$ac_ext <<_ACEOF
 
16886
/* end confdefs.h.  */
 
16887
$ac_includes_default
 
16888
#include <$ac_header>
 
16889
_ACEOF
 
16890
rm -f conftest.$ac_objext
 
16891
if { (ac_try="$ac_compile"
 
16892
case "(($ac_try" in
 
16893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16894
  *) ac_try_echo=$ac_try;;
 
16895
esac
 
16896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16897
  (eval "$ac_compile") 2>conftest.er1
 
16898
  ac_status=$?
 
16899
  grep -v '^ *+' conftest.er1 >conftest.err
 
16900
  rm -f conftest.er1
 
16901
  cat conftest.err >&5
 
16902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16903
  (exit $ac_status); } &&
 
16904
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
16905
  { (case "(($ac_try" in
 
16906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16907
  *) ac_try_echo=$ac_try;;
 
16908
esac
 
16909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16910
  (eval "$ac_try") 2>&5
 
16911
  ac_status=$?
 
16912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16913
  (exit $ac_status); }; } &&
 
16914
         { ac_try='test -s conftest.$ac_objext'
 
16915
  { (case "(($ac_try" in
 
16916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16917
  *) ac_try_echo=$ac_try;;
 
16918
esac
 
16919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16920
  (eval "$ac_try") 2>&5
 
16921
  ac_status=$?
 
16922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16923
  (exit $ac_status); }; }; then
 
16924
  ac_header_compiler=yes
 
16925
else
 
16926
  echo "$as_me: failed program was:" >&5
 
16927
sed 's/^/| /' conftest.$ac_ext >&5
 
16928
 
 
16929
        ac_header_compiler=no
 
16930
fi
 
16931
 
 
16932
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16933
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
16934
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
16935
 
 
16936
# Is the header present?
 
16937
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
16938
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
16939
cat >conftest.$ac_ext <<_ACEOF
 
16940
/* confdefs.h.  */
 
16941
_ACEOF
 
16942
cat confdefs.h >>conftest.$ac_ext
 
16943
cat >>conftest.$ac_ext <<_ACEOF
 
16944
/* end confdefs.h.  */
 
16945
#include <$ac_header>
 
16946
_ACEOF
 
16947
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
16948
case "(($ac_try" in
 
16949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16950
  *) ac_try_echo=$ac_try;;
 
16951
esac
 
16952
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16953
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
16954
  ac_status=$?
 
16955
  grep -v '^ *+' conftest.er1 >conftest.err
 
16956
  rm -f conftest.er1
 
16957
  cat conftest.err >&5
 
16958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16959
  (exit $ac_status); } >/dev/null; then
 
16960
  if test -s conftest.err; then
 
16961
    ac_cpp_err=$ac_c_preproc_warn_flag
 
16962
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
16963
  else
 
16964
    ac_cpp_err=
 
16965
  fi
 
16966
else
 
16967
  ac_cpp_err=yes
 
16968
fi
 
16969
if test -z "$ac_cpp_err"; then
 
16970
  ac_header_preproc=yes
 
16971
else
 
16972
  echo "$as_me: failed program was:" >&5
 
16973
sed 's/^/| /' conftest.$ac_ext >&5
 
16974
 
 
16975
  ac_header_preproc=no
 
16976
fi
 
16977
 
 
16978
rm -f conftest.err conftest.$ac_ext
 
16979
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
16980
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
16981
 
 
16982
# So?  What about this header?
 
16983
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
16984
  yes:no: )
 
16985
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
16986
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
16987
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
16988
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
16989
    ac_header_preproc=yes
 
16990
    ;;
 
16991
  no:yes:* )
 
16992
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
16993
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
16994
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
16995
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
16996
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
16997
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
16998
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
16999
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
17000
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
17001
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
17002
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
17003
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
17004
    ( cat <<\_ASBOX
 
17005
## ------------------------------------ ##
 
17006
## Report this to http://llvm.org/bugs/ ##
 
17007
## ------------------------------------ ##
 
17008
_ASBOX
 
17009
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
17010
    ;;
 
17011
esac
 
17012
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17013
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
17014
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
17015
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17016
else
 
17017
  eval "$as_ac_Header=\$ac_header_preproc"
 
17018
fi
 
17019
ac_res=`eval echo '${'$as_ac_Header'}'`
 
17020
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
17021
echo "${ECHO_T}$ac_res" >&6; }
 
17022
 
 
17023
fi
 
17024
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
17025
  cat >>confdefs.h <<_ACEOF
 
17026
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
17027
_ACEOF
 
17028
 HAVE_LIBZ=1
 
17029
 
 
17030
else
 
17031
  HAVE_LIBZ=0
 
17032
 
 
17033
fi
 
17034
 
 
17035
done
 
17036
 
 
17037
else
 
17038
  HAVE_LIBZ=0
 
17039
 
 
17040
fi
16297
17041
 
16298
17042
if test "$llvm_cv_enable_libffi" = "yes" ; then
16299
17043
 
21639
22383
 
21640
22384
 
21641
22385
cat >>confdefs.h <<_ACEOF
21642
 
#define LLVM_HOSTTRIPLE "$host"
 
22386
#define LLVM_HOST_TRIPLE "$host"
21643
22387
_ACEOF
21644
22388
 
21645
22389
 
22294
23038
# report actual input values of CONFIG_FILES etc. instead of their
22295
23039
# values after options handling.
22296
23040
ac_log="
22297
 
This file was extended by LLVM $as_me 3.3svn, which was
 
23041
This file was extended by LLVM $as_me 3.4svn, which was
22298
23042
generated by GNU Autoconf 2.60.  Invocation command line was
22299
23043
 
22300
23044
  CONFIG_FILES    = $CONFIG_FILES
22347
23091
_ACEOF
22348
23092
cat >>$CONFIG_STATUS <<_ACEOF
22349
23093
ac_cs_version="\\
22350
 
LLVM config.status 3.3svn
 
23094
LLVM config.status 3.4svn
22351
23095
configured by $0, generated by GNU Autoconf 2.60,
22352
23096
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22353
23097
 
22691
23435
ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
22692
23436
LLVM_ENABLE_THREADS!$LLVM_ENABLE_THREADS$ac_delim
22693
23437
ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
 
23438
LLVM_ENABLE_ZLIB!$LLVM_ENABLE_ZLIB$ac_delim
22694
23439
ENABLE_PIC!$ENABLE_PIC$ac_delim
22695
23440
ENABLE_SHARED!$ENABLE_SHARED$ac_delim
22696
23441
ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
22764
23509
XML2CONFIG!$XML2CONFIG$ac_delim
22765
23510
LIBXML2_LIBS!$LIBXML2_LIBS$ac_delim
22766
23511
LIBXML2_INC!$LIBXML2_INC$ac_delim
 
23512
CXXCPP!$CXXCPP$ac_delim
22767
23513
HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
 
23514
HAVE_LIBZ!$HAVE_LIBZ$ac_delim
22768
23515
HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
22769
23516
MMAP_FILE!$MMAP_FILE$ac_delim
22770
23517
SHLIBEXT!$SHLIBEXT$ac_delim
22781
23528
LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
22782
23529
BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
22783
23530
ALL_BINDINGS!$ALL_BINDINGS$ac_delim
 
23531
_ACEOF
 
23532
 
 
23533
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23534
    break
 
23535
  elif $ac_last_try; then
 
23536
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23537
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23538
   { (exit 1); exit 1; }; }
 
23539
  else
 
23540
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23541
  fi
 
23542
done
 
23543
 
 
23544
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23545
if test -n "$ac_eof"; then
 
23546
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23547
  ac_eof=`expr $ac_eof + 1`
 
23548
fi
 
23549
 
 
23550
cat >>$CONFIG_STATUS <<_ACEOF
 
23551
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
23552
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
23553
_ACEOF
 
23554
sed '
 
23555
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23556
s/^/s,@/; s/!/@,|#_!!_#|/
 
23557
:n
 
23558
t n
 
23559
s/'"$ac_delim"'$/,g/; t
 
23560
s/$/\\/; p
 
23561
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23562
' >>$CONFIG_STATUS <conf$$subs.sed
 
23563
rm -f conf$$subs.sed
 
23564
cat >>$CONFIG_STATUS <<_ACEOF
 
23565
CEOF$ac_eof
 
23566
_ACEOF
 
23567
 
 
23568
 
 
23569
ac_delim='%!_!# '
 
23570
for ac_last_try in false false false false false :; do
 
23571
  cat >conf$$subs.sed <<_ACEOF
22784
23572
OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
22785
23573
ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
22786
23574
RPATH!$RPATH$ac_delim
22787
 
_ACEOF
22788
 
 
22789
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22790
 
    break
22791
 
  elif $ac_last_try; then
22792
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22793
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22794
 
   { (exit 1); exit 1; }; }
22795
 
  else
22796
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22797
 
  fi
22798
 
done
22799
 
 
22800
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22801
 
if test -n "$ac_eof"; then
22802
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22803
 
  ac_eof=`expr $ac_eof + 1`
22804
 
fi
22805
 
 
22806
 
cat >>$CONFIG_STATUS <<_ACEOF
22807
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22808
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22809
 
_ACEOF
22810
 
sed '
22811
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22812
 
s/^/s,@/; s/!/@,|#_!!_#|/
22813
 
:n
22814
 
t n
22815
 
s/'"$ac_delim"'$/,g/; t
22816
 
s/$/\\/; p
22817
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22818
 
' >>$CONFIG_STATUS <conf$$subs.sed
22819
 
rm -f conf$$subs.sed
22820
 
cat >>$CONFIG_STATUS <<_ACEOF
22821
 
CEOF$ac_eof
22822
 
_ACEOF
22823
 
 
22824
 
 
22825
 
ac_delim='%!_!# '
22826
 
for ac_last_try in false false false false false :; do
22827
 
  cat >conf$$subs.sed <<_ACEOF
22828
23575
RDYNAMIC!$RDYNAMIC$ac_delim
22829
23576
program_prefix!$program_prefix$ac_delim
22830
23577
LIBOBJS!$LIBOBJS$ac_delim
22831
23578
LTLIBOBJS!$LTLIBOBJS$ac_delim
22832
23579
_ACEOF
22833
23580
 
22834
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 4; then
 
23581
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
22835
23582
    break
22836
23583
  elif $ac_last_try; then
22837
23584
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5