Mercurial > hg > xemacs-beta
comparison configure @ 420:41dbb7a9d5f2 r21-2-18
Import from CVS: tag r21-2-18
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 11:24:09 +0200 |
| parents | e804706bfb8c |
| children | 95016f13131a |
comparison
equal
deleted
inserted
replaced
| 419:66615b78f1a5 | 420:41dbb7a9d5f2 |
|---|---|
| 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=' ' |
| 235 pkgdir='${datadir}/${PROGNAME}-${version}/lisp' | 237 pkgdir='${datadir}/${PROGNAME}-${version}/lisp' |
| 236 package_path='' | 238 package_path='' |
| 237 etcdir='${datadir}/${PROGNAME}-${version}/etc' | 239 etcdir='${datadir}/${PROGNAME}-${version}/etc' |
| 238 lockdir='${statedir}/${PROGNAME}/lock' | 240 lockdir='${statedir}/${PROGNAME}/lock' |
| 239 archlibdir='${datadir}/${PROGNAME}-${version}/${configuration}' | 241 archlibdir='${datadir}/${PROGNAME}-${version}/${configuration}' |
| 242 docdir='${archlibdir}' | |
| 243 with_prefix='yes' | |
| 240 with_site_lisp='no' | 244 with_site_lisp='no' |
| 241 with_site_modules='yes' | 245 with_site_modules='yes' |
| 242 with_menubars='' | 246 with_menubars='' |
| 243 with_scrollbars='' | 247 with_scrollbars='' |
| 248 with_widgets='' | |
| 244 with_dialogs='' | 249 with_dialogs='' |
| 245 with_file_coding='' | 250 with_file_coding='' |
| 246 cpp='' cppflags='' libs='' ldflags='' | 251 cpp='' cppflags='' libs='' ldflags='' |
| 247 dynamic='' | 252 dynamic='' |
| 248 with_x11='' | 253 with_x11='' |
| 302 esac | 307 esac |
| 303 | 308 |
| 304 case "$opt" in | 309 case "$opt" in |
| 305 | 310 |
| 306 with_site_lisp | \ | 311 with_site_lisp | \ |
| 307 with_site_modules | \ | 312 with_prefix | \ |
| 313 with_site_modules | \ | |
| 308 with_x | \ | 314 with_x | \ |
| 309 with_x11 | \ | 315 with_x11 | \ |
| 310 with_msw | \ | 316 with_msw | \ |
| 311 with_gcc | \ | 317 with_gcc | \ |
| 312 dynamic | \ | 318 dynamic | \ |
| 543 val="$1"; shift | 549 val="$1"; shift |
| 544 fi | 550 fi |
| 545 eval "$opt=\"$val\"" | 551 eval "$opt=\"$val\"" |
| 546 | 552 |
| 547 case "$opt" in | 553 case "$opt" in |
| 554 exec_prefix ) { test "$extra_verbose" = "yes" && cat << \EOF | |
| 555 Defining EXEC_PREFIX_USER_DEFINED | |
| 556 EOF | |
| 557 cat >> confdefs.h <<\EOF | |
| 558 #define EXEC_PREFIX_USER_DEFINED 1 | |
| 559 EOF | |
| 560 } | |
| 561 ;; | |
| 548 lispdir ) { test "$extra_verbose" = "yes" && cat << \EOF | 562 lispdir ) { test "$extra_verbose" = "yes" && cat << \EOF |
| 549 Defining LISPDIR_USER_DEFINED | 563 Defining LISPDIR_USER_DEFINED |
| 550 EOF | 564 EOF |
| 551 cat >> confdefs.h <<\EOF | 565 cat >> confdefs.h <<\EOF |
| 552 #define LISPDIR_USER_DEFINED 1 | 566 #define LISPDIR_USER_DEFINED 1 |
| 640 cat >> confdefs.h <<\EOF | 654 cat >> confdefs.h <<\EOF |
| 641 #define LOCKDIR_USER_DEFINED 1 | 655 #define LOCKDIR_USER_DEFINED 1 |
| 642 EOF | 656 EOF |
| 643 } | 657 } |
| 644 ;; | 658 ;; |
| 659 docdir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
| 660 Defining DOCDIR_USER_DEFINED | |
| 661 EOF | |
| 662 cat >> confdefs.h <<\EOF | |
| 663 #define DOCDIR_USER_DEFINED 1 | |
| 664 EOF | |
| 665 } | |
| 666 ;; | |
| 645 exec_prefix | libdir | archlibdir ) { test "$extra_verbose" = "yes" && cat << \EOF | 667 exec_prefix | libdir | archlibdir ) { test "$extra_verbose" = "yes" && cat << \EOF |
| 646 Defining ARCHLIBDIR_USER_DEFINED | 668 Defining ARCHLIBDIR_USER_DEFINED |
| 647 EOF | 669 EOF |
| 648 cat >> confdefs.h <<\EOF | 670 cat >> confdefs.h <<\EOF |
| 649 #define ARCHLIBDIR_USER_DEFINED 1 | 671 #define ARCHLIBDIR_USER_DEFINED 1 |
| 657 | 679 |
| 658 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; | 680 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; |
| 659 | 681 |
| 660 "with_menubars" | \ | 682 "with_menubars" | \ |
| 661 "with_scrollbars" | \ | 683 "with_scrollbars" | \ |
| 662 "with_dialogs" ) | 684 "with_dialogs" | \ |
| 685 "with_widgets" ) | |
| 663 case "$val" in | 686 case "$val" in |
| 664 l | lu | luc | luci | lucid ) val=lucid ;; | 687 l | lu | luc | luci | lucid ) val=lucid ;; |
| 665 m | mo | mot | moti | motif ) val=motif ;; | 688 m | mo | mot | moti | motif ) val=motif ;; |
| 666 athena3d | athena-3d ) val=athena3d ;; | 689 athena3d | athena-3d ) val=athena3d ;; |
| 667 a | at | ath | athe | athen | athena ) val=athena ;; | 690 a | at | ath | athe | athen | athena ) val=athena ;; |
| 765 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 788 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 766 fi | 789 fi |
| 767 fi | 790 fi |
| 768 | 791 |
| 769 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 792 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 770 echo "configure:771: checking whether ln -s works" >&5 | 793 echo "configure:794: checking whether ln -s works" >&5 |
| 771 | 794 |
| 772 rm -f conftestdata | 795 rm -f conftestdata |
| 773 if ln -s X conftestdata 2>/dev/null | 796 if ln -s X conftestdata 2>/dev/null |
| 774 then | 797 then |
| 775 rm -f conftestdata | 798 rm -f conftestdata |
| 890 EOF | 913 EOF |
| 891 } | 914 } |
| 892 | 915 |
| 893 | 916 |
| 894 if test "$with_infodock" = "yes"; then | 917 if test "$with_infodock" = "yes"; then |
| 895 if test ! -f ../ID-INSTALL; then | 918 if test ! -f ../../ID-INSTALL; then |
| 896 echo "Cannot build InfoDock without InfoDock sources" | 919 echo "Cannot build InfoDock without InfoDock sources" |
| 897 with_infodock=no | 920 with_infodock=no |
| 898 fi | 921 fi |
| 899 fi | 922 fi |
| 900 | 923 |
| 1010 } | 1033 } |
| 1011 | 1034 |
| 1012 | 1035 |
| 1013 | 1036 |
| 1014 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1037 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 1015 echo "configure:1016: checking "host system type"" >&5 | 1038 echo "configure:1039: checking "host system type"" >&5 |
| 1016 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1039 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 1017 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1040 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
| 1018 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1041 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
| 1019 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1042 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
| 1020 echo "$ac_t""$configuration" 1>&6 | 1043 echo "$ac_t""$configuration" 1>&6 |
| 1502 xe_save_CFLAGS="$CFLAGS" | 1525 xe_save_CFLAGS="$CFLAGS" |
| 1503 | 1526 |
| 1504 # Extract the first word of "gcc", so it can be a program name with args. | 1527 # Extract the first word of "gcc", so it can be a program name with args. |
| 1505 set dummy gcc; ac_word=$2 | 1528 set dummy gcc; ac_word=$2 |
| 1506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1529 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1507 echo "configure:1508: checking for $ac_word" >&5 | 1530 echo "configure:1531: checking for $ac_word" >&5 |
| 1508 | 1531 |
| 1509 if test -n "$CC"; then | 1532 if test -n "$CC"; then |
| 1510 ac_cv_prog_CC="$CC" # Let the user override the test. | 1533 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1511 else | 1534 else |
| 1512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1535 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1513 for ac_dir in $PATH; do | 1536 ac_dummy="$PATH" |
| 1537 for ac_dir in $ac_dummy; do | |
| 1514 test -z "$ac_dir" && ac_dir=. | 1538 test -z "$ac_dir" && ac_dir=. |
| 1515 if test -f $ac_dir/$ac_word; then | 1539 if test -f $ac_dir/$ac_word; then |
| 1516 ac_cv_prog_CC="gcc" | 1540 ac_cv_prog_CC="gcc" |
| 1517 break | 1541 break |
| 1518 fi | 1542 fi |
| 1528 | 1552 |
| 1529 if test -z "$CC"; then | 1553 if test -z "$CC"; then |
| 1530 # Extract the first word of "cc", so it can be a program name with args. | 1554 # Extract the first word of "cc", so it can be a program name with args. |
| 1531 set dummy cc; ac_word=$2 | 1555 set dummy cc; ac_word=$2 |
| 1532 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1556 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1533 echo "configure:1534: checking for $ac_word" >&5 | 1557 echo "configure:1558: checking for $ac_word" >&5 |
| 1534 | 1558 |
| 1535 if test -n "$CC"; then | 1559 if test -n "$CC"; then |
| 1536 ac_cv_prog_CC="$CC" # Let the user override the test. | 1560 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1537 else | 1561 else |
| 1538 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1562 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1539 ac_prog_rejected=no | 1563 ac_prog_rejected=no |
| 1540 for ac_dir in $PATH; do | 1564 ac_dummy="$PATH" |
| 1565 for ac_dir in $ac_dummy; do | |
| 1541 test -z "$ac_dir" && ac_dir=. | 1566 test -z "$ac_dir" && ac_dir=. |
| 1542 if test -f $ac_dir/$ac_word; then | 1567 if test -f $ac_dir/$ac_word; then |
| 1543 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1568 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1544 ac_prog_rejected=yes | 1569 ac_prog_rejected=yes |
| 1545 continue | 1570 continue |
| 1569 echo "$ac_t""$CC" 1>&6 | 1594 echo "$ac_t""$CC" 1>&6 |
| 1570 else | 1595 else |
| 1571 echo "$ac_t""no" 1>&6 | 1596 echo "$ac_t""no" 1>&6 |
| 1572 fi | 1597 fi |
| 1573 | 1598 |
| 1599 if test -z "$CC"; then | |
| 1600 case "`uname -s`" in | |
| 1601 *win32* | *WIN32*) | |
| 1602 # Extract the first word of "cl", so it can be a program name with args. | |
| 1603 set dummy cl; ac_word=$2 | |
| 1604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1605 echo "configure:1606: checking for $ac_word" >&5 | |
| 1606 | |
| 1607 if test -n "$CC"; then | |
| 1608 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1609 else | |
| 1610 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1611 ac_dummy="$PATH" | |
| 1612 for ac_dir in $ac_dummy; do | |
| 1613 test -z "$ac_dir" && ac_dir=. | |
| 1614 if test -f $ac_dir/$ac_word; then | |
| 1615 ac_cv_prog_CC="cl" | |
| 1616 break | |
| 1617 fi | |
| 1618 done | |
| 1619 IFS="$ac_save_ifs" | |
| 1620 fi | |
| 1621 CC="$ac_cv_prog_CC" | |
| 1622 if test -n "$CC"; then | |
| 1623 echo "$ac_t""$CC" 1>&6 | |
| 1624 else | |
| 1625 echo "$ac_t""no" 1>&6 | |
| 1626 fi | |
| 1627 ;; | |
| 1628 esac | |
| 1629 fi | |
| 1574 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1630 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1575 fi | 1631 fi |
| 1576 | 1632 |
| 1577 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1633 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1578 echo "configure:1579: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1634 echo "configure:1635: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1579 | 1635 |
| 1580 ac_ext=c | 1636 ac_ext=c |
| 1581 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1637 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1582 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1638 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1583 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1639 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1584 ac_cpp='$CPP '"$xe_cppflags" | 1640 ac_cpp='$CPP '"$xe_cppflags" |
| 1585 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1641 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1586 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1642 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1587 cross_compiling=no | 1643 cross_compiling=no |
| 1588 | 1644 |
| 1589 cat > conftest.$ac_ext <<EOF | 1645 cat > conftest.$ac_ext << EOF |
| 1590 #line 1591 "configure" | 1646 |
| 1591 #include "confdefs.h" | 1647 #line 1648 "configure" |
| 1648 #include "confdefs.h" | |
| 1649 | |
| 1592 main(){return(0);} | 1650 main(){return(0);} |
| 1593 EOF | 1651 EOF |
| 1594 if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1652 if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1595 ac_cv_prog_cc_works=yes | 1653 ac_cv_prog_cc_works=yes |
| 1596 # If we can't run a trivial program, we are probably using a cross compiler. | 1654 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1597 if (./conftest; exit) 2>/dev/null; then | 1655 if (./conftest; exit) 2>/dev/null; then |
| 1598 ac_cv_prog_cc_cross=no | 1656 ac_cv_prog_cc_cross=no |
| 1599 else | 1657 else |
| 1603 echo "configure: failed program was:" >&5 | 1661 echo "configure: failed program was:" >&5 |
| 1604 cat conftest.$ac_ext >&5 | 1662 cat conftest.$ac_ext >&5 |
| 1605 ac_cv_prog_cc_works=no | 1663 ac_cv_prog_cc_works=no |
| 1606 fi | 1664 fi |
| 1607 rm -fr conftest* | 1665 rm -fr conftest* |
| 1666 ac_ext=c | |
| 1667 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 1668 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 1669 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 1670 ac_cpp='$CPP '"$xe_cppflags" | |
| 1671 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 1672 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 1673 cross_compiling=no | |
| 1608 | 1674 |
| 1609 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1675 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1610 if test $ac_cv_prog_cc_works = no; then | 1676 if test $ac_cv_prog_cc_works = no; then |
| 1611 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1677 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1612 fi | 1678 fi |
| 1613 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1679 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1614 echo "configure:1615: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1680 echo "configure:1681: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1615 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1681 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1616 cross_compiling=$ac_cv_prog_cc_cross | 1682 cross_compiling=$ac_cv_prog_cc_cross |
| 1617 | 1683 |
| 1618 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1684 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1619 echo "configure:1620: checking whether we are using GNU C" >&5 | 1685 echo "configure:1686: checking whether we are using GNU C" >&5 |
| 1620 | 1686 |
| 1621 cat > conftest.c <<EOF | 1687 cat > conftest.c <<EOF |
| 1622 #ifdef __GNUC__ | 1688 #ifdef __GNUC__ |
| 1623 yes; | 1689 yes; |
| 1624 #endif | 1690 #endif |
| 1625 EOF | 1691 EOF |
| 1626 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1692 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1627 ac_cv_prog_gcc=yes | 1693 ac_cv_prog_gcc=yes |
| 1628 else | 1694 else |
| 1629 ac_cv_prog_gcc=no | 1695 ac_cv_prog_gcc=no |
| 1630 fi | 1696 fi |
| 1631 | 1697 |
| 1632 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1698 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1633 | 1699 |
| 1634 if test $ac_cv_prog_gcc = yes; then | 1700 if test $ac_cv_prog_gcc = yes; then |
| 1635 GCC=yes | 1701 GCC=yes |
| 1636 ac_test_CFLAGS="${CFLAGS+set}" | 1702 else |
| 1637 ac_save_CFLAGS="$CFLAGS" | 1703 GCC= |
| 1638 CFLAGS= | 1704 fi |
| 1639 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1705 |
| 1640 echo "configure:1641: checking whether ${CC-cc} accepts -g" >&5 | 1706 ac_test_CFLAGS="${CFLAGS+set}" |
| 1707 ac_save_CFLAGS="$CFLAGS" | |
| 1708 CFLAGS= | |
| 1709 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 1710 echo "configure:1711: checking whether ${CC-cc} accepts -g" >&5 | |
| 1641 | 1711 |
| 1642 echo 'void f(){}' > conftest.c | 1712 echo 'void f(){}' > conftest.c |
| 1643 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1713 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1644 ac_cv_prog_cc_g=yes | 1714 ac_cv_prog_cc_g=yes |
| 1645 else | 1715 else |
| 1647 fi | 1717 fi |
| 1648 rm -f conftest* | 1718 rm -f conftest* |
| 1649 | 1719 |
| 1650 | 1720 |
| 1651 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1721 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 1652 if test "$ac_test_CFLAGS" = set; then | 1722 if test "$ac_test_CFLAGS" = set; then |
| 1653 CFLAGS="$ac_save_CFLAGS" | 1723 CFLAGS="$ac_save_CFLAGS" |
| 1654 elif test $ac_cv_prog_cc_g = yes; then | 1724 elif test $ac_cv_prog_cc_g = yes; then |
| 1725 if test "$GCC" = yes; then | |
| 1655 CFLAGS="-g -O2" | 1726 CFLAGS="-g -O2" |
| 1656 else | 1727 else |
| 1728 CFLAGS="-g" | |
| 1729 fi | |
| 1730 else | |
| 1731 if test "$GCC" = yes; then | |
| 1657 CFLAGS="-O2" | 1732 CFLAGS="-O2" |
| 1733 else | |
| 1734 CFLAGS= | |
| 1658 fi | 1735 fi |
| 1659 else | |
| 1660 GCC= | |
| 1661 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
| 1662 fi | 1736 fi |
| 1663 | 1737 |
| 1664 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1738 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1665 CC=${NON_GNU_CC-cc} | 1739 CC=${NON_GNU_CC-cc} |
| 1666 # Extract the first word of "gcc", so it can be a program name with args. | 1740 # Extract the first word of "gcc", so it can be a program name with args. |
| 1667 set dummy gcc; ac_word=$2 | 1741 set dummy gcc; ac_word=$2 |
| 1668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1669 echo "configure:1670: checking for $ac_word" >&5 | 1743 echo "configure:1744: checking for $ac_word" >&5 |
| 1670 | 1744 |
| 1671 if test -n "$CC"; then | 1745 if test -n "$CC"; then |
| 1672 ac_cv_prog_CC="$CC" # Let the user override the test. | 1746 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1673 else | 1747 else |
| 1674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1748 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1675 for ac_dir in $PATH; do | 1749 ac_dummy="$PATH" |
| 1750 for ac_dir in $ac_dummy; do | |
| 1676 test -z "$ac_dir" && ac_dir=. | 1751 test -z "$ac_dir" && ac_dir=. |
| 1677 if test -f $ac_dir/$ac_word; then | 1752 if test -f $ac_dir/$ac_word; then |
| 1678 ac_cv_prog_CC="gcc" | 1753 ac_cv_prog_CC="gcc" |
| 1679 break | 1754 break |
| 1680 fi | 1755 fi |
| 1690 | 1765 |
| 1691 if test -z "$CC"; then | 1766 if test -z "$CC"; then |
| 1692 # Extract the first word of "cc", so it can be a program name with args. | 1767 # Extract the first word of "cc", so it can be a program name with args. |
| 1693 set dummy cc; ac_word=$2 | 1768 set dummy cc; ac_word=$2 |
| 1694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1769 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1695 echo "configure:1696: checking for $ac_word" >&5 | 1770 echo "configure:1771: checking for $ac_word" >&5 |
| 1696 | 1771 |
| 1697 if test -n "$CC"; then | 1772 if test -n "$CC"; then |
| 1698 ac_cv_prog_CC="$CC" # Let the user override the test. | 1773 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1699 else | 1774 else |
| 1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1775 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1701 ac_prog_rejected=no | 1776 ac_prog_rejected=no |
| 1702 for ac_dir in $PATH; do | 1777 ac_dummy="$PATH" |
| 1778 for ac_dir in $ac_dummy; do | |
| 1703 test -z "$ac_dir" && ac_dir=. | 1779 test -z "$ac_dir" && ac_dir=. |
| 1704 if test -f $ac_dir/$ac_word; then | 1780 if test -f $ac_dir/$ac_word; then |
| 1705 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1781 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1706 ac_prog_rejected=yes | 1782 ac_prog_rejected=yes |
| 1707 continue | 1783 continue |
| 1731 echo "$ac_t""$CC" 1>&6 | 1807 echo "$ac_t""$CC" 1>&6 |
| 1732 else | 1808 else |
| 1733 echo "$ac_t""no" 1>&6 | 1809 echo "$ac_t""no" 1>&6 |
| 1734 fi | 1810 fi |
| 1735 | 1811 |
| 1812 if test -z "$CC"; then | |
| 1813 case "`uname -s`" in | |
| 1814 *win32* | *WIN32*) | |
| 1815 # Extract the first word of "cl", so it can be a program name with args. | |
| 1816 set dummy cl; ac_word=$2 | |
| 1817 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1818 echo "configure:1819: checking for $ac_word" >&5 | |
| 1819 | |
| 1820 if test -n "$CC"; then | |
| 1821 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1822 else | |
| 1823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1824 ac_dummy="$PATH" | |
| 1825 for ac_dir in $ac_dummy; do | |
| 1826 test -z "$ac_dir" && ac_dir=. | |
| 1827 if test -f $ac_dir/$ac_word; then | |
| 1828 ac_cv_prog_CC="cl" | |
| 1829 break | |
| 1830 fi | |
| 1831 done | |
| 1832 IFS="$ac_save_ifs" | |
| 1833 fi | |
| 1834 CC="$ac_cv_prog_CC" | |
| 1835 if test -n "$CC"; then | |
| 1836 echo "$ac_t""$CC" 1>&6 | |
| 1837 else | |
| 1838 echo "$ac_t""no" 1>&6 | |
| 1839 fi | |
| 1840 ;; | |
| 1841 esac | |
| 1842 fi | |
| 1736 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1843 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1737 fi | 1844 fi |
| 1738 | 1845 |
| 1739 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1846 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1740 echo "configure:1741: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1847 echo "configure:1848: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1741 | 1848 |
| 1742 ac_ext=c | 1849 ac_ext=c |
| 1743 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1850 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1744 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1851 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1745 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1852 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1746 ac_cpp='$CPP '"$xe_cppflags" | 1853 ac_cpp='$CPP '"$xe_cppflags" |
| 1747 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1854 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1748 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1855 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1749 cross_compiling=no | 1856 cross_compiling=no |
| 1750 | 1857 |
| 1751 cat > conftest.$ac_ext <<EOF | 1858 cat > conftest.$ac_ext << EOF |
| 1752 #line 1753 "configure" | 1859 |
| 1753 #include "confdefs.h" | 1860 #line 1861 "configure" |
| 1861 #include "confdefs.h" | |
| 1862 | |
| 1754 main(){return(0);} | 1863 main(){return(0);} |
| 1755 EOF | 1864 EOF |
| 1756 if { (eval echo configure:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1865 if { (eval echo configure:1866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1757 ac_cv_prog_cc_works=yes | 1866 ac_cv_prog_cc_works=yes |
| 1758 # If we can't run a trivial program, we are probably using a cross compiler. | 1867 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1759 if (./conftest; exit) 2>/dev/null; then | 1868 if (./conftest; exit) 2>/dev/null; then |
| 1760 ac_cv_prog_cc_cross=no | 1869 ac_cv_prog_cc_cross=no |
| 1761 else | 1870 else |
| 1765 echo "configure: failed program was:" >&5 | 1874 echo "configure: failed program was:" >&5 |
| 1766 cat conftest.$ac_ext >&5 | 1875 cat conftest.$ac_ext >&5 |
| 1767 ac_cv_prog_cc_works=no | 1876 ac_cv_prog_cc_works=no |
| 1768 fi | 1877 fi |
| 1769 rm -fr conftest* | 1878 rm -fr conftest* |
| 1879 ac_ext=c | |
| 1880 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 1881 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 1882 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 1883 ac_cpp='$CPP '"$xe_cppflags" | |
| 1884 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 1885 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 1886 cross_compiling=no | |
| 1770 | 1887 |
| 1771 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1888 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1772 if test $ac_cv_prog_cc_works = no; then | 1889 if test $ac_cv_prog_cc_works = no; then |
| 1773 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1890 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1774 fi | 1891 fi |
| 1775 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1892 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1776 echo "configure:1777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1893 echo "configure:1894: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1777 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1894 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1778 cross_compiling=$ac_cv_prog_cc_cross | 1895 cross_compiling=$ac_cv_prog_cc_cross |
| 1779 | 1896 |
| 1780 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1897 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1781 echo "configure:1782: checking whether we are using GNU C" >&5 | 1898 echo "configure:1899: checking whether we are using GNU C" >&5 |
| 1782 | 1899 |
| 1783 cat > conftest.c <<EOF | 1900 cat > conftest.c <<EOF |
| 1784 #ifdef __GNUC__ | 1901 #ifdef __GNUC__ |
| 1785 yes; | 1902 yes; |
| 1786 #endif | 1903 #endif |
| 1787 EOF | 1904 EOF |
| 1788 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1905 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1789 ac_cv_prog_gcc=yes | 1906 ac_cv_prog_gcc=yes |
| 1790 else | 1907 else |
| 1791 ac_cv_prog_gcc=no | 1908 ac_cv_prog_gcc=no |
| 1792 fi | 1909 fi |
| 1793 | 1910 |
| 1794 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1911 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1795 | 1912 |
| 1796 if test $ac_cv_prog_gcc = yes; then | 1913 if test $ac_cv_prog_gcc = yes; then |
| 1797 GCC=yes | 1914 GCC=yes |
| 1798 ac_test_CFLAGS="${CFLAGS+set}" | 1915 else |
| 1799 ac_save_CFLAGS="$CFLAGS" | 1916 GCC= |
| 1800 CFLAGS= | 1917 fi |
| 1801 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1918 |
| 1802 echo "configure:1803: checking whether ${CC-cc} accepts -g" >&5 | 1919 ac_test_CFLAGS="${CFLAGS+set}" |
| 1920 ac_save_CFLAGS="$CFLAGS" | |
| 1921 CFLAGS= | |
| 1922 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 1923 echo "configure:1924: checking whether ${CC-cc} accepts -g" >&5 | |
| 1803 | 1924 |
| 1804 echo 'void f(){}' > conftest.c | 1925 echo 'void f(){}' > conftest.c |
| 1805 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1926 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1806 ac_cv_prog_cc_g=yes | 1927 ac_cv_prog_cc_g=yes |
| 1807 else | 1928 else |
| 1809 fi | 1930 fi |
| 1810 rm -f conftest* | 1931 rm -f conftest* |
| 1811 | 1932 |
| 1812 | 1933 |
| 1813 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1934 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 1814 if test "$ac_test_CFLAGS" = set; then | 1935 if test "$ac_test_CFLAGS" = set; then |
| 1815 CFLAGS="$ac_save_CFLAGS" | 1936 CFLAGS="$ac_save_CFLAGS" |
| 1816 elif test $ac_cv_prog_cc_g = yes; then | 1937 elif test $ac_cv_prog_cc_g = yes; then |
| 1938 if test "$GCC" = yes; then | |
| 1817 CFLAGS="-g -O2" | 1939 CFLAGS="-g -O2" |
| 1818 else | 1940 else |
| 1941 CFLAGS="-g" | |
| 1942 fi | |
| 1943 else | |
| 1944 if test "$GCC" = yes; then | |
| 1819 CFLAGS="-O2" | 1945 CFLAGS="-O2" |
| 1946 else | |
| 1947 CFLAGS= | |
| 1820 fi | 1948 fi |
| 1821 else | |
| 1822 GCC= | |
| 1823 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
| 1824 fi | 1949 fi |
| 1825 | 1950 |
| 1826 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1951 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1827 CC=gcc | 1952 CC=gcc |
| 1828 # Extract the first word of "gcc", so it can be a program name with args. | 1953 # Extract the first word of "gcc", so it can be a program name with args. |
| 1829 set dummy gcc; ac_word=$2 | 1954 set dummy gcc; ac_word=$2 |
| 1830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1831 echo "configure:1832: checking for $ac_word" >&5 | 1956 echo "configure:1957: checking for $ac_word" >&5 |
| 1832 | 1957 |
| 1833 if test -n "$CC"; then | 1958 if test -n "$CC"; then |
| 1834 ac_cv_prog_CC="$CC" # Let the user override the test. | 1959 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1835 else | 1960 else |
| 1836 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1961 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1837 for ac_dir in $PATH; do | 1962 ac_dummy="$PATH" |
| 1963 for ac_dir in $ac_dummy; do | |
| 1838 test -z "$ac_dir" && ac_dir=. | 1964 test -z "$ac_dir" && ac_dir=. |
| 1839 if test -f $ac_dir/$ac_word; then | 1965 if test -f $ac_dir/$ac_word; then |
| 1840 ac_cv_prog_CC="gcc" | 1966 ac_cv_prog_CC="gcc" |
| 1841 break | 1967 break |
| 1842 fi | 1968 fi |
| 1852 | 1978 |
| 1853 if test -z "$CC"; then | 1979 if test -z "$CC"; then |
| 1854 # Extract the first word of "cc", so it can be a program name with args. | 1980 # Extract the first word of "cc", so it can be a program name with args. |
| 1855 set dummy cc; ac_word=$2 | 1981 set dummy cc; ac_word=$2 |
| 1856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1857 echo "configure:1858: checking for $ac_word" >&5 | 1983 echo "configure:1984: checking for $ac_word" >&5 |
| 1858 | 1984 |
| 1859 if test -n "$CC"; then | 1985 if test -n "$CC"; then |
| 1860 ac_cv_prog_CC="$CC" # Let the user override the test. | 1986 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1861 else | 1987 else |
| 1862 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1988 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1863 ac_prog_rejected=no | 1989 ac_prog_rejected=no |
| 1864 for ac_dir in $PATH; do | 1990 ac_dummy="$PATH" |
| 1991 for ac_dir in $ac_dummy; do | |
| 1865 test -z "$ac_dir" && ac_dir=. | 1992 test -z "$ac_dir" && ac_dir=. |
| 1866 if test -f $ac_dir/$ac_word; then | 1993 if test -f $ac_dir/$ac_word; then |
| 1867 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1994 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1868 ac_prog_rejected=yes | 1995 ac_prog_rejected=yes |
| 1869 continue | 1996 continue |
| 1893 echo "$ac_t""$CC" 1>&6 | 2020 echo "$ac_t""$CC" 1>&6 |
| 1894 else | 2021 else |
| 1895 echo "$ac_t""no" 1>&6 | 2022 echo "$ac_t""no" 1>&6 |
| 1896 fi | 2023 fi |
| 1897 | 2024 |
| 2025 if test -z "$CC"; then | |
| 2026 case "`uname -s`" in | |
| 2027 *win32* | *WIN32*) | |
| 2028 # Extract the first word of "cl", so it can be a program name with args. | |
| 2029 set dummy cl; ac_word=$2 | |
| 2030 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 2031 echo "configure:2032: checking for $ac_word" >&5 | |
| 2032 | |
| 2033 if test -n "$CC"; then | |
| 2034 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2035 else | |
| 2036 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 2037 ac_dummy="$PATH" | |
| 2038 for ac_dir in $ac_dummy; do | |
| 2039 test -z "$ac_dir" && ac_dir=. | |
| 2040 if test -f $ac_dir/$ac_word; then | |
| 2041 ac_cv_prog_CC="cl" | |
| 2042 break | |
| 2043 fi | |
| 2044 done | |
| 2045 IFS="$ac_save_ifs" | |
| 2046 fi | |
| 2047 CC="$ac_cv_prog_CC" | |
| 2048 if test -n "$CC"; then | |
| 2049 echo "$ac_t""$CC" 1>&6 | |
| 2050 else | |
| 2051 echo "$ac_t""no" 1>&6 | |
| 2052 fi | |
| 2053 ;; | |
| 2054 esac | |
| 2055 fi | |
| 1898 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2056 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1899 fi | 2057 fi |
| 1900 | 2058 |
| 1901 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2059 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1902 echo "configure:1903: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2060 echo "configure:2061: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1903 | 2061 |
| 1904 ac_ext=c | 2062 ac_ext=c |
| 1905 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2063 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1906 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2064 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1907 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2065 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1908 ac_cpp='$CPP '"$xe_cppflags" | 2066 ac_cpp='$CPP '"$xe_cppflags" |
| 1909 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 2067 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1910 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2068 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1911 cross_compiling=no | 2069 cross_compiling=no |
| 1912 | 2070 |
| 1913 cat > conftest.$ac_ext <<EOF | 2071 cat > conftest.$ac_ext << EOF |
| 1914 #line 1915 "configure" | 2072 |
| 1915 #include "confdefs.h" | 2073 #line 2074 "configure" |
| 2074 #include "confdefs.h" | |
| 2075 | |
| 1916 main(){return(0);} | 2076 main(){return(0);} |
| 1917 EOF | 2077 EOF |
| 1918 if { (eval echo configure:1919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2078 if { (eval echo configure:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1919 ac_cv_prog_cc_works=yes | 2079 ac_cv_prog_cc_works=yes |
| 1920 # If we can't run a trivial program, we are probably using a cross compiler. | 2080 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1921 if (./conftest; exit) 2>/dev/null; then | 2081 if (./conftest; exit) 2>/dev/null; then |
| 1922 ac_cv_prog_cc_cross=no | 2082 ac_cv_prog_cc_cross=no |
| 1923 else | 2083 else |
| 1927 echo "configure: failed program was:" >&5 | 2087 echo "configure: failed program was:" >&5 |
| 1928 cat conftest.$ac_ext >&5 | 2088 cat conftest.$ac_ext >&5 |
| 1929 ac_cv_prog_cc_works=no | 2089 ac_cv_prog_cc_works=no |
| 1930 fi | 2090 fi |
| 1931 rm -fr conftest* | 2091 rm -fr conftest* |
| 2092 ac_ext=c | |
| 2093 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 2094 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 2095 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 2096 ac_cpp='$CPP '"$xe_cppflags" | |
| 2097 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 2098 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 2099 cross_compiling=no | |
| 1932 | 2100 |
| 1933 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2101 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1934 if test $ac_cv_prog_cc_works = no; then | 2102 if test $ac_cv_prog_cc_works = no; then |
| 1935 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2103 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1936 fi | 2104 fi |
| 1937 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2105 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1938 echo "configure:1939: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2106 echo "configure:2107: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1939 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2107 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1940 cross_compiling=$ac_cv_prog_cc_cross | 2108 cross_compiling=$ac_cv_prog_cc_cross |
| 1941 | 2109 |
| 1942 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2110 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1943 echo "configure:1944: checking whether we are using GNU C" >&5 | 2111 echo "configure:2112: checking whether we are using GNU C" >&5 |
| 1944 | 2112 |
| 1945 cat > conftest.c <<EOF | 2113 cat > conftest.c <<EOF |
| 1946 #ifdef __GNUC__ | 2114 #ifdef __GNUC__ |
| 1947 yes; | 2115 yes; |
| 1948 #endif | 2116 #endif |
| 1949 EOF | 2117 EOF |
| 1950 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2118 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1951 ac_cv_prog_gcc=yes | 2119 ac_cv_prog_gcc=yes |
| 1952 else | 2120 else |
| 1953 ac_cv_prog_gcc=no | 2121 ac_cv_prog_gcc=no |
| 1954 fi | 2122 fi |
| 1955 | 2123 |
| 1956 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 2124 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1957 | 2125 |
| 1958 if test $ac_cv_prog_gcc = yes; then | 2126 if test $ac_cv_prog_gcc = yes; then |
| 1959 GCC=yes | 2127 GCC=yes |
| 1960 ac_test_CFLAGS="${CFLAGS+set}" | 2128 else |
| 1961 ac_save_CFLAGS="$CFLAGS" | 2129 GCC= |
| 1962 CFLAGS= | 2130 fi |
| 1963 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2131 |
| 1964 echo "configure:1965: checking whether ${CC-cc} accepts -g" >&5 | 2132 ac_test_CFLAGS="${CFLAGS+set}" |
| 2133 ac_save_CFLAGS="$CFLAGS" | |
| 2134 CFLAGS= | |
| 2135 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 2136 echo "configure:2137: checking whether ${CC-cc} accepts -g" >&5 | |
| 1965 | 2137 |
| 1966 echo 'void f(){}' > conftest.c | 2138 echo 'void f(){}' > conftest.c |
| 1967 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2139 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1968 ac_cv_prog_cc_g=yes | 2140 ac_cv_prog_cc_g=yes |
| 1969 else | 2141 else |
| 1971 fi | 2143 fi |
| 1972 rm -f conftest* | 2144 rm -f conftest* |
| 1973 | 2145 |
| 1974 | 2146 |
| 1975 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 2147 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 1976 if test "$ac_test_CFLAGS" = set; then | 2148 if test "$ac_test_CFLAGS" = set; then |
| 1977 CFLAGS="$ac_save_CFLAGS" | 2149 CFLAGS="$ac_save_CFLAGS" |
| 1978 elif test $ac_cv_prog_cc_g = yes; then | 2150 elif test $ac_cv_prog_cc_g = yes; then |
| 2151 if test "$GCC" = yes; then | |
| 1979 CFLAGS="-g -O2" | 2152 CFLAGS="-g -O2" |
| 1980 else | 2153 else |
| 2154 CFLAGS="-g" | |
| 2155 fi | |
| 2156 else | |
| 2157 if test "$GCC" = yes; then | |
| 1981 CFLAGS="-O2" | 2158 CFLAGS="-O2" |
| 2159 else | |
| 2160 CFLAGS= | |
| 1982 fi | 2161 fi |
| 1983 else | |
| 1984 GCC= | |
| 1985 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
| 1986 fi | 2162 fi |
| 1987 | 2163 |
| 1988 fi | 2164 fi |
| 1989 CFLAGS="$xe_save_CFLAGS" | 2165 CFLAGS="$xe_save_CFLAGS" |
| 1990 | 2166 |
| 1992 test -n "$CPP" -a -d "$CPP" && CPP= | 2168 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1993 | 2169 |
| 1994 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2170 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1995 | 2171 |
| 1996 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2172 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1997 echo "configure:1998: checking how to run the C preprocessor" >&5 | 2173 echo "configure:2174: checking how to run the C preprocessor" >&5 |
| 1998 # On Suns, sometimes $CPP names a directory. | 2174 # On Suns, sometimes $CPP names a directory. |
| 1999 if test -n "$CPP" && test -d "$CPP"; then | 2175 if test -n "$CPP" && test -d "$CPP"; then |
| 2000 CPP= | 2176 CPP= |
| 2001 fi | 2177 fi |
| 2002 if test -z "$CPP"; then | 2178 if test -z "$CPP"; then |
| 2005 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2181 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 2006 CPP="${CC-cc} -E" | 2182 CPP="${CC-cc} -E" |
| 2007 # On the NeXT, cc -E runs the code through the compiler's parser, | 2183 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2008 # not just through cpp. | 2184 # not just through cpp. |
| 2009 cat > conftest.$ac_ext <<EOF | 2185 cat > conftest.$ac_ext <<EOF |
| 2010 #line 2011 "configure" | 2186 #line 2187 "configure" |
| 2011 #include "confdefs.h" | 2187 #include "confdefs.h" |
| 2012 #include <assert.h> | 2188 #include <assert.h> |
| 2013 Syntax Error | 2189 Syntax Error |
| 2014 EOF | 2190 EOF |
| 2015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2016 { (eval echo configure:2017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2192 { (eval echo configure:2193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2017 ac_err=`grep -v '^ *+' conftest.out` | 2193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2018 if test -z "$ac_err"; then | 2194 if test -z "$ac_err"; then |
| 2019 : | 2195 : |
| 2020 else | 2196 else |
| 2021 echo "$ac_err" >&5 | 2197 echo "$ac_err" >&5 |
| 2022 echo "configure: failed program was:" >&5 | 2198 echo "configure: failed program was:" >&5 |
| 2023 cat conftest.$ac_ext >&5 | 2199 cat conftest.$ac_ext >&5 |
| 2024 rm -rf conftest* | 2200 rm -rf conftest* |
| 2025 CPP="${CC-cc} -E -traditional-cpp" | 2201 CPP="${CC-cc} -E -traditional-cpp" |
| 2026 cat > conftest.$ac_ext <<EOF | 2202 cat > conftest.$ac_ext <<EOF |
| 2027 #line 2028 "configure" | 2203 #line 2204 "configure" |
| 2028 #include "confdefs.h" | 2204 #include "confdefs.h" |
| 2029 #include <assert.h> | 2205 #include <assert.h> |
| 2030 Syntax Error | 2206 Syntax Error |
| 2031 EOF | 2207 EOF |
| 2032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2033 { (eval echo configure:2034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2209 { (eval echo configure:2210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2034 ac_err=`grep -v '^ *+' conftest.out` | 2210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2035 if test -z "$ac_err"; then | 2211 if test -z "$ac_err"; then |
| 2036 : | 2212 : |
| 2037 else | 2213 else |
| 2038 echo "$ac_err" >&5 | 2214 echo "$ac_err" >&5 |
| 2039 echo "configure: failed program was:" >&5 | 2215 echo "configure: failed program was:" >&5 |
| 2040 cat conftest.$ac_ext >&5 | 2216 cat conftest.$ac_ext >&5 |
| 2041 rm -rf conftest* | 2217 rm -rf conftest* |
| 2218 CPP="${CC-cc} -nologo -E" | |
| 2219 cat > conftest.$ac_ext <<EOF | |
| 2220 #line 2221 "configure" | |
| 2221 #include "confdefs.h" | |
| 2222 #include <assert.h> | |
| 2223 Syntax Error | |
| 2224 EOF | |
| 2225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 2226 { (eval echo configure:2227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 2227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
| 2228 if test -z "$ac_err"; then | |
| 2229 : | |
| 2230 else | |
| 2231 echo "$ac_err" >&5 | |
| 2232 echo "configure: failed program was:" >&5 | |
| 2233 cat conftest.$ac_ext >&5 | |
| 2234 rm -rf conftest* | |
| 2042 CPP=/lib/cpp | 2235 CPP=/lib/cpp |
| 2236 fi | |
| 2237 rm -f conftest* | |
| 2043 fi | 2238 fi |
| 2044 rm -f conftest* | 2239 rm -f conftest* |
| 2045 fi | 2240 fi |
| 2046 rm -f conftest* | 2241 rm -f conftest* |
| 2047 ac_cv_prog_CPP="$CPP" | 2242 ac_cv_prog_CPP="$CPP" |
| 2051 fi | 2246 fi |
| 2052 echo "$ac_t""$CPP" 1>&6 | 2247 echo "$ac_t""$CPP" 1>&6 |
| 2053 | 2248 |
| 2054 | 2249 |
| 2055 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2250 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2056 echo "configure:2057: checking for AIX" >&5 | 2251 echo "configure:2252: checking for AIX" >&5 |
| 2057 cat > conftest.$ac_ext <<EOF | 2252 cat > conftest.$ac_ext <<EOF |
| 2058 #line 2059 "configure" | 2253 #line 2254 "configure" |
| 2059 #include "confdefs.h" | 2254 #include "confdefs.h" |
| 2060 #ifdef _AIX | 2255 #ifdef _AIX |
| 2061 yes | 2256 yes |
| 2062 #endif | 2257 #endif |
| 2063 | 2258 |
| 2080 rm -f conftest* | 2275 rm -f conftest* |
| 2081 | 2276 |
| 2082 | 2277 |
| 2083 | 2278 |
| 2084 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2279 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 2085 echo "configure:2086: checking for GNU libc" >&5 | 2280 echo "configure:2281: checking for GNU libc" >&5 |
| 2086 cat > conftest.$ac_ext <<EOF | 2281 cat > conftest.$ac_ext <<EOF |
| 2087 #line 2088 "configure" | 2282 #line 2283 "configure" |
| 2088 #include "confdefs.h" | 2283 #include "confdefs.h" |
| 2089 #include <features.h> | 2284 #include <features.h> |
| 2090 int main() { | 2285 int main() { |
| 2091 | 2286 |
| 2092 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2287 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 2094 ******* ======= ******** &&&&&&&& | 2289 ******* ======= ******** &&&&&&&& |
| 2095 #endif | 2290 #endif |
| 2096 | 2291 |
| 2097 ; return 0; } | 2292 ; return 0; } |
| 2098 EOF | 2293 EOF |
| 2099 if { (eval echo configure:2100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2294 if { (eval echo configure:2295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2100 rm -rf conftest* | 2295 rm -rf conftest* |
| 2101 have_glibc=yes | 2296 have_glibc=yes |
| 2102 else | 2297 else |
| 2103 echo "configure: failed program was:" >&5 | 2298 echo "configure: failed program was:" >&5 |
| 2104 cat conftest.$ac_ext >&5 | 2299 cat conftest.$ac_ext >&5 |
| 2116 } | 2311 } |
| 2117 | 2312 |
| 2118 | 2313 |
| 2119 | 2314 |
| 2120 cat > conftest.$ac_ext <<EOF | 2315 cat > conftest.$ac_ext <<EOF |
| 2121 #line 2122 "configure" | 2316 #line 2317 "configure" |
| 2122 #include "confdefs.h" | 2317 #include "confdefs.h" |
| 2123 int main () { | 2318 int main () { |
| 2124 #if defined __SUNPRO_C | 2319 #if defined __SUNPRO_C |
| 2125 return 11; | 2320 return 11; |
| 2126 #elif defined __DECC | 2321 #elif defined __DECC |
| 2128 #else | 2323 #else |
| 2129 return 0; | 2324 return 0; |
| 2130 #endif | 2325 #endif |
| 2131 } | 2326 } |
| 2132 EOF | 2327 EOF |
| 2133 if { (eval echo configure:2134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2328 if { (eval echo configure:2329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2134 then | 2329 then |
| 2135 : | 2330 : |
| 2136 else | 2331 else |
| 2137 conftest_rc="$?" | 2332 conftest_rc="$?" |
| 2138 echo "configure: failed program was:" >&5 | 2333 echo "configure: failed program was:" >&5 |
| 2402 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2597 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2403 echo " xemacs will be linked with \"$unexec\"" | 2598 echo " xemacs will be linked with \"$unexec\"" |
| 2404 fi | 2599 fi |
| 2405 | 2600 |
| 2406 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2601 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2407 echo "configure:2408: checking for dynodump" >&5 | 2602 echo "configure:2603: checking for dynodump" >&5 |
| 2408 if test "$unexec" != "unexsol2.o"; then | 2603 if test "$unexec" != "unexsol2.o"; then |
| 2409 echo "$ac_t""no" 1>&6 | 2604 echo "$ac_t""no" 1>&6 |
| 2410 else | 2605 else |
| 2411 echo "$ac_t""yes" 1>&6 | 2606 echo "$ac_t""yes" 1>&6 |
| 2412 { test "$extra_verbose" = "yes" && cat << \EOF | 2607 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2440 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2635 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 2441 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2636 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 2442 done | 2637 done |
| 2443 | 2638 |
| 2444 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2639 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
| 2445 echo "configure:2446: checking for terminateAndUnload in -lC" >&5 | 2640 echo "configure:2641: checking for terminateAndUnload in -lC" >&5 |
| 2446 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2641 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
| 2447 | 2642 |
| 2448 xe_check_libs=" -lC " | 2643 xe_check_libs=" -lC " |
| 2449 cat > conftest.$ac_ext <<EOF | 2644 cat > conftest.$ac_ext <<EOF |
| 2450 #line 2451 "configure" | 2645 #line 2646 "configure" |
| 2451 #include "confdefs.h" | 2646 #include "confdefs.h" |
| 2452 /* Override any gcc2 internal prototype to avoid an error. */ | 2647 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2453 /* We use char because int might match the return type of a gcc2 | 2648 /* We use char because int might match the return type of a gcc2 |
| 2454 builtin and then its argument prototype would still apply. */ | 2649 builtin and then its argument prototype would still apply. */ |
| 2455 char terminateAndUnload(); | 2650 char terminateAndUnload(); |
| 2456 | 2651 |
| 2457 int main() { | 2652 int main() { |
| 2458 terminateAndUnload() | 2653 terminateAndUnload() |
| 2459 ; return 0; } | 2654 ; return 0; } |
| 2460 EOF | 2655 EOF |
| 2461 if { (eval echo configure:2462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2656 if { (eval echo configure:2657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2462 rm -rf conftest* | 2657 rm -rf conftest* |
| 2463 eval "ac_cv_lib_$ac_lib_var=yes" | 2658 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2464 else | 2659 else |
| 2465 echo "configure: failed program was:" >&5 | 2660 echo "configure: failed program was:" >&5 |
| 2466 cat conftest.$ac_ext >&5 | 2661 cat conftest.$ac_ext >&5 |
| 2560 esac | 2755 esac |
| 2561 fi | 2756 fi |
| 2562 | 2757 |
| 2563 if test "$add_runtime_path" = "yes"; then | 2758 if test "$add_runtime_path" = "yes"; then |
| 2564 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2759 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2565 echo "configure:2566: checking "for runtime libraries flag"" >&5 | 2760 echo "configure:2761: checking "for runtime libraries flag"" >&5 |
| 2566 case "$opsys" in | 2761 case "$opsys" in |
| 2567 sol2 ) dash_r="-R" ;; | 2762 sol2 ) dash_r="-R" ;; |
| 2568 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2763 decosf* | linux* | irix*) dash_r="-rpath " ;; |
| 2569 *) | 2764 *) |
| 2570 dash_r="" | 2765 dash_r="" |
| 2582 esac | 2777 esac |
| 2583 shift | 2778 shift |
| 2584 done | 2779 done |
| 2585 fi | 2780 fi |
| 2586 cat > conftest.$ac_ext <<EOF | 2781 cat > conftest.$ac_ext <<EOF |
| 2587 #line 2588 "configure" | 2782 #line 2783 "configure" |
| 2588 #include "confdefs.h" | 2783 #include "confdefs.h" |
| 2589 | 2784 |
| 2590 int main() { | 2785 int main() { |
| 2591 | 2786 |
| 2592 ; return 0; } | 2787 ; return 0; } |
| 2593 EOF | 2788 EOF |
| 2594 if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2789 if { (eval echo configure:2790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2595 rm -rf conftest* | 2790 rm -rf conftest* |
| 2596 dash_r="$try_dash_r" | 2791 dash_r="$try_dash_r" |
| 2597 else | 2792 else |
| 2598 echo "configure: failed program was:" >&5 | 2793 echo "configure: failed program was:" >&5 |
| 2599 cat conftest.$ac_ext >&5 | 2794 cat conftest.$ac_ext >&5 |
| 2691 else | 2886 else |
| 2692 doug_lea_malloc=no | 2887 doug_lea_malloc=no |
| 2693 fi | 2888 fi |
| 2694 after_morecore_hook_exists=yes | 2889 after_morecore_hook_exists=yes |
| 2695 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2890 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 2696 echo "configure:2697: checking for malloc_get_state" >&5 | 2891 echo "configure:2892: checking for malloc_get_state" >&5 |
| 2697 | 2892 |
| 2698 cat > conftest.$ac_ext <<EOF | 2893 cat > conftest.$ac_ext <<EOF |
| 2699 #line 2700 "configure" | 2894 #line 2895 "configure" |
| 2700 #include "confdefs.h" | 2895 #include "confdefs.h" |
| 2701 /* System header to define __stub macros and hopefully few prototypes, | 2896 /* System header to define __stub macros and hopefully few prototypes, |
| 2702 which can conflict with char malloc_get_state(); below. */ | 2897 which can conflict with char malloc_get_state(); below. */ |
| 2703 #include <assert.h> | 2898 #include <assert.h> |
| 2704 /* Override any gcc2 internal prototype to avoid an error. */ | 2899 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2717 malloc_get_state(); | 2912 malloc_get_state(); |
| 2718 #endif | 2913 #endif |
| 2719 | 2914 |
| 2720 ; return 0; } | 2915 ; return 0; } |
| 2721 EOF | 2916 EOF |
| 2722 if { (eval echo configure:2723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2917 if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2723 rm -rf conftest* | 2918 rm -rf conftest* |
| 2724 eval "ac_cv_func_malloc_get_state=yes" | 2919 eval "ac_cv_func_malloc_get_state=yes" |
| 2725 else | 2920 else |
| 2726 echo "configure: failed program was:" >&5 | 2921 echo "configure: failed program was:" >&5 |
| 2727 cat conftest.$ac_ext >&5 | 2922 cat conftest.$ac_ext >&5 |
| 2737 echo "$ac_t""no" 1>&6 | 2932 echo "$ac_t""no" 1>&6 |
| 2738 doug_lea_malloc=no | 2933 doug_lea_malloc=no |
| 2739 fi | 2934 fi |
| 2740 | 2935 |
| 2741 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2936 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 2742 echo "configure:2743: checking for malloc_set_state" >&5 | 2937 echo "configure:2938: checking for malloc_set_state" >&5 |
| 2743 | 2938 |
| 2744 cat > conftest.$ac_ext <<EOF | 2939 cat > conftest.$ac_ext <<EOF |
| 2745 #line 2746 "configure" | 2940 #line 2941 "configure" |
| 2746 #include "confdefs.h" | 2941 #include "confdefs.h" |
| 2747 /* System header to define __stub macros and hopefully few prototypes, | 2942 /* System header to define __stub macros and hopefully few prototypes, |
| 2748 which can conflict with char malloc_set_state(); below. */ | 2943 which can conflict with char malloc_set_state(); below. */ |
| 2749 #include <assert.h> | 2944 #include <assert.h> |
| 2750 /* Override any gcc2 internal prototype to avoid an error. */ | 2945 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2763 malloc_set_state(); | 2958 malloc_set_state(); |
| 2764 #endif | 2959 #endif |
| 2765 | 2960 |
| 2766 ; return 0; } | 2961 ; return 0; } |
| 2767 EOF | 2962 EOF |
| 2768 if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2963 if { (eval echo configure:2964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2769 rm -rf conftest* | 2964 rm -rf conftest* |
| 2770 eval "ac_cv_func_malloc_set_state=yes" | 2965 eval "ac_cv_func_malloc_set_state=yes" |
| 2771 else | 2966 else |
| 2772 echo "configure: failed program was:" >&5 | 2967 echo "configure: failed program was:" >&5 |
| 2773 cat conftest.$ac_ext >&5 | 2968 cat conftest.$ac_ext >&5 |
| 2783 echo "$ac_t""no" 1>&6 | 2978 echo "$ac_t""no" 1>&6 |
| 2784 doug_lea_malloc=no | 2979 doug_lea_malloc=no |
| 2785 fi | 2980 fi |
| 2786 | 2981 |
| 2787 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2982 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 2788 echo "configure:2789: checking whether __after_morecore_hook exists" >&5 | 2983 echo "configure:2984: checking whether __after_morecore_hook exists" >&5 |
| 2789 cat > conftest.$ac_ext <<EOF | 2984 cat > conftest.$ac_ext <<EOF |
| 2790 #line 2791 "configure" | 2985 #line 2986 "configure" |
| 2791 #include "confdefs.h" | 2986 #include "confdefs.h" |
| 2792 extern void (* __after_morecore_hook)(); | 2987 extern void (* __after_morecore_hook)(); |
| 2793 int main() { | 2988 int main() { |
| 2794 __after_morecore_hook = 0 | 2989 __after_morecore_hook = 0 |
| 2795 ; return 0; } | 2990 ; return 0; } |
| 2796 EOF | 2991 EOF |
| 2797 if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2992 if { (eval echo configure:2993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2798 rm -rf conftest* | 2993 rm -rf conftest* |
| 2799 echo "$ac_t""yes" 1>&6 | 2994 echo "$ac_t""yes" 1>&6 |
| 2800 else | 2995 else |
| 2801 echo "configure: failed program was:" >&5 | 2996 echo "configure: failed program was:" >&5 |
| 2802 cat conftest.$ac_ext >&5 | 2997 cat conftest.$ac_ext >&5 |
| 2851 | 3046 |
| 2852 | 3047 |
| 2853 # Extract the first word of "ranlib", so it can be a program name with args. | 3048 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2854 set dummy ranlib; ac_word=$2 | 3049 set dummy ranlib; ac_word=$2 |
| 2855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3050 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2856 echo "configure:2857: checking for $ac_word" >&5 | 3051 echo "configure:3052: checking for $ac_word" >&5 |
| 2857 | 3052 |
| 2858 if test -n "$RANLIB"; then | 3053 if test -n "$RANLIB"; then |
| 2859 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3054 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2860 else | 3055 else |
| 2861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 3056 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2862 for ac_dir in $PATH; do | 3057 ac_dummy="$PATH" |
| 3058 for ac_dir in $ac_dummy; do | |
| 2863 test -z "$ac_dir" && ac_dir=. | 3059 test -z "$ac_dir" && ac_dir=. |
| 2864 if test -f $ac_dir/$ac_word; then | 3060 if test -f $ac_dir/$ac_word; then |
| 2865 ac_cv_prog_RANLIB="ranlib" | 3061 ac_cv_prog_RANLIB="ranlib" |
| 2866 break | 3062 break |
| 2867 fi | 3063 fi |
| 2900 # incompatible versions: | 3096 # incompatible versions: |
| 2901 # SysV /etc/install, /usr/sbin/install | 3097 # SysV /etc/install, /usr/sbin/install |
| 2902 # SunOS /usr/etc/install | 3098 # SunOS /usr/etc/install |
| 2903 # IRIX /sbin/install | 3099 # IRIX /sbin/install |
| 2904 # AIX /bin/install | 3100 # AIX /bin/install |
| 3101 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 2905 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3102 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2906 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3103 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2907 # ./install, which can be erroneously created by make from ./install.sh. | 3104 # ./install, which can be erroneously created by make from ./install.sh. |
| 2908 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3105 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2909 echo "configure:2910: checking for a BSD compatible install" >&5 | 3106 echo "configure:3107: checking for a BSD compatible install" >&5 |
| 2910 if test -z "$INSTALL"; then | 3107 if test -z "$INSTALL"; then |
| 2911 | 3108 |
| 2912 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 3109 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 2913 for ac_dir in $PATH; do | 3110 for ac_dir in $PATH; do |
| 2914 # Account for people who put trailing slashes in PATH elements. | 3111 # Account for people who put trailing slashes in PATH elements. |
| 2915 case "$ac_dir/" in | 3112 case "$ac_dir/" in |
| 2916 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 3113 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
| 2917 *) | 3114 *) |
| 2918 # OSF1 and SCO ODT 3.0 have their own names for install. | 3115 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 2919 for ac_prog in ginstall installbsd scoinst install; do | 3116 # Don't use installbsd from OSF since it installs stuff as root |
| 3117 # by default. | |
| 3118 for ac_prog in ginstall scoinst install; do | |
| 2920 if test -f $ac_dir/$ac_prog; then | 3119 if test -f $ac_dir/$ac_prog; then |
| 2921 if test $ac_prog = install && | 3120 if test $ac_prog = install && |
| 2922 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 3121 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
| 2923 # AIX install. It has an incompatible calling convention. | 3122 # AIX install. It has an incompatible calling convention. |
| 2924 # OSF/1 installbsd also uses dspmsg, but is usable. | |
| 2925 : | 3123 : |
| 2926 else | 3124 else |
| 2927 ac_cv_path_install="$ac_dir/$ac_prog -c" | 3125 ac_cv_path_install="$ac_dir/$ac_prog -c" |
| 2928 break 2 | 3126 break 2 |
| 2929 fi | 3127 fi |
| 2948 | 3146 |
| 2949 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 2950 # It thinks the first close brace ends the variable substitution. | 3148 # It thinks the first close brace ends the variable substitution. |
| 2951 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 2952 | 3150 |
| 3151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
| 3152 | |
| 2953 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3153 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 2954 | 3154 |
| 2955 for ac_prog in 'bison -y' byacc | 3155 for ac_prog in 'bison -y' byacc |
| 2956 do | 3156 do |
| 2957 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3157 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2958 set dummy $ac_prog; ac_word=$2 | 3158 set dummy $ac_prog; ac_word=$2 |
| 2959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2960 echo "configure:2961: checking for $ac_word" >&5 | 3160 echo "configure:3161: checking for $ac_word" >&5 |
| 2961 | 3161 |
| 2962 if test -n "$YACC"; then | 3162 if test -n "$YACC"; then |
| 2963 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3163 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2964 else | 3164 else |
| 2965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 3165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2966 for ac_dir in $PATH; do | 3166 ac_dummy="$PATH" |
| 3167 for ac_dir in $ac_dummy; do | |
| 2967 test -z "$ac_dir" && ac_dir=. | 3168 test -z "$ac_dir" && ac_dir=. |
| 2968 if test -f $ac_dir/$ac_word; then | 3169 if test -f $ac_dir/$ac_word; then |
| 2969 ac_cv_prog_YACC="$ac_prog" | 3170 ac_cv_prog_YACC="$ac_prog" |
| 2970 break | 3171 break |
| 2971 fi | 3172 fi |
| 2986 | 3187 |
| 2987 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3188 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2988 do | 3189 do |
| 2989 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2990 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2991 echo "configure:2992: checking for $ac_hdr" >&5 | 3192 echo "configure:3193: checking for $ac_hdr" >&5 |
| 2992 | 3193 |
| 2993 cat > conftest.$ac_ext <<EOF | 3194 cat > conftest.$ac_ext <<EOF |
| 2994 #line 2995 "configure" | 3195 #line 3196 "configure" |
| 2995 #include "confdefs.h" | 3196 #include "confdefs.h" |
| 2996 #include <$ac_hdr> | 3197 #include <$ac_hdr> |
| 2997 EOF | 3198 EOF |
| 2998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2999 { (eval echo configure:3000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3200 { (eval echo configure:3201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3000 ac_err=`grep -v '^ *+' conftest.out` | 3201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3001 if test -z "$ac_err"; then | 3202 if test -z "$ac_err"; then |
| 3002 rm -rf conftest* | 3203 rm -rf conftest* |
| 3003 eval "ac_cv_header_$ac_safe=yes" | 3204 eval "ac_cv_header_$ac_safe=yes" |
| 3004 else | 3205 else |
| 3005 echo "$ac_err" >&5 | 3206 echo "$ac_err" >&5 |
| 3027 | 3228 |
| 3028 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3229 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
| 3029 do | 3230 do |
| 3030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3231 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3232 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3032 echo "configure:3033: checking for $ac_hdr" >&5 | 3233 echo "configure:3234: checking for $ac_hdr" >&5 |
| 3033 | 3234 |
| 3034 cat > conftest.$ac_ext <<EOF | 3235 cat > conftest.$ac_ext <<EOF |
| 3035 #line 3036 "configure" | 3236 #line 3237 "configure" |
| 3036 #include "confdefs.h" | 3237 #include "confdefs.h" |
| 3037 #include <$ac_hdr> | 3238 #include <$ac_hdr> |
| 3038 EOF | 3239 EOF |
| 3039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3040 { (eval echo configure:3041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3241 { (eval echo configure:3242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3041 ac_err=`grep -v '^ *+' conftest.out` | 3242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3042 if test -z "$ac_err"; then | 3243 if test -z "$ac_err"; then |
| 3043 rm -rf conftest* | 3244 rm -rf conftest* |
| 3044 eval "ac_cv_header_$ac_safe=yes" | 3245 eval "ac_cv_header_$ac_safe=yes" |
| 3045 else | 3246 else |
| 3046 echo "$ac_err" >&5 | 3247 echo "$ac_err" >&5 |
| 3068 | 3269 |
| 3069 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3270 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 3070 do | 3271 do |
| 3071 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3272 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3072 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3273 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3073 echo "configure:3074: checking for $ac_hdr" >&5 | 3274 echo "configure:3275: checking for $ac_hdr" >&5 |
| 3074 | 3275 |
| 3075 cat > conftest.$ac_ext <<EOF | 3276 cat > conftest.$ac_ext <<EOF |
| 3076 #line 3077 "configure" | 3277 #line 3278 "configure" |
| 3077 #include "confdefs.h" | 3278 #include "confdefs.h" |
| 3078 #include <$ac_hdr> | 3279 #include <$ac_hdr> |
| 3079 EOF | 3280 EOF |
| 3080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3081 { (eval echo configure:3082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3282 { (eval echo configure:3283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3082 ac_err=`grep -v '^ *+' conftest.out` | 3283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3083 if test -z "$ac_err"; then | 3284 if test -z "$ac_err"; then |
| 3084 rm -rf conftest* | 3285 rm -rf conftest* |
| 3085 eval "ac_cv_header_$ac_safe=yes" | 3286 eval "ac_cv_header_$ac_safe=yes" |
| 3086 else | 3287 else |
| 3087 echo "$ac_err" >&5 | 3288 echo "$ac_err" >&5 |
| 3106 echo "$ac_t""no" 1>&6 | 3307 echo "$ac_t""no" 1>&6 |
| 3107 fi | 3308 fi |
| 3108 done | 3309 done |
| 3109 | 3310 |
| 3110 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3311 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 3111 echo "configure:3112: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3312 echo "configure:3313: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 3112 | 3313 |
| 3113 cat > conftest.$ac_ext <<EOF | 3314 cat > conftest.$ac_ext <<EOF |
| 3114 #line 3115 "configure" | 3315 #line 3316 "configure" |
| 3115 #include "confdefs.h" | 3316 #include "confdefs.h" |
| 3116 #include <sys/types.h> | 3317 #include <sys/types.h> |
| 3117 #include <sys/wait.h> | 3318 #include <sys/wait.h> |
| 3118 #ifndef WEXITSTATUS | 3319 #ifndef WEXITSTATUS |
| 3119 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3320 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 3125 int s; | 3326 int s; |
| 3126 wait (&s); | 3327 wait (&s); |
| 3127 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3328 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3128 ; return 0; } | 3329 ; return 0; } |
| 3129 EOF | 3330 EOF |
| 3130 if { (eval echo configure:3131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3331 if { (eval echo configure:3332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3131 rm -rf conftest* | 3332 rm -rf conftest* |
| 3132 ac_cv_header_sys_wait_h=yes | 3333 ac_cv_header_sys_wait_h=yes |
| 3133 else | 3334 else |
| 3134 echo "configure: failed program was:" >&5 | 3335 echo "configure: failed program was:" >&5 |
| 3135 cat conftest.$ac_ext >&5 | 3336 cat conftest.$ac_ext >&5 |
| 3149 } | 3350 } |
| 3150 | 3351 |
| 3151 fi | 3352 fi |
| 3152 | 3353 |
| 3153 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3354 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3154 echo "configure:3155: checking for ANSI C header files" >&5 | 3355 echo "configure:3356: checking for ANSI C header files" >&5 |
| 3155 | 3356 |
| 3156 cat > conftest.$ac_ext <<EOF | 3357 cat > conftest.$ac_ext <<EOF |
| 3157 #line 3158 "configure" | 3358 #line 3359 "configure" |
| 3158 #include "confdefs.h" | 3359 #include "confdefs.h" |
| 3159 #include <stdlib.h> | 3360 #include <stdlib.h> |
| 3160 #include <stdarg.h> | 3361 #include <stdarg.h> |
| 3161 #include <string.h> | 3362 #include <string.h> |
| 3162 #include <float.h> | 3363 #include <float.h> |
| 3163 EOF | 3364 EOF |
| 3164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3165 { (eval echo configure:3166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3366 { (eval echo configure:3367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3166 ac_err=`grep -v '^ *+' conftest.out` | 3367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3167 if test -z "$ac_err"; then | 3368 if test -z "$ac_err"; then |
| 3168 rm -rf conftest* | 3369 rm -rf conftest* |
| 3169 ac_cv_header_stdc=yes | 3370 ac_cv_header_stdc=yes |
| 3170 else | 3371 else |
| 3171 echo "$ac_err" >&5 | 3372 echo "$ac_err" >&5 |
| 3177 rm -f conftest* | 3378 rm -f conftest* |
| 3178 | 3379 |
| 3179 if test $ac_cv_header_stdc = yes; then | 3380 if test $ac_cv_header_stdc = yes; then |
| 3180 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3381 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3181 cat > conftest.$ac_ext <<EOF | 3382 cat > conftest.$ac_ext <<EOF |
| 3182 #line 3183 "configure" | 3383 #line 3384 "configure" |
| 3183 #include "confdefs.h" | 3384 #include "confdefs.h" |
| 3184 #include <string.h> | 3385 #include <string.h> |
| 3185 EOF | 3386 EOF |
| 3186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3187 egrep "memchr" >/dev/null 2>&1; then | 3388 egrep "memchr" >/dev/null 2>&1; then |
| 3195 fi | 3396 fi |
| 3196 | 3397 |
| 3197 if test $ac_cv_header_stdc = yes; then | 3398 if test $ac_cv_header_stdc = yes; then |
| 3198 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3199 cat > conftest.$ac_ext <<EOF | 3400 cat > conftest.$ac_ext <<EOF |
| 3200 #line 3201 "configure" | 3401 #line 3402 "configure" |
| 3201 #include "confdefs.h" | 3402 #include "confdefs.h" |
| 3202 #include <stdlib.h> | 3403 #include <stdlib.h> |
| 3203 EOF | 3404 EOF |
| 3204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3205 egrep "free" >/dev/null 2>&1; then | 3406 egrep "free" >/dev/null 2>&1; then |
| 3213 fi | 3414 fi |
| 3214 | 3415 |
| 3215 if test $ac_cv_header_stdc = yes; then | 3416 if test $ac_cv_header_stdc = yes; then |
| 3216 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3417 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3217 cat > conftest.$ac_ext <<EOF | 3418 cat > conftest.$ac_ext <<EOF |
| 3218 #line 3219 "configure" | 3419 #line 3420 "configure" |
| 3219 #include "confdefs.h" | 3420 #include "confdefs.h" |
| 3220 #include <ctype.h> | 3421 #include <ctype.h> |
| 3221 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3422 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3222 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3423 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3223 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3424 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3224 int main () { int i; for (i = 0; i < 256; i++) | 3425 int main () { int i; for (i = 0; i < 256; i++) |
| 3225 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3426 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3226 exit (0); } | 3427 exit (0); } |
| 3227 | 3428 |
| 3228 EOF | 3429 EOF |
| 3229 if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3430 if { (eval echo configure:3431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3230 then | 3431 then |
| 3231 : | 3432 : |
| 3232 else | 3433 else |
| 3233 conftest_rc="$?" | 3434 conftest_rc="$?" |
| 3234 echo "configure: failed program was:" >&5 | 3435 echo "configure: failed program was:" >&5 |
| 3250 } | 3451 } |
| 3251 | 3452 |
| 3252 fi | 3453 fi |
| 3253 | 3454 |
| 3254 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3455 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3255 echo "configure:3256: checking whether time.h and sys/time.h may both be included" >&5 | 3456 echo "configure:3457: checking whether time.h and sys/time.h may both be included" >&5 |
| 3256 | 3457 |
| 3257 cat > conftest.$ac_ext <<EOF | 3458 cat > conftest.$ac_ext <<EOF |
| 3258 #line 3259 "configure" | 3459 #line 3460 "configure" |
| 3259 #include "confdefs.h" | 3460 #include "confdefs.h" |
| 3260 #include <sys/types.h> | 3461 #include <sys/types.h> |
| 3261 #include <sys/time.h> | 3462 #include <sys/time.h> |
| 3262 #include <time.h> | 3463 #include <time.h> |
| 3263 int main() { | 3464 int main() { |
| 3264 struct tm *tp; | 3465 struct tm *tp; |
| 3265 ; return 0; } | 3466 ; return 0; } |
| 3266 EOF | 3467 EOF |
| 3267 if { (eval echo configure:3268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3468 if { (eval echo configure:3469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3268 rm -rf conftest* | 3469 rm -rf conftest* |
| 3269 ac_cv_header_time=yes | 3470 ac_cv_header_time=yes |
| 3270 else | 3471 else |
| 3271 echo "configure: failed program was:" >&5 | 3472 echo "configure: failed program was:" >&5 |
| 3272 cat conftest.$ac_ext >&5 | 3473 cat conftest.$ac_ext >&5 |
| 3286 } | 3487 } |
| 3287 | 3488 |
| 3288 fi | 3489 fi |
| 3289 | 3490 |
| 3290 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3491 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3291 echo "configure:3292: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3492 echo "configure:3493: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3292 | 3493 |
| 3293 cat > conftest.$ac_ext <<EOF | 3494 cat > conftest.$ac_ext <<EOF |
| 3294 #line 3295 "configure" | 3495 #line 3496 "configure" |
| 3295 #include "confdefs.h" | 3496 #include "confdefs.h" |
| 3296 #include <sys/types.h> | 3497 #include <sys/types.h> |
| 3297 #include <signal.h> | 3498 #include <signal.h> |
| 3298 /* NetBSD declares sys_siglist in unistd.h. */ | 3499 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3299 #ifdef HAVE_UNISTD_H | 3500 #ifdef HAVE_UNISTD_H |
| 3301 #endif | 3502 #endif |
| 3302 int main() { | 3503 int main() { |
| 3303 char *msg = *(sys_siglist + 1); | 3504 char *msg = *(sys_siglist + 1); |
| 3304 ; return 0; } | 3505 ; return 0; } |
| 3305 EOF | 3506 EOF |
| 3306 if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3507 if { (eval echo configure:3508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3307 rm -rf conftest* | 3508 rm -rf conftest* |
| 3308 ac_cv_decl_sys_siglist=yes | 3509 ac_cv_decl_sys_siglist=yes |
| 3309 else | 3510 else |
| 3310 echo "configure: failed program was:" >&5 | 3511 echo "configure: failed program was:" >&5 |
| 3311 cat conftest.$ac_ext >&5 | 3512 cat conftest.$ac_ext >&5 |
| 3326 | 3527 |
| 3327 fi | 3528 fi |
| 3328 | 3529 |
| 3329 | 3530 |
| 3330 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3531 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3331 echo "configure:3332: checking for struct utimbuf" >&5 | 3532 echo "configure:3533: checking for struct utimbuf" >&5 |
| 3332 cat > conftest.$ac_ext <<EOF | 3533 cat > conftest.$ac_ext <<EOF |
| 3333 #line 3334 "configure" | 3534 #line 3535 "configure" |
| 3334 #include "confdefs.h" | 3535 #include "confdefs.h" |
| 3335 #ifdef TIME_WITH_SYS_TIME | 3536 #ifdef TIME_WITH_SYS_TIME |
| 3336 #include <sys/time.h> | 3537 #include <sys/time.h> |
| 3337 #include <time.h> | 3538 #include <time.h> |
| 3338 #else | 3539 #else |
| 3347 #endif | 3548 #endif |
| 3348 int main() { | 3549 int main() { |
| 3349 static struct utimbuf x; x.actime = x.modtime; | 3550 static struct utimbuf x; x.actime = x.modtime; |
| 3350 ; return 0; } | 3551 ; return 0; } |
| 3351 EOF | 3552 EOF |
| 3352 if { (eval echo configure:3353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3553 if { (eval echo configure:3554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3353 rm -rf conftest* | 3554 rm -rf conftest* |
| 3354 echo "$ac_t""yes" 1>&6 | 3555 echo "$ac_t""yes" 1>&6 |
| 3355 { test "$extra_verbose" = "yes" && cat << \EOF | 3556 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3356 Defining HAVE_STRUCT_UTIMBUF | 3557 Defining HAVE_STRUCT_UTIMBUF |
| 3357 EOF | 3558 EOF |
| 3367 echo "$ac_t""no" 1>&6 | 3568 echo "$ac_t""no" 1>&6 |
| 3368 fi | 3569 fi |
| 3369 rm -f conftest* | 3570 rm -f conftest* |
| 3370 | 3571 |
| 3371 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3572 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3372 echo "configure:3373: checking return type of signal handlers" >&5 | 3573 echo "configure:3574: checking return type of signal handlers" >&5 |
| 3373 | 3574 |
| 3374 cat > conftest.$ac_ext <<EOF | 3575 cat > conftest.$ac_ext <<EOF |
| 3375 #line 3376 "configure" | 3576 #line 3577 "configure" |
| 3376 #include "confdefs.h" | 3577 #include "confdefs.h" |
| 3377 #include <sys/types.h> | 3578 #include <sys/types.h> |
| 3378 #include <signal.h> | 3579 #include <signal.h> |
| 3379 #ifdef signal | 3580 #ifdef signal |
| 3380 #undef signal | 3581 #undef signal |
| 3387 | 3588 |
| 3388 int main() { | 3589 int main() { |
| 3389 int i; | 3590 int i; |
| 3390 ; return 0; } | 3591 ; return 0; } |
| 3391 EOF | 3592 EOF |
| 3392 if { (eval echo configure:3393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3593 if { (eval echo configure:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3393 rm -rf conftest* | 3594 rm -rf conftest* |
| 3394 ac_cv_type_signal=void | 3595 ac_cv_type_signal=void |
| 3395 else | 3596 else |
| 3396 echo "configure: failed program was:" >&5 | 3597 echo "configure: failed program was:" >&5 |
| 3397 cat conftest.$ac_ext >&5 | 3598 cat conftest.$ac_ext >&5 |
| 3409 EOF | 3610 EOF |
| 3410 } | 3611 } |
| 3411 | 3612 |
| 3412 | 3613 |
| 3413 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3614 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3414 echo "configure:3415: checking for size_t" >&5 | 3615 echo "configure:3616: checking for size_t" >&5 |
| 3415 | 3616 |
| 3416 cat > conftest.$ac_ext <<EOF | 3617 cat > conftest.$ac_ext <<EOF |
| 3417 #line 3418 "configure" | 3618 #line 3619 "configure" |
| 3418 #include "confdefs.h" | 3619 #include "confdefs.h" |
| 3419 #include <sys/types.h> | 3620 #include <sys/types.h> |
| 3420 #if STDC_HEADERS | 3621 #if STDC_HEADERS |
| 3421 #include <stdlib.h> | 3622 #include <stdlib.h> |
| 3422 #include <stddef.h> | 3623 #include <stddef.h> |
| 3423 #endif | 3624 #endif |
| 3424 EOF | 3625 EOF |
| 3425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3426 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3627 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3427 rm -rf conftest* | 3628 rm -rf conftest* |
| 3428 ac_cv_type_size_t=yes | 3629 ac_cv_type_size_t=yes |
| 3429 else | 3630 else |
| 3430 rm -rf conftest* | 3631 rm -rf conftest* |
| 3431 ac_cv_type_size_t=no | 3632 ac_cv_type_size_t=no |
| 3443 } | 3644 } |
| 3444 | 3645 |
| 3445 fi | 3646 fi |
| 3446 | 3647 |
| 3447 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3648 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3448 echo "configure:3449: checking for pid_t" >&5 | 3649 echo "configure:3650: checking for pid_t" >&5 |
| 3449 | 3650 |
| 3450 cat > conftest.$ac_ext <<EOF | 3651 cat > conftest.$ac_ext <<EOF |
| 3451 #line 3452 "configure" | 3652 #line 3653 "configure" |
| 3452 #include "confdefs.h" | 3653 #include "confdefs.h" |
| 3453 #include <sys/types.h> | 3654 #include <sys/types.h> |
| 3454 #if STDC_HEADERS | 3655 #if STDC_HEADERS |
| 3455 #include <stdlib.h> | 3656 #include <stdlib.h> |
| 3456 #include <stddef.h> | 3657 #include <stddef.h> |
| 3457 #endif | 3658 #endif |
| 3458 EOF | 3659 EOF |
| 3459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3460 egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3661 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3461 rm -rf conftest* | 3662 rm -rf conftest* |
| 3462 ac_cv_type_pid_t=yes | 3663 ac_cv_type_pid_t=yes |
| 3463 else | 3664 else |
| 3464 rm -rf conftest* | 3665 rm -rf conftest* |
| 3465 ac_cv_type_pid_t=no | 3666 ac_cv_type_pid_t=no |
| 3477 } | 3678 } |
| 3478 | 3679 |
| 3479 fi | 3680 fi |
| 3480 | 3681 |
| 3481 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3682 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3482 echo "configure:3483: checking for uid_t in sys/types.h" >&5 | 3683 echo "configure:3684: checking for uid_t in sys/types.h" >&5 |
| 3483 | 3684 |
| 3484 cat > conftest.$ac_ext <<EOF | 3685 cat > conftest.$ac_ext <<EOF |
| 3485 #line 3486 "configure" | 3686 #line 3687 "configure" |
| 3486 #include "confdefs.h" | 3687 #include "confdefs.h" |
| 3487 #include <sys/types.h> | 3688 #include <sys/types.h> |
| 3488 EOF | 3689 EOF |
| 3489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3490 egrep "uid_t" >/dev/null 2>&1; then | 3691 egrep "uid_t" >/dev/null 2>&1; then |
| 3516 } | 3717 } |
| 3517 | 3718 |
| 3518 fi | 3719 fi |
| 3519 | 3720 |
| 3520 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3721 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3521 echo "configure:3522: checking for mode_t" >&5 | 3722 echo "configure:3723: checking for mode_t" >&5 |
| 3522 | 3723 |
| 3523 cat > conftest.$ac_ext <<EOF | 3724 cat > conftest.$ac_ext <<EOF |
| 3524 #line 3525 "configure" | 3725 #line 3726 "configure" |
| 3525 #include "confdefs.h" | 3726 #include "confdefs.h" |
| 3526 #include <sys/types.h> | 3727 #include <sys/types.h> |
| 3527 #if STDC_HEADERS | 3728 #if STDC_HEADERS |
| 3528 #include <stdlib.h> | 3729 #include <stdlib.h> |
| 3529 #include <stddef.h> | 3730 #include <stddef.h> |
| 3530 #endif | 3731 #endif |
| 3531 EOF | 3732 EOF |
| 3532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3533 egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3734 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3534 rm -rf conftest* | 3735 rm -rf conftest* |
| 3535 ac_cv_type_mode_t=yes | 3736 ac_cv_type_mode_t=yes |
| 3536 else | 3737 else |
| 3537 rm -rf conftest* | 3738 rm -rf conftest* |
| 3538 ac_cv_type_mode_t=no | 3739 ac_cv_type_mode_t=no |
| 3550 } | 3751 } |
| 3551 | 3752 |
| 3552 fi | 3753 fi |
| 3553 | 3754 |
| 3554 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3755 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3555 echo "configure:3556: checking for off_t" >&5 | 3756 echo "configure:3757: checking for off_t" >&5 |
| 3556 | 3757 |
| 3557 cat > conftest.$ac_ext <<EOF | 3758 cat > conftest.$ac_ext <<EOF |
| 3558 #line 3559 "configure" | 3759 #line 3760 "configure" |
| 3559 #include "confdefs.h" | 3760 #include "confdefs.h" |
| 3560 #include <sys/types.h> | 3761 #include <sys/types.h> |
| 3561 #if STDC_HEADERS | 3762 #if STDC_HEADERS |
| 3562 #include <stdlib.h> | 3763 #include <stdlib.h> |
| 3563 #include <stddef.h> | 3764 #include <stddef.h> |
| 3564 #endif | 3765 #endif |
| 3565 EOF | 3766 EOF |
| 3566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3567 egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3768 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3568 rm -rf conftest* | 3769 rm -rf conftest* |
| 3569 ac_cv_type_off_t=yes | 3770 ac_cv_type_off_t=yes |
| 3570 else | 3771 else |
| 3571 rm -rf conftest* | 3772 rm -rf conftest* |
| 3572 ac_cv_type_off_t=no | 3773 ac_cv_type_off_t=no |
| 3585 | 3786 |
| 3586 fi | 3787 fi |
| 3587 | 3788 |
| 3588 | 3789 |
| 3589 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3790 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3590 echo "configure:3591: checking for struct timeval" >&5 | 3791 echo "configure:3792: checking for struct timeval" >&5 |
| 3591 cat > conftest.$ac_ext <<EOF | 3792 cat > conftest.$ac_ext <<EOF |
| 3592 #line 3593 "configure" | 3793 #line 3794 "configure" |
| 3593 #include "confdefs.h" | 3794 #include "confdefs.h" |
| 3594 #ifdef TIME_WITH_SYS_TIME | 3795 #ifdef TIME_WITH_SYS_TIME |
| 3595 #include <sys/time.h> | 3796 #include <sys/time.h> |
| 3596 #include <time.h> | 3797 #include <time.h> |
| 3597 #else | 3798 #else |
| 3603 #endif | 3804 #endif |
| 3604 int main() { | 3805 int main() { |
| 3605 static struct timeval x; x.tv_sec = x.tv_usec; | 3806 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3606 ; return 0; } | 3807 ; return 0; } |
| 3607 EOF | 3808 EOF |
| 3608 if { (eval echo configure:3609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3809 if { (eval echo configure:3810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3609 rm -rf conftest* | 3810 rm -rf conftest* |
| 3610 echo "$ac_t""yes" 1>&6 | 3811 echo "$ac_t""yes" 1>&6 |
| 3611 HAVE_TIMEVAL=yes | 3812 HAVE_TIMEVAL=yes |
| 3612 { test "$extra_verbose" = "yes" && cat << \EOF | 3813 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3613 Defining HAVE_TIMEVAL | 3814 Defining HAVE_TIMEVAL |
| 3625 HAVE_TIMEVAL=no | 3826 HAVE_TIMEVAL=no |
| 3626 fi | 3827 fi |
| 3627 rm -f conftest* | 3828 rm -f conftest* |
| 3628 | 3829 |
| 3629 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3830 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3630 echo "configure:3631: checking whether struct tm is in sys/time.h or time.h" >&5 | 3831 echo "configure:3832: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3631 | 3832 |
| 3632 cat > conftest.$ac_ext <<EOF | 3833 cat > conftest.$ac_ext <<EOF |
| 3633 #line 3634 "configure" | 3834 #line 3835 "configure" |
| 3634 #include "confdefs.h" | 3835 #include "confdefs.h" |
| 3635 #include <sys/types.h> | 3836 #include <sys/types.h> |
| 3636 #include <time.h> | 3837 #include <time.h> |
| 3637 int main() { | 3838 int main() { |
| 3638 struct tm *tp; tp->tm_sec; | 3839 struct tm *tp; tp->tm_sec; |
| 3639 ; return 0; } | 3840 ; return 0; } |
| 3640 EOF | 3841 EOF |
| 3641 if { (eval echo configure:3642: \"$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 |
| 3642 rm -rf conftest* | 3843 rm -rf conftest* |
| 3643 ac_cv_struct_tm=time.h | 3844 ac_cv_struct_tm=time.h |
| 3644 else | 3845 else |
| 3645 echo "configure: failed program was:" >&5 | 3846 echo "configure: failed program was:" >&5 |
| 3646 cat conftest.$ac_ext >&5 | 3847 cat conftest.$ac_ext >&5 |
| 3660 } | 3861 } |
| 3661 | 3862 |
| 3662 fi | 3863 fi |
| 3663 | 3864 |
| 3664 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3865 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3665 echo "configure:3666: checking for tm_zone in struct tm" >&5 | 3866 echo "configure:3867: checking for tm_zone in struct tm" >&5 |
| 3666 | 3867 |
| 3667 cat > conftest.$ac_ext <<EOF | 3868 cat > conftest.$ac_ext <<EOF |
| 3668 #line 3669 "configure" | 3869 #line 3870 "configure" |
| 3669 #include "confdefs.h" | 3870 #include "confdefs.h" |
| 3670 #include <sys/types.h> | 3871 #include <sys/types.h> |
| 3671 #include <$ac_cv_struct_tm> | 3872 #include <$ac_cv_struct_tm> |
| 3672 int main() { | 3873 int main() { |
| 3673 struct tm tm; tm.tm_zone; | 3874 struct tm tm; tm.tm_zone; |
| 3674 ; return 0; } | 3875 ; return 0; } |
| 3675 EOF | 3876 EOF |
| 3676 if { (eval echo configure:3677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3877 if { (eval echo configure:3878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3677 rm -rf conftest* | 3878 rm -rf conftest* |
| 3678 ac_cv_struct_tm_zone=yes | 3879 ac_cv_struct_tm_zone=yes |
| 3679 else | 3880 else |
| 3680 echo "configure: failed program was:" >&5 | 3881 echo "configure: failed program was:" >&5 |
| 3681 cat conftest.$ac_ext >&5 | 3882 cat conftest.$ac_ext >&5 |
| 3694 EOF | 3895 EOF |
| 3695 } | 3896 } |
| 3696 | 3897 |
| 3697 else | 3898 else |
| 3698 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3899 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3699 echo "configure:3700: checking for tzname" >&5 | 3900 echo "configure:3901: checking for tzname" >&5 |
| 3700 | 3901 |
| 3701 cat > conftest.$ac_ext <<EOF | 3902 cat > conftest.$ac_ext <<EOF |
| 3702 #line 3703 "configure" | 3903 #line 3904 "configure" |
| 3703 #include "confdefs.h" | 3904 #include "confdefs.h" |
| 3704 #include <time.h> | 3905 #include <time.h> |
| 3705 #ifndef tzname /* For SGI. */ | 3906 #ifndef tzname /* For SGI. */ |
| 3706 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3907 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3707 #endif | 3908 #endif |
| 3708 int main() { | 3909 int main() { |
| 3709 atoi(*tzname); | 3910 atoi(*tzname); |
| 3710 ; return 0; } | 3911 ; return 0; } |
| 3711 EOF | 3912 EOF |
| 3712 if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3913 if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3713 rm -rf conftest* | 3914 rm -rf conftest* |
| 3714 ac_cv_var_tzname=yes | 3915 ac_cv_var_tzname=yes |
| 3715 else | 3916 else |
| 3716 echo "configure: failed program was:" >&5 | 3917 echo "configure: failed program was:" >&5 |
| 3717 cat conftest.$ac_ext >&5 | 3918 cat conftest.$ac_ext >&5 |
| 3733 fi | 3934 fi |
| 3734 fi | 3935 fi |
| 3735 | 3936 |
| 3736 | 3937 |
| 3737 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3938 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3738 echo "configure:3739: checking for working const" >&5 | 3939 echo "configure:3940: checking for working const" >&5 |
| 3739 | 3940 |
| 3740 cat > conftest.$ac_ext <<EOF | 3941 cat > conftest.$ac_ext <<EOF |
| 3741 #line 3742 "configure" | 3942 #line 3943 "configure" |
| 3742 #include "confdefs.h" | 3943 #include "confdefs.h" |
| 3743 | 3944 |
| 3744 int main() { | 3945 int main() { |
| 3745 | 3946 |
| 3746 /* Ultrix mips cc rejects this. */ | 3947 /* Ultrix mips cc rejects this. */ |
| 3785 const int foo = 10; | 3986 const int foo = 10; |
| 3786 } | 3987 } |
| 3787 | 3988 |
| 3788 ; return 0; } | 3989 ; return 0; } |
| 3789 EOF | 3990 EOF |
| 3790 if { (eval echo configure:3791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3991 if { (eval echo configure:3992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3791 rm -rf conftest* | 3992 rm -rf conftest* |
| 3792 ac_cv_c_const=yes | 3993 ac_cv_c_const=yes |
| 3793 else | 3994 else |
| 3794 echo "configure: failed program was:" >&5 | 3995 echo "configure: failed program was:" >&5 |
| 3795 cat conftest.$ac_ext >&5 | 3996 cat conftest.$ac_ext >&5 |
| 3810 | 4011 |
| 3811 fi | 4012 fi |
| 3812 | 4013 |
| 3813 | 4014 |
| 3814 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4015 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3815 echo "configure:3816: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4016 echo "configure:4017: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3816 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4017 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3817 | 4018 |
| 3818 cat > conftestmake <<\EOF | 4019 cat > conftestmake <<\EOF |
| 3819 all: | 4020 all: |
| 3820 @echo 'ac_maketemp="${MAKE}"' | 4021 @echo 'ac_maketemp="${MAKE}"' |
| 3835 SET_MAKE="MAKE=${MAKE-make}" | 4036 SET_MAKE="MAKE=${MAKE-make}" |
| 3836 fi | 4037 fi |
| 3837 | 4038 |
| 3838 | 4039 |
| 3839 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4040 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3840 echo "configure:3841: checking whether byte ordering is bigendian" >&5 | 4041 echo "configure:4042: checking whether byte ordering is bigendian" >&5 |
| 3841 | 4042 |
| 3842 ac_cv_c_bigendian=unknown | 4043 ac_cv_c_bigendian=unknown |
| 3843 # See if sys/param.h defines the BYTE_ORDER macro. | 4044 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3844 cat > conftest.$ac_ext <<EOF | 4045 cat > conftest.$ac_ext <<EOF |
| 3845 #line 3846 "configure" | 4046 #line 4047 "configure" |
| 3846 #include "confdefs.h" | 4047 #include "confdefs.h" |
| 3847 #include <sys/types.h> | 4048 #include <sys/types.h> |
| 3848 #include <sys/param.h> | 4049 #include <sys/param.h> |
| 3849 int main() { | 4050 int main() { |
| 3850 | 4051 |
| 3851 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4052 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3852 bogus endian macros | 4053 bogus endian macros |
| 3853 #endif | 4054 #endif |
| 3854 ; return 0; } | 4055 ; return 0; } |
| 3855 EOF | 4056 EOF |
| 3856 if { (eval echo configure:3857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4057 if { (eval echo configure:4058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3857 rm -rf conftest* | 4058 rm -rf conftest* |
| 3858 # It does; now see whether it defined to BIG_ENDIAN or not. | 4059 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3859 cat > conftest.$ac_ext <<EOF | 4060 cat > conftest.$ac_ext <<EOF |
| 3860 #line 3861 "configure" | 4061 #line 4062 "configure" |
| 3861 #include "confdefs.h" | 4062 #include "confdefs.h" |
| 3862 #include <sys/types.h> | 4063 #include <sys/types.h> |
| 3863 #include <sys/param.h> | 4064 #include <sys/param.h> |
| 3864 int main() { | 4065 int main() { |
| 3865 | 4066 |
| 3866 #if BYTE_ORDER != BIG_ENDIAN | 4067 #if BYTE_ORDER != BIG_ENDIAN |
| 3867 not big endian | 4068 not big endian |
| 3868 #endif | 4069 #endif |
| 3869 ; return 0; } | 4070 ; return 0; } |
| 3870 EOF | 4071 EOF |
| 3871 if { (eval echo configure:3872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4072 if { (eval echo configure:4073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3872 rm -rf conftest* | 4073 rm -rf conftest* |
| 3873 ac_cv_c_bigendian=yes | 4074 ac_cv_c_bigendian=yes |
| 3874 else | 4075 else |
| 3875 echo "configure: failed program was:" >&5 | 4076 echo "configure: failed program was:" >&5 |
| 3876 cat conftest.$ac_ext >&5 | 4077 cat conftest.$ac_ext >&5 |
| 3883 cat conftest.$ac_ext >&5 | 4084 cat conftest.$ac_ext >&5 |
| 3884 fi | 4085 fi |
| 3885 rm -f conftest* | 4086 rm -f conftest* |
| 3886 if test $ac_cv_c_bigendian = unknown; then | 4087 if test $ac_cv_c_bigendian = unknown; then |
| 3887 cat > conftest.$ac_ext <<EOF | 4088 cat > conftest.$ac_ext <<EOF |
| 3888 #line 3889 "configure" | 4089 #line 4090 "configure" |
| 3889 #include "confdefs.h" | 4090 #include "confdefs.h" |
| 3890 main () { | 4091 main () { |
| 3891 /* Are we little or big endian? From Harbison&Steele. */ | 4092 /* Are we little or big endian? From Harbison&Steele. */ |
| 3892 union | 4093 union |
| 3893 { | 4094 { |
| 3896 } u; | 4097 } u; |
| 3897 u.l = 1; | 4098 u.l = 1; |
| 3898 exit (u.c[sizeof (long) - 1] == 1); | 4099 exit (u.c[sizeof (long) - 1] == 1); |
| 3899 } | 4100 } |
| 3900 EOF | 4101 EOF |
| 3901 if { (eval echo configure:3902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4102 if { (eval echo configure:4103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3902 then | 4103 then |
| 3903 ac_cv_c_bigendian=no | 4104 ac_cv_c_bigendian=no |
| 3904 else | 4105 else |
| 3905 conftest_rc="$?" | 4106 conftest_rc="$?" |
| 3906 echo "configure: failed program was:" >&5 | 4107 echo "configure: failed program was:" >&5 |
| 3923 | 4124 |
| 3924 fi | 4125 fi |
| 3925 | 4126 |
| 3926 | 4127 |
| 3927 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4128 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3928 echo "configure:3929: checking size of short" >&5 | 4129 echo "configure:4130: checking size of short" >&5 |
| 3929 | 4130 |
| 3930 cat > conftest.$ac_ext <<EOF | 4131 cat > conftest.$ac_ext <<EOF |
| 3931 #line 3932 "configure" | 4132 #line 4133 "configure" |
| 3932 #include "confdefs.h" | 4133 #include "confdefs.h" |
| 3933 #include <stdio.h> | 4134 #include <stdio.h> |
| 3934 main() | 4135 main() |
| 3935 { | 4136 { |
| 3936 FILE *f=fopen("conftestval", "w"); | 4137 FILE *f=fopen("conftestval", "w"); |
| 3937 if (!f) exit(1); | 4138 if (!f) exit(1); |
| 3938 fprintf(f, "%d\n", sizeof(short)); | 4139 fprintf(f, "%d\n", sizeof(short)); |
| 3939 exit(0); | 4140 exit(0); |
| 3940 } | 4141 } |
| 3941 EOF | 4142 EOF |
| 3942 if { (eval echo configure:3943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4143 if { (eval echo configure:4144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3943 then | 4144 then |
| 3944 ac_cv_sizeof_short=`cat conftestval` | 4145 ac_cv_sizeof_short=`cat conftestval` |
| 3945 else | 4146 else |
| 3946 conftest_rc="$?" | 4147 conftest_rc="$?" |
| 3947 echo "configure: failed program was:" >&5 | 4148 echo "configure: failed program was:" >&5 |
| 3965 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4166 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3966 echo "*** PANIC *** Please examine config.log for compilation errors." | 4167 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3967 exit 1 | 4168 exit 1 |
| 3968 fi | 4169 fi |
| 3969 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4170 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3970 echo "configure:3971: checking size of int" >&5 | 4171 echo "configure:4172: checking size of int" >&5 |
| 3971 | 4172 |
| 3972 cat > conftest.$ac_ext <<EOF | 4173 cat > conftest.$ac_ext <<EOF |
| 3973 #line 3974 "configure" | 4174 #line 4175 "configure" |
| 3974 #include "confdefs.h" | 4175 #include "confdefs.h" |
| 3975 #include <stdio.h> | 4176 #include <stdio.h> |
| 3976 main() | 4177 main() |
| 3977 { | 4178 { |
| 3978 FILE *f=fopen("conftestval", "w"); | 4179 FILE *f=fopen("conftestval", "w"); |
| 3979 if (!f) exit(1); | 4180 if (!f) exit(1); |
| 3980 fprintf(f, "%d\n", sizeof(int)); | 4181 fprintf(f, "%d\n", sizeof(int)); |
| 3981 exit(0); | 4182 exit(0); |
| 3982 } | 4183 } |
| 3983 EOF | 4184 EOF |
| 3984 if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4185 if { (eval echo configure:4186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3985 then | 4186 then |
| 3986 ac_cv_sizeof_int=`cat conftestval` | 4187 ac_cv_sizeof_int=`cat conftestval` |
| 3987 else | 4188 else |
| 3988 conftest_rc="$?" | 4189 conftest_rc="$?" |
| 3989 echo "configure: failed program was:" >&5 | 4190 echo "configure: failed program was:" >&5 |
| 4001 EOF | 4202 EOF |
| 4002 } | 4203 } |
| 4003 | 4204 |
| 4004 | 4205 |
| 4005 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4206 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 4006 echo "configure:4007: checking size of long" >&5 | 4207 echo "configure:4208: checking size of long" >&5 |
| 4007 | 4208 |
| 4008 cat > conftest.$ac_ext <<EOF | 4209 cat > conftest.$ac_ext <<EOF |
| 4009 #line 4010 "configure" | 4210 #line 4211 "configure" |
| 4010 #include "confdefs.h" | 4211 #include "confdefs.h" |
| 4011 #include <stdio.h> | 4212 #include <stdio.h> |
| 4012 main() | 4213 main() |
| 4013 { | 4214 { |
| 4014 FILE *f=fopen("conftestval", "w"); | 4215 FILE *f=fopen("conftestval", "w"); |
| 4015 if (!f) exit(1); | 4216 if (!f) exit(1); |
| 4016 fprintf(f, "%d\n", sizeof(long)); | 4217 fprintf(f, "%d\n", sizeof(long)); |
| 4017 exit(0); | 4218 exit(0); |
| 4018 } | 4219 } |
| 4019 EOF | 4220 EOF |
| 4020 if { (eval echo configure:4021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4221 if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4021 then | 4222 then |
| 4022 ac_cv_sizeof_long=`cat conftestval` | 4223 ac_cv_sizeof_long=`cat conftestval` |
| 4023 else | 4224 else |
| 4024 conftest_rc="$?" | 4225 conftest_rc="$?" |
| 4025 echo "configure: failed program was:" >&5 | 4226 echo "configure: failed program was:" >&5 |
| 4037 EOF | 4238 EOF |
| 4038 } | 4239 } |
| 4039 | 4240 |
| 4040 | 4241 |
| 4041 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4242 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 4042 echo "configure:4043: checking size of long long" >&5 | 4243 echo "configure:4244: checking size of long long" >&5 |
| 4043 | 4244 |
| 4044 cat > conftest.$ac_ext <<EOF | 4245 cat > conftest.$ac_ext <<EOF |
| 4045 #line 4046 "configure" | 4246 #line 4247 "configure" |
| 4046 #include "confdefs.h" | 4247 #include "confdefs.h" |
| 4047 #include <stdio.h> | 4248 #include <stdio.h> |
| 4048 main() | 4249 main() |
| 4049 { | 4250 { |
| 4050 FILE *f=fopen("conftestval", "w"); | 4251 FILE *f=fopen("conftestval", "w"); |
| 4051 if (!f) exit(1); | 4252 if (!f) exit(1); |
| 4052 fprintf(f, "%d\n", sizeof(long long)); | 4253 fprintf(f, "%d\n", sizeof(long long)); |
| 4053 exit(0); | 4254 exit(0); |
| 4054 } | 4255 } |
| 4055 EOF | 4256 EOF |
| 4056 if { (eval echo configure:4057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4257 if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4057 then | 4258 then |
| 4058 ac_cv_sizeof_long_long=`cat conftestval` | 4259 ac_cv_sizeof_long_long=`cat conftestval` |
| 4059 else | 4260 else |
| 4060 conftest_rc="$?" | 4261 conftest_rc="$?" |
| 4061 echo "configure: failed program was:" >&5 | 4262 echo "configure: failed program was:" >&5 |
| 4073 EOF | 4274 EOF |
| 4074 } | 4275 } |
| 4075 | 4276 |
| 4076 | 4277 |
| 4077 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4278 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4078 echo "configure:4079: checking size of void *" >&5 | 4279 echo "configure:4280: checking size of void *" >&5 |
| 4079 | 4280 |
| 4080 cat > conftest.$ac_ext <<EOF | 4281 cat > conftest.$ac_ext <<EOF |
| 4081 #line 4082 "configure" | 4282 #line 4283 "configure" |
| 4082 #include "confdefs.h" | 4283 #include "confdefs.h" |
| 4083 #include <stdio.h> | 4284 #include <stdio.h> |
| 4084 main() | 4285 main() |
| 4085 { | 4286 { |
| 4086 FILE *f=fopen("conftestval", "w"); | 4287 FILE *f=fopen("conftestval", "w"); |
| 4087 if (!f) exit(1); | 4288 if (!f) exit(1); |
| 4088 fprintf(f, "%d\n", sizeof(void *)); | 4289 fprintf(f, "%d\n", sizeof(void *)); |
| 4089 exit(0); | 4290 exit(0); |
| 4090 } | 4291 } |
| 4091 EOF | 4292 EOF |
| 4092 if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4293 if { (eval echo configure:4294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4093 then | 4294 then |
| 4094 ac_cv_sizeof_void_p=`cat conftestval` | 4295 ac_cv_sizeof_void_p=`cat conftestval` |
| 4095 else | 4296 else |
| 4096 conftest_rc="$?" | 4297 conftest_rc="$?" |
| 4097 echo "configure: failed program was:" >&5 | 4298 echo "configure: failed program was:" >&5 |
| 4110 } | 4311 } |
| 4111 | 4312 |
| 4112 | 4313 |
| 4113 | 4314 |
| 4114 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4315 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4115 echo "configure:4116: checking for long file names" >&5 | 4316 echo "configure:4317: checking for long file names" >&5 |
| 4116 | 4317 |
| 4117 ac_cv_sys_long_file_names=yes | 4318 ac_cv_sys_long_file_names=yes |
| 4118 # Test for long file names in all the places we know might matter: | 4319 # Test for long file names in all the places we know might matter: |
| 4119 # . the current directory, where building will happen | 4320 # . the current directory, where building will happen |
| 4120 # $prefix/lib where we will be installing things | 4321 # $prefix/lib where we will be installing things |
| 4156 | 4357 |
| 4157 fi | 4358 fi |
| 4158 | 4359 |
| 4159 | 4360 |
| 4160 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4361 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
| 4161 echo "configure:4162: checking for sin" >&5 | 4362 echo "configure:4363: checking for sin" >&5 |
| 4162 | 4363 |
| 4163 cat > conftest.$ac_ext <<EOF | 4364 cat > conftest.$ac_ext <<EOF |
| 4164 #line 4165 "configure" | 4365 #line 4366 "configure" |
| 4165 #include "confdefs.h" | 4366 #include "confdefs.h" |
| 4166 /* System header to define __stub macros and hopefully few prototypes, | 4367 /* System header to define __stub macros and hopefully few prototypes, |
| 4167 which can conflict with char sin(); below. */ | 4368 which can conflict with char sin(); below. */ |
| 4168 #include <assert.h> | 4369 #include <assert.h> |
| 4169 /* Override any gcc2 internal prototype to avoid an error. */ | 4370 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4182 sin(); | 4383 sin(); |
| 4183 #endif | 4384 #endif |
| 4184 | 4385 |
| 4185 ; return 0; } | 4386 ; return 0; } |
| 4186 EOF | 4387 EOF |
| 4187 if { (eval echo configure:4188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4388 if { (eval echo configure:4389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4188 rm -rf conftest* | 4389 rm -rf conftest* |
| 4189 eval "ac_cv_func_sin=yes" | 4390 eval "ac_cv_func_sin=yes" |
| 4190 else | 4391 else |
| 4191 echo "configure: failed program was:" >&5 | 4392 echo "configure: failed program was:" >&5 |
| 4192 cat conftest.$ac_ext >&5 | 4393 cat conftest.$ac_ext >&5 |
| 4200 : | 4401 : |
| 4201 else | 4402 else |
| 4202 echo "$ac_t""no" 1>&6 | 4403 echo "$ac_t""no" 1>&6 |
| 4203 | 4404 |
| 4204 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4405 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4205 echo "configure:4206: checking for sin in -lm" >&5 | 4406 echo "configure:4407: checking for sin in -lm" >&5 |
| 4206 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4407 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4207 | 4408 |
| 4208 xe_check_libs=" -lm " | 4409 xe_check_libs=" -lm " |
| 4209 cat > conftest.$ac_ext <<EOF | 4410 cat > conftest.$ac_ext <<EOF |
| 4210 #line 4211 "configure" | 4411 #line 4412 "configure" |
| 4211 #include "confdefs.h" | 4412 #include "confdefs.h" |
| 4212 /* Override any gcc2 internal prototype to avoid an error. */ | 4413 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4213 /* We use char because int might match the return type of a gcc2 | 4414 /* We use char because int might match the return type of a gcc2 |
| 4214 builtin and then its argument prototype would still apply. */ | 4415 builtin and then its argument prototype would still apply. */ |
| 4215 char sin(); | 4416 char sin(); |
| 4216 | 4417 |
| 4217 int main() { | 4418 int main() { |
| 4218 sin() | 4419 sin() |
| 4219 ; return 0; } | 4420 ; return 0; } |
| 4220 EOF | 4421 EOF |
| 4221 if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4422 if { (eval echo configure:4423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4222 rm -rf conftest* | 4423 rm -rf conftest* |
| 4223 eval "ac_cv_lib_$ac_lib_var=yes" | 4424 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4224 else | 4425 else |
| 4225 echo "configure: failed program was:" >&5 | 4426 echo "configure: failed program was:" >&5 |
| 4226 cat conftest.$ac_ext >&5 | 4427 cat conftest.$ac_ext >&5 |
| 4260 EOF | 4461 EOF |
| 4261 } | 4462 } |
| 4262 | 4463 |
| 4263 | 4464 |
| 4264 cat > conftest.$ac_ext <<EOF | 4465 cat > conftest.$ac_ext <<EOF |
| 4265 #line 4266 "configure" | 4466 #line 4467 "configure" |
| 4266 #include "confdefs.h" | 4467 #include "confdefs.h" |
| 4267 #include <math.h> | 4468 #include <math.h> |
| 4268 int main() { | 4469 int main() { |
| 4269 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4470 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4270 ; return 0; } | 4471 ; return 0; } |
| 4271 EOF | 4472 EOF |
| 4272 if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4473 if { (eval echo configure:4474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4273 rm -rf conftest* | 4474 rm -rf conftest* |
| 4274 { test "$extra_verbose" = "yes" && cat << \EOF | 4475 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4275 Defining HAVE_INVERSE_HYPERBOLIC | 4476 Defining HAVE_INVERSE_HYPERBOLIC |
| 4276 EOF | 4477 EOF |
| 4277 cat >> confdefs.h <<\EOF | 4478 cat >> confdefs.h <<\EOF |
| 4284 cat conftest.$ac_ext >&5 | 4485 cat conftest.$ac_ext >&5 |
| 4285 fi | 4486 fi |
| 4286 rm -f conftest* | 4487 rm -f conftest* |
| 4287 | 4488 |
| 4288 echo "checking type of mail spool file locking" 1>&6 | 4489 echo "checking type of mail spool file locking" 1>&6 |
| 4289 echo "configure:4290: checking type of mail spool file locking" >&5 | 4490 echo "configure:4491: checking type of mail spool file locking" >&5 |
| 4290 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4491 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 4291 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4492 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 4292 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4493 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 4293 Defining REAL_MAIL_USE_LOCKF | 4494 Defining REAL_MAIL_USE_LOCKF |
| 4294 EOF | 4495 EOF |
| 4309 fi | 4510 fi |
| 4310 | 4511 |
| 4311 case "$opsys" in decosf*) | 4512 case "$opsys" in decosf*) |
| 4312 | 4513 |
| 4313 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4514 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4314 echo "configure:4315: checking for cma_open in -lpthreads" >&5 | 4515 echo "configure:4516: checking for cma_open in -lpthreads" >&5 |
| 4315 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4516 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4316 | 4517 |
| 4317 xe_check_libs=" -lpthreads " | 4518 xe_check_libs=" -lpthreads " |
| 4318 cat > conftest.$ac_ext <<EOF | 4519 cat > conftest.$ac_ext <<EOF |
| 4319 #line 4320 "configure" | 4520 #line 4521 "configure" |
| 4320 #include "confdefs.h" | 4521 #include "confdefs.h" |
| 4321 /* Override any gcc2 internal prototype to avoid an error. */ | 4522 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4322 /* We use char because int might match the return type of a gcc2 | 4523 /* We use char because int might match the return type of a gcc2 |
| 4323 builtin and then its argument prototype would still apply. */ | 4524 builtin and then its argument prototype would still apply. */ |
| 4324 char cma_open(); | 4525 char cma_open(); |
| 4325 | 4526 |
| 4326 int main() { | 4527 int main() { |
| 4327 cma_open() | 4528 cma_open() |
| 4328 ; return 0; } | 4529 ; return 0; } |
| 4329 EOF | 4530 EOF |
| 4330 if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4531 if { (eval echo configure:4532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4331 rm -rf conftest* | 4532 rm -rf conftest* |
| 4332 eval "ac_cv_lib_$ac_lib_var=yes" | 4533 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4333 else | 4534 else |
| 4334 echo "configure: failed program was:" >&5 | 4535 echo "configure: failed program was:" >&5 |
| 4335 cat conftest.$ac_ext >&5 | 4536 cat conftest.$ac_ext >&5 |
| 4361 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4562 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
| 4362 c_switch_site="$c_switch_site -threads" ;; | 4563 c_switch_site="$c_switch_site -threads" ;; |
| 4363 esac | 4564 esac |
| 4364 | 4565 |
| 4365 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4566 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4366 echo "configure:4367: checking whether the -xildoff compiler flag is required" >&5 | 4567 echo "configure:4568: checking whether the -xildoff compiler flag is required" >&5 |
| 4367 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4568 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4368 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4569 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4369 then echo "$ac_t""no" 1>&6; | 4570 then echo "$ac_t""no" 1>&6; |
| 4370 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 | 4571 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 |
| 4371 fi | 4572 fi |
| 4372 else echo "$ac_t""no" 1>&6 | 4573 else echo "$ac_t""no" 1>&6 |
| 4373 fi | 4574 fi |
| 4374 | 4575 |
| 4375 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4576 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4376 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4577 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4377 echo "configure:4378: checking for \"-z ignore\" linker flag" >&5 | 4578 echo "configure:4579: checking for \"-z ignore\" linker flag" >&5 |
| 4378 case "`ld -h 2>&1`" in | 4579 case "`ld -h 2>&1`" in |
| 4379 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4580 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4380 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4581 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4381 *) echo "$ac_t""no" 1>&6 ;; | 4582 *) echo "$ac_t""no" 1>&6 ;; |
| 4382 esac | 4583 esac |
| 4383 fi | 4584 fi |
| 4384 | 4585 |
| 4385 | 4586 |
| 4386 echo "checking "for specified window system"" 1>&6 | 4587 echo "checking "for specified window system"" 1>&6 |
| 4387 echo "configure:4388: checking "for specified window system"" >&5 | 4588 echo "configure:4589: checking "for specified window system"" >&5 |
| 4388 | 4589 |
| 4389 if test "$with_x11" != "no"; then | 4590 if test "$with_x11" != "no"; then |
| 4390 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4591 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4391 window_system=x11 with_x11=yes | 4592 window_system=x11 with_x11=yes |
| 4392 | 4593 |
| 4415 # If we find X, set shell vars x_includes and x_libraries to the | 4616 # If we find X, set shell vars x_includes and x_libraries to the |
| 4416 # paths, otherwise set no_x=yes. | 4617 # paths, otherwise set no_x=yes. |
| 4417 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4618 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4418 # --without-x overrides everything else, but does not touch the cache. | 4619 # --without-x overrides everything else, but does not touch the cache. |
| 4419 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4620 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4420 echo "configure:4421: checking for X" >&5 | 4621 echo "configure:4622: checking for X" >&5 |
| 4421 | 4622 |
| 4422 # Check whether --with-x or --without-x was given. | 4623 # Check whether --with-x or --without-x was given. |
| 4423 if test "${with_x+set}" = set; then | 4624 if test "${with_x+set}" = set; then |
| 4424 withval="$with_x" | 4625 withval="$with_x" |
| 4425 : | 4626 : |
| 4475 # Guess where to find include files, by looking for this one X11 .h file. | 4676 # Guess where to find include files, by looking for this one X11 .h file. |
| 4476 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4677 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4477 | 4678 |
| 4478 # First, try using that file with no special directory specified. | 4679 # First, try using that file with no special directory specified. |
| 4479 cat > conftest.$ac_ext <<EOF | 4680 cat > conftest.$ac_ext <<EOF |
| 4480 #line 4481 "configure" | 4681 #line 4682 "configure" |
| 4481 #include "confdefs.h" | 4682 #include "confdefs.h" |
| 4482 #include <$x_direct_test_include> | 4683 #include <$x_direct_test_include> |
| 4483 EOF | 4684 EOF |
| 4484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4485 { (eval echo configure:4486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4686 { (eval echo configure:4687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4486 ac_err=`grep -v '^ *+' conftest.out` | 4687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4487 if test -z "$ac_err"; then | 4688 if test -z "$ac_err"; then |
| 4488 rm -rf conftest* | 4689 rm -rf conftest* |
| 4489 # We can compile using X headers with no special include directory. | 4690 # We can compile using X headers with no special include directory. |
| 4490 ac_x_includes= | 4691 ac_x_includes= |
| 4491 else | 4692 else |
| 4549 # See if we find them without any special options. | 4750 # See if we find them without any special options. |
| 4550 # Don't add to $LIBS permanently. | 4751 # Don't add to $LIBS permanently. |
| 4551 ac_save_LIBS="$LIBS" | 4752 ac_save_LIBS="$LIBS" |
| 4552 LIBS="-l$x_direct_test_library $LIBS" | 4753 LIBS="-l$x_direct_test_library $LIBS" |
| 4553 cat > conftest.$ac_ext <<EOF | 4754 cat > conftest.$ac_ext <<EOF |
| 4554 #line 4555 "configure" | 4755 #line 4756 "configure" |
| 4555 #include "confdefs.h" | 4756 #include "confdefs.h" |
| 4556 | 4757 |
| 4557 int main() { | 4758 int main() { |
| 4558 ${x_direct_test_function}() | 4759 ${x_direct_test_function}() |
| 4559 ; return 0; } | 4760 ; return 0; } |
| 4560 EOF | 4761 EOF |
| 4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4762 if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4562 rm -rf conftest* | 4763 rm -rf conftest* |
| 4563 LIBS="$ac_save_LIBS" | 4764 LIBS="$ac_save_LIBS" |
| 4564 # We can link X programs with no special library path. | 4765 # We can link X programs with no special library path. |
| 4565 ac_x_libraries= | 4766 ac_x_libraries= |
| 4566 else | 4767 else |
| 4665 # For Solaris; some versions of Sun CC require a space after -R and | 4866 # For Solaris; some versions of Sun CC require a space after -R and |
| 4666 # others require no space. Words are not sufficient . . . . | 4867 # others require no space. Words are not sufficient . . . . |
| 4667 case "`(uname -sr) 2>/dev/null`" in | 4868 case "`(uname -sr) 2>/dev/null`" in |
| 4668 "SunOS 5"*) | 4869 "SunOS 5"*) |
| 4669 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4870 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4670 echo "configure:4671: checking whether -R must be followed by a space" >&5 | 4871 echo "configure:4872: checking whether -R must be followed by a space" >&5 |
| 4671 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4872 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4672 cat > conftest.$ac_ext <<EOF | 4873 cat > conftest.$ac_ext <<EOF |
| 4673 #line 4674 "configure" | 4874 #line 4875 "configure" |
| 4674 #include "confdefs.h" | 4875 #include "confdefs.h" |
| 4675 | 4876 |
| 4676 int main() { | 4877 int main() { |
| 4677 | 4878 |
| 4678 ; return 0; } | 4879 ; return 0; } |
| 4679 EOF | 4880 EOF |
| 4680 if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4881 if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4681 rm -rf conftest* | 4882 rm -rf conftest* |
| 4682 ac_R_nospace=yes | 4883 ac_R_nospace=yes |
| 4683 else | 4884 else |
| 4684 echo "configure: failed program was:" >&5 | 4885 echo "configure: failed program was:" >&5 |
| 4685 cat conftest.$ac_ext >&5 | 4886 cat conftest.$ac_ext >&5 |
| 4691 echo "$ac_t""no" 1>&6 | 4892 echo "$ac_t""no" 1>&6 |
| 4692 X_LIBS="$X_LIBS -R$x_libraries" | 4893 X_LIBS="$X_LIBS -R$x_libraries" |
| 4693 else | 4894 else |
| 4694 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4895 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4695 cat > conftest.$ac_ext <<EOF | 4896 cat > conftest.$ac_ext <<EOF |
| 4696 #line 4697 "configure" | 4897 #line 4898 "configure" |
| 4697 #include "confdefs.h" | 4898 #include "confdefs.h" |
| 4698 | 4899 |
| 4699 int main() { | 4900 int main() { |
| 4700 | 4901 |
| 4701 ; return 0; } | 4902 ; return 0; } |
| 4702 EOF | 4903 EOF |
| 4703 if { (eval echo configure:4704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4704 rm -rf conftest* | 4905 rm -rf conftest* |
| 4705 ac_R_space=yes | 4906 ac_R_space=yes |
| 4706 else | 4907 else |
| 4707 echo "configure: failed program was:" >&5 | 4908 echo "configure: failed program was:" >&5 |
| 4708 cat conftest.$ac_ext >&5 | 4909 cat conftest.$ac_ext >&5 |
| 4734 if test "$with_dnet" = "no" ; then | 4935 if test "$with_dnet" = "no" ; then |
| 4735 ac_cv_lib_dnet_dnet_ntoa=no | 4936 ac_cv_lib_dnet_dnet_ntoa=no |
| 4736 else | 4937 else |
| 4737 | 4938 |
| 4738 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4939 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4739 echo "configure:4740: checking for dnet_ntoa in -ldnet" >&5 | 4940 echo "configure:4941: checking for dnet_ntoa in -ldnet" >&5 |
| 4740 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4941 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4741 | 4942 |
| 4742 xe_check_libs=" -ldnet " | 4943 xe_check_libs=" -ldnet " |
| 4743 cat > conftest.$ac_ext <<EOF | 4944 cat > conftest.$ac_ext <<EOF |
| 4744 #line 4745 "configure" | 4945 #line 4946 "configure" |
| 4745 #include "confdefs.h" | 4946 #include "confdefs.h" |
| 4746 /* Override any gcc2 internal prototype to avoid an error. */ | 4947 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4747 /* We use char because int might match the return type of a gcc2 | 4948 /* We use char because int might match the return type of a gcc2 |
| 4748 builtin and then its argument prototype would still apply. */ | 4949 builtin and then its argument prototype would still apply. */ |
| 4749 char dnet_ntoa(); | 4950 char dnet_ntoa(); |
| 4750 | 4951 |
| 4751 int main() { | 4952 int main() { |
| 4752 dnet_ntoa() | 4953 dnet_ntoa() |
| 4753 ; return 0; } | 4954 ; return 0; } |
| 4754 EOF | 4955 EOF |
| 4755 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4956 if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4756 rm -rf conftest* | 4957 rm -rf conftest* |
| 4757 eval "ac_cv_lib_$ac_lib_var=yes" | 4958 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4758 else | 4959 else |
| 4759 echo "configure: failed program was:" >&5 | 4960 echo "configure: failed program was:" >&5 |
| 4760 cat conftest.$ac_ext >&5 | 4961 cat conftest.$ac_ext >&5 |
| 4774 fi | 4975 fi |
| 4775 | 4976 |
| 4776 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4977 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4777 | 4978 |
| 4778 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4979 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4779 echo "configure:4780: checking for dnet_ntoa in -ldnet_stub" >&5 | 4980 echo "configure:4981: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4780 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4981 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4781 | 4982 |
| 4782 xe_check_libs=" -ldnet_stub " | 4983 xe_check_libs=" -ldnet_stub " |
| 4783 cat > conftest.$ac_ext <<EOF | 4984 cat > conftest.$ac_ext <<EOF |
| 4784 #line 4785 "configure" | 4985 #line 4986 "configure" |
| 4785 #include "confdefs.h" | 4986 #include "confdefs.h" |
| 4786 /* Override any gcc2 internal prototype to avoid an error. */ | 4987 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4787 /* We use char because int might match the return type of a gcc2 | 4988 /* We use char because int might match the return type of a gcc2 |
| 4788 builtin and then its argument prototype would still apply. */ | 4989 builtin and then its argument prototype would still apply. */ |
| 4789 char dnet_ntoa(); | 4990 char dnet_ntoa(); |
| 4790 | 4991 |
| 4791 int main() { | 4992 int main() { |
| 4792 dnet_ntoa() | 4993 dnet_ntoa() |
| 4793 ; return 0; } | 4994 ; return 0; } |
| 4794 EOF | 4995 EOF |
| 4795 if { (eval echo configure:4796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4996 if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4796 rm -rf conftest* | 4997 rm -rf conftest* |
| 4797 eval "ac_cv_lib_$ac_lib_var=yes" | 4998 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4798 else | 4999 else |
| 4799 echo "configure: failed program was:" >&5 | 5000 echo "configure: failed program was:" >&5 |
| 4800 cat conftest.$ac_ext >&5 | 5001 cat conftest.$ac_ext >&5 |
| 4819 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5020 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4820 # needs -lnsl. | 5021 # needs -lnsl. |
| 4821 # The nsl library prevents programs from opening the X display | 5022 # The nsl library prevents programs from opening the X display |
| 4822 # on Irix 5.2, according to dickey@clark.net. | 5023 # on Irix 5.2, according to dickey@clark.net. |
| 4823 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5024 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4824 echo "configure:4825: checking for gethostbyname" >&5 | 5025 echo "configure:5026: checking for gethostbyname" >&5 |
| 4825 | 5026 |
| 4826 cat > conftest.$ac_ext <<EOF | 5027 cat > conftest.$ac_ext <<EOF |
| 4827 #line 4828 "configure" | 5028 #line 5029 "configure" |
| 4828 #include "confdefs.h" | 5029 #include "confdefs.h" |
| 4829 /* System header to define __stub macros and hopefully few prototypes, | 5030 /* System header to define __stub macros and hopefully few prototypes, |
| 4830 which can conflict with char gethostbyname(); below. */ | 5031 which can conflict with char gethostbyname(); below. */ |
| 4831 #include <assert.h> | 5032 #include <assert.h> |
| 4832 /* Override any gcc2 internal prototype to avoid an error. */ | 5033 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4845 gethostbyname(); | 5046 gethostbyname(); |
| 4846 #endif | 5047 #endif |
| 4847 | 5048 |
| 4848 ; return 0; } | 5049 ; return 0; } |
| 4849 EOF | 5050 EOF |
| 4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5051 if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4851 rm -rf conftest* | 5052 rm -rf conftest* |
| 4852 eval "ac_cv_func_gethostbyname=yes" | 5053 eval "ac_cv_func_gethostbyname=yes" |
| 4853 else | 5054 else |
| 4854 echo "configure: failed program was:" >&5 | 5055 echo "configure: failed program was:" >&5 |
| 4855 cat conftest.$ac_ext >&5 | 5056 cat conftest.$ac_ext >&5 |
| 4866 fi | 5067 fi |
| 4867 | 5068 |
| 4868 if test $ac_cv_func_gethostbyname = no; then | 5069 if test $ac_cv_func_gethostbyname = no; then |
| 4869 | 5070 |
| 4870 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5071 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4871 echo "configure:4872: checking for gethostbyname in -lnsl" >&5 | 5072 echo "configure:5073: checking for gethostbyname in -lnsl" >&5 |
| 4872 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5073 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4873 | 5074 |
| 4874 xe_check_libs=" -lnsl " | 5075 xe_check_libs=" -lnsl " |
| 4875 cat > conftest.$ac_ext <<EOF | 5076 cat > conftest.$ac_ext <<EOF |
| 4876 #line 4877 "configure" | 5077 #line 5078 "configure" |
| 4877 #include "confdefs.h" | 5078 #include "confdefs.h" |
| 4878 /* Override any gcc2 internal prototype to avoid an error. */ | 5079 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4879 /* We use char because int might match the return type of a gcc2 | 5080 /* We use char because int might match the return type of a gcc2 |
| 4880 builtin and then its argument prototype would still apply. */ | 5081 builtin and then its argument prototype would still apply. */ |
| 4881 char gethostbyname(); | 5082 char gethostbyname(); |
| 4882 | 5083 |
| 4883 int main() { | 5084 int main() { |
| 4884 gethostbyname() | 5085 gethostbyname() |
| 4885 ; return 0; } | 5086 ; return 0; } |
| 4886 EOF | 5087 EOF |
| 4887 if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5088 if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4888 rm -rf conftest* | 5089 rm -rf conftest* |
| 4889 eval "ac_cv_lib_$ac_lib_var=yes" | 5090 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4890 else | 5091 else |
| 4891 echo "configure: failed program was:" >&5 | 5092 echo "configure: failed program was:" >&5 |
| 4892 cat conftest.$ac_ext >&5 | 5093 cat conftest.$ac_ext >&5 |
| 4912 # on later versions), says simon@lia.di.epfl.ch: it contains | 5113 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4913 # gethostby* variants that don't use the nameserver (or something). | 5114 # gethostby* variants that don't use the nameserver (or something). |
| 4914 # -lsocket must be given before -lnsl if both are needed. | 5115 # -lsocket must be given before -lnsl if both are needed. |
| 4915 # We assume that if connect needs -lnsl, so does gethostbyname. | 5116 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4916 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5117 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4917 echo "configure:4918: checking for connect" >&5 | 5118 echo "configure:5119: checking for connect" >&5 |
| 4918 | 5119 |
| 4919 cat > conftest.$ac_ext <<EOF | 5120 cat > conftest.$ac_ext <<EOF |
| 4920 #line 4921 "configure" | 5121 #line 5122 "configure" |
| 4921 #include "confdefs.h" | 5122 #include "confdefs.h" |
| 4922 /* System header to define __stub macros and hopefully few prototypes, | 5123 /* System header to define __stub macros and hopefully few prototypes, |
| 4923 which can conflict with char connect(); below. */ | 5124 which can conflict with char connect(); below. */ |
| 4924 #include <assert.h> | 5125 #include <assert.h> |
| 4925 /* Override any gcc2 internal prototype to avoid an error. */ | 5126 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4938 connect(); | 5139 connect(); |
| 4939 #endif | 5140 #endif |
| 4940 | 5141 |
| 4941 ; return 0; } | 5142 ; return 0; } |
| 4942 EOF | 5143 EOF |
| 4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5144 if { (eval echo configure:5145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4944 rm -rf conftest* | 5145 rm -rf conftest* |
| 4945 eval "ac_cv_func_connect=yes" | 5146 eval "ac_cv_func_connect=yes" |
| 4946 else | 5147 else |
| 4947 echo "configure: failed program was:" >&5 | 5148 echo "configure: failed program was:" >&5 |
| 4948 cat conftest.$ac_ext >&5 | 5149 cat conftest.$ac_ext >&5 |
| 4961 if test $ac_cv_func_connect = no; then | 5162 if test $ac_cv_func_connect = no; then |
| 4962 | 5163 |
| 4963 xe_msg_checking="for connect in -lsocket" | 5164 xe_msg_checking="for connect in -lsocket" |
| 4964 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5165 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4965 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5166 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4966 echo "configure:4967: checking "$xe_msg_checking"" >&5 | 5167 echo "configure:5168: checking "$xe_msg_checking"" >&5 |
| 4967 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5168 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4968 | 5169 |
| 4969 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5170 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4970 cat > conftest.$ac_ext <<EOF | 5171 cat > conftest.$ac_ext <<EOF |
| 4971 #line 4972 "configure" | 5172 #line 5173 "configure" |
| 4972 #include "confdefs.h" | 5173 #include "confdefs.h" |
| 4973 /* Override any gcc2 internal prototype to avoid an error. */ | 5174 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4974 /* We use char because int might match the return type of a gcc2 | 5175 /* We use char because int might match the return type of a gcc2 |
| 4975 builtin and then its argument prototype would still apply. */ | 5176 builtin and then its argument prototype would still apply. */ |
| 4976 char connect(); | 5177 char connect(); |
| 4977 | 5178 |
| 4978 int main() { | 5179 int main() { |
| 4979 connect() | 5180 connect() |
| 4980 ; return 0; } | 5181 ; return 0; } |
| 4981 EOF | 5182 EOF |
| 4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5183 if { (eval echo configure:5184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4983 rm -rf conftest* | 5184 rm -rf conftest* |
| 4984 eval "ac_cv_lib_$ac_lib_var=yes" | 5185 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4985 else | 5186 else |
| 4986 echo "configure: failed program was:" >&5 | 5187 echo "configure: failed program was:" >&5 |
| 4987 cat conftest.$ac_ext >&5 | 5188 cat conftest.$ac_ext >&5 |
| 5001 | 5202 |
| 5002 fi | 5203 fi |
| 5003 | 5204 |
| 5004 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5205 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 5005 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5206 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 5006 echo "configure:5007: checking for remove" >&5 | 5207 echo "configure:5208: checking for remove" >&5 |
| 5007 | 5208 |
| 5008 cat > conftest.$ac_ext <<EOF | 5209 cat > conftest.$ac_ext <<EOF |
| 5009 #line 5010 "configure" | 5210 #line 5211 "configure" |
| 5010 #include "confdefs.h" | 5211 #include "confdefs.h" |
| 5011 /* System header to define __stub macros and hopefully few prototypes, | 5212 /* System header to define __stub macros and hopefully few prototypes, |
| 5012 which can conflict with char remove(); below. */ | 5213 which can conflict with char remove(); below. */ |
| 5013 #include <assert.h> | 5214 #include <assert.h> |
| 5014 /* Override any gcc2 internal prototype to avoid an error. */ | 5215 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5027 remove(); | 5228 remove(); |
| 5028 #endif | 5229 #endif |
| 5029 | 5230 |
| 5030 ; return 0; } | 5231 ; return 0; } |
| 5031 EOF | 5232 EOF |
| 5032 if { (eval echo configure:5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5233 if { (eval echo configure:5234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5033 rm -rf conftest* | 5234 rm -rf conftest* |
| 5034 eval "ac_cv_func_remove=yes" | 5235 eval "ac_cv_func_remove=yes" |
| 5035 else | 5236 else |
| 5036 echo "configure: failed program was:" >&5 | 5237 echo "configure: failed program was:" >&5 |
| 5037 cat conftest.$ac_ext >&5 | 5238 cat conftest.$ac_ext >&5 |
| 5048 fi | 5249 fi |
| 5049 | 5250 |
| 5050 if test $ac_cv_func_remove = no; then | 5251 if test $ac_cv_func_remove = no; then |
| 5051 | 5252 |
| 5052 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5253 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 5053 echo "configure:5054: checking for remove in -lposix" >&5 | 5254 echo "configure:5255: checking for remove in -lposix" >&5 |
| 5054 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5255 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 5055 | 5256 |
| 5056 xe_check_libs=" -lposix " | 5257 xe_check_libs=" -lposix " |
| 5057 cat > conftest.$ac_ext <<EOF | 5258 cat > conftest.$ac_ext <<EOF |
| 5058 #line 5059 "configure" | 5259 #line 5260 "configure" |
| 5059 #include "confdefs.h" | 5260 #include "confdefs.h" |
| 5060 /* Override any gcc2 internal prototype to avoid an error. */ | 5261 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5061 /* We use char because int might match the return type of a gcc2 | 5262 /* We use char because int might match the return type of a gcc2 |
| 5062 builtin and then its argument prototype would still apply. */ | 5263 builtin and then its argument prototype would still apply. */ |
| 5063 char remove(); | 5264 char remove(); |
| 5064 | 5265 |
| 5065 int main() { | 5266 int main() { |
| 5066 remove() | 5267 remove() |
| 5067 ; return 0; } | 5268 ; return 0; } |
| 5068 EOF | 5269 EOF |
| 5069 if { (eval echo configure:5070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5270 if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5070 rm -rf conftest* | 5271 rm -rf conftest* |
| 5071 eval "ac_cv_lib_$ac_lib_var=yes" | 5272 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5072 else | 5273 else |
| 5073 echo "configure: failed program was:" >&5 | 5274 echo "configure: failed program was:" >&5 |
| 5074 cat conftest.$ac_ext >&5 | 5275 cat conftest.$ac_ext >&5 |
| 5088 | 5289 |
| 5089 fi | 5290 fi |
| 5090 | 5291 |
| 5091 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5292 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 5092 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5293 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 5093 echo "configure:5094: checking for shmat" >&5 | 5294 echo "configure:5295: checking for shmat" >&5 |
| 5094 | 5295 |
| 5095 cat > conftest.$ac_ext <<EOF | 5296 cat > conftest.$ac_ext <<EOF |
| 5096 #line 5097 "configure" | 5297 #line 5298 "configure" |
| 5097 #include "confdefs.h" | 5298 #include "confdefs.h" |
| 5098 /* System header to define __stub macros and hopefully few prototypes, | 5299 /* System header to define __stub macros and hopefully few prototypes, |
| 5099 which can conflict with char shmat(); below. */ | 5300 which can conflict with char shmat(); below. */ |
| 5100 #include <assert.h> | 5301 #include <assert.h> |
| 5101 /* Override any gcc2 internal prototype to avoid an error. */ | 5302 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5114 shmat(); | 5315 shmat(); |
| 5115 #endif | 5316 #endif |
| 5116 | 5317 |
| 5117 ; return 0; } | 5318 ; return 0; } |
| 5118 EOF | 5319 EOF |
| 5119 if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5320 if { (eval echo configure:5321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5120 rm -rf conftest* | 5321 rm -rf conftest* |
| 5121 eval "ac_cv_func_shmat=yes" | 5322 eval "ac_cv_func_shmat=yes" |
| 5122 else | 5323 else |
| 5123 echo "configure: failed program was:" >&5 | 5324 echo "configure: failed program was:" >&5 |
| 5124 cat conftest.$ac_ext >&5 | 5325 cat conftest.$ac_ext >&5 |
| 5135 fi | 5336 fi |
| 5136 | 5337 |
| 5137 if test $ac_cv_func_shmat = no; then | 5338 if test $ac_cv_func_shmat = no; then |
| 5138 | 5339 |
| 5139 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5340 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 5140 echo "configure:5141: checking for shmat in -lipc" >&5 | 5341 echo "configure:5342: checking for shmat in -lipc" >&5 |
| 5141 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5342 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 5142 | 5343 |
| 5143 xe_check_libs=" -lipc " | 5344 xe_check_libs=" -lipc " |
| 5144 cat > conftest.$ac_ext <<EOF | 5345 cat > conftest.$ac_ext <<EOF |
| 5145 #line 5146 "configure" | 5346 #line 5347 "configure" |
| 5146 #include "confdefs.h" | 5347 #include "confdefs.h" |
| 5147 /* Override any gcc2 internal prototype to avoid an error. */ | 5348 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5148 /* We use char because int might match the return type of a gcc2 | 5349 /* We use char because int might match the return type of a gcc2 |
| 5149 builtin and then its argument prototype would still apply. */ | 5350 builtin and then its argument prototype would still apply. */ |
| 5150 char shmat(); | 5351 char shmat(); |
| 5151 | 5352 |
| 5152 int main() { | 5353 int main() { |
| 5153 shmat() | 5354 shmat() |
| 5154 ; return 0; } | 5355 ; return 0; } |
| 5155 EOF | 5356 EOF |
| 5156 if { (eval echo configure:5157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5357 if { (eval echo configure:5358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5157 rm -rf conftest* | 5358 rm -rf conftest* |
| 5158 eval "ac_cv_lib_$ac_lib_var=yes" | 5359 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5159 else | 5360 else |
| 5160 echo "configure: failed program was:" >&5 | 5361 echo "configure: failed program was:" >&5 |
| 5161 cat conftest.$ac_ext >&5 | 5362 cat conftest.$ac_ext >&5 |
| 5184 # we get undefined symbols. So assume we have SM if we have ICE. | 5385 # we get undefined symbols. So assume we have SM if we have ICE. |
| 5185 # These have to be linked with before -lX11, unlike the other | 5386 # These have to be linked with before -lX11, unlike the other |
| 5186 # libraries we check for below, so use a different variable. | 5387 # libraries we check for below, so use a different variable. |
| 5187 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5388 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 5188 | 5389 |
| 5189 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5390 xe_msg_checking="for IceConnectionNumber in -lICE" |
| 5190 echo "configure:5191: checking for IceConnectionNumber in -lICE" >&5 | 5391 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 5392 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
| 5393 echo "configure:5394: checking "$xe_msg_checking"" >&5 | |
| 5191 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5394 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 5192 | 5395 |
| 5193 xe_check_libs=" -lICE " | 5396 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
| 5194 cat > conftest.$ac_ext <<EOF | 5397 cat > conftest.$ac_ext <<EOF |
| 5195 #line 5196 "configure" | 5398 #line 5399 "configure" |
| 5196 #include "confdefs.h" | 5399 #include "confdefs.h" |
| 5197 /* Override any gcc2 internal prototype to avoid an error. */ | 5400 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5198 /* We use char because int might match the return type of a gcc2 | 5401 /* We use char because int might match the return type of a gcc2 |
| 5199 builtin and then its argument prototype would still apply. */ | 5402 builtin and then its argument prototype would still apply. */ |
| 5200 char IceConnectionNumber(); | 5403 char IceConnectionNumber(); |
| 5201 | 5404 |
| 5202 int main() { | 5405 int main() { |
| 5203 IceConnectionNumber() | 5406 IceConnectionNumber() |
| 5204 ; return 0; } | 5407 ; return 0; } |
| 5205 EOF | 5408 EOF |
| 5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5409 if { (eval echo configure:5410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5207 rm -rf conftest* | 5410 rm -rf conftest* |
| 5208 eval "ac_cv_lib_$ac_lib_var=yes" | 5411 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5209 else | 5412 else |
| 5210 echo "configure: failed program was:" >&5 | 5413 echo "configure: failed program was:" >&5 |
| 5211 cat conftest.$ac_ext >&5 | 5414 cat conftest.$ac_ext >&5 |
| 5370 EOF | 5573 EOF |
| 5371 } | 5574 } |
| 5372 | 5575 |
| 5373 | 5576 |
| 5374 echo "checking for X defines extracted by xmkmf" 1>&6 | 5577 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5375 echo "configure:5376: checking for X defines extracted by xmkmf" >&5 | 5578 echo "configure:5579: checking for X defines extracted by xmkmf" >&5 |
| 5376 rm -fr conftestdir | 5579 rm -fr conftestdir |
| 5377 if mkdir conftestdir; then | 5580 if mkdir conftestdir; then |
| 5378 cd conftestdir | 5581 cd conftestdir |
| 5379 cat > Imakefile <<'EOF' | 5582 cat > Imakefile <<'EOF' |
| 5380 xetest: | 5583 xetest: |
| 5402 done | 5605 done |
| 5403 fi | 5606 fi |
| 5404 | 5607 |
| 5405 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5608 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5406 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5609 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5407 echo "configure:5408: checking for X11/Intrinsic.h" >&5 | 5610 echo "configure:5611: checking for X11/Intrinsic.h" >&5 |
| 5408 | 5611 |
| 5409 cat > conftest.$ac_ext <<EOF | 5612 cat > conftest.$ac_ext <<EOF |
| 5410 #line 5411 "configure" | 5613 #line 5614 "configure" |
| 5411 #include "confdefs.h" | 5614 #include "confdefs.h" |
| 5412 #include <X11/Intrinsic.h> | 5615 #include <X11/Intrinsic.h> |
| 5413 EOF | 5616 EOF |
| 5414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5415 { (eval echo configure:5416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5618 { (eval echo configure:5619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5416 ac_err=`grep -v '^ *+' conftest.out` | 5619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5417 if test -z "$ac_err"; then | 5620 if test -z "$ac_err"; then |
| 5418 rm -rf conftest* | 5621 rm -rf conftest* |
| 5419 eval "ac_cv_header_$ac_safe=yes" | 5622 eval "ac_cv_header_$ac_safe=yes" |
| 5420 else | 5623 else |
| 5421 echo "$ac_err" >&5 | 5624 echo "$ac_err" >&5 |
| 5434 fi | 5637 fi |
| 5435 | 5638 |
| 5436 | 5639 |
| 5437 | 5640 |
| 5438 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5641 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5439 echo "configure:5440: checking for XOpenDisplay in -lX11" >&5 | 5642 echo "configure:5643: checking for XOpenDisplay in -lX11" >&5 |
| 5440 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5643 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5441 | 5644 |
| 5442 xe_check_libs=" -lX11 " | 5645 xe_check_libs=" -lX11 " |
| 5443 cat > conftest.$ac_ext <<EOF | 5646 cat > conftest.$ac_ext <<EOF |
| 5444 #line 5445 "configure" | 5647 #line 5648 "configure" |
| 5445 #include "confdefs.h" | 5648 #include "confdefs.h" |
| 5446 /* Override any gcc2 internal prototype to avoid an error. */ | 5649 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5447 /* We use char because int might match the return type of a gcc2 | 5650 /* We use char because int might match the return type of a gcc2 |
| 5448 builtin and then its argument prototype would still apply. */ | 5651 builtin and then its argument prototype would still apply. */ |
| 5449 char XOpenDisplay(); | 5652 char XOpenDisplay(); |
| 5450 | 5653 |
| 5451 int main() { | 5654 int main() { |
| 5452 XOpenDisplay() | 5655 XOpenDisplay() |
| 5453 ; return 0; } | 5656 ; return 0; } |
| 5454 EOF | 5657 EOF |
| 5455 if { (eval echo configure:5456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5658 if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5456 rm -rf conftest* | 5659 rm -rf conftest* |
| 5457 eval "ac_cv_lib_$ac_lib_var=yes" | 5660 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5458 else | 5661 else |
| 5459 echo "configure: failed program was:" >&5 | 5662 echo "configure: failed program was:" >&5 |
| 5460 cat conftest.$ac_ext >&5 | 5663 cat conftest.$ac_ext >&5 |
| 5475 if test "$have_lib_x11" != "yes"; then | 5678 if test "$have_lib_x11" != "yes"; then |
| 5476 | 5679 |
| 5477 xe_msg_checking="for XGetFontProperty in -lX11" | 5680 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5478 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5681 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5479 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5682 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5480 echo "configure:5481: checking "$xe_msg_checking"" >&5 | 5683 echo "configure:5684: checking "$xe_msg_checking"" >&5 |
| 5481 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5684 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5482 | 5685 |
| 5483 xe_check_libs=" -lX11 -b i486-linuxaout" | 5686 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5484 cat > conftest.$ac_ext <<EOF | 5687 cat > conftest.$ac_ext <<EOF |
| 5485 #line 5486 "configure" | 5688 #line 5689 "configure" |
| 5486 #include "confdefs.h" | 5689 #include "confdefs.h" |
| 5487 /* Override any gcc2 internal prototype to avoid an error. */ | 5690 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5488 /* We use char because int might match the return type of a gcc2 | 5691 /* We use char because int might match the return type of a gcc2 |
| 5489 builtin and then its argument prototype would still apply. */ | 5692 builtin and then its argument prototype would still apply. */ |
| 5490 char XGetFontProperty(); | 5693 char XGetFontProperty(); |
| 5491 | 5694 |
| 5492 int main() { | 5695 int main() { |
| 5493 XGetFontProperty() | 5696 XGetFontProperty() |
| 5494 ; return 0; } | 5697 ; return 0; } |
| 5495 EOF | 5698 EOF |
| 5496 if { (eval echo configure:5497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5699 if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5497 rm -rf conftest* | 5700 rm -rf conftest* |
| 5498 eval "ac_cv_lib_$ac_lib_var=yes" | 5701 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5499 else | 5702 else |
| 5500 echo "configure: failed program was:" >&5 | 5703 echo "configure: failed program was:" >&5 |
| 5501 cat conftest.$ac_ext >&5 | 5704 cat conftest.$ac_ext >&5 |
| 5518 libs_x="-lX11" | 5721 libs_x="-lX11" |
| 5519 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5722 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5520 | 5723 |
| 5521 | 5724 |
| 5522 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5725 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5523 echo "configure:5524: checking for XShapeSelectInput in -lXext" >&5 | 5726 echo "configure:5727: checking for XShapeSelectInput in -lXext" >&5 |
| 5524 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5727 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5525 | 5728 |
| 5526 xe_check_libs=" -lXext " | 5729 xe_check_libs=" -lXext " |
| 5527 cat > conftest.$ac_ext <<EOF | 5730 cat > conftest.$ac_ext <<EOF |
| 5528 #line 5529 "configure" | 5731 #line 5732 "configure" |
| 5529 #include "confdefs.h" | 5732 #include "confdefs.h" |
| 5530 /* Override any gcc2 internal prototype to avoid an error. */ | 5733 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5531 /* We use char because int might match the return type of a gcc2 | 5734 /* We use char because int might match the return type of a gcc2 |
| 5532 builtin and then its argument prototype would still apply. */ | 5735 builtin and then its argument prototype would still apply. */ |
| 5533 char XShapeSelectInput(); | 5736 char XShapeSelectInput(); |
| 5534 | 5737 |
| 5535 int main() { | 5738 int main() { |
| 5536 XShapeSelectInput() | 5739 XShapeSelectInput() |
| 5537 ; return 0; } | 5740 ; return 0; } |
| 5538 EOF | 5741 EOF |
| 5539 if { (eval echo configure:5540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5742 if { (eval echo configure:5743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5540 rm -rf conftest* | 5743 rm -rf conftest* |
| 5541 eval "ac_cv_lib_$ac_lib_var=yes" | 5744 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5542 else | 5745 else |
| 5543 echo "configure: failed program was:" >&5 | 5746 echo "configure: failed program was:" >&5 |
| 5544 cat conftest.$ac_ext >&5 | 5747 cat conftest.$ac_ext >&5 |
| 5557 | 5760 |
| 5558 | 5761 |
| 5559 | 5762 |
| 5560 | 5763 |
| 5561 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5764 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5562 echo "configure:5563: checking for XtOpenDisplay in -lXt" >&5 | 5765 echo "configure:5766: checking for XtOpenDisplay in -lXt" >&5 |
| 5563 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5766 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5564 | 5767 |
| 5565 xe_check_libs=" -lXt " | 5768 xe_check_libs=" -lXt " |
| 5566 cat > conftest.$ac_ext <<EOF | 5769 cat > conftest.$ac_ext <<EOF |
| 5567 #line 5568 "configure" | 5770 #line 5771 "configure" |
| 5568 #include "confdefs.h" | 5771 #include "confdefs.h" |
| 5569 /* Override any gcc2 internal prototype to avoid an error. */ | 5772 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5570 /* We use char because int might match the return type of a gcc2 | 5773 /* We use char because int might match the return type of a gcc2 |
| 5571 builtin and then its argument prototype would still apply. */ | 5774 builtin and then its argument prototype would still apply. */ |
| 5572 char XtOpenDisplay(); | 5775 char XtOpenDisplay(); |
| 5573 | 5776 |
| 5574 int main() { | 5777 int main() { |
| 5575 XtOpenDisplay() | 5778 XtOpenDisplay() |
| 5576 ; return 0; } | 5779 ; return 0; } |
| 5577 EOF | 5780 EOF |
| 5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5781 if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5579 rm -rf conftest* | 5782 rm -rf conftest* |
| 5580 eval "ac_cv_lib_$ac_lib_var=yes" | 5783 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5581 else | 5784 else |
| 5582 echo "configure: failed program was:" >&5 | 5785 echo "configure: failed program was:" >&5 |
| 5583 cat conftest.$ac_ext >&5 | 5786 cat conftest.$ac_ext >&5 |
| 5596 fi | 5799 fi |
| 5597 | 5800 |
| 5598 | 5801 |
| 5599 | 5802 |
| 5600 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5803 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5601 echo "configure:5602: checking the version of X11 being used" >&5 | 5804 echo "configure:5805: checking the version of X11 being used" >&5 |
| 5602 cat > conftest.$ac_ext <<EOF | 5805 cat > conftest.$ac_ext <<EOF |
| 5603 #line 5604 "configure" | 5806 #line 5807 "configure" |
| 5604 #include "confdefs.h" | 5807 #include "confdefs.h" |
| 5605 #include <X11/Intrinsic.h> | 5808 #include <X11/Intrinsic.h> |
| 5606 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5809 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5607 EOF | 5810 EOF |
| 5608 if { (eval echo configure:5609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5811 if { (eval echo configure:5812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 5609 then | 5812 then |
| 5610 ./conftest foobar; x11_release=$? | 5813 ./conftest foobar; x11_release=$? |
| 5611 else | 5814 else |
| 5612 conftest_rc="$?" | 5815 conftest_rc="$?" |
| 5613 echo "configure: failed program was:" >&5 | 5816 echo "configure: failed program was:" >&5 |
| 5628 | 5831 |
| 5629 for ac_hdr in X11/Xlocale.h | 5832 for ac_hdr in X11/Xlocale.h |
| 5630 do | 5833 do |
| 5631 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5834 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5632 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5835 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5633 echo "configure:5634: checking for $ac_hdr" >&5 | 5836 echo "configure:5837: checking for $ac_hdr" >&5 |
| 5634 | 5837 |
| 5635 cat > conftest.$ac_ext <<EOF | 5838 cat > conftest.$ac_ext <<EOF |
| 5636 #line 5637 "configure" | 5839 #line 5840 "configure" |
| 5637 #include "confdefs.h" | 5840 #include "confdefs.h" |
| 5638 #include <$ac_hdr> | 5841 #include <$ac_hdr> |
| 5639 EOF | 5842 EOF |
| 5640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5641 { (eval echo configure:5642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5844 { (eval echo configure:5845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5642 ac_err=`grep -v '^ *+' conftest.out` | 5845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5643 if test -z "$ac_err"; then | 5846 if test -z "$ac_err"; then |
| 5644 rm -rf conftest* | 5847 rm -rf conftest* |
| 5645 eval "ac_cv_header_$ac_safe=yes" | 5848 eval "ac_cv_header_$ac_safe=yes" |
| 5646 else | 5849 else |
| 5647 echo "$ac_err" >&5 | 5850 echo "$ac_err" >&5 |
| 5667 fi | 5870 fi |
| 5668 done | 5871 done |
| 5669 | 5872 |
| 5670 | 5873 |
| 5671 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5874 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5672 echo "configure:5673: checking for XFree86" >&5 | 5875 echo "configure:5876: checking for XFree86" >&5 |
| 5673 if test -d "/usr/X386/include" -o \ | 5876 if test -d "/usr/X386/include" -o \ |
| 5674 -f "/etc/XF86Config" -o \ | 5877 -f "/etc/XF86Config" -o \ |
| 5675 -f "/etc/X11/XF86Config" -o \ | 5878 -f "/etc/X11/XF86Config" -o \ |
| 5676 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5879 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5677 echo "$ac_t""yes" 1>&6 | 5880 echo "$ac_t""yes" 1>&6 |
| 5687 echo "$ac_t""no" 1>&6 | 5890 echo "$ac_t""no" 1>&6 |
| 5688 fi | 5891 fi |
| 5689 | 5892 |
| 5690 test -z "$with_xmu" && { | 5893 test -z "$with_xmu" && { |
| 5691 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5894 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5692 echo "configure:5693: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5895 echo "configure:5896: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5693 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5896 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5694 | 5897 |
| 5695 xe_check_libs=" -lXmu " | 5898 xe_check_libs=" -lXmu " |
| 5696 cat > conftest.$ac_ext <<EOF | 5899 cat > conftest.$ac_ext <<EOF |
| 5697 #line 5698 "configure" | 5900 #line 5901 "configure" |
| 5698 #include "confdefs.h" | 5901 #include "confdefs.h" |
| 5699 /* Override any gcc2 internal prototype to avoid an error. */ | 5902 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5700 /* We use char because int might match the return type of a gcc2 | 5903 /* We use char because int might match the return type of a gcc2 |
| 5701 builtin and then its argument prototype would still apply. */ | 5904 builtin and then its argument prototype would still apply. */ |
| 5702 char XmuReadBitmapDataFromFile(); | 5905 char XmuReadBitmapDataFromFile(); |
| 5703 | 5906 |
| 5704 int main() { | 5907 int main() { |
| 5705 XmuReadBitmapDataFromFile() | 5908 XmuReadBitmapDataFromFile() |
| 5706 ; return 0; } | 5909 ; return 0; } |
| 5707 EOF | 5910 EOF |
| 5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5911 if { (eval echo configure:5912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5709 rm -rf conftest* | 5912 rm -rf conftest* |
| 5710 eval "ac_cv_lib_$ac_lib_var=yes" | 5913 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5711 else | 5914 else |
| 5712 echo "configure: failed program was:" >&5 | 5915 echo "configure: failed program was:" >&5 |
| 5713 cat conftest.$ac_ext >&5 | 5916 cat conftest.$ac_ext >&5 |
| 5742 | 5945 |
| 5743 fi | 5946 fi |
| 5744 | 5947 |
| 5745 | 5948 |
| 5746 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5949 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5747 echo "configure:5748: checking for main in -lXbsd" >&5 | 5950 echo "configure:5951: checking for main in -lXbsd" >&5 |
| 5748 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5951 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5749 | 5952 |
| 5750 xe_check_libs=" -lXbsd " | 5953 xe_check_libs=" -lXbsd " |
| 5751 cat > conftest.$ac_ext <<EOF | 5954 cat > conftest.$ac_ext <<EOF |
| 5752 #line 5753 "configure" | 5955 #line 5956 "configure" |
| 5753 #include "confdefs.h" | 5956 #include "confdefs.h" |
| 5754 | 5957 |
| 5755 int main() { | 5958 int main() { |
| 5756 main() | 5959 main() |
| 5757 ; return 0; } | 5960 ; return 0; } |
| 5758 EOF | 5961 EOF |
| 5759 if { (eval echo configure:5760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5962 if { (eval echo configure:5963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5760 rm -rf conftest* | 5963 rm -rf conftest* |
| 5761 eval "ac_cv_lib_$ac_lib_var=yes" | 5964 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5762 else | 5965 else |
| 5763 echo "configure: failed program was:" >&5 | 5966 echo "configure: failed program was:" >&5 |
| 5764 cat conftest.$ac_ext >&5 | 5967 cat conftest.$ac_ext >&5 |
| 5791 fi | 5994 fi |
| 5792 | 5995 |
| 5793 fi | 5996 fi |
| 5794 if test "$with_msw" != "no"; then | 5997 if test "$with_msw" != "no"; then |
| 5795 echo "checking for MS-Windows" 1>&6 | 5998 echo "checking for MS-Windows" 1>&6 |
| 5796 echo "configure:5797: checking for MS-Windows" >&5 | 5999 echo "configure:6000: checking for MS-Windows" >&5 |
| 5797 | 6000 |
| 5798 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6001 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 5799 echo "configure:5800: checking for main in -lgdi32" >&5 | 6002 echo "configure:6003: checking for main in -lgdi32" >&5 |
| 5800 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6003 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 5801 | 6004 |
| 5802 xe_check_libs=" -lgdi32 " | 6005 xe_check_libs=" -lgdi32 " |
| 5803 cat > conftest.$ac_ext <<EOF | 6006 cat > conftest.$ac_ext <<EOF |
| 5804 #line 5805 "configure" | 6007 #line 6008 "configure" |
| 5805 #include "confdefs.h" | 6008 #include "confdefs.h" |
| 5806 | 6009 |
| 5807 int main() { | 6010 int main() { |
| 5808 main() | 6011 main() |
| 5809 ; return 0; } | 6012 ; return 0; } |
| 5810 EOF | 6013 EOF |
| 5811 if { (eval echo configure:5812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6014 if { (eval echo configure:6015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5812 rm -rf conftest* | 6015 rm -rf conftest* |
| 5813 eval "ac_cv_lib_$ac_lib_var=yes" | 6016 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5814 else | 6017 else |
| 5815 echo "configure: failed program was:" >&5 | 6018 echo "configure: failed program was:" >&5 |
| 5816 cat conftest.$ac_ext >&5 | 6019 cat conftest.$ac_ext >&5 |
| 5871 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6074 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5872 echo " xemacs will be linked with \"dialog-msw.o\"" | 6075 echo " xemacs will be linked with \"dialog-msw.o\"" |
| 5873 fi | 6076 fi |
| 5874 fi | 6077 fi |
| 5875 cat > conftest.$ac_ext <<EOF | 6078 cat > conftest.$ac_ext <<EOF |
| 5876 #line 5877 "configure" | 6079 #line 6080 "configure" |
| 5877 #include "confdefs.h" | 6080 #include "confdefs.h" |
| 5878 #include <fcntl.h> | 6081 #include <fcntl.h> |
| 5879 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6082 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 5880 EOF | 6083 EOF |
| 5881 if { (eval echo configure:5882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6084 if { (eval echo configure:6085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 5882 then | 6085 then |
| 5883 { test "$extra_verbose" = "yes" && cat << \EOF | 6086 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5884 Defining HAVE_MSG_SELECT | 6087 Defining HAVE_MSG_SELECT |
| 5885 EOF | 6088 EOF |
| 5886 cat >> confdefs.h <<\EOF | 6089 cat >> confdefs.h <<\EOF |
| 5952 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6155 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5953 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6156 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5954 esac | 6157 esac |
| 5955 | 6158 |
| 5956 echo "checking for WM_COMMAND option" 1>&6 | 6159 echo "checking for WM_COMMAND option" 1>&6 |
| 5957 echo "configure:5958: checking for WM_COMMAND option" >&5; | 6160 echo "configure:6161: checking for WM_COMMAND option" >&5; |
| 5958 if test "$with_wmcommand" != "no"; then | 6161 if test "$with_wmcommand" != "no"; then |
| 5959 { test "$extra_verbose" = "yes" && cat << \EOF | 6162 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5960 Defining HAVE_WMCOMMAND | 6163 Defining HAVE_WMCOMMAND |
| 5961 EOF | 6164 EOF |
| 5962 cat >> confdefs.h <<\EOF | 6165 cat >> confdefs.h <<\EOF |
| 5967 fi | 6170 fi |
| 5968 | 6171 |
| 5969 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6172 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5970 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6173 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5971 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6174 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5972 echo "configure:5973: checking for X11/Xauth.h" >&5 | 6175 echo "configure:6176: checking for X11/Xauth.h" >&5 |
| 5973 | 6176 |
| 5974 cat > conftest.$ac_ext <<EOF | 6177 cat > conftest.$ac_ext <<EOF |
| 5975 #line 5976 "configure" | 6178 #line 6179 "configure" |
| 5976 #include "confdefs.h" | 6179 #include "confdefs.h" |
| 5977 #include <X11/Xauth.h> | 6180 #include <X11/Xauth.h> |
| 5978 EOF | 6181 EOF |
| 5979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6182 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5980 { (eval echo configure:5981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6183 { (eval echo configure:6184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5981 ac_err=`grep -v '^ *+' conftest.out` | 6184 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5982 if test -z "$ac_err"; then | 6185 if test -z "$ac_err"; then |
| 5983 rm -rf conftest* | 6186 rm -rf conftest* |
| 5984 eval "ac_cv_header_$ac_safe=yes" | 6187 eval "ac_cv_header_$ac_safe=yes" |
| 5985 else | 6188 else |
| 5986 echo "$ac_err" >&5 | 6189 echo "$ac_err" >&5 |
| 5998 with_xauth=no | 6201 with_xauth=no |
| 5999 fi | 6202 fi |
| 6000 } | 6203 } |
| 6001 test -z "$with_xauth" && { | 6204 test -z "$with_xauth" && { |
| 6002 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6205 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 6003 echo "configure:6004: checking for XauGetAuthByAddr in -lXau" >&5 | 6206 echo "configure:6207: checking for XauGetAuthByAddr in -lXau" >&5 |
| 6004 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6207 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 6005 | 6208 |
| 6006 xe_check_libs=" -lXau " | 6209 xe_check_libs=" -lXau " |
| 6007 cat > conftest.$ac_ext <<EOF | 6210 cat > conftest.$ac_ext <<EOF |
| 6008 #line 6009 "configure" | 6211 #line 6212 "configure" |
| 6009 #include "confdefs.h" | 6212 #include "confdefs.h" |
| 6010 /* Override any gcc2 internal prototype to avoid an error. */ | 6213 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6011 /* We use char because int might match the return type of a gcc2 | 6214 /* We use char because int might match the return type of a gcc2 |
| 6012 builtin and then its argument prototype would still apply. */ | 6215 builtin and then its argument prototype would still apply. */ |
| 6013 char XauGetAuthByAddr(); | 6216 char XauGetAuthByAddr(); |
| 6014 | 6217 |
| 6015 int main() { | 6218 int main() { |
| 6016 XauGetAuthByAddr() | 6219 XauGetAuthByAddr() |
| 6017 ; return 0; } | 6220 ; return 0; } |
| 6018 EOF | 6221 EOF |
| 6019 if { (eval echo configure:6020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6222 if { (eval echo configure:6223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6020 rm -rf conftest* | 6223 rm -rf conftest* |
| 6021 eval "ac_cv_lib_$ac_lib_var=yes" | 6224 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6022 else | 6225 else |
| 6023 echo "configure: failed program was:" >&5 | 6226 echo "configure: failed program was:" >&5 |
| 6024 cat conftest.$ac_ext >&5 | 6227 cat conftest.$ac_ext >&5 |
| 6059 | 6262 |
| 6060 if test "$with_tooltalk" != "no" ; then | 6263 if test "$with_tooltalk" != "no" ; then |
| 6061 for dir in "" "Tt/" "desktop/" ; do | 6264 for dir in "" "Tt/" "desktop/" ; do |
| 6062 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6265 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 6063 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6266 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 6064 echo "configure:6065: checking for ${dir}tt_c.h" >&5 | 6267 echo "configure:6268: checking for ${dir}tt_c.h" >&5 |
| 6065 | 6268 |
| 6066 cat > conftest.$ac_ext <<EOF | 6269 cat > conftest.$ac_ext <<EOF |
| 6067 #line 6068 "configure" | 6270 #line 6271 "configure" |
| 6068 #include "confdefs.h" | 6271 #include "confdefs.h" |
| 6069 #include <${dir}tt_c.h> | 6272 #include <${dir}tt_c.h> |
| 6070 EOF | 6273 EOF |
| 6071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6072 { (eval echo configure:6073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6275 { (eval echo configure:6276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6073 ac_err=`grep -v '^ *+' conftest.out` | 6276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6074 if test -z "$ac_err"; then | 6277 if test -z "$ac_err"; then |
| 6075 rm -rf conftest* | 6278 rm -rf conftest* |
| 6076 eval "ac_cv_header_$ac_safe=yes" | 6279 eval "ac_cv_header_$ac_safe=yes" |
| 6077 else | 6280 else |
| 6078 echo "$ac_err" >&5 | 6281 echo "$ac_err" >&5 |
| 6103 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6306 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 6104 | 6307 |
| 6105 xe_msg_checking="for tt_message_create in -ltt" | 6308 xe_msg_checking="for tt_message_create in -ltt" |
| 6106 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6309 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6107 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6310 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6108 echo "configure:6109: checking "$xe_msg_checking"" >&5 | 6311 echo "configure:6312: checking "$xe_msg_checking"" >&5 |
| 6109 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6312 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 6110 | 6313 |
| 6111 xe_check_libs=" -ltt $extra_libs" | 6314 xe_check_libs=" -ltt $extra_libs" |
| 6112 cat > conftest.$ac_ext <<EOF | 6315 cat > conftest.$ac_ext <<EOF |
| 6113 #line 6114 "configure" | 6316 #line 6317 "configure" |
| 6114 #include "confdefs.h" | 6317 #include "confdefs.h" |
| 6115 /* Override any gcc2 internal prototype to avoid an error. */ | 6318 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6116 /* We use char because int might match the return type of a gcc2 | 6319 /* We use char because int might match the return type of a gcc2 |
| 6117 builtin and then its argument prototype would still apply. */ | 6320 builtin and then its argument prototype would still apply. */ |
| 6118 char tt_message_create(); | 6321 char tt_message_create(); |
| 6119 | 6322 |
| 6120 int main() { | 6323 int main() { |
| 6121 tt_message_create() | 6324 tt_message_create() |
| 6122 ; return 0; } | 6325 ; return 0; } |
| 6123 EOF | 6326 EOF |
| 6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6327 if { (eval echo configure:6328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6125 rm -rf conftest* | 6328 rm -rf conftest* |
| 6126 eval "ac_cv_lib_$ac_lib_var=yes" | 6329 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6127 else | 6330 else |
| 6128 echo "configure: failed program was:" >&5 | 6331 echo "configure: failed program was:" >&5 |
| 6129 cat conftest.$ac_ext >&5 | 6332 cat conftest.$ac_ext >&5 |
| 6176 fi | 6379 fi |
| 6177 fi | 6380 fi |
| 6178 | 6381 |
| 6179 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6382 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 6180 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6383 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 6181 echo "configure:6182: checking for Dt/Dt.h" >&5 | 6384 echo "configure:6385: checking for Dt/Dt.h" >&5 |
| 6182 | 6385 |
| 6183 cat > conftest.$ac_ext <<EOF | 6386 cat > conftest.$ac_ext <<EOF |
| 6184 #line 6185 "configure" | 6387 #line 6388 "configure" |
| 6185 #include "confdefs.h" | 6388 #include "confdefs.h" |
| 6186 #include <Dt/Dt.h> | 6389 #include <Dt/Dt.h> |
| 6187 EOF | 6390 EOF |
| 6188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6189 { (eval echo configure:6190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6392 { (eval echo configure:6393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6190 ac_err=`grep -v '^ *+' conftest.out` | 6393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6191 if test -z "$ac_err"; then | 6394 if test -z "$ac_err"; then |
| 6192 rm -rf conftest* | 6395 rm -rf conftest* |
| 6193 eval "ac_cv_header_$ac_safe=yes" | 6396 eval "ac_cv_header_$ac_safe=yes" |
| 6194 else | 6397 else |
| 6195 echo "$ac_err" >&5 | 6398 echo "$ac_err" >&5 |
| 6207 with_cde=no | 6410 with_cde=no |
| 6208 fi | 6411 fi |
| 6209 } | 6412 } |
| 6210 test -z "$with_cde" && { | 6413 test -z "$with_cde" && { |
| 6211 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6414 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 6212 echo "configure:6213: checking for DtDndDragStart in -lDtSvc" >&5 | 6415 echo "configure:6416: checking for DtDndDragStart in -lDtSvc" >&5 |
| 6213 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6416 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 6214 | 6417 |
| 6215 xe_check_libs=" -lDtSvc " | 6418 xe_check_libs=" -lDtSvc " |
| 6216 cat > conftest.$ac_ext <<EOF | 6419 cat > conftest.$ac_ext <<EOF |
| 6217 #line 6218 "configure" | 6420 #line 6421 "configure" |
| 6218 #include "confdefs.h" | 6421 #include "confdefs.h" |
| 6219 /* Override any gcc2 internal prototype to avoid an error. */ | 6422 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6220 /* We use char because int might match the return type of a gcc2 | 6423 /* We use char because int might match the return type of a gcc2 |
| 6221 builtin and then its argument prototype would still apply. */ | 6424 builtin and then its argument prototype would still apply. */ |
| 6222 char DtDndDragStart(); | 6425 char DtDndDragStart(); |
| 6223 | 6426 |
| 6224 int main() { | 6427 int main() { |
| 6225 DtDndDragStart() | 6428 DtDndDragStart() |
| 6226 ; return 0; } | 6429 ; return 0; } |
| 6227 EOF | 6430 EOF |
| 6228 if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6431 if { (eval echo configure:6432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6229 rm -rf conftest* | 6432 rm -rf conftest* |
| 6230 eval "ac_cv_lib_$ac_lib_var=yes" | 6433 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6231 else | 6434 else |
| 6232 echo "configure: failed program was:" >&5 | 6435 echo "configure: failed program was:" >&5 |
| 6233 cat conftest.$ac_ext >&5 | 6436 cat conftest.$ac_ext >&5 |
| 6292 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6495 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
| 6293 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6496 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
| 6294 fi | 6497 fi |
| 6295 | 6498 |
| 6296 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6499 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 6297 echo "configure:6298: checking if drag and drop API is needed" >&5 | 6500 echo "configure:6501: checking if drag and drop API is needed" >&5 |
| 6298 if test "$with_dragndrop" != "no" ; then | 6501 if test "$with_dragndrop" != "no" ; then |
| 6299 if test -n "$dragndrop_proto" ; then | 6502 if test -n "$dragndrop_proto" ; then |
| 6300 with_dragndrop=yes | 6503 with_dragndrop=yes |
| 6301 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6504 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 6302 { test "$extra_verbose" = "yes" && cat << \EOF | 6505 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6313 echo "$ac_t""no" 1>&6 | 6516 echo "$ac_t""no" 1>&6 |
| 6314 fi | 6517 fi |
| 6315 fi | 6518 fi |
| 6316 | 6519 |
| 6317 echo "checking for LDAP" 1>&6 | 6520 echo "checking for LDAP" 1>&6 |
| 6318 echo "configure:6319: checking for LDAP" >&5 | 6521 echo "configure:6522: checking for LDAP" >&5 |
| 6319 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6522 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 6320 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6523 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 6321 echo "configure:6322: checking for ldap.h" >&5 | 6524 echo "configure:6525: checking for ldap.h" >&5 |
| 6322 | 6525 |
| 6323 cat > conftest.$ac_ext <<EOF | 6526 cat > conftest.$ac_ext <<EOF |
| 6324 #line 6325 "configure" | 6527 #line 6528 "configure" |
| 6325 #include "confdefs.h" | 6528 #include "confdefs.h" |
| 6326 #include <ldap.h> | 6529 #include <ldap.h> |
| 6327 EOF | 6530 EOF |
| 6328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6329 { (eval echo configure:6330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6532 { (eval echo configure:6533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6330 ac_err=`grep -v '^ *+' conftest.out` | 6533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6331 if test -z "$ac_err"; then | 6534 if test -z "$ac_err"; then |
| 6332 rm -rf conftest* | 6535 rm -rf conftest* |
| 6333 eval "ac_cv_header_$ac_safe=yes" | 6536 eval "ac_cv_header_$ac_safe=yes" |
| 6334 else | 6537 else |
| 6335 echo "$ac_err" >&5 | 6538 echo "$ac_err" >&5 |
| 6347 with_ldap=no | 6550 with_ldap=no |
| 6348 fi | 6551 fi |
| 6349 } | 6552 } |
| 6350 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6553 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 6351 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6554 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 6352 echo "configure:6353: checking for lber.h" >&5 | 6555 echo "configure:6556: checking for lber.h" >&5 |
| 6353 | 6556 |
| 6354 cat > conftest.$ac_ext <<EOF | 6557 cat > conftest.$ac_ext <<EOF |
| 6355 #line 6356 "configure" | 6558 #line 6559 "configure" |
| 6356 #include "confdefs.h" | 6559 #include "confdefs.h" |
| 6357 #include <lber.h> | 6560 #include <lber.h> |
| 6358 EOF | 6561 EOF |
| 6359 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6360 { (eval echo configure:6361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6563 { (eval echo configure:6564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6361 ac_err=`grep -v '^ *+' conftest.out` | 6564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6362 if test -z "$ac_err"; then | 6565 if test -z "$ac_err"; then |
| 6363 rm -rf conftest* | 6566 rm -rf conftest* |
| 6364 eval "ac_cv_header_$ac_safe=yes" | 6567 eval "ac_cv_header_$ac_safe=yes" |
| 6365 else | 6568 else |
| 6366 echo "$ac_err" >&5 | 6569 echo "$ac_err" >&5 |
| 6379 fi | 6582 fi |
| 6380 } | 6583 } |
| 6381 if test "$with_ldap" != "no"; then | 6584 if test "$with_ldap" != "no"; then |
| 6382 | 6585 |
| 6383 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6586 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
| 6384 echo "configure:6385: checking for ldap_search in -lldap" >&5 | 6587 echo "configure:6588: checking for ldap_search in -lldap" >&5 |
| 6385 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6588 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
| 6386 | 6589 |
| 6387 xe_check_libs=" -lldap " | 6590 xe_check_libs=" -lldap " |
| 6388 cat > conftest.$ac_ext <<EOF | 6591 cat > conftest.$ac_ext <<EOF |
| 6389 #line 6390 "configure" | 6592 #line 6593 "configure" |
| 6390 #include "confdefs.h" | 6593 #include "confdefs.h" |
| 6391 /* Override any gcc2 internal prototype to avoid an error. */ | 6594 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6392 /* We use char because int might match the return type of a gcc2 | 6595 /* We use char because int might match the return type of a gcc2 |
| 6393 builtin and then its argument prototype would still apply. */ | 6596 builtin and then its argument prototype would still apply. */ |
| 6394 char ldap_search(); | 6597 char ldap_search(); |
| 6395 | 6598 |
| 6396 int main() { | 6599 int main() { |
| 6397 ldap_search() | 6600 ldap_search() |
| 6398 ; return 0; } | 6601 ; return 0; } |
| 6399 EOF | 6602 EOF |
| 6400 if { (eval echo configure:6401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6603 if { (eval echo configure:6604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6401 rm -rf conftest* | 6604 rm -rf conftest* |
| 6402 eval "ac_cv_lib_$ac_lib_var=yes" | 6605 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6403 else | 6606 else |
| 6404 echo "configure: failed program was:" >&5 | 6607 echo "configure: failed program was:" >&5 |
| 6405 cat conftest.$ac_ext >&5 | 6608 cat conftest.$ac_ext >&5 |
| 6420 | 6623 |
| 6421 test "$with_ldap_nolber" = "no" && { | 6624 test "$with_ldap_nolber" = "no" && { |
| 6422 xe_msg_checking="for ldap_open in -lldap" | 6625 xe_msg_checking="for ldap_open in -lldap" |
| 6423 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6626 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 6424 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6627 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6425 echo "configure:6426: checking "$xe_msg_checking"" >&5 | 6628 echo "configure:6629: checking "$xe_msg_checking"" >&5 |
| 6426 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6629 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6427 | 6630 |
| 6428 xe_check_libs=" -lldap -llber" | 6631 xe_check_libs=" -lldap -llber" |
| 6429 cat > conftest.$ac_ext <<EOF | 6632 cat > conftest.$ac_ext <<EOF |
| 6430 #line 6431 "configure" | 6633 #line 6634 "configure" |
| 6431 #include "confdefs.h" | 6634 #include "confdefs.h" |
| 6432 /* Override any gcc2 internal prototype to avoid an error. */ | 6635 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6433 /* We use char because int might match the return type of a gcc2 | 6636 /* We use char because int might match the return type of a gcc2 |
| 6434 builtin and then its argument prototype would still apply. */ | 6637 builtin and then its argument prototype would still apply. */ |
| 6435 char ldap_open(); | 6638 char ldap_open(); |
| 6436 | 6639 |
| 6437 int main() { | 6640 int main() { |
| 6438 ldap_open() | 6641 ldap_open() |
| 6439 ; return 0; } | 6642 ; return 0; } |
| 6440 EOF | 6643 EOF |
| 6441 if { (eval echo configure:6442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6644 if { (eval echo configure:6645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6442 rm -rf conftest* | 6645 rm -rf conftest* |
| 6443 eval "ac_cv_lib_$ac_lib_var=yes" | 6646 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6444 else | 6647 else |
| 6445 echo "configure: failed program was:" >&5 | 6648 echo "configure: failed program was:" >&5 |
| 6446 cat conftest.$ac_ext >&5 | 6649 cat conftest.$ac_ext >&5 |
| 6480 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 6683 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
| 6481 fi | 6684 fi |
| 6482 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 6685 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
| 6483 do | 6686 do |
| 6484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6485 echo "configure:6486: checking for $ac_func" >&5 | 6688 echo "configure:6689: checking for $ac_func" >&5 |
| 6486 | 6689 |
| 6487 cat > conftest.$ac_ext <<EOF | 6690 cat > conftest.$ac_ext <<EOF |
| 6488 #line 6489 "configure" | 6691 #line 6692 "configure" |
| 6489 #include "confdefs.h" | 6692 #include "confdefs.h" |
| 6490 /* System header to define __stub macros and hopefully few prototypes, | 6693 /* System header to define __stub macros and hopefully few prototypes, |
| 6491 which can conflict with char $ac_func(); below. */ | 6694 which can conflict with char $ac_func(); below. */ |
| 6492 #include <assert.h> | 6695 #include <assert.h> |
| 6493 /* Override any gcc2 internal prototype to avoid an error. */ | 6696 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6506 $ac_func(); | 6709 $ac_func(); |
| 6507 #endif | 6710 #endif |
| 6508 | 6711 |
| 6509 ; return 0; } | 6712 ; return 0; } |
| 6510 EOF | 6713 EOF |
| 6511 if { (eval echo configure:6512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6714 if { (eval echo configure:6715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6512 rm -rf conftest* | 6715 rm -rf conftest* |
| 6513 eval "ac_cv_func_$ac_func=yes" | 6716 eval "ac_cv_func_$ac_func=yes" |
| 6514 else | 6717 else |
| 6515 echo "configure: failed program was:" >&5 | 6718 echo "configure: failed program was:" >&5 |
| 6516 cat conftest.$ac_ext >&5 | 6719 cat conftest.$ac_ext >&5 |
| 6538 fi | 6741 fi |
| 6539 | 6742 |
| 6540 | 6743 |
| 6541 if test "$window_system" != "none"; then | 6744 if test "$window_system" != "none"; then |
| 6542 echo "checking for graphics libraries" 1>&6 | 6745 echo "checking for graphics libraries" 1>&6 |
| 6543 echo "configure:6544: checking for graphics libraries" >&5 | 6746 echo "configure:6747: checking for graphics libraries" >&5 |
| 6544 | 6747 |
| 6545 xpm_problem="" | 6748 xpm_problem="" |
| 6546 if test -z "$with_xpm"; then | 6749 if test -z "$with_xpm"; then |
| 6547 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6750 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6548 echo "configure:6549: checking for Xpm - no older than 3.4f" >&5 | 6751 echo "configure:6752: checking for Xpm - no older than 3.4f" >&5 |
| 6549 xe_check_libs=-lXpm | 6752 xe_check_libs=-lXpm |
| 6550 cat > conftest.$ac_ext <<EOF | 6753 cat > conftest.$ac_ext <<EOF |
| 6551 #line 6552 "configure" | 6754 #line 6755 "configure" |
| 6552 #include "confdefs.h" | 6755 #include "confdefs.h" |
| 6553 #include <X11/xpm.h> | 6756 #include <X11/xpm.h> |
| 6554 int main(int c, char **v) { | 6757 int main(int c, char **v) { |
| 6555 return c == 1 ? 0 : | 6758 return c == 1 ? 0 : |
| 6556 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6759 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6557 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6760 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 6558 EOF | 6761 EOF |
| 6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6762 if { (eval echo configure:6763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6560 then | 6763 then |
| 6561 ./conftest dummy_arg; xpm_status=$?; | 6764 ./conftest dummy_arg; xpm_status=$?; |
| 6562 if test "$xpm_status" = "0"; then | 6765 if test "$xpm_status" = "0"; then |
| 6563 with_xpm=yes; | 6766 with_xpm=yes; |
| 6564 else | 6767 else |
| 6596 EOF | 6799 EOF |
| 6597 } | 6800 } |
| 6598 | 6801 |
| 6599 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6802 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6600 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6803 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 6601 echo "configure:6602: checking for \"FOR_MSW\" xpm" >&5 | 6804 echo "configure:6805: checking for \"FOR_MSW\" xpm" >&5 |
| 6602 xe_check_libs=-lXpm | 6805 xe_check_libs=-lXpm |
| 6603 cat > conftest.$ac_ext <<EOF | 6806 cat > conftest.$ac_ext <<EOF |
| 6604 #line 6605 "configure" | 6807 #line 6808 "configure" |
| 6605 #include "confdefs.h" | 6808 #include "confdefs.h" |
| 6606 | 6809 |
| 6607 int main() { | 6810 int main() { |
| 6608 XpmCreatePixmapFromData() | 6811 XpmCreatePixmapFromData() |
| 6609 ; return 0; } | 6812 ; return 0; } |
| 6610 EOF | 6813 EOF |
| 6611 if { (eval echo configure:6612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6814 if { (eval echo configure:6815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6612 rm -rf conftest* | 6815 rm -rf conftest* |
| 6613 xpm_for_msw=no | 6816 xpm_for_msw=no |
| 6614 else | 6817 else |
| 6615 echo "configure: failed program was:" >&5 | 6818 echo "configure: failed program was:" >&5 |
| 6616 cat conftest.$ac_ext >&5 | 6819 cat conftest.$ac_ext >&5 |
| 6632 fi | 6835 fi |
| 6633 fi | 6836 fi |
| 6634 | 6837 |
| 6635 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6838 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6636 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6839 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6637 echo "configure:6638: checking for compface.h" >&5 | 6840 echo "configure:6841: checking for compface.h" >&5 |
| 6638 | 6841 |
| 6639 cat > conftest.$ac_ext <<EOF | 6842 cat > conftest.$ac_ext <<EOF |
| 6640 #line 6641 "configure" | 6843 #line 6844 "configure" |
| 6641 #include "confdefs.h" | 6844 #include "confdefs.h" |
| 6642 #include <compface.h> | 6845 #include <compface.h> |
| 6643 EOF | 6846 EOF |
| 6644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6645 { (eval echo configure:6646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6848 { (eval echo configure:6849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6646 ac_err=`grep -v '^ *+' conftest.out` | 6849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6647 if test -z "$ac_err"; then | 6850 if test -z "$ac_err"; then |
| 6648 rm -rf conftest* | 6851 rm -rf conftest* |
| 6649 eval "ac_cv_header_$ac_safe=yes" | 6852 eval "ac_cv_header_$ac_safe=yes" |
| 6650 else | 6853 else |
| 6651 echo "$ac_err" >&5 | 6854 echo "$ac_err" >&5 |
| 6663 with_xface=no | 6866 with_xface=no |
| 6664 fi | 6867 fi |
| 6665 } | 6868 } |
| 6666 test -z "$with_xface" && { | 6869 test -z "$with_xface" && { |
| 6667 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6870 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 6668 echo "configure:6669: checking for UnGenFace in -lcompface" >&5 | 6871 echo "configure:6872: checking for UnGenFace in -lcompface" >&5 |
| 6669 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6872 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 6670 | 6873 |
| 6671 xe_check_libs=" -lcompface " | 6874 xe_check_libs=" -lcompface " |
| 6672 cat > conftest.$ac_ext <<EOF | 6875 cat > conftest.$ac_ext <<EOF |
| 6673 #line 6674 "configure" | 6876 #line 6877 "configure" |
| 6674 #include "confdefs.h" | 6877 #include "confdefs.h" |
| 6675 /* Override any gcc2 internal prototype to avoid an error. */ | 6878 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6676 /* We use char because int might match the return type of a gcc2 | 6879 /* We use char because int might match the return type of a gcc2 |
| 6677 builtin and then its argument prototype would still apply. */ | 6880 builtin and then its argument prototype would still apply. */ |
| 6678 char UnGenFace(); | 6881 char UnGenFace(); |
| 6679 | 6882 |
| 6680 int main() { | 6883 int main() { |
| 6681 UnGenFace() | 6884 UnGenFace() |
| 6682 ; return 0; } | 6885 ; return 0; } |
| 6683 EOF | 6886 EOF |
| 6684 if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6887 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6685 rm -rf conftest* | 6888 rm -rf conftest* |
| 6686 eval "ac_cv_lib_$ac_lib_var=yes" | 6889 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6687 else | 6890 else |
| 6688 echo "configure: failed program was:" >&5 | 6891 echo "configure: failed program was:" >&5 |
| 6689 cat conftest.$ac_ext >&5 | 6892 cat conftest.$ac_ext >&5 |
| 6731 fi | 6934 fi |
| 6732 | 6935 |
| 6733 if test "$with_png $with_tiff" != "no no"; then | 6936 if test "$with_png $with_tiff" != "no no"; then |
| 6734 | 6937 |
| 6735 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6938 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 6736 echo "configure:6737: checking for inflate in -lc" >&5 | 6939 echo "configure:6940: checking for inflate in -lc" >&5 |
| 6737 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6940 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 6738 | 6941 |
| 6739 xe_check_libs=" -lc " | 6942 xe_check_libs=" -lc " |
| 6740 cat > conftest.$ac_ext <<EOF | 6943 cat > conftest.$ac_ext <<EOF |
| 6741 #line 6742 "configure" | 6944 #line 6945 "configure" |
| 6742 #include "confdefs.h" | 6945 #include "confdefs.h" |
| 6743 /* Override any gcc2 internal prototype to avoid an error. */ | 6946 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6744 /* We use char because int might match the return type of a gcc2 | 6947 /* We use char because int might match the return type of a gcc2 |
| 6745 builtin and then its argument prototype would still apply. */ | 6948 builtin and then its argument prototype would still apply. */ |
| 6746 char inflate(); | 6949 char inflate(); |
| 6747 | 6950 |
| 6748 int main() { | 6951 int main() { |
| 6749 inflate() | 6952 inflate() |
| 6750 ; return 0; } | 6953 ; return 0; } |
| 6751 EOF | 6954 EOF |
| 6752 if { (eval echo configure:6753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6955 if { (eval echo configure:6956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6753 rm -rf conftest* | 6956 rm -rf conftest* |
| 6754 eval "ac_cv_lib_$ac_lib_var=yes" | 6957 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6755 else | 6958 else |
| 6756 echo "configure: failed program was:" >&5 | 6959 echo "configure: failed program was:" >&5 |
| 6757 cat conftest.$ac_ext >&5 | 6960 cat conftest.$ac_ext >&5 |
| 6766 : | 6969 : |
| 6767 else | 6970 else |
| 6768 echo "$ac_t""no" 1>&6 | 6971 echo "$ac_t""no" 1>&6 |
| 6769 | 6972 |
| 6770 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6973 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 6771 echo "configure:6772: checking for inflate in -lz" >&5 | 6974 echo "configure:6975: checking for inflate in -lz" >&5 |
| 6772 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6975 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 6773 | 6976 |
| 6774 xe_check_libs=" -lz " | 6977 xe_check_libs=" -lz " |
| 6775 cat > conftest.$ac_ext <<EOF | 6978 cat > conftest.$ac_ext <<EOF |
| 6776 #line 6777 "configure" | 6979 #line 6980 "configure" |
| 6777 #include "confdefs.h" | 6980 #include "confdefs.h" |
| 6778 /* Override any gcc2 internal prototype to avoid an error. */ | 6981 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6779 /* We use char because int might match the return type of a gcc2 | 6982 /* We use char because int might match the return type of a gcc2 |
| 6780 builtin and then its argument prototype would still apply. */ | 6983 builtin and then its argument prototype would still apply. */ |
| 6781 char inflate(); | 6984 char inflate(); |
| 6782 | 6985 |
| 6783 int main() { | 6986 int main() { |
| 6784 inflate() | 6987 inflate() |
| 6785 ; return 0; } | 6988 ; return 0; } |
| 6786 EOF | 6989 EOF |
| 6787 if { (eval echo configure:6788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6990 if { (eval echo configure:6991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6788 rm -rf conftest* | 6991 rm -rf conftest* |
| 6789 eval "ac_cv_lib_$ac_lib_var=yes" | 6992 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6790 else | 6993 else |
| 6791 echo "configure: failed program was:" >&5 | 6994 echo "configure: failed program was:" >&5 |
| 6792 cat conftest.$ac_ext >&5 | 6995 cat conftest.$ac_ext >&5 |
| 6801 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7004 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 6802 else | 7005 else |
| 6803 echo "$ac_t""no" 1>&6 | 7006 echo "$ac_t""no" 1>&6 |
| 6804 | 7007 |
| 6805 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7008 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 6806 echo "configure:6807: checking for inflate in -lgz" >&5 | 7009 echo "configure:7010: checking for inflate in -lgz" >&5 |
| 6807 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7010 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 6808 | 7011 |
| 6809 xe_check_libs=" -lgz " | 7012 xe_check_libs=" -lgz " |
| 6810 cat > conftest.$ac_ext <<EOF | 7013 cat > conftest.$ac_ext <<EOF |
| 6811 #line 6812 "configure" | 7014 #line 7015 "configure" |
| 6812 #include "confdefs.h" | 7015 #include "confdefs.h" |
| 6813 /* Override any gcc2 internal prototype to avoid an error. */ | 7016 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6814 /* We use char because int might match the return type of a gcc2 | 7017 /* We use char because int might match the return type of a gcc2 |
| 6815 builtin and then its argument prototype would still apply. */ | 7018 builtin and then its argument prototype would still apply. */ |
| 6816 char inflate(); | 7019 char inflate(); |
| 6817 | 7020 |
| 6818 int main() { | 7021 int main() { |
| 6819 inflate() | 7022 inflate() |
| 6820 ; return 0; } | 7023 ; return 0; } |
| 6821 EOF | 7024 EOF |
| 6822 if { (eval echo configure:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7025 if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6823 rm -rf conftest* | 7026 rm -rf conftest* |
| 6824 eval "ac_cv_lib_$ac_lib_var=yes" | 7027 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6825 else | 7028 else |
| 6826 echo "configure: failed program was:" >&5 | 7029 echo "configure: failed program was:" >&5 |
| 6827 cat conftest.$ac_ext >&5 | 7030 cat conftest.$ac_ext >&5 |
| 6847 | 7050 |
| 6848 fi | 7051 fi |
| 6849 | 7052 |
| 6850 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7053 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6851 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7054 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6852 echo "configure:6853: checking for jpeglib.h" >&5 | 7055 echo "configure:7056: checking for jpeglib.h" >&5 |
| 6853 | 7056 |
| 6854 cat > conftest.$ac_ext <<EOF | 7057 cat > conftest.$ac_ext <<EOF |
| 6855 #line 6856 "configure" | 7058 #line 7059 "configure" |
| 6856 #include "confdefs.h" | 7059 #include "confdefs.h" |
| 6857 #include <jpeglib.h> | 7060 #include <jpeglib.h> |
| 6858 EOF | 7061 EOF |
| 6859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6860 { (eval echo configure:6861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7063 { (eval echo configure:7064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6861 ac_err=`grep -v '^ *+' conftest.out` | 7064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6862 if test -z "$ac_err"; then | 7065 if test -z "$ac_err"; then |
| 6863 rm -rf conftest* | 7066 rm -rf conftest* |
| 6864 eval "ac_cv_header_$ac_safe=yes" | 7067 eval "ac_cv_header_$ac_safe=yes" |
| 6865 else | 7068 else |
| 6866 echo "$ac_err" >&5 | 7069 echo "$ac_err" >&5 |
| 6878 with_jpeg=no | 7081 with_jpeg=no |
| 6879 fi | 7082 fi |
| 6880 } | 7083 } |
| 6881 test -z "$with_jpeg" && { | 7084 test -z "$with_jpeg" && { |
| 6882 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7085 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6883 echo "configure:6884: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7086 echo "configure:7087: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6884 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7087 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6885 | 7088 |
| 6886 xe_check_libs=" -ljpeg " | 7089 xe_check_libs=" -ljpeg " |
| 6887 cat > conftest.$ac_ext <<EOF | 7090 cat > conftest.$ac_ext <<EOF |
| 6888 #line 6889 "configure" | 7091 #line 7092 "configure" |
| 6889 #include "confdefs.h" | 7092 #include "confdefs.h" |
| 6890 /* Override any gcc2 internal prototype to avoid an error. */ | 7093 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6891 /* We use char because int might match the return type of a gcc2 | 7094 /* We use char because int might match the return type of a gcc2 |
| 6892 builtin and then its argument prototype would still apply. */ | 7095 builtin and then its argument prototype would still apply. */ |
| 6893 char jpeg_destroy_decompress(); | 7096 char jpeg_destroy_decompress(); |
| 6894 | 7097 |
| 6895 int main() { | 7098 int main() { |
| 6896 jpeg_destroy_decompress() | 7099 jpeg_destroy_decompress() |
| 6897 ; return 0; } | 7100 ; return 0; } |
| 6898 EOF | 7101 EOF |
| 6899 if { (eval echo configure:6900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7102 if { (eval echo configure:7103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6900 rm -rf conftest* | 7103 rm -rf conftest* |
| 6901 eval "ac_cv_lib_$ac_lib_var=yes" | 7104 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6902 else | 7105 else |
| 6903 echo "configure: failed program was:" >&5 | 7106 echo "configure: failed program was:" >&5 |
| 6904 cat conftest.$ac_ext >&5 | 7107 cat conftest.$ac_ext >&5 |
| 6930 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7133 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6931 fi | 7134 fi |
| 6932 | 7135 |
| 6933 png_problem="" | 7136 png_problem="" |
| 6934 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7137 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6935 echo "configure:6936: checking for pow" >&5 | 7138 echo "configure:7139: checking for pow" >&5 |
| 6936 | 7139 |
| 6937 cat > conftest.$ac_ext <<EOF | 7140 cat > conftest.$ac_ext <<EOF |
| 6938 #line 6939 "configure" | 7141 #line 7142 "configure" |
| 6939 #include "confdefs.h" | 7142 #include "confdefs.h" |
| 6940 /* System header to define __stub macros and hopefully few prototypes, | 7143 /* System header to define __stub macros and hopefully few prototypes, |
| 6941 which can conflict with char pow(); below. */ | 7144 which can conflict with char pow(); below. */ |
| 6942 #include <assert.h> | 7145 #include <assert.h> |
| 6943 /* Override any gcc2 internal prototype to avoid an error. */ | 7146 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6956 pow(); | 7159 pow(); |
| 6957 #endif | 7160 #endif |
| 6958 | 7161 |
| 6959 ; return 0; } | 7162 ; return 0; } |
| 6960 EOF | 7163 EOF |
| 6961 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7164 if { (eval echo configure:7165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6962 rm -rf conftest* | 7165 rm -rf conftest* |
| 6963 eval "ac_cv_func_pow=yes" | 7166 eval "ac_cv_func_pow=yes" |
| 6964 else | 7167 else |
| 6965 echo "configure: failed program was:" >&5 | 7168 echo "configure: failed program was:" >&5 |
| 6966 cat conftest.$ac_ext >&5 | 7169 cat conftest.$ac_ext >&5 |
| 6977 with_png=no | 7180 with_png=no |
| 6978 fi | 7181 fi |
| 6979 } | 7182 } |
| 6980 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7183 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 6981 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7184 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 6982 echo "configure:6983: checking for png.h" >&5 | 7185 echo "configure:7186: checking for png.h" >&5 |
| 6983 | 7186 |
| 6984 cat > conftest.$ac_ext <<EOF | 7187 cat > conftest.$ac_ext <<EOF |
| 6985 #line 6986 "configure" | 7188 #line 7189 "configure" |
| 6986 #include "confdefs.h" | 7189 #include "confdefs.h" |
| 6987 #include <png.h> | 7190 #include <png.h> |
| 6988 EOF | 7191 EOF |
| 6989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6990 { (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7193 { (eval echo configure:7194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6991 ac_err=`grep -v '^ *+' conftest.out` | 7194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6992 if test -z "$ac_err"; then | 7195 if test -z "$ac_err"; then |
| 6993 rm -rf conftest* | 7196 rm -rf conftest* |
| 6994 eval "ac_cv_header_$ac_safe=yes" | 7197 eval "ac_cv_header_$ac_safe=yes" |
| 6995 else | 7198 else |
| 6996 echo "$ac_err" >&5 | 7199 echo "$ac_err" >&5 |
| 7008 with_png=no | 7211 with_png=no |
| 7009 fi | 7212 fi |
| 7010 } | 7213 } |
| 7011 test -z "$with_png" && { | 7214 test -z "$with_png" && { |
| 7012 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7215 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 7013 echo "configure:7014: checking for png_read_image in -lpng" >&5 | 7216 echo "configure:7217: checking for png_read_image in -lpng" >&5 |
| 7014 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7217 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 7015 | 7218 |
| 7016 xe_check_libs=" -lpng " | 7219 xe_check_libs=" -lpng " |
| 7017 cat > conftest.$ac_ext <<EOF | 7220 cat > conftest.$ac_ext <<EOF |
| 7018 #line 7019 "configure" | 7221 #line 7222 "configure" |
| 7019 #include "confdefs.h" | 7222 #include "confdefs.h" |
| 7020 /* Override any gcc2 internal prototype to avoid an error. */ | 7223 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7021 /* We use char because int might match the return type of a gcc2 | 7224 /* We use char because int might match the return type of a gcc2 |
| 7022 builtin and then its argument prototype would still apply. */ | 7225 builtin and then its argument prototype would still apply. */ |
| 7023 char png_read_image(); | 7226 char png_read_image(); |
| 7024 | 7227 |
| 7025 int main() { | 7228 int main() { |
| 7026 png_read_image() | 7229 png_read_image() |
| 7027 ; return 0; } | 7230 ; return 0; } |
| 7028 EOF | 7231 EOF |
| 7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7232 if { (eval echo configure:7233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7030 rm -rf conftest* | 7233 rm -rf conftest* |
| 7031 eval "ac_cv_lib_$ac_lib_var=yes" | 7234 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7032 else | 7235 else |
| 7033 echo "configure: failed program was:" >&5 | 7236 echo "configure: failed program was:" >&5 |
| 7034 cat conftest.$ac_ext >&5 | 7237 cat conftest.$ac_ext >&5 |
| 7047 fi | 7250 fi |
| 7048 | 7251 |
| 7049 } | 7252 } |
| 7050 if test -z "$with_png"; then | 7253 if test -z "$with_png"; then |
| 7051 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7254 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 7052 echo "configure:7053: checking for workable png version information" >&5 | 7255 echo "configure:7256: checking for workable png version information" >&5 |
| 7053 xe_check_libs="-lpng -lz" | 7256 xe_check_libs="-lpng -lz" |
| 7054 cat > conftest.$ac_ext <<EOF | 7257 cat > conftest.$ac_ext <<EOF |
| 7055 #line 7056 "configure" | 7258 #line 7259 "configure" |
| 7056 #include "confdefs.h" | 7259 #include "confdefs.h" |
| 7057 #include <png.h> | 7260 #include <png.h> |
| 7058 int main(int c, char **v) { | 7261 int main(int c, char **v) { |
| 7059 if (c == 1) return 0; | 7262 if (c == 1) return 0; |
| 7060 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7263 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 7061 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7264 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 7062 EOF | 7265 EOF |
| 7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7266 if { (eval echo configure:7267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 7064 then | 7267 then |
| 7065 ./conftest dummy_arg; png_status=$?; | 7268 ./conftest dummy_arg; png_status=$?; |
| 7066 if test "$png_status" = "0"; then | 7269 if test "$png_status" = "0"; then |
| 7067 with_png=yes; | 7270 with_png=yes; |
| 7068 else | 7271 else |
| 7101 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7304 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 7102 fi | 7305 fi |
| 7103 | 7306 |
| 7104 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7307 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 7105 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7308 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 7106 echo "configure:7107: checking for tiffio.h" >&5 | 7309 echo "configure:7310: checking for tiffio.h" >&5 |
| 7107 | 7310 |
| 7108 cat > conftest.$ac_ext <<EOF | 7311 cat > conftest.$ac_ext <<EOF |
| 7109 #line 7110 "configure" | 7312 #line 7313 "configure" |
| 7110 #include "confdefs.h" | 7313 #include "confdefs.h" |
| 7111 #include <tiffio.h> | 7314 #include <tiffio.h> |
| 7112 EOF | 7315 EOF |
| 7113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7114 { (eval echo configure:7115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7317 { (eval echo configure:7318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7115 ac_err=`grep -v '^ *+' conftest.out` | 7318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7116 if test -z "$ac_err"; then | 7319 if test -z "$ac_err"; then |
| 7117 rm -rf conftest* | 7320 rm -rf conftest* |
| 7118 eval "ac_cv_header_$ac_safe=yes" | 7321 eval "ac_cv_header_$ac_safe=yes" |
| 7119 else | 7322 else |
| 7120 echo "$ac_err" >&5 | 7323 echo "$ac_err" >&5 |
| 7132 with_tiff=no | 7335 with_tiff=no |
| 7133 fi | 7336 fi |
| 7134 } | 7337 } |
| 7135 test -z "$with_tiff" && { | 7338 test -z "$with_tiff" && { |
| 7136 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7339 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 7137 echo "configure:7138: checking for TIFFClientOpen in -ltiff" >&5 | 7340 echo "configure:7341: checking for TIFFClientOpen in -ltiff" >&5 |
| 7138 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7341 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 7139 | 7342 |
| 7140 xe_check_libs=" -ltiff " | 7343 xe_check_libs=" -ltiff " |
| 7141 cat > conftest.$ac_ext <<EOF | 7344 cat > conftest.$ac_ext <<EOF |
| 7142 #line 7143 "configure" | 7345 #line 7346 "configure" |
| 7143 #include "confdefs.h" | 7346 #include "confdefs.h" |
| 7144 /* Override any gcc2 internal prototype to avoid an error. */ | 7347 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7145 /* We use char because int might match the return type of a gcc2 | 7348 /* We use char because int might match the return type of a gcc2 |
| 7146 builtin and then its argument prototype would still apply. */ | 7349 builtin and then its argument prototype would still apply. */ |
| 7147 char TIFFClientOpen(); | 7350 char TIFFClientOpen(); |
| 7148 | 7351 |
| 7149 int main() { | 7352 int main() { |
| 7150 TIFFClientOpen() | 7353 TIFFClientOpen() |
| 7151 ; return 0; } | 7354 ; return 0; } |
| 7152 EOF | 7355 EOF |
| 7153 if { (eval echo configure:7154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7154 rm -rf conftest* | 7357 rm -rf conftest* |
| 7155 eval "ac_cv_lib_$ac_lib_var=yes" | 7358 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7156 else | 7359 else |
| 7157 echo "configure: failed program was:" >&5 | 7360 echo "configure: failed program was:" >&5 |
| 7158 cat conftest.$ac_ext >&5 | 7361 cat conftest.$ac_ext >&5 |
| 7187 | 7390 |
| 7188 | 7391 |
| 7189 if test "$with_x11" = "yes"; then | 7392 if test "$with_x11" = "yes"; then |
| 7190 | 7393 |
| 7191 echo "checking for X11 graphics libraries" 1>&6 | 7394 echo "checking for X11 graphics libraries" 1>&6 |
| 7192 echo "configure:7193: checking for X11 graphics libraries" >&5 | 7395 echo "configure:7396: checking for X11 graphics libraries" >&5 |
| 7193 | 7396 |
| 7194 | 7397 |
| 7195 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7398 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 7196 echo "configure:7197: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7399 echo "configure:7400: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 7197 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7400 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 7198 | 7401 |
| 7199 xe_check_libs=" -lXaw " | 7402 xe_check_libs=" -lXaw " |
| 7200 cat > conftest.$ac_ext <<EOF | 7403 cat > conftest.$ac_ext <<EOF |
| 7201 #line 7202 "configure" | 7404 #line 7405 "configure" |
| 7202 #include "confdefs.h" | 7405 #include "confdefs.h" |
| 7203 /* Override any gcc2 internal prototype to avoid an error. */ | 7406 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7204 /* We use char because int might match the return type of a gcc2 | 7407 /* We use char because int might match the return type of a gcc2 |
| 7205 builtin and then its argument prototype would still apply. */ | 7408 builtin and then its argument prototype would still apply. */ |
| 7206 char XawScrollbarSetThumb(); | 7409 char XawScrollbarSetThumb(); |
| 7207 | 7410 |
| 7208 int main() { | 7411 int main() { |
| 7209 XawScrollbarSetThumb() | 7412 XawScrollbarSetThumb() |
| 7210 ; return 0; } | 7413 ; return 0; } |
| 7211 EOF | 7414 EOF |
| 7212 if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7415 if { (eval echo configure:7416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7213 rm -rf conftest* | 7416 rm -rf conftest* |
| 7214 eval "ac_cv_lib_$ac_lib_var=yes" | 7417 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7215 else | 7418 else |
| 7216 echo "configure: failed program was:" >&5 | 7419 echo "configure: failed program was:" >&5 |
| 7217 cat conftest.$ac_ext >&5 | 7420 cat conftest.$ac_ext >&5 |
| 7231 | 7434 |
| 7232 | 7435 |
| 7233 | 7436 |
| 7234 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7437 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 7235 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7438 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 7236 echo "configure:7237: checking for Xm/Xm.h" >&5 | 7439 echo "configure:7440: checking for Xm/Xm.h" >&5 |
| 7237 | 7440 |
| 7238 cat > conftest.$ac_ext <<EOF | 7441 cat > conftest.$ac_ext <<EOF |
| 7239 #line 7240 "configure" | 7442 #line 7443 "configure" |
| 7240 #include "confdefs.h" | 7443 #include "confdefs.h" |
| 7241 #include <Xm/Xm.h> | 7444 #include <Xm/Xm.h> |
| 7242 EOF | 7445 EOF |
| 7243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7244 { (eval echo configure:7245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7447 { (eval echo configure:7448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7245 ac_err=`grep -v '^ *+' conftest.out` | 7448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7246 if test -z "$ac_err"; then | 7449 if test -z "$ac_err"; then |
| 7247 rm -rf conftest* | 7450 rm -rf conftest* |
| 7248 eval "ac_cv_header_$ac_safe=yes" | 7451 eval "ac_cv_header_$ac_safe=yes" |
| 7249 else | 7452 else |
| 7250 echo "$ac_err" >&5 | 7453 echo "$ac_err" >&5 |
| 7256 rm -f conftest* | 7459 rm -f conftest* |
| 7257 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7460 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 7258 echo "$ac_t""yes" 1>&6 | 7461 echo "$ac_t""yes" 1>&6 |
| 7259 | 7462 |
| 7260 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7463 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 7261 echo "configure:7262: checking for XmStringFree in -lXm" >&5 | 7464 echo "configure:7465: checking for XmStringFree in -lXm" >&5 |
| 7262 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7465 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 7263 | 7466 |
| 7264 xe_check_libs=" -lXm " | 7467 xe_check_libs=" -lXm " |
| 7265 cat > conftest.$ac_ext <<EOF | 7468 cat > conftest.$ac_ext <<EOF |
| 7266 #line 7267 "configure" | 7469 #line 7470 "configure" |
| 7267 #include "confdefs.h" | 7470 #include "confdefs.h" |
| 7268 /* Override any gcc2 internal prototype to avoid an error. */ | 7471 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7269 /* We use char because int might match the return type of a gcc2 | 7472 /* We use char because int might match the return type of a gcc2 |
| 7270 builtin and then its argument prototype would still apply. */ | 7473 builtin and then its argument prototype would still apply. */ |
| 7271 char XmStringFree(); | 7474 char XmStringFree(); |
| 7272 | 7475 |
| 7273 int main() { | 7476 int main() { |
| 7274 XmStringFree() | 7477 XmStringFree() |
| 7275 ; return 0; } | 7478 ; return 0; } |
| 7276 EOF | 7479 EOF |
| 7277 if { (eval echo configure:7278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7480 if { (eval echo configure:7481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7278 rm -rf conftest* | 7481 rm -rf conftest* |
| 7279 eval "ac_cv_lib_$ac_lib_var=yes" | 7482 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7280 else | 7483 else |
| 7281 echo "configure: failed program was:" >&5 | 7484 echo "configure: failed program was:" >&5 |
| 7282 cat conftest.$ac_ext >&5 | 7485 cat conftest.$ac_ext >&5 |
| 7301 fi | 7504 fi |
| 7302 | 7505 |
| 7303 | 7506 |
| 7304 if test "$have_motif" = "yes"; then | 7507 if test "$have_motif" = "yes"; then |
| 7305 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7508 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 7306 echo "configure:7307: checking for Lesstif" >&5 | 7509 echo "configure:7510: checking for Lesstif" >&5 |
| 7307 cat > conftest.$ac_ext <<EOF | 7510 cat > conftest.$ac_ext <<EOF |
| 7308 #line 7309 "configure" | 7511 #line 7512 "configure" |
| 7309 #include "confdefs.h" | 7512 #include "confdefs.h" |
| 7310 #include <Xm/Xm.h> | 7513 #include <Xm/Xm.h> |
| 7311 #ifdef LESSTIF_VERSION | 7514 #ifdef LESSTIF_VERSION |
| 7312 yes | 7515 yes |
| 7313 #endif | 7516 #endif |
| 7338 fi ;; | 7541 fi ;; |
| 7339 esac | 7542 esac |
| 7340 case "$with_scrollbars" in "" | "yes" ) | 7543 case "$with_scrollbars" in "" | "yes" ) |
| 7341 with_scrollbars="lucid" ;; | 7544 with_scrollbars="lucid" ;; |
| 7342 esac | 7545 esac |
| 7343 | 7546 case "$with_widgets" in "" | "yes" ) |
| 7344 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars" | 7547 if test "$have_motif" = "yes"; then with_widgets="motif" |
| 7548 else with_widgets=no | |
| 7549 fi ;; | |
| 7550 esac | |
| 7551 | |
| 7552 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets" | |
| 7345 | 7553 |
| 7346 case "$all_widgets" in *athena* ) | 7554 case "$all_widgets" in *athena* ) |
| 7347 { test "$extra_verbose" = "yes" && cat << \EOF | 7555 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7348 Defining LWLIB_USES_ATHENA | 7556 Defining LWLIB_USES_ATHENA |
| 7349 EOF | 7557 EOF |
| 7534 echo " xemacs will be linked with \"dialog-x.o\"" | 7742 echo " xemacs will be linked with \"dialog-x.o\"" |
| 7535 fi | 7743 fi |
| 7536 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-x.o" && if test "$extra_verbose" = "yes"; then | 7744 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-x.o" && if test "$extra_verbose" = "yes"; then |
| 7537 echo " xemacs will be linked with \"toolbar-x.o\"" | 7745 echo " xemacs will be linked with \"toolbar-x.o\"" |
| 7538 fi | 7746 fi |
| 7539 test "$all_widgets" != "no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then | 7747 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then |
| 7540 echo " xemacs will be linked with \"gui-x.o\"" | 7748 echo " xemacs will be linked with \"gui-x.o\"" |
| 7541 fi | 7749 fi |
| 7542 else | 7750 else |
| 7543 if test \( "$with_sound" = "nas" \) -o \( "$with_sound" = "both" \); then | 7751 if test \( "$with_sound" = "nas" \) -o \( "$with_sound" = "both" \); then |
| 7544 echo "Attempt to Build NAS sound without X" | 7752 echo "Attempt to Build NAS sound without X" |
| 7566 fi | 7774 fi |
| 7567 fi | 7775 fi |
| 7568 | 7776 |
| 7569 if test "$with_mule" = "yes" ; then | 7777 if test "$with_mule" = "yes" ; then |
| 7570 echo "checking for Mule-related features" 1>&6 | 7778 echo "checking for Mule-related features" 1>&6 |
| 7571 echo "configure:7572: checking for Mule-related features" >&5 | 7779 echo "configure:7780: checking for Mule-related features" >&5 |
| 7572 { test "$extra_verbose" = "yes" && cat << \EOF | 7780 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7573 Defining MULE | 7781 Defining MULE |
| 7574 EOF | 7782 EOF |
| 7575 cat >> confdefs.h <<\EOF | 7783 cat >> confdefs.h <<\EOF |
| 7576 #define MULE 1 | 7784 #define MULE 1 |
| 7591 | 7799 |
| 7592 for ac_hdr in libintl.h | 7800 for ac_hdr in libintl.h |
| 7593 do | 7801 do |
| 7594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7802 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7803 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7596 echo "configure:7597: checking for $ac_hdr" >&5 | 7804 echo "configure:7805: checking for $ac_hdr" >&5 |
| 7597 | 7805 |
| 7598 cat > conftest.$ac_ext <<EOF | 7806 cat > conftest.$ac_ext <<EOF |
| 7599 #line 7600 "configure" | 7807 #line 7808 "configure" |
| 7600 #include "confdefs.h" | 7808 #include "confdefs.h" |
| 7601 #include <$ac_hdr> | 7809 #include <$ac_hdr> |
| 7602 EOF | 7810 EOF |
| 7603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7604 { (eval echo configure:7605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7812 { (eval echo configure:7813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7605 ac_err=`grep -v '^ *+' conftest.out` | 7813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7606 if test -z "$ac_err"; then | 7814 if test -z "$ac_err"; then |
| 7607 rm -rf conftest* | 7815 rm -rf conftest* |
| 7608 eval "ac_cv_header_$ac_safe=yes" | 7816 eval "ac_cv_header_$ac_safe=yes" |
| 7609 else | 7817 else |
| 7610 echo "$ac_err" >&5 | 7818 echo "$ac_err" >&5 |
| 7630 fi | 7838 fi |
| 7631 done | 7839 done |
| 7632 | 7840 |
| 7633 | 7841 |
| 7634 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7842 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 7635 echo "configure:7636: checking for strerror in -lintl" >&5 | 7843 echo "configure:7844: checking for strerror in -lintl" >&5 |
| 7636 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7844 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 7637 | 7845 |
| 7638 xe_check_libs=" -lintl " | 7846 xe_check_libs=" -lintl " |
| 7639 cat > conftest.$ac_ext <<EOF | 7847 cat > conftest.$ac_ext <<EOF |
| 7640 #line 7641 "configure" | 7848 #line 7849 "configure" |
| 7641 #include "confdefs.h" | 7849 #include "confdefs.h" |
| 7642 /* Override any gcc2 internal prototype to avoid an error. */ | 7850 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7643 /* We use char because int might match the return type of a gcc2 | 7851 /* We use char because int might match the return type of a gcc2 |
| 7644 builtin and then its argument prototype would still apply. */ | 7852 builtin and then its argument prototype would still apply. */ |
| 7645 char strerror(); | 7853 char strerror(); |
| 7646 | 7854 |
| 7647 int main() { | 7855 int main() { |
| 7648 strerror() | 7856 strerror() |
| 7649 ; return 0; } | 7857 ; return 0; } |
| 7650 EOF | 7858 EOF |
| 7651 if { (eval echo configure:7652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7859 if { (eval echo configure:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7652 rm -rf conftest* | 7860 rm -rf conftest* |
| 7653 eval "ac_cv_lib_$ac_lib_var=yes" | 7861 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7654 else | 7862 else |
| 7655 echo "configure: failed program was:" >&5 | 7863 echo "configure: failed program was:" >&5 |
| 7656 cat conftest.$ac_ext >&5 | 7864 cat conftest.$ac_ext >&5 |
| 7679 fi | 7887 fi |
| 7680 | 7888 |
| 7681 | 7889 |
| 7682 | 7890 |
| 7683 echo "checking for Mule input methods" 1>&6 | 7891 echo "checking for Mule input methods" 1>&6 |
| 7684 echo "configure:7685: checking for Mule input methods" >&5 | 7892 echo "configure:7893: checking for Mule input methods" >&5 |
| 7685 case "$with_xim" in "" | "yes" ) | 7893 case "$with_xim" in "" | "yes" ) |
| 7686 echo "checking for XIM" 1>&6 | 7894 echo "checking for XIM" 1>&6 |
| 7687 echo "configure:7688: checking for XIM" >&5 | 7895 echo "configure:7896: checking for XIM" >&5 |
| 7688 | 7896 |
| 7689 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 7897 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 7690 echo "configure:7691: checking for XOpenIM in -lX11" >&5 | 7898 echo "configure:7899: checking for XOpenIM in -lX11" >&5 |
| 7691 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 7899 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
| 7692 | 7900 |
| 7693 xe_check_libs=" -lX11 " | 7901 xe_check_libs=" -lX11 " |
| 7694 cat > conftest.$ac_ext <<EOF | 7902 cat > conftest.$ac_ext <<EOF |
| 7695 #line 7696 "configure" | 7903 #line 7904 "configure" |
| 7696 #include "confdefs.h" | 7904 #include "confdefs.h" |
| 7697 /* Override any gcc2 internal prototype to avoid an error. */ | 7905 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7698 /* We use char because int might match the return type of a gcc2 | 7906 /* We use char because int might match the return type of a gcc2 |
| 7699 builtin and then its argument prototype would still apply. */ | 7907 builtin and then its argument prototype would still apply. */ |
| 7700 char XOpenIM(); | 7908 char XOpenIM(); |
| 7701 | 7909 |
| 7702 int main() { | 7910 int main() { |
| 7703 XOpenIM() | 7911 XOpenIM() |
| 7704 ; return 0; } | 7912 ; return 0; } |
| 7705 EOF | 7913 EOF |
| 7706 if { (eval echo configure:7707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7914 if { (eval echo configure:7915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7707 rm -rf conftest* | 7915 rm -rf conftest* |
| 7708 eval "ac_cv_lib_$ac_lib_var=yes" | 7916 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7709 else | 7917 else |
| 7710 echo "configure: failed program was:" >&5 | 7918 echo "configure: failed program was:" >&5 |
| 7711 cat conftest.$ac_ext >&5 | 7919 cat conftest.$ac_ext >&5 |
| 7725 | 7933 |
| 7726 | 7934 |
| 7727 if test "$have_motif $have_lesstif" = "yes no"; then | 7935 if test "$have_motif $have_lesstif" = "yes no"; then |
| 7728 | 7936 |
| 7729 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7937 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 7730 echo "configure:7731: checking for XmImMbLookupString in -lXm" >&5 | 7938 echo "configure:7939: checking for XmImMbLookupString in -lXm" >&5 |
| 7731 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7939 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 7732 | 7940 |
| 7733 xe_check_libs=" -lXm " | 7941 xe_check_libs=" -lXm " |
| 7734 cat > conftest.$ac_ext <<EOF | 7942 cat > conftest.$ac_ext <<EOF |
| 7735 #line 7736 "configure" | 7943 #line 7944 "configure" |
| 7736 #include "confdefs.h" | 7944 #include "confdefs.h" |
| 7737 /* Override any gcc2 internal prototype to avoid an error. */ | 7945 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7738 /* We use char because int might match the return type of a gcc2 | 7946 /* We use char because int might match the return type of a gcc2 |
| 7739 builtin and then its argument prototype would still apply. */ | 7947 builtin and then its argument prototype would still apply. */ |
| 7740 char XmImMbLookupString(); | 7948 char XmImMbLookupString(); |
| 7741 | 7949 |
| 7742 int main() { | 7950 int main() { |
| 7743 XmImMbLookupString() | 7951 XmImMbLookupString() |
| 7744 ; return 0; } | 7952 ; return 0; } |
| 7745 EOF | 7953 EOF |
| 7746 if { (eval echo configure:7747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7954 if { (eval echo configure:7955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7747 rm -rf conftest* | 7955 rm -rf conftest* |
| 7748 eval "ac_cv_lib_$ac_lib_var=yes" | 7956 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7749 else | 7957 else |
| 7750 echo "configure: failed program was:" >&5 | 7958 echo "configure: failed program was:" >&5 |
| 7751 cat conftest.$ac_ext >&5 | 7959 cat conftest.$ac_ext >&5 |
| 7806 fi | 8014 fi |
| 7807 fi | 8015 fi |
| 7808 | 8016 |
| 7809 if test "$with_xfs" = "yes" ; then | 8017 if test "$with_xfs" = "yes" ; then |
| 7810 echo "checking for XFontSet" 1>&6 | 8018 echo "checking for XFontSet" 1>&6 |
| 7811 echo "configure:7812: checking for XFontSet" >&5 | 8019 echo "configure:8020: checking for XFontSet" >&5 |
| 7812 | 8020 |
| 7813 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 8021 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7814 echo "configure:7815: checking for XmbDrawString in -lX11" >&5 | 8022 echo "configure:8023: checking for XmbDrawString in -lX11" >&5 |
| 7815 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 8023 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7816 | 8024 |
| 7817 xe_check_libs=" -lX11 " | 8025 xe_check_libs=" -lX11 " |
| 7818 cat > conftest.$ac_ext <<EOF | 8026 cat > conftest.$ac_ext <<EOF |
| 7819 #line 7820 "configure" | 8027 #line 8028 "configure" |
| 7820 #include "confdefs.h" | 8028 #include "confdefs.h" |
| 7821 /* Override any gcc2 internal prototype to avoid an error. */ | 8029 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7822 /* We use char because int might match the return type of a gcc2 | 8030 /* We use char because int might match the return type of a gcc2 |
| 7823 builtin and then its argument prototype would still apply. */ | 8031 builtin and then its argument prototype would still apply. */ |
| 7824 char XmbDrawString(); | 8032 char XmbDrawString(); |
| 7825 | 8033 |
| 7826 int main() { | 8034 int main() { |
| 7827 XmbDrawString() | 8035 XmbDrawString() |
| 7828 ; return 0; } | 8036 ; return 0; } |
| 7829 EOF | 8037 EOF |
| 7830 if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8038 if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7831 rm -rf conftest* | 8039 rm -rf conftest* |
| 7832 eval "ac_cv_lib_$ac_lib_var=yes" | 8040 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7833 else | 8041 else |
| 7834 echo "configure: failed program was:" >&5 | 8042 echo "configure: failed program was:" >&5 |
| 7835 cat conftest.$ac_ext >&5 | 8043 cat conftest.$ac_ext >&5 |
| 7865 fi | 8073 fi |
| 7866 fi | 8074 fi |
| 7867 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8075 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7868 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8076 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7869 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8077 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7870 echo "configure:7871: checking for wnn/jllib.h" >&5 | 8078 echo "configure:8079: checking for wnn/jllib.h" >&5 |
| 7871 | 8079 |
| 7872 cat > conftest.$ac_ext <<EOF | 8080 cat > conftest.$ac_ext <<EOF |
| 7873 #line 7874 "configure" | 8081 #line 8082 "configure" |
| 7874 #include "confdefs.h" | 8082 #include "confdefs.h" |
| 7875 #include <wnn/jllib.h> | 8083 #include <wnn/jllib.h> |
| 7876 EOF | 8084 EOF |
| 7877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7878 { (eval echo configure:7879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8086 { (eval echo configure:8087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7879 ac_err=`grep -v '^ *+' conftest.out` | 8087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7880 if test -z "$ac_err"; then | 8088 if test -z "$ac_err"; then |
| 7881 rm -rf conftest* | 8089 rm -rf conftest* |
| 7882 eval "ac_cv_header_$ac_safe=yes" | 8090 eval "ac_cv_header_$ac_safe=yes" |
| 7883 else | 8091 else |
| 7884 echo "$ac_err" >&5 | 8092 echo "$ac_err" >&5 |
| 7898 } | 8106 } |
| 7899 if test "$with_wnn" != "no"; then | 8107 if test "$with_wnn" != "no"; then |
| 7900 for ac_func in crypt | 8108 for ac_func in crypt |
| 7901 do | 8109 do |
| 7902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7903 echo "configure:7904: checking for $ac_func" >&5 | 8111 echo "configure:8112: checking for $ac_func" >&5 |
| 7904 | 8112 |
| 7905 cat > conftest.$ac_ext <<EOF | 8113 cat > conftest.$ac_ext <<EOF |
| 7906 #line 7907 "configure" | 8114 #line 8115 "configure" |
| 7907 #include "confdefs.h" | 8115 #include "confdefs.h" |
| 7908 /* System header to define __stub macros and hopefully few prototypes, | 8116 /* System header to define __stub macros and hopefully few prototypes, |
| 7909 which can conflict with char $ac_func(); below. */ | 8117 which can conflict with char $ac_func(); below. */ |
| 7910 #include <assert.h> | 8118 #include <assert.h> |
| 7911 /* Override any gcc2 internal prototype to avoid an error. */ | 8119 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7924 $ac_func(); | 8132 $ac_func(); |
| 7925 #endif | 8133 #endif |
| 7926 | 8134 |
| 7927 ; return 0; } | 8135 ; return 0; } |
| 7928 EOF | 8136 EOF |
| 7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8137 if { (eval echo configure:8138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7930 rm -rf conftest* | 8138 rm -rf conftest* |
| 7931 eval "ac_cv_func_$ac_func=yes" | 8139 eval "ac_cv_func_$ac_func=yes" |
| 7932 else | 8140 else |
| 7933 echo "configure: failed program was:" >&5 | 8141 echo "configure: failed program was:" >&5 |
| 7934 cat conftest.$ac_ext >&5 | 8142 cat conftest.$ac_ext >&5 |
| 7953 fi | 8161 fi |
| 7954 done | 8162 done |
| 7955 | 8163 |
| 7956 test "$ac_cv_func_crypt" != "yes" && { | 8164 test "$ac_cv_func_crypt" != "yes" && { |
| 7957 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8165 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7958 echo "configure:7959: checking for crypt in -lcrypt" >&5 | 8166 echo "configure:8167: checking for crypt in -lcrypt" >&5 |
| 7959 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8167 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7960 | 8168 |
| 7961 xe_check_libs=" -lcrypt " | 8169 xe_check_libs=" -lcrypt " |
| 7962 cat > conftest.$ac_ext <<EOF | 8170 cat > conftest.$ac_ext <<EOF |
| 7963 #line 7964 "configure" | 8171 #line 8172 "configure" |
| 7964 #include "confdefs.h" | 8172 #include "confdefs.h" |
| 7965 /* Override any gcc2 internal prototype to avoid an error. */ | 8173 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7966 /* We use char because int might match the return type of a gcc2 | 8174 /* We use char because int might match the return type of a gcc2 |
| 7967 builtin and then its argument prototype would still apply. */ | 8175 builtin and then its argument prototype would still apply. */ |
| 7968 char crypt(); | 8176 char crypt(); |
| 7969 | 8177 |
| 7970 int main() { | 8178 int main() { |
| 7971 crypt() | 8179 crypt() |
| 7972 ; return 0; } | 8180 ; return 0; } |
| 7973 EOF | 8181 EOF |
| 7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8182 if { (eval echo configure:8183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7975 rm -rf conftest* | 8183 rm -rf conftest* |
| 7976 eval "ac_cv_lib_$ac_lib_var=yes" | 8184 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7977 else | 8185 else |
| 7978 echo "configure: failed program was:" >&5 | 8186 echo "configure: failed program was:" >&5 |
| 7979 cat conftest.$ac_ext >&5 | 8187 cat conftest.$ac_ext >&5 |
| 8004 } | 8212 } |
| 8005 fi | 8213 fi |
| 8006 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8214 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 8007 | 8215 |
| 8008 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8216 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 8009 echo "configure:8010: checking for jl_dic_list_e in -lwnn" >&5 | 8217 echo "configure:8218: checking for jl_dic_list_e in -lwnn" >&5 |
| 8010 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8218 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8011 | 8219 |
| 8012 xe_check_libs=" -lwnn " | 8220 xe_check_libs=" -lwnn " |
| 8013 cat > conftest.$ac_ext <<EOF | 8221 cat > conftest.$ac_ext <<EOF |
| 8014 #line 8015 "configure" | 8222 #line 8223 "configure" |
| 8015 #include "confdefs.h" | 8223 #include "confdefs.h" |
| 8016 /* Override any gcc2 internal prototype to avoid an error. */ | 8224 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8017 /* We use char because int might match the return type of a gcc2 | 8225 /* We use char because int might match the return type of a gcc2 |
| 8018 builtin and then its argument prototype would still apply. */ | 8226 builtin and then its argument prototype would still apply. */ |
| 8019 char jl_dic_list_e(); | 8227 char jl_dic_list_e(); |
| 8020 | 8228 |
| 8021 int main() { | 8229 int main() { |
| 8022 jl_dic_list_e() | 8230 jl_dic_list_e() |
| 8023 ; return 0; } | 8231 ; return 0; } |
| 8024 EOF | 8232 EOF |
| 8025 if { (eval echo configure:8026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8026 rm -rf conftest* | 8234 rm -rf conftest* |
| 8027 eval "ac_cv_lib_$ac_lib_var=yes" | 8235 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8028 else | 8236 else |
| 8029 echo "configure: failed program was:" >&5 | 8237 echo "configure: failed program was:" >&5 |
| 8030 cat conftest.$ac_ext >&5 | 8238 cat conftest.$ac_ext >&5 |
| 8038 echo "$ac_t""yes" 1>&6 | 8246 echo "$ac_t""yes" 1>&6 |
| 8039 libwnn=wnn | 8247 libwnn=wnn |
| 8040 else | 8248 else |
| 8041 echo "$ac_t""no" 1>&6 | 8249 echo "$ac_t""no" 1>&6 |
| 8042 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8250 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 8043 echo "configure:8044: checking for jl_dic_list_e in -lwnn4" >&5 | 8251 echo "configure:8252: checking for jl_dic_list_e in -lwnn4" >&5 |
| 8044 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8252 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8045 | 8253 |
| 8046 xe_check_libs=" -lwnn4 " | 8254 xe_check_libs=" -lwnn4 " |
| 8047 cat > conftest.$ac_ext <<EOF | 8255 cat > conftest.$ac_ext <<EOF |
| 8048 #line 8049 "configure" | 8256 #line 8257 "configure" |
| 8049 #include "confdefs.h" | 8257 #include "confdefs.h" |
| 8050 /* Override any gcc2 internal prototype to avoid an error. */ | 8258 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8051 /* We use char because int might match the return type of a gcc2 | 8259 /* We use char because int might match the return type of a gcc2 |
| 8052 builtin and then its argument prototype would still apply. */ | 8260 builtin and then its argument prototype would still apply. */ |
| 8053 char jl_dic_list_e(); | 8261 char jl_dic_list_e(); |
| 8054 | 8262 |
| 8055 int main() { | 8263 int main() { |
| 8056 jl_dic_list_e() | 8264 jl_dic_list_e() |
| 8057 ; return 0; } | 8265 ; return 0; } |
| 8058 EOF | 8266 EOF |
| 8059 if { (eval echo configure:8060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8267 if { (eval echo configure:8268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8060 rm -rf conftest* | 8268 rm -rf conftest* |
| 8061 eval "ac_cv_lib_$ac_lib_var=yes" | 8269 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8062 else | 8270 else |
| 8063 echo "configure: failed program was:" >&5 | 8271 echo "configure: failed program was:" >&5 |
| 8064 cat conftest.$ac_ext >&5 | 8272 cat conftest.$ac_ext >&5 |
| 8072 echo "$ac_t""yes" 1>&6 | 8280 echo "$ac_t""yes" 1>&6 |
| 8073 libwnn=wnn4 | 8281 libwnn=wnn4 |
| 8074 else | 8282 else |
| 8075 echo "$ac_t""no" 1>&6 | 8283 echo "$ac_t""no" 1>&6 |
| 8076 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8284 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 8077 echo "configure:8078: checking for jl_dic_list_e in -lwnn6" >&5 | 8285 echo "configure:8286: checking for jl_dic_list_e in -lwnn6" >&5 |
| 8078 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8286 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8079 | 8287 |
| 8080 xe_check_libs=" -lwnn6 " | 8288 xe_check_libs=" -lwnn6 " |
| 8081 cat > conftest.$ac_ext <<EOF | 8289 cat > conftest.$ac_ext <<EOF |
| 8082 #line 8083 "configure" | 8290 #line 8291 "configure" |
| 8083 #include "confdefs.h" | 8291 #include "confdefs.h" |
| 8084 /* Override any gcc2 internal prototype to avoid an error. */ | 8292 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8085 /* We use char because int might match the return type of a gcc2 | 8293 /* We use char because int might match the return type of a gcc2 |
| 8086 builtin and then its argument prototype would still apply. */ | 8294 builtin and then its argument prototype would still apply. */ |
| 8087 char jl_dic_list_e(); | 8295 char jl_dic_list_e(); |
| 8088 | 8296 |
| 8089 int main() { | 8297 int main() { |
| 8090 jl_dic_list_e() | 8298 jl_dic_list_e() |
| 8091 ; return 0; } | 8299 ; return 0; } |
| 8092 EOF | 8300 EOF |
| 8093 if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8301 if { (eval echo configure:8302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8094 rm -rf conftest* | 8302 rm -rf conftest* |
| 8095 eval "ac_cv_lib_$ac_lib_var=yes" | 8303 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8096 else | 8304 else |
| 8097 echo "configure: failed program was:" >&5 | 8305 echo "configure: failed program was:" >&5 |
| 8098 cat conftest.$ac_ext >&5 | 8306 cat conftest.$ac_ext >&5 |
| 8106 echo "$ac_t""yes" 1>&6 | 8314 echo "$ac_t""yes" 1>&6 |
| 8107 libwnn=wnn6 | 8315 libwnn=wnn6 |
| 8108 else | 8316 else |
| 8109 echo "$ac_t""no" 1>&6 | 8317 echo "$ac_t""no" 1>&6 |
| 8110 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8318 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 8111 echo "configure:8112: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8319 echo "configure:8320: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 8112 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8320 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 8113 | 8321 |
| 8114 xe_check_libs=" -lwnn6_fromsrc " | 8322 xe_check_libs=" -lwnn6_fromsrc " |
| 8115 cat > conftest.$ac_ext <<EOF | 8323 cat > conftest.$ac_ext <<EOF |
| 8116 #line 8117 "configure" | 8324 #line 8325 "configure" |
| 8117 #include "confdefs.h" | 8325 #include "confdefs.h" |
| 8118 /* Override any gcc2 internal prototype to avoid an error. */ | 8326 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8119 /* We use char because int might match the return type of a gcc2 | 8327 /* We use char because int might match the return type of a gcc2 |
| 8120 builtin and then its argument prototype would still apply. */ | 8328 builtin and then its argument prototype would still apply. */ |
| 8121 char dic_list_e(); | 8329 char dic_list_e(); |
| 8122 | 8330 |
| 8123 int main() { | 8331 int main() { |
| 8124 dic_list_e() | 8332 dic_list_e() |
| 8125 ; return 0; } | 8333 ; return 0; } |
| 8126 EOF | 8334 EOF |
| 8127 if { (eval echo configure:8128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8335 if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8128 rm -rf conftest* | 8336 rm -rf conftest* |
| 8129 eval "ac_cv_lib_$ac_lib_var=yes" | 8337 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8130 else | 8338 else |
| 8131 echo "configure: failed program was:" >&5 | 8339 echo "configure: failed program was:" >&5 |
| 8132 cat conftest.$ac_ext >&5 | 8340 cat conftest.$ac_ext >&5 |
| 8170 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8378 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 8171 fi | 8379 fi |
| 8172 if test "$with_wnn6" != "no"; then | 8380 if test "$with_wnn6" != "no"; then |
| 8173 | 8381 |
| 8174 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8382 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 8175 echo "configure:8176: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8383 echo "configure:8384: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 8176 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8384 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 8177 | 8385 |
| 8178 xe_check_libs=" -l$libwnn " | 8386 xe_check_libs=" -l$libwnn " |
| 8179 cat > conftest.$ac_ext <<EOF | 8387 cat > conftest.$ac_ext <<EOF |
| 8180 #line 8181 "configure" | 8388 #line 8389 "configure" |
| 8181 #include "confdefs.h" | 8389 #include "confdefs.h" |
| 8182 /* Override any gcc2 internal prototype to avoid an error. */ | 8390 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8183 /* We use char because int might match the return type of a gcc2 | 8391 /* We use char because int might match the return type of a gcc2 |
| 8184 builtin and then its argument prototype would still apply. */ | 8392 builtin and then its argument prototype would still apply. */ |
| 8185 char jl_fi_dic_list(); | 8393 char jl_fi_dic_list(); |
| 8186 | 8394 |
| 8187 int main() { | 8395 int main() { |
| 8188 jl_fi_dic_list() | 8396 jl_fi_dic_list() |
| 8189 ; return 0; } | 8397 ; return 0; } |
| 8190 EOF | 8398 EOF |
| 8191 if { (eval echo configure:8192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8399 if { (eval echo configure:8400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8192 rm -rf conftest* | 8400 rm -rf conftest* |
| 8193 eval "ac_cv_lib_$ac_lib_var=yes" | 8401 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8194 else | 8402 else |
| 8195 echo "configure: failed program was:" >&5 | 8403 echo "configure: failed program was:" >&5 |
| 8196 cat conftest.$ac_ext >&5 | 8404 cat conftest.$ac_ext >&5 |
| 8221 | 8429 |
| 8222 canna_includes_found=no | 8430 canna_includes_found=no |
| 8223 if test "$with_canna" != "no"; then | 8431 if test "$with_canna" != "no"; then |
| 8224 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8432 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8225 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8433 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8226 echo "configure:8227: checking for canna/jrkanji.h" >&5 | 8434 echo "configure:8435: checking for canna/jrkanji.h" >&5 |
| 8227 | 8435 |
| 8228 cat > conftest.$ac_ext <<EOF | 8436 cat > conftest.$ac_ext <<EOF |
| 8229 #line 8230 "configure" | 8437 #line 8438 "configure" |
| 8230 #include "confdefs.h" | 8438 #include "confdefs.h" |
| 8231 #include <canna/jrkanji.h> | 8439 #include <canna/jrkanji.h> |
| 8232 EOF | 8440 EOF |
| 8233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8234 { (eval echo configure:8235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8442 { (eval echo configure:8443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8235 ac_err=`grep -v '^ *+' conftest.out` | 8443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8236 if test -z "$ac_err"; then | 8444 if test -z "$ac_err"; then |
| 8237 rm -rf conftest* | 8445 rm -rf conftest* |
| 8238 eval "ac_cv_header_$ac_safe=yes" | 8446 eval "ac_cv_header_$ac_safe=yes" |
| 8239 else | 8447 else |
| 8240 echo "$ac_err" >&5 | 8448 echo "$ac_err" >&5 |
| 8256 -d "/usr/local/canna/include"; then | 8464 -d "/usr/local/canna/include"; then |
| 8257 save_c_switch_site="$c_switch_site" | 8465 save_c_switch_site="$c_switch_site" |
| 8258 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8466 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 8259 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8467 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8260 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8468 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8261 echo "configure:8262: checking for canna/jrkanji.h" >&5 | 8469 echo "configure:8470: checking for canna/jrkanji.h" >&5 |
| 8262 | 8470 |
| 8263 cat > conftest.$ac_ext <<EOF | 8471 cat > conftest.$ac_ext <<EOF |
| 8264 #line 8265 "configure" | 8472 #line 8473 "configure" |
| 8265 #include "confdefs.h" | 8473 #include "confdefs.h" |
| 8266 #include <canna/jrkanji.h> | 8474 #include <canna/jrkanji.h> |
| 8267 EOF | 8475 EOF |
| 8268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8269 { (eval echo configure:8270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8477 { (eval echo configure:8478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8270 ac_err=`grep -v '^ *+' conftest.out` | 8478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8271 if test -z "$ac_err"; then | 8479 if test -z "$ac_err"; then |
| 8272 rm -rf conftest* | 8480 rm -rf conftest* |
| 8273 eval "ac_cv_header_$ac_safe=yes" | 8481 eval "ac_cv_header_$ac_safe=yes" |
| 8274 else | 8482 else |
| 8275 echo "$ac_err" >&5 | 8483 echo "$ac_err" >&5 |
| 8292 fi | 8500 fi |
| 8293 fi | 8501 fi |
| 8294 | 8502 |
| 8295 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8503 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 8296 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8504 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 8297 echo "configure:8298: checking for canna/RK.h" >&5 | 8505 echo "configure:8506: checking for canna/RK.h" >&5 |
| 8298 | 8506 |
| 8299 cat > conftest.$ac_ext <<EOF | 8507 cat > conftest.$ac_ext <<EOF |
| 8300 #line 8301 "configure" | 8508 #line 8509 "configure" |
| 8301 #include "confdefs.h" | 8509 #include "confdefs.h" |
| 8302 #include <canna/RK.h> | 8510 #include <canna/RK.h> |
| 8303 EOF | 8511 EOF |
| 8304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8305 { (eval echo configure:8306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8513 { (eval echo configure:8514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8306 ac_err=`grep -v '^ *+' conftest.out` | 8514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8307 if test -z "$ac_err"; then | 8515 if test -z "$ac_err"; then |
| 8308 rm -rf conftest* | 8516 rm -rf conftest* |
| 8309 eval "ac_cv_header_$ac_safe=yes" | 8517 eval "ac_cv_header_$ac_safe=yes" |
| 8310 else | 8518 else |
| 8311 echo "$ac_err" >&5 | 8519 echo "$ac_err" >&5 |
| 8323 with_canna=no | 8531 with_canna=no |
| 8324 fi | 8532 fi |
| 8325 } | 8533 } |
| 8326 test -z "$with_canna" && { | 8534 test -z "$with_canna" && { |
| 8327 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8535 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 8328 echo "configure:8329: checking for RkBgnBun in -lRKC" >&5 | 8536 echo "configure:8537: checking for RkBgnBun in -lRKC" >&5 |
| 8329 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8537 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 8330 | 8538 |
| 8331 xe_check_libs=" -lRKC " | 8539 xe_check_libs=" -lRKC " |
| 8332 cat > conftest.$ac_ext <<EOF | 8540 cat > conftest.$ac_ext <<EOF |
| 8333 #line 8334 "configure" | 8541 #line 8542 "configure" |
| 8334 #include "confdefs.h" | 8542 #include "confdefs.h" |
| 8335 /* Override any gcc2 internal prototype to avoid an error. */ | 8543 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8336 /* We use char because int might match the return type of a gcc2 | 8544 /* We use char because int might match the return type of a gcc2 |
| 8337 builtin and then its argument prototype would still apply. */ | 8545 builtin and then its argument prototype would still apply. */ |
| 8338 char RkBgnBun(); | 8546 char RkBgnBun(); |
| 8339 | 8547 |
| 8340 int main() { | 8548 int main() { |
| 8341 RkBgnBun() | 8549 RkBgnBun() |
| 8342 ; return 0; } | 8550 ; return 0; } |
| 8343 EOF | 8551 EOF |
| 8344 if { (eval echo configure:8345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8552 if { (eval echo configure:8553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8345 rm -rf conftest* | 8553 rm -rf conftest* |
| 8346 eval "ac_cv_lib_$ac_lib_var=yes" | 8554 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8347 else | 8555 else |
| 8348 echo "configure: failed program was:" >&5 | 8556 echo "configure: failed program was:" >&5 |
| 8349 cat conftest.$ac_ext >&5 | 8557 cat conftest.$ac_ext >&5 |
| 8362 fi | 8570 fi |
| 8363 | 8571 |
| 8364 } | 8572 } |
| 8365 test -z "$with_canna" && { | 8573 test -z "$with_canna" && { |
| 8366 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8574 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 8367 echo "configure:8368: checking for jrKanjiControl in -lcanna" >&5 | 8575 echo "configure:8576: checking for jrKanjiControl in -lcanna" >&5 |
| 8368 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8576 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 8369 | 8577 |
| 8370 xe_check_libs=" -lcanna " | 8578 xe_check_libs=" -lcanna " |
| 8371 cat > conftest.$ac_ext <<EOF | 8579 cat > conftest.$ac_ext <<EOF |
| 8372 #line 8373 "configure" | 8580 #line 8581 "configure" |
| 8373 #include "confdefs.h" | 8581 #include "confdefs.h" |
| 8374 /* Override any gcc2 internal prototype to avoid an error. */ | 8582 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8375 /* We use char because int might match the return type of a gcc2 | 8583 /* We use char because int might match the return type of a gcc2 |
| 8376 builtin and then its argument prototype would still apply. */ | 8584 builtin and then its argument prototype would still apply. */ |
| 8377 char jrKanjiControl(); | 8585 char jrKanjiControl(); |
| 8378 | 8586 |
| 8379 int main() { | 8587 int main() { |
| 8380 jrKanjiControl() | 8588 jrKanjiControl() |
| 8381 ; return 0; } | 8589 ; return 0; } |
| 8382 EOF | 8590 EOF |
| 8383 if { (eval echo configure:8384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8591 if { (eval echo configure:8592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8384 rm -rf conftest* | 8592 rm -rf conftest* |
| 8385 eval "ac_cv_lib_$ac_lib_var=yes" | 8593 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8386 else | 8594 else |
| 8387 echo "configure: failed program was:" >&5 | 8595 echo "configure: failed program was:" >&5 |
| 8388 cat conftest.$ac_ext >&5 | 8596 cat conftest.$ac_ext >&5 |
| 8427 | 8635 |
| 8428 if test "$need_motif" = "yes" ; then | 8636 if test "$need_motif" = "yes" ; then |
| 8429 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8637 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 8430 | 8638 |
| 8431 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8639 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 8432 echo "configure:8433: checking for layout_object_getvalue in -li18n" >&5 | 8640 echo "configure:8641: checking for layout_object_getvalue in -li18n" >&5 |
| 8433 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8641 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 8434 | 8642 |
| 8435 xe_check_libs=" -li18n " | 8643 xe_check_libs=" -li18n " |
| 8436 cat > conftest.$ac_ext <<EOF | 8644 cat > conftest.$ac_ext <<EOF |
| 8437 #line 8438 "configure" | 8645 #line 8646 "configure" |
| 8438 #include "confdefs.h" | 8646 #include "confdefs.h" |
| 8439 /* Override any gcc2 internal prototype to avoid an error. */ | 8647 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8440 /* We use char because int might match the return type of a gcc2 | 8648 /* We use char because int might match the return type of a gcc2 |
| 8441 builtin and then its argument prototype would still apply. */ | 8649 builtin and then its argument prototype would still apply. */ |
| 8442 char layout_object_getvalue(); | 8650 char layout_object_getvalue(); |
| 8443 | 8651 |
| 8444 int main() { | 8652 int main() { |
| 8445 layout_object_getvalue() | 8653 layout_object_getvalue() |
| 8446 ; return 0; } | 8654 ; return 0; } |
| 8447 EOF | 8655 EOF |
| 8448 if { (eval echo configure:8449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8656 if { (eval echo configure:8657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8449 rm -rf conftest* | 8657 rm -rf conftest* |
| 8450 eval "ac_cv_lib_$ac_lib_var=yes" | 8658 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8451 else | 8659 else |
| 8452 echo "configure: failed program was:" >&5 | 8660 echo "configure: failed program was:" >&5 |
| 8453 cat conftest.$ac_ext >&5 | 8661 cat conftest.$ac_ext >&5 |
| 8529 fi | 8737 fi |
| 8530 | 8738 |
| 8531 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 | 8739 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 |
| 8532 do | 8740 do |
| 8533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8741 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8534 echo "configure:8535: checking for $ac_func" >&5 | 8742 echo "configure:8743: checking for $ac_func" >&5 |
| 8535 | 8743 |
| 8536 cat > conftest.$ac_ext <<EOF | 8744 cat > conftest.$ac_ext <<EOF |
| 8537 #line 8538 "configure" | 8745 #line 8746 "configure" |
| 8538 #include "confdefs.h" | 8746 #include "confdefs.h" |
| 8539 /* System header to define __stub macros and hopefully few prototypes, | 8747 /* System header to define __stub macros and hopefully few prototypes, |
| 8540 which can conflict with char $ac_func(); below. */ | 8748 which can conflict with char $ac_func(); below. */ |
| 8541 #include <assert.h> | 8749 #include <assert.h> |
| 8542 /* Override any gcc2 internal prototype to avoid an error. */ | 8750 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8555 $ac_func(); | 8763 $ac_func(); |
| 8556 #endif | 8764 #endif |
| 8557 | 8765 |
| 8558 ; return 0; } | 8766 ; return 0; } |
| 8559 EOF | 8767 EOF |
| 8560 if { (eval echo configure:8561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8768 if { (eval echo configure:8769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8561 rm -rf conftest* | 8769 rm -rf conftest* |
| 8562 eval "ac_cv_func_$ac_func=yes" | 8770 eval "ac_cv_func_$ac_func=yes" |
| 8563 else | 8771 else |
| 8564 echo "configure: failed program was:" >&5 | 8772 echo "configure: failed program was:" >&5 |
| 8565 cat conftest.$ac_ext >&5 | 8773 cat conftest.$ac_ext >&5 |
| 8596 echo " xemacs will be linked with \"realpath.o\"" | 8804 echo " xemacs will be linked with \"realpath.o\"" |
| 8597 fi ;; | 8805 fi ;; |
| 8598 * ) for ac_func in realpath | 8806 * ) for ac_func in realpath |
| 8599 do | 8807 do |
| 8600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8601 echo "configure:8602: checking for $ac_func" >&5 | 8809 echo "configure:8810: checking for $ac_func" >&5 |
| 8602 | 8810 |
| 8603 cat > conftest.$ac_ext <<EOF | 8811 cat > conftest.$ac_ext <<EOF |
| 8604 #line 8605 "configure" | 8812 #line 8813 "configure" |
| 8605 #include "confdefs.h" | 8813 #include "confdefs.h" |
| 8606 /* System header to define __stub macros and hopefully few prototypes, | 8814 /* System header to define __stub macros and hopefully few prototypes, |
| 8607 which can conflict with char $ac_func(); below. */ | 8815 which can conflict with char $ac_func(); below. */ |
| 8608 #include <assert.h> | 8816 #include <assert.h> |
| 8609 /* Override any gcc2 internal prototype to avoid an error. */ | 8817 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8622 $ac_func(); | 8830 $ac_func(); |
| 8623 #endif | 8831 #endif |
| 8624 | 8832 |
| 8625 ; return 0; } | 8833 ; return 0; } |
| 8626 EOF | 8834 EOF |
| 8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8835 if { (eval echo configure:8836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8628 rm -rf conftest* | 8836 rm -rf conftest* |
| 8629 eval "ac_cv_func_$ac_func=yes" | 8837 eval "ac_cv_func_$ac_func=yes" |
| 8630 else | 8838 else |
| 8631 echo "configure: failed program was:" >&5 | 8839 echo "configure: failed program was:" >&5 |
| 8632 cat conftest.$ac_ext >&5 | 8840 cat conftest.$ac_ext >&5 |
| 8658 esac | 8866 esac |
| 8659 | 8867 |
| 8660 for ac_func in getloadavg | 8868 for ac_func in getloadavg |
| 8661 do | 8869 do |
| 8662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8663 echo "configure:8664: checking for $ac_func" >&5 | 8871 echo "configure:8872: checking for $ac_func" >&5 |
| 8664 | 8872 |
| 8665 cat > conftest.$ac_ext <<EOF | 8873 cat > conftest.$ac_ext <<EOF |
| 8666 #line 8667 "configure" | 8874 #line 8875 "configure" |
| 8667 #include "confdefs.h" | 8875 #include "confdefs.h" |
| 8668 /* System header to define __stub macros and hopefully few prototypes, | 8876 /* System header to define __stub macros and hopefully few prototypes, |
| 8669 which can conflict with char $ac_func(); below. */ | 8877 which can conflict with char $ac_func(); below. */ |
| 8670 #include <assert.h> | 8878 #include <assert.h> |
| 8671 /* Override any gcc2 internal prototype to avoid an error. */ | 8879 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8684 $ac_func(); | 8892 $ac_func(); |
| 8685 #endif | 8893 #endif |
| 8686 | 8894 |
| 8687 ; return 0; } | 8895 ; return 0; } |
| 8688 EOF | 8896 EOF |
| 8689 if { (eval echo configure:8690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8897 if { (eval echo configure:8898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8690 rm -rf conftest* | 8898 rm -rf conftest* |
| 8691 eval "ac_cv_func_$ac_func=yes" | 8899 eval "ac_cv_func_$ac_func=yes" |
| 8692 else | 8900 else |
| 8693 echo "configure: failed program was:" >&5 | 8901 echo "configure: failed program was:" >&5 |
| 8694 cat conftest.$ac_ext >&5 | 8902 cat conftest.$ac_ext >&5 |
| 8720 echo " xemacs will be linked with \"getloadavg.o\"" | 8928 echo " xemacs will be linked with \"getloadavg.o\"" |
| 8721 fi | 8929 fi |
| 8722 | 8930 |
| 8723 | 8931 |
| 8724 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 8932 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 8725 echo "configure:8726: checking for kstat_open in -lkstat" >&5 | 8933 echo "configure:8934: checking for kstat_open in -lkstat" >&5 |
| 8726 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 8934 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 8727 | 8935 |
| 8728 xe_check_libs=" -lkstat " | 8936 xe_check_libs=" -lkstat " |
| 8729 cat > conftest.$ac_ext <<EOF | 8937 cat > conftest.$ac_ext <<EOF |
| 8730 #line 8731 "configure" | 8938 #line 8939 "configure" |
| 8731 #include "confdefs.h" | 8939 #include "confdefs.h" |
| 8732 /* Override any gcc2 internal prototype to avoid an error. */ | 8940 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8733 /* We use char because int might match the return type of a gcc2 | 8941 /* We use char because int might match the return type of a gcc2 |
| 8734 builtin and then its argument prototype would still apply. */ | 8942 builtin and then its argument prototype would still apply. */ |
| 8735 char kstat_open(); | 8943 char kstat_open(); |
| 8736 | 8944 |
| 8737 int main() { | 8945 int main() { |
| 8738 kstat_open() | 8946 kstat_open() |
| 8739 ; return 0; } | 8947 ; return 0; } |
| 8740 EOF | 8948 EOF |
| 8741 if { (eval echo configure:8742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8949 if { (eval echo configure:8950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8742 rm -rf conftest* | 8950 rm -rf conftest* |
| 8743 eval "ac_cv_lib_$ac_lib_var=yes" | 8951 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8744 else | 8952 else |
| 8745 echo "configure: failed program was:" >&5 | 8953 echo "configure: failed program was:" >&5 |
| 8746 cat conftest.$ac_ext >&5 | 8954 cat conftest.$ac_ext >&5 |
| 8770 | 8978 |
| 8771 | 8979 |
| 8772 | 8980 |
| 8773 | 8981 |
| 8774 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 8982 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 8775 echo "configure:8776: checking for kvm_read in -lkvm" >&5 | 8983 echo "configure:8984: checking for kvm_read in -lkvm" >&5 |
| 8776 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 8984 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 8777 | 8985 |
| 8778 xe_check_libs=" -lkvm " | 8986 xe_check_libs=" -lkvm " |
| 8779 cat > conftest.$ac_ext <<EOF | 8987 cat > conftest.$ac_ext <<EOF |
| 8780 #line 8781 "configure" | 8988 #line 8989 "configure" |
| 8781 #include "confdefs.h" | 8989 #include "confdefs.h" |
| 8782 /* Override any gcc2 internal prototype to avoid an error. */ | 8990 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8783 /* We use char because int might match the return type of a gcc2 | 8991 /* We use char because int might match the return type of a gcc2 |
| 8784 builtin and then its argument prototype would still apply. */ | 8992 builtin and then its argument prototype would still apply. */ |
| 8785 char kvm_read(); | 8993 char kvm_read(); |
| 8786 | 8994 |
| 8787 int main() { | 8995 int main() { |
| 8788 kvm_read() | 8996 kvm_read() |
| 8789 ; return 0; } | 8997 ; return 0; } |
| 8790 EOF | 8998 EOF |
| 8791 if { (eval echo configure:8792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8999 if { (eval echo configure:9000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8792 rm -rf conftest* | 9000 rm -rf conftest* |
| 8793 eval "ac_cv_lib_$ac_lib_var=yes" | 9001 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8794 else | 9002 else |
| 8795 echo "configure: failed program was:" >&5 | 9003 echo "configure: failed program was:" >&5 |
| 8796 cat conftest.$ac_ext >&5 | 9004 cat conftest.$ac_ext >&5 |
| 8820 | 9028 |
| 8821 | 9029 |
| 8822 fi | 9030 fi |
| 8823 | 9031 |
| 8824 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9032 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 8825 echo "configure:8826: checking whether netdb declares h_errno" >&5 | 9033 echo "configure:9034: checking whether netdb declares h_errno" >&5 |
| 8826 cat > conftest.$ac_ext <<EOF | 9034 cat > conftest.$ac_ext <<EOF |
| 8827 #line 8828 "configure" | 9035 #line 9036 "configure" |
| 8828 #include "confdefs.h" | 9036 #include "confdefs.h" |
| 8829 #include <netdb.h> | 9037 #include <netdb.h> |
| 8830 int main() { | 9038 int main() { |
| 8831 return h_errno; | 9039 return h_errno; |
| 8832 ; return 0; } | 9040 ; return 0; } |
| 8833 EOF | 9041 EOF |
| 8834 if { (eval echo configure:8835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9042 if { (eval echo configure:9043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8835 rm -rf conftest* | 9043 rm -rf conftest* |
| 8836 echo "$ac_t""yes" 1>&6 | 9044 echo "$ac_t""yes" 1>&6 |
| 8837 { test "$extra_verbose" = "yes" && cat << \EOF | 9045 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8838 Defining HAVE_H_ERRNO | 9046 Defining HAVE_H_ERRNO |
| 8839 EOF | 9047 EOF |
| 8849 echo "$ac_t""no" 1>&6 | 9057 echo "$ac_t""no" 1>&6 |
| 8850 fi | 9058 fi |
| 8851 rm -f conftest* | 9059 rm -f conftest* |
| 8852 | 9060 |
| 8853 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9061 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 8854 echo "configure:8855: checking for sigsetjmp" >&5 | 9062 echo "configure:9063: checking for sigsetjmp" >&5 |
| 8855 cat > conftest.$ac_ext <<EOF | 9063 cat > conftest.$ac_ext <<EOF |
| 8856 #line 8857 "configure" | 9064 #line 9065 "configure" |
| 8857 #include "confdefs.h" | 9065 #include "confdefs.h" |
| 8858 #include <setjmp.h> | 9066 #include <setjmp.h> |
| 8859 int main() { | 9067 int main() { |
| 8860 sigjmp_buf bar; sigsetjmp (bar, 0); | 9068 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 8861 ; return 0; } | 9069 ; return 0; } |
| 8862 EOF | 9070 EOF |
| 8863 if { (eval echo configure:8864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9071 if { (eval echo configure:9072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8864 rm -rf conftest* | 9072 rm -rf conftest* |
| 8865 echo "$ac_t""yes" 1>&6 | 9073 echo "$ac_t""yes" 1>&6 |
| 8866 { test "$extra_verbose" = "yes" && cat << \EOF | 9074 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8867 Defining HAVE_SIGSETJMP | 9075 Defining HAVE_SIGSETJMP |
| 8868 EOF | 9076 EOF |
| 8878 echo "$ac_t""no" 1>&6 | 9086 echo "$ac_t""no" 1>&6 |
| 8879 fi | 9087 fi |
| 8880 rm -f conftest* | 9088 rm -f conftest* |
| 8881 | 9089 |
| 8882 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9090 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 8883 echo "configure:8884: checking whether localtime caches TZ" >&5 | 9091 echo "configure:9092: checking whether localtime caches TZ" >&5 |
| 8884 | 9092 |
| 8885 if test "$ac_cv_func_tzset" = "yes"; then | 9093 if test "$ac_cv_func_tzset" = "yes"; then |
| 8886 cat > conftest.$ac_ext <<EOF | 9094 cat > conftest.$ac_ext <<EOF |
| 8887 #line 8888 "configure" | 9095 #line 9096 "configure" |
| 8888 #include "confdefs.h" | 9096 #include "confdefs.h" |
| 8889 #include <time.h> | 9097 #include <time.h> |
| 8890 #if STDC_HEADERS | 9098 #if STDC_HEADERS |
| 8891 # include <stdlib.h> | 9099 # include <stdlib.h> |
| 8892 #endif | 9100 #endif |
| 8917 if (localtime (&now)->tm_hour != hour_unset) | 9125 if (localtime (&now)->tm_hour != hour_unset) |
| 8918 exit (1); | 9126 exit (1); |
| 8919 exit (0); | 9127 exit (0); |
| 8920 } | 9128 } |
| 8921 EOF | 9129 EOF |
| 8922 if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9130 if { (eval echo configure:9131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8923 then | 9131 then |
| 8924 emacs_cv_localtime_cache=no | 9132 emacs_cv_localtime_cache=no |
| 8925 else | 9133 else |
| 8926 conftest_rc="$?" | 9134 conftest_rc="$?" |
| 8927 echo "configure: failed program was:" >&5 | 9135 echo "configure: failed program was:" >&5 |
| 8947 | 9155 |
| 8948 fi | 9156 fi |
| 8949 | 9157 |
| 8950 if test "$HAVE_TIMEVAL" = "yes"; then | 9158 if test "$HAVE_TIMEVAL" = "yes"; then |
| 8951 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9159 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 8952 echo "configure:8953: checking whether gettimeofday accepts one or two arguments" >&5 | 9160 echo "configure:9161: checking whether gettimeofday accepts one or two arguments" >&5 |
| 8953 cat > conftest.$ac_ext <<EOF | 9161 cat > conftest.$ac_ext <<EOF |
| 8954 #line 8955 "configure" | 9162 #line 9163 "configure" |
| 8955 #include "confdefs.h" | 9163 #include "confdefs.h" |
| 8956 | 9164 |
| 8957 #ifdef TIME_WITH_SYS_TIME | 9165 #ifdef TIME_WITH_SYS_TIME |
| 8958 #include <sys/time.h> | 9166 #include <sys/time.h> |
| 8959 #include <time.h> | 9167 #include <time.h> |
| 8971 struct timezone dummy; | 9179 struct timezone dummy; |
| 8972 gettimeofday (&time, &dummy); | 9180 gettimeofday (&time, &dummy); |
| 8973 | 9181 |
| 8974 ; return 0; } | 9182 ; return 0; } |
| 8975 EOF | 9183 EOF |
| 8976 if { (eval echo configure:8977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9184 if { (eval echo configure:9185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8977 rm -rf conftest* | 9185 rm -rf conftest* |
| 8978 echo "$ac_t""two" 1>&6 | 9186 echo "$ac_t""two" 1>&6 |
| 8979 else | 9187 else |
| 8980 echo "configure: failed program was:" >&5 | 9188 echo "configure: failed program was:" >&5 |
| 8981 cat conftest.$ac_ext >&5 | 9189 cat conftest.$ac_ext >&5 |
| 8993 rm -f conftest* | 9201 rm -f conftest* |
| 8994 fi | 9202 fi |
| 8995 | 9203 |
| 8996 | 9204 |
| 8997 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9205 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 8998 echo "configure:8999: checking for inline" >&5 | 9206 echo "configure:9207: checking for inline" >&5 |
| 8999 | 9207 |
| 9000 ac_cv_c_inline=no | 9208 ac_cv_c_inline=no |
| 9001 for ac_kw in inline __inline__ __inline; do | 9209 for ac_kw in inline __inline__ __inline; do |
| 9002 cat > conftest.$ac_ext <<EOF | 9210 cat > conftest.$ac_ext <<EOF |
| 9003 #line 9004 "configure" | 9211 #line 9212 "configure" |
| 9004 #include "confdefs.h" | 9212 #include "confdefs.h" |
| 9005 | 9213 |
| 9006 int main() { | 9214 int main() { |
| 9007 } $ac_kw foo() { | 9215 } $ac_kw foo() { |
| 9008 ; return 0; } | 9216 ; return 0; } |
| 9009 EOF | 9217 EOF |
| 9010 if { (eval echo configure:9011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9218 if { (eval echo configure:9219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9011 rm -rf conftest* | 9219 rm -rf conftest* |
| 9012 ac_cv_c_inline=$ac_kw; break | 9220 ac_cv_c_inline=$ac_kw; break |
| 9013 else | 9221 else |
| 9014 echo "configure: failed program was:" >&5 | 9222 echo "configure: failed program was:" >&5 |
| 9015 cat conftest.$ac_ext >&5 | 9223 cat conftest.$ac_ext >&5 |
| 9055 | 9263 |
| 9056 | 9264 |
| 9057 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9265 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 9058 # for constant arguments. Useless! | 9266 # for constant arguments. Useless! |
| 9059 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9267 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 9060 echo "configure:9061: checking for working alloca.h" >&5 | 9268 echo "configure:9269: checking for working alloca.h" >&5 |
| 9061 | 9269 |
| 9062 cat > conftest.$ac_ext <<EOF | 9270 cat > conftest.$ac_ext <<EOF |
| 9063 #line 9064 "configure" | 9271 #line 9272 "configure" |
| 9064 #include "confdefs.h" | 9272 #include "confdefs.h" |
| 9065 #include <alloca.h> | 9273 #include <alloca.h> |
| 9066 int main() { | 9274 int main() { |
| 9067 char *p = alloca(2 * sizeof(int)); | 9275 char *p = alloca(2 * sizeof(int)); |
| 9068 ; return 0; } | 9276 ; return 0; } |
| 9069 EOF | 9277 EOF |
| 9070 if { (eval echo configure:9071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9278 if { (eval echo configure:9279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9071 rm -rf conftest* | 9279 rm -rf conftest* |
| 9072 ac_cv_header_alloca_h=yes | 9280 ac_cv_header_alloca_h=yes |
| 9073 else | 9281 else |
| 9074 echo "configure: failed program was:" >&5 | 9282 echo "configure: failed program was:" >&5 |
| 9075 cat conftest.$ac_ext >&5 | 9283 cat conftest.$ac_ext >&5 |
| 9089 } | 9297 } |
| 9090 | 9298 |
| 9091 fi | 9299 fi |
| 9092 | 9300 |
| 9093 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9301 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 9094 echo "configure:9095: checking for alloca" >&5 | 9302 echo "configure:9303: checking for alloca" >&5 |
| 9095 | 9303 |
| 9096 cat > conftest.$ac_ext <<EOF | 9304 cat > conftest.$ac_ext <<EOF |
| 9097 #line 9098 "configure" | 9305 #line 9306 "configure" |
| 9098 #include "confdefs.h" | 9306 #include "confdefs.h" |
| 9099 | 9307 |
| 9100 #ifdef __GNUC__ | 9308 #ifdef __GNUC__ |
| 9101 # define alloca __builtin_alloca | 9309 # define alloca __builtin_alloca |
| 9102 #else | 9310 #else |
| 9103 # if HAVE_ALLOCA_H | 9311 # ifdef _MSC_VER |
| 9104 # include <alloca.h> | 9312 # include <malloc.h> |
| 9313 # define alloca _alloca | |
| 9105 # else | 9314 # else |
| 9106 # ifdef _AIX | 9315 # if HAVE_ALLOCA_H |
| 9316 # include <alloca.h> | |
| 9317 # else | |
| 9318 # ifdef _AIX | |
| 9107 #pragma alloca | 9319 #pragma alloca |
| 9108 # else | 9320 # else |
| 9109 # ifndef alloca /* predefined by HP cc +Olibcalls */ | 9321 # ifndef alloca /* predefined by HP cc +Olibcalls */ |
| 9110 char *alloca (); | 9322 char *alloca (); |
| 9323 # endif | |
| 9111 # endif | 9324 # endif |
| 9112 # endif | 9325 # endif |
| 9113 # endif | 9326 # endif |
| 9114 #endif | 9327 #endif |
| 9115 | 9328 |
| 9116 int main() { | 9329 int main() { |
| 9117 char *p = (char *) alloca(1); | 9330 char *p = (char *) alloca(1); |
| 9118 ; return 0; } | 9331 ; return 0; } |
| 9119 EOF | 9332 EOF |
| 9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9121 rm -rf conftest* | 9334 rm -rf conftest* |
| 9122 ac_cv_func_alloca_works=yes | 9335 ac_cv_func_alloca_works=yes |
| 9123 else | 9336 else |
| 9124 echo "configure: failed program was:" >&5 | 9337 echo "configure: failed program was:" >&5 |
| 9125 cat conftest.$ac_ext >&5 | 9338 cat conftest.$ac_ext >&5 |
| 9143 if test $ac_cv_func_alloca_works = no; then | 9356 if test $ac_cv_func_alloca_works = no; then |
| 9144 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 9357 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
| 9145 # that cause trouble. Some versions do not even contain alloca or | 9358 # that cause trouble. Some versions do not even contain alloca or |
| 9146 # contain a buggy version. If you still want to use their alloca, | 9359 # contain a buggy version. If you still want to use their alloca, |
| 9147 # use ar to extract alloca.o from them instead of compiling alloca.c. | 9360 # use ar to extract alloca.o from them instead of compiling alloca.c. |
| 9148 ALLOCA=alloca.o | 9361 ALLOCA=alloca.${ac_objext} |
| 9149 { test "$extra_verbose" = "yes" && cat << \EOF | 9362 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9150 Defining C_ALLOCA | 9363 Defining C_ALLOCA |
| 9151 EOF | 9364 EOF |
| 9152 cat >> confdefs.h <<\EOF | 9365 cat >> confdefs.h <<\EOF |
| 9153 #define C_ALLOCA 1 | 9366 #define C_ALLOCA 1 |
| 9154 EOF | 9367 EOF |
| 9155 } | 9368 } |
| 9156 | 9369 |
| 9157 | 9370 |
| 9158 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9371 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 9159 echo "configure:9160: checking whether alloca needs Cray hooks" >&5 | 9372 echo "configure:9373: checking whether alloca needs Cray hooks" >&5 |
| 9160 | 9373 |
| 9161 cat > conftest.$ac_ext <<EOF | 9374 cat > conftest.$ac_ext <<EOF |
| 9162 #line 9163 "configure" | 9375 #line 9376 "configure" |
| 9163 #include "confdefs.h" | 9376 #include "confdefs.h" |
| 9164 #if defined(CRAY) && ! defined(CRAY2) | 9377 #if defined(CRAY) && ! defined(CRAY2) |
| 9165 webecray | 9378 webecray |
| 9166 #else | 9379 #else |
| 9167 wenotbecray | 9380 wenotbecray |
| 9181 | 9394 |
| 9182 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9395 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 9183 if test $ac_cv_os_cray = yes; then | 9396 if test $ac_cv_os_cray = yes; then |
| 9184 for ac_func in _getb67 GETB67 getb67; do | 9397 for ac_func in _getb67 GETB67 getb67; do |
| 9185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9186 echo "configure:9187: checking for $ac_func" >&5 | 9399 echo "configure:9400: checking for $ac_func" >&5 |
| 9187 | 9400 |
| 9188 cat > conftest.$ac_ext <<EOF | 9401 cat > conftest.$ac_ext <<EOF |
| 9189 #line 9190 "configure" | 9402 #line 9403 "configure" |
| 9190 #include "confdefs.h" | 9403 #include "confdefs.h" |
| 9191 /* System header to define __stub macros and hopefully few prototypes, | 9404 /* System header to define __stub macros and hopefully few prototypes, |
| 9192 which can conflict with char $ac_func(); below. */ | 9405 which can conflict with char $ac_func(); below. */ |
| 9193 #include <assert.h> | 9406 #include <assert.h> |
| 9194 /* Override any gcc2 internal prototype to avoid an error. */ | 9407 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9207 $ac_func(); | 9420 $ac_func(); |
| 9208 #endif | 9421 #endif |
| 9209 | 9422 |
| 9210 ; return 0; } | 9423 ; return 0; } |
| 9211 EOF | 9424 EOF |
| 9212 if { (eval echo configure:9213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9425 if { (eval echo configure:9426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9213 rm -rf conftest* | 9426 rm -rf conftest* |
| 9214 eval "ac_cv_func_$ac_func=yes" | 9427 eval "ac_cv_func_$ac_func=yes" |
| 9215 else | 9428 else |
| 9216 echo "configure: failed program was:" >&5 | 9429 echo "configure: failed program was:" >&5 |
| 9217 cat conftest.$ac_ext >&5 | 9430 cat conftest.$ac_ext >&5 |
| 9237 | 9450 |
| 9238 done | 9451 done |
| 9239 fi | 9452 fi |
| 9240 | 9453 |
| 9241 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9454 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 9242 echo "configure:9243: checking stack direction for C alloca" >&5 | 9455 echo "configure:9456: checking stack direction for C alloca" >&5 |
| 9243 | 9456 |
| 9244 cat > conftest.$ac_ext <<EOF | 9457 cat > conftest.$ac_ext <<EOF |
| 9245 #line 9246 "configure" | 9458 #line 9459 "configure" |
| 9246 #include "confdefs.h" | 9459 #include "confdefs.h" |
| 9247 find_stack_direction () | 9460 find_stack_direction () |
| 9248 { | 9461 { |
| 9249 static char *addr = 0; | 9462 static char *addr = 0; |
| 9250 auto char dummy; | 9463 auto char dummy; |
| 9259 main () | 9472 main () |
| 9260 { | 9473 { |
| 9261 exit (find_stack_direction() < 0); | 9474 exit (find_stack_direction() < 0); |
| 9262 } | 9475 } |
| 9263 EOF | 9476 EOF |
| 9264 if { (eval echo configure:9265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9477 if { (eval echo configure:9478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9265 then | 9478 then |
| 9266 ac_cv_c_stack_direction=1 | 9479 ac_cv_c_stack_direction=1 |
| 9267 else | 9480 else |
| 9268 conftest_rc="$?" | 9481 conftest_rc="$?" |
| 9269 echo "configure: failed program was:" >&5 | 9482 echo "configure: failed program was:" >&5 |
| 9288 echo " xemacs will be linked with \"$ALLOCA\"" | 9501 echo " xemacs will be linked with \"$ALLOCA\"" |
| 9289 fi | 9502 fi |
| 9290 | 9503 |
| 9291 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9504 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 9292 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9505 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 9293 echo "configure:9294: checking for vfork.h" >&5 | 9506 echo "configure:9507: checking for vfork.h" >&5 |
| 9294 | 9507 |
| 9295 cat > conftest.$ac_ext <<EOF | 9508 cat > conftest.$ac_ext <<EOF |
| 9296 #line 9297 "configure" | 9509 #line 9510 "configure" |
| 9297 #include "confdefs.h" | 9510 #include "confdefs.h" |
| 9298 #include <vfork.h> | 9511 #include <vfork.h> |
| 9299 EOF | 9512 EOF |
| 9300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9301 { (eval echo configure:9302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9514 { (eval echo configure:9515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9302 ac_err=`grep -v '^ *+' conftest.out` | 9515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9303 if test -z "$ac_err"; then | 9516 if test -z "$ac_err"; then |
| 9304 rm -rf conftest* | 9517 rm -rf conftest* |
| 9305 eval "ac_cv_header_$ac_safe=yes" | 9518 eval "ac_cv_header_$ac_safe=yes" |
| 9306 else | 9519 else |
| 9307 echo "$ac_err" >&5 | 9520 echo "$ac_err" >&5 |
| 9324 else | 9537 else |
| 9325 echo "$ac_t""no" 1>&6 | 9538 echo "$ac_t""no" 1>&6 |
| 9326 fi | 9539 fi |
| 9327 | 9540 |
| 9328 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9541 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 9329 echo "configure:9330: checking for working vfork" >&5 | 9542 echo "configure:9543: checking for working vfork" >&5 |
| 9330 | 9543 |
| 9331 cat > conftest.$ac_ext <<EOF | 9544 cat > conftest.$ac_ext <<EOF |
| 9332 #line 9333 "configure" | 9545 #line 9546 "configure" |
| 9333 #include "confdefs.h" | 9546 #include "confdefs.h" |
| 9334 /* Thanks to Paul Eggert for this test. */ | 9547 /* Thanks to Paul Eggert for this test. */ |
| 9335 #include <stdio.h> | 9548 #include <stdio.h> |
| 9336 #include <sys/types.h> | 9549 #include <sys/types.h> |
| 9337 #include <sys/stat.h> | 9550 #include <sys/stat.h> |
| 9422 || fstat(fileno(stdout), &st) != 0 | 9635 || fstat(fileno(stdout), &st) != 0 |
| 9423 ); | 9636 ); |
| 9424 } | 9637 } |
| 9425 } | 9638 } |
| 9426 EOF | 9639 EOF |
| 9427 if { (eval echo configure:9428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9640 if { (eval echo configure:9641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9428 then | 9641 then |
| 9429 ac_cv_func_vfork_works=yes | 9642 ac_cv_func_vfork_works=yes |
| 9430 else | 9643 else |
| 9431 conftest_rc="$?" | 9644 conftest_rc="$?" |
| 9432 echo "configure: failed program was:" >&5 | 9645 echo "configure: failed program was:" >&5 |
| 9448 | 9661 |
| 9449 fi | 9662 fi |
| 9450 | 9663 |
| 9451 | 9664 |
| 9452 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9665 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 9453 echo "configure:9454: checking for working strcoll" >&5 | 9666 echo "configure:9667: checking for working strcoll" >&5 |
| 9454 | 9667 |
| 9455 cat > conftest.$ac_ext <<EOF | 9668 cat > conftest.$ac_ext <<EOF |
| 9456 #line 9457 "configure" | 9669 #line 9670 "configure" |
| 9457 #include "confdefs.h" | 9670 #include "confdefs.h" |
| 9458 #include <string.h> | 9671 #include <string.h> |
| 9459 main () | 9672 main () |
| 9460 { | 9673 { |
| 9461 exit (strcoll ("abc", "def") >= 0 || | 9674 exit (strcoll ("abc", "def") >= 0 || |
| 9462 strcoll ("ABC", "DEF") >= 0 || | 9675 strcoll ("ABC", "DEF") >= 0 || |
| 9463 strcoll ("123", "456") >= 0); | 9676 strcoll ("123", "456") >= 0); |
| 9464 } | 9677 } |
| 9465 EOF | 9678 EOF |
| 9466 if { (eval echo configure:9467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9679 if { (eval echo configure:9680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9467 then | 9680 then |
| 9468 ac_cv_func_strcoll_works=yes | 9681 ac_cv_func_strcoll_works=yes |
| 9469 else | 9682 else |
| 9470 conftest_rc="$?" | 9683 conftest_rc="$?" |
| 9471 echo "configure: failed program was:" >&5 | 9684 echo "configure: failed program was:" >&5 |
| 9489 | 9702 |
| 9490 | 9703 |
| 9491 for ac_func in getpgrp | 9704 for ac_func in getpgrp |
| 9492 do | 9705 do |
| 9493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9494 echo "configure:9495: checking for $ac_func" >&5 | 9707 echo "configure:9708: checking for $ac_func" >&5 |
| 9495 | 9708 |
| 9496 cat > conftest.$ac_ext <<EOF | 9709 cat > conftest.$ac_ext <<EOF |
| 9497 #line 9498 "configure" | 9710 #line 9711 "configure" |
| 9498 #include "confdefs.h" | 9711 #include "confdefs.h" |
| 9499 /* System header to define __stub macros and hopefully few prototypes, | 9712 /* System header to define __stub macros and hopefully few prototypes, |
| 9500 which can conflict with char $ac_func(); below. */ | 9713 which can conflict with char $ac_func(); below. */ |
| 9501 #include <assert.h> | 9714 #include <assert.h> |
| 9502 /* Override any gcc2 internal prototype to avoid an error. */ | 9715 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9515 $ac_func(); | 9728 $ac_func(); |
| 9516 #endif | 9729 #endif |
| 9517 | 9730 |
| 9518 ; return 0; } | 9731 ; return 0; } |
| 9519 EOF | 9732 EOF |
| 9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9733 if { (eval echo configure:9734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9521 rm -rf conftest* | 9734 rm -rf conftest* |
| 9522 eval "ac_cv_func_$ac_func=yes" | 9735 eval "ac_cv_func_$ac_func=yes" |
| 9523 else | 9736 else |
| 9524 echo "configure: failed program was:" >&5 | 9737 echo "configure: failed program was:" >&5 |
| 9525 cat conftest.$ac_ext >&5 | 9738 cat conftest.$ac_ext >&5 |
| 9543 echo "$ac_t""no" 1>&6 | 9756 echo "$ac_t""no" 1>&6 |
| 9544 fi | 9757 fi |
| 9545 done | 9758 done |
| 9546 | 9759 |
| 9547 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9760 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 9548 echo "configure:9549: checking whether getpgrp takes no argument" >&5 | 9761 echo "configure:9762: checking whether getpgrp takes no argument" >&5 |
| 9549 | 9762 |
| 9550 cat > conftest.$ac_ext <<EOF | 9763 cat > conftest.$ac_ext <<EOF |
| 9551 #line 9552 "configure" | 9764 #line 9765 "configure" |
| 9552 #include "confdefs.h" | 9765 #include "confdefs.h" |
| 9553 | 9766 |
| 9554 /* | 9767 /* |
| 9555 * If this system has a BSD-style getpgrp(), | 9768 * If this system has a BSD-style getpgrp(), |
| 9556 * which takes a pid argument, exit unsuccessfully. | 9769 * which takes a pid argument, exit unsuccessfully. |
| 9601 exit(s>>8); | 9814 exit(s>>8); |
| 9602 } | 9815 } |
| 9603 } | 9816 } |
| 9604 | 9817 |
| 9605 EOF | 9818 EOF |
| 9606 if { (eval echo configure:9607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9819 if { (eval echo configure:9820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9607 then | 9820 then |
| 9608 ac_cv_func_getpgrp_void=yes | 9821 ac_cv_func_getpgrp_void=yes |
| 9609 else | 9822 else |
| 9610 conftest_rc="$?" | 9823 conftest_rc="$?" |
| 9611 echo "configure: failed program was:" >&5 | 9824 echo "configure: failed program was:" >&5 |
| 9628 | 9841 |
| 9629 fi | 9842 fi |
| 9630 | 9843 |
| 9631 | 9844 |
| 9632 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9845 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9633 echo "configure:9634: checking for working mmap" >&5 | 9846 echo "configure:9847: checking for working mmap" >&5 |
| 9634 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9847 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 9635 cat > conftest.$ac_ext <<EOF | 9848 cat > conftest.$ac_ext <<EOF |
| 9636 #line 9637 "configure" | 9849 #line 9850 "configure" |
| 9637 #include "confdefs.h" | 9850 #include "confdefs.h" |
| 9638 #include <stdio.h> | 9851 #include <stdio.h> |
| 9639 #include <unistd.h> | 9852 #include <unistd.h> |
| 9640 #include <fcntl.h> | 9853 #include <fcntl.h> |
| 9641 #include <sys/mman.h> | 9854 #include <sys/mman.h> |
| 9664 return 0; | 9877 return 0; |
| 9665 perror ("conftest: mmap failed"); | 9878 perror ("conftest: mmap failed"); |
| 9666 return 1; | 9879 return 1; |
| 9667 } | 9880 } |
| 9668 EOF | 9881 EOF |
| 9669 if { (eval echo configure:9670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9882 if { (eval echo configure:9883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9670 then | 9883 then |
| 9671 have_mmap=yes | 9884 have_mmap=yes |
| 9672 else | 9885 else |
| 9673 conftest_rc="$?" | 9886 conftest_rc="$?" |
| 9674 echo "configure: failed program was:" >&5 | 9887 echo "configure: failed program was:" >&5 |
| 9689 | 9902 |
| 9690 for ac_hdr in unistd.h | 9903 for ac_hdr in unistd.h |
| 9691 do | 9904 do |
| 9692 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9905 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 9693 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9906 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 9694 echo "configure:9695: checking for $ac_hdr" >&5 | 9907 echo "configure:9908: checking for $ac_hdr" >&5 |
| 9695 | 9908 |
| 9696 cat > conftest.$ac_ext <<EOF | 9909 cat > conftest.$ac_ext <<EOF |
| 9697 #line 9698 "configure" | 9910 #line 9911 "configure" |
| 9698 #include "confdefs.h" | 9911 #include "confdefs.h" |
| 9699 #include <$ac_hdr> | 9912 #include <$ac_hdr> |
| 9700 EOF | 9913 EOF |
| 9701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9702 { (eval echo configure:9703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9915 { (eval echo configure:9916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9703 ac_err=`grep -v '^ *+' conftest.out` | 9916 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9704 if test -z "$ac_err"; then | 9917 if test -z "$ac_err"; then |
| 9705 rm -rf conftest* | 9918 rm -rf conftest* |
| 9706 eval "ac_cv_header_$ac_safe=yes" | 9919 eval "ac_cv_header_$ac_safe=yes" |
| 9707 else | 9920 else |
| 9708 echo "$ac_err" >&5 | 9921 echo "$ac_err" >&5 |
| 9729 done | 9942 done |
| 9730 | 9943 |
| 9731 for ac_func in getpagesize | 9944 for ac_func in getpagesize |
| 9732 do | 9945 do |
| 9733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9734 echo "configure:9735: checking for $ac_func" >&5 | 9947 echo "configure:9948: checking for $ac_func" >&5 |
| 9735 | 9948 |
| 9736 cat > conftest.$ac_ext <<EOF | 9949 cat > conftest.$ac_ext <<EOF |
| 9737 #line 9738 "configure" | 9950 #line 9951 "configure" |
| 9738 #include "confdefs.h" | 9951 #include "confdefs.h" |
| 9739 /* System header to define __stub macros and hopefully few prototypes, | 9952 /* System header to define __stub macros and hopefully few prototypes, |
| 9740 which can conflict with char $ac_func(); below. */ | 9953 which can conflict with char $ac_func(); below. */ |
| 9741 #include <assert.h> | 9954 #include <assert.h> |
| 9742 /* Override any gcc2 internal prototype to avoid an error. */ | 9955 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9755 $ac_func(); | 9968 $ac_func(); |
| 9756 #endif | 9969 #endif |
| 9757 | 9970 |
| 9758 ; return 0; } | 9971 ; return 0; } |
| 9759 EOF | 9972 EOF |
| 9760 if { (eval echo configure:9761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9973 if { (eval echo configure:9974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9761 rm -rf conftest* | 9974 rm -rf conftest* |
| 9762 eval "ac_cv_func_$ac_func=yes" | 9975 eval "ac_cv_func_$ac_func=yes" |
| 9763 else | 9976 else |
| 9764 echo "configure: failed program was:" >&5 | 9977 echo "configure: failed program was:" >&5 |
| 9765 cat conftest.$ac_ext >&5 | 9978 cat conftest.$ac_ext >&5 |
| 9783 echo "$ac_t""no" 1>&6 | 9996 echo "$ac_t""no" 1>&6 |
| 9784 fi | 9997 fi |
| 9785 done | 9998 done |
| 9786 | 9999 |
| 9787 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 10000 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9788 echo "configure:9789: checking for working mmap" >&5 | 10001 echo "configure:10002: checking for working mmap" >&5 |
| 9789 | 10002 |
| 9790 cat > conftest.$ac_ext <<EOF | 10003 cat > conftest.$ac_ext <<EOF |
| 9791 #line 9792 "configure" | 10004 #line 10005 "configure" |
| 9792 #include "confdefs.h" | 10005 #include "confdefs.h" |
| 9793 | 10006 |
| 9794 /* Thanks to Mike Haertel and Jim Avera for this test. | 10007 /* Thanks to Mike Haertel and Jim Avera for this test. |
| 9795 Here is a matrix of mmap possibilities: | 10008 Here is a matrix of mmap possibilities: |
| 9796 mmap private not fixed | 10009 mmap private not fixed |
| 9926 unlink("conftestmmap"); | 10139 unlink("conftestmmap"); |
| 9927 exit(0); | 10140 exit(0); |
| 9928 } | 10141 } |
| 9929 | 10142 |
| 9930 EOF | 10143 EOF |
| 9931 if { (eval echo configure:9932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10144 if { (eval echo configure:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9932 then | 10145 then |
| 9933 ac_cv_func_mmap_fixed_mapped=yes | 10146 ac_cv_func_mmap_fixed_mapped=yes |
| 9934 else | 10147 else |
| 9935 conftest_rc="$?" | 10148 conftest_rc="$?" |
| 9936 echo "configure: failed program was:" >&5 | 10149 echo "configure: failed program was:" >&5 |
| 9964 } | 10177 } |
| 9965 | 10178 |
| 9966 | 10179 |
| 9967 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10180 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 9968 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10181 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 9969 echo "configure:9970: checking for termios.h" >&5 | 10182 echo "configure:10183: checking for termios.h" >&5 |
| 9970 | 10183 |
| 9971 cat > conftest.$ac_ext <<EOF | 10184 cat > conftest.$ac_ext <<EOF |
| 9972 #line 9973 "configure" | 10185 #line 10186 "configure" |
| 9973 #include "confdefs.h" | 10186 #include "confdefs.h" |
| 9974 #include <termios.h> | 10187 #include <termios.h> |
| 9975 EOF | 10188 EOF |
| 9976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9977 { (eval echo configure:9978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10190 { (eval echo configure:10191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9978 ac_err=`grep -v '^ *+' conftest.out` | 10191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9979 if test -z "$ac_err"; then | 10192 if test -z "$ac_err"; then |
| 9980 rm -rf conftest* | 10193 rm -rf conftest* |
| 9981 eval "ac_cv_header_$ac_safe=yes" | 10194 eval "ac_cv_header_$ac_safe=yes" |
| 9982 else | 10195 else |
| 9983 echo "$ac_err" >&5 | 10196 echo "$ac_err" >&5 |
| 10015 | 10228 |
| 10016 else | 10229 else |
| 10017 echo "$ac_t""no" 1>&6 | 10230 echo "$ac_t""no" 1>&6 |
| 10018 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10231 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 10019 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10232 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 10020 echo "configure:10021: checking for termio.h" >&5 | 10233 echo "configure:10234: checking for termio.h" >&5 |
| 10021 | 10234 |
| 10022 cat > conftest.$ac_ext <<EOF | 10235 cat > conftest.$ac_ext <<EOF |
| 10023 #line 10024 "configure" | 10236 #line 10237 "configure" |
| 10024 #include "confdefs.h" | 10237 #include "confdefs.h" |
| 10025 #include <termio.h> | 10238 #include <termio.h> |
| 10026 EOF | 10239 EOF |
| 10027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10028 { (eval echo configure:10029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10241 { (eval echo configure:10242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10029 ac_err=`grep -v '^ *+' conftest.out` | 10242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10030 if test -z "$ac_err"; then | 10243 if test -z "$ac_err"; then |
| 10031 rm -rf conftest* | 10244 rm -rf conftest* |
| 10032 eval "ac_cv_header_$ac_safe=yes" | 10245 eval "ac_cv_header_$ac_safe=yes" |
| 10033 else | 10246 else |
| 10034 echo "$ac_err" >&5 | 10247 echo "$ac_err" >&5 |
| 10055 fi | 10268 fi |
| 10056 | 10269 |
| 10057 | 10270 |
| 10058 | 10271 |
| 10059 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10272 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 10060 echo "configure:10061: checking for socket" >&5 | 10273 echo "configure:10274: checking for socket" >&5 |
| 10061 | 10274 |
| 10062 cat > conftest.$ac_ext <<EOF | 10275 cat > conftest.$ac_ext <<EOF |
| 10063 #line 10064 "configure" | 10276 #line 10277 "configure" |
| 10064 #include "confdefs.h" | 10277 #include "confdefs.h" |
| 10065 /* System header to define __stub macros and hopefully few prototypes, | 10278 /* System header to define __stub macros and hopefully few prototypes, |
| 10066 which can conflict with char socket(); below. */ | 10279 which can conflict with char socket(); below. */ |
| 10067 #include <assert.h> | 10280 #include <assert.h> |
| 10068 /* Override any gcc2 internal prototype to avoid an error. */ | 10281 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10081 socket(); | 10294 socket(); |
| 10082 #endif | 10295 #endif |
| 10083 | 10296 |
| 10084 ; return 0; } | 10297 ; return 0; } |
| 10085 EOF | 10298 EOF |
| 10086 if { (eval echo configure:10087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10299 if { (eval echo configure:10300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10087 rm -rf conftest* | 10300 rm -rf conftest* |
| 10088 eval "ac_cv_func_socket=yes" | 10301 eval "ac_cv_func_socket=yes" |
| 10089 else | 10302 else |
| 10090 echo "configure: failed program was:" >&5 | 10303 echo "configure: failed program was:" >&5 |
| 10091 cat conftest.$ac_ext >&5 | 10304 cat conftest.$ac_ext >&5 |
| 10096 | 10309 |
| 10097 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10310 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 10098 echo "$ac_t""yes" 1>&6 | 10311 echo "$ac_t""yes" 1>&6 |
| 10099 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10312 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 10100 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10313 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 10101 echo "configure:10102: checking for netinet/in.h" >&5 | 10314 echo "configure:10315: checking for netinet/in.h" >&5 |
| 10102 | 10315 |
| 10103 cat > conftest.$ac_ext <<EOF | 10316 cat > conftest.$ac_ext <<EOF |
| 10104 #line 10105 "configure" | 10317 #line 10318 "configure" |
| 10105 #include "confdefs.h" | 10318 #include "confdefs.h" |
| 10106 #include <netinet/in.h> | 10319 #include <netinet/in.h> |
| 10107 EOF | 10320 EOF |
| 10108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10321 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10109 { (eval echo configure:10110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10322 { (eval echo configure:10323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10110 ac_err=`grep -v '^ *+' conftest.out` | 10323 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10111 if test -z "$ac_err"; then | 10324 if test -z "$ac_err"; then |
| 10112 rm -rf conftest* | 10325 rm -rf conftest* |
| 10113 eval "ac_cv_header_$ac_safe=yes" | 10326 eval "ac_cv_header_$ac_safe=yes" |
| 10114 else | 10327 else |
| 10115 echo "$ac_err" >&5 | 10328 echo "$ac_err" >&5 |
| 10121 rm -f conftest* | 10334 rm -f conftest* |
| 10122 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10123 echo "$ac_t""yes" 1>&6 | 10336 echo "$ac_t""yes" 1>&6 |
| 10124 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10337 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 10125 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10338 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 10126 echo "configure:10127: checking for arpa/inet.h" >&5 | 10339 echo "configure:10340: checking for arpa/inet.h" >&5 |
| 10127 | 10340 |
| 10128 cat > conftest.$ac_ext <<EOF | 10341 cat > conftest.$ac_ext <<EOF |
| 10129 #line 10130 "configure" | 10342 #line 10343 "configure" |
| 10130 #include "confdefs.h" | 10343 #include "confdefs.h" |
| 10131 #include <arpa/inet.h> | 10344 #include <arpa/inet.h> |
| 10132 EOF | 10345 EOF |
| 10133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10134 { (eval echo configure:10135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10347 { (eval echo configure:10348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10135 ac_err=`grep -v '^ *+' conftest.out` | 10348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10136 if test -z "$ac_err"; then | 10349 if test -z "$ac_err"; then |
| 10137 rm -rf conftest* | 10350 rm -rf conftest* |
| 10138 eval "ac_cv_header_$ac_safe=yes" | 10351 eval "ac_cv_header_$ac_safe=yes" |
| 10139 else | 10352 else |
| 10140 echo "$ac_err" >&5 | 10353 echo "$ac_err" >&5 |
| 10154 #define HAVE_SOCKETS 1 | 10367 #define HAVE_SOCKETS 1 |
| 10155 EOF | 10368 EOF |
| 10156 } | 10369 } |
| 10157 | 10370 |
| 10158 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10371 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 10159 echo "configure:10160: checking "for sun_len member in struct sockaddr_un"" >&5 | 10372 echo "configure:10373: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 10160 cat > conftest.$ac_ext <<EOF | 10373 cat > conftest.$ac_ext <<EOF |
| 10161 #line 10162 "configure" | 10374 #line 10375 "configure" |
| 10162 #include "confdefs.h" | 10375 #include "confdefs.h" |
| 10163 | 10376 |
| 10164 #include <sys/types.h> | 10377 #include <sys/types.h> |
| 10165 #include <sys/socket.h> | 10378 #include <sys/socket.h> |
| 10166 #include <sys/un.h> | 10379 #include <sys/un.h> |
| 10167 | 10380 |
| 10168 int main() { | 10381 int main() { |
| 10169 static struct sockaddr_un x; x.sun_len = 1; | 10382 static struct sockaddr_un x; x.sun_len = 1; |
| 10170 ; return 0; } | 10383 ; return 0; } |
| 10171 EOF | 10384 EOF |
| 10172 if { (eval echo configure:10173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10385 if { (eval echo configure:10386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10173 rm -rf conftest* | 10386 rm -rf conftest* |
| 10174 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10387 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 10175 Defining HAVE_SOCKADDR_SUN_LEN | 10388 Defining HAVE_SOCKADDR_SUN_LEN |
| 10176 EOF | 10389 EOF |
| 10177 cat >> confdefs.h <<\EOF | 10390 cat >> confdefs.h <<\EOF |
| 10185 rm -rf conftest* | 10398 rm -rf conftest* |
| 10186 echo "$ac_t""no" 1>&6 | 10399 echo "$ac_t""no" 1>&6 |
| 10187 fi | 10400 fi |
| 10188 rm -f conftest* | 10401 rm -f conftest* |
| 10189 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10402 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 10190 echo "configure:10191: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10403 echo "configure:10404: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 10191 cat > conftest.$ac_ext <<EOF | 10404 cat > conftest.$ac_ext <<EOF |
| 10192 #line 10193 "configure" | 10405 #line 10406 "configure" |
| 10193 #include "confdefs.h" | 10406 #include "confdefs.h" |
| 10194 | 10407 |
| 10195 #include <sys/types.h> | 10408 #include <sys/types.h> |
| 10196 #include <netinet/in.h> | 10409 #include <netinet/in.h> |
| 10197 | 10410 |
| 10198 int main() { | 10411 int main() { |
| 10199 static struct ip_mreq x; | 10412 static struct ip_mreq x; |
| 10200 ; return 0; } | 10413 ; return 0; } |
| 10201 EOF | 10414 EOF |
| 10202 if { (eval echo configure:10203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10415 if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10203 rm -rf conftest* | 10416 rm -rf conftest* |
| 10204 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10417 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 10205 Defining HAVE_MULTICAST | 10418 Defining HAVE_MULTICAST |
| 10206 EOF | 10419 EOF |
| 10207 cat >> confdefs.h <<\EOF | 10420 cat >> confdefs.h <<\EOF |
| 10228 echo "$ac_t""no" 1>&6 | 10441 echo "$ac_t""no" 1>&6 |
| 10229 fi | 10442 fi |
| 10230 | 10443 |
| 10231 | 10444 |
| 10232 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10445 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 10233 echo "configure:10234: checking for msgget" >&5 | 10446 echo "configure:10447: checking for msgget" >&5 |
| 10234 | 10447 |
| 10235 cat > conftest.$ac_ext <<EOF | 10448 cat > conftest.$ac_ext <<EOF |
| 10236 #line 10237 "configure" | 10449 #line 10450 "configure" |
| 10237 #include "confdefs.h" | 10450 #include "confdefs.h" |
| 10238 /* System header to define __stub macros and hopefully few prototypes, | 10451 /* System header to define __stub macros and hopefully few prototypes, |
| 10239 which can conflict with char msgget(); below. */ | 10452 which can conflict with char msgget(); below. */ |
| 10240 #include <assert.h> | 10453 #include <assert.h> |
| 10241 /* Override any gcc2 internal prototype to avoid an error. */ | 10454 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10254 msgget(); | 10467 msgget(); |
| 10255 #endif | 10468 #endif |
| 10256 | 10469 |
| 10257 ; return 0; } | 10470 ; return 0; } |
| 10258 EOF | 10471 EOF |
| 10259 if { (eval echo configure:10260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10260 rm -rf conftest* | 10473 rm -rf conftest* |
| 10261 eval "ac_cv_func_msgget=yes" | 10474 eval "ac_cv_func_msgget=yes" |
| 10262 else | 10475 else |
| 10263 echo "configure: failed program was:" >&5 | 10476 echo "configure: failed program was:" >&5 |
| 10264 cat conftest.$ac_ext >&5 | 10477 cat conftest.$ac_ext >&5 |
| 10269 | 10482 |
| 10270 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10483 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 10271 echo "$ac_t""yes" 1>&6 | 10484 echo "$ac_t""yes" 1>&6 |
| 10272 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10485 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 10273 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10486 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 10274 echo "configure:10275: checking for sys/ipc.h" >&5 | 10487 echo "configure:10488: checking for sys/ipc.h" >&5 |
| 10275 | 10488 |
| 10276 cat > conftest.$ac_ext <<EOF | 10489 cat > conftest.$ac_ext <<EOF |
| 10277 #line 10278 "configure" | 10490 #line 10491 "configure" |
| 10278 #include "confdefs.h" | 10491 #include "confdefs.h" |
| 10279 #include <sys/ipc.h> | 10492 #include <sys/ipc.h> |
| 10280 EOF | 10493 EOF |
| 10281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10282 { (eval echo configure:10283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10495 { (eval echo configure:10496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10283 ac_err=`grep -v '^ *+' conftest.out` | 10496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10284 if test -z "$ac_err"; then | 10497 if test -z "$ac_err"; then |
| 10285 rm -rf conftest* | 10498 rm -rf conftest* |
| 10286 eval "ac_cv_header_$ac_safe=yes" | 10499 eval "ac_cv_header_$ac_safe=yes" |
| 10287 else | 10500 else |
| 10288 echo "$ac_err" >&5 | 10501 echo "$ac_err" >&5 |
| 10294 rm -f conftest* | 10507 rm -f conftest* |
| 10295 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10508 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10296 echo "$ac_t""yes" 1>&6 | 10509 echo "$ac_t""yes" 1>&6 |
| 10297 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10510 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 10298 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10511 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 10299 echo "configure:10300: checking for sys/msg.h" >&5 | 10512 echo "configure:10513: checking for sys/msg.h" >&5 |
| 10300 | 10513 |
| 10301 cat > conftest.$ac_ext <<EOF | 10514 cat > conftest.$ac_ext <<EOF |
| 10302 #line 10303 "configure" | 10515 #line 10516 "configure" |
| 10303 #include "confdefs.h" | 10516 #include "confdefs.h" |
| 10304 #include <sys/msg.h> | 10517 #include <sys/msg.h> |
| 10305 EOF | 10518 EOF |
| 10306 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10307 { (eval echo configure:10308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10520 { (eval echo configure:10521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10308 ac_err=`grep -v '^ *+' conftest.out` | 10521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10309 if test -z "$ac_err"; then | 10522 if test -z "$ac_err"; then |
| 10310 rm -rf conftest* | 10523 rm -rf conftest* |
| 10311 eval "ac_cv_header_$ac_safe=yes" | 10524 eval "ac_cv_header_$ac_safe=yes" |
| 10312 else | 10525 else |
| 10313 echo "$ac_err" >&5 | 10526 echo "$ac_err" >&5 |
| 10340 fi | 10553 fi |
| 10341 | 10554 |
| 10342 | 10555 |
| 10343 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10556 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 10344 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10557 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 10345 echo "configure:10346: checking for dirent.h" >&5 | 10558 echo "configure:10559: checking for dirent.h" >&5 |
| 10346 | 10559 |
| 10347 cat > conftest.$ac_ext <<EOF | 10560 cat > conftest.$ac_ext <<EOF |
| 10348 #line 10349 "configure" | 10561 #line 10562 "configure" |
| 10349 #include "confdefs.h" | 10562 #include "confdefs.h" |
| 10350 #include <dirent.h> | 10563 #include <dirent.h> |
| 10351 EOF | 10564 EOF |
| 10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10566 { (eval echo configure:10567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10354 ac_err=`grep -v '^ *+' conftest.out` | 10567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10355 if test -z "$ac_err"; then | 10568 if test -z "$ac_err"; then |
| 10356 rm -rf conftest* | 10569 rm -rf conftest* |
| 10357 eval "ac_cv_header_$ac_safe=yes" | 10570 eval "ac_cv_header_$ac_safe=yes" |
| 10358 else | 10571 else |
| 10359 echo "$ac_err" >&5 | 10572 echo "$ac_err" >&5 |
| 10375 | 10588 |
| 10376 else | 10589 else |
| 10377 echo "$ac_t""no" 1>&6 | 10590 echo "$ac_t""no" 1>&6 |
| 10378 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10591 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 10379 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10592 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 10380 echo "configure:10381: checking for sys/dir.h" >&5 | 10593 echo "configure:10594: checking for sys/dir.h" >&5 |
| 10381 | 10594 |
| 10382 cat > conftest.$ac_ext <<EOF | 10595 cat > conftest.$ac_ext <<EOF |
| 10383 #line 10384 "configure" | 10596 #line 10597 "configure" |
| 10384 #include "confdefs.h" | 10597 #include "confdefs.h" |
| 10385 #include <sys/dir.h> | 10598 #include <sys/dir.h> |
| 10386 EOF | 10599 EOF |
| 10387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10388 { (eval echo configure:10389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10601 { (eval echo configure:10602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10389 ac_err=`grep -v '^ *+' conftest.out` | 10602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10390 if test -z "$ac_err"; then | 10603 if test -z "$ac_err"; then |
| 10391 rm -rf conftest* | 10604 rm -rf conftest* |
| 10392 eval "ac_cv_header_$ac_safe=yes" | 10605 eval "ac_cv_header_$ac_safe=yes" |
| 10393 else | 10606 else |
| 10394 echo "$ac_err" >&5 | 10607 echo "$ac_err" >&5 |
| 10416 fi | 10629 fi |
| 10417 | 10630 |
| 10418 | 10631 |
| 10419 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10632 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 10420 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10633 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 10421 echo "configure:10422: checking for nlist.h" >&5 | 10634 echo "configure:10635: checking for nlist.h" >&5 |
| 10422 | 10635 |
| 10423 cat > conftest.$ac_ext <<EOF | 10636 cat > conftest.$ac_ext <<EOF |
| 10424 #line 10425 "configure" | 10637 #line 10638 "configure" |
| 10425 #include "confdefs.h" | 10638 #include "confdefs.h" |
| 10426 #include <nlist.h> | 10639 #include <nlist.h> |
| 10427 EOF | 10640 EOF |
| 10428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10429 { (eval echo configure:10430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10642 { (eval echo configure:10643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10430 ac_err=`grep -v '^ *+' conftest.out` | 10643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10431 if test -z "$ac_err"; then | 10644 if test -z "$ac_err"; then |
| 10432 rm -rf conftest* | 10645 rm -rf conftest* |
| 10433 eval "ac_cv_header_$ac_safe=yes" | 10646 eval "ac_cv_header_$ac_safe=yes" |
| 10434 else | 10647 else |
| 10435 echo "$ac_err" >&5 | 10648 echo "$ac_err" >&5 |
| 10454 fi | 10667 fi |
| 10455 | 10668 |
| 10456 | 10669 |
| 10457 | 10670 |
| 10458 echo "checking "for sound support"" 1>&6 | 10671 echo "checking "for sound support"" 1>&6 |
| 10459 echo "configure:10460: checking "for sound support"" >&5 | 10672 echo "configure:10673: checking "for sound support"" >&5 |
| 10460 case "$with_sound" in | 10673 case "$with_sound" in |
| 10461 native | both ) with_native_sound=yes;; | 10674 native | both ) with_native_sound=yes;; |
| 10462 nas | no ) with_native_sound=no;; | 10675 nas | no ) with_native_sound=no;; |
| 10463 esac | 10676 esac |
| 10464 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10677 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 10465 | 10678 |
| 10466 if test "$with_native_sound" != "no"; then | 10679 if test "$with_native_sound" != "no"; then |
| 10467 if test -n "$native_sound_lib"; then | 10680 if test -n "$native_sound_lib"; then |
| 10468 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10681 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 10469 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10682 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 10470 echo "configure:10471: checking for multimedia/audio_device.h" >&5 | 10683 echo "configure:10684: checking for multimedia/audio_device.h" >&5 |
| 10471 | 10684 |
| 10472 cat > conftest.$ac_ext <<EOF | 10685 cat > conftest.$ac_ext <<EOF |
| 10473 #line 10474 "configure" | 10686 #line 10687 "configure" |
| 10474 #include "confdefs.h" | 10687 #include "confdefs.h" |
| 10475 #include <multimedia/audio_device.h> | 10688 #include <multimedia/audio_device.h> |
| 10476 EOF | 10689 EOF |
| 10477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10478 { (eval echo configure:10479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10691 { (eval echo configure:10692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10479 ac_err=`grep -v '^ *+' conftest.out` | 10692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10480 if test -z "$ac_err"; then | 10693 if test -z "$ac_err"; then |
| 10481 rm -rf conftest* | 10694 rm -rf conftest* |
| 10482 eval "ac_cv_header_$ac_safe=yes" | 10695 eval "ac_cv_header_$ac_safe=yes" |
| 10483 else | 10696 else |
| 10484 echo "$ac_err" >&5 | 10697 echo "$ac_err" >&5 |
| 10521 case "$canonical" in | 10734 case "$canonical" in |
| 10522 *-sgi-* ) | 10735 *-sgi-* ) |
| 10523 if test -z "$native_sound_lib"; then | 10736 if test -z "$native_sound_lib"; then |
| 10524 | 10737 |
| 10525 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10738 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 10526 echo "configure:10527: checking for ALopenport in -laudio" >&5 | 10739 echo "configure:10740: checking for ALopenport in -laudio" >&5 |
| 10527 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10740 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 10528 | 10741 |
| 10529 xe_check_libs=" -laudio " | 10742 xe_check_libs=" -laudio " |
| 10530 cat > conftest.$ac_ext <<EOF | 10743 cat > conftest.$ac_ext <<EOF |
| 10531 #line 10532 "configure" | 10744 #line 10745 "configure" |
| 10532 #include "confdefs.h" | 10745 #include "confdefs.h" |
| 10533 /* Override any gcc2 internal prototype to avoid an error. */ | 10746 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10534 /* We use char because int might match the return type of a gcc2 | 10747 /* We use char because int might match the return type of a gcc2 |
| 10535 builtin and then its argument prototype would still apply. */ | 10748 builtin and then its argument prototype would still apply. */ |
| 10536 char ALopenport(); | 10749 char ALopenport(); |
| 10537 | 10750 |
| 10538 int main() { | 10751 int main() { |
| 10539 ALopenport() | 10752 ALopenport() |
| 10540 ; return 0; } | 10753 ; return 0; } |
| 10541 EOF | 10754 EOF |
| 10542 if { (eval echo configure:10543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10755 if { (eval echo configure:10756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10543 rm -rf conftest* | 10756 rm -rf conftest* |
| 10544 eval "ac_cv_lib_$ac_lib_var=yes" | 10757 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10545 else | 10758 else |
| 10546 echo "configure: failed program was:" >&5 | 10759 echo "configure: failed program was:" >&5 |
| 10547 cat conftest.$ac_ext >&5 | 10760 cat conftest.$ac_ext >&5 |
| 10568 fi ;; | 10781 fi ;; |
| 10569 hppa*-hp-hpux* ) | 10782 hppa*-hp-hpux* ) |
| 10570 if test -z "$native_sound_lib"; then | 10783 if test -z "$native_sound_lib"; then |
| 10571 | 10784 |
| 10572 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10785 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 10573 echo "configure:10574: checking for AOpenAudio in -lAlib" >&5 | 10786 echo "configure:10787: checking for AOpenAudio in -lAlib" >&5 |
| 10574 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10787 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 10575 | 10788 |
| 10576 xe_check_libs=" -lAlib " | 10789 xe_check_libs=" -lAlib " |
| 10577 cat > conftest.$ac_ext <<EOF | 10790 cat > conftest.$ac_ext <<EOF |
| 10578 #line 10579 "configure" | 10791 #line 10792 "configure" |
| 10579 #include "confdefs.h" | 10792 #include "confdefs.h" |
| 10580 /* Override any gcc2 internal prototype to avoid an error. */ | 10793 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10581 /* We use char because int might match the return type of a gcc2 | 10794 /* We use char because int might match the return type of a gcc2 |
| 10582 builtin and then its argument prototype would still apply. */ | 10795 builtin and then its argument prototype would still apply. */ |
| 10583 char AOpenAudio(); | 10796 char AOpenAudio(); |
| 10584 | 10797 |
| 10585 int main() { | 10798 int main() { |
| 10586 AOpenAudio() | 10799 AOpenAudio() |
| 10587 ; return 0; } | 10800 ; return 0; } |
| 10588 EOF | 10801 EOF |
| 10589 if { (eval echo configure:10590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10802 if { (eval echo configure:10803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10590 rm -rf conftest* | 10803 rm -rf conftest* |
| 10591 eval "ac_cv_lib_$ac_lib_var=yes" | 10804 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10592 else | 10805 else |
| 10593 echo "configure: failed program was:" >&5 | 10806 echo "configure: failed program was:" >&5 |
| 10594 cat conftest.$ac_ext >&5 | 10807 cat conftest.$ac_ext >&5 |
| 10622 | 10835 |
| 10623 if test -z "$sound_found"; then | 10836 if test -z "$sound_found"; then |
| 10624 for dir in "machine" "sys" "linux"; do | 10837 for dir in "machine" "sys" "linux"; do |
| 10625 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10838 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 10626 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10839 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 10627 echo "configure:10628: checking for ${dir}/soundcard.h" >&5 | 10840 echo "configure:10841: checking for ${dir}/soundcard.h" >&5 |
| 10628 | 10841 |
| 10629 cat > conftest.$ac_ext <<EOF | 10842 cat > conftest.$ac_ext <<EOF |
| 10630 #line 10631 "configure" | 10843 #line 10844 "configure" |
| 10631 #include "confdefs.h" | 10844 #include "confdefs.h" |
| 10632 #include <${dir}/soundcard.h> | 10845 #include <${dir}/soundcard.h> |
| 10633 EOF | 10846 EOF |
| 10634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10635 { (eval echo configure:10636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10848 { (eval echo configure:10849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10636 ac_err=`grep -v '^ *+' conftest.out` | 10849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10637 if test -z "$ac_err"; then | 10850 if test -z "$ac_err"; then |
| 10638 rm -rf conftest* | 10851 rm -rf conftest* |
| 10639 eval "ac_cv_header_$ac_safe=yes" | 10852 eval "ac_cv_header_$ac_safe=yes" |
| 10640 else | 10853 else |
| 10641 echo "$ac_err" >&5 | 10854 echo "$ac_err" >&5 |
| 10700 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10913 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 10701 echo " xemacs will be linked with \"nas.o\"" | 10914 echo " xemacs will be linked with \"nas.o\"" |
| 10702 fi | 10915 fi |
| 10703 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10916 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 10704 cat > conftest.$ac_ext <<EOF | 10917 cat > conftest.$ac_ext <<EOF |
| 10705 #line 10706 "configure" | 10918 #line 10919 "configure" |
| 10706 #include "confdefs.h" | 10919 #include "confdefs.h" |
| 10707 #include <audio/Xtutil.h> | 10920 #include <audio/Xtutil.h> |
| 10708 EOF | 10921 EOF |
| 10709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10710 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10923 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 10727 | 10940 |
| 10728 test -z "$with_tty" && with_tty=yes | 10941 test -z "$with_tty" && with_tty=yes |
| 10729 | 10942 |
| 10730 if test "$with_tty" = "yes" ; then | 10943 if test "$with_tty" = "yes" ; then |
| 10731 echo "checking for TTY-related features" 1>&6 | 10944 echo "checking for TTY-related features" 1>&6 |
| 10732 echo "configure:10733: checking for TTY-related features" >&5 | 10945 echo "configure:10946: checking for TTY-related features" >&5 |
| 10733 { test "$extra_verbose" = "yes" && cat << \EOF | 10946 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10734 Defining HAVE_TTY | 10947 Defining HAVE_TTY |
| 10735 EOF | 10948 EOF |
| 10736 cat >> confdefs.h <<\EOF | 10949 cat >> confdefs.h <<\EOF |
| 10737 #define HAVE_TTY 1 | 10950 #define HAVE_TTY 1 |
| 10743 fi | 10956 fi |
| 10744 | 10957 |
| 10745 if test -z "$with_ncurses"; then | 10958 if test -z "$with_ncurses"; then |
| 10746 | 10959 |
| 10747 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10960 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 10748 echo "configure:10749: checking for tgetent in -lncurses" >&5 | 10961 echo "configure:10962: checking for tgetent in -lncurses" >&5 |
| 10749 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10962 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10750 | 10963 |
| 10751 xe_check_libs=" -lncurses " | 10964 xe_check_libs=" -lncurses " |
| 10752 cat > conftest.$ac_ext <<EOF | 10965 cat > conftest.$ac_ext <<EOF |
| 10753 #line 10754 "configure" | 10966 #line 10967 "configure" |
| 10754 #include "confdefs.h" | 10967 #include "confdefs.h" |
| 10755 /* Override any gcc2 internal prototype to avoid an error. */ | 10968 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10756 /* We use char because int might match the return type of a gcc2 | 10969 /* We use char because int might match the return type of a gcc2 |
| 10757 builtin and then its argument prototype would still apply. */ | 10970 builtin and then its argument prototype would still apply. */ |
| 10758 char tgetent(); | 10971 char tgetent(); |
| 10759 | 10972 |
| 10760 int main() { | 10973 int main() { |
| 10761 tgetent() | 10974 tgetent() |
| 10762 ; return 0; } | 10975 ; return 0; } |
| 10763 EOF | 10976 EOF |
| 10764 if { (eval echo configure:10765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10977 if { (eval echo configure:10978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10765 rm -rf conftest* | 10978 rm -rf conftest* |
| 10766 eval "ac_cv_lib_$ac_lib_var=yes" | 10979 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10767 else | 10980 else |
| 10768 echo "configure: failed program was:" >&5 | 10981 echo "configure: failed program was:" >&5 |
| 10769 cat conftest.$ac_ext >&5 | 10982 cat conftest.$ac_ext >&5 |
| 10792 EOF | 11005 EOF |
| 10793 } | 11006 } |
| 10794 | 11007 |
| 10795 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11008 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10796 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11009 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10797 echo "configure:10798: checking for ncurses/curses.h" >&5 | 11010 echo "configure:11011: checking for ncurses/curses.h" >&5 |
| 10798 | 11011 |
| 10799 cat > conftest.$ac_ext <<EOF | 11012 cat > conftest.$ac_ext <<EOF |
| 10800 #line 10801 "configure" | 11013 #line 11014 "configure" |
| 10801 #include "confdefs.h" | 11014 #include "confdefs.h" |
| 10802 #include <ncurses/curses.h> | 11015 #include <ncurses/curses.h> |
| 10803 EOF | 11016 EOF |
| 10804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10805 { (eval echo configure:10806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11018 { (eval echo configure:11019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10806 ac_err=`grep -v '^ *+' conftest.out` | 11019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10807 if test -z "$ac_err"; then | 11020 if test -z "$ac_err"; then |
| 10808 rm -rf conftest* | 11021 rm -rf conftest* |
| 10809 eval "ac_cv_header_$ac_safe=yes" | 11022 eval "ac_cv_header_$ac_safe=yes" |
| 10810 else | 11023 else |
| 10811 echo "$ac_err" >&5 | 11024 echo "$ac_err" >&5 |
| 10822 echo "$ac_t""no" 1>&6 | 11035 echo "$ac_t""no" 1>&6 |
| 10823 fi | 11036 fi |
| 10824 | 11037 |
| 10825 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 11038 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 10826 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 11039 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 10827 echo "configure:10828: checking for ncurses/term.h" >&5 | 11040 echo "configure:11041: checking for ncurses/term.h" >&5 |
| 10828 | 11041 |
| 10829 cat > conftest.$ac_ext <<EOF | 11042 cat > conftest.$ac_ext <<EOF |
| 10830 #line 10831 "configure" | 11043 #line 11044 "configure" |
| 10831 #include "confdefs.h" | 11044 #include "confdefs.h" |
| 10832 #include <ncurses/term.h> | 11045 #include <ncurses/term.h> |
| 10833 EOF | 11046 EOF |
| 10834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10835 { (eval echo configure:10836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11048 { (eval echo configure:11049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10836 ac_err=`grep -v '^ *+' conftest.out` | 11049 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10837 if test -z "$ac_err"; then | 11050 if test -z "$ac_err"; then |
| 10838 rm -rf conftest* | 11051 rm -rf conftest* |
| 10839 eval "ac_cv_header_$ac_safe=yes" | 11052 eval "ac_cv_header_$ac_safe=yes" |
| 10840 else | 11053 else |
| 10841 echo "$ac_err" >&5 | 11054 echo "$ac_err" >&5 |
| 10860 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 11073 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 10861 save_c_switch_site="$c_switch_site" | 11074 save_c_switch_site="$c_switch_site" |
| 10862 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 11075 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 10863 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11076 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10864 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11077 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10865 echo "configure:10866: checking for ncurses/curses.h" >&5 | 11078 echo "configure:11079: checking for ncurses/curses.h" >&5 |
| 10866 | 11079 |
| 10867 cat > conftest.$ac_ext <<EOF | 11080 cat > conftest.$ac_ext <<EOF |
| 10868 #line 10869 "configure" | 11081 #line 11082 "configure" |
| 10869 #include "confdefs.h" | 11082 #include "confdefs.h" |
| 10870 #include <ncurses/curses.h> | 11083 #include <ncurses/curses.h> |
| 10871 EOF | 11084 EOF |
| 10872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10873 { (eval echo configure:10874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11086 { (eval echo configure:11087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10874 ac_err=`grep -v '^ *+' conftest.out` | 11087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10875 if test -z "$ac_err"; then | 11088 if test -z "$ac_err"; then |
| 10876 rm -rf conftest* | 11089 rm -rf conftest* |
| 10877 eval "ac_cv_header_$ac_safe=yes" | 11090 eval "ac_cv_header_$ac_safe=yes" |
| 10878 else | 11091 else |
| 10879 echo "$ac_err" >&5 | 11092 echo "$ac_err" >&5 |
| 10903 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11116 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10904 else | 11117 else |
| 10905 for lib in curses termlib termcap; do | 11118 for lib in curses termlib termcap; do |
| 10906 | 11119 |
| 10907 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 11120 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 10908 echo "configure:10909: checking for tgetent in -l$lib" >&5 | 11121 echo "configure:11122: checking for tgetent in -l$lib" >&5 |
| 10909 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 11122 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 10910 | 11123 |
| 10911 xe_check_libs=" -l$lib " | 11124 xe_check_libs=" -l$lib " |
| 10912 cat > conftest.$ac_ext <<EOF | 11125 cat > conftest.$ac_ext <<EOF |
| 10913 #line 10914 "configure" | 11126 #line 11127 "configure" |
| 10914 #include "confdefs.h" | 11127 #include "confdefs.h" |
| 10915 /* Override any gcc2 internal prototype to avoid an error. */ | 11128 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10916 /* We use char because int might match the return type of a gcc2 | 11129 /* We use char because int might match the return type of a gcc2 |
| 10917 builtin and then its argument prototype would still apply. */ | 11130 builtin and then its argument prototype would still apply. */ |
| 10918 char tgetent(); | 11131 char tgetent(); |
| 10919 | 11132 |
| 10920 int main() { | 11133 int main() { |
| 10921 tgetent() | 11134 tgetent() |
| 10922 ; return 0; } | 11135 ; return 0; } |
| 10923 EOF | 11136 EOF |
| 10924 if { (eval echo configure:10925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11137 if { (eval echo configure:11138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10925 rm -rf conftest* | 11138 rm -rf conftest* |
| 10926 eval "ac_cv_lib_$ac_lib_var=yes" | 11139 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10927 else | 11140 else |
| 10928 echo "configure: failed program was:" >&5 | 11141 echo "configure: failed program was:" >&5 |
| 10929 cat conftest.$ac_ext >&5 | 11142 cat conftest.$ac_ext >&5 |
| 10950 if test -n "$libs_termcap"; then | 11163 if test -n "$libs_termcap"; then |
| 10951 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11164 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10952 else | 11165 else |
| 10953 | 11166 |
| 10954 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11167 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 10955 echo "configure:10956: checking for tgetent in -lcurses" >&5 | 11168 echo "configure:11169: checking for tgetent in -lcurses" >&5 |
| 10956 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11169 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10957 | 11170 |
| 10958 xe_check_libs=" -lcurses " | 11171 xe_check_libs=" -lcurses " |
| 10959 cat > conftest.$ac_ext <<EOF | 11172 cat > conftest.$ac_ext <<EOF |
| 10960 #line 10961 "configure" | 11173 #line 11174 "configure" |
| 10961 #include "confdefs.h" | 11174 #include "confdefs.h" |
| 10962 /* Override any gcc2 internal prototype to avoid an error. */ | 11175 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10963 /* We use char because int might match the return type of a gcc2 | 11176 /* We use char because int might match the return type of a gcc2 |
| 10964 builtin and then its argument prototype would still apply. */ | 11177 builtin and then its argument prototype would still apply. */ |
| 10965 char tgetent(); | 11178 char tgetent(); |
| 10966 | 11179 |
| 10967 int main() { | 11180 int main() { |
| 10968 tgetent() | 11181 tgetent() |
| 10969 ; return 0; } | 11182 ; return 0; } |
| 10970 EOF | 11183 EOF |
| 10971 if { (eval echo configure:10972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11184 if { (eval echo configure:11185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10972 rm -rf conftest* | 11185 rm -rf conftest* |
| 10973 eval "ac_cv_lib_$ac_lib_var=yes" | 11186 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10974 else | 11187 else |
| 10975 echo "configure: failed program was:" >&5 | 11188 echo "configure: failed program was:" >&5 |
| 10976 cat conftest.$ac_ext >&5 | 11189 cat conftest.$ac_ext >&5 |
| 10984 echo "$ac_t""yes" 1>&6 | 11197 echo "$ac_t""yes" 1>&6 |
| 10985 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11198 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 10986 else | 11199 else |
| 10987 echo "$ac_t""no" 1>&6 | 11200 echo "$ac_t""no" 1>&6 |
| 10988 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11201 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 10989 echo "configure:10990: checking for tgetent in -ltermcap" >&5 | 11202 echo "configure:11203: checking for tgetent in -ltermcap" >&5 |
| 10990 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11203 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 10991 | 11204 |
| 10992 xe_check_libs=" -ltermcap " | 11205 xe_check_libs=" -ltermcap " |
| 10993 cat > conftest.$ac_ext <<EOF | 11206 cat > conftest.$ac_ext <<EOF |
| 10994 #line 10995 "configure" | 11207 #line 11208 "configure" |
| 10995 #include "confdefs.h" | 11208 #include "confdefs.h" |
| 10996 /* Override any gcc2 internal prototype to avoid an error. */ | 11209 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10997 /* We use char because int might match the return type of a gcc2 | 11210 /* We use char because int might match the return type of a gcc2 |
| 10998 builtin and then its argument prototype would still apply. */ | 11211 builtin and then its argument prototype would still apply. */ |
| 10999 char tgetent(); | 11212 char tgetent(); |
| 11000 | 11213 |
| 11001 int main() { | 11214 int main() { |
| 11002 tgetent() | 11215 tgetent() |
| 11003 ; return 0; } | 11216 ; return 0; } |
| 11004 EOF | 11217 EOF |
| 11005 if { (eval echo configure:11006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11218 if { (eval echo configure:11219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11006 rm -rf conftest* | 11219 rm -rf conftest* |
| 11007 eval "ac_cv_lib_$ac_lib_var=yes" | 11220 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11008 else | 11221 else |
| 11009 echo "configure: failed program was:" >&5 | 11222 echo "configure: failed program was:" >&5 |
| 11010 cat conftest.$ac_ext >&5 | 11223 cat conftest.$ac_ext >&5 |
| 11048 } | 11261 } |
| 11049 | 11262 |
| 11050 | 11263 |
| 11051 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11264 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 11052 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11265 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 11053 echo "configure:11054: checking for gpm.h" >&5 | 11266 echo "configure:11267: checking for gpm.h" >&5 |
| 11054 | 11267 |
| 11055 cat > conftest.$ac_ext <<EOF | 11268 cat > conftest.$ac_ext <<EOF |
| 11056 #line 11057 "configure" | 11269 #line 11270 "configure" |
| 11057 #include "confdefs.h" | 11270 #include "confdefs.h" |
| 11058 #include <gpm.h> | 11271 #include <gpm.h> |
| 11059 EOF | 11272 EOF |
| 11060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11061 { (eval echo configure:11062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11274 { (eval echo configure:11275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11062 ac_err=`grep -v '^ *+' conftest.out` | 11275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11063 if test -z "$ac_err"; then | 11276 if test -z "$ac_err"; then |
| 11064 rm -rf conftest* | 11277 rm -rf conftest* |
| 11065 eval "ac_cv_header_$ac_safe=yes" | 11278 eval "ac_cv_header_$ac_safe=yes" |
| 11066 else | 11279 else |
| 11067 echo "$ac_err" >&5 | 11280 echo "$ac_err" >&5 |
| 11079 with_gpm=no | 11292 with_gpm=no |
| 11080 fi | 11293 fi |
| 11081 } | 11294 } |
| 11082 test -z "$with_gpm" && { | 11295 test -z "$with_gpm" && { |
| 11083 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11296 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 11084 echo "configure:11085: checking for Gpm_Open in -lgpm" >&5 | 11297 echo "configure:11298: checking for Gpm_Open in -lgpm" >&5 |
| 11085 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11298 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 11086 | 11299 |
| 11087 xe_check_libs=" -lgpm " | 11300 xe_check_libs=" -lgpm " |
| 11088 cat > conftest.$ac_ext <<EOF | 11301 cat > conftest.$ac_ext <<EOF |
| 11089 #line 11090 "configure" | 11302 #line 11303 "configure" |
| 11090 #include "confdefs.h" | 11303 #include "confdefs.h" |
| 11091 /* Override any gcc2 internal prototype to avoid an error. */ | 11304 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11092 /* We use char because int might match the return type of a gcc2 | 11305 /* We use char because int might match the return type of a gcc2 |
| 11093 builtin and then its argument prototype would still apply. */ | 11306 builtin and then its argument prototype would still apply. */ |
| 11094 char Gpm_Open(); | 11307 char Gpm_Open(); |
| 11095 | 11308 |
| 11096 int main() { | 11309 int main() { |
| 11097 Gpm_Open() | 11310 Gpm_Open() |
| 11098 ; return 0; } | 11311 ; return 0; } |
| 11099 EOF | 11312 EOF |
| 11100 if { (eval echo configure:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11313 if { (eval echo configure:11314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11101 rm -rf conftest* | 11314 rm -rf conftest* |
| 11102 eval "ac_cv_lib_$ac_lib_var=yes" | 11315 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11103 else | 11316 else |
| 11104 echo "configure: failed program was:" >&5 | 11317 echo "configure: failed program was:" >&5 |
| 11105 cat conftest.$ac_ext >&5 | 11318 cat conftest.$ac_ext >&5 |
| 11145 fi | 11358 fi |
| 11146 | 11359 |
| 11147 | 11360 |
| 11148 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ | 11361 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ |
| 11149 != "no no no" && echo "checking for database support" 1>&6 | 11362 != "no no no" && echo "checking for database support" 1>&6 |
| 11150 echo "configure:11151: checking for database support" >&5 | 11363 echo "configure:11364: checking for database support" >&5 |
| 11151 | 11364 |
| 11152 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11365 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
| 11153 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11366 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 11154 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11367 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 11155 echo "configure:11156: checking for ndbm.h" >&5 | 11368 echo "configure:11369: checking for ndbm.h" >&5 |
| 11156 | 11369 |
| 11157 cat > conftest.$ac_ext <<EOF | 11370 cat > conftest.$ac_ext <<EOF |
| 11158 #line 11159 "configure" | 11371 #line 11372 "configure" |
| 11159 #include "confdefs.h" | 11372 #include "confdefs.h" |
| 11160 #include <ndbm.h> | 11373 #include <ndbm.h> |
| 11161 EOF | 11374 EOF |
| 11162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11163 { (eval echo configure:11164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11376 { (eval echo configure:11377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11164 ac_err=`grep -v '^ *+' conftest.out` | 11377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11165 if test -z "$ac_err"; then | 11378 if test -z "$ac_err"; then |
| 11166 rm -rf conftest* | 11379 rm -rf conftest* |
| 11167 eval "ac_cv_header_$ac_safe=yes" | 11380 eval "ac_cv_header_$ac_safe=yes" |
| 11168 else | 11381 else |
| 11169 echo "$ac_err" >&5 | 11382 echo "$ac_err" >&5 |
| 11188 fi | 11401 fi |
| 11189 | 11402 |
| 11190 if test "$with_database_gnudbm" != "no"; then | 11403 if test "$with_database_gnudbm" != "no"; then |
| 11191 | 11404 |
| 11192 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11405 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 11193 echo "configure:11194: checking for dbm_open in -lgdbm" >&5 | 11406 echo "configure:11407: checking for dbm_open in -lgdbm" >&5 |
| 11194 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11407 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 11195 | 11408 |
| 11196 xe_check_libs=" -lgdbm " | 11409 xe_check_libs=" -lgdbm " |
| 11197 cat > conftest.$ac_ext <<EOF | 11410 cat > conftest.$ac_ext <<EOF |
| 11198 #line 11199 "configure" | 11411 #line 11412 "configure" |
| 11199 #include "confdefs.h" | 11412 #include "confdefs.h" |
| 11200 /* Override any gcc2 internal prototype to avoid an error. */ | 11413 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11201 /* We use char because int might match the return type of a gcc2 | 11414 /* We use char because int might match the return type of a gcc2 |
| 11202 builtin and then its argument prototype would still apply. */ | 11415 builtin and then its argument prototype would still apply. */ |
| 11203 char dbm_open(); | 11416 char dbm_open(); |
| 11204 | 11417 |
| 11205 int main() { | 11418 int main() { |
| 11206 dbm_open() | 11419 dbm_open() |
| 11207 ; return 0; } | 11420 ; return 0; } |
| 11208 EOF | 11421 EOF |
| 11209 if { (eval echo configure:11210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11422 if { (eval echo configure:11423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11210 rm -rf conftest* | 11423 rm -rf conftest* |
| 11211 eval "ac_cv_lib_$ac_lib_var=yes" | 11424 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11212 else | 11425 else |
| 11213 echo "configure: failed program was:" >&5 | 11426 echo "configure: failed program was:" >&5 |
| 11214 cat conftest.$ac_ext >&5 | 11427 cat conftest.$ac_ext >&5 |
| 11232 | 11445 |
| 11233 fi | 11446 fi |
| 11234 | 11447 |
| 11235 if test "$with_database_dbm" != "no"; then | 11448 if test "$with_database_dbm" != "no"; then |
| 11236 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11449 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 11237 echo "configure:11238: checking for dbm_open" >&5 | 11450 echo "configure:11451: checking for dbm_open" >&5 |
| 11238 | 11451 |
| 11239 cat > conftest.$ac_ext <<EOF | 11452 cat > conftest.$ac_ext <<EOF |
| 11240 #line 11241 "configure" | 11453 #line 11454 "configure" |
| 11241 #include "confdefs.h" | 11454 #include "confdefs.h" |
| 11242 /* System header to define __stub macros and hopefully few prototypes, | 11455 /* System header to define __stub macros and hopefully few prototypes, |
| 11243 which can conflict with char dbm_open(); below. */ | 11456 which can conflict with char dbm_open(); below. */ |
| 11244 #include <assert.h> | 11457 #include <assert.h> |
| 11245 /* Override any gcc2 internal prototype to avoid an error. */ | 11458 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11258 dbm_open(); | 11471 dbm_open(); |
| 11259 #endif | 11472 #endif |
| 11260 | 11473 |
| 11261 ; return 0; } | 11474 ; return 0; } |
| 11262 EOF | 11475 EOF |
| 11263 if { (eval echo configure:11264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11476 if { (eval echo configure:11477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11264 rm -rf conftest* | 11477 rm -rf conftest* |
| 11265 eval "ac_cv_func_dbm_open=yes" | 11478 eval "ac_cv_func_dbm_open=yes" |
| 11266 else | 11479 else |
| 11267 echo "configure: failed program was:" >&5 | 11480 echo "configure: failed program was:" >&5 |
| 11268 cat conftest.$ac_ext >&5 | 11481 cat conftest.$ac_ext >&5 |
| 11277 else | 11490 else |
| 11278 echo "$ac_t""no" 1>&6 | 11491 echo "$ac_t""no" 1>&6 |
| 11279 | 11492 |
| 11280 | 11493 |
| 11281 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11494 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 11282 echo "configure:11283: checking for dbm_open in -ldbm" >&5 | 11495 echo "configure:11496: checking for dbm_open in -ldbm" >&5 |
| 11283 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11496 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 11284 | 11497 |
| 11285 xe_check_libs=" -ldbm " | 11498 xe_check_libs=" -ldbm " |
| 11286 cat > conftest.$ac_ext <<EOF | 11499 cat > conftest.$ac_ext <<EOF |
| 11287 #line 11288 "configure" | 11500 #line 11501 "configure" |
| 11288 #include "confdefs.h" | 11501 #include "confdefs.h" |
| 11289 /* Override any gcc2 internal prototype to avoid an error. */ | 11502 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11290 /* We use char because int might match the return type of a gcc2 | 11503 /* We use char because int might match the return type of a gcc2 |
| 11291 builtin and then its argument prototype would still apply. */ | 11504 builtin and then its argument prototype would still apply. */ |
| 11292 char dbm_open(); | 11505 char dbm_open(); |
| 11293 | 11506 |
| 11294 int main() { | 11507 int main() { |
| 11295 dbm_open() | 11508 dbm_open() |
| 11296 ; return 0; } | 11509 ; return 0; } |
| 11297 EOF | 11510 EOF |
| 11298 if { (eval echo configure:11299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11511 if { (eval echo configure:11512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11299 rm -rf conftest* | 11512 rm -rf conftest* |
| 11300 eval "ac_cv_lib_$ac_lib_var=yes" | 11513 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11301 else | 11514 else |
| 11302 echo "configure: failed program was:" >&5 | 11515 echo "configure: failed program was:" >&5 |
| 11303 cat conftest.$ac_ext >&5 | 11516 cat conftest.$ac_ext >&5 |
| 11334 } | 11547 } |
| 11335 | 11548 |
| 11336 | 11549 |
| 11337 if test "$with_database_berkdb" != "no"; then | 11550 if test "$with_database_berkdb" != "no"; then |
| 11338 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11551 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 11339 echo "configure:11340: checking for Berkeley db.h" >&5 | 11552 echo "configure:11553: checking for Berkeley db.h" >&5 |
| 11340 for path in "db/db.h" "db.h"; do | 11553 for path in "db/db.h" "db.h"; do |
| 11341 cat > conftest.$ac_ext <<EOF | 11554 cat > conftest.$ac_ext <<EOF |
| 11342 #line 11343 "configure" | 11555 #line 11556 "configure" |
| 11343 #include "confdefs.h" | 11556 #include "confdefs.h" |
| 11344 #ifdef HAVE_INTTYPES_H | 11557 #ifdef HAVE_INTTYPES_H |
| 11345 #define __BIT_TYPES_DEFINED__ | 11558 #define __BIT_TYPES_DEFINED__ |
| 11346 #include <inttypes.h> | 11559 #include <inttypes.h> |
| 11347 typedef uint8_t u_int8_t; | 11560 typedef uint8_t u_int8_t; |
| 11355 | 11568 |
| 11356 int main() { | 11569 int main() { |
| 11357 | 11570 |
| 11358 ; return 0; } | 11571 ; return 0; } |
| 11359 EOF | 11572 EOF |
| 11360 if { (eval echo configure:11361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11573 if { (eval echo configure:11574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11361 rm -rf conftest* | 11574 rm -rf conftest* |
| 11362 db_h_path="$path"; break | 11575 db_h_path="$path"; break |
| 11363 else | 11576 else |
| 11364 echo "configure: failed program was:" >&5 | 11577 echo "configure: failed program was:" >&5 |
| 11365 cat conftest.$ac_ext >&5 | 11578 cat conftest.$ac_ext >&5 |
| 11371 else echo "$ac_t""$db_h_path" 1>&6 | 11584 else echo "$ac_t""$db_h_path" 1>&6 |
| 11372 fi | 11585 fi |
| 11373 | 11586 |
| 11374 if test "$with_database_berkdb" != "no"; then | 11587 if test "$with_database_berkdb" != "no"; then |
| 11375 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11588 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 11376 echo "configure:11377: checking for Berkeley DB version" >&5 | 11589 echo "configure:11590: checking for Berkeley DB version" >&5 |
| 11377 cat > conftest.$ac_ext <<EOF | 11590 cat > conftest.$ac_ext <<EOF |
| 11378 #line 11379 "configure" | 11591 #line 11592 "configure" |
| 11379 #include "confdefs.h" | 11592 #include "confdefs.h" |
| 11380 #include <$db_h_path> | 11593 #include <$db_h_path> |
| 11381 #if DB_VERSION_MAJOR > 1 | 11594 #if DB_VERSION_MAJOR > 1 |
| 11382 yes | 11595 yes |
| 11383 #endif | 11596 #endif |
| 11392 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11605 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 11393 fi | 11606 fi |
| 11394 rm -f conftest* | 11607 rm -f conftest* |
| 11395 | 11608 |
| 11396 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11609 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 11397 echo "configure:11398: checking for $dbfunc" >&5 | 11610 echo "configure:11611: checking for $dbfunc" >&5 |
| 11398 | 11611 |
| 11399 cat > conftest.$ac_ext <<EOF | 11612 cat > conftest.$ac_ext <<EOF |
| 11400 #line 11401 "configure" | 11613 #line 11614 "configure" |
| 11401 #include "confdefs.h" | 11614 #include "confdefs.h" |
| 11402 /* System header to define __stub macros and hopefully few prototypes, | 11615 /* System header to define __stub macros and hopefully few prototypes, |
| 11403 which can conflict with char $dbfunc(); below. */ | 11616 which can conflict with char $dbfunc(); below. */ |
| 11404 #include <assert.h> | 11617 #include <assert.h> |
| 11405 /* Override any gcc2 internal prototype to avoid an error. */ | 11618 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11418 $dbfunc(); | 11631 $dbfunc(); |
| 11419 #endif | 11632 #endif |
| 11420 | 11633 |
| 11421 ; return 0; } | 11634 ; return 0; } |
| 11422 EOF | 11635 EOF |
| 11423 if { (eval echo configure:11424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11636 if { (eval echo configure:11637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11424 rm -rf conftest* | 11637 rm -rf conftest* |
| 11425 eval "ac_cv_func_$dbfunc=yes" | 11638 eval "ac_cv_func_$dbfunc=yes" |
| 11426 else | 11639 else |
| 11427 echo "configure: failed program was:" >&5 | 11640 echo "configure: failed program was:" >&5 |
| 11428 cat conftest.$ac_ext >&5 | 11641 cat conftest.$ac_ext >&5 |
| 11437 else | 11650 else |
| 11438 echo "$ac_t""no" 1>&6 | 11651 echo "$ac_t""no" 1>&6 |
| 11439 | 11652 |
| 11440 | 11653 |
| 11441 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11654 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 11442 echo "configure:11443: checking for $dbfunc in -ldb" >&5 | 11655 echo "configure:11656: checking for $dbfunc in -ldb" >&5 |
| 11443 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11656 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 11444 | 11657 |
| 11445 xe_check_libs=" -ldb " | 11658 xe_check_libs=" -ldb " |
| 11446 cat > conftest.$ac_ext <<EOF | 11659 cat > conftest.$ac_ext <<EOF |
| 11447 #line 11448 "configure" | 11660 #line 11661 "configure" |
| 11448 #include "confdefs.h" | 11661 #include "confdefs.h" |
| 11449 /* Override any gcc2 internal prototype to avoid an error. */ | 11662 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11450 /* We use char because int might match the return type of a gcc2 | 11663 /* We use char because int might match the return type of a gcc2 |
| 11451 builtin and then its argument prototype would still apply. */ | 11664 builtin and then its argument prototype would still apply. */ |
| 11452 char $dbfunc(); | 11665 char $dbfunc(); |
| 11453 | 11666 |
| 11454 int main() { | 11667 int main() { |
| 11455 $dbfunc() | 11668 $dbfunc() |
| 11456 ; return 0; } | 11669 ; return 0; } |
| 11457 EOF | 11670 EOF |
| 11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11671 if { (eval echo configure:11672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11459 rm -rf conftest* | 11672 rm -rf conftest* |
| 11460 eval "ac_cv_lib_$ac_lib_var=yes" | 11673 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11461 else | 11674 else |
| 11462 echo "configure: failed program was:" >&5 | 11675 echo "configure: failed program was:" >&5 |
| 11463 cat conftest.$ac_ext >&5 | 11676 cat conftest.$ac_ext >&5 |
| 11517 fi | 11730 fi |
| 11518 | 11731 |
| 11519 if test "$with_socks" = "yes"; then | 11732 if test "$with_socks" = "yes"; then |
| 11520 | 11733 |
| 11521 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11734 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 11522 echo "configure:11523: checking for SOCKSinit in -lsocks" >&5 | 11735 echo "configure:11736: checking for SOCKSinit in -lsocks" >&5 |
| 11523 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11736 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 11524 | 11737 |
| 11525 xe_check_libs=" -lsocks " | 11738 xe_check_libs=" -lsocks " |
| 11526 cat > conftest.$ac_ext <<EOF | 11739 cat > conftest.$ac_ext <<EOF |
| 11527 #line 11528 "configure" | 11740 #line 11741 "configure" |
| 11528 #include "confdefs.h" | 11741 #include "confdefs.h" |
| 11529 /* Override any gcc2 internal prototype to avoid an error. */ | 11742 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11530 /* We use char because int might match the return type of a gcc2 | 11743 /* We use char because int might match the return type of a gcc2 |
| 11531 builtin and then its argument prototype would still apply. */ | 11744 builtin and then its argument prototype would still apply. */ |
| 11532 char SOCKSinit(); | 11745 char SOCKSinit(); |
| 11533 | 11746 |
| 11534 int main() { | 11747 int main() { |
| 11535 SOCKSinit() | 11748 SOCKSinit() |
| 11536 ; return 0; } | 11749 ; return 0; } |
| 11537 EOF | 11750 EOF |
| 11538 if { (eval echo configure:11539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11751 if { (eval echo configure:11752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11539 rm -rf conftest* | 11752 rm -rf conftest* |
| 11540 eval "ac_cv_lib_$ac_lib_var=yes" | 11753 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11541 else | 11754 else |
| 11542 echo "configure: failed program was:" >&5 | 11755 echo "configure: failed program was:" >&5 |
| 11543 cat conftest.$ac_ext >&5 | 11756 cat conftest.$ac_ext >&5 |
| 11590 | 11803 |
| 11591 for ac_hdr in dlfcn.h | 11804 for ac_hdr in dlfcn.h |
| 11592 do | 11805 do |
| 11593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11806 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11807 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11595 echo "configure:11596: checking for $ac_hdr" >&5 | 11808 echo "configure:11809: checking for $ac_hdr" >&5 |
| 11596 | 11809 |
| 11597 cat > conftest.$ac_ext <<EOF | 11810 cat > conftest.$ac_ext <<EOF |
| 11598 #line 11599 "configure" | 11811 #line 11812 "configure" |
| 11599 #include "confdefs.h" | 11812 #include "confdefs.h" |
| 11600 #include <$ac_hdr> | 11813 #include <$ac_hdr> |
| 11601 EOF | 11814 EOF |
| 11602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11603 { (eval echo configure:11604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11816 { (eval echo configure:11817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11604 ac_err=`grep -v '^ *+' conftest.out` | 11817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11605 if test -z "$ac_err"; then | 11818 if test -z "$ac_err"; then |
| 11606 rm -rf conftest* | 11819 rm -rf conftest* |
| 11607 eval "ac_cv_header_$ac_safe=yes" | 11820 eval "ac_cv_header_$ac_safe=yes" |
| 11608 else | 11821 else |
| 11609 echo "$ac_err" >&5 | 11822 echo "$ac_err" >&5 |
| 11637 fi | 11850 fi |
| 11638 done | 11851 done |
| 11639 | 11852 |
| 11640 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11853 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11641 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11854 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 11642 echo "configure:11643: checking for dlopen in -ldl" >&5 | 11855 echo "configure:11856: checking for dlopen in -ldl" >&5 |
| 11643 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11856 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| 11644 | 11857 |
| 11645 xe_check_libs=" -ldl " | 11858 xe_check_libs=" -ldl " |
| 11646 cat > conftest.$ac_ext <<EOF | 11859 cat > conftest.$ac_ext <<EOF |
| 11647 #line 11648 "configure" | 11860 #line 11861 "configure" |
| 11648 #include "confdefs.h" | 11861 #include "confdefs.h" |
| 11649 /* Override any gcc2 internal prototype to avoid an error. */ | 11862 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11650 /* We use char because int might match the return type of a gcc2 | 11863 /* We use char because int might match the return type of a gcc2 |
| 11651 builtin and then its argument prototype would still apply. */ | 11864 builtin and then its argument prototype would still apply. */ |
| 11652 char dlopen(); | 11865 char dlopen(); |
| 11653 | 11866 |
| 11654 int main() { | 11867 int main() { |
| 11655 dlopen() | 11868 dlopen() |
| 11656 ; return 0; } | 11869 ; return 0; } |
| 11657 EOF | 11870 EOF |
| 11658 if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11871 if { (eval echo configure:11872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11659 rm -rf conftest* | 11872 rm -rf conftest* |
| 11660 eval "ac_cv_lib_$ac_lib_var=yes" | 11873 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11661 else | 11874 else |
| 11662 echo "configure: failed program was:" >&5 | 11875 echo "configure: failed program was:" >&5 |
| 11663 cat conftest.$ac_ext >&5 | 11876 cat conftest.$ac_ext >&5 |
| 11682 fi | 11895 fi |
| 11683 | 11896 |
| 11684 } | 11897 } |
| 11685 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11898 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11686 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11899 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
| 11687 echo "configure:11688: checking for _dlopen in -lc" >&5 | 11900 echo "configure:11901: checking for _dlopen in -lc" >&5 |
| 11688 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11901 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
| 11689 | 11902 |
| 11690 xe_check_libs=" -lc " | 11903 xe_check_libs=" -lc " |
| 11691 cat > conftest.$ac_ext <<EOF | 11904 cat > conftest.$ac_ext <<EOF |
| 11692 #line 11693 "configure" | 11905 #line 11906 "configure" |
| 11693 #include "confdefs.h" | 11906 #include "confdefs.h" |
| 11694 /* Override any gcc2 internal prototype to avoid an error. */ | 11907 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11695 /* We use char because int might match the return type of a gcc2 | 11908 /* We use char because int might match the return type of a gcc2 |
| 11696 builtin and then its argument prototype would still apply. */ | 11909 builtin and then its argument prototype would still apply. */ |
| 11697 char _dlopen(); | 11910 char _dlopen(); |
| 11698 | 11911 |
| 11699 int main() { | 11912 int main() { |
| 11700 _dlopen() | 11913 _dlopen() |
| 11701 ; return 0; } | 11914 ; return 0; } |
| 11702 EOF | 11915 EOF |
| 11703 if { (eval echo configure:11704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11916 if { (eval echo configure:11917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11704 rm -rf conftest* | 11917 rm -rf conftest* |
| 11705 eval "ac_cv_lib_$ac_lib_var=yes" | 11918 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11706 else | 11919 else |
| 11707 echo "configure: failed program was:" >&5 | 11920 echo "configure: failed program was:" >&5 |
| 11708 cat conftest.$ac_ext >&5 | 11921 cat conftest.$ac_ext >&5 |
| 11727 fi | 11940 fi |
| 11728 | 11941 |
| 11729 } | 11942 } |
| 11730 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11943 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11731 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11944 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 11732 echo "configure:11733: checking for dlopen in -lc" >&5 | 11945 echo "configure:11946: checking for dlopen in -lc" >&5 |
| 11733 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11946 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
| 11734 | 11947 |
| 11735 xe_check_libs=" -lc " | 11948 xe_check_libs=" -lc " |
| 11736 cat > conftest.$ac_ext <<EOF | 11949 cat > conftest.$ac_ext <<EOF |
| 11737 #line 11738 "configure" | 11950 #line 11951 "configure" |
| 11738 #include "confdefs.h" | 11951 #include "confdefs.h" |
| 11739 /* Override any gcc2 internal prototype to avoid an error. */ | 11952 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11740 /* We use char because int might match the return type of a gcc2 | 11953 /* We use char because int might match the return type of a gcc2 |
| 11741 builtin and then its argument prototype would still apply. */ | 11954 builtin and then its argument prototype would still apply. */ |
| 11742 char dlopen(); | 11955 char dlopen(); |
| 11743 | 11956 |
| 11744 int main() { | 11957 int main() { |
| 11745 dlopen() | 11958 dlopen() |
| 11746 ; return 0; } | 11959 ; return 0; } |
| 11747 EOF | 11960 EOF |
| 11748 if { (eval echo configure:11749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11961 if { (eval echo configure:11962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11749 rm -rf conftest* | 11962 rm -rf conftest* |
| 11750 eval "ac_cv_lib_$ac_lib_var=yes" | 11963 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11751 else | 11964 else |
| 11752 echo "configure: failed program was:" >&5 | 11965 echo "configure: failed program was:" >&5 |
| 11753 cat conftest.$ac_ext >&5 | 11966 cat conftest.$ac_ext >&5 |
| 11772 fi | 11985 fi |
| 11773 | 11986 |
| 11774 } | 11987 } |
| 11775 test -z "$with_shlib" && { | 11988 test -z "$with_shlib" && { |
| 11776 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11989 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 11777 echo "configure:11778: checking for shl_load in -ldld" >&5 | 11990 echo "configure:11991: checking for shl_load in -ldld" >&5 |
| 11778 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11991 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 11779 | 11992 |
| 11780 xe_check_libs=" -ldld " | 11993 xe_check_libs=" -ldld " |
| 11781 cat > conftest.$ac_ext <<EOF | 11994 cat > conftest.$ac_ext <<EOF |
| 11782 #line 11783 "configure" | 11995 #line 11996 "configure" |
| 11783 #include "confdefs.h" | 11996 #include "confdefs.h" |
| 11784 /* Override any gcc2 internal prototype to avoid an error. */ | 11997 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11785 /* We use char because int might match the return type of a gcc2 | 11998 /* We use char because int might match the return type of a gcc2 |
| 11786 builtin and then its argument prototype would still apply. */ | 11999 builtin and then its argument prototype would still apply. */ |
| 11787 char shl_load(); | 12000 char shl_load(); |
| 11788 | 12001 |
| 11789 int main() { | 12002 int main() { |
| 11790 shl_load() | 12003 shl_load() |
| 11791 ; return 0; } | 12004 ; return 0; } |
| 11792 EOF | 12005 EOF |
| 11793 if { (eval echo configure:11794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12006 if { (eval echo configure:12007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11794 rm -rf conftest* | 12007 rm -rf conftest* |
| 11795 eval "ac_cv_lib_$ac_lib_var=yes" | 12008 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11796 else | 12009 else |
| 11797 echo "configure: failed program was:" >&5 | 12010 echo "configure: failed program was:" >&5 |
| 11798 cat conftest.$ac_ext >&5 | 12011 cat conftest.$ac_ext >&5 |
| 11817 fi | 12030 fi |
| 11818 | 12031 |
| 11819 } | 12032 } |
| 11820 test -z "$with_shlib" && { | 12033 test -z "$with_shlib" && { |
| 11821 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 12034 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 11822 echo "configure:11823: checking for dld_init in -ldld" >&5 | 12035 echo "configure:12036: checking for dld_init in -ldld" >&5 |
| 11823 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 12036 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 11824 | 12037 |
| 11825 xe_check_libs=" -ldld " | 12038 xe_check_libs=" -ldld " |
| 11826 cat > conftest.$ac_ext <<EOF | 12039 cat > conftest.$ac_ext <<EOF |
| 11827 #line 11828 "configure" | 12040 #line 12041 "configure" |
| 11828 #include "confdefs.h" | 12041 #include "confdefs.h" |
| 11829 /* Override any gcc2 internal prototype to avoid an error. */ | 12042 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11830 /* We use char because int might match the return type of a gcc2 | 12043 /* We use char because int might match the return type of a gcc2 |
| 11831 builtin and then its argument prototype would still apply. */ | 12044 builtin and then its argument prototype would still apply. */ |
| 11832 char dld_init(); | 12045 char dld_init(); |
| 11833 | 12046 |
| 11834 int main() { | 12047 int main() { |
| 11835 dld_init() | 12048 dld_init() |
| 11836 ; return 0; } | 12049 ; return 0; } |
| 11837 EOF | 12050 EOF |
| 11838 if { (eval echo configure:11839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12051 if { (eval echo configure:12052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11839 rm -rf conftest* | 12052 rm -rf conftest* |
| 11840 eval "ac_cv_lib_$ac_lib_var=yes" | 12053 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11841 else | 12054 else |
| 11842 echo "configure: failed program was:" >&5 | 12055 echo "configure: failed program was:" >&5 |
| 11843 cat conftest.$ac_ext >&5 | 12056 cat conftest.$ac_ext >&5 |
| 11872 ld_dynamic_link_flags= | 12085 ld_dynamic_link_flags= |
| 11873 xehost=$canonical | 12086 xehost=$canonical |
| 11874 xealias=$internal_configuration | 12087 xealias=$internal_configuration |
| 11875 | 12088 |
| 11876 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 12089 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
| 11877 echo "configure:11878: checking how to build dynamic libraries for ${xehost}" >&5 | 12090 echo "configure:12091: checking how to build dynamic libraries for ${xehost}" >&5 |
| 11878 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 12091 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
| 11879 case "$xehost" in | 12092 case "$xehost" in |
| 11880 *-*-linux-gnu*) ;; | 12093 *-*-linux-gnu*) ;; |
| 11881 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 12094 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
| 11882 esac | 12095 esac |
| 11900 # Now see if the compiler is really GCC. | 12113 # Now see if the compiler is really GCC. |
| 11901 if test "$GCC" = "yes"; then | 12114 if test "$GCC" = "yes"; then |
| 11902 XEGCC=yes | 12115 XEGCC=yes |
| 11903 else | 12116 else |
| 11904 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 12117 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
| 11905 echo "configure:11906: checking checking whether we are using GNU C" >&5 | 12118 echo "configure:12119: checking checking whether we are using GNU C" >&5 |
| 11906 cat > conftest.$ac_ext <<EOF | 12119 cat > conftest.$ac_ext <<EOF |
| 11907 #line 11908 "configure" | 12120 #line 12121 "configure" |
| 11908 #include "confdefs.h" | 12121 #include "confdefs.h" |
| 11909 | 12122 |
| 11910 #ifdef __GNUC__ | 12123 #ifdef __GNUC__ |
| 11911 yes; | 12124 yes; |
| 11912 #endif | 12125 #endif |
| 11924 | 12137 |
| 11925 echo "$ac_t""${XEGCC}" 1>&6 | 12138 echo "$ac_t""${XEGCC}" 1>&6 |
| 11926 fi | 12139 fi |
| 11927 | 12140 |
| 11928 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 12141 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
| 11929 echo "configure:11930: checking how to produce PIC code" >&5 | 12142 echo "configure:12143: checking how to produce PIC code" >&5 |
| 11930 wl= | 12143 wl= |
| 11931 | 12144 |
| 11932 can_build_shared=yes | 12145 can_build_shared=yes |
| 11933 if test "$XEGCC" = yes; then | 12146 if test "$XEGCC" = yes; then |
| 11934 wl='-Wl,' | 12147 wl='-Wl,' |
| 12017 if test -n "$dll_cflags"; then | 12230 if test -n "$dll_cflags"; then |
| 12018 echo "$ac_t""${dll_cflags}" 1>&6 | 12231 echo "$ac_t""${dll_cflags}" 1>&6 |
| 12019 | 12232 |
| 12020 # Check to make sure the dll_cflags actually works. | 12233 # Check to make sure the dll_cflags actually works. |
| 12021 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 12234 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
| 12022 echo "configure:12023: checking if PIC flag ${dll_cflags} really works" >&5 | 12235 echo "configure:12236: checking if PIC flag ${dll_cflags} really works" >&5 |
| 12023 save_CFLAGS="$CFLAGS" | 12236 save_CFLAGS="$CFLAGS" |
| 12024 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 12237 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
| 12025 cat > conftest.$ac_ext <<EOF | 12238 cat > conftest.$ac_ext <<EOF |
| 12026 #line 12027 "configure" | 12239 #line 12240 "configure" |
| 12027 #include "confdefs.h" | 12240 #include "confdefs.h" |
| 12028 | 12241 |
| 12029 int main() { | 12242 int main() { |
| 12030 int x=0; | 12243 int x=0; |
| 12031 ; return 0; } | 12244 ; return 0; } |
| 12032 EOF | 12245 EOF |
| 12033 if { (eval echo configure:12034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12246 if { (eval echo configure:12247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 12034 rm -rf conftest* | 12247 rm -rf conftest* |
| 12035 | 12248 |
| 12036 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 12249 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
| 12037 # reports no error. So, we need to grep stderr for (Bundled). | 12250 # reports no error. So, we need to grep stderr for (Bundled). |
| 12038 if grep '(Bundled)' config.log >/dev/null; then | 12251 if grep '(Bundled)' config.log >/dev/null; then |
| 12059 if test "$can_build_shared" = "yes"; then | 12272 if test "$can_build_shared" = "yes"; then |
| 12060 cc_produces_so=no | 12273 cc_produces_so=no |
| 12061 xldf= | 12274 xldf= |
| 12062 xcldf= | 12275 xcldf= |
| 12063 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 12276 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
| 12064 echo "configure:12065: checking if C compiler can produce shared libraries" >&5 | 12277 echo "configure:12278: checking if C compiler can produce shared libraries" >&5 |
| 12065 if test "$XEGCC" = yes; then | 12278 if test "$XEGCC" = yes; then |
| 12066 xcldf="-shared" | 12279 xcldf="-shared" |
| 12067 xldf="-shared" | 12280 xldf="-shared" |
| 12068 else # Not using GCC | 12281 else # Not using GCC |
| 12069 case "$xehost_os" in | 12282 case "$xehost_os" in |
| 12110 LDFLAGS="$xcldf $LDFLAGS" | 12323 LDFLAGS="$xcldf $LDFLAGS" |
| 12111 LIBS= | 12324 LIBS= |
| 12112 xe_libs= | 12325 xe_libs= |
| 12113 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 12326 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 12114 cat > conftest.$ac_ext <<EOF | 12327 cat > conftest.$ac_ext <<EOF |
| 12115 #line 12116 "configure" | 12328 #line 12329 "configure" |
| 12116 #include "confdefs.h" | 12329 #include "confdefs.h" |
| 12117 | 12330 |
| 12118 int main() { | 12331 int main() { |
| 12119 int x=0; | 12332 int x=0; |
| 12120 ; return 0; } | 12333 ; return 0; } |
| 12121 EOF | 12334 EOF |
| 12122 if { (eval echo configure:12123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12335 if { (eval echo configure:12336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12123 rm -rf conftest* | 12336 rm -rf conftest* |
| 12124 cc_produces_so=yes | 12337 cc_produces_so=yes |
| 12125 else | 12338 else |
| 12126 echo "configure: failed program was:" >&5 | 12339 echo "configure: failed program was:" >&5 |
| 12127 cat conftest.$ac_ext >&5 | 12340 cat conftest.$ac_ext >&5 |
| 12142 if test -z "$LTLD"; then | 12355 if test -z "$LTLD"; then |
| 12143 ac_prog=ld | 12356 ac_prog=ld |
| 12144 if test "$XEGCC" = yes; then | 12357 if test "$XEGCC" = yes; then |
| 12145 # Check if gcc -print-prog-name=ld gives a path. | 12358 # Check if gcc -print-prog-name=ld gives a path. |
| 12146 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 12359 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| 12147 echo "configure:12148: checking for ld used by GCC" >&5 | 12360 echo "configure:12361: checking for ld used by GCC" >&5 |
| 12148 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 12361 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| 12149 case "$ac_prog" in | 12362 case "$ac_prog" in |
| 12150 # Accept absolute paths. | 12363 # Accept absolute paths. |
| 12151 /*) | 12364 /*) |
| 12152 if test -z "$LTLD"; then | 12365 if test -z "$LTLD"; then |
| 12167 with_gnu_ld=unknown | 12380 with_gnu_ld=unknown |
| 12168 ;; | 12381 ;; |
| 12169 esac | 12382 esac |
| 12170 else | 12383 else |
| 12171 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 12384 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| 12172 echo "configure:12173: checking for GNU ld" >&5 | 12385 echo "configure:12386: checking for GNU ld" >&5 |
| 12173 fi | 12386 fi |
| 12174 | 12387 |
| 12175 if test -z "$LTLD"; then | 12388 if test -z "$LTLD"; then |
| 12176 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 12389 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 12177 for ac_dir in $PATH; do | 12390 for ac_dir in $PATH; do |
| 12205 | 12418 |
| 12206 ld_dynamic_link_flags= | 12419 ld_dynamic_link_flags= |
| 12207 | 12420 |
| 12208 # Check to see if it really is or isn't GNU ld. | 12421 # Check to see if it really is or isn't GNU ld. |
| 12209 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 12422 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
| 12210 echo "configure:12211: checking if the linker is GNU ld" >&5 | 12423 echo "configure:12424: checking if the linker is GNU ld" >&5 |
| 12211 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 12424 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 12212 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 12425 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
| 12213 xe_gnu_ld=yes | 12426 xe_gnu_ld=yes |
| 12214 else | 12427 else |
| 12215 xe_gnu_ld=no | 12428 xe_gnu_ld=no |
| 12232 can_build_shared=yes | 12445 can_build_shared=yes |
| 12233 else | 12446 else |
| 12234 # OK - only NOW do we futz about with ld. | 12447 # OK - only NOW do we futz about with ld. |
| 12235 # See if the linker supports building shared libraries. | 12448 # See if the linker supports building shared libraries. |
| 12236 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 12449 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
| 12237 echo "configure:12238: checking whether the linker supports shared libraries" >&5 | 12450 echo "configure:12451: checking whether the linker supports shared libraries" >&5 |
| 12238 dll_ld=$CC | 12451 dll_ld=$CC |
| 12239 dll_ldflags=$LDFLAGS | 12452 dll_ldflags=$LDFLAGS |
| 12240 ld_shlibs=yes | 12453 ld_shlibs=yes |
| 12241 can_build_shared=yes | 12454 can_build_shared=yes |
| 12242 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 12455 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
| 12448 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 12661 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
| 12449 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi | 12662 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi |
| 12450 for ac_func in dlerror _dlerror | 12663 for ac_func in dlerror _dlerror |
| 12451 do | 12664 do |
| 12452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12453 echo "configure:12454: checking for $ac_func" >&5 | 12666 echo "configure:12667: checking for $ac_func" >&5 |
| 12454 | 12667 |
| 12455 cat > conftest.$ac_ext <<EOF | 12668 cat > conftest.$ac_ext <<EOF |
| 12456 #line 12457 "configure" | 12669 #line 12670 "configure" |
| 12457 #include "confdefs.h" | 12670 #include "confdefs.h" |
| 12458 /* System header to define __stub macros and hopefully few prototypes, | 12671 /* System header to define __stub macros and hopefully few prototypes, |
| 12459 which can conflict with char $ac_func(); below. */ | 12672 which can conflict with char $ac_func(); below. */ |
| 12460 #include <assert.h> | 12673 #include <assert.h> |
| 12461 /* Override any gcc2 internal prototype to avoid an error. */ | 12674 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12474 $ac_func(); | 12687 $ac_func(); |
| 12475 #endif | 12688 #endif |
| 12476 | 12689 |
| 12477 ; return 0; } | 12690 ; return 0; } |
| 12478 EOF | 12691 EOF |
| 12479 if { (eval echo configure:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12692 if { (eval echo configure:12693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12480 rm -rf conftest* | 12693 rm -rf conftest* |
| 12481 eval "ac_cv_func_$ac_func=yes" | 12694 eval "ac_cv_func_$ac_func=yes" |
| 12482 else | 12695 else |
| 12483 echo "configure: failed program was:" >&5 | 12696 echo "configure: failed program was:" >&5 |
| 12484 cat conftest.$ac_ext >&5 | 12697 cat conftest.$ac_ext >&5 |
| 12508 with_shlib=no | 12721 with_shlib=no |
| 12509 fi | 12722 fi |
| 12510 fi | 12723 fi |
| 12511 | 12724 |
| 12512 cat > conftest.$ac_ext <<EOF | 12725 cat > conftest.$ac_ext <<EOF |
| 12513 #line 12514 "configure" | 12726 #line 12727 "configure" |
| 12514 #include "confdefs.h" | 12727 #include "confdefs.h" |
| 12515 int main(int c,char *v[]){return 0;} | 12728 int main(int c,char *v[]){return 0;} |
| 12516 EOF | 12729 EOF |
| 12517 if { (eval echo configure:12518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12730 if { (eval echo configure:12731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12518 then | 12731 then |
| 12519 : | 12732 : |
| 12520 else | 12733 else |
| 12521 conftest_rc="$?" | 12734 conftest_rc="$?" |
| 12522 echo "configure: failed program was:" >&5 | 12735 echo "configure: failed program was:" >&5 |
| 12683 | 12896 |
| 12684 | 12897 |
| 12685 | 12898 |
| 12686 | 12899 |
| 12687 | 12900 |
| 12901 | |
| 12688 PREFIX=$prefix | 12902 PREFIX=$prefix |
| 12689 while true; do | 12903 while true; do |
| 12690 case "$PREFIX" in | 12904 case "$PREFIX" in |
| 12691 *\$* ) eval "PREFIX=$PREFIX" ;; | 12905 *\$* ) eval "PREFIX=$PREFIX" ;; |
| 12692 *) break ;; | 12906 *) break ;; |
| 12693 esac | 12907 esac |
| 12694 done | 12908 done |
| 12695 | 12909 |
| 12696 | 12910 |
| 12697 | 12911 |
| 12912 | |
| 12698 EXEC_PREFIX=$exec_prefix | 12913 EXEC_PREFIX=$exec_prefix |
| 12699 while true; do | 12914 while true; do |
| 12700 case "$EXEC_PREFIX" in | 12915 case "$EXEC_PREFIX" in |
| 12701 *\$* ) eval "EXEC_PREFIX=$EXEC_PREFIX" ;; | 12916 *\$* ) eval "EXEC_PREFIX=$EXEC_PREFIX" ;; |
| 12702 *) break ;; | 12917 *) break ;; |
| 12803 done | 13018 done |
| 12804 | 13019 |
| 12805 | 13020 |
| 12806 | 13021 |
| 12807 | 13022 |
| 13023 DOCDIR=$docdir | |
| 13024 while true; do | |
| 13025 case "$DOCDIR" in | |
| 13026 *\$* ) eval "DOCDIR=$DOCDIR" ;; | |
| 13027 *) break ;; | |
| 13028 esac | |
| 13029 done | |
| 13030 | |
| 13031 | |
| 13032 | |
| 13033 | |
| 12808 ARCHLIBDIR=$archlibdir | 13034 ARCHLIBDIR=$archlibdir |
| 12809 while true; do | 13035 while true; do |
| 12810 case "$ARCHLIBDIR" in | 13036 case "$ARCHLIBDIR" in |
| 12811 *\$* ) eval "ARCHLIBDIR=$ARCHLIBDIR" ;; | 13037 *\$* ) eval "ARCHLIBDIR=$ARCHLIBDIR" ;; |
| 12812 *) break ;; | 13038 *) break ;; |
| 12841 | 13067 |
| 12842 | 13068 |
| 12843 : ${XEMACS_CC:=$CC} | 13069 : ${XEMACS_CC:=$CC} |
| 12844 | 13070 |
| 12845 | 13071 |
| 13072 if test "$with_prefix" = "yes"; then | |
| 13073 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 13074 Defining PREFIX_USER_DEFINED | |
| 13075 EOF | |
| 13076 cat >> confdefs.h <<\EOF | |
| 13077 #define PREFIX_USER_DEFINED 1 | |
| 13078 EOF | |
| 13079 } | |
| 13080 | |
| 13081 fi | |
| 12846 | 13082 |
| 12847 if test "$with_site_lisp" = "no"; then | 13083 if test "$with_site_lisp" = "no"; then |
| 12848 { test "$extra_verbose" = "yes" && cat << \EOF | 13084 { test "$extra_verbose" = "yes" && cat << \EOF |
| 12849 Defining INHIBIT_SITE_LISP | 13085 Defining INHIBIT_SITE_LISP |
| 12850 EOF | 13086 EOF |
| 13290 case "\$ac_option" in | 13526 case "\$ac_option" in |
| 13291 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 13527 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 13292 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 13528 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
| 13293 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 13529 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
| 13294 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 13530 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
| 13295 echo "$CONFIG_STATUS generated by autoconf version 2.12" | 13531 echo "$CONFIG_STATUS generated by autoconf version 2.13" |
| 13296 exit 0 ;; | 13532 exit 0 ;; |
| 13297 -help | --help | --hel | --he | --h) | 13533 -help | --help | --hel | --he | --h) |
| 13298 echo "\$ac_cs_usage"; exit 0 ;; | 13534 echo "\$ac_cs_usage"; exit 0 ;; |
| 13299 *) echo "\$ac_cs_usage"; exit 1 ;; | 13535 *) echo "\$ac_cs_usage"; exit 1 ;; |
| 13300 esac | 13536 esac |
| 13310 # Protect against being on the right side of a sed subst in config.status. | 13546 # Protect against being on the right side of a sed subst in config.status. |
| 13311 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 13547 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
| 13312 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 13548 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
| 13313 $ac_vpsub | 13549 $ac_vpsub |
| 13314 $extrasub | 13550 $extrasub |
| 13551 s%@SHELL@%$SHELL%g | |
| 13315 s%@CFLAGS@%$CFLAGS%g | 13552 s%@CFLAGS@%$CFLAGS%g |
| 13316 s%@CPPFLAGS@%$CPPFLAGS%g | 13553 s%@CPPFLAGS@%$CPPFLAGS%g |
| 13317 s%@CXXFLAGS@%$CXXFLAGS%g | 13554 s%@CXXFLAGS@%$CXXFLAGS%g |
| 13555 s%@FFLAGS@%$FFLAGS%g | |
| 13318 s%@DEFS@%$DEFS%g | 13556 s%@DEFS@%$DEFS%g |
| 13319 s%@LDFLAGS@%$LDFLAGS%g | 13557 s%@LDFLAGS@%$LDFLAGS%g |
| 13320 s%@LIBS@%$LIBS%g | 13558 s%@LIBS@%$LIBS%g |
| 13321 s%@exec_prefix@%$exec_prefix%g | 13559 s%@exec_prefix@%$exec_prefix%g |
| 13322 s%@prefix@%$prefix%g | 13560 s%@prefix@%$prefix%g |
| 13342 s%@start_files@%$start_files%g | 13580 s%@start_files@%$start_files%g |
| 13343 s%@ld@%$ld%g | 13581 s%@ld@%$ld%g |
| 13344 s%@lib_gcc@%$lib_gcc%g | 13582 s%@lib_gcc@%$lib_gcc%g |
| 13345 s%@RANLIB@%$RANLIB%g | 13583 s%@RANLIB@%$RANLIB%g |
| 13346 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 13584 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
| 13585 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | |
| 13347 s%@INSTALL_DATA@%$INSTALL_DATA%g | 13586 s%@INSTALL_DATA@%$INSTALL_DATA%g |
| 13348 s%@YACC@%$YACC%g | 13587 s%@YACC@%$YACC%g |
| 13349 s%@SET_MAKE@%$SET_MAKE%g | 13588 s%@SET_MAKE@%$SET_MAKE%g |
| 13350 s%@X_CFLAGS@%$X_CFLAGS%g | 13589 s%@X_CFLAGS@%$X_CFLAGS%g |
| 13351 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 13590 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
| 13371 s%@configuration@%$configuration%g | 13610 s%@configuration@%$configuration%g |
| 13372 s%@canonical@%$canonical%g | 13611 s%@canonical@%$canonical%g |
| 13373 s%@srcdir@%$srcdir%g | 13612 s%@srcdir@%$srcdir%g |
| 13374 s%@pkgdir@%$pkgdir%g | 13613 s%@pkgdir@%$pkgdir%g |
| 13375 s%@statedir@%$statedir%g | 13614 s%@statedir@%$statedir%g |
| 13615 s%@PREFIX_USER_DEFINED@%$PREFIX_USER_DEFINED%g | |
| 13376 s%@PREFIX@%$PREFIX%g | 13616 s%@PREFIX@%$PREFIX%g |
| 13617 s%@EXEC_PREFIX_USER_DEFINED@%$EXEC_PREFIX_USER_DEFINED%g | |
| 13377 s%@EXEC_PREFIX@%$EXEC_PREFIX%g | 13618 s%@EXEC_PREFIX@%$EXEC_PREFIX%g |
| 13378 s%@INFODIR_USER_DEFINED@%$INFODIR_USER_DEFINED%g | 13619 s%@INFODIR_USER_DEFINED@%$INFODIR_USER_DEFINED%g |
| 13379 s%@INFODIR@%$INFODIR%g | 13620 s%@INFODIR@%$INFODIR%g |
| 13380 s%@infopath@%$infopath%g | 13621 s%@infopath@%$infopath%g |
| 13381 s%@INFOPATH_USER_DEFINED@%$INFOPATH_USER_DEFINED%g | 13622 s%@INFOPATH_USER_DEFINED@%$INFOPATH_USER_DEFINED%g |
| 13399 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g | 13640 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g |
| 13400 s%@ETCDIR@%$ETCDIR%g | 13641 s%@ETCDIR@%$ETCDIR%g |
| 13401 s%@lockdir@%$lockdir%g | 13642 s%@lockdir@%$lockdir%g |
| 13402 s%@LOCKDIR_USER_DEFINED@%$LOCKDIR_USER_DEFINED%g | 13643 s%@LOCKDIR_USER_DEFINED@%$LOCKDIR_USER_DEFINED%g |
| 13403 s%@LOCKDIR@%$LOCKDIR%g | 13644 s%@LOCKDIR@%$LOCKDIR%g |
| 13645 s%@docdir@%$docdir%g | |
| 13646 s%@DOCDIR_USER_DEFINED@%$DOCDIR_USER_DEFINED%g | |
| 13647 s%@DOCDIR@%$DOCDIR%g | |
| 13404 s%@archlibdir@%$archlibdir%g | 13648 s%@archlibdir@%$archlibdir%g |
| 13405 s%@ARCHLIBDIR_USER_DEFINED@%$ARCHLIBDIR_USER_DEFINED%g | 13649 s%@ARCHLIBDIR_USER_DEFINED@%$ARCHLIBDIR_USER_DEFINED%g |
| 13406 s%@ARCHLIBDIR@%$ARCHLIBDIR%g | 13650 s%@ARCHLIBDIR@%$ARCHLIBDIR%g |
| 13407 s%@docdir@%$docdir%g | |
| 13408 s%@bitmapdir@%$bitmapdir%g | 13651 s%@bitmapdir@%$bitmapdir%g |
| 13409 s%@extra_objs@%$extra_objs%g | 13652 s%@extra_objs@%$extra_objs%g |
| 13410 s%@machfile@%$machfile%g | 13653 s%@machfile@%$machfile%g |
| 13411 s%@opsysfile@%$opsysfile%g | 13654 s%@opsysfile@%$opsysfile%g |
| 13412 s%@c_switch_general@%$c_switch_general%g | 13655 s%@c_switch_general@%$c_switch_general%g |
