- Timestamp:
- Jun 1, 2015, 12:55:33 PM (9 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r46cbfe1 r76934fb 611 611 GREP 612 612 CPP 613 RANLIB 614 LEXLIB 615 LEX_OUTPUT_ROOT 616 LEX 617 YFLAGS 618 YACC 613 619 am__fastdepCC_FALSE 614 620 am__fastdepCC_TRUE … … 722 728 CC 723 729 CFLAGS 730 YACC 731 YFLAGS 724 732 CPP' 725 733 … … 1359 1367 CC C compiler command 1360 1368 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. 1361 1375 CPP C preprocessor 1362 1376 … … 1516 1530 1517 1531 } # ac_fn_c_try_compile 1518 1519 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES1520 # -------------------------------------------1521 # Tests whether TYPE exists after having included INCLUDES, setting cache1522 # variable VAR accordingly.1523 ac_fn_c_check_type ()1524 {1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51527 $as_echo_n "checking for $2... " >&6; }1528 if eval \${$3+:} false; then :1529 $as_echo_n "(cached) " >&61530 else1531 eval "$3=no"1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1533 /* end confdefs.h. */1534 $41535 int1536 main ()1537 {1538 if (sizeof ($2))1539 return 0;1540 ;1541 return 0;1542 }1543 _ACEOF1544 if ac_fn_c_try_compile "$LINENO"; then :1545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1546 /* end confdefs.h. */1547 $41548 int1549 main ()1550 {1551 if (sizeof (($2)))1552 return 0;1553 ;1554 return 0;1555 }1556 _ACEOF1557 if ac_fn_c_try_compile "$LINENO"; then :1558 1559 else1560 eval "$3=yes"1561 fi1562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1563 fi1564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1565 fi1566 eval ac_res=\$$31567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51568 $as_echo "$ac_res" >&6; }1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1570 1571 } # ac_fn_c_check_type1572 1573 # ac_fn_c_try_cpp LINENO1574 # ----------------------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_stack1579 if { { ac_try="$ac_cpp conftest.$ac_ext"1580 case "(($ac_try" in1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1582 *) ac_try_echo=$ac_try;;1583 esac1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1585 $as_echo "$ac_try_echo"; } >&51586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1587 ac_status=$?1588 if test -s conftest.err; then1589 grep -v '^ *+' conftest.err >conftest.er11590 cat conftest.er1 >&51591 mv -f conftest.er1 conftest.err1592 fi1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51594 test $ac_status = 0; } > conftest.i && {1595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1596 test ! -s conftest.err1597 }; then :1598 ac_retval=01599 else1600 $as_echo "$as_me: failed program was:" >&51601 sed 's/^/| /' conftest.$ac_ext >&51602 1603 ac_retval=11604 fi1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1606 as_fn_set_status $ac_retval1607 1608 } # ac_fn_c_try_cpp1609 1610 # ac_fn_c_try_run LINENO1611 # ----------------------1612 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1613 # 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_stack1617 if { { ac_try="$ac_link"1618 case "(($ac_try" in1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1620 *) ac_try_echo=$ac_try;;1621 esac1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1623 $as_echo "$ac_try_echo"; } >&51624 (eval "$ac_link") 2>&51625 ac_status=$?1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51627 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1628 { { case "(($ac_try" in1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1630 *) ac_try_echo=$ac_try;;1631 esac1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1633 $as_echo "$ac_try_echo"; } >&51634 (eval "$ac_try") 2>&51635 ac_status=$?1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51637 test $ac_status = 0; }; }; then :1638 ac_retval=01639 else1640 $as_echo "$as_me: program exited with status $ac_status" >&51641 $as_echo "$as_me: failed program was:" >&51642 sed 's/^/| /' conftest.$ac_ext >&51643 1644 ac_retval=$ac_status1645 fi1646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1648 as_fn_set_status $ac_retval1649 1650 } # ac_fn_c_try_run1651 1652 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1653 # -------------------------------------------------------1654 # Tests whether HEADER exists and can be compiled using the include files in1655 # 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_stack1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51660 $as_echo_n "checking for $2... " >&6; }1661 if eval \${$3+:} false; then :1662 $as_echo_n "(cached) " >&61663 else1664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1665 /* end confdefs.h. */1666 $41667 #include <$2>1668 _ACEOF1669 if ac_fn_c_try_compile "$LINENO"; then :1670 eval "$3=yes"1671 else1672 eval "$3=no"1673 fi1674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1675 fi1676 eval ac_res=\$$31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51678 $as_echo "$ac_res" >&6; }1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1680 1681 } # ac_fn_c_check_header_compile1682 1532 1683 1533 # ac_fn_c_try_link LINENO … … 1726 1576 1727 1577 } # 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. 1583 ac_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; } 1588 if eval \${$3+:} false; then : 1589 $as_echo_n "(cached) " >&6 1590 else 1591 eval "$3=no" 1592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1593 /* end confdefs.h. */ 1594 $4 1595 int 1596 main () 1597 { 1598 if (sizeof ($2)) 1599 return 0; 1600 ; 1601 return 0; 1602 } 1603 _ACEOF 1604 if ac_fn_c_try_compile "$LINENO"; then : 1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1606 /* end confdefs.h. */ 1607 $4 1608 int 1609 main () 1610 { 1611 if (sizeof (($2))) 1612 return 0; 1613 ; 1614 return 0; 1615 } 1616 _ACEOF 1617 if ac_fn_c_try_compile "$LINENO"; then : 1618 1619 else 1620 eval "$3=yes" 1621 fi 1622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1623 fi 1624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1625 fi 1626 eval 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. 1636 ac_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" 1640 case "(($ac_try" in 1641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1642 *) ac_try_echo=$ac_try;; 1643 esac 1644 eval 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 1659 else 1660 $as_echo "$as_me: failed program was:" >&5 1661 sed 's/^/| /' conftest.$ac_ext >&5 1662 1663 ac_retval=1 1664 fi 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. 1674 ac_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" 1678 case "(($ac_try" in 1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1680 *) ac_try_echo=$ac_try;; 1681 esac 1682 eval 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;; 1691 esac 1692 eval 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 1699 else 1700 $as_echo "$as_me: program exited with status $ac_status" >&5 1701 $as_echo "$as_me: failed program was:" >&5 1702 sed 's/^/| /' conftest.$ac_ext >&5 1703 1704 ac_retval=$ac_status 1705 fi 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. 1716 ac_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; } 1721 if eval \${$3+:} false; then : 1722 $as_echo_n "(cached) " >&6 1723 else 1724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1725 /* end confdefs.h. */ 1726 $4 1727 #include <$2> 1728 _ACEOF 1729 if ac_fn_c_try_compile "$LINENO"; then : 1730 eval "$3=yes" 1731 else 1732 eval "$3=no" 1733 fi 1734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1735 fi 1736 eval 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 1728 1742 1729 1743 # ac_fn_c_check_func LINENO FUNC VAR … … 2363 2377 2364 2378 2365 am__api_version='1.11'2366 2367 2379 ac_aux_dir= 2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do2380 for ac_dir in automake "$srcdir"/automake; do 2369 2381 if test -f "$ac_dir/install-sh"; then 2370 2382 ac_aux_dir=$ac_dir … … 2382 2394 done 2383 2395 if test -z "$ac_aux_dir"; then 2384 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 52396 as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5 2385 2397 fi 2386 2398 … … 2393 2405 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2394 2406 2407 2408 2409 ac_config_headers="$ac_config_headers config.h" 2410 2411 2412 am__api_version='1.11' 2395 2413 2396 2414 # Find a good install program. We prefer a C program (faster), … … 2894 2912 2895 2913 2896 ac_config_headers="$ac_config_headers config.h"2897 2898 2899 2914 # Installation paths 2900 2915 … … 2908 2923 2909 2924 if test x$backcompiler != x; then 2910 2925 cat >>confdefs.h <<_ACEOF 2911 2926 #define GCC_PATH "${backcompiler}" 2912 2927 _ACEOF 2913 2928 2914 2929 BACKEND_CC=${backcompiler} 2915 2930 else 2916 2931 # Extract the first word of "gcc", so it can be a program name with args. 2917 2932 set dummy gcc; ac_word=$2 2918 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 … … 2955 2970 2956 2971 2957 2958 2959 2960 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 2961 2976 2962 2977 cat >>confdefs.h <<_ACEOF … … 2964 2979 _ACEOF 2965 2980 2966 2981 BACKEND_CC=${GCC_PATH} 2967 2982 fi 2968 2983 2969 2984 2970 CFA_PREFIX=2971 2985 if test "x$prefix" = "xNONE"; then 2972 2973 else 2974 2986 cfa_prefix=${ac_default_prefix} 2987 else 2988 cfa_prefix=${prefix} 2975 2989 fi 2976 2990 … … 2982 2996 2983 2997 2984 CFA_INCDIR=2985 2998 if test "$includedir" = '${prefix}/include'; then 2986 2999 cfa_incdir="${cfa_prefix}/include" … … 2996 3009 2997 3010 2998 CFA_BINDIR=2999 3011 if test "$bindir" = '${exec_prefix}/bin'; then 3000 3012 cfa_bindir="${cfa_prefix}/bin" … … 3010 3022 3011 3023 3012 CFA_LIBDIR=3013 3024 if test "$libdir" = '${exec_prefix}/lib'; then 3014 3025 cfa_libdir=${cfa_prefix}/lib … … 3723 3734 3724 3735 3725 for ac_prog in gawk mawk nawk awk3726 do3727 # Extract the first word of "$ac_prog", so it can be a program name with args.3728 set dummy $ac_prog; ac_word=$23729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53730 $as_echo_n "checking for $ac_word... " >&6; }3731 if ${ac_cv_prog_AWK+:} false; then :3732 $as_echo_n "(cached) " >&63733 else3734 if test -n "$AWK"; then3735 ac_cv_prog_AWK="$AWK" # Let the user override the test.3736 else3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3738 for as_dir in $PATH3739 do3740 IFS=$as_save_IFS3741 test -z "$as_dir" && as_dir=.3742 for ac_exec_ext in '' $ac_executable_extensions; do3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3744 ac_cv_prog_AWK="$ac_prog"3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53746 break 23747 fi3748 done3749 done3750 IFS=$as_save_IFS3751 3752 fi3753 fi3754 AWK=$ac_cv_prog_AWK3755 if test -n "$AWK"; then3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&53757 $as_echo "$AWK" >&6; }3758 else3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53760 $as_echo "no" >&6; }3761 fi3762 3763 3764 test -n "$AWK" && break3765 done3766 3767 3736 ac_ext=c 3768 3737 ac_cpp='$CPP $CPPFLAGS' … … 4433 4402 4434 4403 4404 if 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; } 4407 else 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; } 4410 fi 4411 set dummy $CC; ac_cc=`$as_echo "$2" | 4412 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4413 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : 4414 $as_echo_n "(cached) " >&6 4415 else 4416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4417 /* end confdefs.h. */ 4418 4419 int 4420 main () 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. 4430 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4431 rm -f conftest2.* 4432 if { { case "(($ac_try" in 4433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4434 *) ac_try_echo=$ac_try;; 4435 esac 4436 eval 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;; 4445 esac 4446 eval 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; }; 4452 then 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;; 4460 esac 4461 eval 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;; 4472 esac 4473 eval 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;; 4482 esac 4483 eval 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 4498 else 4499 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4500 fi 4501 rm -f core conftest* 4502 4503 fi 4504 if 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; } 4507 else 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 4513 fi 4514 4515 # FIXME: we rely on the cache variable name because 4516 # there is no other way. 4517 set dummy $CC 4518 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4519 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 4520 if 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" 4527 fi 4528 4529 # deprecated 4530 for ac_prog in 'bison -y' byacc 4531 do 4532 # Extract the first word of "$ac_prog", so it can be a program name with args. 4533 set 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; } 4536 if ${ac_cv_prog_YACC+:} false; then : 4537 $as_echo_n "(cached) " >&6 4538 else 4539 if test -n "$YACC"; then 4540 ac_cv_prog_YACC="$YACC" # Let the user override the test. 4541 else 4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4543 for as_dir in $PATH 4544 do 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 4553 done 4554 done 4555 IFS=$as_save_IFS 4556 4557 fi 4558 fi 4559 YACC=$ac_cv_prog_YACC 4560 if test -n "$YACC"; then 4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4562 $as_echo "$YACC" >&6; } 4563 else 4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4565 $as_echo "no" >&6; } 4566 fi 4567 4568 4569 test -n "$YACC" && break 4570 done 4571 test -n "$YACC" || YACC="yacc" 4572 4573 4574 for ac_prog in flex lex 4575 do 4576 # Extract the first word of "$ac_prog", so it can be a program name with args. 4577 set 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; } 4580 if ${ac_cv_prog_LEX+:} false; then : 4581 $as_echo_n "(cached) " >&6 4582 else 4583 if test -n "$LEX"; then 4584 ac_cv_prog_LEX="$LEX" # Let the user override the test. 4585 else 4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4587 for as_dir in $PATH 4588 do 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 4597 done 4598 done 4599 IFS=$as_save_IFS 4600 4601 fi 4602 fi 4603 LEX=$ac_cv_prog_LEX 4604 if test -n "$LEX"; then 4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 4606 $as_echo "$LEX" >&6; } 4607 else 4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4609 $as_echo "no" >&6; } 4610 fi 4611 4612 4613 test -n "$LEX" && break 4614 done 4615 test -n "$LEX" || LEX=":" 4616 4617 if test "x$LEX" != "x:"; then 4618 cat >conftest.l <<_ACEOF 4619 %% 4620 a { ECHO; } 4621 b { REJECT; } 4622 c { yymore (); } 4623 d { yyless (1); } 4624 e { yyless (input () != 0); } 4625 f { unput (yytext[0]); } 4626 . { BEGIN INITIAL; } 4627 %% 4628 #ifdef YYTEXT_POINTER 4629 extern char *yytext; 4630 #endif 4631 int 4632 main (void) 4633 { 4634 return ! yylex () + ! yywrap (); 4635 } 4636 _ACEOF 4637 { { ac_try="$LEX conftest.l" 4638 case "(($ac_try" in 4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4640 *) ac_try_echo=$ac_try;; 4641 esac 4642 eval 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; } 4650 if ${ac_cv_prog_lex_root+:} false; then : 4651 $as_echo_n "(cached) " >&6 4652 else 4653 4654 if test -f lex.yy.c; then 4655 ac_cv_prog_lex_root=lex.yy 4656 elif test -f lexyy.c; then 4657 ac_cv_prog_lex_root=lexyy 4658 else 4659 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 4660 fi 4661 fi 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 4663 $as_echo "$ac_cv_prog_lex_root" >&6; } 4664 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 4665 4666 if 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; } 4669 if ${ac_cv_lib_lex+:} false; then : 4670 $as_echo_n "(cached) " >&6 4671 else 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 4681 if ac_fn_c_try_link "$LINENO"; then : 4682 ac_cv_lib_lex=$ac_lib 4683 fi 4684 rm -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 4690 fi 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 4694 fi 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; } 4699 if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 4700 $as_echo_n "(cached) " >&6 4701 else 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. 4705 ac_cv_prog_lex_yytext_pointer=no 4706 ac_save_LIBS=$LIBS 4707 LIBS="$LEXLIB $ac_save_LIBS" 4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4709 /* end confdefs.h. */ 4710 4711 #define YYTEXT_POINTER 1 4712 `cat $LEX_OUTPUT_ROOT.c` 4713 _ACEOF 4714 if ac_fn_c_try_link "$LINENO"; then : 4715 ac_cv_prog_lex_yytext_pointer=yes 4716 fi 4717 rm -f core conftest.err conftest.$ac_objext \ 4718 conftest$ac_exeext conftest.$ac_ext 4719 LIBS=$ac_save_LIBS 4720 4721 fi 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; } 4724 if test $ac_cv_prog_lex_yytext_pointer = yes; then 4725 4726 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 4727 4728 fi 4729 rm -f conftest.l $LEX_OUTPUT_ROOT.c 4730 4731 fi 4435 4732 4436 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 … … 4465 4762 fi 4466 4763 4764 if 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. 4766 set 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; } 4769 if ${ac_cv_prog_RANLIB+:} false; then : 4770 $as_echo_n "(cached) " >&6 4771 else 4772 if test -n "$RANLIB"; then 4773 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4774 else 4775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4776 for as_dir in $PATH 4777 do 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 4786 done 4787 done 4788 IFS=$as_save_IFS 4789 4790 fi 4791 fi 4792 RANLIB=$ac_cv_prog_RANLIB 4793 if test -n "$RANLIB"; then 4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4795 $as_echo "$RANLIB" >&6; } 4796 else 4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4798 $as_echo "no" >&6; } 4799 fi 4800 4801 4802 fi 4803 if 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. 4806 set 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; } 4809 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4810 $as_echo_n "(cached) " >&6 4811 else 4812 if test -n "$ac_ct_RANLIB"; then 4813 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4814 else 4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4816 for as_dir in $PATH 4817 do 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 4826 done 4827 done 4828 IFS=$as_save_IFS 4829 4830 fi 4831 fi 4832 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4833 if 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; } 4836 else 4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4838 $as_echo "no" >&6; } 4839 fi 4840 4841 if test "x$ac_ct_RANLIB" = x; then 4842 RANLIB=":" 4843 else 4844 case $cross_compiling:$ac_tool_warned in 4845 yes:) 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;} 4848 ac_tool_warned=yes ;; 4849 esac 4850 RANLIB=$ac_ct_RANLIB 4851 fi 4852 else 4853 RANLIB="$ac_cv_prog_RANLIB" 4854 fi 4855 4467 4856 4468 4857 # Checks for libraries. 4469 4858 4470 4859 # Checks for header files. 4471 4472 4860 ac_ext=c 4473 4861 ac_cpp='$CPP $CPPFLAGS' … … 5361 5749 5362 5750 5363 ac_config_files="$ac_config_files Makefile src/Makefile driver/Makefile libcfa/Makefile src/examples/Makefile"5751 ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile src/examples/Makefile libcfa/Makefile" 5364 5752 5365 5753 … … 6104 6492 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6105 6493 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6494 "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;; 6106 6495 "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" ;; 6108 6497 "libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;; 6109 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;6110 6498 6111 6499 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
Note: See TracChangeset
for help on using the changeset viewer.