Mercurial > ecos-v2_0-branch
comparison host/infra/configure @ 595:c2d1fd823f09
Update autoconf macro for Tcl, and regenerate affected files
| author | bartv |
|---|---|
| date | Wed, 12 Feb 2003 17:22:10 +0000 |
| parents | f58bc1b2c2bc |
| children |
comparison
equal
deleted
inserted
replaced
| 594:7df7eb129a74 | 595:c2d1fd823f09 |
|---|---|
| 1438 echo "configure:1439: checking "for Visual C++"" >&5 | 1438 echo "configure:1439: checking "for Visual C++"" >&5 |
| 1439 MSVC="no"; | 1439 MSVC="no"; |
| 1440 if test "${CC}" = "cl" ; then | 1440 if test "${CC}" = "cl" ; then |
| 1441 MSVC="yes" | 1441 MSVC="yes" |
| 1442 CXX="cl" | 1442 CXX="cl" |
| 1443 MSVC_SRCDIR=${srcdir} | |
| 1443 | 1444 |
| 1444 | 1445 |
| 1445 | 1446 |
| 1446 if test "${MSVC}" = "yes" ; then | 1447 if test "${MSVC}" = "yes" ; then |
| 1447 MSVC_SRCDIR=`cygpath -w ${MSVC_SRCDIR} | tr \\\\\\\\ /` | 1448 MSVC_SRCDIR=`cygpath -w ${MSVC_SRCDIR} | tr \\\\\\\\ /` |
| 1448 fi | 1449 fi |
| 1449 | 1450 |
| 1450 | 1451 |
| 1451 ecos_INCLUDES="${ecos_INCLUDES} \"-I${msvc_srcdir}\"" | 1452 ecos_INCLUDES="${ecos_INCLUDES} \"-I${MSVC_SRCDIR}\"" |
| 1452 ecos_LDADD="-link" | 1453 ecos_LDADD="-link" |
| 1453 ecos_LIBS="advapi32.lib" | 1454 ecos_LIBS="advapi32.lib" |
| 1454 fi | 1455 fi |
| 1455 | 1456 |
| 1456 | 1457 |
| 1472 | 1473 |
| 1473 | 1474 |
| 1474 | 1475 |
| 1475 | 1476 |
| 1476 echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6 | 1477 echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6 |
| 1477 echo "configure:1478: checking "the default compiler flags"" >&5 | 1478 echo "configure:1479: checking "the default compiler flags"" >&5 |
| 1478 | 1479 |
| 1479 ecosflags_enable_debug="no" | 1480 ecosflags_enable_debug="no" |
| 1480 # Check whether --enable-debug or --disable-debug was given. | 1481 # Check whether --enable-debug or --disable-debug was given. |
| 1481 if test "${enable_debug+set}" = set; then | 1482 if test "${enable_debug+set}" = set; then |
| 1482 enableval="$enable_debug" | 1483 enableval="$enable_debug" |
| 1533 | 1534 |
| 1534 echo "$ac_t""done" 1>&6 | 1535 echo "$ac_t""done" 1>&6 |
| 1535 | 1536 |
| 1536 | 1537 |
| 1537 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 1538 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 1538 echo "configure:1539: checking whether byte ordering is bigendian" >&5 | 1539 echo "configure:1540: checking whether byte ordering is bigendian" >&5 |
| 1539 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then | 1540 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
| 1540 echo $ac_n "(cached) $ac_c" 1>&6 | 1541 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1541 else | 1542 else |
| 1542 ac_cv_c_bigendian=unknown | 1543 ac_cv_c_bigendian=unknown |
| 1543 # See if sys/param.h defines the BYTE_ORDER macro. | 1544 # See if sys/param.h defines the BYTE_ORDER macro. |
| 1544 cat > conftest.$ac_ext <<EOF | 1545 cat > conftest.$ac_ext <<EOF |
| 1545 #line 1546 "configure" | 1546 #line 1547 "configure" |
| 1546 #include "confdefs.h" | 1547 #include "confdefs.h" |
| 1547 #include <sys/types.h> | 1548 #include <sys/types.h> |
| 1548 #include <sys/param.h> | 1549 #include <sys/param.h> |
| 1549 int main() { | 1550 int main() { |
| 1550 | 1551 |
| 1551 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 1552 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 1552 bogus endian macros | 1553 bogus endian macros |
| 1553 #endif | 1554 #endif |
| 1554 ; return 0; } | 1555 ; return 0; } |
| 1555 EOF | 1556 EOF |
| 1556 if { (eval echo configure:1557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1557 if { (eval echo configure:1558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1557 rm -rf conftest* | 1558 rm -rf conftest* |
| 1558 # It does; now see whether it defined to BIG_ENDIAN or not. | 1559 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 1559 cat > conftest.$ac_ext <<EOF | 1560 cat > conftest.$ac_ext <<EOF |
| 1560 #line 1561 "configure" | 1561 #line 1562 "configure" |
| 1561 #include "confdefs.h" | 1562 #include "confdefs.h" |
| 1562 #include <sys/types.h> | 1563 #include <sys/types.h> |
| 1563 #include <sys/param.h> | 1564 #include <sys/param.h> |
| 1564 int main() { | 1565 int main() { |
| 1565 | 1566 |
| 1566 #if BYTE_ORDER != BIG_ENDIAN | 1567 #if BYTE_ORDER != BIG_ENDIAN |
| 1567 not big endian | 1568 not big endian |
| 1568 #endif | 1569 #endif |
| 1569 ; return 0; } | 1570 ; return 0; } |
| 1570 EOF | 1571 EOF |
| 1571 if { (eval echo configure:1572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1572 if { (eval echo configure:1573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1572 rm -rf conftest* | 1573 rm -rf conftest* |
| 1573 ac_cv_c_bigendian=yes | 1574 ac_cv_c_bigendian=yes |
| 1574 else | 1575 else |
| 1575 echo "configure: failed program was:" >&5 | 1576 echo "configure: failed program was:" >&5 |
| 1576 cat conftest.$ac_ext >&5 | 1577 cat conftest.$ac_ext >&5 |
| 1586 if test $ac_cv_c_bigendian = unknown; then | 1587 if test $ac_cv_c_bigendian = unknown; then |
| 1587 if test "$cross_compiling" = yes; then | 1588 if test "$cross_compiling" = yes; then |
| 1588 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } | 1589 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
| 1589 else | 1590 else |
| 1590 cat > conftest.$ac_ext <<EOF | 1591 cat > conftest.$ac_ext <<EOF |
| 1591 #line 1592 "configure" | 1592 #line 1593 "configure" |
| 1592 #include "confdefs.h" | 1593 #include "confdefs.h" |
| 1593 main () { | 1594 main () { |
| 1594 /* Are we little or big endian? From Harbison&Steele. */ | 1595 /* Are we little or big endian? From Harbison&Steele. */ |
| 1595 union | 1596 union |
| 1596 { | 1597 { |
| 1599 } u; | 1600 } u; |
| 1600 u.l = 1; | 1601 u.l = 1; |
| 1601 exit (u.c[sizeof (long) - 1] == 1); | 1602 exit (u.c[sizeof (long) - 1] == 1); |
| 1602 } | 1603 } |
| 1603 EOF | 1604 EOF |
| 1604 if { (eval echo configure:1605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1605 if { (eval echo configure:1606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1605 then | 1606 then |
| 1606 ac_cv_c_bigendian=no | 1607 ac_cv_c_bigendian=no |
| 1607 else | 1608 else |
| 1608 echo "configure: failed program was:" >&5 | 1609 echo "configure: failed program was:" >&5 |
| 1609 cat conftest.$ac_ext >&5 | 1610 cat conftest.$ac_ext >&5 |
| 1628 | 1629 |
| 1629 | 1630 |
| 1630 | 1631 |
| 1631 | 1632 |
| 1632 echo $ac_n "checking "for a 64 bit data type"""... $ac_c" 1>&6 | 1633 echo $ac_n "checking "for a 64 bit data type"""... $ac_c" 1>&6 |
| 1633 echo "configure:1634: checking "for a 64 bit data type"" >&5 | 1634 echo "configure:1635: checking "for a 64 bit data type"" >&5 |
| 1634 if eval "test \"`echo '$''{'ecos_cv_type_64bit'+set}'`\" = set"; then | 1635 if eval "test \"`echo '$''{'ecos_cv_type_64bit'+set}'`\" = set"; then |
| 1635 echo $ac_n "(cached) $ac_c" 1>&6 | 1636 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1636 else | 1637 else |
| 1637 | 1638 |
| 1638 for type in "long" "long long" "__int64"; do | 1639 for type in "long" "long long" "__int64"; do |
| 1646 | 1647 |
| 1647 if test "$cross_compiling" = yes; then | 1648 if test "$cross_compiling" = yes; then |
| 1648 ctype_64bit="long long" | 1649 ctype_64bit="long long" |
| 1649 else | 1650 else |
| 1650 cat > conftest.$ac_ext <<EOF | 1651 cat > conftest.$ac_ext <<EOF |
| 1651 #line 1652 "configure" | 1652 #line 1653 "configure" |
| 1652 #include "confdefs.h" | 1653 #include "confdefs.h" |
| 1653 | 1654 |
| 1654 main() { | 1655 main() { |
| 1655 return 8 != sizeof($type); | 1656 return 8 != sizeof($type); |
| 1656 } | 1657 } |
| 1657 | 1658 |
| 1658 EOF | 1659 EOF |
| 1659 if { (eval echo configure:1660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1660 if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1660 then | 1661 then |
| 1661 ctype_64bit=$type | 1662 ctype_64bit=$type |
| 1662 else | 1663 else |
| 1663 echo "configure: failed program was:" >&5 | 1664 echo "configure: failed program was:" >&5 |
| 1664 cat conftest.$ac_ext >&5 | 1665 cat conftest.$ac_ext >&5 |
| 1677 | 1678 |
| 1678 if test "$cross_compiling" = yes; then | 1679 if test "$cross_compiling" = yes; then |
| 1679 cxxtype_64bit="long long" | 1680 cxxtype_64bit="long long" |
| 1680 else | 1681 else |
| 1681 cat > conftest.$ac_ext <<EOF | 1682 cat > conftest.$ac_ext <<EOF |
| 1682 #line 1683 "configure" | 1683 #line 1684 "configure" |
| 1683 #include "confdefs.h" | 1684 #include "confdefs.h" |
| 1684 | 1685 |
| 1685 int main(int argc, char ** argv) { | 1686 int main(int argc, char ** argv) { |
| 1686 return 8 != sizeof($type); | 1687 return 8 != sizeof($type); |
| 1687 } | 1688 } |
| 1688 | 1689 |
| 1689 EOF | 1690 EOF |
| 1690 if { (eval echo configure:1691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1691 if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1691 then | 1692 then |
| 1692 cxxtype_64bit=$type | 1693 cxxtype_64bit=$type |
| 1693 else | 1694 else |
| 1694 echo "configure: failed program was:" >&5 | 1695 echo "configure: failed program was:" >&5 |
| 1695 cat conftest.$ac_ext >&5 | 1696 cat conftest.$ac_ext >&5 |
| 1730 fi | 1731 fi |
| 1731 fi | 1732 fi |
| 1732 | 1733 |
| 1733 | 1734 |
| 1734 echo $ac_n "checking size of int *""... $ac_c" 1>&6 | 1735 echo $ac_n "checking size of int *""... $ac_c" 1>&6 |
| 1735 echo "configure:1736: checking size of int *" >&5 | 1736 echo "configure:1737: checking size of int *" >&5 |
| 1736 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then | 1737 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then |
| 1737 echo $ac_n "(cached) $ac_c" 1>&6 | 1738 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1738 else | 1739 else |
| 1739 if test "$cross_compiling" = yes; then | 1740 if test "$cross_compiling" = yes; then |
| 1740 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } | 1741 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
| 1741 else | 1742 else |
| 1742 cat > conftest.$ac_ext <<EOF | 1743 cat > conftest.$ac_ext <<EOF |
| 1743 #line 1744 "configure" | 1744 #line 1745 "configure" |
| 1744 #include "confdefs.h" | 1745 #include "confdefs.h" |
| 1745 #include <stdio.h> | 1746 #include <stdio.h> |
| 1746 int main() | 1747 int main() |
| 1747 { | 1748 { |
| 1748 FILE *f=fopen("conftestval", "w"); | 1749 FILE *f=fopen("conftestval", "w"); |
| 1749 if (!f) return(1); | 1750 if (!f) return(1); |
| 1750 fprintf(f, "%d\n", sizeof(int *)); | 1751 fprintf(f, "%d\n", sizeof(int *)); |
| 1751 return(0); | 1752 return(0); |
| 1752 } | 1753 } |
| 1753 EOF | 1754 EOF |
| 1754 if { (eval echo configure:1755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1755 if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1755 then | 1756 then |
| 1756 ac_cv_sizeof_int_p=`cat conftestval` | 1757 ac_cv_sizeof_int_p=`cat conftestval` |
| 1757 else | 1758 else |
| 1758 echo "configure: failed program was:" >&5 | 1759 echo "configure: failed program was:" >&5 |
| 1759 cat conftest.$ac_ext >&5 | 1760 cat conftest.$ac_ext >&5 |
| 1769 #define SIZEOF_INT_P $ac_cv_sizeof_int_p | 1770 #define SIZEOF_INT_P $ac_cv_sizeof_int_p |
| 1770 EOF | 1771 EOF |
| 1771 | 1772 |
| 1772 | 1773 |
| 1773 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 1774 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 1774 echo "configure:1775: checking size of long" >&5 | 1775 echo "configure:1776: checking size of long" >&5 |
| 1775 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 1776 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
| 1776 echo $ac_n "(cached) $ac_c" 1>&6 | 1777 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1777 else | 1778 else |
| 1778 if test "$cross_compiling" = yes; then | 1779 if test "$cross_compiling" = yes; then |
| 1779 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } | 1780 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
| 1780 else | 1781 else |
| 1781 cat > conftest.$ac_ext <<EOF | 1782 cat > conftest.$ac_ext <<EOF |
| 1782 #line 1783 "configure" | 1783 #line 1784 "configure" |
| 1783 #include "confdefs.h" | 1784 #include "confdefs.h" |
| 1784 #include <stdio.h> | 1785 #include <stdio.h> |
| 1785 int main() | 1786 int main() |
| 1786 { | 1787 { |
| 1787 FILE *f=fopen("conftestval", "w"); | 1788 FILE *f=fopen("conftestval", "w"); |
| 1788 if (!f) return(1); | 1789 if (!f) return(1); |
| 1789 fprintf(f, "%d\n", sizeof(long)); | 1790 fprintf(f, "%d\n", sizeof(long)); |
| 1790 return(0); | 1791 return(0); |
| 1791 } | 1792 } |
| 1792 EOF | 1793 EOF |
| 1793 if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1794 if { (eval echo configure:1795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1794 then | 1795 then |
| 1795 ac_cv_sizeof_long=`cat conftestval` | 1796 ac_cv_sizeof_long=`cat conftestval` |
| 1796 else | 1797 else |
| 1797 echo "configure: failed program was:" >&5 | 1798 echo "configure: failed program was:" >&5 |
| 1798 cat conftest.$ac_ext >&5 | 1799 cat conftest.$ac_ext >&5 |
| 1813 | 1814 |
| 1814 | 1815 |
| 1815 | 1816 |
| 1816 | 1817 |
| 1817 echo $ac_n "checking "for __PRETTY_FUNCTION__ support"""... $ac_c" 1>&6 | 1818 echo $ac_n "checking "for __PRETTY_FUNCTION__ support"""... $ac_c" 1>&6 |
| 1818 echo "configure:1819: checking "for __PRETTY_FUNCTION__ support"" >&5 | 1819 echo "configure:1820: checking "for __PRETTY_FUNCTION__ support"" >&5 |
| 1819 if eval "test \"`echo '$''{'ecos_cv_c_pretty_function'+set}'`\" = set"; then | 1820 if eval "test \"`echo '$''{'ecos_cv_c_pretty_function'+set}'`\" = set"; then |
| 1820 echo $ac_n "(cached) $ac_c" 1>&6 | 1821 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1821 else | 1822 else |
| 1822 | 1823 |
| 1823 | 1824 |
| 1827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 1828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 1829 cross_compiling=$ac_cv_prog_cc_cross | 1830 cross_compiling=$ac_cv_prog_cc_cross |
| 1830 | 1831 |
| 1831 cat > conftest.$ac_ext <<EOF | 1832 cat > conftest.$ac_ext <<EOF |
| 1832 #line 1833 "configure" | 1833 #line 1834 "configure" |
| 1833 #include "confdefs.h" | 1834 #include "confdefs.h" |
| 1834 #include <stdio.h> | 1835 #include <stdio.h> |
| 1835 int main() { | 1836 int main() { |
| 1836 puts(__PRETTY_FUNCTION__); | 1837 puts(__PRETTY_FUNCTION__); |
| 1837 ; return 0; } | 1838 ; return 0; } |
| 1838 EOF | 1839 EOF |
| 1839 if { (eval echo configure:1840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1840 if { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1840 rm -rf conftest* | 1841 rm -rf conftest* |
| 1841 c_ok="yes" | 1842 c_ok="yes" |
| 1842 else | 1843 else |
| 1843 echo "configure: failed program was:" >&5 | 1844 echo "configure: failed program was:" >&5 |
| 1844 cat conftest.$ac_ext >&5 | 1845 cat conftest.$ac_ext >&5 |
| 1853 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 1854 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 1855 cross_compiling=$ac_cv_prog_cxx_cross | 1856 cross_compiling=$ac_cv_prog_cxx_cross |
| 1856 | 1857 |
| 1857 cat > conftest.$ac_ext <<EOF | 1858 cat > conftest.$ac_ext <<EOF |
| 1858 #line 1859 "configure" | 1859 #line 1860 "configure" |
| 1859 #include "confdefs.h" | 1860 #include "confdefs.h" |
| 1860 #include <cstdio> | 1861 #include <cstdio> |
| 1861 int main() { | 1862 int main() { |
| 1862 puts(__PRETTY_FUNCTION__); | 1863 puts(__PRETTY_FUNCTION__); |
| 1863 ; return 0; } | 1864 ; return 0; } |
| 1864 EOF | 1865 EOF |
| 1865 if { (eval echo configure:1866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1866 if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1866 rm -rf conftest* | 1867 rm -rf conftest* |
| 1867 cxx_ok="yes" | 1868 cxx_ok="yes" |
| 1868 else | 1869 else |
| 1869 echo "configure: failed program was:" >&5 | 1870 echo "configure: failed program was:" >&5 |
| 1870 cat conftest.$ac_ext >&5 | 1871 cat conftest.$ac_ext >&5 |
| 1896 | 1897 |
| 1897 | 1898 |
| 1898 for ac_func in mkstemp | 1899 for ac_func in mkstemp |
| 1899 do | 1900 do |
| 1900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 1901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 1901 echo "configure:1902: checking for $ac_func" >&5 | 1902 echo "configure:1903: checking for $ac_func" >&5 |
| 1902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 1903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 1903 echo $ac_n "(cached) $ac_c" 1>&6 | 1904 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1904 else | 1905 else |
| 1905 cat > conftest.$ac_ext <<EOF | 1906 cat > conftest.$ac_ext <<EOF |
| 1906 #line 1907 "configure" | 1907 #line 1908 "configure" |
| 1907 #include "confdefs.h" | 1908 #include "confdefs.h" |
| 1908 /* System header to define __stub macros and hopefully few prototypes, | 1909 /* System header to define __stub macros and hopefully few prototypes, |
| 1909 which can conflict with char $ac_func(); below. */ | 1910 which can conflict with char $ac_func(); below. */ |
| 1910 #include <assert.h> | 1911 #include <assert.h> |
| 1911 /* Override any gcc2 internal prototype to avoid an error. */ | 1912 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1924 $ac_func(); | 1925 $ac_func(); |
| 1925 #endif | 1926 #endif |
| 1926 | 1927 |
| 1927 ; return 0; } | 1928 ; return 0; } |
| 1928 EOF | 1929 EOF |
| 1929 if { (eval echo configure:1930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1930 if { (eval echo configure:1931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1930 rm -rf conftest* | 1931 rm -rf conftest* |
| 1931 eval "ac_cv_func_$ac_func=yes" | 1932 eval "ac_cv_func_$ac_func=yes" |
| 1932 else | 1933 else |
| 1933 echo "configure: failed program was:" >&5 | 1934 echo "configure: failed program was:" >&5 |
| 1934 cat conftest.$ac_ext >&5 | 1935 cat conftest.$ac_ext >&5 |
