Mercurial > hg > xemacs-beta
comparison configure @ 392:1f50e6fe4f3f r21-2-11
Import from CVS: tag r21-2-11
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:10:50 +0200 |
parents | aabb7f5b1c81 |
children | 7d59cb494b73 |
comparison
equal
deleted
inserted
replaced
391:e50d8e68d7a5 | 392:1f50e6fe4f3f |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 | 2 |
3 #### Configuration script for XEmacs. Largely divergent from FSF. | 3 #### Configuration script for XEmacs. Largely divergent from FSF. |
4 #### Guess values for system-dependent variables and create Makefiles. | 4 #### Guess values for system-dependent variables and create Makefiles. |
5 #### Generated automatically using autoconf version 2.12 | 5 #### Generated automatically using autoconf version 2.13 |
6 #### Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | 6 #### Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. | 7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. |
8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
9 #### Copyright (C) 1995, 1996 Ben Wing. | 9 #### Copyright (C) 1995, 1996 Ben Wing. |
10 #### Copyright (C) 1998, 1999 J. Kean Johnston. | 10 #### Copyright (C) 1998, 1999 J. Kean Johnston. |
197 ac_cpp='$CPP '"$xe_cppflags" | 197 ac_cpp='$CPP '"$xe_cppflags" |
198 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 198 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
199 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 199 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
200 cross_compiling=no | 200 cross_compiling=no |
201 | 201 |
202 ac_exeext= | |
203 ac_objext=o | |
202 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | 204 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
203 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | 205 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
204 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | 206 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
205 ac_n= ac_c=' | 207 ac_n= ac_c=' |
206 ' ac_t=' ' | 208 ' ac_t=' ' |
779 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 781 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
780 fi | 782 fi |
781 fi | 783 fi |
782 | 784 |
783 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 785 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
784 echo "configure:785: checking whether ln -s works" >&5 | 786 echo "configure:787: checking whether ln -s works" >&5 |
785 | 787 |
786 rm -f conftestdata | 788 rm -f conftestdata |
787 if ln -s X conftestdata 2>/dev/null | 789 if ln -s X conftestdata 2>/dev/null |
788 then | 790 then |
789 rm -f conftestdata | 791 rm -f conftestdata |
804 echo Making symbolic link to "$srcdir/$dir" | 806 echo Making symbolic link to "$srcdir/$dir" |
805 ${LN_S} "$srcdir/$dir" "$dir" | 807 ${LN_S} "$srcdir/$dir" "$dir" |
806 fi | 808 fi |
807 done | 809 done |
808 | 810 |
811 | |
809 absolute_pwd="`pwd`"; | 812 absolute_pwd="`pwd`"; |
810 if test -n "$PWD" -a "`cd $PWD && pwd`" = "$absolute_pwd" | 813 if test -n "$PWD" -a "`cd $PWD && pwd`" = "$absolute_pwd" |
811 then blddir="$PWD" | 814 then blddir="$PWD" |
812 else blddir="$absolute_pwd" | 815 else blddir="$absolute_pwd"; if test -d "/net"; then |
816 if test -d "/tmp_mnt/net"; then tdir="tmp_mnt/net"; else tdir="tmp_mnt"; fi | |
817 blddir=`echo "$blddir" | \ | |
818 sed -e "s|^${tdir}/|/net/|" -e "s|^/a/|/net/|" -e "s|^/amd/|/net/|"` | |
819 fi | |
813 fi | 820 fi |
814 | 821 |
815 | 822 |
816 case "$srcdir" in | 823 case "$srcdir" in |
817 /* ) ;; | 824 /* ) ;; |
818 . ) srcdir="$blddir" ;; | 825 . ) srcdir="$blddir" ;; |
819 * ) srcdir="`cd $srcdir && pwd`" ;; | 826 * ) srcdir="`cd $srcdir && pwd`"; if test -d "/net"; then |
827 if test -d "/tmp_mnt/net"; then tdir="tmp_mnt/net"; else tdir="tmp_mnt"; fi | |
828 srcdir=`echo "$srcdir" | \ | |
829 sed -e "s|^${tdir}/|/net/|" -e "s|^/a/|/net/|" -e "s|^/amd/|/net/|"` | |
830 fi ;; | |
820 esac | 831 esac |
821 | 832 |
822 if test `pwd` != `sh -c cd $srcdir && pwd` \ | 833 if test `pwd` != `sh -c cd $srcdir && pwd` \ |
823 && test -f "$srcdir/src/config.h"; then | 834 && test -f "$srcdir/src/config.h"; then |
824 (echo "$progname: WARNING: The directory tree \`$srcdir' is being used" | 835 (echo "$progname: WARNING: The directory tree \`$srcdir' is being used" |
995 } | 1006 } |
996 | 1007 |
997 | 1008 |
998 | 1009 |
999 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1010 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1000 echo "configure:1001: checking "host system type"" >&5 | 1011 echo "configure:1012: checking "host system type"" >&5 |
1001 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1012 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1002 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1013 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1003 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1014 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1004 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1015 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1005 echo "$ac_t""$configuration" 1>&6 | 1016 echo "$ac_t""$configuration" 1>&6 |
1368 *-esix* ) opsys=esix ;; | 1379 *-esix* ) opsys=esix ;; |
1369 *-mach* ) opsys=mach-bsd4-3 ;; | 1380 *-mach* ) opsys=mach-bsd4-3 ;; |
1370 *-xenix* ) opsys=xenix ;; | 1381 *-xenix* ) opsys=xenix ;; |
1371 *-sco3.2v4* ) opsys=sco4 NON_GNU_CPP=/lib/cpp ;; | 1382 *-sco3.2v4* ) opsys=sco4 NON_GNU_CPP=/lib/cpp ;; |
1372 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; | 1383 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; |
1384 *-bsdi4* ) opsys=bsdos4 ;; | |
1373 *-bsdi3* ) opsys=bsdos3 ;; | 1385 *-bsdi3* ) opsys=bsdos3 ;; |
1374 *-bsdi2.1* ) opsys=bsdos2-1 ;; | 1386 *-bsdi2.1* ) opsys=bsdos2-1 ;; |
1375 *-bsdi2* ) opsys=bsdos2 ;; | 1387 *-bsdi2* ) opsys=bsdos2 ;; |
1376 *-sco3.2v5* ) opsys=sco5 ; | 1388 *-sco3.2v5* ) opsys=sco5 ; |
1377 if test "$dynamic" = "yes" ; then | 1389 if test "$dynamic" = "yes" ; then |
1484 xe_save_CFLAGS="$CFLAGS" | 1496 xe_save_CFLAGS="$CFLAGS" |
1485 | 1497 |
1486 # Extract the first word of "gcc", so it can be a program name with args. | 1498 # Extract the first word of "gcc", so it can be a program name with args. |
1487 set dummy gcc; ac_word=$2 | 1499 set dummy gcc; ac_word=$2 |
1488 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1500 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1489 echo "configure:1490: checking for $ac_word" >&5 | 1501 echo "configure:1502: checking for $ac_word" >&5 |
1490 | 1502 |
1491 if test -n "$CC"; then | 1503 if test -n "$CC"; then |
1492 ac_cv_prog_CC="$CC" # Let the user override the test. | 1504 ac_cv_prog_CC="$CC" # Let the user override the test. |
1493 else | 1505 else |
1494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1506 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1495 for ac_dir in $PATH; do | 1507 ac_dummy="$PATH" |
1508 for ac_dir in $ac_dummy; do | |
1496 test -z "$ac_dir" && ac_dir=. | 1509 test -z "$ac_dir" && ac_dir=. |
1497 if test -f $ac_dir/$ac_word; then | 1510 if test -f $ac_dir/$ac_word; then |
1498 ac_cv_prog_CC="gcc" | 1511 ac_cv_prog_CC="gcc" |
1499 break | 1512 break |
1500 fi | 1513 fi |
1510 | 1523 |
1511 if test -z "$CC"; then | 1524 if test -z "$CC"; then |
1512 # Extract the first word of "cc", so it can be a program name with args. | 1525 # Extract the first word of "cc", so it can be a program name with args. |
1513 set dummy cc; ac_word=$2 | 1526 set dummy cc; ac_word=$2 |
1514 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1527 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1515 echo "configure:1516: checking for $ac_word" >&5 | 1528 echo "configure:1529: checking for $ac_word" >&5 |
1516 | 1529 |
1517 if test -n "$CC"; then | 1530 if test -n "$CC"; then |
1518 ac_cv_prog_CC="$CC" # Let the user override the test. | 1531 ac_cv_prog_CC="$CC" # Let the user override the test. |
1519 else | 1532 else |
1520 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1533 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1521 ac_prog_rejected=no | 1534 ac_prog_rejected=no |
1522 for ac_dir in $PATH; do | 1535 ac_dummy="$PATH" |
1536 for ac_dir in $ac_dummy; do | |
1523 test -z "$ac_dir" && ac_dir=. | 1537 test -z "$ac_dir" && ac_dir=. |
1524 if test -f $ac_dir/$ac_word; then | 1538 if test -f $ac_dir/$ac_word; then |
1525 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1539 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1526 ac_prog_rejected=yes | 1540 ac_prog_rejected=yes |
1527 continue | 1541 continue |
1551 echo "$ac_t""$CC" 1>&6 | 1565 echo "$ac_t""$CC" 1>&6 |
1552 else | 1566 else |
1553 echo "$ac_t""no" 1>&6 | 1567 echo "$ac_t""no" 1>&6 |
1554 fi | 1568 fi |
1555 | 1569 |
1570 if test -z "$CC"; then | |
1571 case "`uname -s`" in | |
1572 *win32* | *WIN32*) | |
1573 # Extract the first word of "cl", so it can be a program name with args. | |
1574 set dummy cl; ac_word=$2 | |
1575 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1576 echo "configure:1577: checking for $ac_word" >&5 | |
1577 | |
1578 if test -n "$CC"; then | |
1579 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1580 else | |
1581 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1582 ac_dummy="$PATH" | |
1583 for ac_dir in $ac_dummy; do | |
1584 test -z "$ac_dir" && ac_dir=. | |
1585 if test -f $ac_dir/$ac_word; then | |
1586 ac_cv_prog_CC="cl" | |
1587 break | |
1588 fi | |
1589 done | |
1590 IFS="$ac_save_ifs" | |
1591 fi | |
1592 CC="$ac_cv_prog_CC" | |
1593 if test -n "$CC"; then | |
1594 echo "$ac_t""$CC" 1>&6 | |
1595 else | |
1596 echo "$ac_t""no" 1>&6 | |
1597 fi | |
1598 ;; | |
1599 esac | |
1600 fi | |
1556 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1601 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1557 fi | 1602 fi |
1558 | 1603 |
1559 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1604 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1560 echo "configure:1561: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1605 echo "configure:1606: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1561 | 1606 |
1562 ac_ext=c | 1607 ac_ext=c |
1563 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1608 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1564 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1609 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1565 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1610 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1566 ac_cpp='$CPP '"$xe_cppflags" | 1611 ac_cpp='$CPP '"$xe_cppflags" |
1567 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1612 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1568 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1613 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1569 cross_compiling=no | 1614 cross_compiling=no |
1570 | 1615 |
1571 cat > conftest.$ac_ext <<EOF | 1616 cat > conftest.$ac_ext << EOF |
1572 #line 1573 "configure" | 1617 |
1573 #include "confdefs.h" | 1618 #line 1619 "configure" |
1619 #include "confdefs.h" | |
1620 | |
1574 main(){return(0);} | 1621 main(){return(0);} |
1575 EOF | 1622 EOF |
1576 if { (eval echo configure:1577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1623 if { (eval echo configure:1624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1577 ac_cv_prog_cc_works=yes | 1624 ac_cv_prog_cc_works=yes |
1578 # If we can't run a trivial program, we are probably using a cross compiler. | 1625 # If we can't run a trivial program, we are probably using a cross compiler. |
1579 if (./conftest; exit) 2>/dev/null; then | 1626 if (./conftest; exit) 2>/dev/null; then |
1580 ac_cv_prog_cc_cross=no | 1627 ac_cv_prog_cc_cross=no |
1581 else | 1628 else |
1585 echo "configure: failed program was:" >&5 | 1632 echo "configure: failed program was:" >&5 |
1586 cat conftest.$ac_ext >&5 | 1633 cat conftest.$ac_ext >&5 |
1587 ac_cv_prog_cc_works=no | 1634 ac_cv_prog_cc_works=no |
1588 fi | 1635 fi |
1589 rm -fr conftest* | 1636 rm -fr conftest* |
1637 ac_ext=c | |
1638 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
1639 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
1640 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
1641 ac_cpp='$CPP '"$xe_cppflags" | |
1642 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
1643 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
1644 cross_compiling=no | |
1590 | 1645 |
1591 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1646 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1592 if test $ac_cv_prog_cc_works = no; then | 1647 if test $ac_cv_prog_cc_works = no; then |
1593 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1648 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1594 fi | 1649 fi |
1595 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1650 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1596 echo "configure:1597: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1651 echo "configure:1652: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1597 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1652 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1598 cross_compiling=$ac_cv_prog_cc_cross | 1653 cross_compiling=$ac_cv_prog_cc_cross |
1599 | 1654 |
1600 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1655 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1601 echo "configure:1602: checking whether we are using GNU C" >&5 | 1656 echo "configure:1657: checking whether we are using GNU C" >&5 |
1602 | 1657 |
1603 cat > conftest.c <<EOF | 1658 cat > conftest.c <<EOF |
1604 #ifdef __GNUC__ | 1659 #ifdef __GNUC__ |
1605 yes; | 1660 yes; |
1606 #endif | 1661 #endif |
1607 EOF | 1662 EOF |
1608 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1663 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1609 ac_cv_prog_gcc=yes | 1664 ac_cv_prog_gcc=yes |
1610 else | 1665 else |
1611 ac_cv_prog_gcc=no | 1666 ac_cv_prog_gcc=no |
1612 fi | 1667 fi |
1613 | 1668 |
1614 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1669 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1615 | 1670 |
1616 if test $ac_cv_prog_gcc = yes; then | 1671 if test $ac_cv_prog_gcc = yes; then |
1617 GCC=yes | 1672 GCC=yes |
1618 ac_test_CFLAGS="${CFLAGS+set}" | 1673 else |
1619 ac_save_CFLAGS="$CFLAGS" | 1674 GCC= |
1620 CFLAGS= | 1675 fi |
1621 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1676 |
1622 echo "configure:1623: checking whether ${CC-cc} accepts -g" >&5 | 1677 ac_test_CFLAGS="${CFLAGS+set}" |
1678 ac_save_CFLAGS="$CFLAGS" | |
1679 CFLAGS= | |
1680 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
1681 echo "configure:1682: checking whether ${CC-cc} accepts -g" >&5 | |
1623 | 1682 |
1624 echo 'void f(){}' > conftest.c | 1683 echo 'void f(){}' > conftest.c |
1625 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1684 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1626 ac_cv_prog_cc_g=yes | 1685 ac_cv_prog_cc_g=yes |
1627 else | 1686 else |
1629 fi | 1688 fi |
1630 rm -f conftest* | 1689 rm -f conftest* |
1631 | 1690 |
1632 | 1691 |
1633 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1692 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1634 if test "$ac_test_CFLAGS" = set; then | 1693 if test "$ac_test_CFLAGS" = set; then |
1635 CFLAGS="$ac_save_CFLAGS" | 1694 CFLAGS="$ac_save_CFLAGS" |
1636 elif test $ac_cv_prog_cc_g = yes; then | 1695 elif test $ac_cv_prog_cc_g = yes; then |
1696 if test "$GCC" = yes; then | |
1637 CFLAGS="-g -O2" | 1697 CFLAGS="-g -O2" |
1638 else | 1698 else |
1699 CFLAGS="-g" | |
1700 fi | |
1701 else | |
1702 if test "$GCC" = yes; then | |
1639 CFLAGS="-O2" | 1703 CFLAGS="-O2" |
1704 else | |
1705 CFLAGS= | |
1640 fi | 1706 fi |
1641 else | |
1642 GCC= | |
1643 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
1644 fi | 1707 fi |
1645 | 1708 |
1646 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1709 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1647 CC=${NON_GNU_CC-cc} | 1710 CC=${NON_GNU_CC-cc} |
1648 # Extract the first word of "gcc", so it can be a program name with args. | 1711 # Extract the first word of "gcc", so it can be a program name with args. |
1649 set dummy gcc; ac_word=$2 | 1712 set dummy gcc; ac_word=$2 |
1650 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1651 echo "configure:1652: checking for $ac_word" >&5 | 1714 echo "configure:1715: checking for $ac_word" >&5 |
1652 | 1715 |
1653 if test -n "$CC"; then | 1716 if test -n "$CC"; then |
1654 ac_cv_prog_CC="$CC" # Let the user override the test. | 1717 ac_cv_prog_CC="$CC" # Let the user override the test. |
1655 else | 1718 else |
1656 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1657 for ac_dir in $PATH; do | 1720 ac_dummy="$PATH" |
1721 for ac_dir in $ac_dummy; do | |
1658 test -z "$ac_dir" && ac_dir=. | 1722 test -z "$ac_dir" && ac_dir=. |
1659 if test -f $ac_dir/$ac_word; then | 1723 if test -f $ac_dir/$ac_word; then |
1660 ac_cv_prog_CC="gcc" | 1724 ac_cv_prog_CC="gcc" |
1661 break | 1725 break |
1662 fi | 1726 fi |
1672 | 1736 |
1673 if test -z "$CC"; then | 1737 if test -z "$CC"; then |
1674 # Extract the first word of "cc", so it can be a program name with args. | 1738 # Extract the first word of "cc", so it can be a program name with args. |
1675 set dummy cc; ac_word=$2 | 1739 set dummy cc; ac_word=$2 |
1676 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1740 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1677 echo "configure:1678: checking for $ac_word" >&5 | 1741 echo "configure:1742: checking for $ac_word" >&5 |
1678 | 1742 |
1679 if test -n "$CC"; then | 1743 if test -n "$CC"; then |
1680 ac_cv_prog_CC="$CC" # Let the user override the test. | 1744 ac_cv_prog_CC="$CC" # Let the user override the test. |
1681 else | 1745 else |
1682 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1746 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1683 ac_prog_rejected=no | 1747 ac_prog_rejected=no |
1684 for ac_dir in $PATH; do | 1748 ac_dummy="$PATH" |
1749 for ac_dir in $ac_dummy; do | |
1685 test -z "$ac_dir" && ac_dir=. | 1750 test -z "$ac_dir" && ac_dir=. |
1686 if test -f $ac_dir/$ac_word; then | 1751 if test -f $ac_dir/$ac_word; then |
1687 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1752 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1688 ac_prog_rejected=yes | 1753 ac_prog_rejected=yes |
1689 continue | 1754 continue |
1713 echo "$ac_t""$CC" 1>&6 | 1778 echo "$ac_t""$CC" 1>&6 |
1714 else | 1779 else |
1715 echo "$ac_t""no" 1>&6 | 1780 echo "$ac_t""no" 1>&6 |
1716 fi | 1781 fi |
1717 | 1782 |
1783 if test -z "$CC"; then | |
1784 case "`uname -s`" in | |
1785 *win32* | *WIN32*) | |
1786 # Extract the first word of "cl", so it can be a program name with args. | |
1787 set dummy cl; ac_word=$2 | |
1788 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1789 echo "configure:1790: checking for $ac_word" >&5 | |
1790 | |
1791 if test -n "$CC"; then | |
1792 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1793 else | |
1794 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1795 ac_dummy="$PATH" | |
1796 for ac_dir in $ac_dummy; do | |
1797 test -z "$ac_dir" && ac_dir=. | |
1798 if test -f $ac_dir/$ac_word; then | |
1799 ac_cv_prog_CC="cl" | |
1800 break | |
1801 fi | |
1802 done | |
1803 IFS="$ac_save_ifs" | |
1804 fi | |
1805 CC="$ac_cv_prog_CC" | |
1806 if test -n "$CC"; then | |
1807 echo "$ac_t""$CC" 1>&6 | |
1808 else | |
1809 echo "$ac_t""no" 1>&6 | |
1810 fi | |
1811 ;; | |
1812 esac | |
1813 fi | |
1718 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1814 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1719 fi | 1815 fi |
1720 | 1816 |
1721 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1817 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1722 echo "configure:1723: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1818 echo "configure:1819: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1723 | 1819 |
1724 ac_ext=c | 1820 ac_ext=c |
1725 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1821 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1726 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1822 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1727 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1823 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1728 ac_cpp='$CPP '"$xe_cppflags" | 1824 ac_cpp='$CPP '"$xe_cppflags" |
1729 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1825 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1730 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1826 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1731 cross_compiling=no | 1827 cross_compiling=no |
1732 | 1828 |
1733 cat > conftest.$ac_ext <<EOF | 1829 cat > conftest.$ac_ext << EOF |
1734 #line 1735 "configure" | 1830 |
1735 #include "confdefs.h" | 1831 #line 1832 "configure" |
1832 #include "confdefs.h" | |
1833 | |
1736 main(){return(0);} | 1834 main(){return(0);} |
1737 EOF | 1835 EOF |
1738 if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1836 if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1739 ac_cv_prog_cc_works=yes | 1837 ac_cv_prog_cc_works=yes |
1740 # If we can't run a trivial program, we are probably using a cross compiler. | 1838 # If we can't run a trivial program, we are probably using a cross compiler. |
1741 if (./conftest; exit) 2>/dev/null; then | 1839 if (./conftest; exit) 2>/dev/null; then |
1742 ac_cv_prog_cc_cross=no | 1840 ac_cv_prog_cc_cross=no |
1743 else | 1841 else |
1747 echo "configure: failed program was:" >&5 | 1845 echo "configure: failed program was:" >&5 |
1748 cat conftest.$ac_ext >&5 | 1846 cat conftest.$ac_ext >&5 |
1749 ac_cv_prog_cc_works=no | 1847 ac_cv_prog_cc_works=no |
1750 fi | 1848 fi |
1751 rm -fr conftest* | 1849 rm -fr conftest* |
1850 ac_ext=c | |
1851 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
1852 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
1853 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
1854 ac_cpp='$CPP '"$xe_cppflags" | |
1855 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
1856 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
1857 cross_compiling=no | |
1752 | 1858 |
1753 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1859 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1754 if test $ac_cv_prog_cc_works = no; then | 1860 if test $ac_cv_prog_cc_works = no; then |
1755 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1861 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1756 fi | 1862 fi |
1757 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1863 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1758 echo "configure:1759: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1864 echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1759 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1865 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1760 cross_compiling=$ac_cv_prog_cc_cross | 1866 cross_compiling=$ac_cv_prog_cc_cross |
1761 | 1867 |
1762 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1868 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1763 echo "configure:1764: checking whether we are using GNU C" >&5 | 1869 echo "configure:1870: checking whether we are using GNU C" >&5 |
1764 | 1870 |
1765 cat > conftest.c <<EOF | 1871 cat > conftest.c <<EOF |
1766 #ifdef __GNUC__ | 1872 #ifdef __GNUC__ |
1767 yes; | 1873 yes; |
1768 #endif | 1874 #endif |
1769 EOF | 1875 EOF |
1770 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1876 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1771 ac_cv_prog_gcc=yes | 1877 ac_cv_prog_gcc=yes |
1772 else | 1878 else |
1773 ac_cv_prog_gcc=no | 1879 ac_cv_prog_gcc=no |
1774 fi | 1880 fi |
1775 | 1881 |
1776 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1882 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1777 | 1883 |
1778 if test $ac_cv_prog_gcc = yes; then | 1884 if test $ac_cv_prog_gcc = yes; then |
1779 GCC=yes | 1885 GCC=yes |
1780 ac_test_CFLAGS="${CFLAGS+set}" | 1886 else |
1781 ac_save_CFLAGS="$CFLAGS" | 1887 GCC= |
1782 CFLAGS= | 1888 fi |
1783 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1889 |
1784 echo "configure:1785: checking whether ${CC-cc} accepts -g" >&5 | 1890 ac_test_CFLAGS="${CFLAGS+set}" |
1891 ac_save_CFLAGS="$CFLAGS" | |
1892 CFLAGS= | |
1893 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
1894 echo "configure:1895: checking whether ${CC-cc} accepts -g" >&5 | |
1785 | 1895 |
1786 echo 'void f(){}' > conftest.c | 1896 echo 'void f(){}' > conftest.c |
1787 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1897 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1788 ac_cv_prog_cc_g=yes | 1898 ac_cv_prog_cc_g=yes |
1789 else | 1899 else |
1791 fi | 1901 fi |
1792 rm -f conftest* | 1902 rm -f conftest* |
1793 | 1903 |
1794 | 1904 |
1795 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1905 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1796 if test "$ac_test_CFLAGS" = set; then | 1906 if test "$ac_test_CFLAGS" = set; then |
1797 CFLAGS="$ac_save_CFLAGS" | 1907 CFLAGS="$ac_save_CFLAGS" |
1798 elif test $ac_cv_prog_cc_g = yes; then | 1908 elif test $ac_cv_prog_cc_g = yes; then |
1909 if test "$GCC" = yes; then | |
1799 CFLAGS="-g -O2" | 1910 CFLAGS="-g -O2" |
1800 else | 1911 else |
1912 CFLAGS="-g" | |
1913 fi | |
1914 else | |
1915 if test "$GCC" = yes; then | |
1801 CFLAGS="-O2" | 1916 CFLAGS="-O2" |
1917 else | |
1918 CFLAGS= | |
1802 fi | 1919 fi |
1803 else | |
1804 GCC= | |
1805 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
1806 fi | 1920 fi |
1807 | 1921 |
1808 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1922 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1809 CC=gcc | 1923 CC=gcc |
1810 # Extract the first word of "gcc", so it can be a program name with args. | 1924 # Extract the first word of "gcc", so it can be a program name with args. |
1811 set dummy gcc; ac_word=$2 | 1925 set dummy gcc; ac_word=$2 |
1812 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1926 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1813 echo "configure:1814: checking for $ac_word" >&5 | 1927 echo "configure:1928: checking for $ac_word" >&5 |
1814 | 1928 |
1815 if test -n "$CC"; then | 1929 if test -n "$CC"; then |
1816 ac_cv_prog_CC="$CC" # Let the user override the test. | 1930 ac_cv_prog_CC="$CC" # Let the user override the test. |
1817 else | 1931 else |
1818 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1819 for ac_dir in $PATH; do | 1933 ac_dummy="$PATH" |
1934 for ac_dir in $ac_dummy; do | |
1820 test -z "$ac_dir" && ac_dir=. | 1935 test -z "$ac_dir" && ac_dir=. |
1821 if test -f $ac_dir/$ac_word; then | 1936 if test -f $ac_dir/$ac_word; then |
1822 ac_cv_prog_CC="gcc" | 1937 ac_cv_prog_CC="gcc" |
1823 break | 1938 break |
1824 fi | 1939 fi |
1834 | 1949 |
1835 if test -z "$CC"; then | 1950 if test -z "$CC"; then |
1836 # Extract the first word of "cc", so it can be a program name with args. | 1951 # Extract the first word of "cc", so it can be a program name with args. |
1837 set dummy cc; ac_word=$2 | 1952 set dummy cc; ac_word=$2 |
1838 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1953 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1839 echo "configure:1840: checking for $ac_word" >&5 | 1954 echo "configure:1955: checking for $ac_word" >&5 |
1840 | 1955 |
1841 if test -n "$CC"; then | 1956 if test -n "$CC"; then |
1842 ac_cv_prog_CC="$CC" # Let the user override the test. | 1957 ac_cv_prog_CC="$CC" # Let the user override the test. |
1843 else | 1958 else |
1844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1959 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1845 ac_prog_rejected=no | 1960 ac_prog_rejected=no |
1846 for ac_dir in $PATH; do | 1961 ac_dummy="$PATH" |
1962 for ac_dir in $ac_dummy; do | |
1847 test -z "$ac_dir" && ac_dir=. | 1963 test -z "$ac_dir" && ac_dir=. |
1848 if test -f $ac_dir/$ac_word; then | 1964 if test -f $ac_dir/$ac_word; then |
1849 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1965 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1850 ac_prog_rejected=yes | 1966 ac_prog_rejected=yes |
1851 continue | 1967 continue |
1875 echo "$ac_t""$CC" 1>&6 | 1991 echo "$ac_t""$CC" 1>&6 |
1876 else | 1992 else |
1877 echo "$ac_t""no" 1>&6 | 1993 echo "$ac_t""no" 1>&6 |
1878 fi | 1994 fi |
1879 | 1995 |
1996 if test -z "$CC"; then | |
1997 case "`uname -s`" in | |
1998 *win32* | *WIN32*) | |
1999 # Extract the first word of "cl", so it can be a program name with args. | |
2000 set dummy cl; ac_word=$2 | |
2001 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
2002 echo "configure:2003: checking for $ac_word" >&5 | |
2003 | |
2004 if test -n "$CC"; then | |
2005 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2006 else | |
2007 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
2008 ac_dummy="$PATH" | |
2009 for ac_dir in $ac_dummy; do | |
2010 test -z "$ac_dir" && ac_dir=. | |
2011 if test -f $ac_dir/$ac_word; then | |
2012 ac_cv_prog_CC="cl" | |
2013 break | |
2014 fi | |
2015 done | |
2016 IFS="$ac_save_ifs" | |
2017 fi | |
2018 CC="$ac_cv_prog_CC" | |
2019 if test -n "$CC"; then | |
2020 echo "$ac_t""$CC" 1>&6 | |
2021 else | |
2022 echo "$ac_t""no" 1>&6 | |
2023 fi | |
2024 ;; | |
2025 esac | |
2026 fi | |
1880 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2027 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1881 fi | 2028 fi |
1882 | 2029 |
1883 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2030 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1884 echo "configure:1885: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2031 echo "configure:2032: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1885 | 2032 |
1886 ac_ext=c | 2033 ac_ext=c |
1887 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2034 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1888 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2035 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1889 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2036 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1890 ac_cpp='$CPP '"$xe_cppflags" | 2037 ac_cpp='$CPP '"$xe_cppflags" |
1891 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 2038 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1892 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2039 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1893 cross_compiling=no | 2040 cross_compiling=no |
1894 | 2041 |
1895 cat > conftest.$ac_ext <<EOF | 2042 cat > conftest.$ac_ext << EOF |
1896 #line 1897 "configure" | 2043 |
1897 #include "confdefs.h" | 2044 #line 2045 "configure" |
2045 #include "confdefs.h" | |
2046 | |
1898 main(){return(0);} | 2047 main(){return(0);} |
1899 EOF | 2048 EOF |
1900 if { (eval echo configure:1901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2049 if { (eval echo configure:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1901 ac_cv_prog_cc_works=yes | 2050 ac_cv_prog_cc_works=yes |
1902 # If we can't run a trivial program, we are probably using a cross compiler. | 2051 # If we can't run a trivial program, we are probably using a cross compiler. |
1903 if (./conftest; exit) 2>/dev/null; then | 2052 if (./conftest; exit) 2>/dev/null; then |
1904 ac_cv_prog_cc_cross=no | 2053 ac_cv_prog_cc_cross=no |
1905 else | 2054 else |
1909 echo "configure: failed program was:" >&5 | 2058 echo "configure: failed program was:" >&5 |
1910 cat conftest.$ac_ext >&5 | 2059 cat conftest.$ac_ext >&5 |
1911 ac_cv_prog_cc_works=no | 2060 ac_cv_prog_cc_works=no |
1912 fi | 2061 fi |
1913 rm -fr conftest* | 2062 rm -fr conftest* |
2063 ac_ext=c | |
2064 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
2065 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
2066 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
2067 ac_cpp='$CPP '"$xe_cppflags" | |
2068 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
2069 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
2070 cross_compiling=no | |
1914 | 2071 |
1915 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2072 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1916 if test $ac_cv_prog_cc_works = no; then | 2073 if test $ac_cv_prog_cc_works = no; then |
1917 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2074 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1918 fi | 2075 fi |
1919 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2076 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1920 echo "configure:1921: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2077 echo "configure:2078: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1921 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2078 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1922 cross_compiling=$ac_cv_prog_cc_cross | 2079 cross_compiling=$ac_cv_prog_cc_cross |
1923 | 2080 |
1924 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2081 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1925 echo "configure:1926: checking whether we are using GNU C" >&5 | 2082 echo "configure:2083: checking whether we are using GNU C" >&5 |
1926 | 2083 |
1927 cat > conftest.c <<EOF | 2084 cat > conftest.c <<EOF |
1928 #ifdef __GNUC__ | 2085 #ifdef __GNUC__ |
1929 yes; | 2086 yes; |
1930 #endif | 2087 #endif |
1931 EOF | 2088 EOF |
1932 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2089 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1933 ac_cv_prog_gcc=yes | 2090 ac_cv_prog_gcc=yes |
1934 else | 2091 else |
1935 ac_cv_prog_gcc=no | 2092 ac_cv_prog_gcc=no |
1936 fi | 2093 fi |
1937 | 2094 |
1938 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 2095 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1939 | 2096 |
1940 if test $ac_cv_prog_gcc = yes; then | 2097 if test $ac_cv_prog_gcc = yes; then |
1941 GCC=yes | 2098 GCC=yes |
1942 ac_test_CFLAGS="${CFLAGS+set}" | 2099 else |
1943 ac_save_CFLAGS="$CFLAGS" | 2100 GCC= |
1944 CFLAGS= | 2101 fi |
1945 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2102 |
1946 echo "configure:1947: checking whether ${CC-cc} accepts -g" >&5 | 2103 ac_test_CFLAGS="${CFLAGS+set}" |
2104 ac_save_CFLAGS="$CFLAGS" | |
2105 CFLAGS= | |
2106 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
2107 echo "configure:2108: checking whether ${CC-cc} accepts -g" >&5 | |
1947 | 2108 |
1948 echo 'void f(){}' > conftest.c | 2109 echo 'void f(){}' > conftest.c |
1949 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2110 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1950 ac_cv_prog_cc_g=yes | 2111 ac_cv_prog_cc_g=yes |
1951 else | 2112 else |
1953 fi | 2114 fi |
1954 rm -f conftest* | 2115 rm -f conftest* |
1955 | 2116 |
1956 | 2117 |
1957 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 2118 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1958 if test "$ac_test_CFLAGS" = set; then | 2119 if test "$ac_test_CFLAGS" = set; then |
1959 CFLAGS="$ac_save_CFLAGS" | 2120 CFLAGS="$ac_save_CFLAGS" |
1960 elif test $ac_cv_prog_cc_g = yes; then | 2121 elif test $ac_cv_prog_cc_g = yes; then |
2122 if test "$GCC" = yes; then | |
1961 CFLAGS="-g -O2" | 2123 CFLAGS="-g -O2" |
1962 else | 2124 else |
2125 CFLAGS="-g" | |
2126 fi | |
2127 else | |
2128 if test "$GCC" = yes; then | |
1963 CFLAGS="-O2" | 2129 CFLAGS="-O2" |
2130 else | |
2131 CFLAGS= | |
1964 fi | 2132 fi |
1965 else | |
1966 GCC= | |
1967 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
1968 fi | 2133 fi |
1969 | 2134 |
1970 fi | 2135 fi |
1971 CFLAGS="$xe_save_CFLAGS" | 2136 CFLAGS="$xe_save_CFLAGS" |
1972 | 2137 |
1974 test -n "$CPP" -a -d "$CPP" && CPP= | 2139 test -n "$CPP" -a -d "$CPP" && CPP= |
1975 | 2140 |
1976 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2141 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1977 | 2142 |
1978 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2143 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1979 echo "configure:1980: checking how to run the C preprocessor" >&5 | 2144 echo "configure:2145: checking how to run the C preprocessor" >&5 |
1980 # On Suns, sometimes $CPP names a directory. | 2145 # On Suns, sometimes $CPP names a directory. |
1981 if test -n "$CPP" && test -d "$CPP"; then | 2146 if test -n "$CPP" && test -d "$CPP"; then |
1982 CPP= | 2147 CPP= |
1983 fi | 2148 fi |
1984 if test -z "$CPP"; then | 2149 if test -z "$CPP"; then |
1987 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2152 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1988 CPP="${CC-cc} -E" | 2153 CPP="${CC-cc} -E" |
1989 # On the NeXT, cc -E runs the code through the compiler's parser, | 2154 # On the NeXT, cc -E runs the code through the compiler's parser, |
1990 # not just through cpp. | 2155 # not just through cpp. |
1991 cat > conftest.$ac_ext <<EOF | 2156 cat > conftest.$ac_ext <<EOF |
1992 #line 1993 "configure" | 2157 #line 2158 "configure" |
1993 #include "confdefs.h" | 2158 #include "confdefs.h" |
1994 #include <assert.h> | 2159 #include <assert.h> |
1995 Syntax Error | 2160 Syntax Error |
1996 EOF | 2161 EOF |
1997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1998 { (eval echo configure:1999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2163 { (eval echo configure:2164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1999 ac_err=`grep -v '^ *+' conftest.out` | 2164 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2000 if test -z "$ac_err"; then | 2165 if test -z "$ac_err"; then |
2001 : | 2166 : |
2002 else | 2167 else |
2003 echo "$ac_err" >&5 | 2168 echo "$ac_err" >&5 |
2004 echo "configure: failed program was:" >&5 | 2169 echo "configure: failed program was:" >&5 |
2005 cat conftest.$ac_ext >&5 | 2170 cat conftest.$ac_ext >&5 |
2006 rm -rf conftest* | 2171 rm -rf conftest* |
2007 CPP="${CC-cc} -E -traditional-cpp" | 2172 CPP="${CC-cc} -E -traditional-cpp" |
2008 cat > conftest.$ac_ext <<EOF | 2173 cat > conftest.$ac_ext <<EOF |
2009 #line 2010 "configure" | 2174 #line 2175 "configure" |
2010 #include "confdefs.h" | 2175 #include "confdefs.h" |
2011 #include <assert.h> | 2176 #include <assert.h> |
2012 Syntax Error | 2177 Syntax Error |
2013 EOF | 2178 EOF |
2014 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2015 { (eval echo configure:2016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2180 { (eval echo configure:2181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2016 ac_err=`grep -v '^ *+' conftest.out` | 2181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2017 if test -z "$ac_err"; then | 2182 if test -z "$ac_err"; then |
2018 : | 2183 : |
2019 else | 2184 else |
2020 echo "$ac_err" >&5 | 2185 echo "$ac_err" >&5 |
2021 echo "configure: failed program was:" >&5 | 2186 echo "configure: failed program was:" >&5 |
2022 cat conftest.$ac_ext >&5 | 2187 cat conftest.$ac_ext >&5 |
2023 rm -rf conftest* | 2188 rm -rf conftest* |
2189 CPP="${CC-cc} -nologo -E" | |
2190 cat > conftest.$ac_ext <<EOF | |
2191 #line 2192 "configure" | |
2192 #include "confdefs.h" | |
2193 #include <assert.h> | |
2194 Syntax Error | |
2195 EOF | |
2196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2197 { (eval echo configure:2198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
2198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
2199 if test -z "$ac_err"; then | |
2200 : | |
2201 else | |
2202 echo "$ac_err" >&5 | |
2203 echo "configure: failed program was:" >&5 | |
2204 cat conftest.$ac_ext >&5 | |
2205 rm -rf conftest* | |
2024 CPP=/lib/cpp | 2206 CPP=/lib/cpp |
2207 fi | |
2208 rm -f conftest* | |
2025 fi | 2209 fi |
2026 rm -f conftest* | 2210 rm -f conftest* |
2027 fi | 2211 fi |
2028 rm -f conftest* | 2212 rm -f conftest* |
2029 ac_cv_prog_CPP="$CPP" | 2213 ac_cv_prog_CPP="$CPP" |
2033 fi | 2217 fi |
2034 echo "$ac_t""$CPP" 1>&6 | 2218 echo "$ac_t""$CPP" 1>&6 |
2035 | 2219 |
2036 | 2220 |
2037 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2221 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2038 echo "configure:2039: checking for AIX" >&5 | 2222 echo "configure:2223: checking for AIX" >&5 |
2039 cat > conftest.$ac_ext <<EOF | 2223 cat > conftest.$ac_ext <<EOF |
2040 #line 2041 "configure" | 2224 #line 2225 "configure" |
2041 #include "confdefs.h" | 2225 #include "confdefs.h" |
2042 #ifdef _AIX | 2226 #ifdef _AIX |
2043 yes | 2227 yes |
2044 #endif | 2228 #endif |
2045 | 2229 |
2062 rm -f conftest* | 2246 rm -f conftest* |
2063 | 2247 |
2064 | 2248 |
2065 | 2249 |
2066 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2250 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2067 echo "configure:2068: checking for GNU libc" >&5 | 2251 echo "configure:2252: checking for GNU libc" >&5 |
2068 cat > conftest.$ac_ext <<EOF | 2252 cat > conftest.$ac_ext <<EOF |
2069 #line 2070 "configure" | 2253 #line 2254 "configure" |
2070 #include "confdefs.h" | 2254 #include "confdefs.h" |
2071 #include <features.h> | 2255 #include <features.h> |
2072 int main() { | 2256 int main() { |
2073 | 2257 |
2074 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2258 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2076 ******* ======= ******** &&&&&&&& | 2260 ******* ======= ******** &&&&&&&& |
2077 #endif | 2261 #endif |
2078 | 2262 |
2079 ; return 0; } | 2263 ; return 0; } |
2080 EOF | 2264 EOF |
2081 if { (eval echo configure:2082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2265 if { (eval echo configure:2266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2082 rm -rf conftest* | 2266 rm -rf conftest* |
2083 have_glibc=yes | 2267 have_glibc=yes |
2084 else | 2268 else |
2085 echo "configure: failed program was:" >&5 | 2269 echo "configure: failed program was:" >&5 |
2086 cat conftest.$ac_ext >&5 | 2270 cat conftest.$ac_ext >&5 |
2098 } | 2282 } |
2099 | 2283 |
2100 | 2284 |
2101 | 2285 |
2102 cat > conftest.$ac_ext <<EOF | 2286 cat > conftest.$ac_ext <<EOF |
2103 #line 2104 "configure" | 2287 #line 2288 "configure" |
2104 #include "confdefs.h" | 2288 #include "confdefs.h" |
2105 int main () { | 2289 int main () { |
2106 #if defined __SUNPRO_C | 2290 #if defined __SUNPRO_C |
2107 return 11; | 2291 return 11; |
2108 #elif defined __DECC | 2292 #elif defined __DECC |
2110 #else | 2294 #else |
2111 return 0; | 2295 return 0; |
2112 #endif | 2296 #endif |
2113 } | 2297 } |
2114 EOF | 2298 EOF |
2115 if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2299 if { (eval echo configure:2300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2116 then | 2300 then |
2117 : | 2301 : |
2118 else | 2302 else |
2119 conftest_rc="$?" | 2303 conftest_rc="$?" |
2120 echo "configure: failed program was:" >&5 | 2304 echo "configure: failed program was:" >&5 |
2378 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2562 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2379 echo " xemacs will be linked with \"$unexec\"" | 2563 echo " xemacs will be linked with \"$unexec\"" |
2380 fi | 2564 fi |
2381 | 2565 |
2382 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2566 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2383 echo "configure:2384: checking for dynodump" >&5 | 2567 echo "configure:2568: checking for dynodump" >&5 |
2384 if test "$unexec" != "unexsol2.o"; then | 2568 if test "$unexec" != "unexsol2.o"; then |
2385 echo "$ac_t""no" 1>&6 | 2569 echo "$ac_t""no" 1>&6 |
2386 else | 2570 else |
2387 echo "$ac_t""yes" 1>&6 | 2571 echo "$ac_t""yes" 1>&6 |
2388 { test "$extra_verbose" = "yes" && cat << \EOF | 2572 { test "$extra_verbose" = "yes" && cat << \EOF |
2416 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2600 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2417 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2601 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2418 done | 2602 done |
2419 | 2603 |
2420 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2604 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2421 echo "configure:2422: checking for terminateAndUnload in -lC" >&5 | 2605 echo "configure:2606: checking for terminateAndUnload in -lC" >&5 |
2422 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2606 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2423 | 2607 |
2424 xe_check_libs=" -lC " | 2608 xe_check_libs=" -lC " |
2425 cat > conftest.$ac_ext <<EOF | 2609 cat > conftest.$ac_ext <<EOF |
2426 #line 2427 "configure" | 2610 #line 2611 "configure" |
2427 #include "confdefs.h" | 2611 #include "confdefs.h" |
2428 /* Override any gcc2 internal prototype to avoid an error. */ | 2612 /* Override any gcc2 internal prototype to avoid an error. */ |
2429 /* We use char because int might match the return type of a gcc2 | 2613 /* We use char because int might match the return type of a gcc2 |
2430 builtin and then its argument prototype would still apply. */ | 2614 builtin and then its argument prototype would still apply. */ |
2431 char terminateAndUnload(); | 2615 char terminateAndUnload(); |
2432 | 2616 |
2433 int main() { | 2617 int main() { |
2434 terminateAndUnload() | 2618 terminateAndUnload() |
2435 ; return 0; } | 2619 ; return 0; } |
2436 EOF | 2620 EOF |
2437 if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2621 if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2438 rm -rf conftest* | 2622 rm -rf conftest* |
2439 eval "ac_cv_lib_$ac_lib_var=yes" | 2623 eval "ac_cv_lib_$ac_lib_var=yes" |
2440 else | 2624 else |
2441 echo "configure: failed program was:" >&5 | 2625 echo "configure: failed program was:" >&5 |
2442 cat conftest.$ac_ext >&5 | 2626 cat conftest.$ac_ext >&5 |
2536 esac | 2720 esac |
2537 fi | 2721 fi |
2538 | 2722 |
2539 if test "$add_runtime_path" = "yes"; then | 2723 if test "$add_runtime_path" = "yes"; then |
2540 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2724 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2541 echo "configure:2542: checking "for runtime libraries flag"" >&5 | 2725 echo "configure:2726: checking "for runtime libraries flag"" >&5 |
2542 case "$opsys" in | 2726 case "$opsys" in |
2543 sol2 ) dash_r="-R" ;; | 2727 sol2 ) dash_r="-R" ;; |
2544 decosf* | linux* ) dash_r="-rpath " ;; | 2728 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2545 *) | 2729 *) |
2546 dash_r="" | 2730 dash_r="" |
2547 for try_dash_r in "-R" "-R " "-rpath "; do | 2731 for try_dash_r in "-R" "-R " "-rpath "; do |
2548 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2732 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2549 | 2733 |
2558 esac | 2742 esac |
2559 shift | 2743 shift |
2560 done | 2744 done |
2561 fi | 2745 fi |
2562 cat > conftest.$ac_ext <<EOF | 2746 cat > conftest.$ac_ext <<EOF |
2563 #line 2564 "configure" | 2747 #line 2748 "configure" |
2564 #include "confdefs.h" | 2748 #include "confdefs.h" |
2565 | 2749 |
2566 int main() { | 2750 int main() { |
2567 | 2751 |
2568 ; return 0; } | 2752 ; return 0; } |
2569 EOF | 2753 EOF |
2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2754 if { (eval echo configure:2755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2571 rm -rf conftest* | 2755 rm -rf conftest* |
2572 dash_r="$try_dash_r" | 2756 dash_r="$try_dash_r" |
2573 else | 2757 else |
2574 echo "configure: failed program was:" >&5 | 2758 echo "configure: failed program was:" >&5 |
2575 cat conftest.$ac_ext >&5 | 2759 cat conftest.$ac_ext >&5 |
2667 else | 2851 else |
2668 doug_lea_malloc=no | 2852 doug_lea_malloc=no |
2669 fi | 2853 fi |
2670 after_morecore_hook_exists=yes | 2854 after_morecore_hook_exists=yes |
2671 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2855 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2672 echo "configure:2673: checking for malloc_get_state" >&5 | 2856 echo "configure:2857: checking for malloc_get_state" >&5 |
2673 | 2857 |
2674 cat > conftest.$ac_ext <<EOF | 2858 cat > conftest.$ac_ext <<EOF |
2675 #line 2676 "configure" | 2859 #line 2860 "configure" |
2676 #include "confdefs.h" | 2860 #include "confdefs.h" |
2677 /* System header to define __stub macros and hopefully few prototypes, | 2861 /* System header to define __stub macros and hopefully few prototypes, |
2678 which can conflict with char malloc_get_state(); below. */ | 2862 which can conflict with char malloc_get_state(); below. */ |
2679 #include <assert.h> | 2863 #include <assert.h> |
2680 /* Override any gcc2 internal prototype to avoid an error. */ | 2864 /* Override any gcc2 internal prototype to avoid an error. */ |
2693 malloc_get_state(); | 2877 malloc_get_state(); |
2694 #endif | 2878 #endif |
2695 | 2879 |
2696 ; return 0; } | 2880 ; return 0; } |
2697 EOF | 2881 EOF |
2698 if { (eval echo configure:2699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2882 if { (eval echo configure:2883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2699 rm -rf conftest* | 2883 rm -rf conftest* |
2700 eval "ac_cv_func_malloc_get_state=yes" | 2884 eval "ac_cv_func_malloc_get_state=yes" |
2701 else | 2885 else |
2702 echo "configure: failed program was:" >&5 | 2886 echo "configure: failed program was:" >&5 |
2703 cat conftest.$ac_ext >&5 | 2887 cat conftest.$ac_ext >&5 |
2713 echo "$ac_t""no" 1>&6 | 2897 echo "$ac_t""no" 1>&6 |
2714 doug_lea_malloc=no | 2898 doug_lea_malloc=no |
2715 fi | 2899 fi |
2716 | 2900 |
2717 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2901 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2718 echo "configure:2719: checking for malloc_set_state" >&5 | 2902 echo "configure:2903: checking for malloc_set_state" >&5 |
2719 | 2903 |
2720 cat > conftest.$ac_ext <<EOF | 2904 cat > conftest.$ac_ext <<EOF |
2721 #line 2722 "configure" | 2905 #line 2906 "configure" |
2722 #include "confdefs.h" | 2906 #include "confdefs.h" |
2723 /* System header to define __stub macros and hopefully few prototypes, | 2907 /* System header to define __stub macros and hopefully few prototypes, |
2724 which can conflict with char malloc_set_state(); below. */ | 2908 which can conflict with char malloc_set_state(); below. */ |
2725 #include <assert.h> | 2909 #include <assert.h> |
2726 /* Override any gcc2 internal prototype to avoid an error. */ | 2910 /* Override any gcc2 internal prototype to avoid an error. */ |
2739 malloc_set_state(); | 2923 malloc_set_state(); |
2740 #endif | 2924 #endif |
2741 | 2925 |
2742 ; return 0; } | 2926 ; return 0; } |
2743 EOF | 2927 EOF |
2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2928 if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2745 rm -rf conftest* | 2929 rm -rf conftest* |
2746 eval "ac_cv_func_malloc_set_state=yes" | 2930 eval "ac_cv_func_malloc_set_state=yes" |
2747 else | 2931 else |
2748 echo "configure: failed program was:" >&5 | 2932 echo "configure: failed program was:" >&5 |
2749 cat conftest.$ac_ext >&5 | 2933 cat conftest.$ac_ext >&5 |
2759 echo "$ac_t""no" 1>&6 | 2943 echo "$ac_t""no" 1>&6 |
2760 doug_lea_malloc=no | 2944 doug_lea_malloc=no |
2761 fi | 2945 fi |
2762 | 2946 |
2763 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2947 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2764 echo "configure:2765: checking whether __after_morecore_hook exists" >&5 | 2948 echo "configure:2949: checking whether __after_morecore_hook exists" >&5 |
2765 cat > conftest.$ac_ext <<EOF | 2949 cat > conftest.$ac_ext <<EOF |
2766 #line 2767 "configure" | 2950 #line 2951 "configure" |
2767 #include "confdefs.h" | 2951 #include "confdefs.h" |
2768 extern void (* __after_morecore_hook)(); | 2952 extern void (* __after_morecore_hook)(); |
2769 int main() { | 2953 int main() { |
2770 __after_morecore_hook = 0 | 2954 __after_morecore_hook = 0 |
2771 ; return 0; } | 2955 ; return 0; } |
2772 EOF | 2956 EOF |
2773 if { (eval echo configure:2774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2957 if { (eval echo configure:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2774 rm -rf conftest* | 2958 rm -rf conftest* |
2775 echo "$ac_t""yes" 1>&6 | 2959 echo "$ac_t""yes" 1>&6 |
2776 else | 2960 else |
2777 echo "configure: failed program was:" >&5 | 2961 echo "configure: failed program was:" >&5 |
2778 cat conftest.$ac_ext >&5 | 2962 cat conftest.$ac_ext >&5 |
2827 | 3011 |
2828 | 3012 |
2829 # Extract the first word of "ranlib", so it can be a program name with args. | 3013 # Extract the first word of "ranlib", so it can be a program name with args. |
2830 set dummy ranlib; ac_word=$2 | 3014 set dummy ranlib; ac_word=$2 |
2831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3015 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2832 echo "configure:2833: checking for $ac_word" >&5 | 3016 echo "configure:3017: checking for $ac_word" >&5 |
2833 | 3017 |
2834 if test -n "$RANLIB"; then | 3018 if test -n "$RANLIB"; then |
2835 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3019 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2836 else | 3020 else |
2837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 3021 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2838 for ac_dir in $PATH; do | 3022 ac_dummy="$PATH" |
3023 for ac_dir in $ac_dummy; do | |
2839 test -z "$ac_dir" && ac_dir=. | 3024 test -z "$ac_dir" && ac_dir=. |
2840 if test -f $ac_dir/$ac_word; then | 3025 if test -f $ac_dir/$ac_word; then |
2841 ac_cv_prog_RANLIB="ranlib" | 3026 ac_cv_prog_RANLIB="ranlib" |
2842 break | 3027 break |
2843 fi | 3028 fi |
2876 # incompatible versions: | 3061 # incompatible versions: |
2877 # SysV /etc/install, /usr/sbin/install | 3062 # SysV /etc/install, /usr/sbin/install |
2878 # SunOS /usr/etc/install | 3063 # SunOS /usr/etc/install |
2879 # IRIX /sbin/install | 3064 # IRIX /sbin/install |
2880 # AIX /bin/install | 3065 # AIX /bin/install |
3066 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3067 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3068 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2883 # ./install, which can be erroneously created by make from ./install.sh. | 3069 # ./install, which can be erroneously created by make from ./install.sh. |
2884 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3070 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2885 echo "configure:2886: checking for a BSD compatible install" >&5 | 3071 echo "configure:3072: checking for a BSD compatible install" >&5 |
2886 if test -z "$INSTALL"; then | 3072 if test -z "$INSTALL"; then |
2887 | 3073 |
2888 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 3074 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
2889 for ac_dir in $PATH; do | 3075 for ac_dir in $PATH; do |
2890 # Account for people who put trailing slashes in PATH elements. | 3076 # Account for people who put trailing slashes in PATH elements. |
2891 case "$ac_dir/" in | 3077 case "$ac_dir/" in |
2892 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 3078 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
2893 *) | 3079 *) |
2894 # OSF1 and SCO ODT 3.0 have their own names for install. | 3080 # OSF1 and SCO ODT 3.0 have their own names for install. |
2895 for ac_prog in ginstall installbsd scoinst install; do | 3081 # Don't use installbsd from OSF since it installs stuff as root |
3082 # by default. | |
3083 for ac_prog in ginstall scoinst install; do | |
2896 if test -f $ac_dir/$ac_prog; then | 3084 if test -f $ac_dir/$ac_prog; then |
2897 if test $ac_prog = install && | 3085 if test $ac_prog = install && |
2898 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 3086 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
2899 # AIX install. It has an incompatible calling convention. | 3087 # AIX install. It has an incompatible calling convention. |
2900 # OSF/1 installbsd also uses dspmsg, but is usable. | |
2901 : | 3088 : |
2902 else | 3089 else |
2903 ac_cv_path_install="$ac_dir/$ac_prog -c" | 3090 ac_cv_path_install="$ac_dir/$ac_prog -c" |
2904 break 2 | 3091 break 2 |
2905 fi | 3092 fi |
2924 | 3111 |
2925 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3112 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2926 # It thinks the first close brace ends the variable substitution. | 3113 # It thinks the first close brace ends the variable substitution. |
2927 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3114 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2928 | 3115 |
3116 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
3117 | |
2929 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3118 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2930 | 3119 |
2931 for ac_prog in 'bison -y' byacc | 3120 for ac_prog in 'bison -y' byacc |
2932 do | 3121 do |
2933 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3122 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2934 set dummy $ac_prog; ac_word=$2 | 3123 set dummy $ac_prog; ac_word=$2 |
2935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3124 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2936 echo "configure:2937: checking for $ac_word" >&5 | 3125 echo "configure:3126: checking for $ac_word" >&5 |
2937 | 3126 |
2938 if test -n "$YACC"; then | 3127 if test -n "$YACC"; then |
2939 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3128 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2940 else | 3129 else |
2941 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 3130 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2942 for ac_dir in $PATH; do | 3131 ac_dummy="$PATH" |
3132 for ac_dir in $ac_dummy; do | |
2943 test -z "$ac_dir" && ac_dir=. | 3133 test -z "$ac_dir" && ac_dir=. |
2944 if test -f $ac_dir/$ac_word; then | 3134 if test -f $ac_dir/$ac_word; then |
2945 ac_cv_prog_YACC="$ac_prog" | 3135 ac_cv_prog_YACC="$ac_prog" |
2946 break | 3136 break |
2947 fi | 3137 fi |
2962 | 3152 |
2963 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3153 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2964 do | 3154 do |
2965 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3155 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2966 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3156 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2967 echo "configure:2968: checking for $ac_hdr" >&5 | 3157 echo "configure:3158: checking for $ac_hdr" >&5 |
2968 | 3158 |
2969 cat > conftest.$ac_ext <<EOF | 3159 cat > conftest.$ac_ext <<EOF |
2970 #line 2971 "configure" | 3160 #line 3161 "configure" |
2971 #include "confdefs.h" | 3161 #include "confdefs.h" |
2972 #include <$ac_hdr> | 3162 #include <$ac_hdr> |
2973 EOF | 3163 EOF |
2974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2975 { (eval echo configure:2976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3165 { (eval echo configure:3166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2976 ac_err=`grep -v '^ *+' conftest.out` | 3166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2977 if test -z "$ac_err"; then | 3167 if test -z "$ac_err"; then |
2978 rm -rf conftest* | 3168 rm -rf conftest* |
2979 eval "ac_cv_header_$ac_safe=yes" | 3169 eval "ac_cv_header_$ac_safe=yes" |
2980 else | 3170 else |
2981 echo "$ac_err" >&5 | 3171 echo "$ac_err" >&5 |
3003 | 3193 |
3004 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3194 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
3005 do | 3195 do |
3006 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3196 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3007 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3197 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3008 echo "configure:3009: checking for $ac_hdr" >&5 | 3198 echo "configure:3199: checking for $ac_hdr" >&5 |
3009 | 3199 |
3010 cat > conftest.$ac_ext <<EOF | 3200 cat > conftest.$ac_ext <<EOF |
3011 #line 3012 "configure" | 3201 #line 3202 "configure" |
3012 #include "confdefs.h" | 3202 #include "confdefs.h" |
3013 #include <$ac_hdr> | 3203 #include <$ac_hdr> |
3014 EOF | 3204 EOF |
3015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3016 { (eval echo configure:3017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3206 { (eval echo configure:3207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3017 ac_err=`grep -v '^ *+' conftest.out` | 3207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3018 if test -z "$ac_err"; then | 3208 if test -z "$ac_err"; then |
3019 rm -rf conftest* | 3209 rm -rf conftest* |
3020 eval "ac_cv_header_$ac_safe=yes" | 3210 eval "ac_cv_header_$ac_safe=yes" |
3021 else | 3211 else |
3022 echo "$ac_err" >&5 | 3212 echo "$ac_err" >&5 |
3044 | 3234 |
3045 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3235 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3046 do | 3236 do |
3047 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3237 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3048 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3238 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3049 echo "configure:3050: checking for $ac_hdr" >&5 | 3239 echo "configure:3240: checking for $ac_hdr" >&5 |
3050 | 3240 |
3051 cat > conftest.$ac_ext <<EOF | 3241 cat > conftest.$ac_ext <<EOF |
3052 #line 3053 "configure" | 3242 #line 3243 "configure" |
3053 #include "confdefs.h" | 3243 #include "confdefs.h" |
3054 #include <$ac_hdr> | 3244 #include <$ac_hdr> |
3055 EOF | 3245 EOF |
3056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3057 { (eval echo configure:3058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3247 { (eval echo configure:3248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3058 ac_err=`grep -v '^ *+' conftest.out` | 3248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3059 if test -z "$ac_err"; then | 3249 if test -z "$ac_err"; then |
3060 rm -rf conftest* | 3250 rm -rf conftest* |
3061 eval "ac_cv_header_$ac_safe=yes" | 3251 eval "ac_cv_header_$ac_safe=yes" |
3062 else | 3252 else |
3063 echo "$ac_err" >&5 | 3253 echo "$ac_err" >&5 |
3082 echo "$ac_t""no" 1>&6 | 3272 echo "$ac_t""no" 1>&6 |
3083 fi | 3273 fi |
3084 done | 3274 done |
3085 | 3275 |
3086 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3276 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3087 echo "configure:3088: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3277 echo "configure:3278: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3088 | 3278 |
3089 cat > conftest.$ac_ext <<EOF | 3279 cat > conftest.$ac_ext <<EOF |
3090 #line 3091 "configure" | 3280 #line 3281 "configure" |
3091 #include "confdefs.h" | 3281 #include "confdefs.h" |
3092 #include <sys/types.h> | 3282 #include <sys/types.h> |
3093 #include <sys/wait.h> | 3283 #include <sys/wait.h> |
3094 #ifndef WEXITSTATUS | 3284 #ifndef WEXITSTATUS |
3095 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3285 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3101 int s; | 3291 int s; |
3102 wait (&s); | 3292 wait (&s); |
3103 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3293 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3104 ; return 0; } | 3294 ; return 0; } |
3105 EOF | 3295 EOF |
3106 if { (eval echo configure:3107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3296 if { (eval echo configure:3297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3107 rm -rf conftest* | 3297 rm -rf conftest* |
3108 ac_cv_header_sys_wait_h=yes | 3298 ac_cv_header_sys_wait_h=yes |
3109 else | 3299 else |
3110 echo "configure: failed program was:" >&5 | 3300 echo "configure: failed program was:" >&5 |
3111 cat conftest.$ac_ext >&5 | 3301 cat conftest.$ac_ext >&5 |
3125 } | 3315 } |
3126 | 3316 |
3127 fi | 3317 fi |
3128 | 3318 |
3129 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3319 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3130 echo "configure:3131: checking for ANSI C header files" >&5 | 3320 echo "configure:3321: checking for ANSI C header files" >&5 |
3131 | 3321 |
3132 cat > conftest.$ac_ext <<EOF | 3322 cat > conftest.$ac_ext <<EOF |
3133 #line 3134 "configure" | 3323 #line 3324 "configure" |
3134 #include "confdefs.h" | 3324 #include "confdefs.h" |
3135 #include <stdlib.h> | 3325 #include <stdlib.h> |
3136 #include <stdarg.h> | 3326 #include <stdarg.h> |
3137 #include <string.h> | 3327 #include <string.h> |
3138 #include <float.h> | 3328 #include <float.h> |
3139 EOF | 3329 EOF |
3140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3330 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3141 { (eval echo configure:3142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3331 { (eval echo configure:3332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3142 ac_err=`grep -v '^ *+' conftest.out` | 3332 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3143 if test -z "$ac_err"; then | 3333 if test -z "$ac_err"; then |
3144 rm -rf conftest* | 3334 rm -rf conftest* |
3145 ac_cv_header_stdc=yes | 3335 ac_cv_header_stdc=yes |
3146 else | 3336 else |
3147 echo "$ac_err" >&5 | 3337 echo "$ac_err" >&5 |
3153 rm -f conftest* | 3343 rm -f conftest* |
3154 | 3344 |
3155 if test $ac_cv_header_stdc = yes; then | 3345 if test $ac_cv_header_stdc = yes; then |
3156 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3157 cat > conftest.$ac_ext <<EOF | 3347 cat > conftest.$ac_ext <<EOF |
3158 #line 3159 "configure" | 3348 #line 3349 "configure" |
3159 #include "confdefs.h" | 3349 #include "confdefs.h" |
3160 #include <string.h> | 3350 #include <string.h> |
3161 EOF | 3351 EOF |
3162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3163 egrep "memchr" >/dev/null 2>&1; then | 3353 egrep "memchr" >/dev/null 2>&1; then |
3171 fi | 3361 fi |
3172 | 3362 |
3173 if test $ac_cv_header_stdc = yes; then | 3363 if test $ac_cv_header_stdc = yes; then |
3174 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3175 cat > conftest.$ac_ext <<EOF | 3365 cat > conftest.$ac_ext <<EOF |
3176 #line 3177 "configure" | 3366 #line 3367 "configure" |
3177 #include "confdefs.h" | 3367 #include "confdefs.h" |
3178 #include <stdlib.h> | 3368 #include <stdlib.h> |
3179 EOF | 3369 EOF |
3180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3181 egrep "free" >/dev/null 2>&1; then | 3371 egrep "free" >/dev/null 2>&1; then |
3189 fi | 3379 fi |
3190 | 3380 |
3191 if test $ac_cv_header_stdc = yes; then | 3381 if test $ac_cv_header_stdc = yes; then |
3192 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3382 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3193 cat > conftest.$ac_ext <<EOF | 3383 cat > conftest.$ac_ext <<EOF |
3194 #line 3195 "configure" | 3384 #line 3385 "configure" |
3195 #include "confdefs.h" | 3385 #include "confdefs.h" |
3196 #include <ctype.h> | 3386 #include <ctype.h> |
3197 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3387 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3198 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3388 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3199 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3389 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3200 int main () { int i; for (i = 0; i < 256; i++) | 3390 int main () { int i; for (i = 0; i < 256; i++) |
3201 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3391 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3202 exit (0); } | 3392 exit (0); } |
3203 | 3393 |
3204 EOF | 3394 EOF |
3205 if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3395 if { (eval echo configure:3396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3206 then | 3396 then |
3207 : | 3397 : |
3208 else | 3398 else |
3209 conftest_rc="$?" | 3399 conftest_rc="$?" |
3210 echo "configure: failed program was:" >&5 | 3400 echo "configure: failed program was:" >&5 |
3226 } | 3416 } |
3227 | 3417 |
3228 fi | 3418 fi |
3229 | 3419 |
3230 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3420 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3231 echo "configure:3232: checking whether time.h and sys/time.h may both be included" >&5 | 3421 echo "configure:3422: checking whether time.h and sys/time.h may both be included" >&5 |
3232 | 3422 |
3233 cat > conftest.$ac_ext <<EOF | 3423 cat > conftest.$ac_ext <<EOF |
3234 #line 3235 "configure" | 3424 #line 3425 "configure" |
3235 #include "confdefs.h" | 3425 #include "confdefs.h" |
3236 #include <sys/types.h> | 3426 #include <sys/types.h> |
3237 #include <sys/time.h> | 3427 #include <sys/time.h> |
3238 #include <time.h> | 3428 #include <time.h> |
3239 int main() { | 3429 int main() { |
3240 struct tm *tp; | 3430 struct tm *tp; |
3241 ; return 0; } | 3431 ; return 0; } |
3242 EOF | 3432 EOF |
3243 if { (eval echo configure:3244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3433 if { (eval echo configure:3434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3244 rm -rf conftest* | 3434 rm -rf conftest* |
3245 ac_cv_header_time=yes | 3435 ac_cv_header_time=yes |
3246 else | 3436 else |
3247 echo "configure: failed program was:" >&5 | 3437 echo "configure: failed program was:" >&5 |
3248 cat conftest.$ac_ext >&5 | 3438 cat conftest.$ac_ext >&5 |
3262 } | 3452 } |
3263 | 3453 |
3264 fi | 3454 fi |
3265 | 3455 |
3266 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3456 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3267 echo "configure:3268: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3457 echo "configure:3458: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3268 | 3458 |
3269 cat > conftest.$ac_ext <<EOF | 3459 cat > conftest.$ac_ext <<EOF |
3270 #line 3271 "configure" | 3460 #line 3461 "configure" |
3271 #include "confdefs.h" | 3461 #include "confdefs.h" |
3272 #include <sys/types.h> | 3462 #include <sys/types.h> |
3273 #include <signal.h> | 3463 #include <signal.h> |
3274 /* NetBSD declares sys_siglist in unistd.h. */ | 3464 /* NetBSD declares sys_siglist in unistd.h. */ |
3275 #ifdef HAVE_UNISTD_H | 3465 #ifdef HAVE_UNISTD_H |
3277 #endif | 3467 #endif |
3278 int main() { | 3468 int main() { |
3279 char *msg = *(sys_siglist + 1); | 3469 char *msg = *(sys_siglist + 1); |
3280 ; return 0; } | 3470 ; return 0; } |
3281 EOF | 3471 EOF |
3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3472 if { (eval echo configure:3473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3283 rm -rf conftest* | 3473 rm -rf conftest* |
3284 ac_cv_decl_sys_siglist=yes | 3474 ac_cv_decl_sys_siglist=yes |
3285 else | 3475 else |
3286 echo "configure: failed program was:" >&5 | 3476 echo "configure: failed program was:" >&5 |
3287 cat conftest.$ac_ext >&5 | 3477 cat conftest.$ac_ext >&5 |
3302 | 3492 |
3303 fi | 3493 fi |
3304 | 3494 |
3305 | 3495 |
3306 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3496 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3307 echo "configure:3308: checking for struct utimbuf" >&5 | 3497 echo "configure:3498: checking for struct utimbuf" >&5 |
3308 cat > conftest.$ac_ext <<EOF | 3498 cat > conftest.$ac_ext <<EOF |
3309 #line 3310 "configure" | 3499 #line 3500 "configure" |
3310 #include "confdefs.h" | 3500 #include "confdefs.h" |
3311 #ifdef TIME_WITH_SYS_TIME | 3501 #ifdef TIME_WITH_SYS_TIME |
3312 #include <sys/time.h> | 3502 #include <sys/time.h> |
3313 #include <time.h> | 3503 #include <time.h> |
3314 #else | 3504 #else |
3323 #endif | 3513 #endif |
3324 int main() { | 3514 int main() { |
3325 static struct utimbuf x; x.actime = x.modtime; | 3515 static struct utimbuf x; x.actime = x.modtime; |
3326 ; return 0; } | 3516 ; return 0; } |
3327 EOF | 3517 EOF |
3328 if { (eval echo configure:3329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3518 if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3329 rm -rf conftest* | 3519 rm -rf conftest* |
3330 echo "$ac_t""yes" 1>&6 | 3520 echo "$ac_t""yes" 1>&6 |
3331 { test "$extra_verbose" = "yes" && cat << \EOF | 3521 { test "$extra_verbose" = "yes" && cat << \EOF |
3332 Defining HAVE_STRUCT_UTIMBUF | 3522 Defining HAVE_STRUCT_UTIMBUF |
3333 EOF | 3523 EOF |
3343 echo "$ac_t""no" 1>&6 | 3533 echo "$ac_t""no" 1>&6 |
3344 fi | 3534 fi |
3345 rm -f conftest* | 3535 rm -f conftest* |
3346 | 3536 |
3347 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3537 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3348 echo "configure:3349: checking return type of signal handlers" >&5 | 3538 echo "configure:3539: checking return type of signal handlers" >&5 |
3349 | 3539 |
3350 cat > conftest.$ac_ext <<EOF | 3540 cat > conftest.$ac_ext <<EOF |
3351 #line 3352 "configure" | 3541 #line 3542 "configure" |
3352 #include "confdefs.h" | 3542 #include "confdefs.h" |
3353 #include <sys/types.h> | 3543 #include <sys/types.h> |
3354 #include <signal.h> | 3544 #include <signal.h> |
3355 #ifdef signal | 3545 #ifdef signal |
3356 #undef signal | 3546 #undef signal |
3363 | 3553 |
3364 int main() { | 3554 int main() { |
3365 int i; | 3555 int i; |
3366 ; return 0; } | 3556 ; return 0; } |
3367 EOF | 3557 EOF |
3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3558 if { (eval echo configure:3559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3369 rm -rf conftest* | 3559 rm -rf conftest* |
3370 ac_cv_type_signal=void | 3560 ac_cv_type_signal=void |
3371 else | 3561 else |
3372 echo "configure: failed program was:" >&5 | 3562 echo "configure: failed program was:" >&5 |
3373 cat conftest.$ac_ext >&5 | 3563 cat conftest.$ac_ext >&5 |
3385 EOF | 3575 EOF |
3386 } | 3576 } |
3387 | 3577 |
3388 | 3578 |
3389 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3579 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3390 echo "configure:3391: checking for size_t" >&5 | 3580 echo "configure:3581: checking for size_t" >&5 |
3391 | 3581 |
3392 cat > conftest.$ac_ext <<EOF | 3582 cat > conftest.$ac_ext <<EOF |
3393 #line 3394 "configure" | 3583 #line 3584 "configure" |
3394 #include "confdefs.h" | 3584 #include "confdefs.h" |
3395 #include <sys/types.h> | 3585 #include <sys/types.h> |
3396 #if STDC_HEADERS | 3586 #if STDC_HEADERS |
3397 #include <stdlib.h> | 3587 #include <stdlib.h> |
3398 #include <stddef.h> | 3588 #include <stddef.h> |
3399 #endif | 3589 #endif |
3400 EOF | 3590 EOF |
3401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3402 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3592 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3403 rm -rf conftest* | 3593 rm -rf conftest* |
3404 ac_cv_type_size_t=yes | 3594 ac_cv_type_size_t=yes |
3405 else | 3595 else |
3406 rm -rf conftest* | 3596 rm -rf conftest* |
3407 ac_cv_type_size_t=no | 3597 ac_cv_type_size_t=no |
3419 } | 3609 } |
3420 | 3610 |
3421 fi | 3611 fi |
3422 | 3612 |
3423 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3613 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3424 echo "configure:3425: checking for pid_t" >&5 | 3614 echo "configure:3615: checking for pid_t" >&5 |
3425 | 3615 |
3426 cat > conftest.$ac_ext <<EOF | 3616 cat > conftest.$ac_ext <<EOF |
3427 #line 3428 "configure" | 3617 #line 3618 "configure" |
3428 #include "confdefs.h" | 3618 #include "confdefs.h" |
3429 #include <sys/types.h> | 3619 #include <sys/types.h> |
3430 #if STDC_HEADERS | 3620 #if STDC_HEADERS |
3431 #include <stdlib.h> | 3621 #include <stdlib.h> |
3432 #include <stddef.h> | 3622 #include <stddef.h> |
3433 #endif | 3623 #endif |
3434 EOF | 3624 EOF |
3435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3436 egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3626 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3437 rm -rf conftest* | 3627 rm -rf conftest* |
3438 ac_cv_type_pid_t=yes | 3628 ac_cv_type_pid_t=yes |
3439 else | 3629 else |
3440 rm -rf conftest* | 3630 rm -rf conftest* |
3441 ac_cv_type_pid_t=no | 3631 ac_cv_type_pid_t=no |
3453 } | 3643 } |
3454 | 3644 |
3455 fi | 3645 fi |
3456 | 3646 |
3457 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3647 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3458 echo "configure:3459: checking for uid_t in sys/types.h" >&5 | 3648 echo "configure:3649: checking for uid_t in sys/types.h" >&5 |
3459 | 3649 |
3460 cat > conftest.$ac_ext <<EOF | 3650 cat > conftest.$ac_ext <<EOF |
3461 #line 3462 "configure" | 3651 #line 3652 "configure" |
3462 #include "confdefs.h" | 3652 #include "confdefs.h" |
3463 #include <sys/types.h> | 3653 #include <sys/types.h> |
3464 EOF | 3654 EOF |
3465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3466 egrep "uid_t" >/dev/null 2>&1; then | 3656 egrep "uid_t" >/dev/null 2>&1; then |
3492 } | 3682 } |
3493 | 3683 |
3494 fi | 3684 fi |
3495 | 3685 |
3496 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3686 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3497 echo "configure:3498: checking for mode_t" >&5 | 3687 echo "configure:3688: checking for mode_t" >&5 |
3498 | 3688 |
3499 cat > conftest.$ac_ext <<EOF | 3689 cat > conftest.$ac_ext <<EOF |
3500 #line 3501 "configure" | 3690 #line 3691 "configure" |
3501 #include "confdefs.h" | 3691 #include "confdefs.h" |
3502 #include <sys/types.h> | 3692 #include <sys/types.h> |
3503 #if STDC_HEADERS | 3693 #if STDC_HEADERS |
3504 #include <stdlib.h> | 3694 #include <stdlib.h> |
3505 #include <stddef.h> | 3695 #include <stddef.h> |
3506 #endif | 3696 #endif |
3507 EOF | 3697 EOF |
3508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3509 egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3699 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3510 rm -rf conftest* | 3700 rm -rf conftest* |
3511 ac_cv_type_mode_t=yes | 3701 ac_cv_type_mode_t=yes |
3512 else | 3702 else |
3513 rm -rf conftest* | 3703 rm -rf conftest* |
3514 ac_cv_type_mode_t=no | 3704 ac_cv_type_mode_t=no |
3526 } | 3716 } |
3527 | 3717 |
3528 fi | 3718 fi |
3529 | 3719 |
3530 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3720 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3531 echo "configure:3532: checking for off_t" >&5 | 3721 echo "configure:3722: checking for off_t" >&5 |
3532 | 3722 |
3533 cat > conftest.$ac_ext <<EOF | 3723 cat > conftest.$ac_ext <<EOF |
3534 #line 3535 "configure" | 3724 #line 3725 "configure" |
3535 #include "confdefs.h" | 3725 #include "confdefs.h" |
3536 #include <sys/types.h> | 3726 #include <sys/types.h> |
3537 #if STDC_HEADERS | 3727 #if STDC_HEADERS |
3538 #include <stdlib.h> | 3728 #include <stdlib.h> |
3539 #include <stddef.h> | 3729 #include <stddef.h> |
3540 #endif | 3730 #endif |
3541 EOF | 3731 EOF |
3542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3543 egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3733 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3544 rm -rf conftest* | 3734 rm -rf conftest* |
3545 ac_cv_type_off_t=yes | 3735 ac_cv_type_off_t=yes |
3546 else | 3736 else |
3547 rm -rf conftest* | 3737 rm -rf conftest* |
3548 ac_cv_type_off_t=no | 3738 ac_cv_type_off_t=no |
3561 | 3751 |
3562 fi | 3752 fi |
3563 | 3753 |
3564 | 3754 |
3565 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3755 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3566 echo "configure:3567: checking for struct timeval" >&5 | 3756 echo "configure:3757: checking for struct timeval" >&5 |
3567 cat > conftest.$ac_ext <<EOF | 3757 cat > conftest.$ac_ext <<EOF |
3568 #line 3569 "configure" | 3758 #line 3759 "configure" |
3569 #include "confdefs.h" | 3759 #include "confdefs.h" |
3570 #ifdef TIME_WITH_SYS_TIME | 3760 #ifdef TIME_WITH_SYS_TIME |
3571 #include <sys/time.h> | 3761 #include <sys/time.h> |
3572 #include <time.h> | 3762 #include <time.h> |
3573 #else | 3763 #else |
3579 #endif | 3769 #endif |
3580 int main() { | 3770 int main() { |
3581 static struct timeval x; x.tv_sec = x.tv_usec; | 3771 static struct timeval x; x.tv_sec = x.tv_usec; |
3582 ; return 0; } | 3772 ; return 0; } |
3583 EOF | 3773 EOF |
3584 if { (eval echo configure:3585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3774 if { (eval echo configure:3775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3585 rm -rf conftest* | 3775 rm -rf conftest* |
3586 echo "$ac_t""yes" 1>&6 | 3776 echo "$ac_t""yes" 1>&6 |
3587 HAVE_TIMEVAL=yes | 3777 HAVE_TIMEVAL=yes |
3588 { test "$extra_verbose" = "yes" && cat << \EOF | 3778 { test "$extra_verbose" = "yes" && cat << \EOF |
3589 Defining HAVE_TIMEVAL | 3779 Defining HAVE_TIMEVAL |
3601 HAVE_TIMEVAL=no | 3791 HAVE_TIMEVAL=no |
3602 fi | 3792 fi |
3603 rm -f conftest* | 3793 rm -f conftest* |
3604 | 3794 |
3605 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3795 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3606 echo "configure:3607: checking whether struct tm is in sys/time.h or time.h" >&5 | 3796 echo "configure:3797: checking whether struct tm is in sys/time.h or time.h" >&5 |
3607 | 3797 |
3608 cat > conftest.$ac_ext <<EOF | 3798 cat > conftest.$ac_ext <<EOF |
3609 #line 3610 "configure" | 3799 #line 3800 "configure" |
3610 #include "confdefs.h" | 3800 #include "confdefs.h" |
3611 #include <sys/types.h> | 3801 #include <sys/types.h> |
3612 #include <time.h> | 3802 #include <time.h> |
3613 int main() { | 3803 int main() { |
3614 struct tm *tp; tp->tm_sec; | 3804 struct tm *tp; tp->tm_sec; |
3615 ; return 0; } | 3805 ; return 0; } |
3616 EOF | 3806 EOF |
3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3807 if { (eval echo configure:3808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3618 rm -rf conftest* | 3808 rm -rf conftest* |
3619 ac_cv_struct_tm=time.h | 3809 ac_cv_struct_tm=time.h |
3620 else | 3810 else |
3621 echo "configure: failed program was:" >&5 | 3811 echo "configure: failed program was:" >&5 |
3622 cat conftest.$ac_ext >&5 | 3812 cat conftest.$ac_ext >&5 |
3636 } | 3826 } |
3637 | 3827 |
3638 fi | 3828 fi |
3639 | 3829 |
3640 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3830 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3641 echo "configure:3642: checking for tm_zone in struct tm" >&5 | 3831 echo "configure:3832: checking for tm_zone in struct tm" >&5 |
3642 | 3832 |
3643 cat > conftest.$ac_ext <<EOF | 3833 cat > conftest.$ac_ext <<EOF |
3644 #line 3645 "configure" | 3834 #line 3835 "configure" |
3645 #include "confdefs.h" | 3835 #include "confdefs.h" |
3646 #include <sys/types.h> | 3836 #include <sys/types.h> |
3647 #include <$ac_cv_struct_tm> | 3837 #include <$ac_cv_struct_tm> |
3648 int main() { | 3838 int main() { |
3649 struct tm tm; tm.tm_zone; | 3839 struct tm tm; tm.tm_zone; |
3650 ; return 0; } | 3840 ; return 0; } |
3651 EOF | 3841 EOF |
3652 if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3842 if { (eval echo configure:3843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3653 rm -rf conftest* | 3843 rm -rf conftest* |
3654 ac_cv_struct_tm_zone=yes | 3844 ac_cv_struct_tm_zone=yes |
3655 else | 3845 else |
3656 echo "configure: failed program was:" >&5 | 3846 echo "configure: failed program was:" >&5 |
3657 cat conftest.$ac_ext >&5 | 3847 cat conftest.$ac_ext >&5 |
3670 EOF | 3860 EOF |
3671 } | 3861 } |
3672 | 3862 |
3673 else | 3863 else |
3674 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3864 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3675 echo "configure:3676: checking for tzname" >&5 | 3865 echo "configure:3866: checking for tzname" >&5 |
3676 | 3866 |
3677 cat > conftest.$ac_ext <<EOF | 3867 cat > conftest.$ac_ext <<EOF |
3678 #line 3679 "configure" | 3868 #line 3869 "configure" |
3679 #include "confdefs.h" | 3869 #include "confdefs.h" |
3680 #include <time.h> | 3870 #include <time.h> |
3681 #ifndef tzname /* For SGI. */ | 3871 #ifndef tzname /* For SGI. */ |
3682 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3872 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3683 #endif | 3873 #endif |
3684 int main() { | 3874 int main() { |
3685 atoi(*tzname); | 3875 atoi(*tzname); |
3686 ; return 0; } | 3876 ; return 0; } |
3687 EOF | 3877 EOF |
3688 if { (eval echo configure:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3878 if { (eval echo configure:3879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3689 rm -rf conftest* | 3879 rm -rf conftest* |
3690 ac_cv_var_tzname=yes | 3880 ac_cv_var_tzname=yes |
3691 else | 3881 else |
3692 echo "configure: failed program was:" >&5 | 3882 echo "configure: failed program was:" >&5 |
3693 cat conftest.$ac_ext >&5 | 3883 cat conftest.$ac_ext >&5 |
3709 fi | 3899 fi |
3710 fi | 3900 fi |
3711 | 3901 |
3712 | 3902 |
3713 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3903 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3714 echo "configure:3715: checking for working const" >&5 | 3904 echo "configure:3905: checking for working const" >&5 |
3715 | 3905 |
3716 cat > conftest.$ac_ext <<EOF | 3906 cat > conftest.$ac_ext <<EOF |
3717 #line 3718 "configure" | 3907 #line 3908 "configure" |
3718 #include "confdefs.h" | 3908 #include "confdefs.h" |
3719 | 3909 |
3720 int main() { | 3910 int main() { |
3721 | 3911 |
3722 /* Ultrix mips cc rejects this. */ | 3912 /* Ultrix mips cc rejects this. */ |
3761 const int foo = 10; | 3951 const int foo = 10; |
3762 } | 3952 } |
3763 | 3953 |
3764 ; return 0; } | 3954 ; return 0; } |
3765 EOF | 3955 EOF |
3766 if { (eval echo configure:3767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3956 if { (eval echo configure:3957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3767 rm -rf conftest* | 3957 rm -rf conftest* |
3768 ac_cv_c_const=yes | 3958 ac_cv_c_const=yes |
3769 else | 3959 else |
3770 echo "configure: failed program was:" >&5 | 3960 echo "configure: failed program was:" >&5 |
3771 cat conftest.$ac_ext >&5 | 3961 cat conftest.$ac_ext >&5 |
3786 | 3976 |
3787 fi | 3977 fi |
3788 | 3978 |
3789 | 3979 |
3790 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3980 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3791 echo "configure:3792: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3981 echo "configure:3982: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3792 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3982 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3793 | 3983 |
3794 cat > conftestmake <<\EOF | 3984 cat > conftestmake <<\EOF |
3795 all: | 3985 all: |
3796 @echo 'ac_maketemp="${MAKE}"' | 3986 @echo 'ac_maketemp="${MAKE}"' |
3811 SET_MAKE="MAKE=${MAKE-make}" | 4001 SET_MAKE="MAKE=${MAKE-make}" |
3812 fi | 4002 fi |
3813 | 4003 |
3814 | 4004 |
3815 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4005 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3816 echo "configure:3817: checking whether byte ordering is bigendian" >&5 | 4006 echo "configure:4007: checking whether byte ordering is bigendian" >&5 |
3817 | 4007 |
3818 ac_cv_c_bigendian=unknown | 4008 ac_cv_c_bigendian=unknown |
3819 # See if sys/param.h defines the BYTE_ORDER macro. | 4009 # See if sys/param.h defines the BYTE_ORDER macro. |
3820 cat > conftest.$ac_ext <<EOF | 4010 cat > conftest.$ac_ext <<EOF |
3821 #line 3822 "configure" | 4011 #line 4012 "configure" |
3822 #include "confdefs.h" | 4012 #include "confdefs.h" |
3823 #include <sys/types.h> | 4013 #include <sys/types.h> |
3824 #include <sys/param.h> | 4014 #include <sys/param.h> |
3825 int main() { | 4015 int main() { |
3826 | 4016 |
3827 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4017 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3828 bogus endian macros | 4018 bogus endian macros |
3829 #endif | 4019 #endif |
3830 ; return 0; } | 4020 ; return 0; } |
3831 EOF | 4021 EOF |
3832 if { (eval echo configure:3833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4022 if { (eval echo configure:4023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3833 rm -rf conftest* | 4023 rm -rf conftest* |
3834 # It does; now see whether it defined to BIG_ENDIAN or not. | 4024 # It does; now see whether it defined to BIG_ENDIAN or not. |
3835 cat > conftest.$ac_ext <<EOF | 4025 cat > conftest.$ac_ext <<EOF |
3836 #line 3837 "configure" | 4026 #line 4027 "configure" |
3837 #include "confdefs.h" | 4027 #include "confdefs.h" |
3838 #include <sys/types.h> | 4028 #include <sys/types.h> |
3839 #include <sys/param.h> | 4029 #include <sys/param.h> |
3840 int main() { | 4030 int main() { |
3841 | 4031 |
3842 #if BYTE_ORDER != BIG_ENDIAN | 4032 #if BYTE_ORDER != BIG_ENDIAN |
3843 not big endian | 4033 not big endian |
3844 #endif | 4034 #endif |
3845 ; return 0; } | 4035 ; return 0; } |
3846 EOF | 4036 EOF |
3847 if { (eval echo configure:3848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4037 if { (eval echo configure:4038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3848 rm -rf conftest* | 4038 rm -rf conftest* |
3849 ac_cv_c_bigendian=yes | 4039 ac_cv_c_bigendian=yes |
3850 else | 4040 else |
3851 echo "configure: failed program was:" >&5 | 4041 echo "configure: failed program was:" >&5 |
3852 cat conftest.$ac_ext >&5 | 4042 cat conftest.$ac_ext >&5 |
3859 cat conftest.$ac_ext >&5 | 4049 cat conftest.$ac_ext >&5 |
3860 fi | 4050 fi |
3861 rm -f conftest* | 4051 rm -f conftest* |
3862 if test $ac_cv_c_bigendian = unknown; then | 4052 if test $ac_cv_c_bigendian = unknown; then |
3863 cat > conftest.$ac_ext <<EOF | 4053 cat > conftest.$ac_ext <<EOF |
3864 #line 3865 "configure" | 4054 #line 4055 "configure" |
3865 #include "confdefs.h" | 4055 #include "confdefs.h" |
3866 main () { | 4056 main () { |
3867 /* Are we little or big endian? From Harbison&Steele. */ | 4057 /* Are we little or big endian? From Harbison&Steele. */ |
3868 union | 4058 union |
3869 { | 4059 { |
3872 } u; | 4062 } u; |
3873 u.l = 1; | 4063 u.l = 1; |
3874 exit (u.c[sizeof (long) - 1] == 1); | 4064 exit (u.c[sizeof (long) - 1] == 1); |
3875 } | 4065 } |
3876 EOF | 4066 EOF |
3877 if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4067 if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3878 then | 4068 then |
3879 ac_cv_c_bigendian=no | 4069 ac_cv_c_bigendian=no |
3880 else | 4070 else |
3881 conftest_rc="$?" | 4071 conftest_rc="$?" |
3882 echo "configure: failed program was:" >&5 | 4072 echo "configure: failed program was:" >&5 |
3899 | 4089 |
3900 fi | 4090 fi |
3901 | 4091 |
3902 | 4092 |
3903 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4093 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3904 echo "configure:3905: checking size of short" >&5 | 4094 echo "configure:4095: checking size of short" >&5 |
3905 | 4095 |
3906 cat > conftest.$ac_ext <<EOF | 4096 cat > conftest.$ac_ext <<EOF |
3907 #line 3908 "configure" | 4097 #line 4098 "configure" |
3908 #include "confdefs.h" | 4098 #include "confdefs.h" |
3909 #include <stdio.h> | 4099 #include <stdio.h> |
3910 main() | 4100 main() |
3911 { | 4101 { |
3912 FILE *f=fopen("conftestval", "w"); | 4102 FILE *f=fopen("conftestval", "w"); |
3913 if (!f) exit(1); | 4103 if (!f) exit(1); |
3914 fprintf(f, "%d\n", sizeof(short)); | 4104 fprintf(f, "%d\n", sizeof(short)); |
3915 exit(0); | 4105 exit(0); |
3916 } | 4106 } |
3917 EOF | 4107 EOF |
3918 if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4108 if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3919 then | 4109 then |
3920 ac_cv_sizeof_short=`cat conftestval` | 4110 ac_cv_sizeof_short=`cat conftestval` |
3921 else | 4111 else |
3922 conftest_rc="$?" | 4112 conftest_rc="$?" |
3923 echo "configure: failed program was:" >&5 | 4113 echo "configure: failed program was:" >&5 |
3941 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4131 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3942 echo "*** PANIC *** Please examine config.log for compilation errors." | 4132 echo "*** PANIC *** Please examine config.log for compilation errors." |
3943 exit 1 | 4133 exit 1 |
3944 fi | 4134 fi |
3945 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4135 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3946 echo "configure:3947: checking size of int" >&5 | 4136 echo "configure:4137: checking size of int" >&5 |
3947 | 4137 |
3948 cat > conftest.$ac_ext <<EOF | 4138 cat > conftest.$ac_ext <<EOF |
3949 #line 3950 "configure" | 4139 #line 4140 "configure" |
3950 #include "confdefs.h" | 4140 #include "confdefs.h" |
3951 #include <stdio.h> | 4141 #include <stdio.h> |
3952 main() | 4142 main() |
3953 { | 4143 { |
3954 FILE *f=fopen("conftestval", "w"); | 4144 FILE *f=fopen("conftestval", "w"); |
3955 if (!f) exit(1); | 4145 if (!f) exit(1); |
3956 fprintf(f, "%d\n", sizeof(int)); | 4146 fprintf(f, "%d\n", sizeof(int)); |
3957 exit(0); | 4147 exit(0); |
3958 } | 4148 } |
3959 EOF | 4149 EOF |
3960 if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4150 if { (eval echo configure:4151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3961 then | 4151 then |
3962 ac_cv_sizeof_int=`cat conftestval` | 4152 ac_cv_sizeof_int=`cat conftestval` |
3963 else | 4153 else |
3964 conftest_rc="$?" | 4154 conftest_rc="$?" |
3965 echo "configure: failed program was:" >&5 | 4155 echo "configure: failed program was:" >&5 |
3977 EOF | 4167 EOF |
3978 } | 4168 } |
3979 | 4169 |
3980 | 4170 |
3981 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4171 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3982 echo "configure:3983: checking size of long" >&5 | 4172 echo "configure:4173: checking size of long" >&5 |
3983 | 4173 |
3984 cat > conftest.$ac_ext <<EOF | 4174 cat > conftest.$ac_ext <<EOF |
3985 #line 3986 "configure" | 4175 #line 4176 "configure" |
3986 #include "confdefs.h" | 4176 #include "confdefs.h" |
3987 #include <stdio.h> | 4177 #include <stdio.h> |
3988 main() | 4178 main() |
3989 { | 4179 { |
3990 FILE *f=fopen("conftestval", "w"); | 4180 FILE *f=fopen("conftestval", "w"); |
3991 if (!f) exit(1); | 4181 if (!f) exit(1); |
3992 fprintf(f, "%d\n", sizeof(long)); | 4182 fprintf(f, "%d\n", sizeof(long)); |
3993 exit(0); | 4183 exit(0); |
3994 } | 4184 } |
3995 EOF | 4185 EOF |
3996 if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4186 if { (eval echo configure:4187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3997 then | 4187 then |
3998 ac_cv_sizeof_long=`cat conftestval` | 4188 ac_cv_sizeof_long=`cat conftestval` |
3999 else | 4189 else |
4000 conftest_rc="$?" | 4190 conftest_rc="$?" |
4001 echo "configure: failed program was:" >&5 | 4191 echo "configure: failed program was:" >&5 |
4013 EOF | 4203 EOF |
4014 } | 4204 } |
4015 | 4205 |
4016 | 4206 |
4017 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4207 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4018 echo "configure:4019: checking size of long long" >&5 | 4208 echo "configure:4209: checking size of long long" >&5 |
4019 | 4209 |
4020 cat > conftest.$ac_ext <<EOF | 4210 cat > conftest.$ac_ext <<EOF |
4021 #line 4022 "configure" | 4211 #line 4212 "configure" |
4022 #include "confdefs.h" | 4212 #include "confdefs.h" |
4023 #include <stdio.h> | 4213 #include <stdio.h> |
4024 main() | 4214 main() |
4025 { | 4215 { |
4026 FILE *f=fopen("conftestval", "w"); | 4216 FILE *f=fopen("conftestval", "w"); |
4027 if (!f) exit(1); | 4217 if (!f) exit(1); |
4028 fprintf(f, "%d\n", sizeof(long long)); | 4218 fprintf(f, "%d\n", sizeof(long long)); |
4029 exit(0); | 4219 exit(0); |
4030 } | 4220 } |
4031 EOF | 4221 EOF |
4032 if { (eval echo configure:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4222 if { (eval echo configure:4223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4033 then | 4223 then |
4034 ac_cv_sizeof_long_long=`cat conftestval` | 4224 ac_cv_sizeof_long_long=`cat conftestval` |
4035 else | 4225 else |
4036 conftest_rc="$?" | 4226 conftest_rc="$?" |
4037 echo "configure: failed program was:" >&5 | 4227 echo "configure: failed program was:" >&5 |
4049 EOF | 4239 EOF |
4050 } | 4240 } |
4051 | 4241 |
4052 | 4242 |
4053 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4243 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4054 echo "configure:4055: checking size of void *" >&5 | 4244 echo "configure:4245: checking size of void *" >&5 |
4055 | 4245 |
4056 cat > conftest.$ac_ext <<EOF | 4246 cat > conftest.$ac_ext <<EOF |
4057 #line 4058 "configure" | 4247 #line 4248 "configure" |
4058 #include "confdefs.h" | 4248 #include "confdefs.h" |
4059 #include <stdio.h> | 4249 #include <stdio.h> |
4060 main() | 4250 main() |
4061 { | 4251 { |
4062 FILE *f=fopen("conftestval", "w"); | 4252 FILE *f=fopen("conftestval", "w"); |
4063 if (!f) exit(1); | 4253 if (!f) exit(1); |
4064 fprintf(f, "%d\n", sizeof(void *)); | 4254 fprintf(f, "%d\n", sizeof(void *)); |
4065 exit(0); | 4255 exit(0); |
4066 } | 4256 } |
4067 EOF | 4257 EOF |
4068 if { (eval echo configure:4069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4258 if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4069 then | 4259 then |
4070 ac_cv_sizeof_void_p=`cat conftestval` | 4260 ac_cv_sizeof_void_p=`cat conftestval` |
4071 else | 4261 else |
4072 conftest_rc="$?" | 4262 conftest_rc="$?" |
4073 echo "configure: failed program was:" >&5 | 4263 echo "configure: failed program was:" >&5 |
4086 } | 4276 } |
4087 | 4277 |
4088 | 4278 |
4089 | 4279 |
4090 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4280 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4091 echo "configure:4092: checking for long file names" >&5 | 4281 echo "configure:4282: checking for long file names" >&5 |
4092 | 4282 |
4093 ac_cv_sys_long_file_names=yes | 4283 ac_cv_sys_long_file_names=yes |
4094 # Test for long file names in all the places we know might matter: | 4284 # Test for long file names in all the places we know might matter: |
4095 # . the current directory, where building will happen | 4285 # . the current directory, where building will happen |
4096 # $prefix/lib where we will be installing things | 4286 # $prefix/lib where we will be installing things |
4133 fi | 4323 fi |
4134 | 4324 |
4135 | 4325 |
4136 | 4326 |
4137 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4327 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4138 echo "configure:4139: checking for sin in -lm" >&5 | 4328 echo "configure:4329: checking for sin in -lm" >&5 |
4139 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4329 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4140 | 4330 |
4141 xe_check_libs=" -lm " | 4331 xe_check_libs=" -lm " |
4142 cat > conftest.$ac_ext <<EOF | 4332 cat > conftest.$ac_ext <<EOF |
4143 #line 4144 "configure" | 4333 #line 4334 "configure" |
4144 #include "confdefs.h" | 4334 #include "confdefs.h" |
4145 /* Override any gcc2 internal prototype to avoid an error. */ | 4335 /* Override any gcc2 internal prototype to avoid an error. */ |
4146 /* We use char because int might match the return type of a gcc2 | 4336 /* We use char because int might match the return type of a gcc2 |
4147 builtin and then its argument prototype would still apply. */ | 4337 builtin and then its argument prototype would still apply. */ |
4148 char sin(); | 4338 char sin(); |
4149 | 4339 |
4150 int main() { | 4340 int main() { |
4151 sin() | 4341 sin() |
4152 ; return 0; } | 4342 ; return 0; } |
4153 EOF | 4343 EOF |
4154 if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4344 if { (eval echo configure:4345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4155 rm -rf conftest* | 4345 rm -rf conftest* |
4156 eval "ac_cv_lib_$ac_lib_var=yes" | 4346 eval "ac_cv_lib_$ac_lib_var=yes" |
4157 else | 4347 else |
4158 echo "configure: failed program was:" >&5 | 4348 echo "configure: failed program was:" >&5 |
4159 cat conftest.$ac_ext >&5 | 4349 cat conftest.$ac_ext >&5 |
4191 EOF | 4381 EOF |
4192 } | 4382 } |
4193 | 4383 |
4194 | 4384 |
4195 cat > conftest.$ac_ext <<EOF | 4385 cat > conftest.$ac_ext <<EOF |
4196 #line 4197 "configure" | 4386 #line 4387 "configure" |
4197 #include "confdefs.h" | 4387 #include "confdefs.h" |
4198 #include <math.h> | 4388 #include <math.h> |
4199 int main() { | 4389 int main() { |
4200 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4390 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4201 ; return 0; } | 4391 ; return 0; } |
4202 EOF | 4392 EOF |
4203 if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4393 if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4204 rm -rf conftest* | 4394 rm -rf conftest* |
4205 { test "$extra_verbose" = "yes" && cat << \EOF | 4395 { test "$extra_verbose" = "yes" && cat << \EOF |
4206 Defining HAVE_INVERSE_HYPERBOLIC | 4396 Defining HAVE_INVERSE_HYPERBOLIC |
4207 EOF | 4397 EOF |
4208 cat >> confdefs.h <<\EOF | 4398 cat >> confdefs.h <<\EOF |
4215 cat conftest.$ac_ext >&5 | 4405 cat conftest.$ac_ext >&5 |
4216 fi | 4406 fi |
4217 rm -f conftest* | 4407 rm -f conftest* |
4218 | 4408 |
4219 echo "checking type of mail spool file locking" 1>&6 | 4409 echo "checking type of mail spool file locking" 1>&6 |
4220 echo "configure:4221: checking type of mail spool file locking" >&5 | 4410 echo "configure:4411: checking type of mail spool file locking" >&5 |
4221 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4411 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4222 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4412 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4223 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4413 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4224 Defining REAL_MAIL_USE_LOCKF | 4414 Defining REAL_MAIL_USE_LOCKF |
4225 EOF | 4415 EOF |
4239 else mail_locking="dot-locking" | 4429 else mail_locking="dot-locking" |
4240 fi | 4430 fi |
4241 | 4431 |
4242 | 4432 |
4243 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4433 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4244 echo "configure:4245: checking for kstat_open in -lkstat" >&5 | 4434 echo "configure:4435: checking for kstat_open in -lkstat" >&5 |
4245 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4435 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4246 | 4436 |
4247 xe_check_libs=" -lkstat " | 4437 xe_check_libs=" -lkstat " |
4248 cat > conftest.$ac_ext <<EOF | 4438 cat > conftest.$ac_ext <<EOF |
4249 #line 4250 "configure" | 4439 #line 4440 "configure" |
4250 #include "confdefs.h" | 4440 #include "confdefs.h" |
4251 /* Override any gcc2 internal prototype to avoid an error. */ | 4441 /* Override any gcc2 internal prototype to avoid an error. */ |
4252 /* We use char because int might match the return type of a gcc2 | 4442 /* We use char because int might match the return type of a gcc2 |
4253 builtin and then its argument prototype would still apply. */ | 4443 builtin and then its argument prototype would still apply. */ |
4254 char kstat_open(); | 4444 char kstat_open(); |
4255 | 4445 |
4256 int main() { | 4446 int main() { |
4257 kstat_open() | 4447 kstat_open() |
4258 ; return 0; } | 4448 ; return 0; } |
4259 EOF | 4449 EOF |
4260 if { (eval echo configure:4261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4450 if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4261 rm -rf conftest* | 4451 rm -rf conftest* |
4262 eval "ac_cv_lib_$ac_lib_var=yes" | 4452 eval "ac_cv_lib_$ac_lib_var=yes" |
4263 else | 4453 else |
4264 echo "configure: failed program was:" >&5 | 4454 echo "configure: failed program was:" >&5 |
4265 cat conftest.$ac_ext >&5 | 4455 cat conftest.$ac_ext >&5 |
4289 | 4479 |
4290 | 4480 |
4291 | 4481 |
4292 | 4482 |
4293 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4483 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4294 echo "configure:4295: checking for kvm_read in -lkvm" >&5 | 4484 echo "configure:4485: checking for kvm_read in -lkvm" >&5 |
4295 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4485 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4296 | 4486 |
4297 xe_check_libs=" -lkvm " | 4487 xe_check_libs=" -lkvm " |
4298 cat > conftest.$ac_ext <<EOF | 4488 cat > conftest.$ac_ext <<EOF |
4299 #line 4300 "configure" | 4489 #line 4490 "configure" |
4300 #include "confdefs.h" | 4490 #include "confdefs.h" |
4301 /* Override any gcc2 internal prototype to avoid an error. */ | 4491 /* Override any gcc2 internal prototype to avoid an error. */ |
4302 /* We use char because int might match the return type of a gcc2 | 4492 /* We use char because int might match the return type of a gcc2 |
4303 builtin and then its argument prototype would still apply. */ | 4493 builtin and then its argument prototype would still apply. */ |
4304 char kvm_read(); | 4494 char kvm_read(); |
4305 | 4495 |
4306 int main() { | 4496 int main() { |
4307 kvm_read() | 4497 kvm_read() |
4308 ; return 0; } | 4498 ; return 0; } |
4309 EOF | 4499 EOF |
4310 if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4500 if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4311 rm -rf conftest* | 4501 rm -rf conftest* |
4312 eval "ac_cv_lib_$ac_lib_var=yes" | 4502 eval "ac_cv_lib_$ac_lib_var=yes" |
4313 else | 4503 else |
4314 echo "configure: failed program was:" >&5 | 4504 echo "configure: failed program was:" >&5 |
4315 cat conftest.$ac_ext >&5 | 4505 cat conftest.$ac_ext >&5 |
4340 | 4530 |
4341 | 4531 |
4342 case "$opsys" in decosf*) | 4532 case "$opsys" in decosf*) |
4343 | 4533 |
4344 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4534 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4345 echo "configure:4346: checking for cma_open in -lpthreads" >&5 | 4535 echo "configure:4536: checking for cma_open in -lpthreads" >&5 |
4346 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4536 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4347 | 4537 |
4348 xe_check_libs=" -lpthreads " | 4538 xe_check_libs=" -lpthreads " |
4349 cat > conftest.$ac_ext <<EOF | 4539 cat > conftest.$ac_ext <<EOF |
4350 #line 4351 "configure" | 4540 #line 4541 "configure" |
4351 #include "confdefs.h" | 4541 #include "confdefs.h" |
4352 /* Override any gcc2 internal prototype to avoid an error. */ | 4542 /* Override any gcc2 internal prototype to avoid an error. */ |
4353 /* We use char because int might match the return type of a gcc2 | 4543 /* We use char because int might match the return type of a gcc2 |
4354 builtin and then its argument prototype would still apply. */ | 4544 builtin and then its argument prototype would still apply. */ |
4355 char cma_open(); | 4545 char cma_open(); |
4356 | 4546 |
4357 int main() { | 4547 int main() { |
4358 cma_open() | 4548 cma_open() |
4359 ; return 0; } | 4549 ; return 0; } |
4360 EOF | 4550 EOF |
4361 if { (eval echo configure:4362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4551 if { (eval echo configure:4552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4362 rm -rf conftest* | 4552 rm -rf conftest* |
4363 eval "ac_cv_lib_$ac_lib_var=yes" | 4553 eval "ac_cv_lib_$ac_lib_var=yes" |
4364 else | 4554 else |
4365 echo "configure: failed program was:" >&5 | 4555 echo "configure: failed program was:" >&5 |
4366 cat conftest.$ac_ext >&5 | 4556 cat conftest.$ac_ext >&5 |
4392 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4582 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4393 c_switch_site="$c_switch_site -threads" ;; | 4583 c_switch_site="$c_switch_site -threads" ;; |
4394 esac | 4584 esac |
4395 | 4585 |
4396 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4586 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4397 echo "configure:4398: checking whether the -xildoff compiler flag is required" >&5 | 4587 echo "configure:4588: checking whether the -xildoff compiler flag is required" >&5 |
4398 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4588 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4399 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4589 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4400 then echo "$ac_t""no" 1>&6; | 4590 then echo "$ac_t""no" 1>&6; |
4401 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 4591 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
4402 fi | 4592 fi |
4403 else echo "$ac_t""no" 1>&6 | 4593 else echo "$ac_t""no" 1>&6 |
4404 fi | 4594 fi |
4405 | 4595 |
4406 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4596 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4407 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4597 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4408 echo "configure:4409: checking for \"-z ignore\" linker flag" >&5 | 4598 echo "configure:4599: checking for \"-z ignore\" linker flag" >&5 |
4409 case "`ld -h 2>&1`" in | 4599 case "`ld -h 2>&1`" in |
4410 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4600 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4411 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4601 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4412 *) echo "$ac_t""no" 1>&6 ;; | 4602 *) echo "$ac_t""no" 1>&6 ;; |
4413 esac | 4603 esac |
4414 fi | 4604 fi |
4415 | 4605 |
4416 | 4606 |
4417 echo "checking "for specified window system"" 1>&6 | 4607 echo "checking "for specified window system"" 1>&6 |
4418 echo "configure:4419: checking "for specified window system"" >&5 | 4608 echo "configure:4609: checking "for specified window system"" >&5 |
4419 | 4609 |
4420 if test "$with_x11" != "no"; then | 4610 if test "$with_x11" != "no"; then |
4421 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4611 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4422 window_system=x11 with_x11=yes | 4612 window_system=x11 with_x11=yes |
4423 | 4613 |
4446 # If we find X, set shell vars x_includes and x_libraries to the | 4636 # If we find X, set shell vars x_includes and x_libraries to the |
4447 # paths, otherwise set no_x=yes. | 4637 # paths, otherwise set no_x=yes. |
4448 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4638 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4449 # --without-x overrides everything else, but does not touch the cache. | 4639 # --without-x overrides everything else, but does not touch the cache. |
4450 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4640 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4451 echo "configure:4452: checking for X" >&5 | 4641 echo "configure:4642: checking for X" >&5 |
4452 | 4642 |
4453 # Check whether --with-x or --without-x was given. | 4643 # Check whether --with-x or --without-x was given. |
4454 if test "${with_x+set}" = set; then | 4644 if test "${with_x+set}" = set; then |
4455 withval="$with_x" | 4645 withval="$with_x" |
4456 : | 4646 : |
4506 # Guess where to find include files, by looking for this one X11 .h file. | 4696 # Guess where to find include files, by looking for this one X11 .h file. |
4507 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4697 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4508 | 4698 |
4509 # First, try using that file with no special directory specified. | 4699 # First, try using that file with no special directory specified. |
4510 cat > conftest.$ac_ext <<EOF | 4700 cat > conftest.$ac_ext <<EOF |
4511 #line 4512 "configure" | 4701 #line 4702 "configure" |
4512 #include "confdefs.h" | 4702 #include "confdefs.h" |
4513 #include <$x_direct_test_include> | 4703 #include <$x_direct_test_include> |
4514 EOF | 4704 EOF |
4515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4516 { (eval echo configure:4517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4706 { (eval echo configure:4707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4517 ac_err=`grep -v '^ *+' conftest.out` | 4707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4518 if test -z "$ac_err"; then | 4708 if test -z "$ac_err"; then |
4519 rm -rf conftest* | 4709 rm -rf conftest* |
4520 # We can compile using X headers with no special include directory. | 4710 # We can compile using X headers with no special include directory. |
4521 ac_x_includes= | 4711 ac_x_includes= |
4522 else | 4712 else |
4580 # See if we find them without any special options. | 4770 # See if we find them without any special options. |
4581 # Don't add to $LIBS permanently. | 4771 # Don't add to $LIBS permanently. |
4582 ac_save_LIBS="$LIBS" | 4772 ac_save_LIBS="$LIBS" |
4583 LIBS="-l$x_direct_test_library $LIBS" | 4773 LIBS="-l$x_direct_test_library $LIBS" |
4584 cat > conftest.$ac_ext <<EOF | 4774 cat > conftest.$ac_ext <<EOF |
4585 #line 4586 "configure" | 4775 #line 4776 "configure" |
4586 #include "confdefs.h" | 4776 #include "confdefs.h" |
4587 | 4777 |
4588 int main() { | 4778 int main() { |
4589 ${x_direct_test_function}() | 4779 ${x_direct_test_function}() |
4590 ; return 0; } | 4780 ; return 0; } |
4591 EOF | 4781 EOF |
4592 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4782 if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4593 rm -rf conftest* | 4783 rm -rf conftest* |
4594 LIBS="$ac_save_LIBS" | 4784 LIBS="$ac_save_LIBS" |
4595 # We can link X programs with no special library path. | 4785 # We can link X programs with no special library path. |
4596 ac_x_libraries= | 4786 ac_x_libraries= |
4597 else | 4787 else |
4696 # For Solaris; some versions of Sun CC require a space after -R and | 4886 # For Solaris; some versions of Sun CC require a space after -R and |
4697 # others require no space. Words are not sufficient . . . . | 4887 # others require no space. Words are not sufficient . . . . |
4698 case "`(uname -sr) 2>/dev/null`" in | 4888 case "`(uname -sr) 2>/dev/null`" in |
4699 "SunOS 5"*) | 4889 "SunOS 5"*) |
4700 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4890 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4701 echo "configure:4702: checking whether -R must be followed by a space" >&5 | 4891 echo "configure:4892: checking whether -R must be followed by a space" >&5 |
4702 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4892 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4703 cat > conftest.$ac_ext <<EOF | 4893 cat > conftest.$ac_ext <<EOF |
4704 #line 4705 "configure" | 4894 #line 4895 "configure" |
4705 #include "confdefs.h" | 4895 #include "confdefs.h" |
4706 | 4896 |
4707 int main() { | 4897 int main() { |
4708 | 4898 |
4709 ; return 0; } | 4899 ; return 0; } |
4710 EOF | 4900 EOF |
4711 if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4901 if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4712 rm -rf conftest* | 4902 rm -rf conftest* |
4713 ac_R_nospace=yes | 4903 ac_R_nospace=yes |
4714 else | 4904 else |
4715 echo "configure: failed program was:" >&5 | 4905 echo "configure: failed program was:" >&5 |
4716 cat conftest.$ac_ext >&5 | 4906 cat conftest.$ac_ext >&5 |
4722 echo "$ac_t""no" 1>&6 | 4912 echo "$ac_t""no" 1>&6 |
4723 X_LIBS="$X_LIBS -R$x_libraries" | 4913 X_LIBS="$X_LIBS -R$x_libraries" |
4724 else | 4914 else |
4725 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4915 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4726 cat > conftest.$ac_ext <<EOF | 4916 cat > conftest.$ac_ext <<EOF |
4727 #line 4728 "configure" | 4917 #line 4918 "configure" |
4728 #include "confdefs.h" | 4918 #include "confdefs.h" |
4729 | 4919 |
4730 int main() { | 4920 int main() { |
4731 | 4921 |
4732 ; return 0; } | 4922 ; return 0; } |
4733 EOF | 4923 EOF |
4734 if { (eval echo configure:4735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4924 if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4735 rm -rf conftest* | 4925 rm -rf conftest* |
4736 ac_R_space=yes | 4926 ac_R_space=yes |
4737 else | 4927 else |
4738 echo "configure: failed program was:" >&5 | 4928 echo "configure: failed program was:" >&5 |
4739 cat conftest.$ac_ext >&5 | 4929 cat conftest.$ac_ext >&5 |
4765 if test "$with_dnet" = "no" ; then | 4955 if test "$with_dnet" = "no" ; then |
4766 ac_cv_lib_dnet_dnet_ntoa=no | 4956 ac_cv_lib_dnet_dnet_ntoa=no |
4767 else | 4957 else |
4768 | 4958 |
4769 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4959 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4770 echo "configure:4771: checking for dnet_ntoa in -ldnet" >&5 | 4960 echo "configure:4961: checking for dnet_ntoa in -ldnet" >&5 |
4771 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4961 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4772 | 4962 |
4773 xe_check_libs=" -ldnet " | 4963 xe_check_libs=" -ldnet " |
4774 cat > conftest.$ac_ext <<EOF | 4964 cat > conftest.$ac_ext <<EOF |
4775 #line 4776 "configure" | 4965 #line 4966 "configure" |
4776 #include "confdefs.h" | 4966 #include "confdefs.h" |
4777 /* Override any gcc2 internal prototype to avoid an error. */ | 4967 /* Override any gcc2 internal prototype to avoid an error. */ |
4778 /* We use char because int might match the return type of a gcc2 | 4968 /* We use char because int might match the return type of a gcc2 |
4779 builtin and then its argument prototype would still apply. */ | 4969 builtin and then its argument prototype would still apply. */ |
4780 char dnet_ntoa(); | 4970 char dnet_ntoa(); |
4781 | 4971 |
4782 int main() { | 4972 int main() { |
4783 dnet_ntoa() | 4973 dnet_ntoa() |
4784 ; return 0; } | 4974 ; return 0; } |
4785 EOF | 4975 EOF |
4786 if { (eval echo configure:4787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4787 rm -rf conftest* | 4977 rm -rf conftest* |
4788 eval "ac_cv_lib_$ac_lib_var=yes" | 4978 eval "ac_cv_lib_$ac_lib_var=yes" |
4789 else | 4979 else |
4790 echo "configure: failed program was:" >&5 | 4980 echo "configure: failed program was:" >&5 |
4791 cat conftest.$ac_ext >&5 | 4981 cat conftest.$ac_ext >&5 |
4805 fi | 4995 fi |
4806 | 4996 |
4807 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4997 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4808 | 4998 |
4809 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4999 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4810 echo "configure:4811: checking for dnet_ntoa in -ldnet_stub" >&5 | 5000 echo "configure:5001: checking for dnet_ntoa in -ldnet_stub" >&5 |
4811 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5001 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4812 | 5002 |
4813 xe_check_libs=" -ldnet_stub " | 5003 xe_check_libs=" -ldnet_stub " |
4814 cat > conftest.$ac_ext <<EOF | 5004 cat > conftest.$ac_ext <<EOF |
4815 #line 4816 "configure" | 5005 #line 5006 "configure" |
4816 #include "confdefs.h" | 5006 #include "confdefs.h" |
4817 /* Override any gcc2 internal prototype to avoid an error. */ | 5007 /* Override any gcc2 internal prototype to avoid an error. */ |
4818 /* We use char because int might match the return type of a gcc2 | 5008 /* We use char because int might match the return type of a gcc2 |
4819 builtin and then its argument prototype would still apply. */ | 5009 builtin and then its argument prototype would still apply. */ |
4820 char dnet_ntoa(); | 5010 char dnet_ntoa(); |
4821 | 5011 |
4822 int main() { | 5012 int main() { |
4823 dnet_ntoa() | 5013 dnet_ntoa() |
4824 ; return 0; } | 5014 ; return 0; } |
4825 EOF | 5015 EOF |
4826 if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5016 if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4827 rm -rf conftest* | 5017 rm -rf conftest* |
4828 eval "ac_cv_lib_$ac_lib_var=yes" | 5018 eval "ac_cv_lib_$ac_lib_var=yes" |
4829 else | 5019 else |
4830 echo "configure: failed program was:" >&5 | 5020 echo "configure: failed program was:" >&5 |
4831 cat conftest.$ac_ext >&5 | 5021 cat conftest.$ac_ext >&5 |
4850 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5040 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4851 # needs -lnsl. | 5041 # needs -lnsl. |
4852 # The nsl library prevents programs from opening the X display | 5042 # The nsl library prevents programs from opening the X display |
4853 # on Irix 5.2, according to dickey@clark.net. | 5043 # on Irix 5.2, according to dickey@clark.net. |
4854 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5044 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4855 echo "configure:4856: checking for gethostbyname" >&5 | 5045 echo "configure:5046: checking for gethostbyname" >&5 |
4856 | 5046 |
4857 cat > conftest.$ac_ext <<EOF | 5047 cat > conftest.$ac_ext <<EOF |
4858 #line 4859 "configure" | 5048 #line 5049 "configure" |
4859 #include "confdefs.h" | 5049 #include "confdefs.h" |
4860 /* System header to define __stub macros and hopefully few prototypes, | 5050 /* System header to define __stub macros and hopefully few prototypes, |
4861 which can conflict with char gethostbyname(); below. */ | 5051 which can conflict with char gethostbyname(); below. */ |
4862 #include <assert.h> | 5052 #include <assert.h> |
4863 /* Override any gcc2 internal prototype to avoid an error. */ | 5053 /* Override any gcc2 internal prototype to avoid an error. */ |
4876 gethostbyname(); | 5066 gethostbyname(); |
4877 #endif | 5067 #endif |
4878 | 5068 |
4879 ; return 0; } | 5069 ; return 0; } |
4880 EOF | 5070 EOF |
4881 if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5071 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4882 rm -rf conftest* | 5072 rm -rf conftest* |
4883 eval "ac_cv_func_gethostbyname=yes" | 5073 eval "ac_cv_func_gethostbyname=yes" |
4884 else | 5074 else |
4885 echo "configure: failed program was:" >&5 | 5075 echo "configure: failed program was:" >&5 |
4886 cat conftest.$ac_ext >&5 | 5076 cat conftest.$ac_ext >&5 |
4897 fi | 5087 fi |
4898 | 5088 |
4899 if test $ac_cv_func_gethostbyname = no; then | 5089 if test $ac_cv_func_gethostbyname = no; then |
4900 | 5090 |
4901 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5091 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4902 echo "configure:4903: checking for gethostbyname in -lnsl" >&5 | 5092 echo "configure:5093: checking for gethostbyname in -lnsl" >&5 |
4903 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5093 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4904 | 5094 |
4905 xe_check_libs=" -lnsl " | 5095 xe_check_libs=" -lnsl " |
4906 cat > conftest.$ac_ext <<EOF | 5096 cat > conftest.$ac_ext <<EOF |
4907 #line 4908 "configure" | 5097 #line 5098 "configure" |
4908 #include "confdefs.h" | 5098 #include "confdefs.h" |
4909 /* Override any gcc2 internal prototype to avoid an error. */ | 5099 /* Override any gcc2 internal prototype to avoid an error. */ |
4910 /* We use char because int might match the return type of a gcc2 | 5100 /* We use char because int might match the return type of a gcc2 |
4911 builtin and then its argument prototype would still apply. */ | 5101 builtin and then its argument prototype would still apply. */ |
4912 char gethostbyname(); | 5102 char gethostbyname(); |
4913 | 5103 |
4914 int main() { | 5104 int main() { |
4915 gethostbyname() | 5105 gethostbyname() |
4916 ; return 0; } | 5106 ; return 0; } |
4917 EOF | 5107 EOF |
4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5108 if { (eval echo configure:5109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4919 rm -rf conftest* | 5109 rm -rf conftest* |
4920 eval "ac_cv_lib_$ac_lib_var=yes" | 5110 eval "ac_cv_lib_$ac_lib_var=yes" |
4921 else | 5111 else |
4922 echo "configure: failed program was:" >&5 | 5112 echo "configure: failed program was:" >&5 |
4923 cat conftest.$ac_ext >&5 | 5113 cat conftest.$ac_ext >&5 |
4943 # on later versions), says simon@lia.di.epfl.ch: it contains | 5133 # on later versions), says simon@lia.di.epfl.ch: it contains |
4944 # gethostby* variants that don't use the nameserver (or something). | 5134 # gethostby* variants that don't use the nameserver (or something). |
4945 # -lsocket must be given before -lnsl if both are needed. | 5135 # -lsocket must be given before -lnsl if both are needed. |
4946 # We assume that if connect needs -lnsl, so does gethostbyname. | 5136 # We assume that if connect needs -lnsl, so does gethostbyname. |
4947 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5137 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4948 echo "configure:4949: checking for connect" >&5 | 5138 echo "configure:5139: checking for connect" >&5 |
4949 | 5139 |
4950 cat > conftest.$ac_ext <<EOF | 5140 cat > conftest.$ac_ext <<EOF |
4951 #line 4952 "configure" | 5141 #line 5142 "configure" |
4952 #include "confdefs.h" | 5142 #include "confdefs.h" |
4953 /* System header to define __stub macros and hopefully few prototypes, | 5143 /* System header to define __stub macros and hopefully few prototypes, |
4954 which can conflict with char connect(); below. */ | 5144 which can conflict with char connect(); below. */ |
4955 #include <assert.h> | 5145 #include <assert.h> |
4956 /* Override any gcc2 internal prototype to avoid an error. */ | 5146 /* Override any gcc2 internal prototype to avoid an error. */ |
4969 connect(); | 5159 connect(); |
4970 #endif | 5160 #endif |
4971 | 5161 |
4972 ; return 0; } | 5162 ; return 0; } |
4973 EOF | 5163 EOF |
4974 if { (eval echo configure:4975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5164 if { (eval echo configure:5165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4975 rm -rf conftest* | 5165 rm -rf conftest* |
4976 eval "ac_cv_func_connect=yes" | 5166 eval "ac_cv_func_connect=yes" |
4977 else | 5167 else |
4978 echo "configure: failed program was:" >&5 | 5168 echo "configure: failed program was:" >&5 |
4979 cat conftest.$ac_ext >&5 | 5169 cat conftest.$ac_ext >&5 |
4992 if test $ac_cv_func_connect = no; then | 5182 if test $ac_cv_func_connect = no; then |
4993 | 5183 |
4994 xe_msg_checking="for connect in -lsocket" | 5184 xe_msg_checking="for connect in -lsocket" |
4995 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5185 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4996 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5186 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4997 echo "configure:4998: checking "$xe_msg_checking"" >&5 | 5187 echo "configure:5188: checking "$xe_msg_checking"" >&5 |
4998 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5188 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4999 | 5189 |
5000 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5190 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5001 cat > conftest.$ac_ext <<EOF | 5191 cat > conftest.$ac_ext <<EOF |
5002 #line 5003 "configure" | 5192 #line 5193 "configure" |
5003 #include "confdefs.h" | 5193 #include "confdefs.h" |
5004 /* Override any gcc2 internal prototype to avoid an error. */ | 5194 /* Override any gcc2 internal prototype to avoid an error. */ |
5005 /* We use char because int might match the return type of a gcc2 | 5195 /* We use char because int might match the return type of a gcc2 |
5006 builtin and then its argument prototype would still apply. */ | 5196 builtin and then its argument prototype would still apply. */ |
5007 char connect(); | 5197 char connect(); |
5008 | 5198 |
5009 int main() { | 5199 int main() { |
5010 connect() | 5200 connect() |
5011 ; return 0; } | 5201 ; return 0; } |
5012 EOF | 5202 EOF |
5013 if { (eval echo configure:5014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5203 if { (eval echo configure:5204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5014 rm -rf conftest* | 5204 rm -rf conftest* |
5015 eval "ac_cv_lib_$ac_lib_var=yes" | 5205 eval "ac_cv_lib_$ac_lib_var=yes" |
5016 else | 5206 else |
5017 echo "configure: failed program was:" >&5 | 5207 echo "configure: failed program was:" >&5 |
5018 cat conftest.$ac_ext >&5 | 5208 cat conftest.$ac_ext >&5 |
5032 | 5222 |
5033 fi | 5223 fi |
5034 | 5224 |
5035 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5225 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5036 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5226 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5037 echo "configure:5038: checking for remove" >&5 | 5227 echo "configure:5228: checking for remove" >&5 |
5038 | 5228 |
5039 cat > conftest.$ac_ext <<EOF | 5229 cat > conftest.$ac_ext <<EOF |
5040 #line 5041 "configure" | 5230 #line 5231 "configure" |
5041 #include "confdefs.h" | 5231 #include "confdefs.h" |
5042 /* System header to define __stub macros and hopefully few prototypes, | 5232 /* System header to define __stub macros and hopefully few prototypes, |
5043 which can conflict with char remove(); below. */ | 5233 which can conflict with char remove(); below. */ |
5044 #include <assert.h> | 5234 #include <assert.h> |
5045 /* Override any gcc2 internal prototype to avoid an error. */ | 5235 /* Override any gcc2 internal prototype to avoid an error. */ |
5058 remove(); | 5248 remove(); |
5059 #endif | 5249 #endif |
5060 | 5250 |
5061 ; return 0; } | 5251 ; return 0; } |
5062 EOF | 5252 EOF |
5063 if { (eval echo configure:5064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5253 if { (eval echo configure:5254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5064 rm -rf conftest* | 5254 rm -rf conftest* |
5065 eval "ac_cv_func_remove=yes" | 5255 eval "ac_cv_func_remove=yes" |
5066 else | 5256 else |
5067 echo "configure: failed program was:" >&5 | 5257 echo "configure: failed program was:" >&5 |
5068 cat conftest.$ac_ext >&5 | 5258 cat conftest.$ac_ext >&5 |
5079 fi | 5269 fi |
5080 | 5270 |
5081 if test $ac_cv_func_remove = no; then | 5271 if test $ac_cv_func_remove = no; then |
5082 | 5272 |
5083 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5273 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5084 echo "configure:5085: checking for remove in -lposix" >&5 | 5274 echo "configure:5275: checking for remove in -lposix" >&5 |
5085 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5275 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5086 | 5276 |
5087 xe_check_libs=" -lposix " | 5277 xe_check_libs=" -lposix " |
5088 cat > conftest.$ac_ext <<EOF | 5278 cat > conftest.$ac_ext <<EOF |
5089 #line 5090 "configure" | 5279 #line 5280 "configure" |
5090 #include "confdefs.h" | 5280 #include "confdefs.h" |
5091 /* Override any gcc2 internal prototype to avoid an error. */ | 5281 /* Override any gcc2 internal prototype to avoid an error. */ |
5092 /* We use char because int might match the return type of a gcc2 | 5282 /* We use char because int might match the return type of a gcc2 |
5093 builtin and then its argument prototype would still apply. */ | 5283 builtin and then its argument prototype would still apply. */ |
5094 char remove(); | 5284 char remove(); |
5095 | 5285 |
5096 int main() { | 5286 int main() { |
5097 remove() | 5287 remove() |
5098 ; return 0; } | 5288 ; return 0; } |
5099 EOF | 5289 EOF |
5100 if { (eval echo configure:5101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5290 if { (eval echo configure:5291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5101 rm -rf conftest* | 5291 rm -rf conftest* |
5102 eval "ac_cv_lib_$ac_lib_var=yes" | 5292 eval "ac_cv_lib_$ac_lib_var=yes" |
5103 else | 5293 else |
5104 echo "configure: failed program was:" >&5 | 5294 echo "configure: failed program was:" >&5 |
5105 cat conftest.$ac_ext >&5 | 5295 cat conftest.$ac_ext >&5 |
5119 | 5309 |
5120 fi | 5310 fi |
5121 | 5311 |
5122 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5312 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5123 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5313 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5124 echo "configure:5125: checking for shmat" >&5 | 5314 echo "configure:5315: checking for shmat" >&5 |
5125 | 5315 |
5126 cat > conftest.$ac_ext <<EOF | 5316 cat > conftest.$ac_ext <<EOF |
5127 #line 5128 "configure" | 5317 #line 5318 "configure" |
5128 #include "confdefs.h" | 5318 #include "confdefs.h" |
5129 /* System header to define __stub macros and hopefully few prototypes, | 5319 /* System header to define __stub macros and hopefully few prototypes, |
5130 which can conflict with char shmat(); below. */ | 5320 which can conflict with char shmat(); below. */ |
5131 #include <assert.h> | 5321 #include <assert.h> |
5132 /* Override any gcc2 internal prototype to avoid an error. */ | 5322 /* Override any gcc2 internal prototype to avoid an error. */ |
5145 shmat(); | 5335 shmat(); |
5146 #endif | 5336 #endif |
5147 | 5337 |
5148 ; return 0; } | 5338 ; return 0; } |
5149 EOF | 5339 EOF |
5150 if { (eval echo configure:5151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5340 if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5151 rm -rf conftest* | 5341 rm -rf conftest* |
5152 eval "ac_cv_func_shmat=yes" | 5342 eval "ac_cv_func_shmat=yes" |
5153 else | 5343 else |
5154 echo "configure: failed program was:" >&5 | 5344 echo "configure: failed program was:" >&5 |
5155 cat conftest.$ac_ext >&5 | 5345 cat conftest.$ac_ext >&5 |
5166 fi | 5356 fi |
5167 | 5357 |
5168 if test $ac_cv_func_shmat = no; then | 5358 if test $ac_cv_func_shmat = no; then |
5169 | 5359 |
5170 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5360 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5171 echo "configure:5172: checking for shmat in -lipc" >&5 | 5361 echo "configure:5362: checking for shmat in -lipc" >&5 |
5172 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5362 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5173 | 5363 |
5174 xe_check_libs=" -lipc " | 5364 xe_check_libs=" -lipc " |
5175 cat > conftest.$ac_ext <<EOF | 5365 cat > conftest.$ac_ext <<EOF |
5176 #line 5177 "configure" | 5366 #line 5367 "configure" |
5177 #include "confdefs.h" | 5367 #include "confdefs.h" |
5178 /* Override any gcc2 internal prototype to avoid an error. */ | 5368 /* Override any gcc2 internal prototype to avoid an error. */ |
5179 /* We use char because int might match the return type of a gcc2 | 5369 /* We use char because int might match the return type of a gcc2 |
5180 builtin and then its argument prototype would still apply. */ | 5370 builtin and then its argument prototype would still apply. */ |
5181 char shmat(); | 5371 char shmat(); |
5182 | 5372 |
5183 int main() { | 5373 int main() { |
5184 shmat() | 5374 shmat() |
5185 ; return 0; } | 5375 ; return 0; } |
5186 EOF | 5376 EOF |
5187 if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5188 rm -rf conftest* | 5378 rm -rf conftest* |
5189 eval "ac_cv_lib_$ac_lib_var=yes" | 5379 eval "ac_cv_lib_$ac_lib_var=yes" |
5190 else | 5380 else |
5191 echo "configure: failed program was:" >&5 | 5381 echo "configure: failed program was:" >&5 |
5192 cat conftest.$ac_ext >&5 | 5382 cat conftest.$ac_ext >&5 |
5215 # we get undefined symbols. So assume we have SM if we have ICE. | 5405 # we get undefined symbols. So assume we have SM if we have ICE. |
5216 # These have to be linked with before -lX11, unlike the other | 5406 # These have to be linked with before -lX11, unlike the other |
5217 # libraries we check for below, so use a different variable. | 5407 # libraries we check for below, so use a different variable. |
5218 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5408 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5219 | 5409 |
5220 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5410 xe_msg_checking="for IceConnectionNumber in -lICE" |
5221 echo "configure:5222: checking for IceConnectionNumber in -lICE" >&5 | 5411 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5412 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
5413 echo "configure:5414: checking "$xe_msg_checking"" >&5 | |
5222 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5414 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5223 | 5415 |
5224 xe_check_libs=" -lICE " | 5416 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5225 cat > conftest.$ac_ext <<EOF | 5417 cat > conftest.$ac_ext <<EOF |
5226 #line 5227 "configure" | 5418 #line 5419 "configure" |
5227 #include "confdefs.h" | 5419 #include "confdefs.h" |
5228 /* Override any gcc2 internal prototype to avoid an error. */ | 5420 /* Override any gcc2 internal prototype to avoid an error. */ |
5229 /* We use char because int might match the return type of a gcc2 | 5421 /* We use char because int might match the return type of a gcc2 |
5230 builtin and then its argument prototype would still apply. */ | 5422 builtin and then its argument prototype would still apply. */ |
5231 char IceConnectionNumber(); | 5423 char IceConnectionNumber(); |
5232 | 5424 |
5233 int main() { | 5425 int main() { |
5234 IceConnectionNumber() | 5426 IceConnectionNumber() |
5235 ; return 0; } | 5427 ; return 0; } |
5236 EOF | 5428 EOF |
5237 if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5238 rm -rf conftest* | 5430 rm -rf conftest* |
5239 eval "ac_cv_lib_$ac_lib_var=yes" | 5431 eval "ac_cv_lib_$ac_lib_var=yes" |
5240 else | 5432 else |
5241 echo "configure: failed program was:" >&5 | 5433 echo "configure: failed program was:" >&5 |
5242 cat conftest.$ac_ext >&5 | 5434 cat conftest.$ac_ext >&5 |
5401 EOF | 5593 EOF |
5402 } | 5594 } |
5403 | 5595 |
5404 | 5596 |
5405 echo "checking for X defines extracted by xmkmf" 1>&6 | 5597 echo "checking for X defines extracted by xmkmf" 1>&6 |
5406 echo "configure:5407: checking for X defines extracted by xmkmf" >&5 | 5598 echo "configure:5599: checking for X defines extracted by xmkmf" >&5 |
5407 rm -fr conftestdir | 5599 rm -fr conftestdir |
5408 if mkdir conftestdir; then | 5600 if mkdir conftestdir; then |
5409 cd conftestdir | 5601 cd conftestdir |
5410 cat > Imakefile <<'EOF' | 5602 cat > Imakefile <<'EOF' |
5411 xetest: | 5603 xetest: |
5433 done | 5625 done |
5434 fi | 5626 fi |
5435 | 5627 |
5436 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5628 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5437 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5629 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5438 echo "configure:5439: checking for X11/Intrinsic.h" >&5 | 5630 echo "configure:5631: checking for X11/Intrinsic.h" >&5 |
5439 | 5631 |
5440 cat > conftest.$ac_ext <<EOF | 5632 cat > conftest.$ac_ext <<EOF |
5441 #line 5442 "configure" | 5633 #line 5634 "configure" |
5442 #include "confdefs.h" | 5634 #include "confdefs.h" |
5443 #include <X11/Intrinsic.h> | 5635 #include <X11/Intrinsic.h> |
5444 EOF | 5636 EOF |
5445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5446 { (eval echo configure:5447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5638 { (eval echo configure:5639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5447 ac_err=`grep -v '^ *+' conftest.out` | 5639 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5448 if test -z "$ac_err"; then | 5640 if test -z "$ac_err"; then |
5449 rm -rf conftest* | 5641 rm -rf conftest* |
5450 eval "ac_cv_header_$ac_safe=yes" | 5642 eval "ac_cv_header_$ac_safe=yes" |
5451 else | 5643 else |
5452 echo "$ac_err" >&5 | 5644 echo "$ac_err" >&5 |
5465 fi | 5657 fi |
5466 | 5658 |
5467 | 5659 |
5468 | 5660 |
5469 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5661 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5470 echo "configure:5471: checking for XOpenDisplay in -lX11" >&5 | 5662 echo "configure:5663: checking for XOpenDisplay in -lX11" >&5 |
5471 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5663 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5472 | 5664 |
5473 xe_check_libs=" -lX11 " | 5665 xe_check_libs=" -lX11 " |
5474 cat > conftest.$ac_ext <<EOF | 5666 cat > conftest.$ac_ext <<EOF |
5475 #line 5476 "configure" | 5667 #line 5668 "configure" |
5476 #include "confdefs.h" | 5668 #include "confdefs.h" |
5477 /* Override any gcc2 internal prototype to avoid an error. */ | 5669 /* Override any gcc2 internal prototype to avoid an error. */ |
5478 /* We use char because int might match the return type of a gcc2 | 5670 /* We use char because int might match the return type of a gcc2 |
5479 builtin and then its argument prototype would still apply. */ | 5671 builtin and then its argument prototype would still apply. */ |
5480 char XOpenDisplay(); | 5672 char XOpenDisplay(); |
5481 | 5673 |
5482 int main() { | 5674 int main() { |
5483 XOpenDisplay() | 5675 XOpenDisplay() |
5484 ; return 0; } | 5676 ; return 0; } |
5485 EOF | 5677 EOF |
5486 if { (eval echo configure:5487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5487 rm -rf conftest* | 5679 rm -rf conftest* |
5488 eval "ac_cv_lib_$ac_lib_var=yes" | 5680 eval "ac_cv_lib_$ac_lib_var=yes" |
5489 else | 5681 else |
5490 echo "configure: failed program was:" >&5 | 5682 echo "configure: failed program was:" >&5 |
5491 cat conftest.$ac_ext >&5 | 5683 cat conftest.$ac_ext >&5 |
5506 if test "$have_lib_x11" != "yes"; then | 5698 if test "$have_lib_x11" != "yes"; then |
5507 | 5699 |
5508 xe_msg_checking="for XGetFontProperty in -lX11" | 5700 xe_msg_checking="for XGetFontProperty in -lX11" |
5509 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5701 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5510 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5702 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5511 echo "configure:5512: checking "$xe_msg_checking"" >&5 | 5703 echo "configure:5704: checking "$xe_msg_checking"" >&5 |
5512 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5704 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5513 | 5705 |
5514 xe_check_libs=" -lX11 -b i486-linuxaout" | 5706 xe_check_libs=" -lX11 -b i486-linuxaout" |
5515 cat > conftest.$ac_ext <<EOF | 5707 cat > conftest.$ac_ext <<EOF |
5516 #line 5517 "configure" | 5708 #line 5709 "configure" |
5517 #include "confdefs.h" | 5709 #include "confdefs.h" |
5518 /* Override any gcc2 internal prototype to avoid an error. */ | 5710 /* Override any gcc2 internal prototype to avoid an error. */ |
5519 /* We use char because int might match the return type of a gcc2 | 5711 /* We use char because int might match the return type of a gcc2 |
5520 builtin and then its argument prototype would still apply. */ | 5712 builtin and then its argument prototype would still apply. */ |
5521 char XGetFontProperty(); | 5713 char XGetFontProperty(); |
5522 | 5714 |
5523 int main() { | 5715 int main() { |
5524 XGetFontProperty() | 5716 XGetFontProperty() |
5525 ; return 0; } | 5717 ; return 0; } |
5526 EOF | 5718 EOF |
5527 if { (eval echo configure:5528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5719 if { (eval echo configure:5720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5528 rm -rf conftest* | 5720 rm -rf conftest* |
5529 eval "ac_cv_lib_$ac_lib_var=yes" | 5721 eval "ac_cv_lib_$ac_lib_var=yes" |
5530 else | 5722 else |
5531 echo "configure: failed program was:" >&5 | 5723 echo "configure: failed program was:" >&5 |
5532 cat conftest.$ac_ext >&5 | 5724 cat conftest.$ac_ext >&5 |
5549 libs_x="-lX11" | 5741 libs_x="-lX11" |
5550 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5742 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5551 | 5743 |
5552 | 5744 |
5553 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5745 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5554 echo "configure:5555: checking for XShapeSelectInput in -lXext" >&5 | 5746 echo "configure:5747: checking for XShapeSelectInput in -lXext" >&5 |
5555 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5747 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5556 | 5748 |
5557 xe_check_libs=" -lXext " | 5749 xe_check_libs=" -lXext " |
5558 cat > conftest.$ac_ext <<EOF | 5750 cat > conftest.$ac_ext <<EOF |
5559 #line 5560 "configure" | 5751 #line 5752 "configure" |
5560 #include "confdefs.h" | 5752 #include "confdefs.h" |
5561 /* Override any gcc2 internal prototype to avoid an error. */ | 5753 /* Override any gcc2 internal prototype to avoid an error. */ |
5562 /* We use char because int might match the return type of a gcc2 | 5754 /* We use char because int might match the return type of a gcc2 |
5563 builtin and then its argument prototype would still apply. */ | 5755 builtin and then its argument prototype would still apply. */ |
5564 char XShapeSelectInput(); | 5756 char XShapeSelectInput(); |
5565 | 5757 |
5566 int main() { | 5758 int main() { |
5567 XShapeSelectInput() | 5759 XShapeSelectInput() |
5568 ; return 0; } | 5760 ; return 0; } |
5569 EOF | 5761 EOF |
5570 if { (eval echo configure:5571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5762 if { (eval echo configure:5763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5571 rm -rf conftest* | 5763 rm -rf conftest* |
5572 eval "ac_cv_lib_$ac_lib_var=yes" | 5764 eval "ac_cv_lib_$ac_lib_var=yes" |
5573 else | 5765 else |
5574 echo "configure: failed program was:" >&5 | 5766 echo "configure: failed program was:" >&5 |
5575 cat conftest.$ac_ext >&5 | 5767 cat conftest.$ac_ext >&5 |
5588 | 5780 |
5589 | 5781 |
5590 | 5782 |
5591 | 5783 |
5592 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5784 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5593 echo "configure:5594: checking for XtOpenDisplay in -lXt" >&5 | 5785 echo "configure:5786: checking for XtOpenDisplay in -lXt" >&5 |
5594 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5786 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5595 | 5787 |
5596 xe_check_libs=" -lXt " | 5788 xe_check_libs=" -lXt " |
5597 cat > conftest.$ac_ext <<EOF | 5789 cat > conftest.$ac_ext <<EOF |
5598 #line 5599 "configure" | 5790 #line 5791 "configure" |
5599 #include "confdefs.h" | 5791 #include "confdefs.h" |
5600 /* Override any gcc2 internal prototype to avoid an error. */ | 5792 /* Override any gcc2 internal prototype to avoid an error. */ |
5601 /* We use char because int might match the return type of a gcc2 | 5793 /* We use char because int might match the return type of a gcc2 |
5602 builtin and then its argument prototype would still apply. */ | 5794 builtin and then its argument prototype would still apply. */ |
5603 char XtOpenDisplay(); | 5795 char XtOpenDisplay(); |
5604 | 5796 |
5605 int main() { | 5797 int main() { |
5606 XtOpenDisplay() | 5798 XtOpenDisplay() |
5607 ; return 0; } | 5799 ; return 0; } |
5608 EOF | 5800 EOF |
5609 if { (eval echo configure:5610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5801 if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5610 rm -rf conftest* | 5802 rm -rf conftest* |
5611 eval "ac_cv_lib_$ac_lib_var=yes" | 5803 eval "ac_cv_lib_$ac_lib_var=yes" |
5612 else | 5804 else |
5613 echo "configure: failed program was:" >&5 | 5805 echo "configure: failed program was:" >&5 |
5614 cat conftest.$ac_ext >&5 | 5806 cat conftest.$ac_ext >&5 |
5627 fi | 5819 fi |
5628 | 5820 |
5629 | 5821 |
5630 | 5822 |
5631 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5823 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5632 echo "configure:5633: checking the version of X11 being used" >&5 | 5824 echo "configure:5825: checking the version of X11 being used" >&5 |
5633 cat > conftest.$ac_ext <<EOF | 5825 cat > conftest.$ac_ext <<EOF |
5634 #line 5635 "configure" | 5826 #line 5827 "configure" |
5635 #include "confdefs.h" | 5827 #include "confdefs.h" |
5636 #include <X11/Intrinsic.h> | 5828 #include <X11/Intrinsic.h> |
5637 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5829 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5638 EOF | 5830 EOF |
5639 if { (eval echo configure:5640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5831 if { (eval echo configure:5832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5640 then | 5832 then |
5641 ./conftest foobar; x11_release=$? | 5833 ./conftest foobar; x11_release=$? |
5642 else | 5834 else |
5643 conftest_rc="$?" | 5835 conftest_rc="$?" |
5644 echo "configure: failed program was:" >&5 | 5836 echo "configure: failed program was:" >&5 |
5659 | 5851 |
5660 for ac_hdr in X11/Xlocale.h | 5852 for ac_hdr in X11/Xlocale.h |
5661 do | 5853 do |
5662 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5854 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5663 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5855 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5664 echo "configure:5665: checking for $ac_hdr" >&5 | 5856 echo "configure:5857: checking for $ac_hdr" >&5 |
5665 | 5857 |
5666 cat > conftest.$ac_ext <<EOF | 5858 cat > conftest.$ac_ext <<EOF |
5667 #line 5668 "configure" | 5859 #line 5860 "configure" |
5668 #include "confdefs.h" | 5860 #include "confdefs.h" |
5669 #include <$ac_hdr> | 5861 #include <$ac_hdr> |
5670 EOF | 5862 EOF |
5671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5672 { (eval echo configure:5673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5864 { (eval echo configure:5865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5673 ac_err=`grep -v '^ *+' conftest.out` | 5865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5674 if test -z "$ac_err"; then | 5866 if test -z "$ac_err"; then |
5675 rm -rf conftest* | 5867 rm -rf conftest* |
5676 eval "ac_cv_header_$ac_safe=yes" | 5868 eval "ac_cv_header_$ac_safe=yes" |
5677 else | 5869 else |
5678 echo "$ac_err" >&5 | 5870 echo "$ac_err" >&5 |
5698 fi | 5890 fi |
5699 done | 5891 done |
5700 | 5892 |
5701 | 5893 |
5702 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5894 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5703 echo "configure:5704: checking for XFree86" >&5 | 5895 echo "configure:5896: checking for XFree86" >&5 |
5704 if test -d "/usr/X386/include" -o \ | 5896 if test -d "/usr/X386/include" -o \ |
5705 -f "/etc/XF86Config" -o \ | 5897 -f "/etc/XF86Config" -o \ |
5706 -f "/etc/X11/XF86Config" -o \ | 5898 -f "/etc/X11/XF86Config" -o \ |
5707 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5899 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5708 echo "$ac_t""yes" 1>&6 | 5900 echo "$ac_t""yes" 1>&6 |
5718 echo "$ac_t""no" 1>&6 | 5910 echo "$ac_t""no" 1>&6 |
5719 fi | 5911 fi |
5720 | 5912 |
5721 test -z "$with_xmu" && { | 5913 test -z "$with_xmu" && { |
5722 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5914 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5723 echo "configure:5724: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5915 echo "configure:5916: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5724 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5916 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5725 | 5917 |
5726 xe_check_libs=" -lXmu " | 5918 xe_check_libs=" -lXmu " |
5727 cat > conftest.$ac_ext <<EOF | 5919 cat > conftest.$ac_ext <<EOF |
5728 #line 5729 "configure" | 5920 #line 5921 "configure" |
5729 #include "confdefs.h" | 5921 #include "confdefs.h" |
5730 /* Override any gcc2 internal prototype to avoid an error. */ | 5922 /* Override any gcc2 internal prototype to avoid an error. */ |
5731 /* We use char because int might match the return type of a gcc2 | 5923 /* We use char because int might match the return type of a gcc2 |
5732 builtin and then its argument prototype would still apply. */ | 5924 builtin and then its argument prototype would still apply. */ |
5733 char XmuReadBitmapDataFromFile(); | 5925 char XmuReadBitmapDataFromFile(); |
5734 | 5926 |
5735 int main() { | 5927 int main() { |
5736 XmuReadBitmapDataFromFile() | 5928 XmuReadBitmapDataFromFile() |
5737 ; return 0; } | 5929 ; return 0; } |
5738 EOF | 5930 EOF |
5739 if { (eval echo configure:5740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5931 if { (eval echo configure:5932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5740 rm -rf conftest* | 5932 rm -rf conftest* |
5741 eval "ac_cv_lib_$ac_lib_var=yes" | 5933 eval "ac_cv_lib_$ac_lib_var=yes" |
5742 else | 5934 else |
5743 echo "configure: failed program was:" >&5 | 5935 echo "configure: failed program was:" >&5 |
5744 cat conftest.$ac_ext >&5 | 5936 cat conftest.$ac_ext >&5 |
5773 | 5965 |
5774 fi | 5966 fi |
5775 | 5967 |
5776 | 5968 |
5777 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5969 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5778 echo "configure:5779: checking for main in -lXbsd" >&5 | 5970 echo "configure:5971: checking for main in -lXbsd" >&5 |
5779 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5971 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5780 | 5972 |
5781 xe_check_libs=" -lXbsd " | 5973 xe_check_libs=" -lXbsd " |
5782 cat > conftest.$ac_ext <<EOF | 5974 cat > conftest.$ac_ext <<EOF |
5783 #line 5784 "configure" | 5975 #line 5976 "configure" |
5784 #include "confdefs.h" | 5976 #include "confdefs.h" |
5785 | 5977 |
5786 int main() { | 5978 int main() { |
5787 main() | 5979 main() |
5788 ; return 0; } | 5980 ; return 0; } |
5789 EOF | 5981 EOF |
5790 if { (eval echo configure:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5982 if { (eval echo configure:5983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5791 rm -rf conftest* | 5983 rm -rf conftest* |
5792 eval "ac_cv_lib_$ac_lib_var=yes" | 5984 eval "ac_cv_lib_$ac_lib_var=yes" |
5793 else | 5985 else |
5794 echo "configure: failed program was:" >&5 | 5986 echo "configure: failed program was:" >&5 |
5795 cat conftest.$ac_ext >&5 | 5987 cat conftest.$ac_ext >&5 |
5822 fi | 6014 fi |
5823 | 6015 |
5824 fi | 6016 fi |
5825 if test "$with_msw" != "no"; then | 6017 if test "$with_msw" != "no"; then |
5826 echo "checking for MS-Windows" 1>&6 | 6018 echo "checking for MS-Windows" 1>&6 |
5827 echo "configure:5828: checking for MS-Windows" >&5 | 6019 echo "configure:6020: checking for MS-Windows" >&5 |
5828 | 6020 |
5829 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6021 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5830 echo "configure:5831: checking for main in -lgdi32" >&5 | 6022 echo "configure:6023: checking for main in -lgdi32" >&5 |
5831 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6023 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5832 | 6024 |
5833 xe_check_libs=" -lgdi32 " | 6025 xe_check_libs=" -lgdi32 " |
5834 cat > conftest.$ac_ext <<EOF | 6026 cat > conftest.$ac_ext <<EOF |
5835 #line 5836 "configure" | 6027 #line 6028 "configure" |
5836 #include "confdefs.h" | 6028 #include "confdefs.h" |
5837 | 6029 |
5838 int main() { | 6030 int main() { |
5839 main() | 6031 main() |
5840 ; return 0; } | 6032 ; return 0; } |
5841 EOF | 6033 EOF |
5842 if { (eval echo configure:5843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6034 if { (eval echo configure:6035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5843 rm -rf conftest* | 6035 rm -rf conftest* |
5844 eval "ac_cv_lib_$ac_lib_var=yes" | 6036 eval "ac_cv_lib_$ac_lib_var=yes" |
5845 else | 6037 else |
5846 echo "configure: failed program was:" >&5 | 6038 echo "configure: failed program was:" >&5 |
5847 cat conftest.$ac_ext >&5 | 6039 cat conftest.$ac_ext >&5 |
5902 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6094 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
5903 echo " xemacs will be linked with \"dialog-msw.o\"" | 6095 echo " xemacs will be linked with \"dialog-msw.o\"" |
5904 fi | 6096 fi |
5905 fi | 6097 fi |
5906 cat > conftest.$ac_ext <<EOF | 6098 cat > conftest.$ac_ext <<EOF |
5907 #line 5908 "configure" | 6099 #line 6100 "configure" |
5908 #include "confdefs.h" | 6100 #include "confdefs.h" |
5909 #include <fcntl.h> | 6101 #include <fcntl.h> |
5910 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6102 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
5911 EOF | 6103 EOF |
5912 if { (eval echo configure:5913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6104 if { (eval echo configure:6105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5913 then | 6105 then |
5914 { test "$extra_verbose" = "yes" && cat << \EOF | 6106 { test "$extra_verbose" = "yes" && cat << \EOF |
5915 Defining HAVE_MSG_SELECT | 6107 Defining HAVE_MSG_SELECT |
5916 EOF | 6108 EOF |
5917 cat >> confdefs.h <<\EOF | 6109 cat >> confdefs.h <<\EOF |
5962 else | 6154 else |
5963 : | 6155 : |
5964 fi | 6156 fi |
5965 | 6157 |
5966 if test "$with_x11" != "yes"; then | 6158 if test "$with_x11" != "yes"; then |
5967 for feature in tooltalk cde offix session xim xmu | 6159 for feature in tooltalk cde offix session xim xmu |
5968 do | 6160 do |
5969 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 6161 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
5970 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 | 6162 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 |
5971 fi | 6163 fi |
5972 eval "with_${feature}=no" | 6164 eval "with_${feature}=no" |
5985 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6177 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5986 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6178 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5987 esac | 6179 esac |
5988 | 6180 |
5989 echo "checking for session-management option" 1>&6 | 6181 echo "checking for session-management option" 1>&6 |
5990 echo "configure:5991: checking for session-management option" >&5; | 6182 echo "configure:6183: checking for session-management option" >&5; |
5991 if test "$with_session" != "no"; then | 6183 if test "$with_session" != "no"; then |
5992 { test "$extra_verbose" = "yes" && cat << \EOF | 6184 { test "$extra_verbose" = "yes" && cat << \EOF |
5993 Defining HAVE_SESSION | 6185 Defining HAVE_SESSION |
5994 EOF | 6186 EOF |
5995 cat >> confdefs.h <<\EOF | 6187 cat >> confdefs.h <<\EOF |
6000 fi | 6192 fi |
6001 | 6193 |
6002 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6194 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6003 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6195 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6004 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6196 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6005 echo "configure:6006: checking for X11/Xauth.h" >&5 | 6197 echo "configure:6198: checking for X11/Xauth.h" >&5 |
6006 | 6198 |
6007 cat > conftest.$ac_ext <<EOF | 6199 cat > conftest.$ac_ext <<EOF |
6008 #line 6009 "configure" | 6200 #line 6201 "configure" |
6009 #include "confdefs.h" | 6201 #include "confdefs.h" |
6010 #include <X11/Xauth.h> | 6202 #include <X11/Xauth.h> |
6011 EOF | 6203 EOF |
6012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6013 { (eval echo configure:6014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6205 { (eval echo configure:6206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6014 ac_err=`grep -v '^ *+' conftest.out` | 6206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6015 if test -z "$ac_err"; then | 6207 if test -z "$ac_err"; then |
6016 rm -rf conftest* | 6208 rm -rf conftest* |
6017 eval "ac_cv_header_$ac_safe=yes" | 6209 eval "ac_cv_header_$ac_safe=yes" |
6018 else | 6210 else |
6019 echo "$ac_err" >&5 | 6211 echo "$ac_err" >&5 |
6031 with_xauth=no | 6223 with_xauth=no |
6032 fi | 6224 fi |
6033 } | 6225 } |
6034 test -z "$with_xauth" && { | 6226 test -z "$with_xauth" && { |
6035 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6227 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6036 echo "configure:6037: checking for XauGetAuthByAddr in -lXau" >&5 | 6228 echo "configure:6229: checking for XauGetAuthByAddr in -lXau" >&5 |
6037 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6229 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6038 | 6230 |
6039 xe_check_libs=" -lXau " | 6231 xe_check_libs=" -lXau " |
6040 cat > conftest.$ac_ext <<EOF | 6232 cat > conftest.$ac_ext <<EOF |
6041 #line 6042 "configure" | 6233 #line 6234 "configure" |
6042 #include "confdefs.h" | 6234 #include "confdefs.h" |
6043 /* Override any gcc2 internal prototype to avoid an error. */ | 6235 /* Override any gcc2 internal prototype to avoid an error. */ |
6044 /* We use char because int might match the return type of a gcc2 | 6236 /* We use char because int might match the return type of a gcc2 |
6045 builtin and then its argument prototype would still apply. */ | 6237 builtin and then its argument prototype would still apply. */ |
6046 char XauGetAuthByAddr(); | 6238 char XauGetAuthByAddr(); |
6047 | 6239 |
6048 int main() { | 6240 int main() { |
6049 XauGetAuthByAddr() | 6241 XauGetAuthByAddr() |
6050 ; return 0; } | 6242 ; return 0; } |
6051 EOF | 6243 EOF |
6052 if { (eval echo configure:6053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6244 if { (eval echo configure:6245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6053 rm -rf conftest* | 6245 rm -rf conftest* |
6054 eval "ac_cv_lib_$ac_lib_var=yes" | 6246 eval "ac_cv_lib_$ac_lib_var=yes" |
6055 else | 6247 else |
6056 echo "configure: failed program was:" >&5 | 6248 echo "configure: failed program was:" >&5 |
6057 cat conftest.$ac_ext >&5 | 6249 cat conftest.$ac_ext >&5 |
6092 | 6284 |
6093 if test "$with_tooltalk" != "no" ; then | 6285 if test "$with_tooltalk" != "no" ; then |
6094 for dir in "" "Tt/" "desktop/" ; do | 6286 for dir in "" "Tt/" "desktop/" ; do |
6095 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6287 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6096 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6288 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6097 echo "configure:6098: checking for ${dir}tt_c.h" >&5 | 6289 echo "configure:6290: checking for ${dir}tt_c.h" >&5 |
6098 | 6290 |
6099 cat > conftest.$ac_ext <<EOF | 6291 cat > conftest.$ac_ext <<EOF |
6100 #line 6101 "configure" | 6292 #line 6293 "configure" |
6101 #include "confdefs.h" | 6293 #include "confdefs.h" |
6102 #include <${dir}tt_c.h> | 6294 #include <${dir}tt_c.h> |
6103 EOF | 6295 EOF |
6104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6105 { (eval echo configure:6106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6297 { (eval echo configure:6298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6106 ac_err=`grep -v '^ *+' conftest.out` | 6298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6107 if test -z "$ac_err"; then | 6299 if test -z "$ac_err"; then |
6108 rm -rf conftest* | 6300 rm -rf conftest* |
6109 eval "ac_cv_header_$ac_safe=yes" | 6301 eval "ac_cv_header_$ac_safe=yes" |
6110 else | 6302 else |
6111 echo "$ac_err" >&5 | 6303 echo "$ac_err" >&5 |
6136 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6328 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6137 | 6329 |
6138 xe_msg_checking="for tt_message_create in -ltt" | 6330 xe_msg_checking="for tt_message_create in -ltt" |
6139 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6331 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6140 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6332 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6141 echo "configure:6142: checking "$xe_msg_checking"" >&5 | 6333 echo "configure:6334: checking "$xe_msg_checking"" >&5 |
6142 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6334 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6143 | 6335 |
6144 xe_check_libs=" -ltt $extra_libs" | 6336 xe_check_libs=" -ltt $extra_libs" |
6145 cat > conftest.$ac_ext <<EOF | 6337 cat > conftest.$ac_ext <<EOF |
6146 #line 6147 "configure" | 6338 #line 6339 "configure" |
6147 #include "confdefs.h" | 6339 #include "confdefs.h" |
6148 /* Override any gcc2 internal prototype to avoid an error. */ | 6340 /* Override any gcc2 internal prototype to avoid an error. */ |
6149 /* We use char because int might match the return type of a gcc2 | 6341 /* We use char because int might match the return type of a gcc2 |
6150 builtin and then its argument prototype would still apply. */ | 6342 builtin and then its argument prototype would still apply. */ |
6151 char tt_message_create(); | 6343 char tt_message_create(); |
6152 | 6344 |
6153 int main() { | 6345 int main() { |
6154 tt_message_create() | 6346 tt_message_create() |
6155 ; return 0; } | 6347 ; return 0; } |
6156 EOF | 6348 EOF |
6157 if { (eval echo configure:6158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6349 if { (eval echo configure:6350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6158 rm -rf conftest* | 6350 rm -rf conftest* |
6159 eval "ac_cv_lib_$ac_lib_var=yes" | 6351 eval "ac_cv_lib_$ac_lib_var=yes" |
6160 else | 6352 else |
6161 echo "configure: failed program was:" >&5 | 6353 echo "configure: failed program was:" >&5 |
6162 cat conftest.$ac_ext >&5 | 6354 cat conftest.$ac_ext >&5 |
6209 fi | 6401 fi |
6210 fi | 6402 fi |
6211 | 6403 |
6212 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6404 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6213 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6405 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6214 echo "configure:6215: checking for Dt/Dt.h" >&5 | 6406 echo "configure:6407: checking for Dt/Dt.h" >&5 |
6215 | 6407 |
6216 cat > conftest.$ac_ext <<EOF | 6408 cat > conftest.$ac_ext <<EOF |
6217 #line 6218 "configure" | 6409 #line 6410 "configure" |
6218 #include "confdefs.h" | 6410 #include "confdefs.h" |
6219 #include <Dt/Dt.h> | 6411 #include <Dt/Dt.h> |
6220 EOF | 6412 EOF |
6221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6222 { (eval echo configure:6223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6414 { (eval echo configure:6415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6223 ac_err=`grep -v '^ *+' conftest.out` | 6415 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6224 if test -z "$ac_err"; then | 6416 if test -z "$ac_err"; then |
6225 rm -rf conftest* | 6417 rm -rf conftest* |
6226 eval "ac_cv_header_$ac_safe=yes" | 6418 eval "ac_cv_header_$ac_safe=yes" |
6227 else | 6419 else |
6228 echo "$ac_err" >&5 | 6420 echo "$ac_err" >&5 |
6240 with_cde=no | 6432 with_cde=no |
6241 fi | 6433 fi |
6242 } | 6434 } |
6243 test -z "$with_cde" && { | 6435 test -z "$with_cde" && { |
6244 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6436 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6245 echo "configure:6246: checking for DtDndDragStart in -lDtSvc" >&5 | 6437 echo "configure:6438: checking for DtDndDragStart in -lDtSvc" >&5 |
6246 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6438 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6247 | 6439 |
6248 xe_check_libs=" -lDtSvc " | 6440 xe_check_libs=" -lDtSvc " |
6249 cat > conftest.$ac_ext <<EOF | 6441 cat > conftest.$ac_ext <<EOF |
6250 #line 6251 "configure" | 6442 #line 6443 "configure" |
6251 #include "confdefs.h" | 6443 #include "confdefs.h" |
6252 /* Override any gcc2 internal prototype to avoid an error. */ | 6444 /* Override any gcc2 internal prototype to avoid an error. */ |
6253 /* We use char because int might match the return type of a gcc2 | 6445 /* We use char because int might match the return type of a gcc2 |
6254 builtin and then its argument prototype would still apply. */ | 6446 builtin and then its argument prototype would still apply. */ |
6255 char DtDndDragStart(); | 6447 char DtDndDragStart(); |
6256 | 6448 |
6257 int main() { | 6449 int main() { |
6258 DtDndDragStart() | 6450 DtDndDragStart() |
6259 ; return 0; } | 6451 ; return 0; } |
6260 EOF | 6452 EOF |
6261 if { (eval echo configure:6262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6453 if { (eval echo configure:6454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6262 rm -rf conftest* | 6454 rm -rf conftest* |
6263 eval "ac_cv_lib_$ac_lib_var=yes" | 6455 eval "ac_cv_lib_$ac_lib_var=yes" |
6264 else | 6456 else |
6265 echo "configure: failed program was:" >&5 | 6457 echo "configure: failed program was:" >&5 |
6266 cat conftest.$ac_ext >&5 | 6458 cat conftest.$ac_ext >&5 |
6325 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6517 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6326 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6518 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6327 fi | 6519 fi |
6328 | 6520 |
6329 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6521 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6330 echo "configure:6331: checking if drag and drop API is needed" >&5 | 6522 echo "configure:6523: checking if drag and drop API is needed" >&5 |
6331 if test "$with_dragndrop" != "no" ; then | 6523 if test "$with_dragndrop" != "no" ; then |
6332 if test -n "$dragndrop_proto" ; then | 6524 if test -n "$dragndrop_proto" ; then |
6333 with_dragndrop=yes | 6525 with_dragndrop=yes |
6334 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6526 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6335 { test "$extra_verbose" = "yes" && cat << \EOF | 6527 { test "$extra_verbose" = "yes" && cat << \EOF |
6346 echo "$ac_t""no" 1>&6 | 6538 echo "$ac_t""no" 1>&6 |
6347 fi | 6539 fi |
6348 fi | 6540 fi |
6349 | 6541 |
6350 echo "checking for LDAP" 1>&6 | 6542 echo "checking for LDAP" 1>&6 |
6351 echo "configure:6352: checking for LDAP" >&5 | 6543 echo "configure:6544: checking for LDAP" >&5 |
6352 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6544 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6353 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6545 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6354 echo "configure:6355: checking for ldap.h" >&5 | 6546 echo "configure:6547: checking for ldap.h" >&5 |
6355 | 6547 |
6356 cat > conftest.$ac_ext <<EOF | 6548 cat > conftest.$ac_ext <<EOF |
6357 #line 6358 "configure" | 6549 #line 6550 "configure" |
6358 #include "confdefs.h" | 6550 #include "confdefs.h" |
6359 #include <ldap.h> | 6551 #include <ldap.h> |
6360 EOF | 6552 EOF |
6361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6362 { (eval echo configure:6363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6554 { (eval echo configure:6555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6363 ac_err=`grep -v '^ *+' conftest.out` | 6555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6364 if test -z "$ac_err"; then | 6556 if test -z "$ac_err"; then |
6365 rm -rf conftest* | 6557 rm -rf conftest* |
6366 eval "ac_cv_header_$ac_safe=yes" | 6558 eval "ac_cv_header_$ac_safe=yes" |
6367 else | 6559 else |
6368 echo "$ac_err" >&5 | 6560 echo "$ac_err" >&5 |
6380 with_ldap=no | 6572 with_ldap=no |
6381 fi | 6573 fi |
6382 } | 6574 } |
6383 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6575 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6384 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6576 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6385 echo "configure:6386: checking for lber.h" >&5 | 6577 echo "configure:6578: checking for lber.h" >&5 |
6386 | 6578 |
6387 cat > conftest.$ac_ext <<EOF | 6579 cat > conftest.$ac_ext <<EOF |
6388 #line 6389 "configure" | 6580 #line 6581 "configure" |
6389 #include "confdefs.h" | 6581 #include "confdefs.h" |
6390 #include <lber.h> | 6582 #include <lber.h> |
6391 EOF | 6583 EOF |
6392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6393 { (eval echo configure:6394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6585 { (eval echo configure:6586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6394 ac_err=`grep -v '^ *+' conftest.out` | 6586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6395 if test -z "$ac_err"; then | 6587 if test -z "$ac_err"; then |
6396 rm -rf conftest* | 6588 rm -rf conftest* |
6397 eval "ac_cv_header_$ac_safe=yes" | 6589 eval "ac_cv_header_$ac_safe=yes" |
6398 else | 6590 else |
6399 echo "$ac_err" >&5 | 6591 echo "$ac_err" >&5 |
6414 if test "$with_ldap" != "no"; then | 6606 if test "$with_ldap" != "no"; then |
6415 test -z "$with_umich_ldap" && { | 6607 test -z "$with_umich_ldap" && { |
6416 xe_msg_checking="for ldap_open in -lldap" | 6608 xe_msg_checking="for ldap_open in -lldap" |
6417 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6609 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6418 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6610 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6419 echo "configure:6420: checking "$xe_msg_checking"" >&5 | 6611 echo "configure:6612: checking "$xe_msg_checking"" >&5 |
6420 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6612 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6421 | 6613 |
6422 xe_check_libs=" -lldap -llber" | 6614 xe_check_libs=" -lldap -llber" |
6423 cat > conftest.$ac_ext <<EOF | 6615 cat > conftest.$ac_ext <<EOF |
6424 #line 6425 "configure" | 6616 #line 6617 "configure" |
6425 #include "confdefs.h" | 6617 #include "confdefs.h" |
6426 /* Override any gcc2 internal prototype to avoid an error. */ | 6618 /* Override any gcc2 internal prototype to avoid an error. */ |
6427 /* We use char because int might match the return type of a gcc2 | 6619 /* We use char because int might match the return type of a gcc2 |
6428 builtin and then its argument prototype would still apply. */ | 6620 builtin and then its argument prototype would still apply. */ |
6429 char ldap_open(); | 6621 char ldap_open(); |
6430 | 6622 |
6431 int main() { | 6623 int main() { |
6432 ldap_open() | 6624 ldap_open() |
6433 ; return 0; } | 6625 ; return 0; } |
6434 EOF | 6626 EOF |
6435 if { (eval echo configure:6436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6436 rm -rf conftest* | 6628 rm -rf conftest* |
6437 eval "ac_cv_lib_$ac_lib_var=yes" | 6629 eval "ac_cv_lib_$ac_lib_var=yes" |
6438 else | 6630 else |
6439 echo "configure: failed program was:" >&5 | 6631 echo "configure: failed program was:" >&5 |
6440 cat conftest.$ac_ext >&5 | 6632 cat conftest.$ac_ext >&5 |
6453 fi | 6645 fi |
6454 | 6646 |
6455 } | 6647 } |
6456 test "$with_umich_ldap" = "no" && { | 6648 test "$with_umich_ldap" = "no" && { |
6457 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6649 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6458 echo "configure:6459: checking for ldap_set_option in -lldap10" >&5 | 6650 echo "configure:6651: checking for ldap_set_option in -lldap10" >&5 |
6459 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6651 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6460 | 6652 |
6461 xe_check_libs=" -lldap10 " | 6653 xe_check_libs=" -lldap10 " |
6462 cat > conftest.$ac_ext <<EOF | 6654 cat > conftest.$ac_ext <<EOF |
6463 #line 6464 "configure" | 6655 #line 6656 "configure" |
6464 #include "confdefs.h" | 6656 #include "confdefs.h" |
6465 /* Override any gcc2 internal prototype to avoid an error. */ | 6657 /* Override any gcc2 internal prototype to avoid an error. */ |
6466 /* We use char because int might match the return type of a gcc2 | 6658 /* We use char because int might match the return type of a gcc2 |
6467 builtin and then its argument prototype would still apply. */ | 6659 builtin and then its argument prototype would still apply. */ |
6468 char ldap_set_option(); | 6660 char ldap_set_option(); |
6469 | 6661 |
6470 int main() { | 6662 int main() { |
6471 ldap_set_option() | 6663 ldap_set_option() |
6472 ; return 0; } | 6664 ; return 0; } |
6473 EOF | 6665 EOF |
6474 if { (eval echo configure:6475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6666 if { (eval echo configure:6667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6475 rm -rf conftest* | 6667 rm -rf conftest* |
6476 eval "ac_cv_lib_$ac_lib_var=yes" | 6668 eval "ac_cv_lib_$ac_lib_var=yes" |
6477 else | 6669 else |
6478 echo "configure: failed program was:" >&5 | 6670 echo "configure: failed program was:" >&5 |
6479 cat conftest.$ac_ext >&5 | 6671 cat conftest.$ac_ext >&5 |
6533 fi | 6725 fi |
6534 | 6726 |
6535 | 6727 |
6536 if test "$window_system" != "none"; then | 6728 if test "$window_system" != "none"; then |
6537 echo "checking for graphics libraries" 1>&6 | 6729 echo "checking for graphics libraries" 1>&6 |
6538 echo "configure:6539: checking for graphics libraries" >&5 | 6730 echo "configure:6731: checking for graphics libraries" >&5 |
6539 | 6731 |
6540 xpm_problem="" | 6732 xpm_problem="" |
6541 if test -z "$with_xpm"; then | 6733 if test -z "$with_xpm"; then |
6542 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6734 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6543 echo "configure:6544: checking for Xpm - no older than 3.4f" >&5 | 6735 echo "configure:6736: checking for Xpm - no older than 3.4f" >&5 |
6544 xe_check_libs=-lXpm | 6736 xe_check_libs=-lXpm |
6545 cat > conftest.$ac_ext <<EOF | 6737 cat > conftest.$ac_ext <<EOF |
6546 #line 6547 "configure" | 6738 #line 6739 "configure" |
6547 #include "confdefs.h" | 6739 #include "confdefs.h" |
6548 #include <X11/xpm.h> | 6740 #include <X11/xpm.h> |
6549 int main(int c, char **v) { | 6741 int main(int c, char **v) { |
6550 return c == 1 ? 0 : | 6742 return c == 1 ? 0 : |
6551 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6743 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6552 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6744 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6553 EOF | 6745 EOF |
6554 if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6746 if { (eval echo configure:6747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6555 then | 6747 then |
6556 ./conftest dummy_arg; xpm_status=$?; | 6748 ./conftest dummy_arg; xpm_status=$?; |
6557 if test "$xpm_status" = "0"; then | 6749 if test "$xpm_status" = "0"; then |
6558 with_xpm=yes; | 6750 with_xpm=yes; |
6559 else | 6751 else |
6591 EOF | 6783 EOF |
6592 } | 6784 } |
6593 | 6785 |
6594 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6786 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6595 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6787 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6596 echo "configure:6597: checking for \"FOR_MSW\" xpm" >&5 | 6788 echo "configure:6789: checking for \"FOR_MSW\" xpm" >&5 |
6597 xe_check_libs=-lXpm | 6789 xe_check_libs=-lXpm |
6598 cat > conftest.$ac_ext <<EOF | 6790 cat > conftest.$ac_ext <<EOF |
6599 #line 6600 "configure" | 6791 #line 6792 "configure" |
6600 #include "confdefs.h" | 6792 #include "confdefs.h" |
6601 | 6793 |
6602 int main() { | 6794 int main() { |
6603 XpmCreatePixmapFromData() | 6795 XpmCreatePixmapFromData() |
6604 ; return 0; } | 6796 ; return 0; } |
6605 EOF | 6797 EOF |
6606 if { (eval echo configure:6607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6798 if { (eval echo configure:6799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6607 rm -rf conftest* | 6799 rm -rf conftest* |
6608 xpm_for_msw=no | 6800 xpm_for_msw=no |
6609 else | 6801 else |
6610 echo "configure: failed program was:" >&5 | 6802 echo "configure: failed program was:" >&5 |
6611 cat conftest.$ac_ext >&5 | 6803 cat conftest.$ac_ext >&5 |
6627 fi | 6819 fi |
6628 fi | 6820 fi |
6629 | 6821 |
6630 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6822 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6631 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6823 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6632 echo "configure:6633: checking for compface.h" >&5 | 6824 echo "configure:6825: checking for compface.h" >&5 |
6633 | 6825 |
6634 cat > conftest.$ac_ext <<EOF | 6826 cat > conftest.$ac_ext <<EOF |
6635 #line 6636 "configure" | 6827 #line 6828 "configure" |
6636 #include "confdefs.h" | 6828 #include "confdefs.h" |
6637 #include <compface.h> | 6829 #include <compface.h> |
6638 EOF | 6830 EOF |
6639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6640 { (eval echo configure:6641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6832 { (eval echo configure:6833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6641 ac_err=`grep -v '^ *+' conftest.out` | 6833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6642 if test -z "$ac_err"; then | 6834 if test -z "$ac_err"; then |
6643 rm -rf conftest* | 6835 rm -rf conftest* |
6644 eval "ac_cv_header_$ac_safe=yes" | 6836 eval "ac_cv_header_$ac_safe=yes" |
6645 else | 6837 else |
6646 echo "$ac_err" >&5 | 6838 echo "$ac_err" >&5 |
6658 with_xface=no | 6850 with_xface=no |
6659 fi | 6851 fi |
6660 } | 6852 } |
6661 test -z "$with_xface" && { | 6853 test -z "$with_xface" && { |
6662 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6854 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6663 echo "configure:6664: checking for UnGenFace in -lcompface" >&5 | 6855 echo "configure:6856: checking for UnGenFace in -lcompface" >&5 |
6664 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6856 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6665 | 6857 |
6666 xe_check_libs=" -lcompface " | 6858 xe_check_libs=" -lcompface " |
6667 cat > conftest.$ac_ext <<EOF | 6859 cat > conftest.$ac_ext <<EOF |
6668 #line 6669 "configure" | 6860 #line 6861 "configure" |
6669 #include "confdefs.h" | 6861 #include "confdefs.h" |
6670 /* Override any gcc2 internal prototype to avoid an error. */ | 6862 /* Override any gcc2 internal prototype to avoid an error. */ |
6671 /* We use char because int might match the return type of a gcc2 | 6863 /* We use char because int might match the return type of a gcc2 |
6672 builtin and then its argument prototype would still apply. */ | 6864 builtin and then its argument prototype would still apply. */ |
6673 char UnGenFace(); | 6865 char UnGenFace(); |
6674 | 6866 |
6675 int main() { | 6867 int main() { |
6676 UnGenFace() | 6868 UnGenFace() |
6677 ; return 0; } | 6869 ; return 0; } |
6678 EOF | 6870 EOF |
6679 if { (eval echo configure:6680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6871 if { (eval echo configure:6872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6680 rm -rf conftest* | 6872 rm -rf conftest* |
6681 eval "ac_cv_lib_$ac_lib_var=yes" | 6873 eval "ac_cv_lib_$ac_lib_var=yes" |
6682 else | 6874 else |
6683 echo "configure: failed program was:" >&5 | 6875 echo "configure: failed program was:" >&5 |
6684 cat conftest.$ac_ext >&5 | 6876 cat conftest.$ac_ext >&5 |
6726 fi | 6918 fi |
6727 | 6919 |
6728 if test "$with_png $with_tiff" != "no no"; then | 6920 if test "$with_png $with_tiff" != "no no"; then |
6729 | 6921 |
6730 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6922 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6731 echo "configure:6732: checking for inflate in -lc" >&5 | 6923 echo "configure:6924: checking for inflate in -lc" >&5 |
6732 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6924 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6733 | 6925 |
6734 xe_check_libs=" -lc " | 6926 xe_check_libs=" -lc " |
6735 cat > conftest.$ac_ext <<EOF | 6927 cat > conftest.$ac_ext <<EOF |
6736 #line 6737 "configure" | 6928 #line 6929 "configure" |
6737 #include "confdefs.h" | 6929 #include "confdefs.h" |
6738 /* Override any gcc2 internal prototype to avoid an error. */ | 6930 /* Override any gcc2 internal prototype to avoid an error. */ |
6739 /* We use char because int might match the return type of a gcc2 | 6931 /* We use char because int might match the return type of a gcc2 |
6740 builtin and then its argument prototype would still apply. */ | 6932 builtin and then its argument prototype would still apply. */ |
6741 char inflate(); | 6933 char inflate(); |
6742 | 6934 |
6743 int main() { | 6935 int main() { |
6744 inflate() | 6936 inflate() |
6745 ; return 0; } | 6937 ; return 0; } |
6746 EOF | 6938 EOF |
6747 if { (eval echo configure:6748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6939 if { (eval echo configure:6940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6748 rm -rf conftest* | 6940 rm -rf conftest* |
6749 eval "ac_cv_lib_$ac_lib_var=yes" | 6941 eval "ac_cv_lib_$ac_lib_var=yes" |
6750 else | 6942 else |
6751 echo "configure: failed program was:" >&5 | 6943 echo "configure: failed program was:" >&5 |
6752 cat conftest.$ac_ext >&5 | 6944 cat conftest.$ac_ext >&5 |
6761 : | 6953 : |
6762 else | 6954 else |
6763 echo "$ac_t""no" 1>&6 | 6955 echo "$ac_t""no" 1>&6 |
6764 | 6956 |
6765 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6957 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6766 echo "configure:6767: checking for inflate in -lz" >&5 | 6958 echo "configure:6959: checking for inflate in -lz" >&5 |
6767 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6959 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6768 | 6960 |
6769 xe_check_libs=" -lz " | 6961 xe_check_libs=" -lz " |
6770 cat > conftest.$ac_ext <<EOF | 6962 cat > conftest.$ac_ext <<EOF |
6771 #line 6772 "configure" | 6963 #line 6964 "configure" |
6772 #include "confdefs.h" | 6964 #include "confdefs.h" |
6773 /* Override any gcc2 internal prototype to avoid an error. */ | 6965 /* Override any gcc2 internal prototype to avoid an error. */ |
6774 /* We use char because int might match the return type of a gcc2 | 6966 /* We use char because int might match the return type of a gcc2 |
6775 builtin and then its argument prototype would still apply. */ | 6967 builtin and then its argument prototype would still apply. */ |
6776 char inflate(); | 6968 char inflate(); |
6777 | 6969 |
6778 int main() { | 6970 int main() { |
6779 inflate() | 6971 inflate() |
6780 ; return 0; } | 6972 ; return 0; } |
6781 EOF | 6973 EOF |
6782 if { (eval echo configure:6783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6974 if { (eval echo configure:6975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6783 rm -rf conftest* | 6975 rm -rf conftest* |
6784 eval "ac_cv_lib_$ac_lib_var=yes" | 6976 eval "ac_cv_lib_$ac_lib_var=yes" |
6785 else | 6977 else |
6786 echo "configure: failed program was:" >&5 | 6978 echo "configure: failed program was:" >&5 |
6787 cat conftest.$ac_ext >&5 | 6979 cat conftest.$ac_ext >&5 |
6796 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6988 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6797 else | 6989 else |
6798 echo "$ac_t""no" 1>&6 | 6990 echo "$ac_t""no" 1>&6 |
6799 | 6991 |
6800 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6992 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6801 echo "configure:6802: checking for inflate in -lgz" >&5 | 6993 echo "configure:6994: checking for inflate in -lgz" >&5 |
6802 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6994 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6803 | 6995 |
6804 xe_check_libs=" -lgz " | 6996 xe_check_libs=" -lgz " |
6805 cat > conftest.$ac_ext <<EOF | 6997 cat > conftest.$ac_ext <<EOF |
6806 #line 6807 "configure" | 6998 #line 6999 "configure" |
6807 #include "confdefs.h" | 6999 #include "confdefs.h" |
6808 /* Override any gcc2 internal prototype to avoid an error. */ | 7000 /* Override any gcc2 internal prototype to avoid an error. */ |
6809 /* We use char because int might match the return type of a gcc2 | 7001 /* We use char because int might match the return type of a gcc2 |
6810 builtin and then its argument prototype would still apply. */ | 7002 builtin and then its argument prototype would still apply. */ |
6811 char inflate(); | 7003 char inflate(); |
6812 | 7004 |
6813 int main() { | 7005 int main() { |
6814 inflate() | 7006 inflate() |
6815 ; return 0; } | 7007 ; return 0; } |
6816 EOF | 7008 EOF |
6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7009 if { (eval echo configure:7010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6818 rm -rf conftest* | 7010 rm -rf conftest* |
6819 eval "ac_cv_lib_$ac_lib_var=yes" | 7011 eval "ac_cv_lib_$ac_lib_var=yes" |
6820 else | 7012 else |
6821 echo "configure: failed program was:" >&5 | 7013 echo "configure: failed program was:" >&5 |
6822 cat conftest.$ac_ext >&5 | 7014 cat conftest.$ac_ext >&5 |
6842 | 7034 |
6843 fi | 7035 fi |
6844 | 7036 |
6845 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7037 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6846 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7038 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6847 echo "configure:6848: checking for jpeglib.h" >&5 | 7039 echo "configure:7040: checking for jpeglib.h" >&5 |
6848 | 7040 |
6849 cat > conftest.$ac_ext <<EOF | 7041 cat > conftest.$ac_ext <<EOF |
6850 #line 6851 "configure" | 7042 #line 7043 "configure" |
6851 #include "confdefs.h" | 7043 #include "confdefs.h" |
6852 #include <jpeglib.h> | 7044 #include <jpeglib.h> |
6853 EOF | 7045 EOF |
6854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6855 { (eval echo configure:6856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7047 { (eval echo configure:7048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6856 ac_err=`grep -v '^ *+' conftest.out` | 7048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6857 if test -z "$ac_err"; then | 7049 if test -z "$ac_err"; then |
6858 rm -rf conftest* | 7050 rm -rf conftest* |
6859 eval "ac_cv_header_$ac_safe=yes" | 7051 eval "ac_cv_header_$ac_safe=yes" |
6860 else | 7052 else |
6861 echo "$ac_err" >&5 | 7053 echo "$ac_err" >&5 |
6873 with_jpeg=no | 7065 with_jpeg=no |
6874 fi | 7066 fi |
6875 } | 7067 } |
6876 test -z "$with_jpeg" && { | 7068 test -z "$with_jpeg" && { |
6877 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7069 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6878 echo "configure:6879: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7070 echo "configure:7071: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6879 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7071 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6880 | 7072 |
6881 xe_check_libs=" -ljpeg " | 7073 xe_check_libs=" -ljpeg " |
6882 cat > conftest.$ac_ext <<EOF | 7074 cat > conftest.$ac_ext <<EOF |
6883 #line 6884 "configure" | 7075 #line 7076 "configure" |
6884 #include "confdefs.h" | 7076 #include "confdefs.h" |
6885 /* Override any gcc2 internal prototype to avoid an error. */ | 7077 /* Override any gcc2 internal prototype to avoid an error. */ |
6886 /* We use char because int might match the return type of a gcc2 | 7078 /* We use char because int might match the return type of a gcc2 |
6887 builtin and then its argument prototype would still apply. */ | 7079 builtin and then its argument prototype would still apply. */ |
6888 char jpeg_destroy_decompress(); | 7080 char jpeg_destroy_decompress(); |
6889 | 7081 |
6890 int main() { | 7082 int main() { |
6891 jpeg_destroy_decompress() | 7083 jpeg_destroy_decompress() |
6892 ; return 0; } | 7084 ; return 0; } |
6893 EOF | 7085 EOF |
6894 if { (eval echo configure:6895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7086 if { (eval echo configure:7087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6895 rm -rf conftest* | 7087 rm -rf conftest* |
6896 eval "ac_cv_lib_$ac_lib_var=yes" | 7088 eval "ac_cv_lib_$ac_lib_var=yes" |
6897 else | 7089 else |
6898 echo "configure: failed program was:" >&5 | 7090 echo "configure: failed program was:" >&5 |
6899 cat conftest.$ac_ext >&5 | 7091 cat conftest.$ac_ext >&5 |
6925 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7117 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6926 fi | 7118 fi |
6927 | 7119 |
6928 png_problem="" | 7120 png_problem="" |
6929 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7121 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6930 echo "configure:6931: checking for pow" >&5 | 7122 echo "configure:7123: checking for pow" >&5 |
6931 | 7123 |
6932 cat > conftest.$ac_ext <<EOF | 7124 cat > conftest.$ac_ext <<EOF |
6933 #line 6934 "configure" | 7125 #line 7126 "configure" |
6934 #include "confdefs.h" | 7126 #include "confdefs.h" |
6935 /* System header to define __stub macros and hopefully few prototypes, | 7127 /* System header to define __stub macros and hopefully few prototypes, |
6936 which can conflict with char pow(); below. */ | 7128 which can conflict with char pow(); below. */ |
6937 #include <assert.h> | 7129 #include <assert.h> |
6938 /* Override any gcc2 internal prototype to avoid an error. */ | 7130 /* Override any gcc2 internal prototype to avoid an error. */ |
6951 pow(); | 7143 pow(); |
6952 #endif | 7144 #endif |
6953 | 7145 |
6954 ; return 0; } | 7146 ; return 0; } |
6955 EOF | 7147 EOF |
6956 if { (eval echo configure:6957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7148 if { (eval echo configure:7149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6957 rm -rf conftest* | 7149 rm -rf conftest* |
6958 eval "ac_cv_func_pow=yes" | 7150 eval "ac_cv_func_pow=yes" |
6959 else | 7151 else |
6960 echo "configure: failed program was:" >&5 | 7152 echo "configure: failed program was:" >&5 |
6961 cat conftest.$ac_ext >&5 | 7153 cat conftest.$ac_ext >&5 |
6972 with_png=no | 7164 with_png=no |
6973 fi | 7165 fi |
6974 } | 7166 } |
6975 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7167 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6976 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7168 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6977 echo "configure:6978: checking for png.h" >&5 | 7169 echo "configure:7170: checking for png.h" >&5 |
6978 | 7170 |
6979 cat > conftest.$ac_ext <<EOF | 7171 cat > conftest.$ac_ext <<EOF |
6980 #line 6981 "configure" | 7172 #line 7173 "configure" |
6981 #include "confdefs.h" | 7173 #include "confdefs.h" |
6982 #include <png.h> | 7174 #include <png.h> |
6983 EOF | 7175 EOF |
6984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6985 { (eval echo configure:6986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7177 { (eval echo configure:7178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6986 ac_err=`grep -v '^ *+' conftest.out` | 7178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6987 if test -z "$ac_err"; then | 7179 if test -z "$ac_err"; then |
6988 rm -rf conftest* | 7180 rm -rf conftest* |
6989 eval "ac_cv_header_$ac_safe=yes" | 7181 eval "ac_cv_header_$ac_safe=yes" |
6990 else | 7182 else |
6991 echo "$ac_err" >&5 | 7183 echo "$ac_err" >&5 |
7003 with_png=no | 7195 with_png=no |
7004 fi | 7196 fi |
7005 } | 7197 } |
7006 test -z "$with_png" && { | 7198 test -z "$with_png" && { |
7007 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7199 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7008 echo "configure:7009: checking for png_read_image in -lpng" >&5 | 7200 echo "configure:7201: checking for png_read_image in -lpng" >&5 |
7009 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7201 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7010 | 7202 |
7011 xe_check_libs=" -lpng " | 7203 xe_check_libs=" -lpng " |
7012 cat > conftest.$ac_ext <<EOF | 7204 cat > conftest.$ac_ext <<EOF |
7013 #line 7014 "configure" | 7205 #line 7206 "configure" |
7014 #include "confdefs.h" | 7206 #include "confdefs.h" |
7015 /* Override any gcc2 internal prototype to avoid an error. */ | 7207 /* Override any gcc2 internal prototype to avoid an error. */ |
7016 /* We use char because int might match the return type of a gcc2 | 7208 /* We use char because int might match the return type of a gcc2 |
7017 builtin and then its argument prototype would still apply. */ | 7209 builtin and then its argument prototype would still apply. */ |
7018 char png_read_image(); | 7210 char png_read_image(); |
7019 | 7211 |
7020 int main() { | 7212 int main() { |
7021 png_read_image() | 7213 png_read_image() |
7022 ; return 0; } | 7214 ; return 0; } |
7023 EOF | 7215 EOF |
7024 if { (eval echo configure:7025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7216 if { (eval echo configure:7217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7025 rm -rf conftest* | 7217 rm -rf conftest* |
7026 eval "ac_cv_lib_$ac_lib_var=yes" | 7218 eval "ac_cv_lib_$ac_lib_var=yes" |
7027 else | 7219 else |
7028 echo "configure: failed program was:" >&5 | 7220 echo "configure: failed program was:" >&5 |
7029 cat conftest.$ac_ext >&5 | 7221 cat conftest.$ac_ext >&5 |
7042 fi | 7234 fi |
7043 | 7235 |
7044 } | 7236 } |
7045 if test -z "$with_png"; then | 7237 if test -z "$with_png"; then |
7046 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7238 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7047 echo "configure:7048: checking for workable png version information" >&5 | 7239 echo "configure:7240: checking for workable png version information" >&5 |
7048 xe_check_libs="-lpng -lz" | 7240 xe_check_libs="-lpng -lz" |
7049 cat > conftest.$ac_ext <<EOF | 7241 cat > conftest.$ac_ext <<EOF |
7050 #line 7051 "configure" | 7242 #line 7243 "configure" |
7051 #include "confdefs.h" | 7243 #include "confdefs.h" |
7052 #include <png.h> | 7244 #include <png.h> |
7053 int main(int c, char **v) { | 7245 int main(int c, char **v) { |
7054 if (c == 1) return 0; | 7246 if (c == 1) return 0; |
7055 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7247 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7056 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7248 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7057 EOF | 7249 EOF |
7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7250 if { (eval echo configure:7251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7059 then | 7251 then |
7060 ./conftest dummy_arg; png_status=$?; | 7252 ./conftest dummy_arg; png_status=$?; |
7061 if test "$png_status" = "0"; then | 7253 if test "$png_status" = "0"; then |
7062 with_png=yes; | 7254 with_png=yes; |
7063 else | 7255 else |
7096 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7288 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7097 fi | 7289 fi |
7098 | 7290 |
7099 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7291 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7100 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7292 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7101 echo "configure:7102: checking for tiffio.h" >&5 | 7293 echo "configure:7294: checking for tiffio.h" >&5 |
7102 | 7294 |
7103 cat > conftest.$ac_ext <<EOF | 7295 cat > conftest.$ac_ext <<EOF |
7104 #line 7105 "configure" | 7296 #line 7297 "configure" |
7105 #include "confdefs.h" | 7297 #include "confdefs.h" |
7106 #include <tiffio.h> | 7298 #include <tiffio.h> |
7107 EOF | 7299 EOF |
7108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7109 { (eval echo configure:7110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7301 { (eval echo configure:7302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7110 ac_err=`grep -v '^ *+' conftest.out` | 7302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7111 if test -z "$ac_err"; then | 7303 if test -z "$ac_err"; then |
7112 rm -rf conftest* | 7304 rm -rf conftest* |
7113 eval "ac_cv_header_$ac_safe=yes" | 7305 eval "ac_cv_header_$ac_safe=yes" |
7114 else | 7306 else |
7115 echo "$ac_err" >&5 | 7307 echo "$ac_err" >&5 |
7127 with_tiff=no | 7319 with_tiff=no |
7128 fi | 7320 fi |
7129 } | 7321 } |
7130 test -z "$with_tiff" && { | 7322 test -z "$with_tiff" && { |
7131 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7323 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7132 echo "configure:7133: checking for TIFFClientOpen in -ltiff" >&5 | 7324 echo "configure:7325: checking for TIFFClientOpen in -ltiff" >&5 |
7133 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7325 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7134 | 7326 |
7135 xe_check_libs=" -ltiff " | 7327 xe_check_libs=" -ltiff " |
7136 cat > conftest.$ac_ext <<EOF | 7328 cat > conftest.$ac_ext <<EOF |
7137 #line 7138 "configure" | 7329 #line 7330 "configure" |
7138 #include "confdefs.h" | 7330 #include "confdefs.h" |
7139 /* Override any gcc2 internal prototype to avoid an error. */ | 7331 /* Override any gcc2 internal prototype to avoid an error. */ |
7140 /* We use char because int might match the return type of a gcc2 | 7332 /* We use char because int might match the return type of a gcc2 |
7141 builtin and then its argument prototype would still apply. */ | 7333 builtin and then its argument prototype would still apply. */ |
7142 char TIFFClientOpen(); | 7334 char TIFFClientOpen(); |
7143 | 7335 |
7144 int main() { | 7336 int main() { |
7145 TIFFClientOpen() | 7337 TIFFClientOpen() |
7146 ; return 0; } | 7338 ; return 0; } |
7147 EOF | 7339 EOF |
7148 if { (eval echo configure:7149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7340 if { (eval echo configure:7341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7149 rm -rf conftest* | 7341 rm -rf conftest* |
7150 eval "ac_cv_lib_$ac_lib_var=yes" | 7342 eval "ac_cv_lib_$ac_lib_var=yes" |
7151 else | 7343 else |
7152 echo "configure: failed program was:" >&5 | 7344 echo "configure: failed program was:" >&5 |
7153 cat conftest.$ac_ext >&5 | 7345 cat conftest.$ac_ext >&5 |
7182 | 7374 |
7183 | 7375 |
7184 if test "$with_x11" = "yes"; then | 7376 if test "$with_x11" = "yes"; then |
7185 | 7377 |
7186 echo "checking for X11 graphics libraries" 1>&6 | 7378 echo "checking for X11 graphics libraries" 1>&6 |
7187 echo "configure:7188: checking for X11 graphics libraries" >&5 | 7379 echo "configure:7380: checking for X11 graphics libraries" >&5 |
7188 | 7380 |
7189 | 7381 |
7190 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7382 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7191 echo "configure:7192: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7383 echo "configure:7384: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7192 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7384 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7193 | 7385 |
7194 xe_check_libs=" -lXaw " | 7386 xe_check_libs=" -lXaw " |
7195 cat > conftest.$ac_ext <<EOF | 7387 cat > conftest.$ac_ext <<EOF |
7196 #line 7197 "configure" | 7388 #line 7389 "configure" |
7197 #include "confdefs.h" | 7389 #include "confdefs.h" |
7198 /* Override any gcc2 internal prototype to avoid an error. */ | 7390 /* Override any gcc2 internal prototype to avoid an error. */ |
7199 /* We use char because int might match the return type of a gcc2 | 7391 /* We use char because int might match the return type of a gcc2 |
7200 builtin and then its argument prototype would still apply. */ | 7392 builtin and then its argument prototype would still apply. */ |
7201 char XawScrollbarSetThumb(); | 7393 char XawScrollbarSetThumb(); |
7202 | 7394 |
7203 int main() { | 7395 int main() { |
7204 XawScrollbarSetThumb() | 7396 XawScrollbarSetThumb() |
7205 ; return 0; } | 7397 ; return 0; } |
7206 EOF | 7398 EOF |
7207 if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7399 if { (eval echo configure:7400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7208 rm -rf conftest* | 7400 rm -rf conftest* |
7209 eval "ac_cv_lib_$ac_lib_var=yes" | 7401 eval "ac_cv_lib_$ac_lib_var=yes" |
7210 else | 7402 else |
7211 echo "configure: failed program was:" >&5 | 7403 echo "configure: failed program was:" >&5 |
7212 cat conftest.$ac_ext >&5 | 7404 cat conftest.$ac_ext >&5 |
7226 | 7418 |
7227 | 7419 |
7228 | 7420 |
7229 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7421 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7230 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7422 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7231 echo "configure:7232: checking for Xm/Xm.h" >&5 | 7423 echo "configure:7424: checking for Xm/Xm.h" >&5 |
7232 | 7424 |
7233 cat > conftest.$ac_ext <<EOF | 7425 cat > conftest.$ac_ext <<EOF |
7234 #line 7235 "configure" | 7426 #line 7427 "configure" |
7235 #include "confdefs.h" | 7427 #include "confdefs.h" |
7236 #include <Xm/Xm.h> | 7428 #include <Xm/Xm.h> |
7237 EOF | 7429 EOF |
7238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7239 { (eval echo configure:7240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7431 { (eval echo configure:7432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7240 ac_err=`grep -v '^ *+' conftest.out` | 7432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7241 if test -z "$ac_err"; then | 7433 if test -z "$ac_err"; then |
7242 rm -rf conftest* | 7434 rm -rf conftest* |
7243 eval "ac_cv_header_$ac_safe=yes" | 7435 eval "ac_cv_header_$ac_safe=yes" |
7244 else | 7436 else |
7245 echo "$ac_err" >&5 | 7437 echo "$ac_err" >&5 |
7251 rm -f conftest* | 7443 rm -f conftest* |
7252 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7253 echo "$ac_t""yes" 1>&6 | 7445 echo "$ac_t""yes" 1>&6 |
7254 | 7446 |
7255 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7447 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7256 echo "configure:7257: checking for XmStringFree in -lXm" >&5 | 7448 echo "configure:7449: checking for XmStringFree in -lXm" >&5 |
7257 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7449 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7258 | 7450 |
7259 xe_check_libs=" -lXm " | 7451 xe_check_libs=" -lXm " |
7260 cat > conftest.$ac_ext <<EOF | 7452 cat > conftest.$ac_ext <<EOF |
7261 #line 7262 "configure" | 7453 #line 7454 "configure" |
7262 #include "confdefs.h" | 7454 #include "confdefs.h" |
7263 /* Override any gcc2 internal prototype to avoid an error. */ | 7455 /* Override any gcc2 internal prototype to avoid an error. */ |
7264 /* We use char because int might match the return type of a gcc2 | 7456 /* We use char because int might match the return type of a gcc2 |
7265 builtin and then its argument prototype would still apply. */ | 7457 builtin and then its argument prototype would still apply. */ |
7266 char XmStringFree(); | 7458 char XmStringFree(); |
7267 | 7459 |
7268 int main() { | 7460 int main() { |
7269 XmStringFree() | 7461 XmStringFree() |
7270 ; return 0; } | 7462 ; return 0; } |
7271 EOF | 7463 EOF |
7272 if { (eval echo configure:7273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7464 if { (eval echo configure:7465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7273 rm -rf conftest* | 7465 rm -rf conftest* |
7274 eval "ac_cv_lib_$ac_lib_var=yes" | 7466 eval "ac_cv_lib_$ac_lib_var=yes" |
7275 else | 7467 else |
7276 echo "configure: failed program was:" >&5 | 7468 echo "configure: failed program was:" >&5 |
7277 cat conftest.$ac_ext >&5 | 7469 cat conftest.$ac_ext >&5 |
7296 fi | 7488 fi |
7297 | 7489 |
7298 | 7490 |
7299 if test "$have_motif" = "yes"; then | 7491 if test "$have_motif" = "yes"; then |
7300 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7492 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7301 echo "configure:7302: checking for Lesstif" >&5 | 7493 echo "configure:7494: checking for Lesstif" >&5 |
7302 cat > conftest.$ac_ext <<EOF | 7494 cat > conftest.$ac_ext <<EOF |
7303 #line 7304 "configure" | 7495 #line 7496 "configure" |
7304 #include "confdefs.h" | 7496 #include "confdefs.h" |
7305 #include <Xm/Xm.h> | 7497 #include <Xm/Xm.h> |
7306 #ifdef LESSTIF_VERSION | 7498 #ifdef LESSTIF_VERSION |
7307 yes | 7499 yes |
7308 #endif | 7500 #endif |
7579 fi | 7771 fi |
7580 fi | 7772 fi |
7581 | 7773 |
7582 if test "$with_mule" = "yes" ; then | 7774 if test "$with_mule" = "yes" ; then |
7583 echo "checking for Mule-related features" 1>&6 | 7775 echo "checking for Mule-related features" 1>&6 |
7584 echo "configure:7585: checking for Mule-related features" >&5 | 7776 echo "configure:7777: checking for Mule-related features" >&5 |
7585 { test "$extra_verbose" = "yes" && cat << \EOF | 7777 { test "$extra_verbose" = "yes" && cat << \EOF |
7586 Defining MULE | 7778 Defining MULE |
7587 EOF | 7779 EOF |
7588 cat >> confdefs.h <<\EOF | 7780 cat >> confdefs.h <<\EOF |
7589 #define MULE 1 | 7781 #define MULE 1 |
7604 | 7796 |
7605 for ac_hdr in libintl.h | 7797 for ac_hdr in libintl.h |
7606 do | 7798 do |
7607 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7799 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7608 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7800 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7609 echo "configure:7610: checking for $ac_hdr" >&5 | 7801 echo "configure:7802: checking for $ac_hdr" >&5 |
7610 | 7802 |
7611 cat > conftest.$ac_ext <<EOF | 7803 cat > conftest.$ac_ext <<EOF |
7612 #line 7613 "configure" | 7804 #line 7805 "configure" |
7613 #include "confdefs.h" | 7805 #include "confdefs.h" |
7614 #include <$ac_hdr> | 7806 #include <$ac_hdr> |
7615 EOF | 7807 EOF |
7616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7617 { (eval echo configure:7618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7809 { (eval echo configure:7810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7618 ac_err=`grep -v '^ *+' conftest.out` | 7810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7619 if test -z "$ac_err"; then | 7811 if test -z "$ac_err"; then |
7620 rm -rf conftest* | 7812 rm -rf conftest* |
7621 eval "ac_cv_header_$ac_safe=yes" | 7813 eval "ac_cv_header_$ac_safe=yes" |
7622 else | 7814 else |
7623 echo "$ac_err" >&5 | 7815 echo "$ac_err" >&5 |
7643 fi | 7835 fi |
7644 done | 7836 done |
7645 | 7837 |
7646 | 7838 |
7647 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7839 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7648 echo "configure:7649: checking for strerror in -lintl" >&5 | 7840 echo "configure:7841: checking for strerror in -lintl" >&5 |
7649 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7841 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7650 | 7842 |
7651 xe_check_libs=" -lintl " | 7843 xe_check_libs=" -lintl " |
7652 cat > conftest.$ac_ext <<EOF | 7844 cat > conftest.$ac_ext <<EOF |
7653 #line 7654 "configure" | 7845 #line 7846 "configure" |
7654 #include "confdefs.h" | 7846 #include "confdefs.h" |
7655 /* Override any gcc2 internal prototype to avoid an error. */ | 7847 /* Override any gcc2 internal prototype to avoid an error. */ |
7656 /* We use char because int might match the return type of a gcc2 | 7848 /* We use char because int might match the return type of a gcc2 |
7657 builtin and then its argument prototype would still apply. */ | 7849 builtin and then its argument prototype would still apply. */ |
7658 char strerror(); | 7850 char strerror(); |
7659 | 7851 |
7660 int main() { | 7852 int main() { |
7661 strerror() | 7853 strerror() |
7662 ; return 0; } | 7854 ; return 0; } |
7663 EOF | 7855 EOF |
7664 if { (eval echo configure:7665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7856 if { (eval echo configure:7857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7665 rm -rf conftest* | 7857 rm -rf conftest* |
7666 eval "ac_cv_lib_$ac_lib_var=yes" | 7858 eval "ac_cv_lib_$ac_lib_var=yes" |
7667 else | 7859 else |
7668 echo "configure: failed program was:" >&5 | 7860 echo "configure: failed program was:" >&5 |
7669 cat conftest.$ac_ext >&5 | 7861 cat conftest.$ac_ext >&5 |
7692 fi | 7884 fi |
7693 | 7885 |
7694 | 7886 |
7695 | 7887 |
7696 echo "checking for Mule input methods" 1>&6 | 7888 echo "checking for Mule input methods" 1>&6 |
7697 echo "configure:7698: checking for Mule input methods" >&5 | 7889 echo "configure:7890: checking for Mule input methods" >&5 |
7698 case "$with_xim" in "" | "yes" ) | 7890 case "$with_xim" in "" | "yes" ) |
7699 echo "checking for XIM" 1>&6 | 7891 echo "checking for XIM" 1>&6 |
7700 echo "configure:7701: checking for XIM" >&5 | 7892 echo "configure:7893: checking for XIM" >&5 |
7701 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7893 |
7702 else | 7894 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
7895 echo "configure:7896: checking for XOpenIM in -lX11" >&5 | |
7896 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | |
7897 | |
7898 xe_check_libs=" -lX11 " | |
7899 cat > conftest.$ac_ext <<EOF | |
7900 #line 7901 "configure" | |
7901 #include "confdefs.h" | |
7902 /* Override any gcc2 internal prototype to avoid an error. */ | |
7903 /* We use char because int might match the return type of a gcc2 | |
7904 builtin and then its argument prototype would still apply. */ | |
7905 char XOpenIM(); | |
7906 | |
7907 int main() { | |
7908 XOpenIM() | |
7909 ; return 0; } | |
7910 EOF | |
7911 if { (eval echo configure:7912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7912 rm -rf conftest* | |
7913 eval "ac_cv_lib_$ac_lib_var=yes" | |
7914 else | |
7915 echo "configure: failed program was:" >&5 | |
7916 cat conftest.$ac_ext >&5 | |
7917 rm -rf conftest* | |
7918 eval "ac_cv_lib_$ac_lib_var=no" | |
7919 fi | |
7920 rm -f conftest* | |
7921 xe_check_libs="" | |
7922 | |
7923 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7924 echo "$ac_t""yes" 1>&6 | |
7925 with_xim=xlib | |
7926 else | |
7927 echo "$ac_t""no" 1>&6 | |
7928 with_xim=no | |
7929 fi | |
7930 | |
7931 | |
7932 if test "$have_motif $have_lesstif" = "yes no"; then | |
7933 | |
7703 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7934 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7704 echo "configure:7705: checking for XmImMbLookupString in -lXm" >&5 | 7935 echo "configure:7936: checking for XmImMbLookupString in -lXm" >&5 |
7705 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7936 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7706 | 7937 |
7707 xe_check_libs=" -lXm " | 7938 xe_check_libs=" -lXm " |
7708 cat > conftest.$ac_ext <<EOF | 7939 cat > conftest.$ac_ext <<EOF |
7709 #line 7710 "configure" | 7940 #line 7941 "configure" |
7710 #include "confdefs.h" | 7941 #include "confdefs.h" |
7711 /* Override any gcc2 internal prototype to avoid an error. */ | 7942 /* Override any gcc2 internal prototype to avoid an error. */ |
7712 /* We use char because int might match the return type of a gcc2 | 7943 /* We use char because int might match the return type of a gcc2 |
7713 builtin and then its argument prototype would still apply. */ | 7944 builtin and then its argument prototype would still apply. */ |
7714 char XmImMbLookupString(); | 7945 char XmImMbLookupString(); |
7715 | 7946 |
7716 int main() { | 7947 int main() { |
7717 XmImMbLookupString() | 7948 XmImMbLookupString() |
7718 ; return 0; } | 7949 ; return 0; } |
7719 EOF | 7950 EOF |
7720 if { (eval echo configure:7721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7951 if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7721 rm -rf conftest* | 7952 rm -rf conftest* |
7722 eval "ac_cv_lib_$ac_lib_var=yes" | 7953 eval "ac_cv_lib_$ac_lib_var=yes" |
7723 else | 7954 else |
7724 echo "configure: failed program was:" >&5 | 7955 echo "configure: failed program was:" >&5 |
7725 cat conftest.$ac_ext >&5 | 7956 cat conftest.$ac_ext >&5 |
7732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7963 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7733 echo "$ac_t""yes" 1>&6 | 7964 echo "$ac_t""yes" 1>&6 |
7734 with_xim=motif | 7965 with_xim=motif |
7735 else | 7966 else |
7736 echo "$ac_t""no" 1>&6 | 7967 echo "$ac_t""no" 1>&6 |
7737 with_xim=xlib | 7968 fi |
7738 fi | 7969 |
7739 | 7970 |
7740 | 7971 fi ;; |
7741 fi | |
7742 esac | 7972 esac |
7743 if test "$with_xim" != "no"; then | 7973 if test "$with_xim" != "no"; then |
7744 { test "$extra_verbose" = "yes" && cat << \EOF | 7974 { test "$extra_verbose" = "yes" && cat << \EOF |
7745 Defining HAVE_XIM | 7975 Defining HAVE_XIM |
7746 EOF | 7976 EOF |
7781 fi | 8011 fi |
7782 fi | 8012 fi |
7783 | 8013 |
7784 if test "$with_xfs" = "yes" ; then | 8014 if test "$with_xfs" = "yes" ; then |
7785 echo "checking for XFontSet" 1>&6 | 8015 echo "checking for XFontSet" 1>&6 |
7786 echo "configure:7787: checking for XFontSet" >&5 | 8016 echo "configure:8017: checking for XFontSet" >&5 |
7787 | 8017 |
7788 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 8018 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7789 echo "configure:7790: checking for XmbDrawString in -lX11" >&5 | 8019 echo "configure:8020: checking for XmbDrawString in -lX11" >&5 |
7790 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 8020 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7791 | 8021 |
7792 xe_check_libs=" -lX11 " | 8022 xe_check_libs=" -lX11 " |
7793 cat > conftest.$ac_ext <<EOF | 8023 cat > conftest.$ac_ext <<EOF |
7794 #line 7795 "configure" | 8024 #line 8025 "configure" |
7795 #include "confdefs.h" | 8025 #include "confdefs.h" |
7796 /* Override any gcc2 internal prototype to avoid an error. */ | 8026 /* Override any gcc2 internal prototype to avoid an error. */ |
7797 /* We use char because int might match the return type of a gcc2 | 8027 /* We use char because int might match the return type of a gcc2 |
7798 builtin and then its argument prototype would still apply. */ | 8028 builtin and then its argument prototype would still apply. */ |
7799 char XmbDrawString(); | 8029 char XmbDrawString(); |
7800 | 8030 |
7801 int main() { | 8031 int main() { |
7802 XmbDrawString() | 8032 XmbDrawString() |
7803 ; return 0; } | 8033 ; return 0; } |
7804 EOF | 8034 EOF |
7805 if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8035 if { (eval echo configure:8036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7806 rm -rf conftest* | 8036 rm -rf conftest* |
7807 eval "ac_cv_lib_$ac_lib_var=yes" | 8037 eval "ac_cv_lib_$ac_lib_var=yes" |
7808 else | 8038 else |
7809 echo "configure: failed program was:" >&5 | 8039 echo "configure: failed program was:" >&5 |
7810 cat conftest.$ac_ext >&5 | 8040 cat conftest.$ac_ext >&5 |
7840 fi | 8070 fi |
7841 fi | 8071 fi |
7842 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8072 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7843 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8073 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7844 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8074 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7845 echo "configure:7846: checking for wnn/jllib.h" >&5 | 8075 echo "configure:8076: checking for wnn/jllib.h" >&5 |
7846 | 8076 |
7847 cat > conftest.$ac_ext <<EOF | 8077 cat > conftest.$ac_ext <<EOF |
7848 #line 7849 "configure" | 8078 #line 8079 "configure" |
7849 #include "confdefs.h" | 8079 #include "confdefs.h" |
7850 #include <wnn/jllib.h> | 8080 #include <wnn/jllib.h> |
7851 EOF | 8081 EOF |
7852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7853 { (eval echo configure:7854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8083 { (eval echo configure:8084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7854 ac_err=`grep -v '^ *+' conftest.out` | 8084 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7855 if test -z "$ac_err"; then | 8085 if test -z "$ac_err"; then |
7856 rm -rf conftest* | 8086 rm -rf conftest* |
7857 eval "ac_cv_header_$ac_safe=yes" | 8087 eval "ac_cv_header_$ac_safe=yes" |
7858 else | 8088 else |
7859 echo "$ac_err" >&5 | 8089 echo "$ac_err" >&5 |
7873 } | 8103 } |
7874 if test "$with_wnn" != "no"; then | 8104 if test "$with_wnn" != "no"; then |
7875 for ac_func in crypt | 8105 for ac_func in crypt |
7876 do | 8106 do |
7877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7878 echo "configure:7879: checking for $ac_func" >&5 | 8108 echo "configure:8109: checking for $ac_func" >&5 |
7879 | 8109 |
7880 cat > conftest.$ac_ext <<EOF | 8110 cat > conftest.$ac_ext <<EOF |
7881 #line 7882 "configure" | 8111 #line 8112 "configure" |
7882 #include "confdefs.h" | 8112 #include "confdefs.h" |
7883 /* System header to define __stub macros and hopefully few prototypes, | 8113 /* System header to define __stub macros and hopefully few prototypes, |
7884 which can conflict with char $ac_func(); below. */ | 8114 which can conflict with char $ac_func(); below. */ |
7885 #include <assert.h> | 8115 #include <assert.h> |
7886 /* Override any gcc2 internal prototype to avoid an error. */ | 8116 /* Override any gcc2 internal prototype to avoid an error. */ |
7899 $ac_func(); | 8129 $ac_func(); |
7900 #endif | 8130 #endif |
7901 | 8131 |
7902 ; return 0; } | 8132 ; return 0; } |
7903 EOF | 8133 EOF |
7904 if { (eval echo configure:7905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8134 if { (eval echo configure:8135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7905 rm -rf conftest* | 8135 rm -rf conftest* |
7906 eval "ac_cv_func_$ac_func=yes" | 8136 eval "ac_cv_func_$ac_func=yes" |
7907 else | 8137 else |
7908 echo "configure: failed program was:" >&5 | 8138 echo "configure: failed program was:" >&5 |
7909 cat conftest.$ac_ext >&5 | 8139 cat conftest.$ac_ext >&5 |
7928 fi | 8158 fi |
7929 done | 8159 done |
7930 | 8160 |
7931 test "$ac_cv_func_crypt" != "yes" && { | 8161 test "$ac_cv_func_crypt" != "yes" && { |
7932 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8162 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7933 echo "configure:7934: checking for crypt in -lcrypt" >&5 | 8163 echo "configure:8164: checking for crypt in -lcrypt" >&5 |
7934 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8164 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7935 | 8165 |
7936 xe_check_libs=" -lcrypt " | 8166 xe_check_libs=" -lcrypt " |
7937 cat > conftest.$ac_ext <<EOF | 8167 cat > conftest.$ac_ext <<EOF |
7938 #line 7939 "configure" | 8168 #line 8169 "configure" |
7939 #include "confdefs.h" | 8169 #include "confdefs.h" |
7940 /* Override any gcc2 internal prototype to avoid an error. */ | 8170 /* Override any gcc2 internal prototype to avoid an error. */ |
7941 /* We use char because int might match the return type of a gcc2 | 8171 /* We use char because int might match the return type of a gcc2 |
7942 builtin and then its argument prototype would still apply. */ | 8172 builtin and then its argument prototype would still apply. */ |
7943 char crypt(); | 8173 char crypt(); |
7944 | 8174 |
7945 int main() { | 8175 int main() { |
7946 crypt() | 8176 crypt() |
7947 ; return 0; } | 8177 ; return 0; } |
7948 EOF | 8178 EOF |
7949 if { (eval echo configure:7950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8179 if { (eval echo configure:8180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7950 rm -rf conftest* | 8180 rm -rf conftest* |
7951 eval "ac_cv_lib_$ac_lib_var=yes" | 8181 eval "ac_cv_lib_$ac_lib_var=yes" |
7952 else | 8182 else |
7953 echo "configure: failed program was:" >&5 | 8183 echo "configure: failed program was:" >&5 |
7954 cat conftest.$ac_ext >&5 | 8184 cat conftest.$ac_ext >&5 |
7979 } | 8209 } |
7980 fi | 8210 fi |
7981 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8211 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
7982 | 8212 |
7983 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8213 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7984 echo "configure:7985: checking for jl_dic_list_e in -lwnn" >&5 | 8214 echo "configure:8215: checking for jl_dic_list_e in -lwnn" >&5 |
7985 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8215 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7986 | 8216 |
7987 xe_check_libs=" -lwnn " | 8217 xe_check_libs=" -lwnn " |
7988 cat > conftest.$ac_ext <<EOF | 8218 cat > conftest.$ac_ext <<EOF |
7989 #line 7990 "configure" | 8219 #line 8220 "configure" |
7990 #include "confdefs.h" | 8220 #include "confdefs.h" |
7991 /* Override any gcc2 internal prototype to avoid an error. */ | 8221 /* Override any gcc2 internal prototype to avoid an error. */ |
7992 /* We use char because int might match the return type of a gcc2 | 8222 /* We use char because int might match the return type of a gcc2 |
7993 builtin and then its argument prototype would still apply. */ | 8223 builtin and then its argument prototype would still apply. */ |
7994 char jl_dic_list_e(); | 8224 char jl_dic_list_e(); |
7995 | 8225 |
7996 int main() { | 8226 int main() { |
7997 jl_dic_list_e() | 8227 jl_dic_list_e() |
7998 ; return 0; } | 8228 ; return 0; } |
7999 EOF | 8229 EOF |
8000 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8230 if { (eval echo configure:8231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8001 rm -rf conftest* | 8231 rm -rf conftest* |
8002 eval "ac_cv_lib_$ac_lib_var=yes" | 8232 eval "ac_cv_lib_$ac_lib_var=yes" |
8003 else | 8233 else |
8004 echo "configure: failed program was:" >&5 | 8234 echo "configure: failed program was:" >&5 |
8005 cat conftest.$ac_ext >&5 | 8235 cat conftest.$ac_ext >&5 |
8013 echo "$ac_t""yes" 1>&6 | 8243 echo "$ac_t""yes" 1>&6 |
8014 libwnn=wnn | 8244 libwnn=wnn |
8015 else | 8245 else |
8016 echo "$ac_t""no" 1>&6 | 8246 echo "$ac_t""no" 1>&6 |
8017 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8247 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
8018 echo "configure:8019: checking for jl_dic_list_e in -lwnn4" >&5 | 8248 echo "configure:8249: checking for jl_dic_list_e in -lwnn4" >&5 |
8019 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8249 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8020 | 8250 |
8021 xe_check_libs=" -lwnn4 " | 8251 xe_check_libs=" -lwnn4 " |
8022 cat > conftest.$ac_ext <<EOF | 8252 cat > conftest.$ac_ext <<EOF |
8023 #line 8024 "configure" | 8253 #line 8254 "configure" |
8024 #include "confdefs.h" | 8254 #include "confdefs.h" |
8025 /* Override any gcc2 internal prototype to avoid an error. */ | 8255 /* Override any gcc2 internal prototype to avoid an error. */ |
8026 /* We use char because int might match the return type of a gcc2 | 8256 /* We use char because int might match the return type of a gcc2 |
8027 builtin and then its argument prototype would still apply. */ | 8257 builtin and then its argument prototype would still apply. */ |
8028 char jl_dic_list_e(); | 8258 char jl_dic_list_e(); |
8029 | 8259 |
8030 int main() { | 8260 int main() { |
8031 jl_dic_list_e() | 8261 jl_dic_list_e() |
8032 ; return 0; } | 8262 ; return 0; } |
8033 EOF | 8263 EOF |
8034 if { (eval echo configure:8035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8264 if { (eval echo configure:8265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8035 rm -rf conftest* | 8265 rm -rf conftest* |
8036 eval "ac_cv_lib_$ac_lib_var=yes" | 8266 eval "ac_cv_lib_$ac_lib_var=yes" |
8037 else | 8267 else |
8038 echo "configure: failed program was:" >&5 | 8268 echo "configure: failed program was:" >&5 |
8039 cat conftest.$ac_ext >&5 | 8269 cat conftest.$ac_ext >&5 |
8047 echo "$ac_t""yes" 1>&6 | 8277 echo "$ac_t""yes" 1>&6 |
8048 libwnn=wnn4 | 8278 libwnn=wnn4 |
8049 else | 8279 else |
8050 echo "$ac_t""no" 1>&6 | 8280 echo "$ac_t""no" 1>&6 |
8051 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8281 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8052 echo "configure:8053: checking for jl_dic_list_e in -lwnn6" >&5 | 8282 echo "configure:8283: checking for jl_dic_list_e in -lwnn6" >&5 |
8053 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8283 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8054 | 8284 |
8055 xe_check_libs=" -lwnn6 " | 8285 xe_check_libs=" -lwnn6 " |
8056 cat > conftest.$ac_ext <<EOF | 8286 cat > conftest.$ac_ext <<EOF |
8057 #line 8058 "configure" | 8287 #line 8288 "configure" |
8058 #include "confdefs.h" | 8288 #include "confdefs.h" |
8059 /* Override any gcc2 internal prototype to avoid an error. */ | 8289 /* Override any gcc2 internal prototype to avoid an error. */ |
8060 /* We use char because int might match the return type of a gcc2 | 8290 /* We use char because int might match the return type of a gcc2 |
8061 builtin and then its argument prototype would still apply. */ | 8291 builtin and then its argument prototype would still apply. */ |
8062 char jl_dic_list_e(); | 8292 char jl_dic_list_e(); |
8063 | 8293 |
8064 int main() { | 8294 int main() { |
8065 jl_dic_list_e() | 8295 jl_dic_list_e() |
8066 ; return 0; } | 8296 ; return 0; } |
8067 EOF | 8297 EOF |
8068 if { (eval echo configure:8069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8298 if { (eval echo configure:8299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8069 rm -rf conftest* | 8299 rm -rf conftest* |
8070 eval "ac_cv_lib_$ac_lib_var=yes" | 8300 eval "ac_cv_lib_$ac_lib_var=yes" |
8071 else | 8301 else |
8072 echo "configure: failed program was:" >&5 | 8302 echo "configure: failed program was:" >&5 |
8073 cat conftest.$ac_ext >&5 | 8303 cat conftest.$ac_ext >&5 |
8081 echo "$ac_t""yes" 1>&6 | 8311 echo "$ac_t""yes" 1>&6 |
8082 libwnn=wnn6 | 8312 libwnn=wnn6 |
8083 else | 8313 else |
8084 echo "$ac_t""no" 1>&6 | 8314 echo "$ac_t""no" 1>&6 |
8085 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8315 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8086 echo "configure:8087: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8316 echo "configure:8317: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8087 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8317 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8088 | 8318 |
8089 xe_check_libs=" -lwnn6_fromsrc " | 8319 xe_check_libs=" -lwnn6_fromsrc " |
8090 cat > conftest.$ac_ext <<EOF | 8320 cat > conftest.$ac_ext <<EOF |
8091 #line 8092 "configure" | 8321 #line 8322 "configure" |
8092 #include "confdefs.h" | 8322 #include "confdefs.h" |
8093 /* Override any gcc2 internal prototype to avoid an error. */ | 8323 /* Override any gcc2 internal prototype to avoid an error. */ |
8094 /* We use char because int might match the return type of a gcc2 | 8324 /* We use char because int might match the return type of a gcc2 |
8095 builtin and then its argument prototype would still apply. */ | 8325 builtin and then its argument prototype would still apply. */ |
8096 char dic_list_e(); | 8326 char dic_list_e(); |
8097 | 8327 |
8098 int main() { | 8328 int main() { |
8099 dic_list_e() | 8329 dic_list_e() |
8100 ; return 0; } | 8330 ; return 0; } |
8101 EOF | 8331 EOF |
8102 if { (eval echo configure:8103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8332 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8103 rm -rf conftest* | 8333 rm -rf conftest* |
8104 eval "ac_cv_lib_$ac_lib_var=yes" | 8334 eval "ac_cv_lib_$ac_lib_var=yes" |
8105 else | 8335 else |
8106 echo "configure: failed program was:" >&5 | 8336 echo "configure: failed program was:" >&5 |
8107 cat conftest.$ac_ext >&5 | 8337 cat conftest.$ac_ext >&5 |
8145 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8375 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8146 fi | 8376 fi |
8147 if test "$with_wnn6" != "no"; then | 8377 if test "$with_wnn6" != "no"; then |
8148 | 8378 |
8149 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8379 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8150 echo "configure:8151: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8380 echo "configure:8381: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8151 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8381 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8152 | 8382 |
8153 xe_check_libs=" -l$libwnn " | 8383 xe_check_libs=" -l$libwnn " |
8154 cat > conftest.$ac_ext <<EOF | 8384 cat > conftest.$ac_ext <<EOF |
8155 #line 8156 "configure" | 8385 #line 8386 "configure" |
8156 #include "confdefs.h" | 8386 #include "confdefs.h" |
8157 /* Override any gcc2 internal prototype to avoid an error. */ | 8387 /* Override any gcc2 internal prototype to avoid an error. */ |
8158 /* We use char because int might match the return type of a gcc2 | 8388 /* We use char because int might match the return type of a gcc2 |
8159 builtin and then its argument prototype would still apply. */ | 8389 builtin and then its argument prototype would still apply. */ |
8160 char jl_fi_dic_list(); | 8390 char jl_fi_dic_list(); |
8161 | 8391 |
8162 int main() { | 8392 int main() { |
8163 jl_fi_dic_list() | 8393 jl_fi_dic_list() |
8164 ; return 0; } | 8394 ; return 0; } |
8165 EOF | 8395 EOF |
8166 if { (eval echo configure:8167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8167 rm -rf conftest* | 8397 rm -rf conftest* |
8168 eval "ac_cv_lib_$ac_lib_var=yes" | 8398 eval "ac_cv_lib_$ac_lib_var=yes" |
8169 else | 8399 else |
8170 echo "configure: failed program was:" >&5 | 8400 echo "configure: failed program was:" >&5 |
8171 cat conftest.$ac_ext >&5 | 8401 cat conftest.$ac_ext >&5 |
8196 | 8426 |
8197 canna_includes_found=no | 8427 canna_includes_found=no |
8198 if test "$with_canna" != "no"; then | 8428 if test "$with_canna" != "no"; then |
8199 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8429 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8200 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8430 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8201 echo "configure:8202: checking for canna/jrkanji.h" >&5 | 8431 echo "configure:8432: checking for canna/jrkanji.h" >&5 |
8202 | 8432 |
8203 cat > conftest.$ac_ext <<EOF | 8433 cat > conftest.$ac_ext <<EOF |
8204 #line 8205 "configure" | 8434 #line 8435 "configure" |
8205 #include "confdefs.h" | 8435 #include "confdefs.h" |
8206 #include <canna/jrkanji.h> | 8436 #include <canna/jrkanji.h> |
8207 EOF | 8437 EOF |
8208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8209 { (eval echo configure:8210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8439 { (eval echo configure:8440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8210 ac_err=`grep -v '^ *+' conftest.out` | 8440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8211 if test -z "$ac_err"; then | 8441 if test -z "$ac_err"; then |
8212 rm -rf conftest* | 8442 rm -rf conftest* |
8213 eval "ac_cv_header_$ac_safe=yes" | 8443 eval "ac_cv_header_$ac_safe=yes" |
8214 else | 8444 else |
8215 echo "$ac_err" >&5 | 8445 echo "$ac_err" >&5 |
8231 -d "/usr/local/canna/include"; then | 8461 -d "/usr/local/canna/include"; then |
8232 save_c_switch_site="$c_switch_site" | 8462 save_c_switch_site="$c_switch_site" |
8233 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8463 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8234 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8464 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8235 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8465 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8236 echo "configure:8237: checking for canna/jrkanji.h" >&5 | 8466 echo "configure:8467: checking for canna/jrkanji.h" >&5 |
8237 | 8467 |
8238 cat > conftest.$ac_ext <<EOF | 8468 cat > conftest.$ac_ext <<EOF |
8239 #line 8240 "configure" | 8469 #line 8470 "configure" |
8240 #include "confdefs.h" | 8470 #include "confdefs.h" |
8241 #include <canna/jrkanji.h> | 8471 #include <canna/jrkanji.h> |
8242 EOF | 8472 EOF |
8243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8244 { (eval echo configure:8245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8474 { (eval echo configure:8475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8245 ac_err=`grep -v '^ *+' conftest.out` | 8475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8246 if test -z "$ac_err"; then | 8476 if test -z "$ac_err"; then |
8247 rm -rf conftest* | 8477 rm -rf conftest* |
8248 eval "ac_cv_header_$ac_safe=yes" | 8478 eval "ac_cv_header_$ac_safe=yes" |
8249 else | 8479 else |
8250 echo "$ac_err" >&5 | 8480 echo "$ac_err" >&5 |
8267 fi | 8497 fi |
8268 fi | 8498 fi |
8269 | 8499 |
8270 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8500 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8271 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8501 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8272 echo "configure:8273: checking for canna/RK.h" >&5 | 8502 echo "configure:8503: checking for canna/RK.h" >&5 |
8273 | 8503 |
8274 cat > conftest.$ac_ext <<EOF | 8504 cat > conftest.$ac_ext <<EOF |
8275 #line 8276 "configure" | 8505 #line 8506 "configure" |
8276 #include "confdefs.h" | 8506 #include "confdefs.h" |
8277 #include <canna/RK.h> | 8507 #include <canna/RK.h> |
8278 EOF | 8508 EOF |
8279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8280 { (eval echo configure:8281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8510 { (eval echo configure:8511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8281 ac_err=`grep -v '^ *+' conftest.out` | 8511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8282 if test -z "$ac_err"; then | 8512 if test -z "$ac_err"; then |
8283 rm -rf conftest* | 8513 rm -rf conftest* |
8284 eval "ac_cv_header_$ac_safe=yes" | 8514 eval "ac_cv_header_$ac_safe=yes" |
8285 else | 8515 else |
8286 echo "$ac_err" >&5 | 8516 echo "$ac_err" >&5 |
8298 with_canna=no | 8528 with_canna=no |
8299 fi | 8529 fi |
8300 } | 8530 } |
8301 test -z "$with_canna" && { | 8531 test -z "$with_canna" && { |
8302 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8532 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8303 echo "configure:8304: checking for RkBgnBun in -lRKC" >&5 | 8533 echo "configure:8534: checking for RkBgnBun in -lRKC" >&5 |
8304 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8534 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8305 | 8535 |
8306 xe_check_libs=" -lRKC " | 8536 xe_check_libs=" -lRKC " |
8307 cat > conftest.$ac_ext <<EOF | 8537 cat > conftest.$ac_ext <<EOF |
8308 #line 8309 "configure" | 8538 #line 8539 "configure" |
8309 #include "confdefs.h" | 8539 #include "confdefs.h" |
8310 /* Override any gcc2 internal prototype to avoid an error. */ | 8540 /* Override any gcc2 internal prototype to avoid an error. */ |
8311 /* We use char because int might match the return type of a gcc2 | 8541 /* We use char because int might match the return type of a gcc2 |
8312 builtin and then its argument prototype would still apply. */ | 8542 builtin and then its argument prototype would still apply. */ |
8313 char RkBgnBun(); | 8543 char RkBgnBun(); |
8314 | 8544 |
8315 int main() { | 8545 int main() { |
8316 RkBgnBun() | 8546 RkBgnBun() |
8317 ; return 0; } | 8547 ; return 0; } |
8318 EOF | 8548 EOF |
8319 if { (eval echo configure:8320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8549 if { (eval echo configure:8550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8320 rm -rf conftest* | 8550 rm -rf conftest* |
8321 eval "ac_cv_lib_$ac_lib_var=yes" | 8551 eval "ac_cv_lib_$ac_lib_var=yes" |
8322 else | 8552 else |
8323 echo "configure: failed program was:" >&5 | 8553 echo "configure: failed program was:" >&5 |
8324 cat conftest.$ac_ext >&5 | 8554 cat conftest.$ac_ext >&5 |
8337 fi | 8567 fi |
8338 | 8568 |
8339 } | 8569 } |
8340 test -z "$with_canna" && { | 8570 test -z "$with_canna" && { |
8341 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8571 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8342 echo "configure:8343: checking for jrKanjiControl in -lcanna" >&5 | 8572 echo "configure:8573: checking for jrKanjiControl in -lcanna" >&5 |
8343 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8573 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8344 | 8574 |
8345 xe_check_libs=" -lcanna " | 8575 xe_check_libs=" -lcanna " |
8346 cat > conftest.$ac_ext <<EOF | 8576 cat > conftest.$ac_ext <<EOF |
8347 #line 8348 "configure" | 8577 #line 8578 "configure" |
8348 #include "confdefs.h" | 8578 #include "confdefs.h" |
8349 /* Override any gcc2 internal prototype to avoid an error. */ | 8579 /* Override any gcc2 internal prototype to avoid an error. */ |
8350 /* We use char because int might match the return type of a gcc2 | 8580 /* We use char because int might match the return type of a gcc2 |
8351 builtin and then its argument prototype would still apply. */ | 8581 builtin and then its argument prototype would still apply. */ |
8352 char jrKanjiControl(); | 8582 char jrKanjiControl(); |
8353 | 8583 |
8354 int main() { | 8584 int main() { |
8355 jrKanjiControl() | 8585 jrKanjiControl() |
8356 ; return 0; } | 8586 ; return 0; } |
8357 EOF | 8587 EOF |
8358 if { (eval echo configure:8359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8588 if { (eval echo configure:8589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8359 rm -rf conftest* | 8589 rm -rf conftest* |
8360 eval "ac_cv_lib_$ac_lib_var=yes" | 8590 eval "ac_cv_lib_$ac_lib_var=yes" |
8361 else | 8591 else |
8362 echo "configure: failed program was:" >&5 | 8592 echo "configure: failed program was:" >&5 |
8363 cat conftest.$ac_ext >&5 | 8593 cat conftest.$ac_ext >&5 |
8402 | 8632 |
8403 if test "$need_motif" = "yes" ; then | 8633 if test "$need_motif" = "yes" ; then |
8404 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8634 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8405 | 8635 |
8406 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8636 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8407 echo "configure:8408: checking for layout_object_getvalue in -li18n" >&5 | 8637 echo "configure:8638: checking for layout_object_getvalue in -li18n" >&5 |
8408 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8638 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8409 | 8639 |
8410 xe_check_libs=" -li18n " | 8640 xe_check_libs=" -li18n " |
8411 cat > conftest.$ac_ext <<EOF | 8641 cat > conftest.$ac_ext <<EOF |
8412 #line 8413 "configure" | 8642 #line 8643 "configure" |
8413 #include "confdefs.h" | 8643 #include "confdefs.h" |
8414 /* Override any gcc2 internal prototype to avoid an error. */ | 8644 /* Override any gcc2 internal prototype to avoid an error. */ |
8415 /* We use char because int might match the return type of a gcc2 | 8645 /* We use char because int might match the return type of a gcc2 |
8416 builtin and then its argument prototype would still apply. */ | 8646 builtin and then its argument prototype would still apply. */ |
8417 char layout_object_getvalue(); | 8647 char layout_object_getvalue(); |
8418 | 8648 |
8419 int main() { | 8649 int main() { |
8420 layout_object_getvalue() | 8650 layout_object_getvalue() |
8421 ; return 0; } | 8651 ; return 0; } |
8422 EOF | 8652 EOF |
8423 if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8653 if { (eval echo configure:8654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8424 rm -rf conftest* | 8654 rm -rf conftest* |
8425 eval "ac_cv_lib_$ac_lib_var=yes" | 8655 eval "ac_cv_lib_$ac_lib_var=yes" |
8426 else | 8656 else |
8427 echo "configure: failed program was:" >&5 | 8657 echo "configure: failed program was:" >&5 |
8428 cat conftest.$ac_ext >&5 | 8658 cat conftest.$ac_ext >&5 |
8504 fi | 8734 fi |
8505 | 8735 |
8506 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8736 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8507 do | 8737 do |
8508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8509 echo "configure:8510: checking for $ac_func" >&5 | 8739 echo "configure:8740: checking for $ac_func" >&5 |
8510 | 8740 |
8511 cat > conftest.$ac_ext <<EOF | 8741 cat > conftest.$ac_ext <<EOF |
8512 #line 8513 "configure" | 8742 #line 8743 "configure" |
8513 #include "confdefs.h" | 8743 #include "confdefs.h" |
8514 /* System header to define __stub macros and hopefully few prototypes, | 8744 /* System header to define __stub macros and hopefully few prototypes, |
8515 which can conflict with char $ac_func(); below. */ | 8745 which can conflict with char $ac_func(); below. */ |
8516 #include <assert.h> | 8746 #include <assert.h> |
8517 /* Override any gcc2 internal prototype to avoid an error. */ | 8747 /* Override any gcc2 internal prototype to avoid an error. */ |
8530 $ac_func(); | 8760 $ac_func(); |
8531 #endif | 8761 #endif |
8532 | 8762 |
8533 ; return 0; } | 8763 ; return 0; } |
8534 EOF | 8764 EOF |
8535 if { (eval echo configure:8536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8765 if { (eval echo configure:8766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8536 rm -rf conftest* | 8766 rm -rf conftest* |
8537 eval "ac_cv_func_$ac_func=yes" | 8767 eval "ac_cv_func_$ac_func=yes" |
8538 else | 8768 else |
8539 echo "configure: failed program was:" >&5 | 8769 echo "configure: failed program was:" >&5 |
8540 cat conftest.$ac_ext >&5 | 8770 cat conftest.$ac_ext >&5 |
8571 echo " xemacs will be linked with \"realpath.o\"" | 8801 echo " xemacs will be linked with \"realpath.o\"" |
8572 fi ;; | 8802 fi ;; |
8573 * ) for ac_func in realpath | 8803 * ) for ac_func in realpath |
8574 do | 8804 do |
8575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8576 echo "configure:8577: checking for $ac_func" >&5 | 8806 echo "configure:8807: checking for $ac_func" >&5 |
8577 | 8807 |
8578 cat > conftest.$ac_ext <<EOF | 8808 cat > conftest.$ac_ext <<EOF |
8579 #line 8580 "configure" | 8809 #line 8810 "configure" |
8580 #include "confdefs.h" | 8810 #include "confdefs.h" |
8581 /* System header to define __stub macros and hopefully few prototypes, | 8811 /* System header to define __stub macros and hopefully few prototypes, |
8582 which can conflict with char $ac_func(); below. */ | 8812 which can conflict with char $ac_func(); below. */ |
8583 #include <assert.h> | 8813 #include <assert.h> |
8584 /* Override any gcc2 internal prototype to avoid an error. */ | 8814 /* Override any gcc2 internal prototype to avoid an error. */ |
8597 $ac_func(); | 8827 $ac_func(); |
8598 #endif | 8828 #endif |
8599 | 8829 |
8600 ; return 0; } | 8830 ; return 0; } |
8601 EOF | 8831 EOF |
8602 if { (eval echo configure:8603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8832 if { (eval echo configure:8833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8603 rm -rf conftest* | 8833 rm -rf conftest* |
8604 eval "ac_cv_func_$ac_func=yes" | 8834 eval "ac_cv_func_$ac_func=yes" |
8605 else | 8835 else |
8606 echo "configure: failed program was:" >&5 | 8836 echo "configure: failed program was:" >&5 |
8607 cat conftest.$ac_ext >&5 | 8837 cat conftest.$ac_ext >&5 |
8631 fi ;; | 8861 fi ;; |
8632 esac ;; | 8862 esac ;; |
8633 esac | 8863 esac |
8634 | 8864 |
8635 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8865 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8636 echo "configure:8637: checking whether netdb declares h_errno" >&5 | 8866 echo "configure:8867: checking whether netdb declares h_errno" >&5 |
8637 cat > conftest.$ac_ext <<EOF | 8867 cat > conftest.$ac_ext <<EOF |
8638 #line 8639 "configure" | 8868 #line 8869 "configure" |
8639 #include "confdefs.h" | 8869 #include "confdefs.h" |
8640 #include <netdb.h> | 8870 #include <netdb.h> |
8641 int main() { | 8871 int main() { |
8642 return h_errno; | 8872 return h_errno; |
8643 ; return 0; } | 8873 ; return 0; } |
8644 EOF | 8874 EOF |
8645 if { (eval echo configure:8646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8875 if { (eval echo configure:8876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8646 rm -rf conftest* | 8876 rm -rf conftest* |
8647 echo "$ac_t""yes" 1>&6 | 8877 echo "$ac_t""yes" 1>&6 |
8648 { test "$extra_verbose" = "yes" && cat << \EOF | 8878 { test "$extra_verbose" = "yes" && cat << \EOF |
8649 Defining HAVE_H_ERRNO | 8879 Defining HAVE_H_ERRNO |
8650 EOF | 8880 EOF |
8660 echo "$ac_t""no" 1>&6 | 8890 echo "$ac_t""no" 1>&6 |
8661 fi | 8891 fi |
8662 rm -f conftest* | 8892 rm -f conftest* |
8663 | 8893 |
8664 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8894 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8665 echo "configure:8666: checking for sigsetjmp" >&5 | 8895 echo "configure:8896: checking for sigsetjmp" >&5 |
8666 cat > conftest.$ac_ext <<EOF | 8896 cat > conftest.$ac_ext <<EOF |
8667 #line 8668 "configure" | 8897 #line 8898 "configure" |
8668 #include "confdefs.h" | 8898 #include "confdefs.h" |
8669 #include <setjmp.h> | 8899 #include <setjmp.h> |
8670 int main() { | 8900 int main() { |
8671 sigjmp_buf bar; sigsetjmp (bar, 0); | 8901 sigjmp_buf bar; sigsetjmp (bar, 0); |
8672 ; return 0; } | 8902 ; return 0; } |
8673 EOF | 8903 EOF |
8674 if { (eval echo configure:8675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8904 if { (eval echo configure:8905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8675 rm -rf conftest* | 8905 rm -rf conftest* |
8676 echo "$ac_t""yes" 1>&6 | 8906 echo "$ac_t""yes" 1>&6 |
8677 { test "$extra_verbose" = "yes" && cat << \EOF | 8907 { test "$extra_verbose" = "yes" && cat << \EOF |
8678 Defining HAVE_SIGSETJMP | 8908 Defining HAVE_SIGSETJMP |
8679 EOF | 8909 EOF |
8689 echo "$ac_t""no" 1>&6 | 8919 echo "$ac_t""no" 1>&6 |
8690 fi | 8920 fi |
8691 rm -f conftest* | 8921 rm -f conftest* |
8692 | 8922 |
8693 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8923 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8694 echo "configure:8695: checking whether localtime caches TZ" >&5 | 8924 echo "configure:8925: checking whether localtime caches TZ" >&5 |
8695 | 8925 |
8696 if test "$ac_cv_func_tzset" = "yes"; then | 8926 if test "$ac_cv_func_tzset" = "yes"; then |
8697 cat > conftest.$ac_ext <<EOF | 8927 cat > conftest.$ac_ext <<EOF |
8698 #line 8699 "configure" | 8928 #line 8929 "configure" |
8699 #include "confdefs.h" | 8929 #include "confdefs.h" |
8700 #include <time.h> | 8930 #include <time.h> |
8701 #if STDC_HEADERS | 8931 #if STDC_HEADERS |
8702 # include <stdlib.h> | 8932 # include <stdlib.h> |
8703 #endif | 8933 #endif |
8728 if (localtime (&now)->tm_hour != hour_unset) | 8958 if (localtime (&now)->tm_hour != hour_unset) |
8729 exit (1); | 8959 exit (1); |
8730 exit (0); | 8960 exit (0); |
8731 } | 8961 } |
8732 EOF | 8962 EOF |
8733 if { (eval echo configure:8734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8734 then | 8964 then |
8735 emacs_cv_localtime_cache=no | 8965 emacs_cv_localtime_cache=no |
8736 else | 8966 else |
8737 conftest_rc="$?" | 8967 conftest_rc="$?" |
8738 echo "configure: failed program was:" >&5 | 8968 echo "configure: failed program was:" >&5 |
8758 | 8988 |
8759 fi | 8989 fi |
8760 | 8990 |
8761 if test "$HAVE_TIMEVAL" = "yes"; then | 8991 if test "$HAVE_TIMEVAL" = "yes"; then |
8762 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8992 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8763 echo "configure:8764: checking whether gettimeofday accepts one or two arguments" >&5 | 8993 echo "configure:8994: checking whether gettimeofday accepts one or two arguments" >&5 |
8764 cat > conftest.$ac_ext <<EOF | 8994 cat > conftest.$ac_ext <<EOF |
8765 #line 8766 "configure" | 8995 #line 8996 "configure" |
8766 #include "confdefs.h" | 8996 #include "confdefs.h" |
8767 | 8997 |
8768 #ifdef TIME_WITH_SYS_TIME | 8998 #ifdef TIME_WITH_SYS_TIME |
8769 #include <sys/time.h> | 8999 #include <sys/time.h> |
8770 #include <time.h> | 9000 #include <time.h> |
8782 struct timezone dummy; | 9012 struct timezone dummy; |
8783 gettimeofday (&time, &dummy); | 9013 gettimeofday (&time, &dummy); |
8784 | 9014 |
8785 ; return 0; } | 9015 ; return 0; } |
8786 EOF | 9016 EOF |
8787 if { (eval echo configure:8788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9017 if { (eval echo configure:9018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8788 rm -rf conftest* | 9018 rm -rf conftest* |
8789 echo "$ac_t""two" 1>&6 | 9019 echo "$ac_t""two" 1>&6 |
8790 else | 9020 else |
8791 echo "configure: failed program was:" >&5 | 9021 echo "configure: failed program was:" >&5 |
8792 cat conftest.$ac_ext >&5 | 9022 cat conftest.$ac_ext >&5 |
8804 rm -f conftest* | 9034 rm -f conftest* |
8805 fi | 9035 fi |
8806 | 9036 |
8807 | 9037 |
8808 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9038 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8809 echo "configure:8810: checking for inline" >&5 | 9039 echo "configure:9040: checking for inline" >&5 |
8810 | 9040 |
8811 ac_cv_c_inline=no | 9041 ac_cv_c_inline=no |
8812 for ac_kw in inline __inline__ __inline; do | 9042 for ac_kw in inline __inline__ __inline; do |
8813 cat > conftest.$ac_ext <<EOF | 9043 cat > conftest.$ac_ext <<EOF |
8814 #line 8815 "configure" | 9044 #line 9045 "configure" |
8815 #include "confdefs.h" | 9045 #include "confdefs.h" |
8816 | 9046 |
8817 int main() { | 9047 int main() { |
8818 } $ac_kw foo() { | 9048 } $ac_kw foo() { |
8819 ; return 0; } | 9049 ; return 0; } |
8820 EOF | 9050 EOF |
8821 if { (eval echo configure:8822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9051 if { (eval echo configure:9052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8822 rm -rf conftest* | 9052 rm -rf conftest* |
8823 ac_cv_c_inline=$ac_kw; break | 9053 ac_cv_c_inline=$ac_kw; break |
8824 else | 9054 else |
8825 echo "configure: failed program was:" >&5 | 9055 echo "configure: failed program was:" >&5 |
8826 cat conftest.$ac_ext >&5 | 9056 cat conftest.$ac_ext >&5 |
8866 | 9096 |
8867 | 9097 |
8868 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9098 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8869 # for constant arguments. Useless! | 9099 # for constant arguments. Useless! |
8870 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9100 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8871 echo "configure:8872: checking for working alloca.h" >&5 | 9101 echo "configure:9102: checking for working alloca.h" >&5 |
8872 | 9102 |
8873 cat > conftest.$ac_ext <<EOF | 9103 cat > conftest.$ac_ext <<EOF |
8874 #line 8875 "configure" | 9104 #line 9105 "configure" |
8875 #include "confdefs.h" | 9105 #include "confdefs.h" |
8876 #include <alloca.h> | 9106 #include <alloca.h> |
8877 int main() { | 9107 int main() { |
8878 char *p = alloca(2 * sizeof(int)); | 9108 char *p = alloca(2 * sizeof(int)); |
8879 ; return 0; } | 9109 ; return 0; } |
8880 EOF | 9110 EOF |
8881 if { (eval echo configure:8882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9111 if { (eval echo configure:9112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8882 rm -rf conftest* | 9112 rm -rf conftest* |
8883 ac_cv_header_alloca_h=yes | 9113 ac_cv_header_alloca_h=yes |
8884 else | 9114 else |
8885 echo "configure: failed program was:" >&5 | 9115 echo "configure: failed program was:" >&5 |
8886 cat conftest.$ac_ext >&5 | 9116 cat conftest.$ac_ext >&5 |
8900 } | 9130 } |
8901 | 9131 |
8902 fi | 9132 fi |
8903 | 9133 |
8904 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9134 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8905 echo "configure:8906: checking for alloca" >&5 | 9135 echo "configure:9136: checking for alloca" >&5 |
8906 | 9136 |
8907 cat > conftest.$ac_ext <<EOF | 9137 cat > conftest.$ac_ext <<EOF |
8908 #line 8909 "configure" | 9138 #line 9139 "configure" |
8909 #include "confdefs.h" | 9139 #include "confdefs.h" |
8910 | 9140 |
8911 #ifdef __GNUC__ | 9141 #ifdef __GNUC__ |
8912 # define alloca __builtin_alloca | 9142 # define alloca __builtin_alloca |
8913 #else | 9143 #else |
8914 # if HAVE_ALLOCA_H | 9144 # ifdef _MSC_VER |
8915 # include <alloca.h> | 9145 # include <malloc.h> |
9146 # define alloca _alloca | |
8916 # else | 9147 # else |
8917 # ifdef _AIX | 9148 # if HAVE_ALLOCA_H |
9149 # include <alloca.h> | |
9150 # else | |
9151 # ifdef _AIX | |
8918 #pragma alloca | 9152 #pragma alloca |
8919 # else | 9153 # else |
8920 # ifndef alloca /* predefined by HP cc +Olibcalls */ | 9154 # ifndef alloca /* predefined by HP cc +Olibcalls */ |
8921 char *alloca (); | 9155 char *alloca (); |
9156 # endif | |
8922 # endif | 9157 # endif |
8923 # endif | 9158 # endif |
8924 # endif | 9159 # endif |
8925 #endif | 9160 #endif |
8926 | 9161 |
8927 int main() { | 9162 int main() { |
8928 char *p = (char *) alloca(1); | 9163 char *p = (char *) alloca(1); |
8929 ; return 0; } | 9164 ; return 0; } |
8930 EOF | 9165 EOF |
8931 if { (eval echo configure:8932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9166 if { (eval echo configure:9167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8932 rm -rf conftest* | 9167 rm -rf conftest* |
8933 ac_cv_func_alloca_works=yes | 9168 ac_cv_func_alloca_works=yes |
8934 else | 9169 else |
8935 echo "configure: failed program was:" >&5 | 9170 echo "configure: failed program was:" >&5 |
8936 cat conftest.$ac_ext >&5 | 9171 cat conftest.$ac_ext >&5 |
8954 if test $ac_cv_func_alloca_works = no; then | 9189 if test $ac_cv_func_alloca_works = no; then |
8955 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 9190 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
8956 # that cause trouble. Some versions do not even contain alloca or | 9191 # that cause trouble. Some versions do not even contain alloca or |
8957 # contain a buggy version. If you still want to use their alloca, | 9192 # contain a buggy version. If you still want to use their alloca, |
8958 # use ar to extract alloca.o from them instead of compiling alloca.c. | 9193 # use ar to extract alloca.o from them instead of compiling alloca.c. |
8959 ALLOCA=alloca.o | 9194 ALLOCA=alloca.${ac_objext} |
8960 { test "$extra_verbose" = "yes" && cat << \EOF | 9195 { test "$extra_verbose" = "yes" && cat << \EOF |
8961 Defining C_ALLOCA | 9196 Defining C_ALLOCA |
8962 EOF | 9197 EOF |
8963 cat >> confdefs.h <<\EOF | 9198 cat >> confdefs.h <<\EOF |
8964 #define C_ALLOCA 1 | 9199 #define C_ALLOCA 1 |
8965 EOF | 9200 EOF |
8966 } | 9201 } |
8967 | 9202 |
8968 | 9203 |
8969 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9204 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8970 echo "configure:8971: checking whether alloca needs Cray hooks" >&5 | 9205 echo "configure:9206: checking whether alloca needs Cray hooks" >&5 |
8971 | 9206 |
8972 cat > conftest.$ac_ext <<EOF | 9207 cat > conftest.$ac_ext <<EOF |
8973 #line 8974 "configure" | 9208 #line 9209 "configure" |
8974 #include "confdefs.h" | 9209 #include "confdefs.h" |
8975 #if defined(CRAY) && ! defined(CRAY2) | 9210 #if defined(CRAY) && ! defined(CRAY2) |
8976 webecray | 9211 webecray |
8977 #else | 9212 #else |
8978 wenotbecray | 9213 wenotbecray |
8992 | 9227 |
8993 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9228 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8994 if test $ac_cv_os_cray = yes; then | 9229 if test $ac_cv_os_cray = yes; then |
8995 for ac_func in _getb67 GETB67 getb67; do | 9230 for ac_func in _getb67 GETB67 getb67; do |
8996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8997 echo "configure:8998: checking for $ac_func" >&5 | 9232 echo "configure:9233: checking for $ac_func" >&5 |
8998 | 9233 |
8999 cat > conftest.$ac_ext <<EOF | 9234 cat > conftest.$ac_ext <<EOF |
9000 #line 9001 "configure" | 9235 #line 9236 "configure" |
9001 #include "confdefs.h" | 9236 #include "confdefs.h" |
9002 /* System header to define __stub macros and hopefully few prototypes, | 9237 /* System header to define __stub macros and hopefully few prototypes, |
9003 which can conflict with char $ac_func(); below. */ | 9238 which can conflict with char $ac_func(); below. */ |
9004 #include <assert.h> | 9239 #include <assert.h> |
9005 /* Override any gcc2 internal prototype to avoid an error. */ | 9240 /* Override any gcc2 internal prototype to avoid an error. */ |
9018 $ac_func(); | 9253 $ac_func(); |
9019 #endif | 9254 #endif |
9020 | 9255 |
9021 ; return 0; } | 9256 ; return 0; } |
9022 EOF | 9257 EOF |
9023 if { (eval echo configure:9024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9258 if { (eval echo configure:9259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9024 rm -rf conftest* | 9259 rm -rf conftest* |
9025 eval "ac_cv_func_$ac_func=yes" | 9260 eval "ac_cv_func_$ac_func=yes" |
9026 else | 9261 else |
9027 echo "configure: failed program was:" >&5 | 9262 echo "configure: failed program was:" >&5 |
9028 cat conftest.$ac_ext >&5 | 9263 cat conftest.$ac_ext >&5 |
9048 | 9283 |
9049 done | 9284 done |
9050 fi | 9285 fi |
9051 | 9286 |
9052 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9287 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9053 echo "configure:9054: checking stack direction for C alloca" >&5 | 9288 echo "configure:9289: checking stack direction for C alloca" >&5 |
9054 | 9289 |
9055 cat > conftest.$ac_ext <<EOF | 9290 cat > conftest.$ac_ext <<EOF |
9056 #line 9057 "configure" | 9291 #line 9292 "configure" |
9057 #include "confdefs.h" | 9292 #include "confdefs.h" |
9058 find_stack_direction () | 9293 find_stack_direction () |
9059 { | 9294 { |
9060 static char *addr = 0; | 9295 static char *addr = 0; |
9061 auto char dummy; | 9296 auto char dummy; |
9070 main () | 9305 main () |
9071 { | 9306 { |
9072 exit (find_stack_direction() < 0); | 9307 exit (find_stack_direction() < 0); |
9073 } | 9308 } |
9074 EOF | 9309 EOF |
9075 if { (eval echo configure:9076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9310 if { (eval echo configure:9311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9076 then | 9311 then |
9077 ac_cv_c_stack_direction=1 | 9312 ac_cv_c_stack_direction=1 |
9078 else | 9313 else |
9079 conftest_rc="$?" | 9314 conftest_rc="$?" |
9080 echo "configure: failed program was:" >&5 | 9315 echo "configure: failed program was:" >&5 |
9099 echo " xemacs will be linked with \"$ALLOCA\"" | 9334 echo " xemacs will be linked with \"$ALLOCA\"" |
9100 fi | 9335 fi |
9101 | 9336 |
9102 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9337 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9103 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9338 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9104 echo "configure:9105: checking for vfork.h" >&5 | 9339 echo "configure:9340: checking for vfork.h" >&5 |
9105 | 9340 |
9106 cat > conftest.$ac_ext <<EOF | 9341 cat > conftest.$ac_ext <<EOF |
9107 #line 9108 "configure" | 9342 #line 9343 "configure" |
9108 #include "confdefs.h" | 9343 #include "confdefs.h" |
9109 #include <vfork.h> | 9344 #include <vfork.h> |
9110 EOF | 9345 EOF |
9111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9112 { (eval echo configure:9113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9347 { (eval echo configure:9348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9113 ac_err=`grep -v '^ *+' conftest.out` | 9348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9114 if test -z "$ac_err"; then | 9349 if test -z "$ac_err"; then |
9115 rm -rf conftest* | 9350 rm -rf conftest* |
9116 eval "ac_cv_header_$ac_safe=yes" | 9351 eval "ac_cv_header_$ac_safe=yes" |
9117 else | 9352 else |
9118 echo "$ac_err" >&5 | 9353 echo "$ac_err" >&5 |
9135 else | 9370 else |
9136 echo "$ac_t""no" 1>&6 | 9371 echo "$ac_t""no" 1>&6 |
9137 fi | 9372 fi |
9138 | 9373 |
9139 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9374 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9140 echo "configure:9141: checking for working vfork" >&5 | 9375 echo "configure:9376: checking for working vfork" >&5 |
9141 | 9376 |
9142 cat > conftest.$ac_ext <<EOF | 9377 cat > conftest.$ac_ext <<EOF |
9143 #line 9144 "configure" | 9378 #line 9379 "configure" |
9144 #include "confdefs.h" | 9379 #include "confdefs.h" |
9145 /* Thanks to Paul Eggert for this test. */ | 9380 /* Thanks to Paul Eggert for this test. */ |
9146 #include <stdio.h> | 9381 #include <stdio.h> |
9147 #include <sys/types.h> | 9382 #include <sys/types.h> |
9148 #include <sys/stat.h> | 9383 #include <sys/stat.h> |
9233 || fstat(fileno(stdout), &st) != 0 | 9468 || fstat(fileno(stdout), &st) != 0 |
9234 ); | 9469 ); |
9235 } | 9470 } |
9236 } | 9471 } |
9237 EOF | 9472 EOF |
9238 if { (eval echo configure:9239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9473 if { (eval echo configure:9474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9239 then | 9474 then |
9240 ac_cv_func_vfork_works=yes | 9475 ac_cv_func_vfork_works=yes |
9241 else | 9476 else |
9242 conftest_rc="$?" | 9477 conftest_rc="$?" |
9243 echo "configure: failed program was:" >&5 | 9478 echo "configure: failed program was:" >&5 |
9259 | 9494 |
9260 fi | 9495 fi |
9261 | 9496 |
9262 | 9497 |
9263 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9498 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9264 echo "configure:9265: checking for working strcoll" >&5 | 9499 echo "configure:9500: checking for working strcoll" >&5 |
9265 | 9500 |
9266 cat > conftest.$ac_ext <<EOF | 9501 cat > conftest.$ac_ext <<EOF |
9267 #line 9268 "configure" | 9502 #line 9503 "configure" |
9268 #include "confdefs.h" | 9503 #include "confdefs.h" |
9269 #include <string.h> | 9504 #include <string.h> |
9270 main () | 9505 main () |
9271 { | 9506 { |
9272 exit (strcoll ("abc", "def") >= 0 || | 9507 exit (strcoll ("abc", "def") >= 0 || |
9273 strcoll ("ABC", "DEF") >= 0 || | 9508 strcoll ("ABC", "DEF") >= 0 || |
9274 strcoll ("123", "456") >= 0); | 9509 strcoll ("123", "456") >= 0); |
9275 } | 9510 } |
9276 EOF | 9511 EOF |
9277 if { (eval echo configure:9278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9512 if { (eval echo configure:9513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9278 then | 9513 then |
9279 ac_cv_func_strcoll_works=yes | 9514 ac_cv_func_strcoll_works=yes |
9280 else | 9515 else |
9281 conftest_rc="$?" | 9516 conftest_rc="$?" |
9282 echo "configure: failed program was:" >&5 | 9517 echo "configure: failed program was:" >&5 |
9300 | 9535 |
9301 | 9536 |
9302 for ac_func in getpgrp | 9537 for ac_func in getpgrp |
9303 do | 9538 do |
9304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9305 echo "configure:9306: checking for $ac_func" >&5 | 9540 echo "configure:9541: checking for $ac_func" >&5 |
9306 | 9541 |
9307 cat > conftest.$ac_ext <<EOF | 9542 cat > conftest.$ac_ext <<EOF |
9308 #line 9309 "configure" | 9543 #line 9544 "configure" |
9309 #include "confdefs.h" | 9544 #include "confdefs.h" |
9310 /* System header to define __stub macros and hopefully few prototypes, | 9545 /* System header to define __stub macros and hopefully few prototypes, |
9311 which can conflict with char $ac_func(); below. */ | 9546 which can conflict with char $ac_func(); below. */ |
9312 #include <assert.h> | 9547 #include <assert.h> |
9313 /* Override any gcc2 internal prototype to avoid an error. */ | 9548 /* Override any gcc2 internal prototype to avoid an error. */ |
9326 $ac_func(); | 9561 $ac_func(); |
9327 #endif | 9562 #endif |
9328 | 9563 |
9329 ; return 0; } | 9564 ; return 0; } |
9330 EOF | 9565 EOF |
9331 if { (eval echo configure:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9566 if { (eval echo configure:9567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9332 rm -rf conftest* | 9567 rm -rf conftest* |
9333 eval "ac_cv_func_$ac_func=yes" | 9568 eval "ac_cv_func_$ac_func=yes" |
9334 else | 9569 else |
9335 echo "configure: failed program was:" >&5 | 9570 echo "configure: failed program was:" >&5 |
9336 cat conftest.$ac_ext >&5 | 9571 cat conftest.$ac_ext >&5 |
9354 echo "$ac_t""no" 1>&6 | 9589 echo "$ac_t""no" 1>&6 |
9355 fi | 9590 fi |
9356 done | 9591 done |
9357 | 9592 |
9358 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9593 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9359 echo "configure:9360: checking whether getpgrp takes no argument" >&5 | 9594 echo "configure:9595: checking whether getpgrp takes no argument" >&5 |
9360 | 9595 |
9361 cat > conftest.$ac_ext <<EOF | 9596 cat > conftest.$ac_ext <<EOF |
9362 #line 9363 "configure" | 9597 #line 9598 "configure" |
9363 #include "confdefs.h" | 9598 #include "confdefs.h" |
9364 | 9599 |
9365 /* | 9600 /* |
9366 * If this system has a BSD-style getpgrp(), | 9601 * If this system has a BSD-style getpgrp(), |
9367 * which takes a pid argument, exit unsuccessfully. | 9602 * which takes a pid argument, exit unsuccessfully. |
9412 exit(s>>8); | 9647 exit(s>>8); |
9413 } | 9648 } |
9414 } | 9649 } |
9415 | 9650 |
9416 EOF | 9651 EOF |
9417 if { (eval echo configure:9418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9652 if { (eval echo configure:9653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9418 then | 9653 then |
9419 ac_cv_func_getpgrp_void=yes | 9654 ac_cv_func_getpgrp_void=yes |
9420 else | 9655 else |
9421 conftest_rc="$?" | 9656 conftest_rc="$?" |
9422 echo "configure: failed program was:" >&5 | 9657 echo "configure: failed program was:" >&5 |
9439 | 9674 |
9440 fi | 9675 fi |
9441 | 9676 |
9442 | 9677 |
9443 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9678 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9444 echo "configure:9445: checking for working mmap" >&5 | 9679 echo "configure:9680: checking for working mmap" >&5 |
9445 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9680 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9446 cat > conftest.$ac_ext <<EOF | 9681 cat > conftest.$ac_ext <<EOF |
9447 #line 9448 "configure" | 9682 #line 9683 "configure" |
9448 #include "confdefs.h" | 9683 #include "confdefs.h" |
9449 #include <stdio.h> | 9684 #include <stdio.h> |
9450 #include <unistd.h> | 9685 #include <unistd.h> |
9451 #include <fcntl.h> | 9686 #include <fcntl.h> |
9452 #include <sys/mman.h> | 9687 #include <sys/mman.h> |
9475 return 0; | 9710 return 0; |
9476 perror ("conftest: mmap failed"); | 9711 perror ("conftest: mmap failed"); |
9477 return 1; | 9712 return 1; |
9478 } | 9713 } |
9479 EOF | 9714 EOF |
9480 if { (eval echo configure:9481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9715 if { (eval echo configure:9716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9481 then | 9716 then |
9482 have_mmap=yes | 9717 have_mmap=yes |
9483 else | 9718 else |
9484 conftest_rc="$?" | 9719 conftest_rc="$?" |
9485 echo "configure: failed program was:" >&5 | 9720 echo "configure: failed program was:" >&5 |
9500 | 9735 |
9501 for ac_hdr in unistd.h | 9736 for ac_hdr in unistd.h |
9502 do | 9737 do |
9503 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9738 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9504 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9505 echo "configure:9506: checking for $ac_hdr" >&5 | 9740 echo "configure:9741: checking for $ac_hdr" >&5 |
9506 | 9741 |
9507 cat > conftest.$ac_ext <<EOF | 9742 cat > conftest.$ac_ext <<EOF |
9508 #line 9509 "configure" | 9743 #line 9744 "configure" |
9509 #include "confdefs.h" | 9744 #include "confdefs.h" |
9510 #include <$ac_hdr> | 9745 #include <$ac_hdr> |
9511 EOF | 9746 EOF |
9512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9513 { (eval echo configure:9514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9748 { (eval echo configure:9749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9514 ac_err=`grep -v '^ *+' conftest.out` | 9749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9515 if test -z "$ac_err"; then | 9750 if test -z "$ac_err"; then |
9516 rm -rf conftest* | 9751 rm -rf conftest* |
9517 eval "ac_cv_header_$ac_safe=yes" | 9752 eval "ac_cv_header_$ac_safe=yes" |
9518 else | 9753 else |
9519 echo "$ac_err" >&5 | 9754 echo "$ac_err" >&5 |
9540 done | 9775 done |
9541 | 9776 |
9542 for ac_func in getpagesize | 9777 for ac_func in getpagesize |
9543 do | 9778 do |
9544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9545 echo "configure:9546: checking for $ac_func" >&5 | 9780 echo "configure:9781: checking for $ac_func" >&5 |
9546 | 9781 |
9547 cat > conftest.$ac_ext <<EOF | 9782 cat > conftest.$ac_ext <<EOF |
9548 #line 9549 "configure" | 9783 #line 9784 "configure" |
9549 #include "confdefs.h" | 9784 #include "confdefs.h" |
9550 /* System header to define __stub macros and hopefully few prototypes, | 9785 /* System header to define __stub macros and hopefully few prototypes, |
9551 which can conflict with char $ac_func(); below. */ | 9786 which can conflict with char $ac_func(); below. */ |
9552 #include <assert.h> | 9787 #include <assert.h> |
9553 /* Override any gcc2 internal prototype to avoid an error. */ | 9788 /* Override any gcc2 internal prototype to avoid an error. */ |
9566 $ac_func(); | 9801 $ac_func(); |
9567 #endif | 9802 #endif |
9568 | 9803 |
9569 ; return 0; } | 9804 ; return 0; } |
9570 EOF | 9805 EOF |
9571 if { (eval echo configure:9572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9806 if { (eval echo configure:9807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9572 rm -rf conftest* | 9807 rm -rf conftest* |
9573 eval "ac_cv_func_$ac_func=yes" | 9808 eval "ac_cv_func_$ac_func=yes" |
9574 else | 9809 else |
9575 echo "configure: failed program was:" >&5 | 9810 echo "configure: failed program was:" >&5 |
9576 cat conftest.$ac_ext >&5 | 9811 cat conftest.$ac_ext >&5 |
9594 echo "$ac_t""no" 1>&6 | 9829 echo "$ac_t""no" 1>&6 |
9595 fi | 9830 fi |
9596 done | 9831 done |
9597 | 9832 |
9598 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9833 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9599 echo "configure:9600: checking for working mmap" >&5 | 9834 echo "configure:9835: checking for working mmap" >&5 |
9600 | 9835 |
9601 cat > conftest.$ac_ext <<EOF | 9836 cat > conftest.$ac_ext <<EOF |
9602 #line 9603 "configure" | 9837 #line 9838 "configure" |
9603 #include "confdefs.h" | 9838 #include "confdefs.h" |
9604 | 9839 |
9605 /* Thanks to Mike Haertel and Jim Avera for this test. | 9840 /* Thanks to Mike Haertel and Jim Avera for this test. |
9606 Here is a matrix of mmap possibilities: | 9841 Here is a matrix of mmap possibilities: |
9607 mmap private not fixed | 9842 mmap private not fixed |
9737 unlink("conftestmmap"); | 9972 unlink("conftestmmap"); |
9738 exit(0); | 9973 exit(0); |
9739 } | 9974 } |
9740 | 9975 |
9741 EOF | 9976 EOF |
9742 if { (eval echo configure:9743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9743 then | 9978 then |
9744 ac_cv_func_mmap_fixed_mapped=yes | 9979 ac_cv_func_mmap_fixed_mapped=yes |
9745 else | 9980 else |
9746 conftest_rc="$?" | 9981 conftest_rc="$?" |
9747 echo "configure: failed program was:" >&5 | 9982 echo "configure: failed program was:" >&5 |
9775 } | 10010 } |
9776 | 10011 |
9777 | 10012 |
9778 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10013 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9779 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10014 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9780 echo "configure:9781: checking for termios.h" >&5 | 10015 echo "configure:10016: checking for termios.h" >&5 |
9781 | 10016 |
9782 cat > conftest.$ac_ext <<EOF | 10017 cat > conftest.$ac_ext <<EOF |
9783 #line 9784 "configure" | 10018 #line 10019 "configure" |
9784 #include "confdefs.h" | 10019 #include "confdefs.h" |
9785 #include <termios.h> | 10020 #include <termios.h> |
9786 EOF | 10021 EOF |
9787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9788 { (eval echo configure:9789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10023 { (eval echo configure:10024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9789 ac_err=`grep -v '^ *+' conftest.out` | 10024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9790 if test -z "$ac_err"; then | 10025 if test -z "$ac_err"; then |
9791 rm -rf conftest* | 10026 rm -rf conftest* |
9792 eval "ac_cv_header_$ac_safe=yes" | 10027 eval "ac_cv_header_$ac_safe=yes" |
9793 else | 10028 else |
9794 echo "$ac_err" >&5 | 10029 echo "$ac_err" >&5 |
9826 | 10061 |
9827 else | 10062 else |
9828 echo "$ac_t""no" 1>&6 | 10063 echo "$ac_t""no" 1>&6 |
9829 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10064 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9830 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10065 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9831 echo "configure:9832: checking for termio.h" >&5 | 10066 echo "configure:10067: checking for termio.h" >&5 |
9832 | 10067 |
9833 cat > conftest.$ac_ext <<EOF | 10068 cat > conftest.$ac_ext <<EOF |
9834 #line 9835 "configure" | 10069 #line 10070 "configure" |
9835 #include "confdefs.h" | 10070 #include "confdefs.h" |
9836 #include <termio.h> | 10071 #include <termio.h> |
9837 EOF | 10072 EOF |
9838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9839 { (eval echo configure:9840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10074 { (eval echo configure:10075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9840 ac_err=`grep -v '^ *+' conftest.out` | 10075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9841 if test -z "$ac_err"; then | 10076 if test -z "$ac_err"; then |
9842 rm -rf conftest* | 10077 rm -rf conftest* |
9843 eval "ac_cv_header_$ac_safe=yes" | 10078 eval "ac_cv_header_$ac_safe=yes" |
9844 else | 10079 else |
9845 echo "$ac_err" >&5 | 10080 echo "$ac_err" >&5 |
9866 fi | 10101 fi |
9867 | 10102 |
9868 | 10103 |
9869 | 10104 |
9870 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10105 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9871 echo "configure:9872: checking for socket" >&5 | 10106 echo "configure:10107: checking for socket" >&5 |
9872 | 10107 |
9873 cat > conftest.$ac_ext <<EOF | 10108 cat > conftest.$ac_ext <<EOF |
9874 #line 9875 "configure" | 10109 #line 10110 "configure" |
9875 #include "confdefs.h" | 10110 #include "confdefs.h" |
9876 /* System header to define __stub macros and hopefully few prototypes, | 10111 /* System header to define __stub macros and hopefully few prototypes, |
9877 which can conflict with char socket(); below. */ | 10112 which can conflict with char socket(); below. */ |
9878 #include <assert.h> | 10113 #include <assert.h> |
9879 /* Override any gcc2 internal prototype to avoid an error. */ | 10114 /* Override any gcc2 internal prototype to avoid an error. */ |
9892 socket(); | 10127 socket(); |
9893 #endif | 10128 #endif |
9894 | 10129 |
9895 ; return 0; } | 10130 ; return 0; } |
9896 EOF | 10131 EOF |
9897 if { (eval echo configure:9898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10132 if { (eval echo configure:10133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9898 rm -rf conftest* | 10133 rm -rf conftest* |
9899 eval "ac_cv_func_socket=yes" | 10134 eval "ac_cv_func_socket=yes" |
9900 else | 10135 else |
9901 echo "configure: failed program was:" >&5 | 10136 echo "configure: failed program was:" >&5 |
9902 cat conftest.$ac_ext >&5 | 10137 cat conftest.$ac_ext >&5 |
9907 | 10142 |
9908 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10143 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9909 echo "$ac_t""yes" 1>&6 | 10144 echo "$ac_t""yes" 1>&6 |
9910 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10145 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9911 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10146 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9912 echo "configure:9913: checking for netinet/in.h" >&5 | 10147 echo "configure:10148: checking for netinet/in.h" >&5 |
9913 | 10148 |
9914 cat > conftest.$ac_ext <<EOF | 10149 cat > conftest.$ac_ext <<EOF |
9915 #line 9916 "configure" | 10150 #line 10151 "configure" |
9916 #include "confdefs.h" | 10151 #include "confdefs.h" |
9917 #include <netinet/in.h> | 10152 #include <netinet/in.h> |
9918 EOF | 10153 EOF |
9919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9920 { (eval echo configure:9921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10155 { (eval echo configure:10156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9921 ac_err=`grep -v '^ *+' conftest.out` | 10156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9922 if test -z "$ac_err"; then | 10157 if test -z "$ac_err"; then |
9923 rm -rf conftest* | 10158 rm -rf conftest* |
9924 eval "ac_cv_header_$ac_safe=yes" | 10159 eval "ac_cv_header_$ac_safe=yes" |
9925 else | 10160 else |
9926 echo "$ac_err" >&5 | 10161 echo "$ac_err" >&5 |
9932 rm -f conftest* | 10167 rm -f conftest* |
9933 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9934 echo "$ac_t""yes" 1>&6 | 10169 echo "$ac_t""yes" 1>&6 |
9935 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10170 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9936 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10171 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9937 echo "configure:9938: checking for arpa/inet.h" >&5 | 10172 echo "configure:10173: checking for arpa/inet.h" >&5 |
9938 | 10173 |
9939 cat > conftest.$ac_ext <<EOF | 10174 cat > conftest.$ac_ext <<EOF |
9940 #line 9941 "configure" | 10175 #line 10176 "configure" |
9941 #include "confdefs.h" | 10176 #include "confdefs.h" |
9942 #include <arpa/inet.h> | 10177 #include <arpa/inet.h> |
9943 EOF | 10178 EOF |
9944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9945 { (eval echo configure:9946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10180 { (eval echo configure:10181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9946 ac_err=`grep -v '^ *+' conftest.out` | 10181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9947 if test -z "$ac_err"; then | 10182 if test -z "$ac_err"; then |
9948 rm -rf conftest* | 10183 rm -rf conftest* |
9949 eval "ac_cv_header_$ac_safe=yes" | 10184 eval "ac_cv_header_$ac_safe=yes" |
9950 else | 10185 else |
9951 echo "$ac_err" >&5 | 10186 echo "$ac_err" >&5 |
9965 #define HAVE_SOCKETS 1 | 10200 #define HAVE_SOCKETS 1 |
9966 EOF | 10201 EOF |
9967 } | 10202 } |
9968 | 10203 |
9969 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10204 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9970 echo "configure:9971: checking "for sun_len member in struct sockaddr_un"" >&5 | 10205 echo "configure:10206: checking "for sun_len member in struct sockaddr_un"" >&5 |
9971 cat > conftest.$ac_ext <<EOF | 10206 cat > conftest.$ac_ext <<EOF |
9972 #line 9973 "configure" | 10207 #line 10208 "configure" |
9973 #include "confdefs.h" | 10208 #include "confdefs.h" |
9974 | 10209 |
9975 #include <sys/types.h> | 10210 #include <sys/types.h> |
9976 #include <sys/socket.h> | 10211 #include <sys/socket.h> |
9977 #include <sys/un.h> | 10212 #include <sys/un.h> |
9978 | 10213 |
9979 int main() { | 10214 int main() { |
9980 static struct sockaddr_un x; x.sun_len = 1; | 10215 static struct sockaddr_un x; x.sun_len = 1; |
9981 ; return 0; } | 10216 ; return 0; } |
9982 EOF | 10217 EOF |
9983 if { (eval echo configure:9984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9984 rm -rf conftest* | 10219 rm -rf conftest* |
9985 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10220 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9986 Defining HAVE_SOCKADDR_SUN_LEN | 10221 Defining HAVE_SOCKADDR_SUN_LEN |
9987 EOF | 10222 EOF |
9988 cat >> confdefs.h <<\EOF | 10223 cat >> confdefs.h <<\EOF |
9996 rm -rf conftest* | 10231 rm -rf conftest* |
9997 echo "$ac_t""no" 1>&6 | 10232 echo "$ac_t""no" 1>&6 |
9998 fi | 10233 fi |
9999 rm -f conftest* | 10234 rm -f conftest* |
10000 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10235 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10001 echo "configure:10002: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10236 echo "configure:10237: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10002 cat > conftest.$ac_ext <<EOF | 10237 cat > conftest.$ac_ext <<EOF |
10003 #line 10004 "configure" | 10238 #line 10239 "configure" |
10004 #include "confdefs.h" | 10239 #include "confdefs.h" |
10005 | 10240 |
10006 #include <sys/types.h> | 10241 #include <sys/types.h> |
10007 #include <netinet/in.h> | 10242 #include <netinet/in.h> |
10008 | 10243 |
10009 int main() { | 10244 int main() { |
10010 static struct ip_mreq x; | 10245 static struct ip_mreq x; |
10011 ; return 0; } | 10246 ; return 0; } |
10012 EOF | 10247 EOF |
10013 if { (eval echo configure:10014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10248 if { (eval echo configure:10249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10014 rm -rf conftest* | 10249 rm -rf conftest* |
10015 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10250 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10016 Defining HAVE_MULTICAST | 10251 Defining HAVE_MULTICAST |
10017 EOF | 10252 EOF |
10018 cat >> confdefs.h <<\EOF | 10253 cat >> confdefs.h <<\EOF |
10039 echo "$ac_t""no" 1>&6 | 10274 echo "$ac_t""no" 1>&6 |
10040 fi | 10275 fi |
10041 | 10276 |
10042 | 10277 |
10043 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10278 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10044 echo "configure:10045: checking for msgget" >&5 | 10279 echo "configure:10280: checking for msgget" >&5 |
10045 | 10280 |
10046 cat > conftest.$ac_ext <<EOF | 10281 cat > conftest.$ac_ext <<EOF |
10047 #line 10048 "configure" | 10282 #line 10283 "configure" |
10048 #include "confdefs.h" | 10283 #include "confdefs.h" |
10049 /* System header to define __stub macros and hopefully few prototypes, | 10284 /* System header to define __stub macros and hopefully few prototypes, |
10050 which can conflict with char msgget(); below. */ | 10285 which can conflict with char msgget(); below. */ |
10051 #include <assert.h> | 10286 #include <assert.h> |
10052 /* Override any gcc2 internal prototype to avoid an error. */ | 10287 /* Override any gcc2 internal prototype to avoid an error. */ |
10065 msgget(); | 10300 msgget(); |
10066 #endif | 10301 #endif |
10067 | 10302 |
10068 ; return 0; } | 10303 ; return 0; } |
10069 EOF | 10304 EOF |
10070 if { (eval echo configure:10071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10305 if { (eval echo configure:10306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10071 rm -rf conftest* | 10306 rm -rf conftest* |
10072 eval "ac_cv_func_msgget=yes" | 10307 eval "ac_cv_func_msgget=yes" |
10073 else | 10308 else |
10074 echo "configure: failed program was:" >&5 | 10309 echo "configure: failed program was:" >&5 |
10075 cat conftest.$ac_ext >&5 | 10310 cat conftest.$ac_ext >&5 |
10080 | 10315 |
10081 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10316 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10082 echo "$ac_t""yes" 1>&6 | 10317 echo "$ac_t""yes" 1>&6 |
10083 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10318 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10084 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10319 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10085 echo "configure:10086: checking for sys/ipc.h" >&5 | 10320 echo "configure:10321: checking for sys/ipc.h" >&5 |
10086 | 10321 |
10087 cat > conftest.$ac_ext <<EOF | 10322 cat > conftest.$ac_ext <<EOF |
10088 #line 10089 "configure" | 10323 #line 10324 "configure" |
10089 #include "confdefs.h" | 10324 #include "confdefs.h" |
10090 #include <sys/ipc.h> | 10325 #include <sys/ipc.h> |
10091 EOF | 10326 EOF |
10092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10093 { (eval echo configure:10094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10328 { (eval echo configure:10329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10094 ac_err=`grep -v '^ *+' conftest.out` | 10329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10095 if test -z "$ac_err"; then | 10330 if test -z "$ac_err"; then |
10096 rm -rf conftest* | 10331 rm -rf conftest* |
10097 eval "ac_cv_header_$ac_safe=yes" | 10332 eval "ac_cv_header_$ac_safe=yes" |
10098 else | 10333 else |
10099 echo "$ac_err" >&5 | 10334 echo "$ac_err" >&5 |
10105 rm -f conftest* | 10340 rm -f conftest* |
10106 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10107 echo "$ac_t""yes" 1>&6 | 10342 echo "$ac_t""yes" 1>&6 |
10108 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10343 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10109 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10110 echo "configure:10111: checking for sys/msg.h" >&5 | 10345 echo "configure:10346: checking for sys/msg.h" >&5 |
10111 | 10346 |
10112 cat > conftest.$ac_ext <<EOF | 10347 cat > conftest.$ac_ext <<EOF |
10113 #line 10114 "configure" | 10348 #line 10349 "configure" |
10114 #include "confdefs.h" | 10349 #include "confdefs.h" |
10115 #include <sys/msg.h> | 10350 #include <sys/msg.h> |
10116 EOF | 10351 EOF |
10117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10118 { (eval echo configure:10119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10119 ac_err=`grep -v '^ *+' conftest.out` | 10354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10120 if test -z "$ac_err"; then | 10355 if test -z "$ac_err"; then |
10121 rm -rf conftest* | 10356 rm -rf conftest* |
10122 eval "ac_cv_header_$ac_safe=yes" | 10357 eval "ac_cv_header_$ac_safe=yes" |
10123 else | 10358 else |
10124 echo "$ac_err" >&5 | 10359 echo "$ac_err" >&5 |
10151 fi | 10386 fi |
10152 | 10387 |
10153 | 10388 |
10154 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10389 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10155 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10390 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10156 echo "configure:10157: checking for dirent.h" >&5 | 10391 echo "configure:10392: checking for dirent.h" >&5 |
10157 | 10392 |
10158 cat > conftest.$ac_ext <<EOF | 10393 cat > conftest.$ac_ext <<EOF |
10159 #line 10160 "configure" | 10394 #line 10395 "configure" |
10160 #include "confdefs.h" | 10395 #include "confdefs.h" |
10161 #include <dirent.h> | 10396 #include <dirent.h> |
10162 EOF | 10397 EOF |
10163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10164 { (eval echo configure:10165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10399 { (eval echo configure:10400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10165 ac_err=`grep -v '^ *+' conftest.out` | 10400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10166 if test -z "$ac_err"; then | 10401 if test -z "$ac_err"; then |
10167 rm -rf conftest* | 10402 rm -rf conftest* |
10168 eval "ac_cv_header_$ac_safe=yes" | 10403 eval "ac_cv_header_$ac_safe=yes" |
10169 else | 10404 else |
10170 echo "$ac_err" >&5 | 10405 echo "$ac_err" >&5 |
10186 | 10421 |
10187 else | 10422 else |
10188 echo "$ac_t""no" 1>&6 | 10423 echo "$ac_t""no" 1>&6 |
10189 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10424 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10190 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10425 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10191 echo "configure:10192: checking for sys/dir.h" >&5 | 10426 echo "configure:10427: checking for sys/dir.h" >&5 |
10192 | 10427 |
10193 cat > conftest.$ac_ext <<EOF | 10428 cat > conftest.$ac_ext <<EOF |
10194 #line 10195 "configure" | 10429 #line 10430 "configure" |
10195 #include "confdefs.h" | 10430 #include "confdefs.h" |
10196 #include <sys/dir.h> | 10431 #include <sys/dir.h> |
10197 EOF | 10432 EOF |
10198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10199 { (eval echo configure:10200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10434 { (eval echo configure:10435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10200 ac_err=`grep -v '^ *+' conftest.out` | 10435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10201 if test -z "$ac_err"; then | 10436 if test -z "$ac_err"; then |
10202 rm -rf conftest* | 10437 rm -rf conftest* |
10203 eval "ac_cv_header_$ac_safe=yes" | 10438 eval "ac_cv_header_$ac_safe=yes" |
10204 else | 10439 else |
10205 echo "$ac_err" >&5 | 10440 echo "$ac_err" >&5 |
10227 fi | 10462 fi |
10228 | 10463 |
10229 | 10464 |
10230 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10465 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10231 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10466 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10232 echo "configure:10233: checking for nlist.h" >&5 | 10467 echo "configure:10468: checking for nlist.h" >&5 |
10233 | 10468 |
10234 cat > conftest.$ac_ext <<EOF | 10469 cat > conftest.$ac_ext <<EOF |
10235 #line 10236 "configure" | 10470 #line 10471 "configure" |
10236 #include "confdefs.h" | 10471 #include "confdefs.h" |
10237 #include <nlist.h> | 10472 #include <nlist.h> |
10238 EOF | 10473 EOF |
10239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10240 { (eval echo configure:10241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10475 { (eval echo configure:10476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10241 ac_err=`grep -v '^ *+' conftest.out` | 10476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10242 if test -z "$ac_err"; then | 10477 if test -z "$ac_err"; then |
10243 rm -rf conftest* | 10478 rm -rf conftest* |
10244 eval "ac_cv_header_$ac_safe=yes" | 10479 eval "ac_cv_header_$ac_safe=yes" |
10245 else | 10480 else |
10246 echo "$ac_err" >&5 | 10481 echo "$ac_err" >&5 |
10265 fi | 10500 fi |
10266 | 10501 |
10267 | 10502 |
10268 | 10503 |
10269 echo "checking "for sound support"" 1>&6 | 10504 echo "checking "for sound support"" 1>&6 |
10270 echo "configure:10271: checking "for sound support"" >&5 | 10505 echo "configure:10506: checking "for sound support"" >&5 |
10271 case "$with_sound" in | 10506 case "$with_sound" in |
10272 native | both ) with_native_sound=yes;; | 10507 native | both ) with_native_sound=yes;; |
10273 nas | no ) with_native_sound=no;; | 10508 nas | no ) with_native_sound=no;; |
10274 esac | 10509 esac |
10275 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10510 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10276 | 10511 |
10277 if test "$with_native_sound" != "no"; then | 10512 if test "$with_native_sound" != "no"; then |
10278 if test -n "$native_sound_lib"; then | 10513 if test -n "$native_sound_lib"; then |
10279 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10514 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10280 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10515 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10281 echo "configure:10282: checking for multimedia/audio_device.h" >&5 | 10516 echo "configure:10517: checking for multimedia/audio_device.h" >&5 |
10282 | 10517 |
10283 cat > conftest.$ac_ext <<EOF | 10518 cat > conftest.$ac_ext <<EOF |
10284 #line 10285 "configure" | 10519 #line 10520 "configure" |
10285 #include "confdefs.h" | 10520 #include "confdefs.h" |
10286 #include <multimedia/audio_device.h> | 10521 #include <multimedia/audio_device.h> |
10287 EOF | 10522 EOF |
10288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10289 { (eval echo configure:10290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10524 { (eval echo configure:10525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10290 ac_err=`grep -v '^ *+' conftest.out` | 10525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10291 if test -z "$ac_err"; then | 10526 if test -z "$ac_err"; then |
10292 rm -rf conftest* | 10527 rm -rf conftest* |
10293 eval "ac_cv_header_$ac_safe=yes" | 10528 eval "ac_cv_header_$ac_safe=yes" |
10294 else | 10529 else |
10295 echo "$ac_err" >&5 | 10530 echo "$ac_err" >&5 |
10332 case "$canonical" in | 10567 case "$canonical" in |
10333 *-sgi-* ) | 10568 *-sgi-* ) |
10334 if test -z "$native_sound_lib"; then | 10569 if test -z "$native_sound_lib"; then |
10335 | 10570 |
10336 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10571 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10337 echo "configure:10338: checking for ALopenport in -laudio" >&5 | 10572 echo "configure:10573: checking for ALopenport in -laudio" >&5 |
10338 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10573 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10339 | 10574 |
10340 xe_check_libs=" -laudio " | 10575 xe_check_libs=" -laudio " |
10341 cat > conftest.$ac_ext <<EOF | 10576 cat > conftest.$ac_ext <<EOF |
10342 #line 10343 "configure" | 10577 #line 10578 "configure" |
10343 #include "confdefs.h" | 10578 #include "confdefs.h" |
10344 /* Override any gcc2 internal prototype to avoid an error. */ | 10579 /* Override any gcc2 internal prototype to avoid an error. */ |
10345 /* We use char because int might match the return type of a gcc2 | 10580 /* We use char because int might match the return type of a gcc2 |
10346 builtin and then its argument prototype would still apply. */ | 10581 builtin and then its argument prototype would still apply. */ |
10347 char ALopenport(); | 10582 char ALopenport(); |
10348 | 10583 |
10349 int main() { | 10584 int main() { |
10350 ALopenport() | 10585 ALopenport() |
10351 ; return 0; } | 10586 ; return 0; } |
10352 EOF | 10587 EOF |
10353 if { (eval echo configure:10354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10588 if { (eval echo configure:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10354 rm -rf conftest* | 10589 rm -rf conftest* |
10355 eval "ac_cv_lib_$ac_lib_var=yes" | 10590 eval "ac_cv_lib_$ac_lib_var=yes" |
10356 else | 10591 else |
10357 echo "configure: failed program was:" >&5 | 10592 echo "configure: failed program was:" >&5 |
10358 cat conftest.$ac_ext >&5 | 10593 cat conftest.$ac_ext >&5 |
10379 fi ;; | 10614 fi ;; |
10380 hppa*-hp-hpux* ) | 10615 hppa*-hp-hpux* ) |
10381 if test -z "$native_sound_lib"; then | 10616 if test -z "$native_sound_lib"; then |
10382 | 10617 |
10383 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10618 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10384 echo "configure:10385: checking for AOpenAudio in -lAlib" >&5 | 10619 echo "configure:10620: checking for AOpenAudio in -lAlib" >&5 |
10385 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10620 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10386 | 10621 |
10387 xe_check_libs=" -lAlib " | 10622 xe_check_libs=" -lAlib " |
10388 cat > conftest.$ac_ext <<EOF | 10623 cat > conftest.$ac_ext <<EOF |
10389 #line 10390 "configure" | 10624 #line 10625 "configure" |
10390 #include "confdefs.h" | 10625 #include "confdefs.h" |
10391 /* Override any gcc2 internal prototype to avoid an error. */ | 10626 /* Override any gcc2 internal prototype to avoid an error. */ |
10392 /* We use char because int might match the return type of a gcc2 | 10627 /* We use char because int might match the return type of a gcc2 |
10393 builtin and then its argument prototype would still apply. */ | 10628 builtin and then its argument prototype would still apply. */ |
10394 char AOpenAudio(); | 10629 char AOpenAudio(); |
10395 | 10630 |
10396 int main() { | 10631 int main() { |
10397 AOpenAudio() | 10632 AOpenAudio() |
10398 ; return 0; } | 10633 ; return 0; } |
10399 EOF | 10634 EOF |
10400 if { (eval echo configure:10401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10635 if { (eval echo configure:10636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10401 rm -rf conftest* | 10636 rm -rf conftest* |
10402 eval "ac_cv_lib_$ac_lib_var=yes" | 10637 eval "ac_cv_lib_$ac_lib_var=yes" |
10403 else | 10638 else |
10404 echo "configure: failed program was:" >&5 | 10639 echo "configure: failed program was:" >&5 |
10405 cat conftest.$ac_ext >&5 | 10640 cat conftest.$ac_ext >&5 |
10433 | 10668 |
10434 if test -z "$sound_found"; then | 10669 if test -z "$sound_found"; then |
10435 for dir in "machine" "sys" "linux"; do | 10670 for dir in "machine" "sys" "linux"; do |
10436 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10671 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10437 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10672 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10438 echo "configure:10439: checking for ${dir}/soundcard.h" >&5 | 10673 echo "configure:10674: checking for ${dir}/soundcard.h" >&5 |
10439 | 10674 |
10440 cat > conftest.$ac_ext <<EOF | 10675 cat > conftest.$ac_ext <<EOF |
10441 #line 10442 "configure" | 10676 #line 10677 "configure" |
10442 #include "confdefs.h" | 10677 #include "confdefs.h" |
10443 #include <${dir}/soundcard.h> | 10678 #include <${dir}/soundcard.h> |
10444 EOF | 10679 EOF |
10445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10446 { (eval echo configure:10447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10681 { (eval echo configure:10682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10447 ac_err=`grep -v '^ *+' conftest.out` | 10682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10448 if test -z "$ac_err"; then | 10683 if test -z "$ac_err"; then |
10449 rm -rf conftest* | 10684 rm -rf conftest* |
10450 eval "ac_cv_header_$ac_safe=yes" | 10685 eval "ac_cv_header_$ac_safe=yes" |
10451 else | 10686 else |
10452 echo "$ac_err" >&5 | 10687 echo "$ac_err" >&5 |
10511 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10746 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10512 echo " xemacs will be linked with \"nas.o\"" | 10747 echo " xemacs will be linked with \"nas.o\"" |
10513 fi | 10748 fi |
10514 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10749 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10515 cat > conftest.$ac_ext <<EOF | 10750 cat > conftest.$ac_ext <<EOF |
10516 #line 10517 "configure" | 10751 #line 10752 "configure" |
10517 #include "confdefs.h" | 10752 #include "confdefs.h" |
10518 #include <audio/Xtutil.h> | 10753 #include <audio/Xtutil.h> |
10519 EOF | 10754 EOF |
10520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10521 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10756 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10538 | 10773 |
10539 test -z "$with_tty" && with_tty=yes | 10774 test -z "$with_tty" && with_tty=yes |
10540 | 10775 |
10541 if test "$with_tty" = "yes" ; then | 10776 if test "$with_tty" = "yes" ; then |
10542 echo "checking for TTY-related features" 1>&6 | 10777 echo "checking for TTY-related features" 1>&6 |
10543 echo "configure:10544: checking for TTY-related features" >&5 | 10778 echo "configure:10779: checking for TTY-related features" >&5 |
10544 { test "$extra_verbose" = "yes" && cat << \EOF | 10779 { test "$extra_verbose" = "yes" && cat << \EOF |
10545 Defining HAVE_TTY | 10780 Defining HAVE_TTY |
10546 EOF | 10781 EOF |
10547 cat >> confdefs.h <<\EOF | 10782 cat >> confdefs.h <<\EOF |
10548 #define HAVE_TTY 1 | 10783 #define HAVE_TTY 1 |
10554 fi | 10789 fi |
10555 | 10790 |
10556 if test -z "$with_ncurses"; then | 10791 if test -z "$with_ncurses"; then |
10557 | 10792 |
10558 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10793 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10559 echo "configure:10560: checking for tgetent in -lncurses" >&5 | 10794 echo "configure:10795: checking for tgetent in -lncurses" >&5 |
10560 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10795 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10561 | 10796 |
10562 xe_check_libs=" -lncurses " | 10797 xe_check_libs=" -lncurses " |
10563 cat > conftest.$ac_ext <<EOF | 10798 cat > conftest.$ac_ext <<EOF |
10564 #line 10565 "configure" | 10799 #line 10800 "configure" |
10565 #include "confdefs.h" | 10800 #include "confdefs.h" |
10566 /* Override any gcc2 internal prototype to avoid an error. */ | 10801 /* Override any gcc2 internal prototype to avoid an error. */ |
10567 /* We use char because int might match the return type of a gcc2 | 10802 /* We use char because int might match the return type of a gcc2 |
10568 builtin and then its argument prototype would still apply. */ | 10803 builtin and then its argument prototype would still apply. */ |
10569 char tgetent(); | 10804 char tgetent(); |
10570 | 10805 |
10571 int main() { | 10806 int main() { |
10572 tgetent() | 10807 tgetent() |
10573 ; return 0; } | 10808 ; return 0; } |
10574 EOF | 10809 EOF |
10575 if { (eval echo configure:10576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10810 if { (eval echo configure:10811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10576 rm -rf conftest* | 10811 rm -rf conftest* |
10577 eval "ac_cv_lib_$ac_lib_var=yes" | 10812 eval "ac_cv_lib_$ac_lib_var=yes" |
10578 else | 10813 else |
10579 echo "configure: failed program was:" >&5 | 10814 echo "configure: failed program was:" >&5 |
10580 cat conftest.$ac_ext >&5 | 10815 cat conftest.$ac_ext >&5 |
10603 EOF | 10838 EOF |
10604 } | 10839 } |
10605 | 10840 |
10606 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10841 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10607 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10842 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10608 echo "configure:10609: checking for ncurses/curses.h" >&5 | 10843 echo "configure:10844: checking for ncurses/curses.h" >&5 |
10609 | 10844 |
10610 cat > conftest.$ac_ext <<EOF | 10845 cat > conftest.$ac_ext <<EOF |
10611 #line 10612 "configure" | 10846 #line 10847 "configure" |
10612 #include "confdefs.h" | 10847 #include "confdefs.h" |
10613 #include <ncurses/curses.h> | 10848 #include <ncurses/curses.h> |
10614 EOF | 10849 EOF |
10615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10616 { (eval echo configure:10617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10851 { (eval echo configure:10852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10617 ac_err=`grep -v '^ *+' conftest.out` | 10852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10618 if test -z "$ac_err"; then | 10853 if test -z "$ac_err"; then |
10619 rm -rf conftest* | 10854 rm -rf conftest* |
10620 eval "ac_cv_header_$ac_safe=yes" | 10855 eval "ac_cv_header_$ac_safe=yes" |
10621 else | 10856 else |
10622 echo "$ac_err" >&5 | 10857 echo "$ac_err" >&5 |
10633 echo "$ac_t""no" 1>&6 | 10868 echo "$ac_t""no" 1>&6 |
10634 fi | 10869 fi |
10635 | 10870 |
10636 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10871 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10637 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10872 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10638 echo "configure:10639: checking for ncurses/term.h" >&5 | 10873 echo "configure:10874: checking for ncurses/term.h" >&5 |
10639 | 10874 |
10640 cat > conftest.$ac_ext <<EOF | 10875 cat > conftest.$ac_ext <<EOF |
10641 #line 10642 "configure" | 10876 #line 10877 "configure" |
10642 #include "confdefs.h" | 10877 #include "confdefs.h" |
10643 #include <ncurses/term.h> | 10878 #include <ncurses/term.h> |
10644 EOF | 10879 EOF |
10645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10880 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10646 { (eval echo configure:10647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10881 { (eval echo configure:10882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10647 ac_err=`grep -v '^ *+' conftest.out` | 10882 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10648 if test -z "$ac_err"; then | 10883 if test -z "$ac_err"; then |
10649 rm -rf conftest* | 10884 rm -rf conftest* |
10650 eval "ac_cv_header_$ac_safe=yes" | 10885 eval "ac_cv_header_$ac_safe=yes" |
10651 else | 10886 else |
10652 echo "$ac_err" >&5 | 10887 echo "$ac_err" >&5 |
10671 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10906 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10672 save_c_switch_site="$c_switch_site" | 10907 save_c_switch_site="$c_switch_site" |
10673 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10908 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10674 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10909 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10675 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10910 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10676 echo "configure:10677: checking for ncurses/curses.h" >&5 | 10911 echo "configure:10912: checking for ncurses/curses.h" >&5 |
10677 | 10912 |
10678 cat > conftest.$ac_ext <<EOF | 10913 cat > conftest.$ac_ext <<EOF |
10679 #line 10680 "configure" | 10914 #line 10915 "configure" |
10680 #include "confdefs.h" | 10915 #include "confdefs.h" |
10681 #include <ncurses/curses.h> | 10916 #include <ncurses/curses.h> |
10682 EOF | 10917 EOF |
10683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10684 { (eval echo configure:10685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10919 { (eval echo configure:10920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10685 ac_err=`grep -v '^ *+' conftest.out` | 10920 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10686 if test -z "$ac_err"; then | 10921 if test -z "$ac_err"; then |
10687 rm -rf conftest* | 10922 rm -rf conftest* |
10688 eval "ac_cv_header_$ac_safe=yes" | 10923 eval "ac_cv_header_$ac_safe=yes" |
10689 else | 10924 else |
10690 echo "$ac_err" >&5 | 10925 echo "$ac_err" >&5 |
10714 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10949 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10715 else | 10950 else |
10716 for lib in curses termlib termcap; do | 10951 for lib in curses termlib termcap; do |
10717 | 10952 |
10718 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10953 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10719 echo "configure:10720: checking for tgetent in -l$lib" >&5 | 10954 echo "configure:10955: checking for tgetent in -l$lib" >&5 |
10720 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10955 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10721 | 10956 |
10722 xe_check_libs=" -l$lib " | 10957 xe_check_libs=" -l$lib " |
10723 cat > conftest.$ac_ext <<EOF | 10958 cat > conftest.$ac_ext <<EOF |
10724 #line 10725 "configure" | 10959 #line 10960 "configure" |
10725 #include "confdefs.h" | 10960 #include "confdefs.h" |
10726 /* Override any gcc2 internal prototype to avoid an error. */ | 10961 /* Override any gcc2 internal prototype to avoid an error. */ |
10727 /* We use char because int might match the return type of a gcc2 | 10962 /* We use char because int might match the return type of a gcc2 |
10728 builtin and then its argument prototype would still apply. */ | 10963 builtin and then its argument prototype would still apply. */ |
10729 char tgetent(); | 10964 char tgetent(); |
10730 | 10965 |
10731 int main() { | 10966 int main() { |
10732 tgetent() | 10967 tgetent() |
10733 ; return 0; } | 10968 ; return 0; } |
10734 EOF | 10969 EOF |
10735 if { (eval echo configure:10736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10970 if { (eval echo configure:10971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10736 rm -rf conftest* | 10971 rm -rf conftest* |
10737 eval "ac_cv_lib_$ac_lib_var=yes" | 10972 eval "ac_cv_lib_$ac_lib_var=yes" |
10738 else | 10973 else |
10739 echo "configure: failed program was:" >&5 | 10974 echo "configure: failed program was:" >&5 |
10740 cat conftest.$ac_ext >&5 | 10975 cat conftest.$ac_ext >&5 |
10761 if test -n "$libs_termcap"; then | 10996 if test -n "$libs_termcap"; then |
10762 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10997 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10763 else | 10998 else |
10764 | 10999 |
10765 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11000 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10766 echo "configure:10767: checking for tgetent in -lcurses" >&5 | 11001 echo "configure:11002: checking for tgetent in -lcurses" >&5 |
10767 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11002 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10768 | 11003 |
10769 xe_check_libs=" -lcurses " | 11004 xe_check_libs=" -lcurses " |
10770 cat > conftest.$ac_ext <<EOF | 11005 cat > conftest.$ac_ext <<EOF |
10771 #line 10772 "configure" | 11006 #line 11007 "configure" |
10772 #include "confdefs.h" | 11007 #include "confdefs.h" |
10773 /* Override any gcc2 internal prototype to avoid an error. */ | 11008 /* Override any gcc2 internal prototype to avoid an error. */ |
10774 /* We use char because int might match the return type of a gcc2 | 11009 /* We use char because int might match the return type of a gcc2 |
10775 builtin and then its argument prototype would still apply. */ | 11010 builtin and then its argument prototype would still apply. */ |
10776 char tgetent(); | 11011 char tgetent(); |
10777 | 11012 |
10778 int main() { | 11013 int main() { |
10779 tgetent() | 11014 tgetent() |
10780 ; return 0; } | 11015 ; return 0; } |
10781 EOF | 11016 EOF |
10782 if { (eval echo configure:10783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11017 if { (eval echo configure:11018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10783 rm -rf conftest* | 11018 rm -rf conftest* |
10784 eval "ac_cv_lib_$ac_lib_var=yes" | 11019 eval "ac_cv_lib_$ac_lib_var=yes" |
10785 else | 11020 else |
10786 echo "configure: failed program was:" >&5 | 11021 echo "configure: failed program was:" >&5 |
10787 cat conftest.$ac_ext >&5 | 11022 cat conftest.$ac_ext >&5 |
10795 echo "$ac_t""yes" 1>&6 | 11030 echo "$ac_t""yes" 1>&6 |
10796 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11031 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10797 else | 11032 else |
10798 echo "$ac_t""no" 1>&6 | 11033 echo "$ac_t""no" 1>&6 |
10799 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11034 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10800 echo "configure:10801: checking for tgetent in -ltermcap" >&5 | 11035 echo "configure:11036: checking for tgetent in -ltermcap" >&5 |
10801 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11036 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10802 | 11037 |
10803 xe_check_libs=" -ltermcap " | 11038 xe_check_libs=" -ltermcap " |
10804 cat > conftest.$ac_ext <<EOF | 11039 cat > conftest.$ac_ext <<EOF |
10805 #line 10806 "configure" | 11040 #line 11041 "configure" |
10806 #include "confdefs.h" | 11041 #include "confdefs.h" |
10807 /* Override any gcc2 internal prototype to avoid an error. */ | 11042 /* Override any gcc2 internal prototype to avoid an error. */ |
10808 /* We use char because int might match the return type of a gcc2 | 11043 /* We use char because int might match the return type of a gcc2 |
10809 builtin and then its argument prototype would still apply. */ | 11044 builtin and then its argument prototype would still apply. */ |
10810 char tgetent(); | 11045 char tgetent(); |
10811 | 11046 |
10812 int main() { | 11047 int main() { |
10813 tgetent() | 11048 tgetent() |
10814 ; return 0; } | 11049 ; return 0; } |
10815 EOF | 11050 EOF |
10816 if { (eval echo configure:10817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11051 if { (eval echo configure:11052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10817 rm -rf conftest* | 11052 rm -rf conftest* |
10818 eval "ac_cv_lib_$ac_lib_var=yes" | 11053 eval "ac_cv_lib_$ac_lib_var=yes" |
10819 else | 11054 else |
10820 echo "configure: failed program was:" >&5 | 11055 echo "configure: failed program was:" >&5 |
10821 cat conftest.$ac_ext >&5 | 11056 cat conftest.$ac_ext >&5 |
10859 } | 11094 } |
10860 | 11095 |
10861 | 11096 |
10862 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11097 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10863 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11098 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10864 echo "configure:10865: checking for gpm.h" >&5 | 11099 echo "configure:11100: checking for gpm.h" >&5 |
10865 | 11100 |
10866 cat > conftest.$ac_ext <<EOF | 11101 cat > conftest.$ac_ext <<EOF |
10867 #line 10868 "configure" | 11102 #line 11103 "configure" |
10868 #include "confdefs.h" | 11103 #include "confdefs.h" |
10869 #include <gpm.h> | 11104 #include <gpm.h> |
10870 EOF | 11105 EOF |
10871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10872 { (eval echo configure:10873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11107 { (eval echo configure:11108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10873 ac_err=`grep -v '^ *+' conftest.out` | 11108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10874 if test -z "$ac_err"; then | 11109 if test -z "$ac_err"; then |
10875 rm -rf conftest* | 11110 rm -rf conftest* |
10876 eval "ac_cv_header_$ac_safe=yes" | 11111 eval "ac_cv_header_$ac_safe=yes" |
10877 else | 11112 else |
10878 echo "$ac_err" >&5 | 11113 echo "$ac_err" >&5 |
10890 with_gpm=no | 11125 with_gpm=no |
10891 fi | 11126 fi |
10892 } | 11127 } |
10893 test -z "$with_gpm" && { | 11128 test -z "$with_gpm" && { |
10894 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11129 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10895 echo "configure:10896: checking for Gpm_Open in -lgpm" >&5 | 11130 echo "configure:11131: checking for Gpm_Open in -lgpm" >&5 |
10896 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11131 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10897 | 11132 |
10898 xe_check_libs=" -lgpm " | 11133 xe_check_libs=" -lgpm " |
10899 cat > conftest.$ac_ext <<EOF | 11134 cat > conftest.$ac_ext <<EOF |
10900 #line 10901 "configure" | 11135 #line 11136 "configure" |
10901 #include "confdefs.h" | 11136 #include "confdefs.h" |
10902 /* Override any gcc2 internal prototype to avoid an error. */ | 11137 /* Override any gcc2 internal prototype to avoid an error. */ |
10903 /* We use char because int might match the return type of a gcc2 | 11138 /* We use char because int might match the return type of a gcc2 |
10904 builtin and then its argument prototype would still apply. */ | 11139 builtin and then its argument prototype would still apply. */ |
10905 char Gpm_Open(); | 11140 char Gpm_Open(); |
10906 | 11141 |
10907 int main() { | 11142 int main() { |
10908 Gpm_Open() | 11143 Gpm_Open() |
10909 ; return 0; } | 11144 ; return 0; } |
10910 EOF | 11145 EOF |
10911 if { (eval echo configure:10912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11146 if { (eval echo configure:11147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10912 rm -rf conftest* | 11147 rm -rf conftest* |
10913 eval "ac_cv_lib_$ac_lib_var=yes" | 11148 eval "ac_cv_lib_$ac_lib_var=yes" |
10914 else | 11149 else |
10915 echo "configure: failed program was:" >&5 | 11150 echo "configure: failed program was:" >&5 |
10916 cat conftest.$ac_ext >&5 | 11151 cat conftest.$ac_ext >&5 |
10956 fi | 11191 fi |
10957 | 11192 |
10958 | 11193 |
10959 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ | 11194 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ |
10960 != "no no no" && echo "checking for database support" 1>&6 | 11195 != "no no no" && echo "checking for database support" 1>&6 |
10961 echo "configure:10962: checking for database support" >&5 | 11196 echo "configure:11197: checking for database support" >&5 |
10962 | 11197 |
10963 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11198 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
10964 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11199 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
10965 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11200 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
10966 echo "configure:10967: checking for ndbm.h" >&5 | 11201 echo "configure:11202: checking for ndbm.h" >&5 |
10967 | 11202 |
10968 cat > conftest.$ac_ext <<EOF | 11203 cat > conftest.$ac_ext <<EOF |
10969 #line 10970 "configure" | 11204 #line 11205 "configure" |
10970 #include "confdefs.h" | 11205 #include "confdefs.h" |
10971 #include <ndbm.h> | 11206 #include <ndbm.h> |
10972 EOF | 11207 EOF |
10973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10974 { (eval echo configure:10975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11209 { (eval echo configure:11210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10975 ac_err=`grep -v '^ *+' conftest.out` | 11210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10976 if test -z "$ac_err"; then | 11211 if test -z "$ac_err"; then |
10977 rm -rf conftest* | 11212 rm -rf conftest* |
10978 eval "ac_cv_header_$ac_safe=yes" | 11213 eval "ac_cv_header_$ac_safe=yes" |
10979 else | 11214 else |
10980 echo "$ac_err" >&5 | 11215 echo "$ac_err" >&5 |
10999 fi | 11234 fi |
11000 | 11235 |
11001 if test "$with_database_gnudbm" != "no"; then | 11236 if test "$with_database_gnudbm" != "no"; then |
11002 | 11237 |
11003 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11238 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11004 echo "configure:11005: checking for dbm_open in -lgdbm" >&5 | 11239 echo "configure:11240: checking for dbm_open in -lgdbm" >&5 |
11005 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11240 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11006 | 11241 |
11007 xe_check_libs=" -lgdbm " | 11242 xe_check_libs=" -lgdbm " |
11008 cat > conftest.$ac_ext <<EOF | 11243 cat > conftest.$ac_ext <<EOF |
11009 #line 11010 "configure" | 11244 #line 11245 "configure" |
11010 #include "confdefs.h" | 11245 #include "confdefs.h" |
11011 /* Override any gcc2 internal prototype to avoid an error. */ | 11246 /* Override any gcc2 internal prototype to avoid an error. */ |
11012 /* We use char because int might match the return type of a gcc2 | 11247 /* We use char because int might match the return type of a gcc2 |
11013 builtin and then its argument prototype would still apply. */ | 11248 builtin and then its argument prototype would still apply. */ |
11014 char dbm_open(); | 11249 char dbm_open(); |
11015 | 11250 |
11016 int main() { | 11251 int main() { |
11017 dbm_open() | 11252 dbm_open() |
11018 ; return 0; } | 11253 ; return 0; } |
11019 EOF | 11254 EOF |
11020 if { (eval echo configure:11021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11255 if { (eval echo configure:11256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11021 rm -rf conftest* | 11256 rm -rf conftest* |
11022 eval "ac_cv_lib_$ac_lib_var=yes" | 11257 eval "ac_cv_lib_$ac_lib_var=yes" |
11023 else | 11258 else |
11024 echo "configure: failed program was:" >&5 | 11259 echo "configure: failed program was:" >&5 |
11025 cat conftest.$ac_ext >&5 | 11260 cat conftest.$ac_ext >&5 |
11043 | 11278 |
11044 fi | 11279 fi |
11045 | 11280 |
11046 if test "$with_database_dbm" != "no"; then | 11281 if test "$with_database_dbm" != "no"; then |
11047 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11282 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11048 echo "configure:11049: checking for dbm_open" >&5 | 11283 echo "configure:11284: checking for dbm_open" >&5 |
11049 | 11284 |
11050 cat > conftest.$ac_ext <<EOF | 11285 cat > conftest.$ac_ext <<EOF |
11051 #line 11052 "configure" | 11286 #line 11287 "configure" |
11052 #include "confdefs.h" | 11287 #include "confdefs.h" |
11053 /* System header to define __stub macros and hopefully few prototypes, | 11288 /* System header to define __stub macros and hopefully few prototypes, |
11054 which can conflict with char dbm_open(); below. */ | 11289 which can conflict with char dbm_open(); below. */ |
11055 #include <assert.h> | 11290 #include <assert.h> |
11056 /* Override any gcc2 internal prototype to avoid an error. */ | 11291 /* Override any gcc2 internal prototype to avoid an error. */ |
11069 dbm_open(); | 11304 dbm_open(); |
11070 #endif | 11305 #endif |
11071 | 11306 |
11072 ; return 0; } | 11307 ; return 0; } |
11073 EOF | 11308 EOF |
11074 if { (eval echo configure:11075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11309 if { (eval echo configure:11310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11075 rm -rf conftest* | 11310 rm -rf conftest* |
11076 eval "ac_cv_func_dbm_open=yes" | 11311 eval "ac_cv_func_dbm_open=yes" |
11077 else | 11312 else |
11078 echo "configure: failed program was:" >&5 | 11313 echo "configure: failed program was:" >&5 |
11079 cat conftest.$ac_ext >&5 | 11314 cat conftest.$ac_ext >&5 |
11088 else | 11323 else |
11089 echo "$ac_t""no" 1>&6 | 11324 echo "$ac_t""no" 1>&6 |
11090 | 11325 |
11091 | 11326 |
11092 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11327 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11093 echo "configure:11094: checking for dbm_open in -ldbm" >&5 | 11328 echo "configure:11329: checking for dbm_open in -ldbm" >&5 |
11094 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11329 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11095 | 11330 |
11096 xe_check_libs=" -ldbm " | 11331 xe_check_libs=" -ldbm " |
11097 cat > conftest.$ac_ext <<EOF | 11332 cat > conftest.$ac_ext <<EOF |
11098 #line 11099 "configure" | 11333 #line 11334 "configure" |
11099 #include "confdefs.h" | 11334 #include "confdefs.h" |
11100 /* Override any gcc2 internal prototype to avoid an error. */ | 11335 /* Override any gcc2 internal prototype to avoid an error. */ |
11101 /* We use char because int might match the return type of a gcc2 | 11336 /* We use char because int might match the return type of a gcc2 |
11102 builtin and then its argument prototype would still apply. */ | 11337 builtin and then its argument prototype would still apply. */ |
11103 char dbm_open(); | 11338 char dbm_open(); |
11104 | 11339 |
11105 int main() { | 11340 int main() { |
11106 dbm_open() | 11341 dbm_open() |
11107 ; return 0; } | 11342 ; return 0; } |
11108 EOF | 11343 EOF |
11109 if { (eval echo configure:11110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11344 if { (eval echo configure:11345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11110 rm -rf conftest* | 11345 rm -rf conftest* |
11111 eval "ac_cv_lib_$ac_lib_var=yes" | 11346 eval "ac_cv_lib_$ac_lib_var=yes" |
11112 else | 11347 else |
11113 echo "configure: failed program was:" >&5 | 11348 echo "configure: failed program was:" >&5 |
11114 cat conftest.$ac_ext >&5 | 11349 cat conftest.$ac_ext >&5 |
11145 } | 11380 } |
11146 | 11381 |
11147 | 11382 |
11148 if test "$with_database_berkdb" != "no"; then | 11383 if test "$with_database_berkdb" != "no"; then |
11149 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11384 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11150 echo "configure:11151: checking for Berkeley db.h" >&5 | 11385 echo "configure:11386: checking for Berkeley db.h" >&5 |
11151 for path in "db/db.h" "db.h"; do | 11386 for path in "db/db.h" "db.h"; do |
11152 cat > conftest.$ac_ext <<EOF | 11387 cat > conftest.$ac_ext <<EOF |
11153 #line 11154 "configure" | 11388 #line 11389 "configure" |
11154 #include "confdefs.h" | 11389 #include "confdefs.h" |
11155 #ifdef HAVE_INTTYPES_H | 11390 #ifdef HAVE_INTTYPES_H |
11156 #define __BIT_TYPES_DEFINED__ | 11391 #define __BIT_TYPES_DEFINED__ |
11157 #include <inttypes.h> | 11392 #include <inttypes.h> |
11158 typedef uint8_t u_int8_t; | 11393 typedef uint8_t u_int8_t; |
11166 | 11401 |
11167 int main() { | 11402 int main() { |
11168 | 11403 |
11169 ; return 0; } | 11404 ; return 0; } |
11170 EOF | 11405 EOF |
11171 if { (eval echo configure:11172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11406 if { (eval echo configure:11407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11172 rm -rf conftest* | 11407 rm -rf conftest* |
11173 db_h_path="$path"; break | 11408 db_h_path="$path"; break |
11174 else | 11409 else |
11175 echo "configure: failed program was:" >&5 | 11410 echo "configure: failed program was:" >&5 |
11176 cat conftest.$ac_ext >&5 | 11411 cat conftest.$ac_ext >&5 |
11182 else echo "$ac_t""$db_h_path" 1>&6 | 11417 else echo "$ac_t""$db_h_path" 1>&6 |
11183 fi | 11418 fi |
11184 | 11419 |
11185 if test "$with_database_berkdb" != "no"; then | 11420 if test "$with_database_berkdb" != "no"; then |
11186 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11421 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11187 echo "configure:11188: checking for Berkeley DB version" >&5 | 11422 echo "configure:11423: checking for Berkeley DB version" >&5 |
11188 cat > conftest.$ac_ext <<EOF | 11423 cat > conftest.$ac_ext <<EOF |
11189 #line 11190 "configure" | 11424 #line 11425 "configure" |
11190 #include "confdefs.h" | 11425 #include "confdefs.h" |
11191 #include <$db_h_path> | 11426 #include <$db_h_path> |
11192 #if DB_VERSION_MAJOR > 1 | 11427 #if DB_VERSION_MAJOR > 1 |
11193 yes | 11428 yes |
11194 #endif | 11429 #endif |
11203 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11438 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11204 fi | 11439 fi |
11205 rm -f conftest* | 11440 rm -f conftest* |
11206 | 11441 |
11207 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11442 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11208 echo "configure:11209: checking for $dbfunc" >&5 | 11443 echo "configure:11444: checking for $dbfunc" >&5 |
11209 | 11444 |
11210 cat > conftest.$ac_ext <<EOF | 11445 cat > conftest.$ac_ext <<EOF |
11211 #line 11212 "configure" | 11446 #line 11447 "configure" |
11212 #include "confdefs.h" | 11447 #include "confdefs.h" |
11213 /* System header to define __stub macros and hopefully few prototypes, | 11448 /* System header to define __stub macros and hopefully few prototypes, |
11214 which can conflict with char $dbfunc(); below. */ | 11449 which can conflict with char $dbfunc(); below. */ |
11215 #include <assert.h> | 11450 #include <assert.h> |
11216 /* Override any gcc2 internal prototype to avoid an error. */ | 11451 /* Override any gcc2 internal prototype to avoid an error. */ |
11229 $dbfunc(); | 11464 $dbfunc(); |
11230 #endif | 11465 #endif |
11231 | 11466 |
11232 ; return 0; } | 11467 ; return 0; } |
11233 EOF | 11468 EOF |
11234 if { (eval echo configure:11235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11469 if { (eval echo configure:11470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11235 rm -rf conftest* | 11470 rm -rf conftest* |
11236 eval "ac_cv_func_$dbfunc=yes" | 11471 eval "ac_cv_func_$dbfunc=yes" |
11237 else | 11472 else |
11238 echo "configure: failed program was:" >&5 | 11473 echo "configure: failed program was:" >&5 |
11239 cat conftest.$ac_ext >&5 | 11474 cat conftest.$ac_ext >&5 |
11248 else | 11483 else |
11249 echo "$ac_t""no" 1>&6 | 11484 echo "$ac_t""no" 1>&6 |
11250 | 11485 |
11251 | 11486 |
11252 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11487 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11253 echo "configure:11254: checking for $dbfunc in -ldb" >&5 | 11488 echo "configure:11489: checking for $dbfunc in -ldb" >&5 |
11254 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11489 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11255 | 11490 |
11256 xe_check_libs=" -ldb " | 11491 xe_check_libs=" -ldb " |
11257 cat > conftest.$ac_ext <<EOF | 11492 cat > conftest.$ac_ext <<EOF |
11258 #line 11259 "configure" | 11493 #line 11494 "configure" |
11259 #include "confdefs.h" | 11494 #include "confdefs.h" |
11260 /* Override any gcc2 internal prototype to avoid an error. */ | 11495 /* Override any gcc2 internal prototype to avoid an error. */ |
11261 /* We use char because int might match the return type of a gcc2 | 11496 /* We use char because int might match the return type of a gcc2 |
11262 builtin and then its argument prototype would still apply. */ | 11497 builtin and then its argument prototype would still apply. */ |
11263 char $dbfunc(); | 11498 char $dbfunc(); |
11264 | 11499 |
11265 int main() { | 11500 int main() { |
11266 $dbfunc() | 11501 $dbfunc() |
11267 ; return 0; } | 11502 ; return 0; } |
11268 EOF | 11503 EOF |
11269 if { (eval echo configure:11270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11504 if { (eval echo configure:11505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11270 rm -rf conftest* | 11505 rm -rf conftest* |
11271 eval "ac_cv_lib_$ac_lib_var=yes" | 11506 eval "ac_cv_lib_$ac_lib_var=yes" |
11272 else | 11507 else |
11273 echo "configure: failed program was:" >&5 | 11508 echo "configure: failed program was:" >&5 |
11274 cat conftest.$ac_ext >&5 | 11509 cat conftest.$ac_ext >&5 |
11328 fi | 11563 fi |
11329 | 11564 |
11330 if test "$with_socks" = "yes"; then | 11565 if test "$with_socks" = "yes"; then |
11331 | 11566 |
11332 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11567 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11333 echo "configure:11334: checking for SOCKSinit in -lsocks" >&5 | 11568 echo "configure:11569: checking for SOCKSinit in -lsocks" >&5 |
11334 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11569 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11335 | 11570 |
11336 xe_check_libs=" -lsocks " | 11571 xe_check_libs=" -lsocks " |
11337 cat > conftest.$ac_ext <<EOF | 11572 cat > conftest.$ac_ext <<EOF |
11338 #line 11339 "configure" | 11573 #line 11574 "configure" |
11339 #include "confdefs.h" | 11574 #include "confdefs.h" |
11340 /* Override any gcc2 internal prototype to avoid an error. */ | 11575 /* Override any gcc2 internal prototype to avoid an error. */ |
11341 /* We use char because int might match the return type of a gcc2 | 11576 /* We use char because int might match the return type of a gcc2 |
11342 builtin and then its argument prototype would still apply. */ | 11577 builtin and then its argument prototype would still apply. */ |
11343 char SOCKSinit(); | 11578 char SOCKSinit(); |
11344 | 11579 |
11345 int main() { | 11580 int main() { |
11346 SOCKSinit() | 11581 SOCKSinit() |
11347 ; return 0; } | 11582 ; return 0; } |
11348 EOF | 11583 EOF |
11349 if { (eval echo configure:11350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11350 rm -rf conftest* | 11585 rm -rf conftest* |
11351 eval "ac_cv_lib_$ac_lib_var=yes" | 11586 eval "ac_cv_lib_$ac_lib_var=yes" |
11352 else | 11587 else |
11353 echo "configure: failed program was:" >&5 | 11588 echo "configure: failed program was:" >&5 |
11354 cat conftest.$ac_ext >&5 | 11589 cat conftest.$ac_ext >&5 |
11401 | 11636 |
11402 for ac_hdr in dlfcn.h | 11637 for ac_hdr in dlfcn.h |
11403 do | 11638 do |
11404 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11639 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11405 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11640 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11406 echo "configure:11407: checking for $ac_hdr" >&5 | 11641 echo "configure:11642: checking for $ac_hdr" >&5 |
11407 | 11642 |
11408 cat > conftest.$ac_ext <<EOF | 11643 cat > conftest.$ac_ext <<EOF |
11409 #line 11410 "configure" | 11644 #line 11645 "configure" |
11410 #include "confdefs.h" | 11645 #include "confdefs.h" |
11411 #include <$ac_hdr> | 11646 #include <$ac_hdr> |
11412 EOF | 11647 EOF |
11413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11414 { (eval echo configure:11415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11649 { (eval echo configure:11650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11415 ac_err=`grep -v '^ *+' conftest.out` | 11650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11416 if test -z "$ac_err"; then | 11651 if test -z "$ac_err"; then |
11417 rm -rf conftest* | 11652 rm -rf conftest* |
11418 eval "ac_cv_header_$ac_safe=yes" | 11653 eval "ac_cv_header_$ac_safe=yes" |
11419 else | 11654 else |
11420 echo "$ac_err" >&5 | 11655 echo "$ac_err" >&5 |
11448 fi | 11683 fi |
11449 done | 11684 done |
11450 | 11685 |
11451 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11686 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11452 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11687 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11453 echo "configure:11454: checking for dlopen in -ldl" >&5 | 11688 echo "configure:11689: checking for dlopen in -ldl" >&5 |
11454 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11689 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11455 | 11690 |
11456 xe_check_libs=" -ldl " | 11691 xe_check_libs=" -ldl " |
11457 cat > conftest.$ac_ext <<EOF | 11692 cat > conftest.$ac_ext <<EOF |
11458 #line 11459 "configure" | 11693 #line 11694 "configure" |
11459 #include "confdefs.h" | 11694 #include "confdefs.h" |
11460 /* Override any gcc2 internal prototype to avoid an error. */ | 11695 /* Override any gcc2 internal prototype to avoid an error. */ |
11461 /* We use char because int might match the return type of a gcc2 | 11696 /* We use char because int might match the return type of a gcc2 |
11462 builtin and then its argument prototype would still apply. */ | 11697 builtin and then its argument prototype would still apply. */ |
11463 char dlopen(); | 11698 char dlopen(); |
11464 | 11699 |
11465 int main() { | 11700 int main() { |
11466 dlopen() | 11701 dlopen() |
11467 ; return 0; } | 11702 ; return 0; } |
11468 EOF | 11703 EOF |
11469 if { (eval echo configure:11470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11704 if { (eval echo configure:11705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11470 rm -rf conftest* | 11705 rm -rf conftest* |
11471 eval "ac_cv_lib_$ac_lib_var=yes" | 11706 eval "ac_cv_lib_$ac_lib_var=yes" |
11472 else | 11707 else |
11473 echo "configure: failed program was:" >&5 | 11708 echo "configure: failed program was:" >&5 |
11474 cat conftest.$ac_ext >&5 | 11709 cat conftest.$ac_ext >&5 |
11493 fi | 11728 fi |
11494 | 11729 |
11495 } | 11730 } |
11496 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11731 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11497 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11732 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11498 echo "configure:11499: checking for _dlopen in -lc" >&5 | 11733 echo "configure:11734: checking for _dlopen in -lc" >&5 |
11499 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11734 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11500 | 11735 |
11501 xe_check_libs=" -lc " | 11736 xe_check_libs=" -lc " |
11502 cat > conftest.$ac_ext <<EOF | 11737 cat > conftest.$ac_ext <<EOF |
11503 #line 11504 "configure" | 11738 #line 11739 "configure" |
11504 #include "confdefs.h" | 11739 #include "confdefs.h" |
11505 /* Override any gcc2 internal prototype to avoid an error. */ | 11740 /* Override any gcc2 internal prototype to avoid an error. */ |
11506 /* We use char because int might match the return type of a gcc2 | 11741 /* We use char because int might match the return type of a gcc2 |
11507 builtin and then its argument prototype would still apply. */ | 11742 builtin and then its argument prototype would still apply. */ |
11508 char _dlopen(); | 11743 char _dlopen(); |
11509 | 11744 |
11510 int main() { | 11745 int main() { |
11511 _dlopen() | 11746 _dlopen() |
11512 ; return 0; } | 11747 ; return 0; } |
11513 EOF | 11748 EOF |
11514 if { (eval echo configure:11515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11749 if { (eval echo configure:11750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11515 rm -rf conftest* | 11750 rm -rf conftest* |
11516 eval "ac_cv_lib_$ac_lib_var=yes" | 11751 eval "ac_cv_lib_$ac_lib_var=yes" |
11517 else | 11752 else |
11518 echo "configure: failed program was:" >&5 | 11753 echo "configure: failed program was:" >&5 |
11519 cat conftest.$ac_ext >&5 | 11754 cat conftest.$ac_ext >&5 |
11538 fi | 11773 fi |
11539 | 11774 |
11540 } | 11775 } |
11541 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11776 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11542 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11777 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11543 echo "configure:11544: checking for dlopen in -lc" >&5 | 11778 echo "configure:11779: checking for dlopen in -lc" >&5 |
11544 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11779 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11545 | 11780 |
11546 xe_check_libs=" -lc " | 11781 xe_check_libs=" -lc " |
11547 cat > conftest.$ac_ext <<EOF | 11782 cat > conftest.$ac_ext <<EOF |
11548 #line 11549 "configure" | 11783 #line 11784 "configure" |
11549 #include "confdefs.h" | 11784 #include "confdefs.h" |
11550 /* Override any gcc2 internal prototype to avoid an error. */ | 11785 /* Override any gcc2 internal prototype to avoid an error. */ |
11551 /* We use char because int might match the return type of a gcc2 | 11786 /* We use char because int might match the return type of a gcc2 |
11552 builtin and then its argument prototype would still apply. */ | 11787 builtin and then its argument prototype would still apply. */ |
11553 char dlopen(); | 11788 char dlopen(); |
11554 | 11789 |
11555 int main() { | 11790 int main() { |
11556 dlopen() | 11791 dlopen() |
11557 ; return 0; } | 11792 ; return 0; } |
11558 EOF | 11793 EOF |
11559 if { (eval echo configure:11560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11794 if { (eval echo configure:11795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11560 rm -rf conftest* | 11795 rm -rf conftest* |
11561 eval "ac_cv_lib_$ac_lib_var=yes" | 11796 eval "ac_cv_lib_$ac_lib_var=yes" |
11562 else | 11797 else |
11563 echo "configure: failed program was:" >&5 | 11798 echo "configure: failed program was:" >&5 |
11564 cat conftest.$ac_ext >&5 | 11799 cat conftest.$ac_ext >&5 |
11583 fi | 11818 fi |
11584 | 11819 |
11585 } | 11820 } |
11586 test -z "$with_shlib" && { | 11821 test -z "$with_shlib" && { |
11587 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11822 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11588 echo "configure:11589: checking for shl_load in -ldld" >&5 | 11823 echo "configure:11824: checking for shl_load in -ldld" >&5 |
11589 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11824 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11590 | 11825 |
11591 xe_check_libs=" -ldld " | 11826 xe_check_libs=" -ldld " |
11592 cat > conftest.$ac_ext <<EOF | 11827 cat > conftest.$ac_ext <<EOF |
11593 #line 11594 "configure" | 11828 #line 11829 "configure" |
11594 #include "confdefs.h" | 11829 #include "confdefs.h" |
11595 /* Override any gcc2 internal prototype to avoid an error. */ | 11830 /* Override any gcc2 internal prototype to avoid an error. */ |
11596 /* We use char because int might match the return type of a gcc2 | 11831 /* We use char because int might match the return type of a gcc2 |
11597 builtin and then its argument prototype would still apply. */ | 11832 builtin and then its argument prototype would still apply. */ |
11598 char shl_load(); | 11833 char shl_load(); |
11599 | 11834 |
11600 int main() { | 11835 int main() { |
11601 shl_load() | 11836 shl_load() |
11602 ; return 0; } | 11837 ; return 0; } |
11603 EOF | 11838 EOF |
11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11839 if { (eval echo configure:11840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11605 rm -rf conftest* | 11840 rm -rf conftest* |
11606 eval "ac_cv_lib_$ac_lib_var=yes" | 11841 eval "ac_cv_lib_$ac_lib_var=yes" |
11607 else | 11842 else |
11608 echo "configure: failed program was:" >&5 | 11843 echo "configure: failed program was:" >&5 |
11609 cat conftest.$ac_ext >&5 | 11844 cat conftest.$ac_ext >&5 |
11628 fi | 11863 fi |
11629 | 11864 |
11630 } | 11865 } |
11631 test -z "$with_shlib" && { | 11866 test -z "$with_shlib" && { |
11632 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11867 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11633 echo "configure:11634: checking for dld_init in -ldld" >&5 | 11868 echo "configure:11869: checking for dld_init in -ldld" >&5 |
11634 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11869 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11635 | 11870 |
11636 xe_check_libs=" -ldld " | 11871 xe_check_libs=" -ldld " |
11637 cat > conftest.$ac_ext <<EOF | 11872 cat > conftest.$ac_ext <<EOF |
11638 #line 11639 "configure" | 11873 #line 11874 "configure" |
11639 #include "confdefs.h" | 11874 #include "confdefs.h" |
11640 /* Override any gcc2 internal prototype to avoid an error. */ | 11875 /* Override any gcc2 internal prototype to avoid an error. */ |
11641 /* We use char because int might match the return type of a gcc2 | 11876 /* We use char because int might match the return type of a gcc2 |
11642 builtin and then its argument prototype would still apply. */ | 11877 builtin and then its argument prototype would still apply. */ |
11643 char dld_init(); | 11878 char dld_init(); |
11644 | 11879 |
11645 int main() { | 11880 int main() { |
11646 dld_init() | 11881 dld_init() |
11647 ; return 0; } | 11882 ; return 0; } |
11648 EOF | 11883 EOF |
11649 if { (eval echo configure:11650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11884 if { (eval echo configure:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11650 rm -rf conftest* | 11885 rm -rf conftest* |
11651 eval "ac_cv_lib_$ac_lib_var=yes" | 11886 eval "ac_cv_lib_$ac_lib_var=yes" |
11652 else | 11887 else |
11653 echo "configure: failed program was:" >&5 | 11888 echo "configure: failed program was:" >&5 |
11654 cat conftest.$ac_ext >&5 | 11889 cat conftest.$ac_ext >&5 |
11683 ld_dynamic_link_flags= | 11918 ld_dynamic_link_flags= |
11684 xehost=$canonical | 11919 xehost=$canonical |
11685 xealias=$internal_configuration | 11920 xealias=$internal_configuration |
11686 | 11921 |
11687 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 11922 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
11688 echo "configure:11689: checking how to build dynamic libraries for ${xehost}" >&5 | 11923 echo "configure:11924: checking how to build dynamic libraries for ${xehost}" >&5 |
11689 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 11924 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
11690 case "$xehost" in | 11925 case "$xehost" in |
11691 *-*-linux-gnu*) ;; | 11926 *-*-linux-gnu*) ;; |
11692 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 11927 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
11693 esac | 11928 esac |
11711 # Now see if the compiler is really GCC. | 11946 # Now see if the compiler is really GCC. |
11712 if test "$GCC" = "yes"; then | 11947 if test "$GCC" = "yes"; then |
11713 XEGCC=yes | 11948 XEGCC=yes |
11714 else | 11949 else |
11715 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 11950 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
11716 echo "configure:11717: checking checking whether we are using GNU C" >&5 | 11951 echo "configure:11952: checking checking whether we are using GNU C" >&5 |
11717 cat > conftest.$ac_ext <<EOF | 11952 cat > conftest.$ac_ext <<EOF |
11718 #line 11719 "configure" | 11953 #line 11954 "configure" |
11719 #include "confdefs.h" | 11954 #include "confdefs.h" |
11720 | 11955 |
11721 #ifdef __GNUC__ | 11956 #ifdef __GNUC__ |
11722 yes; | 11957 yes; |
11723 #endif | 11958 #endif |
11735 | 11970 |
11736 echo "$ac_t""${XEGCC}" 1>&6 | 11971 echo "$ac_t""${XEGCC}" 1>&6 |
11737 fi | 11972 fi |
11738 | 11973 |
11739 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 11974 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
11740 echo "configure:11741: checking how to produce PIC code" >&5 | 11975 echo "configure:11976: checking how to produce PIC code" >&5 |
11741 wl= | 11976 wl= |
11742 | 11977 |
11743 can_build_shared=yes | 11978 can_build_shared=yes |
11744 if test "$XEGCC" = yes; then | 11979 if test "$XEGCC" = yes; then |
11745 wl='-Wl,' | 11980 wl='-Wl,' |
11828 if test -n "$dll_cflags"; then | 12063 if test -n "$dll_cflags"; then |
11829 echo "$ac_t""${dll_cflags}" 1>&6 | 12064 echo "$ac_t""${dll_cflags}" 1>&6 |
11830 | 12065 |
11831 # Check to make sure the dll_cflags actually works. | 12066 # Check to make sure the dll_cflags actually works. |
11832 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 12067 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
11833 echo "configure:11834: checking if PIC flag ${dll_cflags} really works" >&5 | 12068 echo "configure:12069: checking if PIC flag ${dll_cflags} really works" >&5 |
11834 save_CFLAGS="$CFLAGS" | 12069 save_CFLAGS="$CFLAGS" |
11835 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 12070 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
11836 cat > conftest.$ac_ext <<EOF | 12071 cat > conftest.$ac_ext <<EOF |
11837 #line 11838 "configure" | 12072 #line 12073 "configure" |
11838 #include "confdefs.h" | 12073 #include "confdefs.h" |
11839 | 12074 |
11840 int main() { | 12075 int main() { |
11841 int x=0; | 12076 int x=0; |
11842 ; return 0; } | 12077 ; return 0; } |
11843 EOF | 12078 EOF |
11844 if { (eval echo configure:11845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12079 if { (eval echo configure:12080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11845 rm -rf conftest* | 12080 rm -rf conftest* |
11846 | 12081 |
11847 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 12082 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
11848 # reports no error. So, we need to grep stderr for (Bundled). | 12083 # reports no error. So, we need to grep stderr for (Bundled). |
11849 if grep '(Bundled)' config.log >/dev/null; then | 12084 if grep '(Bundled)' config.log >/dev/null; then |
11870 if test "$can_build_shared" = "yes"; then | 12105 if test "$can_build_shared" = "yes"; then |
11871 cc_produces_so=no | 12106 cc_produces_so=no |
11872 xldf= | 12107 xldf= |
11873 xcldf= | 12108 xcldf= |
11874 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 12109 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
11875 echo "configure:11876: checking if C compiler can produce shared libraries" >&5 | 12110 echo "configure:12111: checking if C compiler can produce shared libraries" >&5 |
11876 if test "$XEGCC" = yes; then | 12111 if test "$XEGCC" = yes; then |
11877 xcldf="-shared" | 12112 xcldf="-shared" |
11878 xldf="-shared" | 12113 xldf="-shared" |
11879 else # Not using GCC | 12114 else # Not using GCC |
11880 case "$xehost_os" in | 12115 case "$xehost_os" in |
11921 LDFLAGS="$xcldf $LDFLAGS" | 12156 LDFLAGS="$xcldf $LDFLAGS" |
11922 LIBS= | 12157 LIBS= |
11923 xe_libs= | 12158 xe_libs= |
11924 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 12159 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
11925 cat > conftest.$ac_ext <<EOF | 12160 cat > conftest.$ac_ext <<EOF |
11926 #line 11927 "configure" | 12161 #line 12162 "configure" |
11927 #include "confdefs.h" | 12162 #include "confdefs.h" |
11928 | 12163 |
11929 int main() { | 12164 int main() { |
11930 int x=0; | 12165 int x=0; |
11931 ; return 0; } | 12166 ; return 0; } |
11932 EOF | 12167 EOF |
11933 if { (eval echo configure:11934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12168 if { (eval echo configure:12169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11934 rm -rf conftest* | 12169 rm -rf conftest* |
11935 cc_produces_so=yes | 12170 cc_produces_so=yes |
11936 else | 12171 else |
11937 echo "configure: failed program was:" >&5 | 12172 echo "configure: failed program was:" >&5 |
11938 cat conftest.$ac_ext >&5 | 12173 cat conftest.$ac_ext >&5 |
11953 if test -z "$LTLD"; then | 12188 if test -z "$LTLD"; then |
11954 ac_prog=ld | 12189 ac_prog=ld |
11955 if test "$XEGCC" = yes; then | 12190 if test "$XEGCC" = yes; then |
11956 # Check if gcc -print-prog-name=ld gives a path. | 12191 # Check if gcc -print-prog-name=ld gives a path. |
11957 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 12192 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
11958 echo "configure:11959: checking for ld used by GCC" >&5 | 12193 echo "configure:12194: checking for ld used by GCC" >&5 |
11959 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 12194 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
11960 case "$ac_prog" in | 12195 case "$ac_prog" in |
11961 # Accept absolute paths. | 12196 # Accept absolute paths. |
11962 /*) | 12197 /*) |
11963 if test -z "$LTLD"; then | 12198 if test -z "$LTLD"; then |
11978 with_gnu_ld=unknown | 12213 with_gnu_ld=unknown |
11979 ;; | 12214 ;; |
11980 esac | 12215 esac |
11981 else | 12216 else |
11982 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 12217 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
11983 echo "configure:11984: checking for GNU ld" >&5 | 12218 echo "configure:12219: checking for GNU ld" >&5 |
11984 fi | 12219 fi |
11985 | 12220 |
11986 if test -z "$LTLD"; then | 12221 if test -z "$LTLD"; then |
11987 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 12222 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
11988 for ac_dir in $PATH; do | 12223 for ac_dir in $PATH; do |
12016 | 12251 |
12017 ld_dynamic_link_flags= | 12252 ld_dynamic_link_flags= |
12018 | 12253 |
12019 # Check to see if it really is or isn't GNU ld. | 12254 # Check to see if it really is or isn't GNU ld. |
12020 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 12255 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
12021 echo "configure:12022: checking if the linker is GNU ld" >&5 | 12256 echo "configure:12257: checking if the linker is GNU ld" >&5 |
12022 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 12257 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
12023 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 12258 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
12024 xe_gnu_ld=yes | 12259 xe_gnu_ld=yes |
12025 else | 12260 else |
12026 xe_gnu_ld=no | 12261 xe_gnu_ld=no |
12043 can_build_shared=yes | 12278 can_build_shared=yes |
12044 else | 12279 else |
12045 # OK - only NOW do we futz about with ld. | 12280 # OK - only NOW do we futz about with ld. |
12046 # See if the linker supports building shared libraries. | 12281 # See if the linker supports building shared libraries. |
12047 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 12282 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
12048 echo "configure:12049: checking whether the linker supports shared libraries" >&5 | 12283 echo "configure:12284: checking whether the linker supports shared libraries" >&5 |
12049 dll_ld=$CC | 12284 dll_ld=$CC |
12050 dll_ldflags=$LDFLAGS | 12285 dll_ldflags=$LDFLAGS |
12051 ld_shlibs=yes | 12286 ld_shlibs=yes |
12052 can_build_shared=yes | 12287 can_build_shared=yes |
12053 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 12288 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
12255 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 12490 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
12256 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi | 12491 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi |
12257 for ac_func in dlerror _dlerror | 12492 for ac_func in dlerror _dlerror |
12258 do | 12493 do |
12259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12260 echo "configure:12261: checking for $ac_func" >&5 | 12495 echo "configure:12496: checking for $ac_func" >&5 |
12261 | 12496 |
12262 cat > conftest.$ac_ext <<EOF | 12497 cat > conftest.$ac_ext <<EOF |
12263 #line 12264 "configure" | 12498 #line 12499 "configure" |
12264 #include "confdefs.h" | 12499 #include "confdefs.h" |
12265 /* System header to define __stub macros and hopefully few prototypes, | 12500 /* System header to define __stub macros and hopefully few prototypes, |
12266 which can conflict with char $ac_func(); below. */ | 12501 which can conflict with char $ac_func(); below. */ |
12267 #include <assert.h> | 12502 #include <assert.h> |
12268 /* Override any gcc2 internal prototype to avoid an error. */ | 12503 /* Override any gcc2 internal prototype to avoid an error. */ |
12281 $ac_func(); | 12516 $ac_func(); |
12282 #endif | 12517 #endif |
12283 | 12518 |
12284 ; return 0; } | 12519 ; return 0; } |
12285 EOF | 12520 EOF |
12286 if { (eval echo configure:12287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12521 if { (eval echo configure:12522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12287 rm -rf conftest* | 12522 rm -rf conftest* |
12288 eval "ac_cv_func_$ac_func=yes" | 12523 eval "ac_cv_func_$ac_func=yes" |
12289 else | 12524 else |
12290 echo "configure: failed program was:" >&5 | 12525 echo "configure: failed program was:" >&5 |
12291 cat conftest.$ac_ext >&5 | 12526 cat conftest.$ac_ext >&5 |
12315 with_shlib=no | 12550 with_shlib=no |
12316 fi | 12551 fi |
12317 fi | 12552 fi |
12318 | 12553 |
12319 cat > conftest.$ac_ext <<EOF | 12554 cat > conftest.$ac_ext <<EOF |
12320 #line 12321 "configure" | 12555 #line 12556 "configure" |
12321 #include "confdefs.h" | 12556 #include "confdefs.h" |
12322 int main(int c,char *v[]){return 0;} | 12557 int main(int c,char *v[]){return 0;} |
12323 EOF | 12558 EOF |
12324 if { (eval echo configure:12325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12559 if { (eval echo configure:12560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12325 then | 12560 then |
12326 : | 12561 : |
12327 else | 12562 else |
12328 conftest_rc="$?" | 12563 conftest_rc="$?" |
12329 echo "configure: failed program was:" >&5 | 12564 echo "configure: failed program was:" >&5 |
13000 motif ) echo " Using Motif scrollbars." ;; | 13235 motif ) echo " Using Motif scrollbars." ;; |
13001 athena ) echo " Using Athena scrollbars." ;; | 13236 athena ) echo " Using Athena scrollbars." ;; |
13002 athena3d ) echo " Using Athena-3d scrollbars." ;; | 13237 athena3d ) echo " Using Athena-3d scrollbars." ;; |
13003 esac | 13238 esac |
13004 case "$with_dialogs" in | 13239 case "$with_dialogs" in |
13005 motif ) echo " Using Motif dialog boxes." ;; | 13240 motif ) |
13241 echo " Using Motif dialog boxes." | |
13242 if test "$unexec" = "unexaix.o" -a `uname -v` = 4 -a `uname -r` -ge 3; then | |
13243 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | |
13244 echo " We recommend using the Athena dialog boxes instead." | |
13245 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | |
13246 echo " Read the PROBLEMS file for more information." | |
13247 fi | |
13248 ;; | |
13006 athena ) echo " Using Athena dialog boxes." ;; | 13249 athena ) echo " Using Athena dialog boxes." ;; |
13007 athena3d ) echo " Using Athena-3d dialog boxes." ;; | 13250 athena3d ) echo " Using Athena-3d dialog boxes." ;; |
13008 esac | 13251 esac |
13009 test "$with_shlib" = "yes" && echo " Compiling in DLL support." | 13252 test "$with_shlib" = "yes" && echo " Compiling in DLL support." |
13010 test "$with_clash_detection" = yes && \ | 13253 test "$with_clash_detection" = yes && \ |
13095 case "\$ac_option" in | 13338 case "\$ac_option" in |
13096 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 13339 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
13097 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 13340 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
13098 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 13341 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
13099 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 13342 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
13100 echo "$CONFIG_STATUS generated by autoconf version 2.12" | 13343 echo "$CONFIG_STATUS generated by autoconf version 2.13" |
13101 exit 0 ;; | 13344 exit 0 ;; |
13102 -help | --help | --hel | --he | --h) | 13345 -help | --help | --hel | --he | --h) |
13103 echo "\$ac_cs_usage"; exit 0 ;; | 13346 echo "\$ac_cs_usage"; exit 0 ;; |
13104 *) echo "\$ac_cs_usage"; exit 1 ;; | 13347 *) echo "\$ac_cs_usage"; exit 1 ;; |
13105 esac | 13348 esac |
13115 # Protect against being on the right side of a sed subst in config.status. | 13358 # Protect against being on the right side of a sed subst in config.status. |
13116 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 13359 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
13117 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 13360 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
13118 $ac_vpsub | 13361 $ac_vpsub |
13119 $extrasub | 13362 $extrasub |
13363 s%@SHELL@%$SHELL%g | |
13120 s%@CFLAGS@%$CFLAGS%g | 13364 s%@CFLAGS@%$CFLAGS%g |
13121 s%@CPPFLAGS@%$CPPFLAGS%g | 13365 s%@CPPFLAGS@%$CPPFLAGS%g |
13122 s%@CXXFLAGS@%$CXXFLAGS%g | 13366 s%@CXXFLAGS@%$CXXFLAGS%g |
13367 s%@FFLAGS@%$FFLAGS%g | |
13123 s%@DEFS@%$DEFS%g | 13368 s%@DEFS@%$DEFS%g |
13124 s%@LDFLAGS@%$LDFLAGS%g | 13369 s%@LDFLAGS@%$LDFLAGS%g |
13125 s%@LIBS@%$LIBS%g | 13370 s%@LIBS@%$LIBS%g |
13126 s%@exec_prefix@%$exec_prefix%g | 13371 s%@exec_prefix@%$exec_prefix%g |
13127 s%@prefix@%$prefix%g | 13372 s%@prefix@%$prefix%g |
13147 s%@start_files@%$start_files%g | 13392 s%@start_files@%$start_files%g |
13148 s%@ld@%$ld%g | 13393 s%@ld@%$ld%g |
13149 s%@lib_gcc@%$lib_gcc%g | 13394 s%@lib_gcc@%$lib_gcc%g |
13150 s%@RANLIB@%$RANLIB%g | 13395 s%@RANLIB@%$RANLIB%g |
13151 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 13396 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
13397 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | |
13152 s%@INSTALL_DATA@%$INSTALL_DATA%g | 13398 s%@INSTALL_DATA@%$INSTALL_DATA%g |
13153 s%@YACC@%$YACC%g | 13399 s%@YACC@%$YACC%g |
13154 s%@SET_MAKE@%$SET_MAKE%g | 13400 s%@SET_MAKE@%$SET_MAKE%g |
13155 s%@X_CFLAGS@%$X_CFLAGS%g | 13401 s%@X_CFLAGS@%$X_CFLAGS%g |
13156 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 13402 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |