- Timestamp:
- Jun 1, 2015, 12:00:51 AM (10 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:
- 6081e74e
- Parents:
- 5cb5f842
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r5cb5f842 r56c3935 612 612 CPP 613 613 RANLIB 614 LEXLIB 615 LEX_OUTPUT_ROOT 616 LEX 617 YFLAGS 618 YACC 614 619 am__fastdepCC_FALSE 615 620 am__fastdepCC_TRUE … … 723 728 CC 724 729 CFLAGS 730 YACC 731 YFLAGS 725 732 CPP' 726 733 … … 1360 1367 CC C compiler command 1361 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. 1362 1375 CPP C preprocessor 1363 1376 … … 1517 1530 1518 1531 } # ac_fn_c_try_compile 1519 1520 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES1521 # -------------------------------------------1522 # Tests whether TYPE exists after having included INCLUDES, setting cache1523 # variable VAR accordingly.1524 ac_fn_c_check_type ()1525 {1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51528 $as_echo_n "checking for $2... " >&6; }1529 if eval \${$3+:} false; then :1530 $as_echo_n "(cached) " >&61531 else1532 eval "$3=no"1533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1534 /* end confdefs.h. */1535 $41536 int1537 main ()1538 {1539 if (sizeof ($2))1540 return 0;1541 ;1542 return 0;1543 }1544 _ACEOF1545 if ac_fn_c_try_compile "$LINENO"; then :1546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1547 /* end confdefs.h. */1548 $41549 int1550 main ()1551 {1552 if (sizeof (($2)))1553 return 0;1554 ;1555 return 0;1556 }1557 _ACEOF1558 if ac_fn_c_try_compile "$LINENO"; then :1559 1560 else1561 eval "$3=yes"1562 fi1563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1564 fi1565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1566 fi1567 eval ac_res=\$$31568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51569 $as_echo "$ac_res" >&6; }1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1571 1572 } # ac_fn_c_check_type1573 1574 # ac_fn_c_try_cpp LINENO1575 # ----------------------1576 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1577 ac_fn_c_try_cpp ()1578 {1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1580 if { { ac_try="$ac_cpp conftest.$ac_ext"1581 case "(($ac_try" in1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1583 *) ac_try_echo=$ac_try;;1584 esac1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1586 $as_echo "$ac_try_echo"; } >&51587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1588 ac_status=$?1589 if test -s conftest.err; then1590 grep -v '^ *+' conftest.err >conftest.er11591 cat conftest.er1 >&51592 mv -f conftest.er1 conftest.err1593 fi1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51595 test $ac_status = 0; } > conftest.i && {1596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1597 test ! -s conftest.err1598 }; then :1599 ac_retval=01600 else1601 $as_echo "$as_me: failed program was:" >&51602 sed 's/^/| /' conftest.$ac_ext >&51603 1604 ac_retval=11605 fi1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1607 as_fn_set_status $ac_retval1608 1609 } # ac_fn_c_try_cpp1610 1611 # ac_fn_c_try_run LINENO1612 # ----------------------1613 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1614 # that executables *can* be run.1615 ac_fn_c_try_run ()1616 {1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1618 if { { ac_try="$ac_link"1619 case "(($ac_try" in1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1621 *) ac_try_echo=$ac_try;;1622 esac1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1624 $as_echo "$ac_try_echo"; } >&51625 (eval "$ac_link") 2>&51626 ac_status=$?1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51628 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1629 { { case "(($ac_try" in1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1631 *) ac_try_echo=$ac_try;;1632 esac1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1634 $as_echo "$ac_try_echo"; } >&51635 (eval "$ac_try") 2>&51636 ac_status=$?1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51638 test $ac_status = 0; }; }; then :1639 ac_retval=01640 else1641 $as_echo "$as_me: program exited with status $ac_status" >&51642 $as_echo "$as_me: failed program was:" >&51643 sed 's/^/| /' conftest.$ac_ext >&51644 1645 ac_retval=$ac_status1646 fi1647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1649 as_fn_set_status $ac_retval1650 1651 } # ac_fn_c_try_run1652 1653 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1654 # -------------------------------------------------------1655 # Tests whether HEADER exists and can be compiled using the include files in1656 # INCLUDES, setting the cache variable VAR accordingly.1657 ac_fn_c_check_header_compile ()1658 {1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51661 $as_echo_n "checking for $2... " >&6; }1662 if eval \${$3+:} false; then :1663 $as_echo_n "(cached) " >&61664 else1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1666 /* end confdefs.h. */1667 $41668 #include <$2>1669 _ACEOF1670 if ac_fn_c_try_compile "$LINENO"; then :1671 eval "$3=yes"1672 else1673 eval "$3=no"1674 fi1675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1676 fi1677 eval ac_res=\$$31678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51679 $as_echo "$ac_res" >&6; }1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1681 1682 } # ac_fn_c_check_header_compile1683 1532 1684 1533 # ac_fn_c_try_link LINENO … … 1727 1576 1728 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 1729 1742 1730 1743 # ac_fn_c_check_func LINENO FUNC VAR … … 3720 3733 fi 3721 3734 3722 3723 for ac_prog in gawk mawk nawk awk3724 do3725 # Extract the first word of "$ac_prog", so it can be a program name with args.3726 set dummy $ac_prog; ac_word=$23727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53728 $as_echo_n "checking for $ac_word... " >&6; }3729 if ${ac_cv_prog_AWK+:} false; then :3730 $as_echo_n "(cached) " >&63731 else3732 if test -n "$AWK"; then3733 ac_cv_prog_AWK="$AWK" # Let the user override the test.3734 else3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3736 for as_dir in $PATH3737 do3738 IFS=$as_save_IFS3739 test -z "$as_dir" && as_dir=.3740 for ac_exec_ext in '' $ac_executable_extensions; do3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3742 ac_cv_prog_AWK="$ac_prog"3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53744 break 23745 fi3746 done3747 done3748 IFS=$as_save_IFS3749 3750 fi3751 fi3752 AWK=$ac_cv_prog_AWK3753 if test -n "$AWK"; then3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&53755 $as_echo "$AWK" >&6; }3756 else3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53758 $as_echo "no" >&6; }3759 fi3760 3761 3762 test -n "$AWK" && break3763 done3764 3735 3765 3736 ac_ext=c … … 4557 4528 4558 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 4559 4732 4560 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 … … 4685 4858 4686 4859 # Checks for header files. 4687 4688 4860 ac_ext=c 4689 4861 ac_cpp='$CPP $CPPFLAGS'
Note:
See TracChangeset
for help on using the changeset viewer.