Changeset 76934fb for configure


Ignore:
Timestamp:
Jun 1, 2015, 12:55:33 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
6db50d5
Parents:
46cbfe1 (diff), db82596 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into labels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r46cbfe1 r76934fb  
    611611GREP
    612612CPP
     613RANLIB
     614LEXLIB
     615LEX_OUTPUT_ROOT
     616LEX
     617YFLAGS
     618YACC
    613619am__fastdepCC_FALSE
    614620am__fastdepCC_TRUE
     
    722728CC
    723729CFLAGS
     730YACC
     731YFLAGS
    724732CPP'
    725733
     
    13591367  CC          C compiler command
    13601368  CFLAGS      C compiler flags
     1369  YACC        The `Yet Another Compiler Compiler' implementation to use.
     1370              Defaults to the first program found out of: `bison -y', `byacc',
     1371              `yacc'.
     1372  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1373              This script will default YFLAGS to the empty string to avoid a
     1374              default value of `-d' given by some make applications.
    13611375  CPP         C preprocessor
    13621376
     
    15161530
    15171531} # ac_fn_c_try_compile
    1518 
    1519 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1520 # -------------------------------------------
    1521 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1522 # variable VAR accordingly.
    1523 ac_fn_c_check_type ()
    1524 {
    1525   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1527 $as_echo_n "checking for $2... " >&6; }
    1528 if eval \${$3+:} false; then :
    1529   $as_echo_n "(cached) " >&6
    1530 else
    1531   eval "$3=no"
    1532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1533 /* end confdefs.h.  */
    1534 $4
    1535 int
    1536 main ()
    1537 {
    1538 if (sizeof ($2))
    1539          return 0;
    1540   ;
    1541   return 0;
    1542 }
    1543 _ACEOF
    1544 if ac_fn_c_try_compile "$LINENO"; then :
    1545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1546 /* end confdefs.h.  */
    1547 $4
    1548 int
    1549 main ()
    1550 {
    1551 if (sizeof (($2)))
    1552             return 0;
    1553   ;
    1554   return 0;
    1555 }
    1556 _ACEOF
    1557 if ac_fn_c_try_compile "$LINENO"; then :
    1558 
    1559 else
    1560   eval "$3=yes"
    1561 fi
    1562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1563 fi
    1564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1565 fi
    1566 eval ac_res=\$$3
    1567                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1568 $as_echo "$ac_res" >&6; }
    1569   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1570 
    1571 } # ac_fn_c_check_type
    1572 
    1573 # ac_fn_c_try_cpp LINENO
    1574 # ----------------------
    1575 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1576 ac_fn_c_try_cpp ()
    1577 {
    1578   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1579   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1580 case "(($ac_try" in
    1581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1582   *) ac_try_echo=$ac_try;;
    1583 esac
    1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1585 $as_echo "$ac_try_echo"; } >&5
    1586   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1587   ac_status=$?
    1588   if test -s conftest.err; then
    1589     grep -v '^ *+' conftest.err >conftest.er1
    1590     cat conftest.er1 >&5
    1591     mv -f conftest.er1 conftest.err
    1592   fi
    1593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1594   test $ac_status = 0; } > conftest.i && {
    1595          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1596          test ! -s conftest.err
    1597        }; then :
    1598   ac_retval=0
    1599 else
    1600   $as_echo "$as_me: failed program was:" >&5
    1601 sed 's/^/| /' conftest.$ac_ext >&5
    1602 
    1603     ac_retval=1
    1604 fi
    1605   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1606   as_fn_set_status $ac_retval
    1607 
    1608 } # ac_fn_c_try_cpp
    1609 
    1610 # ac_fn_c_try_run LINENO
    1611 # ----------------------
    1612 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1613 # that executables *can* be run.
    1614 ac_fn_c_try_run ()
    1615 {
    1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1617   if { { ac_try="$ac_link"
    1618 case "(($ac_try" in
    1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1620   *) ac_try_echo=$ac_try;;
    1621 esac
    1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1623 $as_echo "$ac_try_echo"; } >&5
    1624   (eval "$ac_link") 2>&5
    1625   ac_status=$?
    1626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1627   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1628   { { case "(($ac_try" in
    1629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1630   *) ac_try_echo=$ac_try;;
    1631 esac
    1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1633 $as_echo "$ac_try_echo"; } >&5
    1634   (eval "$ac_try") 2>&5
    1635   ac_status=$?
    1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1637   test $ac_status = 0; }; }; then :
    1638   ac_retval=0
    1639 else
    1640   $as_echo "$as_me: program exited with status $ac_status" >&5
    1641        $as_echo "$as_me: failed program was:" >&5
    1642 sed 's/^/| /' conftest.$ac_ext >&5
    1643 
    1644        ac_retval=$ac_status
    1645 fi
    1646   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1648   as_fn_set_status $ac_retval
    1649 
    1650 } # ac_fn_c_try_run
    1651 
    1652 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1653 # -------------------------------------------------------
    1654 # Tests whether HEADER exists and can be compiled using the include files in
    1655 # INCLUDES, setting the cache variable VAR accordingly.
    1656 ac_fn_c_check_header_compile ()
    1657 {
    1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1660 $as_echo_n "checking for $2... " >&6; }
    1661 if eval \${$3+:} false; then :
    1662   $as_echo_n "(cached) " >&6
    1663 else
    1664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1665 /* end confdefs.h.  */
    1666 $4
    1667 #include <$2>
    1668 _ACEOF
    1669 if ac_fn_c_try_compile "$LINENO"; then :
    1670   eval "$3=yes"
    1671 else
    1672   eval "$3=no"
    1673 fi
    1674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1675 fi
    1676 eval ac_res=\$$3
    1677                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1678 $as_echo "$ac_res" >&6; }
    1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1680 
    1681 } # ac_fn_c_check_header_compile
    16821532
    16831533# ac_fn_c_try_link LINENO
     
    17261576
    17271577} # ac_fn_c_try_link
     1578
     1579# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     1580# -------------------------------------------
     1581# Tests whether TYPE exists after having included INCLUDES, setting cache
     1582# variable VAR accordingly.
     1583ac_fn_c_check_type ()
     1584{
     1585  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1586  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1587$as_echo_n "checking for $2... " >&6; }
     1588if eval \${$3+:} false; then :
     1589  $as_echo_n "(cached) " >&6
     1590else
     1591  eval "$3=no"
     1592  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1593/* end confdefs.h.  */
     1594$4
     1595int
     1596main ()
     1597{
     1598if (sizeof ($2))
     1599         return 0;
     1600  ;
     1601  return 0;
     1602}
     1603_ACEOF
     1604if ac_fn_c_try_compile "$LINENO"; then :
     1605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1606/* end confdefs.h.  */
     1607$4
     1608int
     1609main ()
     1610{
     1611if (sizeof (($2)))
     1612            return 0;
     1613  ;
     1614  return 0;
     1615}
     1616_ACEOF
     1617if ac_fn_c_try_compile "$LINENO"; then :
     1618
     1619else
     1620  eval "$3=yes"
     1621fi
     1622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1623fi
     1624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1625fi
     1626eval ac_res=\$$3
     1627               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1628$as_echo "$ac_res" >&6; }
     1629  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1630
     1631} # ac_fn_c_check_type
     1632
     1633# ac_fn_c_try_cpp LINENO
     1634# ----------------------
     1635# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1636ac_fn_c_try_cpp ()
     1637{
     1638  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1639  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1640case "(($ac_try" in
     1641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1642  *) ac_try_echo=$ac_try;;
     1643esac
     1644eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1645$as_echo "$ac_try_echo"; } >&5
     1646  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1647  ac_status=$?
     1648  if test -s conftest.err; then
     1649    grep -v '^ *+' conftest.err >conftest.er1
     1650    cat conftest.er1 >&5
     1651    mv -f conftest.er1 conftest.err
     1652  fi
     1653  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1654  test $ac_status = 0; } > conftest.i && {
     1655         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1656         test ! -s conftest.err
     1657       }; then :
     1658  ac_retval=0
     1659else
     1660  $as_echo "$as_me: failed program was:" >&5
     1661sed 's/^/| /' conftest.$ac_ext >&5
     1662
     1663    ac_retval=1
     1664fi
     1665  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1666  as_fn_set_status $ac_retval
     1667
     1668} # ac_fn_c_try_cpp
     1669
     1670# ac_fn_c_try_run LINENO
     1671# ----------------------
     1672# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1673# that executables *can* be run.
     1674ac_fn_c_try_run ()
     1675{
     1676  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1677  if { { ac_try="$ac_link"
     1678case "(($ac_try" in
     1679  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1680  *) ac_try_echo=$ac_try;;
     1681esac
     1682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1683$as_echo "$ac_try_echo"; } >&5
     1684  (eval "$ac_link") 2>&5
     1685  ac_status=$?
     1686  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1687  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1688  { { case "(($ac_try" in
     1689  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1690  *) ac_try_echo=$ac_try;;
     1691esac
     1692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1693$as_echo "$ac_try_echo"; } >&5
     1694  (eval "$ac_try") 2>&5
     1695  ac_status=$?
     1696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1697  test $ac_status = 0; }; }; then :
     1698  ac_retval=0
     1699else
     1700  $as_echo "$as_me: program exited with status $ac_status" >&5
     1701       $as_echo "$as_me: failed program was:" >&5
     1702sed 's/^/| /' conftest.$ac_ext >&5
     1703
     1704       ac_retval=$ac_status
     1705fi
     1706  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1707  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1708  as_fn_set_status $ac_retval
     1709
     1710} # ac_fn_c_try_run
     1711
     1712# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1713# -------------------------------------------------------
     1714# Tests whether HEADER exists and can be compiled using the include files in
     1715# INCLUDES, setting the cache variable VAR accordingly.
     1716ac_fn_c_check_header_compile ()
     1717{
     1718  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1720$as_echo_n "checking for $2... " >&6; }
     1721if eval \${$3+:} false; then :
     1722  $as_echo_n "(cached) " >&6
     1723else
     1724  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1725/* end confdefs.h.  */
     1726$4
     1727#include <$2>
     1728_ACEOF
     1729if ac_fn_c_try_compile "$LINENO"; then :
     1730  eval "$3=yes"
     1731else
     1732  eval "$3=no"
     1733fi
     1734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1735fi
     1736eval ac_res=\$$3
     1737               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1738$as_echo "$ac_res" >&6; }
     1739  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1740
     1741} # ac_fn_c_check_header_compile
    17281742
    17291743# ac_fn_c_check_func LINENO FUNC VAR
     
    23632377
    23642378
    2365 am__api_version='1.11'
    2366 
    23672379ac_aux_dir=
    2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     2380for ac_dir in automake "$srcdir"/automake; do
    23692381  if test -f "$ac_dir/install-sh"; then
    23702382    ac_aux_dir=$ac_dir
     
    23822394done
    23832395if test -z "$ac_aux_dir"; then
    2384   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     2396  as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
    23852397fi
    23862398
     
    23932405ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    23942406
     2407
     2408
     2409ac_config_headers="$ac_config_headers config.h"
     2410
     2411
     2412am__api_version='1.11'
    23952413
    23962414# Find a good install program.  We prefer a C program (faster),
     
    28942912
    28952913
    2896 ac_config_headers="$ac_config_headers config.h"
    2897 
    2898 
    28992914# Installation paths
    29002915
     
    29082923
    29092924  if test x$backcompiler != x; then
    2910      cat >>confdefs.h <<_ACEOF
     2925        cat >>confdefs.h <<_ACEOF
    29112926#define GCC_PATH "${backcompiler}"
    29122927_ACEOF
    29132928
    2914      BACKEND_CC=${backcompiler}
     2929        BACKEND_CC=${backcompiler}
    29152930  else
    2916      # Extract the first word of "gcc", so it can be a program name with args.
     2931        # Extract the first word of "gcc", so it can be a program name with args.
    29172932set dummy gcc; ac_word=$2
    29182933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     
    29552970
    29562971
    2957      if test "$GCC_PATH" = "N/A"; then
    2958         as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
    2959         exit 1
    2960      fi
     2972        if test "$GCC_PATH" = "N/A"; then
     2973                as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
     2974                exit 1
     2975        fi
    29612976
    29622977cat >>confdefs.h <<_ACEOF
     
    29642979_ACEOF
    29652980
    2966      BACKEND_CC=${GCC_PATH}
     2981        BACKEND_CC=${GCC_PATH}
    29672982  fi
    29682983
    29692984
    2970 CFA_PREFIX=
    29712985if test "x$prefix" = "xNONE"; then
    2972         cfa_prefix=${ac_default_prefix}
    2973 else
    2974         cfa_prefix=${prefix}
     2986        cfa_prefix=${ac_default_prefix}
     2987else
     2988        cfa_prefix=${prefix}
    29752989fi
    29762990
     
    29822996
    29832997
    2984 CFA_INCDIR=
    29852998if test "$includedir" = '${prefix}/include'; then
    29862999        cfa_incdir="${cfa_prefix}/include"
     
    29963009
    29973010
    2998 CFA_BINDIR=
    29993011if test "$bindir" = '${exec_prefix}/bin'; then
    30003012        cfa_bindir="${cfa_prefix}/bin"
     
    30103022
    30113023
    3012 CFA_LIBDIR=
    30133024if test "$libdir" = '${exec_prefix}/lib'; then
    30143025        cfa_libdir=${cfa_prefix}/lib
     
    37233734
    37243735
    3725 for ac_prog in gawk mawk nawk awk
    3726 do
    3727   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3728 set dummy $ac_prog; ac_word=$2
    3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3730 $as_echo_n "checking for $ac_word... " >&6; }
    3731 if ${ac_cv_prog_AWK+:} false; then :
    3732   $as_echo_n "(cached) " >&6
    3733 else
    3734   if test -n "$AWK"; then
    3735   ac_cv_prog_AWK="$AWK" # Let the user override the test.
    3736 else
    3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3738 for as_dir in $PATH
    3739 do
    3740   IFS=$as_save_IFS
    3741   test -z "$as_dir" && as_dir=.
    3742     for ac_exec_ext in '' $ac_executable_extensions; do
    3743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3744     ac_cv_prog_AWK="$ac_prog"
    3745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3746     break 2
    3747   fi
    3748 done
    3749   done
    3750 IFS=$as_save_IFS
    3751 
    3752 fi
    3753 fi
    3754 AWK=$ac_cv_prog_AWK
    3755 if test -n "$AWK"; then
    3756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
    3757 $as_echo "$AWK" >&6; }
    3758 else
    3759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3760 $as_echo "no" >&6; }
    3761 fi
    3762 
    3763 
    3764   test -n "$AWK" && break
    3765 done
    3766 
    37673736ac_ext=c
    37683737ac_cpp='$CPP $CPPFLAGS'
     
    44334402
    44344403
     4404if test "x$CC" != xcc; then
     4405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
     4406$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
     4407else
     4408  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
     4409$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
     4410fi
     4411set dummy $CC; ac_cc=`$as_echo "$2" |
     4412                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
     4413if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
     4414  $as_echo_n "(cached) " >&6
     4415else
     4416  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4417/* end confdefs.h.  */
     4418
     4419int
     4420main ()
     4421{
     4422
     4423  ;
     4424  return 0;
     4425}
     4426_ACEOF
     4427# Make sure it works both with $CC and with simple cc.
     4428# We do the test twice because some compilers refuse to overwrite an
     4429# existing .o file with -o, though they will create one.
     4430ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
     4431rm -f conftest2.*
     4432if { { case "(($ac_try" in
     4433  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4434  *) ac_try_echo=$ac_try;;
     4435esac
     4436eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4437$as_echo "$ac_try_echo"; } >&5
     4438  (eval "$ac_try") 2>&5
     4439  ac_status=$?
     4440  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4441  test $ac_status = 0; } &&
     4442   test -f conftest2.$ac_objext && { { case "(($ac_try" in
     4443  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4444  *) ac_try_echo=$ac_try;;
     4445esac
     4446eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4447$as_echo "$ac_try_echo"; } >&5
     4448  (eval "$ac_try") 2>&5
     4449  ac_status=$?
     4450  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4451  test $ac_status = 0; };
     4452then
     4453  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
     4454  if test "x$CC" != xcc; then
     4455    # Test first that cc exists at all.
     4456    if { ac_try='cc -c conftest.$ac_ext >&5'
     4457  { { case "(($ac_try" in
     4458  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4459  *) ac_try_echo=$ac_try;;
     4460esac
     4461eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4462$as_echo "$ac_try_echo"; } >&5
     4463  (eval "$ac_try") 2>&5
     4464  ac_status=$?
     4465  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4466  test $ac_status = 0; }; }; then
     4467      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
     4468      rm -f conftest2.*
     4469      if { { case "(($ac_try" in
     4470  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4471  *) ac_try_echo=$ac_try;;
     4472esac
     4473eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4474$as_echo "$ac_try_echo"; } >&5
     4475  (eval "$ac_try") 2>&5
     4476  ac_status=$?
     4477  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4478  test $ac_status = 0; } &&
     4479         test -f conftest2.$ac_objext && { { case "(($ac_try" in
     4480  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4481  *) ac_try_echo=$ac_try;;
     4482esac
     4483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4484$as_echo "$ac_try_echo"; } >&5
     4485  (eval "$ac_try") 2>&5
     4486  ac_status=$?
     4487  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4488  test $ac_status = 0; };
     4489      then
     4490        # cc works too.
     4491        :
     4492      else
     4493        # cc exists but doesn't like -o.
     4494        eval ac_cv_prog_cc_${ac_cc}_c_o=no
     4495      fi
     4496    fi
     4497  fi
     4498else
     4499  eval ac_cv_prog_cc_${ac_cc}_c_o=no
     4500fi
     4501rm -f core conftest*
     4502
     4503fi
     4504if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
     4505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4506$as_echo "yes" >&6; }
     4507else
     4508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4509$as_echo "no" >&6; }
     4510
     4511$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
     4512
     4513fi
     4514
     4515# FIXME: we rely on the cache variable name because
     4516# there is no other way.
     4517set dummy $CC
     4518am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
     4519eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
     4520if test "$am_t" != yes; then
     4521   # Losing compiler, so override with the script.
     4522   # FIXME: It is wrong to rewrite CC.
     4523   # But if we don't then we get into trouble of one sort or another.
     4524   # A longer-term fix would be to have automake use am__CC in this case,
     4525   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     4526   CC="$am_aux_dir/compile $CC"
     4527fi
     4528
     4529        # deprecated
     4530for ac_prog in 'bison -y' byacc
     4531do
     4532  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4533set dummy $ac_prog; ac_word=$2
     4534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4535$as_echo_n "checking for $ac_word... " >&6; }
     4536if ${ac_cv_prog_YACC+:} false; then :
     4537  $as_echo_n "(cached) " >&6
     4538else
     4539  if test -n "$YACC"; then
     4540  ac_cv_prog_YACC="$YACC" # Let the user override the test.
     4541else
     4542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4543for as_dir in $PATH
     4544do
     4545  IFS=$as_save_IFS
     4546  test -z "$as_dir" && as_dir=.
     4547    for ac_exec_ext in '' $ac_executable_extensions; do
     4548  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4549    ac_cv_prog_YACC="$ac_prog"
     4550    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4551    break 2
     4552  fi
     4553done
     4554  done
     4555IFS=$as_save_IFS
     4556
     4557fi
     4558fi
     4559YACC=$ac_cv_prog_YACC
     4560if test -n "$YACC"; then
     4561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
     4562$as_echo "$YACC" >&6; }
     4563else
     4564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4565$as_echo "no" >&6; }
     4566fi
     4567
     4568
     4569  test -n "$YACC" && break
     4570done
     4571test -n "$YACC" || YACC="yacc"
     4572
     4573
     4574for ac_prog in flex lex
     4575do
     4576  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4577set dummy $ac_prog; ac_word=$2
     4578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4579$as_echo_n "checking for $ac_word... " >&6; }
     4580if ${ac_cv_prog_LEX+:} false; then :
     4581  $as_echo_n "(cached) " >&6
     4582else
     4583  if test -n "$LEX"; then
     4584  ac_cv_prog_LEX="$LEX" # Let the user override the test.
     4585else
     4586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4587for as_dir in $PATH
     4588do
     4589  IFS=$as_save_IFS
     4590  test -z "$as_dir" && as_dir=.
     4591    for ac_exec_ext in '' $ac_executable_extensions; do
     4592  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4593    ac_cv_prog_LEX="$ac_prog"
     4594    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4595    break 2
     4596  fi
     4597done
     4598  done
     4599IFS=$as_save_IFS
     4600
     4601fi
     4602fi
     4603LEX=$ac_cv_prog_LEX
     4604if test -n "$LEX"; then
     4605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
     4606$as_echo "$LEX" >&6; }
     4607else
     4608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4609$as_echo "no" >&6; }
     4610fi
     4611
     4612
     4613  test -n "$LEX" && break
     4614done
     4615test -n "$LEX" || LEX=":"
     4616
     4617if test "x$LEX" != "x:"; then
     4618  cat >conftest.l <<_ACEOF
     4619%%
     4620a { ECHO; }
     4621b { REJECT; }
     4622c { yymore (); }
     4623d { yyless (1); }
     4624e { yyless (input () != 0); }
     4625f { unput (yytext[0]); }
     4626. { BEGIN INITIAL; }
     4627%%
     4628#ifdef YYTEXT_POINTER
     4629extern char *yytext;
     4630#endif
     4631int
     4632main (void)
     4633{
     4634  return ! yylex () + ! yywrap ();
     4635}
     4636_ACEOF
     4637{ { ac_try="$LEX conftest.l"
     4638case "(($ac_try" in
     4639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4640  *) ac_try_echo=$ac_try;;
     4641esac
     4642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4643$as_echo "$ac_try_echo"; } >&5
     4644  (eval "$LEX conftest.l") 2>&5
     4645  ac_status=$?
     4646  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4647  test $ac_status = 0; }
     4648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
     4649$as_echo_n "checking lex output file root... " >&6; }
     4650if ${ac_cv_prog_lex_root+:} false; then :
     4651  $as_echo_n "(cached) " >&6
     4652else
     4653
     4654if test -f lex.yy.c; then
     4655  ac_cv_prog_lex_root=lex.yy
     4656elif test -f lexyy.c; then
     4657  ac_cv_prog_lex_root=lexyy
     4658else
     4659  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
     4660fi
     4661fi
     4662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
     4663$as_echo "$ac_cv_prog_lex_root" >&6; }
     4664LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
     4665
     4666if test -z "${LEXLIB+set}"; then
     4667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
     4668$as_echo_n "checking lex library... " >&6; }
     4669if ${ac_cv_lib_lex+:} false; then :
     4670  $as_echo_n "(cached) " >&6
     4671else
     4672
     4673    ac_save_LIBS=$LIBS
     4674    ac_cv_lib_lex='none needed'
     4675    for ac_lib in '' -lfl -ll; do
     4676      LIBS="$ac_lib $ac_save_LIBS"
     4677      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4678/* end confdefs.h.  */
     4679`cat $LEX_OUTPUT_ROOT.c`
     4680_ACEOF
     4681if ac_fn_c_try_link "$LINENO"; then :
     4682  ac_cv_lib_lex=$ac_lib
     4683fi
     4684rm -f core conftest.err conftest.$ac_objext \
     4685    conftest$ac_exeext conftest.$ac_ext
     4686      test "$ac_cv_lib_lex" != 'none needed' && break
     4687    done
     4688    LIBS=$ac_save_LIBS
     4689
     4690fi
     4691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
     4692$as_echo "$ac_cv_lib_lex" >&6; }
     4693  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
     4694fi
     4695
     4696
     4697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
     4698$as_echo_n "checking whether yytext is a pointer... " >&6; }
     4699if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
     4700  $as_echo_n "(cached) " >&6
     4701else
     4702  # POSIX says lex can declare yytext either as a pointer or an array; the
     4703# default is implementation-dependent.  Figure out which it is, since
     4704# not all implementations provide the %pointer and %array declarations.
     4705ac_cv_prog_lex_yytext_pointer=no
     4706ac_save_LIBS=$LIBS
     4707LIBS="$LEXLIB $ac_save_LIBS"
     4708cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4709/* end confdefs.h.  */
     4710
     4711  #define YYTEXT_POINTER 1
     4712`cat $LEX_OUTPUT_ROOT.c`
     4713_ACEOF
     4714if ac_fn_c_try_link "$LINENO"; then :
     4715  ac_cv_prog_lex_yytext_pointer=yes
     4716fi
     4717rm -f core conftest.err conftest.$ac_objext \
     4718    conftest$ac_exeext conftest.$ac_ext
     4719LIBS=$ac_save_LIBS
     4720
     4721fi
     4722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
     4723$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
     4724if test $ac_cv_prog_lex_yytext_pointer = yes; then
     4725
     4726$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
     4727
     4728fi
     4729rm -f conftest.l $LEX_OUTPUT_ROOT.c
     4730
     4731fi
    44354732
    44364733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     
    44654762fi
    44664763
     4764if test -n "$ac_tool_prefix"; then
     4765  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     4766set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     4767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4768$as_echo_n "checking for $ac_word... " >&6; }
     4769if ${ac_cv_prog_RANLIB+:} false; then :
     4770  $as_echo_n "(cached) " >&6
     4771else
     4772  if test -n "$RANLIB"; then
     4773  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     4774else
     4775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4776for as_dir in $PATH
     4777do
     4778  IFS=$as_save_IFS
     4779  test -z "$as_dir" && as_dir=.
     4780    for ac_exec_ext in '' $ac_executable_extensions; do
     4781  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4782    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     4783    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4784    break 2
     4785  fi
     4786done
     4787  done
     4788IFS=$as_save_IFS
     4789
     4790fi
     4791fi
     4792RANLIB=$ac_cv_prog_RANLIB
     4793if test -n "$RANLIB"; then
     4794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     4795$as_echo "$RANLIB" >&6; }
     4796else
     4797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4798$as_echo "no" >&6; }
     4799fi
     4800
     4801
     4802fi
     4803if test -z "$ac_cv_prog_RANLIB"; then
     4804  ac_ct_RANLIB=$RANLIB
     4805  # Extract the first word of "ranlib", so it can be a program name with args.
     4806set dummy ranlib; ac_word=$2
     4807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4808$as_echo_n "checking for $ac_word... " >&6; }
     4809if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     4810  $as_echo_n "(cached) " >&6
     4811else
     4812  if test -n "$ac_ct_RANLIB"; then
     4813  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     4814else
     4815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4816for as_dir in $PATH
     4817do
     4818  IFS=$as_save_IFS
     4819  test -z "$as_dir" && as_dir=.
     4820    for ac_exec_ext in '' $ac_executable_extensions; do
     4821  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4822    ac_cv_prog_ac_ct_RANLIB="ranlib"
     4823    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4824    break 2
     4825  fi
     4826done
     4827  done
     4828IFS=$as_save_IFS
     4829
     4830fi
     4831fi
     4832ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     4833if test -n "$ac_ct_RANLIB"; then
     4834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4835$as_echo "$ac_ct_RANLIB" >&6; }
     4836else
     4837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4838$as_echo "no" >&6; }
     4839fi
     4840
     4841  if test "x$ac_ct_RANLIB" = x; then
     4842    RANLIB=":"
     4843  else
     4844    case $cross_compiling:$ac_tool_warned in
     4845yes:)
     4846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4848ac_tool_warned=yes ;;
     4849esac
     4850    RANLIB=$ac_ct_RANLIB
     4851  fi
     4852else
     4853  RANLIB="$ac_cv_prog_RANLIB"
     4854fi
     4855
    44674856
    44684857# Checks for libraries.
    44694858
    44704859# Checks for header files.
    4471 
    44724860ac_ext=c
    44734861ac_cpp='$CPP $CPPFLAGS'
     
    53615749
    53625750
    5363 ac_config_files="$ac_config_files Makefile src/Makefile driver/Makefile libcfa/Makefile src/examples/Makefile"
     5751ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile src/examples/Makefile libcfa/Makefile"
    53645752
    53655753
     
    61046492    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    61056493    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     6494    "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
    61066495    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    6107     "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
     6496    "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
    61086497    "libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;;
    6109     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
    61106498
    61116499  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
Note: See TracChangeset for help on using the changeset viewer.