Changeset 56c3935 for configure


Ignore:
Timestamp:
Jun 1, 2015, 12:00:51 AM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, 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
Message:

redo automake third attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r5cb5f842 r56c3935  
    612612CPP
    613613RANLIB
     614LEXLIB
     615LEX_OUTPUT_ROOT
     616LEX
     617YFLAGS
     618YACC
    614619am__fastdepCC_FALSE
    615620am__fastdepCC_TRUE
     
    723728CC
    724729CFLAGS
     730YACC
     731YFLAGS
    725732CPP'
    726733
     
    13601367  CC          C compiler command
    13611368  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.
    13621375  CPP         C preprocessor
    13631376
     
    15171530
    15181531} # ac_fn_c_try_compile
    1519 
    1520 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1521 # -------------------------------------------
    1522 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1523 # variable VAR accordingly.
    1524 ac_fn_c_check_type ()
    1525 {
    1526   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1528 $as_echo_n "checking for $2... " >&6; }
    1529 if eval \${$3+:} false; then :
    1530   $as_echo_n "(cached) " >&6
    1531 else
    1532   eval "$3=no"
    1533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1534 /* end confdefs.h.  */
    1535 $4
    1536 int
    1537 main ()
    1538 {
    1539 if (sizeof ($2))
    1540          return 0;
    1541   ;
    1542   return 0;
    1543 }
    1544 _ACEOF
    1545 if ac_fn_c_try_compile "$LINENO"; then :
    1546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1547 /* end confdefs.h.  */
    1548 $4
    1549 int
    1550 main ()
    1551 {
    1552 if (sizeof (($2)))
    1553             return 0;
    1554   ;
    1555   return 0;
    1556 }
    1557 _ACEOF
    1558 if ac_fn_c_try_compile "$LINENO"; then :
    1559 
    1560 else
    1561   eval "$3=yes"
    1562 fi
    1563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1564 fi
    1565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1566 fi
    1567 eval ac_res=\$$3
    1568                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1569 $as_echo "$ac_res" >&6; }
    1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1571 
    1572 } # ac_fn_c_check_type
    1573 
    1574 # ac_fn_c_try_cpp LINENO
    1575 # ----------------------
    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_stack
    1580   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1581 case "(($ac_try" in
    1582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1583   *) ac_try_echo=$ac_try;;
    1584 esac
    1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1586 $as_echo "$ac_try_echo"; } >&5
    1587   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1588   ac_status=$?
    1589   if test -s conftest.err; then
    1590     grep -v '^ *+' conftest.err >conftest.er1
    1591     cat conftest.er1 >&5
    1592     mv -f conftest.er1 conftest.err
    1593   fi
    1594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1595   test $ac_status = 0; } > conftest.i && {
    1596          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1597          test ! -s conftest.err
    1598        }; then :
    1599   ac_retval=0
    1600 else
    1601   $as_echo "$as_me: failed program was:" >&5
    1602 sed 's/^/| /' conftest.$ac_ext >&5
    1603 
    1604     ac_retval=1
    1605 fi
    1606   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1607   as_fn_set_status $ac_retval
    1608 
    1609 } # ac_fn_c_try_cpp
    1610 
    1611 # ac_fn_c_try_run LINENO
    1612 # ----------------------
    1613 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1614 # 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_stack
    1618   if { { ac_try="$ac_link"
    1619 case "(($ac_try" in
    1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1621   *) ac_try_echo=$ac_try;;
    1622 esac
    1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1624 $as_echo "$ac_try_echo"; } >&5
    1625   (eval "$ac_link") 2>&5
    1626   ac_status=$?
    1627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1628   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1629   { { case "(($ac_try" in
    1630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1631   *) ac_try_echo=$ac_try;;
    1632 esac
    1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1634 $as_echo "$ac_try_echo"; } >&5
    1635   (eval "$ac_try") 2>&5
    1636   ac_status=$?
    1637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1638   test $ac_status = 0; }; }; then :
    1639   ac_retval=0
    1640 else
    1641   $as_echo "$as_me: program exited with status $ac_status" >&5
    1642        $as_echo "$as_me: failed program was:" >&5
    1643 sed 's/^/| /' conftest.$ac_ext >&5
    1644 
    1645        ac_retval=$ac_status
    1646 fi
    1647   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1649   as_fn_set_status $ac_retval
    1650 
    1651 } # ac_fn_c_try_run
    1652 
    1653 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1654 # -------------------------------------------------------
    1655 # Tests whether HEADER exists and can be compiled using the include files in
    1656 # 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_stack
    1660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1661 $as_echo_n "checking for $2... " >&6; }
    1662 if eval \${$3+:} false; then :
    1663   $as_echo_n "(cached) " >&6
    1664 else
    1665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1666 /* end confdefs.h.  */
    1667 $4
    1668 #include <$2>
    1669 _ACEOF
    1670 if ac_fn_c_try_compile "$LINENO"; then :
    1671   eval "$3=yes"
    1672 else
    1673   eval "$3=no"
    1674 fi
    1675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1676 fi
    1677 eval ac_res=\$$3
    1678                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1679 $as_echo "$ac_res" >&6; }
    1680   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1681 
    1682 } # ac_fn_c_check_header_compile
    16831532
    16841533# ac_fn_c_try_link LINENO
     
    17271576
    17281577} # 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
    17291742
    17301743# ac_fn_c_check_func LINENO FUNC VAR
     
    37203733fi
    37213734
    3722 
    3723 for ac_prog in gawk mawk nawk awk
    3724 do
    3725   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3726 set dummy $ac_prog; ac_word=$2
    3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3728 $as_echo_n "checking for $ac_word... " >&6; }
    3729 if ${ac_cv_prog_AWK+:} false; then :
    3730   $as_echo_n "(cached) " >&6
    3731 else
    3732   if test -n "$AWK"; then
    3733   ac_cv_prog_AWK="$AWK" # Let the user override the test.
    3734 else
    3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3736 for as_dir in $PATH
    3737 do
    3738   IFS=$as_save_IFS
    3739   test -z "$as_dir" && as_dir=.
    3740     for ac_exec_ext in '' $ac_executable_extensions; do
    3741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3742     ac_cv_prog_AWK="$ac_prog"
    3743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3744     break 2
    3745   fi
    3746 done
    3747   done
    3748 IFS=$as_save_IFS
    3749 
    3750 fi
    3751 fi
    3752 AWK=$ac_cv_prog_AWK
    3753 if test -n "$AWK"; then
    3754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
    3755 $as_echo "$AWK" >&6; }
    3756 else
    3757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3758 $as_echo "no" >&6; }
    3759 fi
    3760 
    3761 
    3762   test -n "$AWK" && break
    3763 done
    37643735
    37653736ac_ext=c
     
    45574528
    45584529        # 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
    45594732
    45604733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     
    46854858
    46864859# Checks for header files.
    4687 
    46884860ac_ext=c
    46894861ac_cpp='$CPP $CPPFLAGS'
Note: See TracChangeset for help on using the changeset viewer.