Mercurial > hg > xemacs-beta
comparison configure @ 333:4f79e16b1112 r21-0-64
Import from CVS: tag r21-0-64
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:49:50 +0200 |
| parents | 03446687b7cc |
| children | 54f7aa390f4f |
comparison
equal
deleted
inserted
replaced
| 332:bb75ebac9531 | 333:4f79e16b1112 |
|---|---|
| 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 | 10 |
| 196 ac_cpp='$CPP '"$xe_cppflags" | 196 ac_cpp='$CPP '"$xe_cppflags" |
| 197 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 197 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 198 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 198 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 199 cross_compiling=no | 199 cross_compiling=no |
| 200 | 200 |
| 201 ac_exeext= | |
| 202 ac_objext=o | |
| 201 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | 203 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
| 202 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | 204 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
| 203 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | 205 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
| 204 ac_n= ac_c=' | 206 ac_n= ac_c=' |
| 205 ' ac_t=' ' | 207 ' ac_t=' ' |
| 465 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 467 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
| 466 esac | 468 esac |
| 467 eval "$opt=\"$val\"" | 469 eval "$opt=\"$val\"" |
| 468 ;; | 470 ;; |
| 469 | 471 |
| 470 "with_xfs" ) | |
| 471 case "$val" in | |
| 472 y | ye | yes ) val=yes ;; | |
| 473 n | no | non | none ) val=no ;; | |
| 474 * ) (echo "$progname: Usage error:" | |
| 475 echo " " "The \`--$optname' option must have one of these values: | |
| 476 \`yes', or \`no'." | |
| 477 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | |
| 478 esac | |
| 479 eval "$opt=\"$val\"" | |
| 480 ;; | |
| 481 | |
| 482 "mail_locking" ) | 472 "mail_locking" ) |
| 483 case "$val" in | 473 case "$val" in |
| 484 lockf ) val=lockf ;; | 474 lockf ) val=lockf ;; |
| 485 flock ) val=flock ;; | 475 flock ) val=flock ;; |
| 486 file ) val=file ;; | 476 file ) val=file ;; |
| 540 ;; | 530 ;; |
| 541 | 531 |
| 542 | 532 |
| 543 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 533 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
| 544 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ | 534 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ |
| 545 archlibdir | docdir | package_path ) | 535 archlibdir | docdir | package_path ) |
| 546 if test "$valomitted" = "yes"; then | 536 if test "$valomitted" = "yes"; then |
| 547 if test "$#" = 0; then | 537 if test "$#" = 0; then |
| 548 (echo "$progname: Usage error:" | 538 (echo "$progname: Usage error:" |
| 549 echo " " "The \`--$optname' option requires a value." | 539 echo " " "The \`--$optname' option requires a value." |
| 550 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; | 540 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; |
| 753 ;; | 743 ;; |
| 754 esac | 744 esac |
| 755 | 745 |
| 756 if test -z "$configuration"; then | 746 if test -z "$configuration"; then |
| 757 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 747 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 758 echo "configure:759: checking "host system type"" >&5 | 748 echo "configure:749: checking "host system type"" >&5 |
| 759 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 749 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
| 760 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 750 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
| 761 echo "$ac_t""$configuration" 1>&6 | 751 echo "$ac_t""$configuration" 1>&6 |
| 762 else | 752 else |
| 763 echo "$ac_t""unknown" 1>&6 | 753 echo "$ac_t""unknown" 1>&6 |
| 767 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 757 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 768 fi | 758 fi |
| 769 fi | 759 fi |
| 770 | 760 |
| 771 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 761 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 772 echo "configure:773: checking whether ln -s works" >&5 | 762 echo "configure:763: checking whether ln -s works" >&5 |
| 773 | 763 |
| 774 rm -f conftestdata | 764 rm -f conftestdata |
| 775 if ln -s X conftestdata 2>/dev/null | 765 if ln -s X conftestdata 2>/dev/null |
| 776 then | 766 then |
| 777 rm -f conftestdata | 767 rm -f conftestdata |
| 792 echo Making symbolic link to "$srcdir/$dir" | 782 echo Making symbolic link to "$srcdir/$dir" |
| 793 ${LN_S} "$srcdir/$dir" "$dir" | 783 ${LN_S} "$srcdir/$dir" "$dir" |
| 794 fi | 784 fi |
| 795 done | 785 done |
| 796 | 786 |
| 787 | |
| 797 absolute_pwd="`pwd`"; | 788 absolute_pwd="`pwd`"; |
| 798 if test -n "$PWD" -a "`cd $PWD && pwd`" = "$absolute_pwd" | 789 if test -n "$PWD" -a "`cd $PWD && pwd`" = "$absolute_pwd" |
| 799 then blddir="$PWD" | 790 then blddir="$PWD" |
| 800 else blddir="$absolute_pwd" | 791 else blddir="$absolute_pwd"; if test -d "/net"; then |
| 792 if test -d "/tmp_mnt/net"; then tdir="tmp_mnt/net"; else tdir="tmp_mnt"; fi | |
| 793 blddir=`echo "$blddir" | \ | |
| 794 sed -e "s|^${tdir}/|/net/|" -e "s|^/a/|/net/|" -e "s|^/amd/|/net/|"` | |
| 795 fi | |
| 801 fi | 796 fi |
| 802 | 797 |
| 803 | 798 |
| 804 case "$srcdir" in | 799 case "$srcdir" in |
| 805 /* ) ;; | 800 /* ) ;; |
| 806 . ) srcdir="$blddir" ;; | 801 . ) srcdir="$blddir" ;; |
| 807 * ) srcdir="`cd $srcdir && pwd`" ;; | 802 * ) srcdir="`cd $srcdir && pwd`"; if test -d "/net"; then |
| 803 if test -d "/tmp_mnt/net"; then tdir="tmp_mnt/net"; else tdir="tmp_mnt"; fi | |
| 804 srcdir=`echo "$srcdir" | \ | |
| 805 sed -e "s|^${tdir}/|/net/|" -e "s|^/a/|/net/|" -e "s|^/amd/|/net/|"` | |
| 806 fi ;; | |
| 808 esac | 807 esac |
| 809 | 808 |
| 810 if test `pwd` != `sh -c cd $srcdir && pwd` \ | 809 if test `pwd` != `sh -c cd $srcdir && pwd` \ |
| 811 && test -f "$srcdir/src/config.h"; then | 810 && test -f "$srcdir/src/config.h"; then |
| 812 (echo "$progname: WARNING: The directory tree \`$srcdir' is being used" | 811 (echo "$progname: WARNING: The directory tree \`$srcdir' is being used" |
| 983 } | 982 } |
| 984 | 983 |
| 985 | 984 |
| 986 | 985 |
| 987 echo "checking "the configuration name"" 1>&6 | 986 echo "checking "the configuration name"" 1>&6 |
| 988 echo "configure:989: checking "the configuration name"" >&5 | 987 echo "configure:988: checking "the configuration name"" >&5 |
| 989 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 988 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 990 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 989 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 991 exit $? | 990 exit $? |
| 992 fi | 991 fi |
| 993 | 992 |
| 1357 *-esix* ) opsys=esix ;; | 1356 *-esix* ) opsys=esix ;; |
| 1358 *-mach* ) opsys=mach-bsd4-3 ;; | 1357 *-mach* ) opsys=mach-bsd4-3 ;; |
| 1359 *-xenix* ) opsys=xenix ;; | 1358 *-xenix* ) opsys=xenix ;; |
| 1360 *-sco3.2v4* ) opsys=sco4 NON_GNU_CPP=/lib/cpp ;; | 1359 *-sco3.2v4* ) opsys=sco4 NON_GNU_CPP=/lib/cpp ;; |
| 1361 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; | 1360 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; |
| 1361 *-bsdi4* ) opsys=bsdos4 ;; | |
| 1362 *-bsdi3* ) opsys=bsdos3 ;; | 1362 *-bsdi3* ) opsys=bsdos3 ;; |
| 1363 *-bsdi2.1* ) opsys=bsdos2-1 ;; | 1363 *-bsdi2.1* ) opsys=bsdos2-1 ;; |
| 1364 *-bsdi2* ) opsys=bsdos2 ;; | 1364 *-bsdi2* ) opsys=bsdos2 ;; |
| 1365 *-sco3.2v5* ) opsys=sco5 ; | 1365 *-sco3.2v5* ) opsys=sco5 ; |
| 1366 if test "$dynamic" = "yes" ; then | 1366 if test "$dynamic" = "yes" ; then |
| 1480 echo "configure:1481: checking for $ac_word" >&5 | 1480 echo "configure:1481: checking for $ac_word" >&5 |
| 1481 | 1481 |
| 1482 if test -n "$CC"; then | 1482 if test -n "$CC"; then |
| 1483 ac_cv_prog_CC="$CC" # Let the user override the test. | 1483 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1484 else | 1484 else |
| 1485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1486 for ac_dir in $PATH; do | 1486 ac_dummy="$PATH" |
| 1487 for ac_dir in $ac_dummy; do | |
| 1487 test -z "$ac_dir" && ac_dir=. | 1488 test -z "$ac_dir" && ac_dir=. |
| 1488 if test -f $ac_dir/$ac_word; then | 1489 if test -f $ac_dir/$ac_word; then |
| 1489 ac_cv_prog_CC="gcc" | 1490 ac_cv_prog_CC="gcc" |
| 1490 break | 1491 break |
| 1491 fi | 1492 fi |
| 1501 | 1502 |
| 1502 if test -z "$CC"; then | 1503 if test -z "$CC"; then |
| 1503 # Extract the first word of "cc", so it can be a program name with args. | 1504 # Extract the first word of "cc", so it can be a program name with args. |
| 1504 set dummy cc; ac_word=$2 | 1505 set dummy cc; ac_word=$2 |
| 1505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1506 echo "configure:1507: checking for $ac_word" >&5 | 1507 echo "configure:1508: checking for $ac_word" >&5 |
| 1507 | 1508 |
| 1508 if test -n "$CC"; then | 1509 if test -n "$CC"; then |
| 1509 ac_cv_prog_CC="$CC" # Let the user override the test. | 1510 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1510 else | 1511 else |
| 1511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1512 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1512 ac_prog_rejected=no | 1513 ac_prog_rejected=no |
| 1513 for ac_dir in $PATH; do | 1514 ac_dummy="$PATH" |
| 1515 for ac_dir in $ac_dummy; do | |
| 1514 test -z "$ac_dir" && ac_dir=. | 1516 test -z "$ac_dir" && ac_dir=. |
| 1515 if test -f $ac_dir/$ac_word; then | 1517 if test -f $ac_dir/$ac_word; then |
| 1516 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1518 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1517 ac_prog_rejected=yes | 1519 ac_prog_rejected=yes |
| 1518 continue | 1520 continue |
| 1542 echo "$ac_t""$CC" 1>&6 | 1544 echo "$ac_t""$CC" 1>&6 |
| 1543 else | 1545 else |
| 1544 echo "$ac_t""no" 1>&6 | 1546 echo "$ac_t""no" 1>&6 |
| 1545 fi | 1547 fi |
| 1546 | 1548 |
| 1549 if test -z "$CC"; then | |
| 1550 case "`uname -s`" in | |
| 1551 *win32* | *WIN32*) | |
| 1552 # Extract the first word of "cl", so it can be a program name with args. | |
| 1553 set dummy cl; ac_word=$2 | |
| 1554 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1555 echo "configure:1556: checking for $ac_word" >&5 | |
| 1556 | |
| 1557 if test -n "$CC"; then | |
| 1558 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1559 else | |
| 1560 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1561 ac_dummy="$PATH" | |
| 1562 for ac_dir in $ac_dummy; do | |
| 1563 test -z "$ac_dir" && ac_dir=. | |
| 1564 if test -f $ac_dir/$ac_word; then | |
| 1565 ac_cv_prog_CC="cl" | |
| 1566 break | |
| 1567 fi | |
| 1568 done | |
| 1569 IFS="$ac_save_ifs" | |
| 1570 fi | |
| 1571 CC="$ac_cv_prog_CC" | |
| 1572 if test -n "$CC"; then | |
| 1573 echo "$ac_t""$CC" 1>&6 | |
| 1574 else | |
| 1575 echo "$ac_t""no" 1>&6 | |
| 1576 fi | |
| 1577 ;; | |
| 1578 esac | |
| 1579 fi | |
| 1547 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1580 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1548 fi | 1581 fi |
| 1549 | 1582 |
| 1550 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1583 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1551 echo "configure:1552: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1584 echo "configure:1585: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1552 | 1585 |
| 1553 ac_ext=c | 1586 ac_ext=c |
| 1554 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1587 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1555 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1588 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1556 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1589 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1557 ac_cpp='$CPP '"$xe_cppflags" | 1590 ac_cpp='$CPP '"$xe_cppflags" |
| 1558 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1591 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1559 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1592 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1560 cross_compiling=no | 1593 cross_compiling=no |
| 1561 | 1594 |
| 1562 cat > conftest.$ac_ext <<EOF | 1595 cat > conftest.$ac_ext << EOF |
| 1563 #line 1564 "configure" | 1596 |
| 1564 #include "confdefs.h" | 1597 #line 1598 "configure" |
| 1598 #include "confdefs.h" | |
| 1599 | |
| 1565 main(){return(0);} | 1600 main(){return(0);} |
| 1566 EOF | 1601 EOF |
| 1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1602 if { (eval echo configure:1603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1568 ac_cv_prog_cc_works=yes | 1603 ac_cv_prog_cc_works=yes |
| 1569 # If we can't run a trivial program, we are probably using a cross compiler. | 1604 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1570 if (./conftest; exit) 2>/dev/null; then | 1605 if (./conftest; exit) 2>/dev/null; then |
| 1571 ac_cv_prog_cc_cross=no | 1606 ac_cv_prog_cc_cross=no |
| 1572 else | 1607 else |
| 1576 echo "configure: failed program was:" >&5 | 1611 echo "configure: failed program was:" >&5 |
| 1577 cat conftest.$ac_ext >&5 | 1612 cat conftest.$ac_ext >&5 |
| 1578 ac_cv_prog_cc_works=no | 1613 ac_cv_prog_cc_works=no |
| 1579 fi | 1614 fi |
| 1580 rm -fr conftest* | 1615 rm -fr conftest* |
| 1616 ac_ext=c | |
| 1617 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 1618 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 1619 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 1620 ac_cpp='$CPP '"$xe_cppflags" | |
| 1621 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 1622 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 1623 cross_compiling=no | |
| 1581 | 1624 |
| 1582 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1625 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1583 if test $ac_cv_prog_cc_works = no; then | 1626 if test $ac_cv_prog_cc_works = no; then |
| 1584 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1627 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1585 fi | 1628 fi |
| 1586 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1629 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1587 echo "configure:1588: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1630 echo "configure:1631: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1588 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1631 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1589 cross_compiling=$ac_cv_prog_cc_cross | 1632 cross_compiling=$ac_cv_prog_cc_cross |
| 1590 | 1633 |
| 1591 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1634 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1592 echo "configure:1593: checking whether we are using GNU C" >&5 | 1635 echo "configure:1636: checking whether we are using GNU C" >&5 |
| 1593 | 1636 |
| 1594 cat > conftest.c <<EOF | 1637 cat > conftest.c <<EOF |
| 1595 #ifdef __GNUC__ | 1638 #ifdef __GNUC__ |
| 1596 yes; | 1639 yes; |
| 1597 #endif | 1640 #endif |
| 1598 EOF | 1641 EOF |
| 1599 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1642 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1600 ac_cv_prog_gcc=yes | 1643 ac_cv_prog_gcc=yes |
| 1601 else | 1644 else |
| 1602 ac_cv_prog_gcc=no | 1645 ac_cv_prog_gcc=no |
| 1603 fi | 1646 fi |
| 1604 | 1647 |
| 1605 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1648 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1606 | 1649 |
| 1607 if test $ac_cv_prog_gcc = yes; then | 1650 if test $ac_cv_prog_gcc = yes; then |
| 1608 GCC=yes | 1651 GCC=yes |
| 1609 ac_test_CFLAGS="${CFLAGS+set}" | 1652 else |
| 1610 ac_save_CFLAGS="$CFLAGS" | 1653 GCC= |
| 1611 CFLAGS= | 1654 fi |
| 1612 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1655 |
| 1613 echo "configure:1614: checking whether ${CC-cc} accepts -g" >&5 | 1656 ac_test_CFLAGS="${CFLAGS+set}" |
| 1657 ac_save_CFLAGS="$CFLAGS" | |
| 1658 CFLAGS= | |
| 1659 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 1660 echo "configure:1661: checking whether ${CC-cc} accepts -g" >&5 | |
| 1614 | 1661 |
| 1615 echo 'void f(){}' > conftest.c | 1662 echo 'void f(){}' > conftest.c |
| 1616 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1663 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1617 ac_cv_prog_cc_g=yes | 1664 ac_cv_prog_cc_g=yes |
| 1618 else | 1665 else |
| 1620 fi | 1667 fi |
| 1621 rm -f conftest* | 1668 rm -f conftest* |
| 1622 | 1669 |
| 1623 | 1670 |
| 1624 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1671 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 1625 if test "$ac_test_CFLAGS" = set; then | 1672 if test "$ac_test_CFLAGS" = set; then |
| 1626 CFLAGS="$ac_save_CFLAGS" | 1673 CFLAGS="$ac_save_CFLAGS" |
| 1627 elif test $ac_cv_prog_cc_g = yes; then | 1674 elif test $ac_cv_prog_cc_g = yes; then |
| 1675 if test "$GCC" = yes; then | |
| 1628 CFLAGS="-g -O2" | 1676 CFLAGS="-g -O2" |
| 1629 else | 1677 else |
| 1678 CFLAGS="-g" | |
| 1679 fi | |
| 1680 else | |
| 1681 if test "$GCC" = yes; then | |
| 1630 CFLAGS="-O2" | 1682 CFLAGS="-O2" |
| 1683 else | |
| 1684 CFLAGS= | |
| 1631 fi | 1685 fi |
| 1632 else | |
| 1633 GCC= | |
| 1634 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
| 1635 fi | 1686 fi |
| 1636 | 1687 |
| 1637 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1688 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1638 CC=${NON_GNU_CC-cc} | 1689 CC=${NON_GNU_CC-cc} |
| 1639 # Extract the first word of "gcc", so it can be a program name with args. | 1690 # Extract the first word of "gcc", so it can be a program name with args. |
| 1640 set dummy gcc; ac_word=$2 | 1691 set dummy gcc; ac_word=$2 |
| 1641 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1642 echo "configure:1643: checking for $ac_word" >&5 | 1693 echo "configure:1694: checking for $ac_word" >&5 |
| 1643 | 1694 |
| 1644 if test -n "$CC"; then | 1695 if test -n "$CC"; then |
| 1645 ac_cv_prog_CC="$CC" # Let the user override the test. | 1696 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1646 else | 1697 else |
| 1647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1648 for ac_dir in $PATH; do | 1699 ac_dummy="$PATH" |
| 1700 for ac_dir in $ac_dummy; do | |
| 1649 test -z "$ac_dir" && ac_dir=. | 1701 test -z "$ac_dir" && ac_dir=. |
| 1650 if test -f $ac_dir/$ac_word; then | 1702 if test -f $ac_dir/$ac_word; then |
| 1651 ac_cv_prog_CC="gcc" | 1703 ac_cv_prog_CC="gcc" |
| 1652 break | 1704 break |
| 1653 fi | 1705 fi |
| 1663 | 1715 |
| 1664 if test -z "$CC"; then | 1716 if test -z "$CC"; then |
| 1665 # Extract the first word of "cc", so it can be a program name with args. | 1717 # Extract the first word of "cc", so it can be a program name with args. |
| 1666 set dummy cc; ac_word=$2 | 1718 set dummy cc; ac_word=$2 |
| 1667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1668 echo "configure:1669: checking for $ac_word" >&5 | 1720 echo "configure:1721: checking for $ac_word" >&5 |
| 1669 | 1721 |
| 1670 if test -n "$CC"; then | 1722 if test -n "$CC"; then |
| 1671 ac_cv_prog_CC="$CC" # Let the user override the test. | 1723 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1672 else | 1724 else |
| 1673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1725 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1674 ac_prog_rejected=no | 1726 ac_prog_rejected=no |
| 1675 for ac_dir in $PATH; do | 1727 ac_dummy="$PATH" |
| 1728 for ac_dir in $ac_dummy; do | |
| 1676 test -z "$ac_dir" && ac_dir=. | 1729 test -z "$ac_dir" && ac_dir=. |
| 1677 if test -f $ac_dir/$ac_word; then | 1730 if test -f $ac_dir/$ac_word; then |
| 1678 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1731 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1679 ac_prog_rejected=yes | 1732 ac_prog_rejected=yes |
| 1680 continue | 1733 continue |
| 1704 echo "$ac_t""$CC" 1>&6 | 1757 echo "$ac_t""$CC" 1>&6 |
| 1705 else | 1758 else |
| 1706 echo "$ac_t""no" 1>&6 | 1759 echo "$ac_t""no" 1>&6 |
| 1707 fi | 1760 fi |
| 1708 | 1761 |
| 1762 if test -z "$CC"; then | |
| 1763 case "`uname -s`" in | |
| 1764 *win32* | *WIN32*) | |
| 1765 # Extract the first word of "cl", so it can be a program name with args. | |
| 1766 set dummy cl; ac_word=$2 | |
| 1767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1768 echo "configure:1769: checking for $ac_word" >&5 | |
| 1769 | |
| 1770 if test -n "$CC"; then | |
| 1771 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1772 else | |
| 1773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1774 ac_dummy="$PATH" | |
| 1775 for ac_dir in $ac_dummy; do | |
| 1776 test -z "$ac_dir" && ac_dir=. | |
| 1777 if test -f $ac_dir/$ac_word; then | |
| 1778 ac_cv_prog_CC="cl" | |
| 1779 break | |
| 1780 fi | |
| 1781 done | |
| 1782 IFS="$ac_save_ifs" | |
| 1783 fi | |
| 1784 CC="$ac_cv_prog_CC" | |
| 1785 if test -n "$CC"; then | |
| 1786 echo "$ac_t""$CC" 1>&6 | |
| 1787 else | |
| 1788 echo "$ac_t""no" 1>&6 | |
| 1789 fi | |
| 1790 ;; | |
| 1791 esac | |
| 1792 fi | |
| 1709 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1793 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1710 fi | 1794 fi |
| 1711 | 1795 |
| 1712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1796 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1713 echo "configure:1714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1797 echo "configure:1798: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1714 | 1798 |
| 1715 ac_ext=c | 1799 ac_ext=c |
| 1716 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1800 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1717 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1801 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1718 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1802 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1719 ac_cpp='$CPP '"$xe_cppflags" | 1803 ac_cpp='$CPP '"$xe_cppflags" |
| 1720 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1804 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1721 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1805 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1722 cross_compiling=no | 1806 cross_compiling=no |
| 1723 | 1807 |
| 1724 cat > conftest.$ac_ext <<EOF | 1808 cat > conftest.$ac_ext << EOF |
| 1725 #line 1726 "configure" | 1809 |
| 1726 #include "confdefs.h" | 1810 #line 1811 "configure" |
| 1811 #include "confdefs.h" | |
| 1812 | |
| 1727 main(){return(0);} | 1813 main(){return(0);} |
| 1728 EOF | 1814 EOF |
| 1729 if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1815 if { (eval echo configure:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1730 ac_cv_prog_cc_works=yes | 1816 ac_cv_prog_cc_works=yes |
| 1731 # If we can't run a trivial program, we are probably using a cross compiler. | 1817 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1732 if (./conftest; exit) 2>/dev/null; then | 1818 if (./conftest; exit) 2>/dev/null; then |
| 1733 ac_cv_prog_cc_cross=no | 1819 ac_cv_prog_cc_cross=no |
| 1734 else | 1820 else |
| 1738 echo "configure: failed program was:" >&5 | 1824 echo "configure: failed program was:" >&5 |
| 1739 cat conftest.$ac_ext >&5 | 1825 cat conftest.$ac_ext >&5 |
| 1740 ac_cv_prog_cc_works=no | 1826 ac_cv_prog_cc_works=no |
| 1741 fi | 1827 fi |
| 1742 rm -fr conftest* | 1828 rm -fr conftest* |
| 1829 ac_ext=c | |
| 1830 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 1831 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 1832 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 1833 ac_cpp='$CPP '"$xe_cppflags" | |
| 1834 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 1835 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 1836 cross_compiling=no | |
| 1743 | 1837 |
| 1744 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1838 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1745 if test $ac_cv_prog_cc_works = no; then | 1839 if test $ac_cv_prog_cc_works = no; then |
| 1746 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1840 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1747 fi | 1841 fi |
| 1748 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1842 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1749 echo "configure:1750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1843 echo "configure:1844: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1750 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1844 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1751 cross_compiling=$ac_cv_prog_cc_cross | 1845 cross_compiling=$ac_cv_prog_cc_cross |
| 1752 | 1846 |
| 1753 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1847 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1754 echo "configure:1755: checking whether we are using GNU C" >&5 | 1848 echo "configure:1849: checking whether we are using GNU C" >&5 |
| 1755 | 1849 |
| 1756 cat > conftest.c <<EOF | 1850 cat > conftest.c <<EOF |
| 1757 #ifdef __GNUC__ | 1851 #ifdef __GNUC__ |
| 1758 yes; | 1852 yes; |
| 1759 #endif | 1853 #endif |
| 1760 EOF | 1854 EOF |
| 1761 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1855 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1762 ac_cv_prog_gcc=yes | 1856 ac_cv_prog_gcc=yes |
| 1763 else | 1857 else |
| 1764 ac_cv_prog_gcc=no | 1858 ac_cv_prog_gcc=no |
| 1765 fi | 1859 fi |
| 1766 | 1860 |
| 1767 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1861 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1768 | 1862 |
| 1769 if test $ac_cv_prog_gcc = yes; then | 1863 if test $ac_cv_prog_gcc = yes; then |
| 1770 GCC=yes | 1864 GCC=yes |
| 1771 ac_test_CFLAGS="${CFLAGS+set}" | 1865 else |
| 1772 ac_save_CFLAGS="$CFLAGS" | 1866 GCC= |
| 1773 CFLAGS= | 1867 fi |
| 1774 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1868 |
| 1775 echo "configure:1776: checking whether ${CC-cc} accepts -g" >&5 | 1869 ac_test_CFLAGS="${CFLAGS+set}" |
| 1870 ac_save_CFLAGS="$CFLAGS" | |
| 1871 CFLAGS= | |
| 1872 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 1873 echo "configure:1874: checking whether ${CC-cc} accepts -g" >&5 | |
| 1776 | 1874 |
| 1777 echo 'void f(){}' > conftest.c | 1875 echo 'void f(){}' > conftest.c |
| 1778 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1876 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1779 ac_cv_prog_cc_g=yes | 1877 ac_cv_prog_cc_g=yes |
| 1780 else | 1878 else |
| 1782 fi | 1880 fi |
| 1783 rm -f conftest* | 1881 rm -f conftest* |
| 1784 | 1882 |
| 1785 | 1883 |
| 1786 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1884 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 1787 if test "$ac_test_CFLAGS" = set; then | 1885 if test "$ac_test_CFLAGS" = set; then |
| 1788 CFLAGS="$ac_save_CFLAGS" | 1886 CFLAGS="$ac_save_CFLAGS" |
| 1789 elif test $ac_cv_prog_cc_g = yes; then | 1887 elif test $ac_cv_prog_cc_g = yes; then |
| 1888 if test "$GCC" = yes; then | |
| 1790 CFLAGS="-g -O2" | 1889 CFLAGS="-g -O2" |
| 1791 else | 1890 else |
| 1891 CFLAGS="-g" | |
| 1892 fi | |
| 1893 else | |
| 1894 if test "$GCC" = yes; then | |
| 1792 CFLAGS="-O2" | 1895 CFLAGS="-O2" |
| 1896 else | |
| 1897 CFLAGS= | |
| 1793 fi | 1898 fi |
| 1794 else | |
| 1795 GCC= | |
| 1796 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
| 1797 fi | 1899 fi |
| 1798 | 1900 |
| 1799 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1901 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1800 CC=gcc | 1902 CC=gcc |
| 1801 # Extract the first word of "gcc", so it can be a program name with args. | 1903 # Extract the first word of "gcc", so it can be a program name with args. |
| 1802 set dummy gcc; ac_word=$2 | 1904 set dummy gcc; ac_word=$2 |
| 1803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1905 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1804 echo "configure:1805: checking for $ac_word" >&5 | 1906 echo "configure:1907: checking for $ac_word" >&5 |
| 1805 | 1907 |
| 1806 if test -n "$CC"; then | 1908 if test -n "$CC"; then |
| 1807 ac_cv_prog_CC="$CC" # Let the user override the test. | 1909 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1808 else | 1910 else |
| 1809 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1911 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1810 for ac_dir in $PATH; do | 1912 ac_dummy="$PATH" |
| 1913 for ac_dir in $ac_dummy; do | |
| 1811 test -z "$ac_dir" && ac_dir=. | 1914 test -z "$ac_dir" && ac_dir=. |
| 1812 if test -f $ac_dir/$ac_word; then | 1915 if test -f $ac_dir/$ac_word; then |
| 1813 ac_cv_prog_CC="gcc" | 1916 ac_cv_prog_CC="gcc" |
| 1814 break | 1917 break |
| 1815 fi | 1918 fi |
| 1825 | 1928 |
| 1826 if test -z "$CC"; then | 1929 if test -z "$CC"; then |
| 1827 # Extract the first word of "cc", so it can be a program name with args. | 1930 # Extract the first word of "cc", so it can be a program name with args. |
| 1828 set dummy cc; ac_word=$2 | 1931 set dummy cc; ac_word=$2 |
| 1829 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1932 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1830 echo "configure:1831: checking for $ac_word" >&5 | 1933 echo "configure:1934: checking for $ac_word" >&5 |
| 1831 | 1934 |
| 1832 if test -n "$CC"; then | 1935 if test -n "$CC"; then |
| 1833 ac_cv_prog_CC="$CC" # Let the user override the test. | 1936 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1834 else | 1937 else |
| 1835 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1938 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1836 ac_prog_rejected=no | 1939 ac_prog_rejected=no |
| 1837 for ac_dir in $PATH; do | 1940 ac_dummy="$PATH" |
| 1941 for ac_dir in $ac_dummy; do | |
| 1838 test -z "$ac_dir" && ac_dir=. | 1942 test -z "$ac_dir" && ac_dir=. |
| 1839 if test -f $ac_dir/$ac_word; then | 1943 if test -f $ac_dir/$ac_word; then |
| 1840 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1944 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1841 ac_prog_rejected=yes | 1945 ac_prog_rejected=yes |
| 1842 continue | 1946 continue |
| 1866 echo "$ac_t""$CC" 1>&6 | 1970 echo "$ac_t""$CC" 1>&6 |
| 1867 else | 1971 else |
| 1868 echo "$ac_t""no" 1>&6 | 1972 echo "$ac_t""no" 1>&6 |
| 1869 fi | 1973 fi |
| 1870 | 1974 |
| 1975 if test -z "$CC"; then | |
| 1976 case "`uname -s`" in | |
| 1977 *win32* | *WIN32*) | |
| 1978 # Extract the first word of "cl", so it can be a program name with args. | |
| 1979 set dummy cl; ac_word=$2 | |
| 1980 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| 1981 echo "configure:1982: checking for $ac_word" >&5 | |
| 1982 | |
| 1983 if test -n "$CC"; then | |
| 1984 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 1985 else | |
| 1986 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 1987 ac_dummy="$PATH" | |
| 1988 for ac_dir in $ac_dummy; do | |
| 1989 test -z "$ac_dir" && ac_dir=. | |
| 1990 if test -f $ac_dir/$ac_word; then | |
| 1991 ac_cv_prog_CC="cl" | |
| 1992 break | |
| 1993 fi | |
| 1994 done | |
| 1995 IFS="$ac_save_ifs" | |
| 1996 fi | |
| 1997 CC="$ac_cv_prog_CC" | |
| 1998 if test -n "$CC"; then | |
| 1999 echo "$ac_t""$CC" 1>&6 | |
| 2000 else | |
| 2001 echo "$ac_t""no" 1>&6 | |
| 2002 fi | |
| 2003 ;; | |
| 2004 esac | |
| 2005 fi | |
| 1871 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2006 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1872 fi | 2007 fi |
| 1873 | 2008 |
| 1874 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2009 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1875 echo "configure:1876: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2010 echo "configure:2011: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1876 | 2011 |
| 1877 ac_ext=c | 2012 ac_ext=c |
| 1878 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2013 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1879 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2014 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1880 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2015 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1881 ac_cpp='$CPP '"$xe_cppflags" | 2016 ac_cpp='$CPP '"$xe_cppflags" |
| 1882 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 2017 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1883 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2018 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1884 cross_compiling=no | 2019 cross_compiling=no |
| 1885 | 2020 |
| 1886 cat > conftest.$ac_ext <<EOF | 2021 cat > conftest.$ac_ext << EOF |
| 1887 #line 1888 "configure" | 2022 |
| 1888 #include "confdefs.h" | 2023 #line 2024 "configure" |
| 2024 #include "confdefs.h" | |
| 2025 | |
| 1889 main(){return(0);} | 2026 main(){return(0);} |
| 1890 EOF | 2027 EOF |
| 1891 if { (eval echo configure:1892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2028 if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1892 ac_cv_prog_cc_works=yes | 2029 ac_cv_prog_cc_works=yes |
| 1893 # If we can't run a trivial program, we are probably using a cross compiler. | 2030 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1894 if (./conftest; exit) 2>/dev/null; then | 2031 if (./conftest; exit) 2>/dev/null; then |
| 1895 ac_cv_prog_cc_cross=no | 2032 ac_cv_prog_cc_cross=no |
| 1896 else | 2033 else |
| 1900 echo "configure: failed program was:" >&5 | 2037 echo "configure: failed program was:" >&5 |
| 1901 cat conftest.$ac_ext >&5 | 2038 cat conftest.$ac_ext >&5 |
| 1902 ac_cv_prog_cc_works=no | 2039 ac_cv_prog_cc_works=no |
| 1903 fi | 2040 fi |
| 1904 rm -fr conftest* | 2041 rm -fr conftest* |
| 2042 ac_ext=c | |
| 2043 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
| 2044 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
| 2045 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
| 2046 ac_cpp='$CPP '"$xe_cppflags" | |
| 2047 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
| 2048 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
| 2049 cross_compiling=no | |
| 1905 | 2050 |
| 1906 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2051 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1907 if test $ac_cv_prog_cc_works = no; then | 2052 if test $ac_cv_prog_cc_works = no; then |
| 1908 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2053 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1909 fi | 2054 fi |
| 1910 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2055 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1911 echo "configure:1912: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2056 echo "configure:2057: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1912 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2057 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1913 cross_compiling=$ac_cv_prog_cc_cross | 2058 cross_compiling=$ac_cv_prog_cc_cross |
| 1914 | 2059 |
| 1915 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2060 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1916 echo "configure:1917: checking whether we are using GNU C" >&5 | 2061 echo "configure:2062: checking whether we are using GNU C" >&5 |
| 1917 | 2062 |
| 1918 cat > conftest.c <<EOF | 2063 cat > conftest.c <<EOF |
| 1919 #ifdef __GNUC__ | 2064 #ifdef __GNUC__ |
| 1920 yes; | 2065 yes; |
| 1921 #endif | 2066 #endif |
| 1922 EOF | 2067 EOF |
| 1923 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2068 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1924 ac_cv_prog_gcc=yes | 2069 ac_cv_prog_gcc=yes |
| 1925 else | 2070 else |
| 1926 ac_cv_prog_gcc=no | 2071 ac_cv_prog_gcc=no |
| 1927 fi | 2072 fi |
| 1928 | 2073 |
| 1929 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 2074 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1930 | 2075 |
| 1931 if test $ac_cv_prog_gcc = yes; then | 2076 if test $ac_cv_prog_gcc = yes; then |
| 1932 GCC=yes | 2077 GCC=yes |
| 1933 ac_test_CFLAGS="${CFLAGS+set}" | 2078 else |
| 1934 ac_save_CFLAGS="$CFLAGS" | 2079 GCC= |
| 1935 CFLAGS= | 2080 fi |
| 1936 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2081 |
| 1937 echo "configure:1938: checking whether ${CC-cc} accepts -g" >&5 | 2082 ac_test_CFLAGS="${CFLAGS+set}" |
| 2083 ac_save_CFLAGS="$CFLAGS" | |
| 2084 CFLAGS= | |
| 2085 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
| 2086 echo "configure:2087: checking whether ${CC-cc} accepts -g" >&5 | |
| 1938 | 2087 |
| 1939 echo 'void f(){}' > conftest.c | 2088 echo 'void f(){}' > conftest.c |
| 1940 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2089 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1941 ac_cv_prog_cc_g=yes | 2090 ac_cv_prog_cc_g=yes |
| 1942 else | 2091 else |
| 1944 fi | 2093 fi |
| 1945 rm -f conftest* | 2094 rm -f conftest* |
| 1946 | 2095 |
| 1947 | 2096 |
| 1948 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 2097 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 1949 if test "$ac_test_CFLAGS" = set; then | 2098 if test "$ac_test_CFLAGS" = set; then |
| 1950 CFLAGS="$ac_save_CFLAGS" | 2099 CFLAGS="$ac_save_CFLAGS" |
| 1951 elif test $ac_cv_prog_cc_g = yes; then | 2100 elif test $ac_cv_prog_cc_g = yes; then |
| 2101 if test "$GCC" = yes; then | |
| 1952 CFLAGS="-g -O2" | 2102 CFLAGS="-g -O2" |
| 1953 else | 2103 else |
| 2104 CFLAGS="-g" | |
| 2105 fi | |
| 2106 else | |
| 2107 if test "$GCC" = yes; then | |
| 1954 CFLAGS="-O2" | 2108 CFLAGS="-O2" |
| 2109 else | |
| 2110 CFLAGS= | |
| 1955 fi | 2111 fi |
| 1956 else | |
| 1957 GCC= | |
| 1958 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
| 1959 fi | 2112 fi |
| 1960 | 2113 |
| 1961 fi | 2114 fi |
| 1962 CFLAGS="$xe_save_CFLAGS" | 2115 CFLAGS="$xe_save_CFLAGS" |
| 1963 | 2116 |
| 1965 test -n "$CPP" -a -d "$CPP" && CPP= | 2118 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1966 | 2119 |
| 1967 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2120 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1968 | 2121 |
| 1969 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2122 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1970 echo "configure:1971: checking how to run the C preprocessor" >&5 | 2123 echo "configure:2124: checking how to run the C preprocessor" >&5 |
| 1971 # On Suns, sometimes $CPP names a directory. | 2124 # On Suns, sometimes $CPP names a directory. |
| 1972 if test -n "$CPP" && test -d "$CPP"; then | 2125 if test -n "$CPP" && test -d "$CPP"; then |
| 1973 CPP= | 2126 CPP= |
| 1974 fi | 2127 fi |
| 1975 if test -z "$CPP"; then | 2128 if test -z "$CPP"; then |
| 1978 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2131 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1979 CPP="${CC-cc} -E" | 2132 CPP="${CC-cc} -E" |
| 1980 # On the NeXT, cc -E runs the code through the compiler's parser, | 2133 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1981 # not just through cpp. | 2134 # not just through cpp. |
| 1982 cat > conftest.$ac_ext <<EOF | 2135 cat > conftest.$ac_ext <<EOF |
| 1983 #line 1984 "configure" | 2136 #line 2137 "configure" |
| 1984 #include "confdefs.h" | 2137 #include "confdefs.h" |
| 1985 #include <assert.h> | 2138 #include <assert.h> |
| 1986 Syntax Error | 2139 Syntax Error |
| 1987 EOF | 2140 EOF |
| 1988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1989 { (eval echo configure:1990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2142 { (eval echo configure:2143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1990 ac_err=`grep -v '^ *+' conftest.out` | 2143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1991 if test -z "$ac_err"; then | 2144 if test -z "$ac_err"; then |
| 1992 : | 2145 : |
| 1993 else | 2146 else |
| 1994 echo "$ac_err" >&5 | 2147 echo "$ac_err" >&5 |
| 1995 echo "configure: failed program was:" >&5 | 2148 echo "configure: failed program was:" >&5 |
| 1996 cat conftest.$ac_ext >&5 | 2149 cat conftest.$ac_ext >&5 |
| 1997 rm -rf conftest* | 2150 rm -rf conftest* |
| 1998 CPP="${CC-cc} -E -traditional-cpp" | 2151 CPP="${CC-cc} -E -traditional-cpp" |
| 1999 cat > conftest.$ac_ext <<EOF | 2152 cat > conftest.$ac_ext <<EOF |
| 2000 #line 2001 "configure" | 2153 #line 2154 "configure" |
| 2001 #include "confdefs.h" | 2154 #include "confdefs.h" |
| 2002 #include <assert.h> | 2155 #include <assert.h> |
| 2003 Syntax Error | 2156 Syntax Error |
| 2004 EOF | 2157 EOF |
| 2005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2006 { (eval echo configure:2007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2159 { (eval echo configure:2160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2007 ac_err=`grep -v '^ *+' conftest.out` | 2160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2008 if test -z "$ac_err"; then | 2161 if test -z "$ac_err"; then |
| 2009 : | 2162 : |
| 2010 else | 2163 else |
| 2011 echo "$ac_err" >&5 | 2164 echo "$ac_err" >&5 |
| 2012 echo "configure: failed program was:" >&5 | 2165 echo "configure: failed program was:" >&5 |
| 2013 cat conftest.$ac_ext >&5 | 2166 cat conftest.$ac_ext >&5 |
| 2014 rm -rf conftest* | 2167 rm -rf conftest* |
| 2168 CPP="${CC-cc} -nologo -E" | |
| 2169 cat > conftest.$ac_ext <<EOF | |
| 2170 #line 2171 "configure" | |
| 2171 #include "confdefs.h" | |
| 2172 #include <assert.h> | |
| 2173 Syntax Error | |
| 2174 EOF | |
| 2175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 2176 { (eval echo configure:2177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 2177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
| 2178 if test -z "$ac_err"; then | |
| 2179 : | |
| 2180 else | |
| 2181 echo "$ac_err" >&5 | |
| 2182 echo "configure: failed program was:" >&5 | |
| 2183 cat conftest.$ac_ext >&5 | |
| 2184 rm -rf conftest* | |
| 2015 CPP=/lib/cpp | 2185 CPP=/lib/cpp |
| 2186 fi | |
| 2187 rm -f conftest* | |
| 2016 fi | 2188 fi |
| 2017 rm -f conftest* | 2189 rm -f conftest* |
| 2018 fi | 2190 fi |
| 2019 rm -f conftest* | 2191 rm -f conftest* |
| 2020 ac_cv_prog_CPP="$CPP" | 2192 ac_cv_prog_CPP="$CPP" |
| 2024 fi | 2196 fi |
| 2025 echo "$ac_t""$CPP" 1>&6 | 2197 echo "$ac_t""$CPP" 1>&6 |
| 2026 | 2198 |
| 2027 | 2199 |
| 2028 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2200 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2029 echo "configure:2030: checking for AIX" >&5 | 2201 echo "configure:2202: checking for AIX" >&5 |
| 2030 cat > conftest.$ac_ext <<EOF | 2202 cat > conftest.$ac_ext <<EOF |
| 2031 #line 2032 "configure" | 2203 #line 2204 "configure" |
| 2032 #include "confdefs.h" | 2204 #include "confdefs.h" |
| 2033 #ifdef _AIX | 2205 #ifdef _AIX |
| 2034 yes | 2206 yes |
| 2035 #endif | 2207 #endif |
| 2036 | 2208 |
| 2053 rm -f conftest* | 2225 rm -f conftest* |
| 2054 | 2226 |
| 2055 | 2227 |
| 2056 | 2228 |
| 2057 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2229 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 2058 echo "configure:2059: checking for GNU libc" >&5 | 2230 echo "configure:2231: checking for GNU libc" >&5 |
| 2059 cat > conftest.$ac_ext <<EOF | 2231 cat > conftest.$ac_ext <<EOF |
| 2060 #line 2061 "configure" | 2232 #line 2233 "configure" |
| 2061 #include "confdefs.h" | 2233 #include "confdefs.h" |
| 2062 #include <features.h> | 2234 #include <features.h> |
| 2063 int main() { | 2235 int main() { |
| 2064 | 2236 |
| 2065 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2237 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 2067 ******* ======= ******** &&&&&&&& | 2239 ******* ======= ******** &&&&&&&& |
| 2068 #endif | 2240 #endif |
| 2069 | 2241 |
| 2070 ; return 0; } | 2242 ; return 0; } |
| 2071 EOF | 2243 EOF |
| 2072 if { (eval echo configure:2073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2244 if { (eval echo configure:2245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2073 rm -rf conftest* | 2245 rm -rf conftest* |
| 2074 have_glibc=yes | 2246 have_glibc=yes |
| 2075 else | 2247 else |
| 2076 echo "configure: failed program was:" >&5 | 2248 echo "configure: failed program was:" >&5 |
| 2077 cat conftest.$ac_ext >&5 | 2249 cat conftest.$ac_ext >&5 |
| 2089 } | 2261 } |
| 2090 | 2262 |
| 2091 | 2263 |
| 2092 | 2264 |
| 2093 cat > conftest.$ac_ext <<EOF | 2265 cat > conftest.$ac_ext <<EOF |
| 2094 #line 2095 "configure" | 2266 #line 2267 "configure" |
| 2095 #include "confdefs.h" | 2267 #include "confdefs.h" |
| 2096 int main () { | 2268 int main () { |
| 2097 #if defined __SUNPRO_C | 2269 #if defined __SUNPRO_C |
| 2098 return 11; | 2270 return 11; |
| 2099 #elif defined __DECC | 2271 #elif defined __DECC |
| 2101 #else | 2273 #else |
| 2102 return 0; | 2274 return 0; |
| 2103 #endif | 2275 #endif |
| 2104 } | 2276 } |
| 2105 EOF | 2277 EOF |
| 2106 if { (eval echo configure:2107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2278 if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2107 then | 2279 then |
| 2108 : | 2280 : |
| 2109 else | 2281 else |
| 2110 conftest_rc="$?" | 2282 conftest_rc="$?" |
| 2111 echo "configure: failed program was:" >&5 | 2283 echo "configure: failed program was:" >&5 |
| 2371 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2543 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2372 echo " xemacs will be linked with \"$unexec\"" | 2544 echo " xemacs will be linked with \"$unexec\"" |
| 2373 fi | 2545 fi |
| 2374 | 2546 |
| 2375 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2547 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2376 echo "configure:2377: checking for dynodump" >&5 | 2548 echo "configure:2549: checking for dynodump" >&5 |
| 2377 if test "$unexec" != "unexsol2.o"; then | 2549 if test "$unexec" != "unexsol2.o"; then |
| 2378 echo "$ac_t""no" 1>&6 | 2550 echo "$ac_t""no" 1>&6 |
| 2379 else | 2551 else |
| 2380 echo "$ac_t""yes" 1>&6 | 2552 echo "$ac_t""yes" 1>&6 |
| 2381 { test "$extra_verbose" = "yes" && cat << \EOF | 2553 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2409 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2581 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 2410 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2582 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 2411 done | 2583 done |
| 2412 | 2584 |
| 2413 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2585 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
| 2414 echo "configure:2415: checking for terminateAndUnload in -lC" >&5 | 2586 echo "configure:2587: checking for terminateAndUnload in -lC" >&5 |
| 2415 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2587 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
| 2416 | 2588 |
| 2417 xe_check_libs=" -lC " | 2589 xe_check_libs=" -lC " |
| 2418 cat > conftest.$ac_ext <<EOF | 2590 cat > conftest.$ac_ext <<EOF |
| 2419 #line 2420 "configure" | 2591 #line 2592 "configure" |
| 2420 #include "confdefs.h" | 2592 #include "confdefs.h" |
| 2421 /* Override any gcc2 internal prototype to avoid an error. */ | 2593 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2422 /* We use char because int might match the return type of a gcc2 | 2594 /* We use char because int might match the return type of a gcc2 |
| 2423 builtin and then its argument prototype would still apply. */ | 2595 builtin and then its argument prototype would still apply. */ |
| 2424 char terminateAndUnload(); | 2596 char terminateAndUnload(); |
| 2425 | 2597 |
| 2426 int main() { | 2598 int main() { |
| 2427 terminateAndUnload() | 2599 terminateAndUnload() |
| 2428 ; return 0; } | 2600 ; return 0; } |
| 2429 EOF | 2601 EOF |
| 2430 if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2602 if { (eval echo configure:2603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2431 rm -rf conftest* | 2603 rm -rf conftest* |
| 2432 eval "ac_cv_lib_$ac_lib_var=yes" | 2604 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2433 else | 2605 else |
| 2434 echo "configure: failed program was:" >&5 | 2606 echo "configure: failed program was:" >&5 |
| 2435 cat conftest.$ac_ext >&5 | 2607 cat conftest.$ac_ext >&5 |
| 2509 esac | 2681 esac |
| 2510 fi | 2682 fi |
| 2511 | 2683 |
| 2512 if test "$add_runtime_path" = "yes"; then | 2684 if test "$add_runtime_path" = "yes"; then |
| 2513 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2685 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2514 echo "configure:2515: checking "for runtime libraries flag"" >&5 | 2686 echo "configure:2687: checking "for runtime libraries flag"" >&5 |
| 2515 case "$opsys" in | 2687 case "$opsys" in |
| 2516 sol2 ) dash_r="-R" ;; | 2688 sol2 ) dash_r="-R" ;; |
| 2517 decosf* | linux* ) dash_r="-rpath " ;; | 2689 decosf* | linux* | irix*) dash_r="-rpath " ;; |
| 2518 *) | 2690 *) |
| 2519 dash_r="" | 2691 dash_r="" |
| 2520 for try_dash_r in "-R" "-R " "-rpath "; do | 2692 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2521 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2693 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2522 | 2694 |
| 2531 esac | 2703 esac |
| 2532 shift | 2704 shift |
| 2533 done | 2705 done |
| 2534 fi | 2706 fi |
| 2535 cat > conftest.$ac_ext <<EOF | 2707 cat > conftest.$ac_ext <<EOF |
| 2536 #line 2537 "configure" | 2708 #line 2709 "configure" |
| 2537 #include "confdefs.h" | 2709 #include "confdefs.h" |
| 2538 | 2710 |
| 2539 int main() { | 2711 int main() { |
| 2540 | 2712 |
| 2541 ; return 0; } | 2713 ; return 0; } |
| 2542 EOF | 2714 EOF |
| 2543 if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2715 if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2544 rm -rf conftest* | 2716 rm -rf conftest* |
| 2545 dash_r="$try_dash_r" | 2717 dash_r="$try_dash_r" |
| 2546 else | 2718 else |
| 2547 echo "configure: failed program was:" >&5 | 2719 echo "configure: failed program was:" >&5 |
| 2548 cat conftest.$ac_ext >&5 | 2720 cat conftest.$ac_ext >&5 |
| 2587 for dir in `echo '' "$arg" | sed -e 's:^ ::' -e 's/^..//' -e 'y/:/ /'`; do | 2759 for dir in `echo '' "$arg" | sed -e 's:^ ::' -e 's/^..//' -e 'y/:/ /'`; do |
| 2588 { | 2760 { |
| 2589 xe_runpath_dir="$dir" | 2761 xe_runpath_dir="$dir" |
| 2590 test "$xe_runpath_dir" != "/lib" -a \ | 2762 test "$xe_runpath_dir" != "/lib" -a \ |
| 2591 "$xe_runpath_dir" != "/usr/lib" -a \ | 2763 "$xe_runpath_dir" != "/usr/lib" -a \ |
| 2592 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`" && \ | 2764 -n "`ls ${xe_runpath_dir}/*.s[ol] ${xe_runpath_dir}/*.so.* 2>/dev/null`" && \ |
| 2593 eval "$xe_add_unique_runpath_dir" | 2765 eval "$xe_add_unique_runpath_dir" |
| 2594 } | 2766 } |
| 2595 done ;; | 2767 done ;; |
| 2596 esac | 2768 esac |
| 2597 done | 2769 done |
| 2601 for arg in $ld_switch_site $ld_switch_x_site; do | 2773 for arg in $ld_switch_site $ld_switch_x_site; do |
| 2602 case "$arg" in -L*) { | 2774 case "$arg" in -L*) { |
| 2603 xe_runpath_dir=`echo '' "$arg" | sed -e 's:^ ::' -e 's/^-L//'` | 2775 xe_runpath_dir=`echo '' "$arg" | sed -e 's:^ ::' -e 's/^-L//'` |
| 2604 test "$xe_runpath_dir" != "/lib" -a \ | 2776 test "$xe_runpath_dir" != "/lib" -a \ |
| 2605 "$xe_runpath_dir" != "/usr/lib" -a \ | 2777 "$xe_runpath_dir" != "/usr/lib" -a \ |
| 2606 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`" && \ | 2778 -n "`ls ${xe_runpath_dir}/*.s[ol] ${xe_runpath_dir}/*.so.* 2>/dev/null`" && \ |
| 2607 eval "$xe_add_unique_runpath_dir" | 2779 eval "$xe_add_unique_runpath_dir" |
| 2608 };; esac | 2780 };; esac |
| 2609 done | 2781 done |
| 2610 if test "$opsys $need_motif" = "sol2 yes"; then | 2782 if test "$opsys $need_motif" = "sol2 yes"; then |
| 2611 xe_runpath_dir="/opt/SUNWdt/lib"; | 2783 xe_runpath_dir="/opt/SUNWdt/lib"; |
| 2639 else | 2811 else |
| 2640 doug_lea_malloc=no | 2812 doug_lea_malloc=no |
| 2641 fi | 2813 fi |
| 2642 after_morecore_hook_exists=yes | 2814 after_morecore_hook_exists=yes |
| 2643 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2815 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 2644 echo "configure:2645: checking for malloc_get_state" >&5 | 2816 echo "configure:2817: checking for malloc_get_state" >&5 |
| 2645 | 2817 |
| 2646 cat > conftest.$ac_ext <<EOF | 2818 cat > conftest.$ac_ext <<EOF |
| 2647 #line 2648 "configure" | 2819 #line 2820 "configure" |
| 2648 #include "confdefs.h" | 2820 #include "confdefs.h" |
| 2649 /* System header to define __stub macros and hopefully few prototypes, | 2821 /* System header to define __stub macros and hopefully few prototypes, |
| 2650 which can conflict with char malloc_get_state(); below. */ | 2822 which can conflict with char malloc_get_state(); below. */ |
| 2651 #include <assert.h> | 2823 #include <assert.h> |
| 2652 /* Override any gcc2 internal prototype to avoid an error. */ | 2824 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2665 malloc_get_state(); | 2837 malloc_get_state(); |
| 2666 #endif | 2838 #endif |
| 2667 | 2839 |
| 2668 ; return 0; } | 2840 ; return 0; } |
| 2669 EOF | 2841 EOF |
| 2670 if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2842 if { (eval echo configure:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2671 rm -rf conftest* | 2843 rm -rf conftest* |
| 2672 eval "ac_cv_func_malloc_get_state=yes" | 2844 eval "ac_cv_func_malloc_get_state=yes" |
| 2673 else | 2845 else |
| 2674 echo "configure: failed program was:" >&5 | 2846 echo "configure: failed program was:" >&5 |
| 2675 cat conftest.$ac_ext >&5 | 2847 cat conftest.$ac_ext >&5 |
| 2685 echo "$ac_t""no" 1>&6 | 2857 echo "$ac_t""no" 1>&6 |
| 2686 doug_lea_malloc=no | 2858 doug_lea_malloc=no |
| 2687 fi | 2859 fi |
| 2688 | 2860 |
| 2689 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2861 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 2690 echo "configure:2691: checking for malloc_set_state" >&5 | 2862 echo "configure:2863: checking for malloc_set_state" >&5 |
| 2691 | 2863 |
| 2692 cat > conftest.$ac_ext <<EOF | 2864 cat > conftest.$ac_ext <<EOF |
| 2693 #line 2694 "configure" | 2865 #line 2866 "configure" |
| 2694 #include "confdefs.h" | 2866 #include "confdefs.h" |
| 2695 /* System header to define __stub macros and hopefully few prototypes, | 2867 /* System header to define __stub macros and hopefully few prototypes, |
| 2696 which can conflict with char malloc_set_state(); below. */ | 2868 which can conflict with char malloc_set_state(); below. */ |
| 2697 #include <assert.h> | 2869 #include <assert.h> |
| 2698 /* Override any gcc2 internal prototype to avoid an error. */ | 2870 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2711 malloc_set_state(); | 2883 malloc_set_state(); |
| 2712 #endif | 2884 #endif |
| 2713 | 2885 |
| 2714 ; return 0; } | 2886 ; return 0; } |
| 2715 EOF | 2887 EOF |
| 2716 if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2888 if { (eval echo configure:2889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2717 rm -rf conftest* | 2889 rm -rf conftest* |
| 2718 eval "ac_cv_func_malloc_set_state=yes" | 2890 eval "ac_cv_func_malloc_set_state=yes" |
| 2719 else | 2891 else |
| 2720 echo "configure: failed program was:" >&5 | 2892 echo "configure: failed program was:" >&5 |
| 2721 cat conftest.$ac_ext >&5 | 2893 cat conftest.$ac_ext >&5 |
| 2731 echo "$ac_t""no" 1>&6 | 2903 echo "$ac_t""no" 1>&6 |
| 2732 doug_lea_malloc=no | 2904 doug_lea_malloc=no |
| 2733 fi | 2905 fi |
| 2734 | 2906 |
| 2735 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2907 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 2736 echo "configure:2737: checking whether __after_morecore_hook exists" >&5 | 2908 echo "configure:2909: checking whether __after_morecore_hook exists" >&5 |
| 2737 cat > conftest.$ac_ext <<EOF | 2909 cat > conftest.$ac_ext <<EOF |
| 2738 #line 2739 "configure" | 2910 #line 2911 "configure" |
| 2739 #include "confdefs.h" | 2911 #include "confdefs.h" |
| 2740 extern void (* __after_morecore_hook)(); | 2912 extern void (* __after_morecore_hook)(); |
| 2741 int main() { | 2913 int main() { |
| 2742 __after_morecore_hook = 0 | 2914 __after_morecore_hook = 0 |
| 2743 ; return 0; } | 2915 ; return 0; } |
| 2744 EOF | 2916 EOF |
| 2745 if { (eval echo configure:2746: \"$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 |
| 2746 rm -rf conftest* | 2918 rm -rf conftest* |
| 2747 echo "$ac_t""yes" 1>&6 | 2919 echo "$ac_t""yes" 1>&6 |
| 2748 else | 2920 else |
| 2749 echo "configure: failed program was:" >&5 | 2921 echo "configure: failed program was:" >&5 |
| 2750 cat conftest.$ac_ext >&5 | 2922 cat conftest.$ac_ext >&5 |
| 2799 | 2971 |
| 2800 | 2972 |
| 2801 # Extract the first word of "ranlib", so it can be a program name with args. | 2973 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2802 set dummy ranlib; ac_word=$2 | 2974 set dummy ranlib; ac_word=$2 |
| 2803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2804 echo "configure:2805: checking for $ac_word" >&5 | 2976 echo "configure:2977: checking for $ac_word" >&5 |
| 2805 | 2977 |
| 2806 if test -n "$RANLIB"; then | 2978 if test -n "$RANLIB"; then |
| 2807 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2979 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2808 else | 2980 else |
| 2809 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2810 for ac_dir in $PATH; do | 2982 ac_dummy="$PATH" |
| 2983 for ac_dir in $ac_dummy; do | |
| 2811 test -z "$ac_dir" && ac_dir=. | 2984 test -z "$ac_dir" && ac_dir=. |
| 2812 if test -f $ac_dir/$ac_word; then | 2985 if test -f $ac_dir/$ac_word; then |
| 2813 ac_cv_prog_RANLIB="ranlib" | 2986 ac_cv_prog_RANLIB="ranlib" |
| 2814 break | 2987 break |
| 2815 fi | 2988 fi |
| 2848 # incompatible versions: | 3021 # incompatible versions: |
| 2849 # SysV /etc/install, /usr/sbin/install | 3022 # SysV /etc/install, /usr/sbin/install |
| 2850 # SunOS /usr/etc/install | 3023 # SunOS /usr/etc/install |
| 2851 # IRIX /sbin/install | 3024 # IRIX /sbin/install |
| 2852 # AIX /bin/install | 3025 # AIX /bin/install |
| 3026 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 2853 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3027 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2854 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3028 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2855 # ./install, which can be erroneously created by make from ./install.sh. | 3029 # ./install, which can be erroneously created by make from ./install.sh. |
| 2856 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3030 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2857 echo "configure:2858: checking for a BSD compatible install" >&5 | 3031 echo "configure:3032: checking for a BSD compatible install" >&5 |
| 2858 if test -z "$INSTALL"; then | 3032 if test -z "$INSTALL"; then |
| 2859 | 3033 |
| 2860 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 3034 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 2861 for ac_dir in $PATH; do | 3035 for ac_dir in $PATH; do |
| 2862 # Account for people who put trailing slashes in PATH elements. | 3036 # Account for people who put trailing slashes in PATH elements. |
| 2863 case "$ac_dir/" in | 3037 case "$ac_dir/" in |
| 2864 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 3038 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
| 2865 *) | 3039 *) |
| 2866 # OSF1 and SCO ODT 3.0 have their own names for install. | 3040 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 2867 for ac_prog in ginstall installbsd scoinst install; do | 3041 # Don't use installbsd from OSF since it installs stuff as root |
| 3042 # by default. | |
| 3043 for ac_prog in ginstall scoinst install; do | |
| 2868 if test -f $ac_dir/$ac_prog; then | 3044 if test -f $ac_dir/$ac_prog; then |
| 2869 if test $ac_prog = install && | 3045 if test $ac_prog = install && |
| 2870 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 3046 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
| 2871 # AIX install. It has an incompatible calling convention. | 3047 # AIX install. It has an incompatible calling convention. |
| 2872 # OSF/1 installbsd also uses dspmsg, but is usable. | |
| 2873 : | 3048 : |
| 2874 else | 3049 else |
| 2875 ac_cv_path_install="$ac_dir/$ac_prog -c" | 3050 ac_cv_path_install="$ac_dir/$ac_prog -c" |
| 2876 break 2 | 3051 break 2 |
| 2877 fi | 3052 fi |
| 2896 | 3071 |
| 2897 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3072 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 2898 # It thinks the first close brace ends the variable substitution. | 3073 # It thinks the first close brace ends the variable substitution. |
| 2899 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3074 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 2900 | 3075 |
| 3076 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
| 3077 | |
| 2901 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3078 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 2902 | 3079 |
| 2903 for ac_prog in 'bison -y' byacc | 3080 for ac_prog in 'bison -y' byacc |
| 2904 do | 3081 do |
| 2905 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3082 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2906 set dummy $ac_prog; ac_word=$2 | 3083 set dummy $ac_prog; ac_word=$2 |
| 2907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2908 echo "configure:2909: checking for $ac_word" >&5 | 3085 echo "configure:3086: checking for $ac_word" >&5 |
| 2909 | 3086 |
| 2910 if test -n "$YACC"; then | 3087 if test -n "$YACC"; then |
| 2911 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3088 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2912 else | 3089 else |
| 2913 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 3090 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2914 for ac_dir in $PATH; do | 3091 ac_dummy="$PATH" |
| 3092 for ac_dir in $ac_dummy; do | |
| 2915 test -z "$ac_dir" && ac_dir=. | 3093 test -z "$ac_dir" && ac_dir=. |
| 2916 if test -f $ac_dir/$ac_word; then | 3094 if test -f $ac_dir/$ac_word; then |
| 2917 ac_cv_prog_YACC="$ac_prog" | 3095 ac_cv_prog_YACC="$ac_prog" |
| 2918 break | 3096 break |
| 2919 fi | 3097 fi |
| 2934 | 3112 |
| 2935 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3113 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2936 do | 3114 do |
| 2937 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3115 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2938 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3116 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2939 echo "configure:2940: checking for $ac_hdr" >&5 | 3117 echo "configure:3118: checking for $ac_hdr" >&5 |
| 2940 | 3118 |
| 2941 cat > conftest.$ac_ext <<EOF | 3119 cat > conftest.$ac_ext <<EOF |
| 2942 #line 2943 "configure" | 3120 #line 3121 "configure" |
| 2943 #include "confdefs.h" | 3121 #include "confdefs.h" |
| 2944 #include <$ac_hdr> | 3122 #include <$ac_hdr> |
| 2945 EOF | 3123 EOF |
| 2946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2947 { (eval echo configure:2948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3125 { (eval echo configure:3126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2948 ac_err=`grep -v '^ *+' conftest.out` | 3126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2949 if test -z "$ac_err"; then | 3127 if test -z "$ac_err"; then |
| 2950 rm -rf conftest* | 3128 rm -rf conftest* |
| 2951 eval "ac_cv_header_$ac_safe=yes" | 3129 eval "ac_cv_header_$ac_safe=yes" |
| 2952 else | 3130 else |
| 2953 echo "$ac_err" >&5 | 3131 echo "$ac_err" >&5 |
| 2975 | 3153 |
| 2976 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3154 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
| 2977 do | 3155 do |
| 2978 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3156 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2979 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2980 echo "configure:2981: checking for $ac_hdr" >&5 | 3158 echo "configure:3159: checking for $ac_hdr" >&5 |
| 2981 | 3159 |
| 2982 cat > conftest.$ac_ext <<EOF | 3160 cat > conftest.$ac_ext <<EOF |
| 2983 #line 2984 "configure" | 3161 #line 3162 "configure" |
| 2984 #include "confdefs.h" | 3162 #include "confdefs.h" |
| 2985 #include <$ac_hdr> | 3163 #include <$ac_hdr> |
| 2986 EOF | 3164 EOF |
| 2987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2988 { (eval echo configure:2989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3166 { (eval echo configure:3167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2989 ac_err=`grep -v '^ *+' conftest.out` | 3167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2990 if test -z "$ac_err"; then | 3168 if test -z "$ac_err"; then |
| 2991 rm -rf conftest* | 3169 rm -rf conftest* |
| 2992 eval "ac_cv_header_$ac_safe=yes" | 3170 eval "ac_cv_header_$ac_safe=yes" |
| 2993 else | 3171 else |
| 2994 echo "$ac_err" >&5 | 3172 echo "$ac_err" >&5 |
| 3016 | 3194 |
| 3017 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3195 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 3018 do | 3196 do |
| 3019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3197 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3198 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3021 echo "configure:3022: checking for $ac_hdr" >&5 | 3199 echo "configure:3200: checking for $ac_hdr" >&5 |
| 3022 | 3200 |
| 3023 cat > conftest.$ac_ext <<EOF | 3201 cat > conftest.$ac_ext <<EOF |
| 3024 #line 3025 "configure" | 3202 #line 3203 "configure" |
| 3025 #include "confdefs.h" | 3203 #include "confdefs.h" |
| 3026 #include <$ac_hdr> | 3204 #include <$ac_hdr> |
| 3027 EOF | 3205 EOF |
| 3028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3029 { (eval echo configure:3030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3207 { (eval echo configure:3208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3030 ac_err=`grep -v '^ *+' conftest.out` | 3208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3031 if test -z "$ac_err"; then | 3209 if test -z "$ac_err"; then |
| 3032 rm -rf conftest* | 3210 rm -rf conftest* |
| 3033 eval "ac_cv_header_$ac_safe=yes" | 3211 eval "ac_cv_header_$ac_safe=yes" |
| 3034 else | 3212 else |
| 3035 echo "$ac_err" >&5 | 3213 echo "$ac_err" >&5 |
| 3054 echo "$ac_t""no" 1>&6 | 3232 echo "$ac_t""no" 1>&6 |
| 3055 fi | 3233 fi |
| 3056 done | 3234 done |
| 3057 | 3235 |
| 3058 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3236 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 3059 echo "configure:3060: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3237 echo "configure:3238: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 3060 | 3238 |
| 3061 cat > conftest.$ac_ext <<EOF | 3239 cat > conftest.$ac_ext <<EOF |
| 3062 #line 3063 "configure" | 3240 #line 3241 "configure" |
| 3063 #include "confdefs.h" | 3241 #include "confdefs.h" |
| 3064 #include <sys/types.h> | 3242 #include <sys/types.h> |
| 3065 #include <sys/wait.h> | 3243 #include <sys/wait.h> |
| 3066 #ifndef WEXITSTATUS | 3244 #ifndef WEXITSTATUS |
| 3067 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3245 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 3073 int s; | 3251 int s; |
| 3074 wait (&s); | 3252 wait (&s); |
| 3075 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3253 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3076 ; return 0; } | 3254 ; return 0; } |
| 3077 EOF | 3255 EOF |
| 3078 if { (eval echo configure:3079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3256 if { (eval echo configure:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3079 rm -rf conftest* | 3257 rm -rf conftest* |
| 3080 ac_cv_header_sys_wait_h=yes | 3258 ac_cv_header_sys_wait_h=yes |
| 3081 else | 3259 else |
| 3082 echo "configure: failed program was:" >&5 | 3260 echo "configure: failed program was:" >&5 |
| 3083 cat conftest.$ac_ext >&5 | 3261 cat conftest.$ac_ext >&5 |
| 3097 } | 3275 } |
| 3098 | 3276 |
| 3099 fi | 3277 fi |
| 3100 | 3278 |
| 3101 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3279 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3102 echo "configure:3103: checking for ANSI C header files" >&5 | 3280 echo "configure:3281: checking for ANSI C header files" >&5 |
| 3103 | 3281 |
| 3104 cat > conftest.$ac_ext <<EOF | 3282 cat > conftest.$ac_ext <<EOF |
| 3105 #line 3106 "configure" | 3283 #line 3284 "configure" |
| 3106 #include "confdefs.h" | 3284 #include "confdefs.h" |
| 3107 #include <stdlib.h> | 3285 #include <stdlib.h> |
| 3108 #include <stdarg.h> | 3286 #include <stdarg.h> |
| 3109 #include <string.h> | 3287 #include <string.h> |
| 3110 #include <float.h> | 3288 #include <float.h> |
| 3111 EOF | 3289 EOF |
| 3112 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3113 { (eval echo configure:3114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3291 { (eval echo configure:3292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3114 ac_err=`grep -v '^ *+' conftest.out` | 3292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3115 if test -z "$ac_err"; then | 3293 if test -z "$ac_err"; then |
| 3116 rm -rf conftest* | 3294 rm -rf conftest* |
| 3117 ac_cv_header_stdc=yes | 3295 ac_cv_header_stdc=yes |
| 3118 else | 3296 else |
| 3119 echo "$ac_err" >&5 | 3297 echo "$ac_err" >&5 |
| 3125 rm -f conftest* | 3303 rm -f conftest* |
| 3126 | 3304 |
| 3127 if test $ac_cv_header_stdc = yes; then | 3305 if test $ac_cv_header_stdc = yes; then |
| 3128 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3306 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3129 cat > conftest.$ac_ext <<EOF | 3307 cat > conftest.$ac_ext <<EOF |
| 3130 #line 3131 "configure" | 3308 #line 3309 "configure" |
| 3131 #include "confdefs.h" | 3309 #include "confdefs.h" |
| 3132 #include <string.h> | 3310 #include <string.h> |
| 3133 EOF | 3311 EOF |
| 3134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3135 egrep "memchr" >/dev/null 2>&1; then | 3313 egrep "memchr" >/dev/null 2>&1; then |
| 3143 fi | 3321 fi |
| 3144 | 3322 |
| 3145 if test $ac_cv_header_stdc = yes; then | 3323 if test $ac_cv_header_stdc = yes; then |
| 3146 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3324 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3147 cat > conftest.$ac_ext <<EOF | 3325 cat > conftest.$ac_ext <<EOF |
| 3148 #line 3149 "configure" | 3326 #line 3327 "configure" |
| 3149 #include "confdefs.h" | 3327 #include "confdefs.h" |
| 3150 #include <stdlib.h> | 3328 #include <stdlib.h> |
| 3151 EOF | 3329 EOF |
| 3152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3153 egrep "free" >/dev/null 2>&1; then | 3331 egrep "free" >/dev/null 2>&1; then |
| 3161 fi | 3339 fi |
| 3162 | 3340 |
| 3163 if test $ac_cv_header_stdc = yes; then | 3341 if test $ac_cv_header_stdc = yes; then |
| 3164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3165 cat > conftest.$ac_ext <<EOF | 3343 cat > conftest.$ac_ext <<EOF |
| 3166 #line 3167 "configure" | 3344 #line 3345 "configure" |
| 3167 #include "confdefs.h" | 3345 #include "confdefs.h" |
| 3168 #include <ctype.h> | 3346 #include <ctype.h> |
| 3169 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3347 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3170 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3348 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3171 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3349 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3172 int main () { int i; for (i = 0; i < 256; i++) | 3350 int main () { int i; for (i = 0; i < 256; i++) |
| 3173 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3351 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3174 exit (0); } | 3352 exit (0); } |
| 3175 | 3353 |
| 3176 EOF | 3354 EOF |
| 3177 if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3355 if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3178 then | 3356 then |
| 3179 : | 3357 : |
| 3180 else | 3358 else |
| 3181 conftest_rc="$?" | 3359 conftest_rc="$?" |
| 3182 echo "configure: failed program was:" >&5 | 3360 echo "configure: failed program was:" >&5 |
| 3198 } | 3376 } |
| 3199 | 3377 |
| 3200 fi | 3378 fi |
| 3201 | 3379 |
| 3202 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3380 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3203 echo "configure:3204: checking whether time.h and sys/time.h may both be included" >&5 | 3381 echo "configure:3382: checking whether time.h and sys/time.h may both be included" >&5 |
| 3204 | 3382 |
| 3205 cat > conftest.$ac_ext <<EOF | 3383 cat > conftest.$ac_ext <<EOF |
| 3206 #line 3207 "configure" | 3384 #line 3385 "configure" |
| 3207 #include "confdefs.h" | 3385 #include "confdefs.h" |
| 3208 #include <sys/types.h> | 3386 #include <sys/types.h> |
| 3209 #include <sys/time.h> | 3387 #include <sys/time.h> |
| 3210 #include <time.h> | 3388 #include <time.h> |
| 3211 int main() { | 3389 int main() { |
| 3212 struct tm *tp; | 3390 struct tm *tp; |
| 3213 ; return 0; } | 3391 ; return 0; } |
| 3214 EOF | 3392 EOF |
| 3215 if { (eval echo configure:3216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3393 if { (eval echo configure:3394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3216 rm -rf conftest* | 3394 rm -rf conftest* |
| 3217 ac_cv_header_time=yes | 3395 ac_cv_header_time=yes |
| 3218 else | 3396 else |
| 3219 echo "configure: failed program was:" >&5 | 3397 echo "configure: failed program was:" >&5 |
| 3220 cat conftest.$ac_ext >&5 | 3398 cat conftest.$ac_ext >&5 |
| 3234 } | 3412 } |
| 3235 | 3413 |
| 3236 fi | 3414 fi |
| 3237 | 3415 |
| 3238 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3416 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3239 echo "configure:3240: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3417 echo "configure:3418: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3240 | 3418 |
| 3241 cat > conftest.$ac_ext <<EOF | 3419 cat > conftest.$ac_ext <<EOF |
| 3242 #line 3243 "configure" | 3420 #line 3421 "configure" |
| 3243 #include "confdefs.h" | 3421 #include "confdefs.h" |
| 3244 #include <sys/types.h> | 3422 #include <sys/types.h> |
| 3245 #include <signal.h> | 3423 #include <signal.h> |
| 3246 /* NetBSD declares sys_siglist in unistd.h. */ | 3424 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3247 #ifdef HAVE_UNISTD_H | 3425 #ifdef HAVE_UNISTD_H |
| 3249 #endif | 3427 #endif |
| 3250 int main() { | 3428 int main() { |
| 3251 char *msg = *(sys_siglist + 1); | 3429 char *msg = *(sys_siglist + 1); |
| 3252 ; return 0; } | 3430 ; return 0; } |
| 3253 EOF | 3431 EOF |
| 3254 if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3432 if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3255 rm -rf conftest* | 3433 rm -rf conftest* |
| 3256 ac_cv_decl_sys_siglist=yes | 3434 ac_cv_decl_sys_siglist=yes |
| 3257 else | 3435 else |
| 3258 echo "configure: failed program was:" >&5 | 3436 echo "configure: failed program was:" >&5 |
| 3259 cat conftest.$ac_ext >&5 | 3437 cat conftest.$ac_ext >&5 |
| 3274 | 3452 |
| 3275 fi | 3453 fi |
| 3276 | 3454 |
| 3277 | 3455 |
| 3278 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3456 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3279 echo "configure:3280: checking for struct utimbuf" >&5 | 3457 echo "configure:3458: checking for struct utimbuf" >&5 |
| 3280 cat > conftest.$ac_ext <<EOF | 3458 cat > conftest.$ac_ext <<EOF |
| 3281 #line 3282 "configure" | 3459 #line 3460 "configure" |
| 3282 #include "confdefs.h" | 3460 #include "confdefs.h" |
| 3283 #ifdef TIME_WITH_SYS_TIME | 3461 #ifdef TIME_WITH_SYS_TIME |
| 3284 #include <sys/time.h> | 3462 #include <sys/time.h> |
| 3285 #include <time.h> | 3463 #include <time.h> |
| 3286 #else | 3464 #else |
| 3295 #endif | 3473 #endif |
| 3296 int main() { | 3474 int main() { |
| 3297 static struct utimbuf x; x.actime = x.modtime; | 3475 static struct utimbuf x; x.actime = x.modtime; |
| 3298 ; return 0; } | 3476 ; return 0; } |
| 3299 EOF | 3477 EOF |
| 3300 if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3478 if { (eval echo configure:3479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3301 rm -rf conftest* | 3479 rm -rf conftest* |
| 3302 echo "$ac_t""yes" 1>&6 | 3480 echo "$ac_t""yes" 1>&6 |
| 3303 { test "$extra_verbose" = "yes" && cat << \EOF | 3481 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3304 Defining HAVE_STRUCT_UTIMBUF | 3482 Defining HAVE_STRUCT_UTIMBUF |
| 3305 EOF | 3483 EOF |
| 3315 echo "$ac_t""no" 1>&6 | 3493 echo "$ac_t""no" 1>&6 |
| 3316 fi | 3494 fi |
| 3317 rm -f conftest* | 3495 rm -f conftest* |
| 3318 | 3496 |
| 3319 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3497 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3320 echo "configure:3321: checking return type of signal handlers" >&5 | 3498 echo "configure:3499: checking return type of signal handlers" >&5 |
| 3321 | 3499 |
| 3322 cat > conftest.$ac_ext <<EOF | 3500 cat > conftest.$ac_ext <<EOF |
| 3323 #line 3324 "configure" | 3501 #line 3502 "configure" |
| 3324 #include "confdefs.h" | 3502 #include "confdefs.h" |
| 3325 #include <sys/types.h> | 3503 #include <sys/types.h> |
| 3326 #include <signal.h> | 3504 #include <signal.h> |
| 3327 #ifdef signal | 3505 #ifdef signal |
| 3328 #undef signal | 3506 #undef signal |
| 3335 | 3513 |
| 3336 int main() { | 3514 int main() { |
| 3337 int i; | 3515 int i; |
| 3338 ; return 0; } | 3516 ; return 0; } |
| 3339 EOF | 3517 EOF |
| 3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3518 if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3341 rm -rf conftest* | 3519 rm -rf conftest* |
| 3342 ac_cv_type_signal=void | 3520 ac_cv_type_signal=void |
| 3343 else | 3521 else |
| 3344 echo "configure: failed program was:" >&5 | 3522 echo "configure: failed program was:" >&5 |
| 3345 cat conftest.$ac_ext >&5 | 3523 cat conftest.$ac_ext >&5 |
| 3357 EOF | 3535 EOF |
| 3358 } | 3536 } |
| 3359 | 3537 |
| 3360 | 3538 |
| 3361 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3539 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3362 echo "configure:3363: checking for size_t" >&5 | 3540 echo "configure:3541: checking for size_t" >&5 |
| 3363 | 3541 |
| 3364 cat > conftest.$ac_ext <<EOF | 3542 cat > conftest.$ac_ext <<EOF |
| 3365 #line 3366 "configure" | 3543 #line 3544 "configure" |
| 3366 #include "confdefs.h" | 3544 #include "confdefs.h" |
| 3367 #include <sys/types.h> | 3545 #include <sys/types.h> |
| 3368 #if STDC_HEADERS | 3546 #if STDC_HEADERS |
| 3369 #include <stdlib.h> | 3547 #include <stdlib.h> |
| 3370 #include <stddef.h> | 3548 #include <stddef.h> |
| 3371 #endif | 3549 #endif |
| 3372 EOF | 3550 EOF |
| 3373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3374 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3552 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3375 rm -rf conftest* | 3553 rm -rf conftest* |
| 3376 ac_cv_type_size_t=yes | 3554 ac_cv_type_size_t=yes |
| 3377 else | 3555 else |
| 3378 rm -rf conftest* | 3556 rm -rf conftest* |
| 3379 ac_cv_type_size_t=no | 3557 ac_cv_type_size_t=no |
| 3391 } | 3569 } |
| 3392 | 3570 |
| 3393 fi | 3571 fi |
| 3394 | 3572 |
| 3395 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3573 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3396 echo "configure:3397: checking for pid_t" >&5 | 3574 echo "configure:3575: checking for pid_t" >&5 |
| 3397 | 3575 |
| 3398 cat > conftest.$ac_ext <<EOF | 3576 cat > conftest.$ac_ext <<EOF |
| 3399 #line 3400 "configure" | 3577 #line 3578 "configure" |
| 3400 #include "confdefs.h" | 3578 #include "confdefs.h" |
| 3401 #include <sys/types.h> | 3579 #include <sys/types.h> |
| 3402 #if STDC_HEADERS | 3580 #if STDC_HEADERS |
| 3403 #include <stdlib.h> | 3581 #include <stdlib.h> |
| 3404 #include <stddef.h> | 3582 #include <stddef.h> |
| 3405 #endif | 3583 #endif |
| 3406 EOF | 3584 EOF |
| 3407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3408 egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3586 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3409 rm -rf conftest* | 3587 rm -rf conftest* |
| 3410 ac_cv_type_pid_t=yes | 3588 ac_cv_type_pid_t=yes |
| 3411 else | 3589 else |
| 3412 rm -rf conftest* | 3590 rm -rf conftest* |
| 3413 ac_cv_type_pid_t=no | 3591 ac_cv_type_pid_t=no |
| 3425 } | 3603 } |
| 3426 | 3604 |
| 3427 fi | 3605 fi |
| 3428 | 3606 |
| 3429 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3607 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3430 echo "configure:3431: checking for uid_t in sys/types.h" >&5 | 3608 echo "configure:3609: checking for uid_t in sys/types.h" >&5 |
| 3431 | 3609 |
| 3432 cat > conftest.$ac_ext <<EOF | 3610 cat > conftest.$ac_ext <<EOF |
| 3433 #line 3434 "configure" | 3611 #line 3612 "configure" |
| 3434 #include "confdefs.h" | 3612 #include "confdefs.h" |
| 3435 #include <sys/types.h> | 3613 #include <sys/types.h> |
| 3436 EOF | 3614 EOF |
| 3437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3438 egrep "uid_t" >/dev/null 2>&1; then | 3616 egrep "uid_t" >/dev/null 2>&1; then |
| 3464 } | 3642 } |
| 3465 | 3643 |
| 3466 fi | 3644 fi |
| 3467 | 3645 |
| 3468 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3646 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3469 echo "configure:3470: checking for mode_t" >&5 | 3647 echo "configure:3648: checking for mode_t" >&5 |
| 3470 | 3648 |
| 3471 cat > conftest.$ac_ext <<EOF | 3649 cat > conftest.$ac_ext <<EOF |
| 3472 #line 3473 "configure" | 3650 #line 3651 "configure" |
| 3473 #include "confdefs.h" | 3651 #include "confdefs.h" |
| 3474 #include <sys/types.h> | 3652 #include <sys/types.h> |
| 3475 #if STDC_HEADERS | 3653 #if STDC_HEADERS |
| 3476 #include <stdlib.h> | 3654 #include <stdlib.h> |
| 3477 #include <stddef.h> | 3655 #include <stddef.h> |
| 3478 #endif | 3656 #endif |
| 3479 EOF | 3657 EOF |
| 3480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3481 egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3659 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3482 rm -rf conftest* | 3660 rm -rf conftest* |
| 3483 ac_cv_type_mode_t=yes | 3661 ac_cv_type_mode_t=yes |
| 3484 else | 3662 else |
| 3485 rm -rf conftest* | 3663 rm -rf conftest* |
| 3486 ac_cv_type_mode_t=no | 3664 ac_cv_type_mode_t=no |
| 3498 } | 3676 } |
| 3499 | 3677 |
| 3500 fi | 3678 fi |
| 3501 | 3679 |
| 3502 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3680 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3503 echo "configure:3504: checking for off_t" >&5 | 3681 echo "configure:3682: checking for off_t" >&5 |
| 3504 | 3682 |
| 3505 cat > conftest.$ac_ext <<EOF | 3683 cat > conftest.$ac_ext <<EOF |
| 3506 #line 3507 "configure" | 3684 #line 3685 "configure" |
| 3507 #include "confdefs.h" | 3685 #include "confdefs.h" |
| 3508 #include <sys/types.h> | 3686 #include <sys/types.h> |
| 3509 #if STDC_HEADERS | 3687 #if STDC_HEADERS |
| 3510 #include <stdlib.h> | 3688 #include <stdlib.h> |
| 3511 #include <stddef.h> | 3689 #include <stddef.h> |
| 3512 #endif | 3690 #endif |
| 3513 EOF | 3691 EOF |
| 3514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3515 egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3693 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 3516 rm -rf conftest* | 3694 rm -rf conftest* |
| 3517 ac_cv_type_off_t=yes | 3695 ac_cv_type_off_t=yes |
| 3518 else | 3696 else |
| 3519 rm -rf conftest* | 3697 rm -rf conftest* |
| 3520 ac_cv_type_off_t=no | 3698 ac_cv_type_off_t=no |
| 3533 | 3711 |
| 3534 fi | 3712 fi |
| 3535 | 3713 |
| 3536 | 3714 |
| 3537 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3715 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3538 echo "configure:3539: checking for struct timeval" >&5 | 3716 echo "configure:3717: checking for struct timeval" >&5 |
| 3539 cat > conftest.$ac_ext <<EOF | 3717 cat > conftest.$ac_ext <<EOF |
| 3540 #line 3541 "configure" | 3718 #line 3719 "configure" |
| 3541 #include "confdefs.h" | 3719 #include "confdefs.h" |
| 3542 #ifdef TIME_WITH_SYS_TIME | 3720 #ifdef TIME_WITH_SYS_TIME |
| 3543 #include <sys/time.h> | 3721 #include <sys/time.h> |
| 3544 #include <time.h> | 3722 #include <time.h> |
| 3545 #else | 3723 #else |
| 3551 #endif | 3729 #endif |
| 3552 int main() { | 3730 int main() { |
| 3553 static struct timeval x; x.tv_sec = x.tv_usec; | 3731 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3554 ; return 0; } | 3732 ; return 0; } |
| 3555 EOF | 3733 EOF |
| 3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3557 rm -rf conftest* | 3735 rm -rf conftest* |
| 3558 echo "$ac_t""yes" 1>&6 | 3736 echo "$ac_t""yes" 1>&6 |
| 3559 HAVE_TIMEVAL=yes | 3737 HAVE_TIMEVAL=yes |
| 3560 { test "$extra_verbose" = "yes" && cat << \EOF | 3738 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3561 Defining HAVE_TIMEVAL | 3739 Defining HAVE_TIMEVAL |
| 3573 HAVE_TIMEVAL=no | 3751 HAVE_TIMEVAL=no |
| 3574 fi | 3752 fi |
| 3575 rm -f conftest* | 3753 rm -f conftest* |
| 3576 | 3754 |
| 3577 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3755 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3578 echo "configure:3579: checking whether struct tm is in sys/time.h or time.h" >&5 | 3756 echo "configure:3757: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3579 | 3757 |
| 3580 cat > conftest.$ac_ext <<EOF | 3758 cat > conftest.$ac_ext <<EOF |
| 3581 #line 3582 "configure" | 3759 #line 3760 "configure" |
| 3582 #include "confdefs.h" | 3760 #include "confdefs.h" |
| 3583 #include <sys/types.h> | 3761 #include <sys/types.h> |
| 3584 #include <time.h> | 3762 #include <time.h> |
| 3585 int main() { | 3763 int main() { |
| 3586 struct tm *tp; tp->tm_sec; | 3764 struct tm *tp; tp->tm_sec; |
| 3587 ; return 0; } | 3765 ; return 0; } |
| 3588 EOF | 3766 EOF |
| 3589 if { (eval echo configure:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3767 if { (eval echo configure:3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3590 rm -rf conftest* | 3768 rm -rf conftest* |
| 3591 ac_cv_struct_tm=time.h | 3769 ac_cv_struct_tm=time.h |
| 3592 else | 3770 else |
| 3593 echo "configure: failed program was:" >&5 | 3771 echo "configure: failed program was:" >&5 |
| 3594 cat conftest.$ac_ext >&5 | 3772 cat conftest.$ac_ext >&5 |
| 3608 } | 3786 } |
| 3609 | 3787 |
| 3610 fi | 3788 fi |
| 3611 | 3789 |
| 3612 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3790 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3613 echo "configure:3614: checking for tm_zone in struct tm" >&5 | 3791 echo "configure:3792: checking for tm_zone in struct tm" >&5 |
| 3614 | 3792 |
| 3615 cat > conftest.$ac_ext <<EOF | 3793 cat > conftest.$ac_ext <<EOF |
| 3616 #line 3617 "configure" | 3794 #line 3795 "configure" |
| 3617 #include "confdefs.h" | 3795 #include "confdefs.h" |
| 3618 #include <sys/types.h> | 3796 #include <sys/types.h> |
| 3619 #include <$ac_cv_struct_tm> | 3797 #include <$ac_cv_struct_tm> |
| 3620 int main() { | 3798 int main() { |
| 3621 struct tm tm; tm.tm_zone; | 3799 struct tm tm; tm.tm_zone; |
| 3622 ; return 0; } | 3800 ; return 0; } |
| 3623 EOF | 3801 EOF |
| 3624 if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3802 if { (eval echo configure:3803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3625 rm -rf conftest* | 3803 rm -rf conftest* |
| 3626 ac_cv_struct_tm_zone=yes | 3804 ac_cv_struct_tm_zone=yes |
| 3627 else | 3805 else |
| 3628 echo "configure: failed program was:" >&5 | 3806 echo "configure: failed program was:" >&5 |
| 3629 cat conftest.$ac_ext >&5 | 3807 cat conftest.$ac_ext >&5 |
| 3642 EOF | 3820 EOF |
| 3643 } | 3821 } |
| 3644 | 3822 |
| 3645 else | 3823 else |
| 3646 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3824 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3647 echo "configure:3648: checking for tzname" >&5 | 3825 echo "configure:3826: checking for tzname" >&5 |
| 3648 | 3826 |
| 3649 cat > conftest.$ac_ext <<EOF | 3827 cat > conftest.$ac_ext <<EOF |
| 3650 #line 3651 "configure" | 3828 #line 3829 "configure" |
| 3651 #include "confdefs.h" | 3829 #include "confdefs.h" |
| 3652 #include <time.h> | 3830 #include <time.h> |
| 3653 #ifndef tzname /* For SGI. */ | 3831 #ifndef tzname /* For SGI. */ |
| 3654 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3832 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3655 #endif | 3833 #endif |
| 3656 int main() { | 3834 int main() { |
| 3657 atoi(*tzname); | 3835 atoi(*tzname); |
| 3658 ; return 0; } | 3836 ; return 0; } |
| 3659 EOF | 3837 EOF |
| 3660 if { (eval echo configure:3661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3838 if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3661 rm -rf conftest* | 3839 rm -rf conftest* |
| 3662 ac_cv_var_tzname=yes | 3840 ac_cv_var_tzname=yes |
| 3663 else | 3841 else |
| 3664 echo "configure: failed program was:" >&5 | 3842 echo "configure: failed program was:" >&5 |
| 3665 cat conftest.$ac_ext >&5 | 3843 cat conftest.$ac_ext >&5 |
| 3681 fi | 3859 fi |
| 3682 fi | 3860 fi |
| 3683 | 3861 |
| 3684 | 3862 |
| 3685 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3863 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3686 echo "configure:3687: checking for working const" >&5 | 3864 echo "configure:3865: checking for working const" >&5 |
| 3687 | 3865 |
| 3688 cat > conftest.$ac_ext <<EOF | 3866 cat > conftest.$ac_ext <<EOF |
| 3689 #line 3690 "configure" | 3867 #line 3868 "configure" |
| 3690 #include "confdefs.h" | 3868 #include "confdefs.h" |
| 3691 | 3869 |
| 3692 int main() { | 3870 int main() { |
| 3693 | 3871 |
| 3694 /* Ultrix mips cc rejects this. */ | 3872 /* Ultrix mips cc rejects this. */ |
| 3733 const int foo = 10; | 3911 const int foo = 10; |
| 3734 } | 3912 } |
| 3735 | 3913 |
| 3736 ; return 0; } | 3914 ; return 0; } |
| 3737 EOF | 3915 EOF |
| 3738 if { (eval echo configure:3739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3916 if { (eval echo configure:3917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3739 rm -rf conftest* | 3917 rm -rf conftest* |
| 3740 ac_cv_c_const=yes | 3918 ac_cv_c_const=yes |
| 3741 else | 3919 else |
| 3742 echo "configure: failed program was:" >&5 | 3920 echo "configure: failed program was:" >&5 |
| 3743 cat conftest.$ac_ext >&5 | 3921 cat conftest.$ac_ext >&5 |
| 3758 | 3936 |
| 3759 fi | 3937 fi |
| 3760 | 3938 |
| 3761 | 3939 |
| 3762 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3940 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3763 echo "configure:3764: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3941 echo "configure:3942: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3764 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3942 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3765 | 3943 |
| 3766 cat > conftestmake <<\EOF | 3944 cat > conftestmake <<\EOF |
| 3767 all: | 3945 all: |
| 3768 @echo 'ac_maketemp="${MAKE}"' | 3946 @echo 'ac_maketemp="${MAKE}"' |
| 3783 SET_MAKE="MAKE=${MAKE-make}" | 3961 SET_MAKE="MAKE=${MAKE-make}" |
| 3784 fi | 3962 fi |
| 3785 | 3963 |
| 3786 | 3964 |
| 3787 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3965 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3788 echo "configure:3789: checking whether byte ordering is bigendian" >&5 | 3966 echo "configure:3967: checking whether byte ordering is bigendian" >&5 |
| 3789 | 3967 |
| 3790 ac_cv_c_bigendian=unknown | 3968 ac_cv_c_bigendian=unknown |
| 3791 # See if sys/param.h defines the BYTE_ORDER macro. | 3969 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3792 cat > conftest.$ac_ext <<EOF | 3970 cat > conftest.$ac_ext <<EOF |
| 3793 #line 3794 "configure" | 3971 #line 3972 "configure" |
| 3794 #include "confdefs.h" | 3972 #include "confdefs.h" |
| 3795 #include <sys/types.h> | 3973 #include <sys/types.h> |
| 3796 #include <sys/param.h> | 3974 #include <sys/param.h> |
| 3797 int main() { | 3975 int main() { |
| 3798 | 3976 |
| 3799 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3977 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3800 bogus endian macros | 3978 bogus endian macros |
| 3801 #endif | 3979 #endif |
| 3802 ; return 0; } | 3980 ; return 0; } |
| 3803 EOF | 3981 EOF |
| 3804 if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3982 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3805 rm -rf conftest* | 3983 rm -rf conftest* |
| 3806 # It does; now see whether it defined to BIG_ENDIAN or not. | 3984 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3807 cat > conftest.$ac_ext <<EOF | 3985 cat > conftest.$ac_ext <<EOF |
| 3808 #line 3809 "configure" | 3986 #line 3987 "configure" |
| 3809 #include "confdefs.h" | 3987 #include "confdefs.h" |
| 3810 #include <sys/types.h> | 3988 #include <sys/types.h> |
| 3811 #include <sys/param.h> | 3989 #include <sys/param.h> |
| 3812 int main() { | 3990 int main() { |
| 3813 | 3991 |
| 3814 #if BYTE_ORDER != BIG_ENDIAN | 3992 #if BYTE_ORDER != BIG_ENDIAN |
| 3815 not big endian | 3993 not big endian |
| 3816 #endif | 3994 #endif |
| 3817 ; return 0; } | 3995 ; return 0; } |
| 3818 EOF | 3996 EOF |
| 3819 if { (eval echo configure:3820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3997 if { (eval echo configure:3998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3820 rm -rf conftest* | 3998 rm -rf conftest* |
| 3821 ac_cv_c_bigendian=yes | 3999 ac_cv_c_bigendian=yes |
| 3822 else | 4000 else |
| 3823 echo "configure: failed program was:" >&5 | 4001 echo "configure: failed program was:" >&5 |
| 3824 cat conftest.$ac_ext >&5 | 4002 cat conftest.$ac_ext >&5 |
| 3831 cat conftest.$ac_ext >&5 | 4009 cat conftest.$ac_ext >&5 |
| 3832 fi | 4010 fi |
| 3833 rm -f conftest* | 4011 rm -f conftest* |
| 3834 if test $ac_cv_c_bigendian = unknown; then | 4012 if test $ac_cv_c_bigendian = unknown; then |
| 3835 cat > conftest.$ac_ext <<EOF | 4013 cat > conftest.$ac_ext <<EOF |
| 3836 #line 3837 "configure" | 4014 #line 4015 "configure" |
| 3837 #include "confdefs.h" | 4015 #include "confdefs.h" |
| 3838 main () { | 4016 main () { |
| 3839 /* Are we little or big endian? From Harbison&Steele. */ | 4017 /* Are we little or big endian? From Harbison&Steele. */ |
| 3840 union | 4018 union |
| 3841 { | 4019 { |
| 3844 } u; | 4022 } u; |
| 3845 u.l = 1; | 4023 u.l = 1; |
| 3846 exit (u.c[sizeof (long) - 1] == 1); | 4024 exit (u.c[sizeof (long) - 1] == 1); |
| 3847 } | 4025 } |
| 3848 EOF | 4026 EOF |
| 3849 if { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4027 if { (eval echo configure:4028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3850 then | 4028 then |
| 3851 ac_cv_c_bigendian=no | 4029 ac_cv_c_bigendian=no |
| 3852 else | 4030 else |
| 3853 conftest_rc="$?" | 4031 conftest_rc="$?" |
| 3854 echo "configure: failed program was:" >&5 | 4032 echo "configure: failed program was:" >&5 |
| 3871 | 4049 |
| 3872 fi | 4050 fi |
| 3873 | 4051 |
| 3874 | 4052 |
| 3875 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4053 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3876 echo "configure:3877: checking size of short" >&5 | 4054 echo "configure:4055: checking size of short" >&5 |
| 3877 | 4055 |
| 3878 cat > conftest.$ac_ext <<EOF | 4056 cat > conftest.$ac_ext <<EOF |
| 3879 #line 3880 "configure" | 4057 #line 4058 "configure" |
| 3880 #include "confdefs.h" | 4058 #include "confdefs.h" |
| 3881 #include <stdio.h> | 4059 #include <stdio.h> |
| 3882 main() | 4060 main() |
| 3883 { | 4061 { |
| 3884 FILE *f=fopen("conftestval", "w"); | 4062 FILE *f=fopen("conftestval", "w"); |
| 3885 if (!f) exit(1); | 4063 if (!f) exit(1); |
| 3886 fprintf(f, "%d\n", sizeof(short)); | 4064 fprintf(f, "%d\n", sizeof(short)); |
| 3887 exit(0); | 4065 exit(0); |
| 3888 } | 4066 } |
| 3889 EOF | 4067 EOF |
| 3890 if { (eval echo configure:3891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4068 if { (eval echo configure:4069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3891 then | 4069 then |
| 3892 ac_cv_sizeof_short=`cat conftestval` | 4070 ac_cv_sizeof_short=`cat conftestval` |
| 3893 else | 4071 else |
| 3894 conftest_rc="$?" | 4072 conftest_rc="$?" |
| 3895 echo "configure: failed program was:" >&5 | 4073 echo "configure: failed program was:" >&5 |
| 3913 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4091 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3914 echo "*** PANIC *** Please examine config.log for compilation errors." | 4092 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3915 exit 1 | 4093 exit 1 |
| 3916 fi | 4094 fi |
| 3917 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4095 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3918 echo "configure:3919: checking size of int" >&5 | 4096 echo "configure:4097: checking size of int" >&5 |
| 3919 | 4097 |
| 3920 cat > conftest.$ac_ext <<EOF | 4098 cat > conftest.$ac_ext <<EOF |
| 3921 #line 3922 "configure" | 4099 #line 4100 "configure" |
| 3922 #include "confdefs.h" | 4100 #include "confdefs.h" |
| 3923 #include <stdio.h> | 4101 #include <stdio.h> |
| 3924 main() | 4102 main() |
| 3925 { | 4103 { |
| 3926 FILE *f=fopen("conftestval", "w"); | 4104 FILE *f=fopen("conftestval", "w"); |
| 3927 if (!f) exit(1); | 4105 if (!f) exit(1); |
| 3928 fprintf(f, "%d\n", sizeof(int)); | 4106 fprintf(f, "%d\n", sizeof(int)); |
| 3929 exit(0); | 4107 exit(0); |
| 3930 } | 4108 } |
| 3931 EOF | 4109 EOF |
| 3932 if { (eval echo configure:3933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4110 if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3933 then | 4111 then |
| 3934 ac_cv_sizeof_int=`cat conftestval` | 4112 ac_cv_sizeof_int=`cat conftestval` |
| 3935 else | 4113 else |
| 3936 conftest_rc="$?" | 4114 conftest_rc="$?" |
| 3937 echo "configure: failed program was:" >&5 | 4115 echo "configure: failed program was:" >&5 |
| 3949 EOF | 4127 EOF |
| 3950 } | 4128 } |
| 3951 | 4129 |
| 3952 | 4130 |
| 3953 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4131 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3954 echo "configure:3955: checking size of long" >&5 | 4132 echo "configure:4133: checking size of long" >&5 |
| 3955 | 4133 |
| 3956 cat > conftest.$ac_ext <<EOF | 4134 cat > conftest.$ac_ext <<EOF |
| 3957 #line 3958 "configure" | 4135 #line 4136 "configure" |
| 3958 #include "confdefs.h" | 4136 #include "confdefs.h" |
| 3959 #include <stdio.h> | 4137 #include <stdio.h> |
| 3960 main() | 4138 main() |
| 3961 { | 4139 { |
| 3962 FILE *f=fopen("conftestval", "w"); | 4140 FILE *f=fopen("conftestval", "w"); |
| 3963 if (!f) exit(1); | 4141 if (!f) exit(1); |
| 3964 fprintf(f, "%d\n", sizeof(long)); | 4142 fprintf(f, "%d\n", sizeof(long)); |
| 3965 exit(0); | 4143 exit(0); |
| 3966 } | 4144 } |
| 3967 EOF | 4145 EOF |
| 3968 if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4146 if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3969 then | 4147 then |
| 3970 ac_cv_sizeof_long=`cat conftestval` | 4148 ac_cv_sizeof_long=`cat conftestval` |
| 3971 else | 4149 else |
| 3972 conftest_rc="$?" | 4150 conftest_rc="$?" |
| 3973 echo "configure: failed program was:" >&5 | 4151 echo "configure: failed program was:" >&5 |
| 3985 EOF | 4163 EOF |
| 3986 } | 4164 } |
| 3987 | 4165 |
| 3988 | 4166 |
| 3989 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4167 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3990 echo "configure:3991: checking size of long long" >&5 | 4168 echo "configure:4169: checking size of long long" >&5 |
| 3991 | 4169 |
| 3992 cat > conftest.$ac_ext <<EOF | 4170 cat > conftest.$ac_ext <<EOF |
| 3993 #line 3994 "configure" | 4171 #line 4172 "configure" |
| 3994 #include "confdefs.h" | 4172 #include "confdefs.h" |
| 3995 #include <stdio.h> | 4173 #include <stdio.h> |
| 3996 main() | 4174 main() |
| 3997 { | 4175 { |
| 3998 FILE *f=fopen("conftestval", "w"); | 4176 FILE *f=fopen("conftestval", "w"); |
| 3999 if (!f) exit(1); | 4177 if (!f) exit(1); |
| 4000 fprintf(f, "%d\n", sizeof(long long)); | 4178 fprintf(f, "%d\n", sizeof(long long)); |
| 4001 exit(0); | 4179 exit(0); |
| 4002 } | 4180 } |
| 4003 EOF | 4181 EOF |
| 4004 if { (eval echo configure:4005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4182 if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4005 then | 4183 then |
| 4006 ac_cv_sizeof_long_long=`cat conftestval` | 4184 ac_cv_sizeof_long_long=`cat conftestval` |
| 4007 else | 4185 else |
| 4008 conftest_rc="$?" | 4186 conftest_rc="$?" |
| 4009 echo "configure: failed program was:" >&5 | 4187 echo "configure: failed program was:" >&5 |
| 4021 EOF | 4199 EOF |
| 4022 } | 4200 } |
| 4023 | 4201 |
| 4024 | 4202 |
| 4025 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4203 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4026 echo "configure:4027: checking size of void *" >&5 | 4204 echo "configure:4205: checking size of void *" >&5 |
| 4027 | 4205 |
| 4028 cat > conftest.$ac_ext <<EOF | 4206 cat > conftest.$ac_ext <<EOF |
| 4029 #line 4030 "configure" | 4207 #line 4208 "configure" |
| 4030 #include "confdefs.h" | 4208 #include "confdefs.h" |
| 4031 #include <stdio.h> | 4209 #include <stdio.h> |
| 4032 main() | 4210 main() |
| 4033 { | 4211 { |
| 4034 FILE *f=fopen("conftestval", "w"); | 4212 FILE *f=fopen("conftestval", "w"); |
| 4035 if (!f) exit(1); | 4213 if (!f) exit(1); |
| 4036 fprintf(f, "%d\n", sizeof(void *)); | 4214 fprintf(f, "%d\n", sizeof(void *)); |
| 4037 exit(0); | 4215 exit(0); |
| 4038 } | 4216 } |
| 4039 EOF | 4217 EOF |
| 4040 if { (eval echo configure:4041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4218 if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4041 then | 4219 then |
| 4042 ac_cv_sizeof_void_p=`cat conftestval` | 4220 ac_cv_sizeof_void_p=`cat conftestval` |
| 4043 else | 4221 else |
| 4044 conftest_rc="$?" | 4222 conftest_rc="$?" |
| 4045 echo "configure: failed program was:" >&5 | 4223 echo "configure: failed program was:" >&5 |
| 4058 } | 4236 } |
| 4059 | 4237 |
| 4060 | 4238 |
| 4061 | 4239 |
| 4062 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4240 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4063 echo "configure:4064: checking for long file names" >&5 | 4241 echo "configure:4242: checking for long file names" >&5 |
| 4064 | 4242 |
| 4065 ac_cv_sys_long_file_names=yes | 4243 ac_cv_sys_long_file_names=yes |
| 4066 # Test for long file names in all the places we know might matter: | 4244 # Test for long file names in all the places we know might matter: |
| 4067 # . the current directory, where building will happen | 4245 # . the current directory, where building will happen |
| 4068 # $prefix/lib where we will be installing things | 4246 # $prefix/lib where we will be installing things |
| 4105 fi | 4283 fi |
| 4106 | 4284 |
| 4107 | 4285 |
| 4108 | 4286 |
| 4109 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4287 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4110 echo "configure:4111: checking for sin in -lm" >&5 | 4288 echo "configure:4289: checking for sin in -lm" >&5 |
| 4111 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4289 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4112 | 4290 |
| 4113 xe_check_libs=" -lm " | 4291 xe_check_libs=" -lm " |
| 4114 cat > conftest.$ac_ext <<EOF | 4292 cat > conftest.$ac_ext <<EOF |
| 4115 #line 4116 "configure" | 4293 #line 4294 "configure" |
| 4116 #include "confdefs.h" | 4294 #include "confdefs.h" |
| 4117 /* Override any gcc2 internal prototype to avoid an error. */ | 4295 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4118 /* We use char because int might match the return type of a gcc2 | 4296 /* We use char because int might match the return type of a gcc2 |
| 4119 builtin and then its argument prototype would still apply. */ | 4297 builtin and then its argument prototype would still apply. */ |
| 4120 char sin(); | 4298 char sin(); |
| 4121 | 4299 |
| 4122 int main() { | 4300 int main() { |
| 4123 sin() | 4301 sin() |
| 4124 ; return 0; } | 4302 ; return 0; } |
| 4125 EOF | 4303 EOF |
| 4126 if { (eval echo configure:4127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4304 if { (eval echo configure:4305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4127 rm -rf conftest* | 4305 rm -rf conftest* |
| 4128 eval "ac_cv_lib_$ac_lib_var=yes" | 4306 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4129 else | 4307 else |
| 4130 echo "configure: failed program was:" >&5 | 4308 echo "configure: failed program was:" >&5 |
| 4131 cat conftest.$ac_ext >&5 | 4309 cat conftest.$ac_ext >&5 |
| 4163 EOF | 4341 EOF |
| 4164 } | 4342 } |
| 4165 | 4343 |
| 4166 | 4344 |
| 4167 cat > conftest.$ac_ext <<EOF | 4345 cat > conftest.$ac_ext <<EOF |
| 4168 #line 4169 "configure" | 4346 #line 4347 "configure" |
| 4169 #include "confdefs.h" | 4347 #include "confdefs.h" |
| 4170 #include <math.h> | 4348 #include <math.h> |
| 4171 int main() { | 4349 int main() { |
| 4172 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4350 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4173 ; return 0; } | 4351 ; return 0; } |
| 4174 EOF | 4352 EOF |
| 4175 if { (eval echo configure:4176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4353 if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4176 rm -rf conftest* | 4354 rm -rf conftest* |
| 4177 { test "$extra_verbose" = "yes" && cat << \EOF | 4355 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4178 Defining HAVE_INVERSE_HYPERBOLIC | 4356 Defining HAVE_INVERSE_HYPERBOLIC |
| 4179 EOF | 4357 EOF |
| 4180 cat >> confdefs.h <<\EOF | 4358 cat >> confdefs.h <<\EOF |
| 4187 cat conftest.$ac_ext >&5 | 4365 cat conftest.$ac_ext >&5 |
| 4188 fi | 4366 fi |
| 4189 rm -f conftest* | 4367 rm -f conftest* |
| 4190 | 4368 |
| 4191 echo "checking type of mail spool file locking" 1>&6 | 4369 echo "checking type of mail spool file locking" 1>&6 |
| 4192 echo "configure:4193: checking type of mail spool file locking" >&5 | 4370 echo "configure:4371: checking type of mail spool file locking" >&5 |
| 4193 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4371 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 4194 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4372 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 4195 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4373 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 4196 Defining REAL_MAIL_USE_LOCKF | 4374 Defining REAL_MAIL_USE_LOCKF |
| 4197 EOF | 4375 EOF |
| 4211 else mail_locking="dot-locking" | 4389 else mail_locking="dot-locking" |
| 4212 fi | 4390 fi |
| 4213 | 4391 |
| 4214 | 4392 |
| 4215 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4393 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 4216 echo "configure:4217: checking for kstat_open in -lkstat" >&5 | 4394 echo "configure:4395: checking for kstat_open in -lkstat" >&5 |
| 4217 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4395 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 4218 | 4396 |
| 4219 xe_check_libs=" -lkstat " | 4397 xe_check_libs=" -lkstat " |
| 4220 cat > conftest.$ac_ext <<EOF | 4398 cat > conftest.$ac_ext <<EOF |
| 4221 #line 4222 "configure" | 4399 #line 4400 "configure" |
| 4222 #include "confdefs.h" | 4400 #include "confdefs.h" |
| 4223 /* Override any gcc2 internal prototype to avoid an error. */ | 4401 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4224 /* We use char because int might match the return type of a gcc2 | 4402 /* We use char because int might match the return type of a gcc2 |
| 4225 builtin and then its argument prototype would still apply. */ | 4403 builtin and then its argument prototype would still apply. */ |
| 4226 char kstat_open(); | 4404 char kstat_open(); |
| 4227 | 4405 |
| 4228 int main() { | 4406 int main() { |
| 4229 kstat_open() | 4407 kstat_open() |
| 4230 ; return 0; } | 4408 ; return 0; } |
| 4231 EOF | 4409 EOF |
| 4232 if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4233 rm -rf conftest* | 4411 rm -rf conftest* |
| 4234 eval "ac_cv_lib_$ac_lib_var=yes" | 4412 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4235 else | 4413 else |
| 4236 echo "configure: failed program was:" >&5 | 4414 echo "configure: failed program was:" >&5 |
| 4237 cat conftest.$ac_ext >&5 | 4415 cat conftest.$ac_ext >&5 |
| 4261 | 4439 |
| 4262 | 4440 |
| 4263 | 4441 |
| 4264 | 4442 |
| 4265 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4443 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 4266 echo "configure:4267: checking for kvm_read in -lkvm" >&5 | 4444 echo "configure:4445: checking for kvm_read in -lkvm" >&5 |
| 4267 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4445 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 4268 | 4446 |
| 4269 xe_check_libs=" -lkvm " | 4447 xe_check_libs=" -lkvm " |
| 4270 cat > conftest.$ac_ext <<EOF | 4448 cat > conftest.$ac_ext <<EOF |
| 4271 #line 4272 "configure" | 4449 #line 4450 "configure" |
| 4272 #include "confdefs.h" | 4450 #include "confdefs.h" |
| 4273 /* Override any gcc2 internal prototype to avoid an error. */ | 4451 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4274 /* We use char because int might match the return type of a gcc2 | 4452 /* We use char because int might match the return type of a gcc2 |
| 4275 builtin and then its argument prototype would still apply. */ | 4453 builtin and then its argument prototype would still apply. */ |
| 4276 char kvm_read(); | 4454 char kvm_read(); |
| 4277 | 4455 |
| 4278 int main() { | 4456 int main() { |
| 4279 kvm_read() | 4457 kvm_read() |
| 4280 ; return 0; } | 4458 ; return 0; } |
| 4281 EOF | 4459 EOF |
| 4282 if { (eval echo configure:4283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4460 if { (eval echo configure:4461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4283 rm -rf conftest* | 4461 rm -rf conftest* |
| 4284 eval "ac_cv_lib_$ac_lib_var=yes" | 4462 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4285 else | 4463 else |
| 4286 echo "configure: failed program was:" >&5 | 4464 echo "configure: failed program was:" >&5 |
| 4287 cat conftest.$ac_ext >&5 | 4465 cat conftest.$ac_ext >&5 |
| 4312 | 4490 |
| 4313 | 4491 |
| 4314 case "$opsys" in decosf*) | 4492 case "$opsys" in decosf*) |
| 4315 | 4493 |
| 4316 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4494 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4317 echo "configure:4318: checking for cma_open in -lpthreads" >&5 | 4495 echo "configure:4496: checking for cma_open in -lpthreads" >&5 |
| 4318 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4496 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4319 | 4497 |
| 4320 xe_check_libs=" -lpthreads " | 4498 xe_check_libs=" -lpthreads " |
| 4321 cat > conftest.$ac_ext <<EOF | 4499 cat > conftest.$ac_ext <<EOF |
| 4322 #line 4323 "configure" | 4500 #line 4501 "configure" |
| 4323 #include "confdefs.h" | 4501 #include "confdefs.h" |
| 4324 /* Override any gcc2 internal prototype to avoid an error. */ | 4502 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4325 /* We use char because int might match the return type of a gcc2 | 4503 /* We use char because int might match the return type of a gcc2 |
| 4326 builtin and then its argument prototype would still apply. */ | 4504 builtin and then its argument prototype would still apply. */ |
| 4327 char cma_open(); | 4505 char cma_open(); |
| 4328 | 4506 |
| 4329 int main() { | 4507 int main() { |
| 4330 cma_open() | 4508 cma_open() |
| 4331 ; return 0; } | 4509 ; return 0; } |
| 4332 EOF | 4510 EOF |
| 4333 if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4511 if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4334 rm -rf conftest* | 4512 rm -rf conftest* |
| 4335 eval "ac_cv_lib_$ac_lib_var=yes" | 4513 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4336 else | 4514 else |
| 4337 echo "configure: failed program was:" >&5 | 4515 echo "configure: failed program was:" >&5 |
| 4338 cat conftest.$ac_ext >&5 | 4516 cat conftest.$ac_ext >&5 |
| 4364 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4542 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
| 4365 c_switch_site="$c_switch_site -threads" ;; | 4543 c_switch_site="$c_switch_site -threads" ;; |
| 4366 esac | 4544 esac |
| 4367 | 4545 |
| 4368 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4546 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4369 echo "configure:4370: checking whether the -xildoff compiler flag is required" >&5 | 4547 echo "configure:4548: checking whether the -xildoff compiler flag is required" >&5 |
| 4370 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4548 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4371 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4549 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4372 then echo "$ac_t""no" 1>&6; | 4550 then echo "$ac_t""no" 1>&6; |
| 4373 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 | 4551 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 |
| 4374 fi | 4552 fi |
| 4375 else echo "$ac_t""no" 1>&6 | 4553 else echo "$ac_t""no" 1>&6 |
| 4376 fi | 4554 fi |
| 4377 | 4555 |
| 4378 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4556 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4379 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4557 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4380 echo "configure:4381: checking for \"-z ignore\" linker flag" >&5 | 4558 echo "configure:4559: checking for \"-z ignore\" linker flag" >&5 |
| 4381 case "`ld -h 2>&1`" in | 4559 case "`ld -h 2>&1`" in |
| 4382 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4560 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4383 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4561 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4384 *) echo "$ac_t""no" 1>&6 ;; | 4562 *) echo "$ac_t""no" 1>&6 ;; |
| 4385 esac | 4563 esac |
| 4386 fi | 4564 fi |
| 4387 | 4565 |
| 4388 | 4566 |
| 4389 echo "checking "for specified window system"" 1>&6 | 4567 echo "checking "for specified window system"" 1>&6 |
| 4390 echo "configure:4391: checking "for specified window system"" >&5 | 4568 echo "configure:4569: checking "for specified window system"" >&5 |
| 4391 | 4569 |
| 4392 if test "$with_x11" != "no"; then | 4570 if test "$with_x11" != "no"; then |
| 4393 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4571 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4394 window_system=x11 with_x11=yes | 4572 window_system=x11 with_x11=yes |
| 4395 | 4573 |
| 4418 # If we find X, set shell vars x_includes and x_libraries to the | 4596 # If we find X, set shell vars x_includes and x_libraries to the |
| 4419 # paths, otherwise set no_x=yes. | 4597 # paths, otherwise set no_x=yes. |
| 4420 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4598 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4421 # --without-x overrides everything else, but does not touch the cache. | 4599 # --without-x overrides everything else, but does not touch the cache. |
| 4422 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4600 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4423 echo "configure:4424: checking for X" >&5 | 4601 echo "configure:4602: checking for X" >&5 |
| 4424 | 4602 |
| 4425 # Check whether --with-x or --without-x was given. | 4603 # Check whether --with-x or --without-x was given. |
| 4426 if test "${with_x+set}" = set; then | 4604 if test "${with_x+set}" = set; then |
| 4427 withval="$with_x" | 4605 withval="$with_x" |
| 4428 : | 4606 : |
| 4478 # Guess where to find include files, by looking for this one X11 .h file. | 4656 # Guess where to find include files, by looking for this one X11 .h file. |
| 4479 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4657 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4480 | 4658 |
| 4481 # First, try using that file with no special directory specified. | 4659 # First, try using that file with no special directory specified. |
| 4482 cat > conftest.$ac_ext <<EOF | 4660 cat > conftest.$ac_ext <<EOF |
| 4483 #line 4484 "configure" | 4661 #line 4662 "configure" |
| 4484 #include "confdefs.h" | 4662 #include "confdefs.h" |
| 4485 #include <$x_direct_test_include> | 4663 #include <$x_direct_test_include> |
| 4486 EOF | 4664 EOF |
| 4487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4488 { (eval echo configure:4489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4666 { (eval echo configure:4667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4489 ac_err=`grep -v '^ *+' conftest.out` | 4667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4490 if test -z "$ac_err"; then | 4668 if test -z "$ac_err"; then |
| 4491 rm -rf conftest* | 4669 rm -rf conftest* |
| 4492 # We can compile using X headers with no special include directory. | 4670 # We can compile using X headers with no special include directory. |
| 4493 ac_x_includes= | 4671 ac_x_includes= |
| 4494 else | 4672 else |
| 4552 # See if we find them without any special options. | 4730 # See if we find them without any special options. |
| 4553 # Don't add to $LIBS permanently. | 4731 # Don't add to $LIBS permanently. |
| 4554 ac_save_LIBS="$LIBS" | 4732 ac_save_LIBS="$LIBS" |
| 4555 LIBS="-l$x_direct_test_library $LIBS" | 4733 LIBS="-l$x_direct_test_library $LIBS" |
| 4556 cat > conftest.$ac_ext <<EOF | 4734 cat > conftest.$ac_ext <<EOF |
| 4557 #line 4558 "configure" | 4735 #line 4736 "configure" |
| 4558 #include "confdefs.h" | 4736 #include "confdefs.h" |
| 4559 | 4737 |
| 4560 int main() { | 4738 int main() { |
| 4561 ${x_direct_test_function}() | 4739 ${x_direct_test_function}() |
| 4562 ; return 0; } | 4740 ; return 0; } |
| 4563 EOF | 4741 EOF |
| 4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4742 if { (eval echo configure:4743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4565 rm -rf conftest* | 4743 rm -rf conftest* |
| 4566 LIBS="$ac_save_LIBS" | 4744 LIBS="$ac_save_LIBS" |
| 4567 # We can link X programs with no special library path. | 4745 # We can link X programs with no special library path. |
| 4568 ac_x_libraries= | 4746 ac_x_libraries= |
| 4569 else | 4747 else |
| 4668 # For Solaris; some versions of Sun CC require a space after -R and | 4846 # For Solaris; some versions of Sun CC require a space after -R and |
| 4669 # others require no space. Words are not sufficient . . . . | 4847 # others require no space. Words are not sufficient . . . . |
| 4670 case "`(uname -sr) 2>/dev/null`" in | 4848 case "`(uname -sr) 2>/dev/null`" in |
| 4671 "SunOS 5"*) | 4849 "SunOS 5"*) |
| 4672 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4850 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4673 echo "configure:4674: checking whether -R must be followed by a space" >&5 | 4851 echo "configure:4852: checking whether -R must be followed by a space" >&5 |
| 4674 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4852 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4675 cat > conftest.$ac_ext <<EOF | 4853 cat > conftest.$ac_ext <<EOF |
| 4676 #line 4677 "configure" | 4854 #line 4855 "configure" |
| 4677 #include "confdefs.h" | 4855 #include "confdefs.h" |
| 4678 | 4856 |
| 4679 int main() { | 4857 int main() { |
| 4680 | 4858 |
| 4681 ; return 0; } | 4859 ; return 0; } |
| 4682 EOF | 4860 EOF |
| 4683 if { (eval echo configure:4684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4861 if { (eval echo configure:4862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4684 rm -rf conftest* | 4862 rm -rf conftest* |
| 4685 ac_R_nospace=yes | 4863 ac_R_nospace=yes |
| 4686 else | 4864 else |
| 4687 echo "configure: failed program was:" >&5 | 4865 echo "configure: failed program was:" >&5 |
| 4688 cat conftest.$ac_ext >&5 | 4866 cat conftest.$ac_ext >&5 |
| 4694 echo "$ac_t""no" 1>&6 | 4872 echo "$ac_t""no" 1>&6 |
| 4695 X_LIBS="$X_LIBS -R$x_libraries" | 4873 X_LIBS="$X_LIBS -R$x_libraries" |
| 4696 else | 4874 else |
| 4697 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4875 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4698 cat > conftest.$ac_ext <<EOF | 4876 cat > conftest.$ac_ext <<EOF |
| 4699 #line 4700 "configure" | 4877 #line 4878 "configure" |
| 4700 #include "confdefs.h" | 4878 #include "confdefs.h" |
| 4701 | 4879 |
| 4702 int main() { | 4880 int main() { |
| 4703 | 4881 |
| 4704 ; return 0; } | 4882 ; return 0; } |
| 4705 EOF | 4883 EOF |
| 4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4884 if { (eval echo configure:4885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4707 rm -rf conftest* | 4885 rm -rf conftest* |
| 4708 ac_R_space=yes | 4886 ac_R_space=yes |
| 4709 else | 4887 else |
| 4710 echo "configure: failed program was:" >&5 | 4888 echo "configure: failed program was:" >&5 |
| 4711 cat conftest.$ac_ext >&5 | 4889 cat conftest.$ac_ext >&5 |
| 4737 if test "$with_dnet" = "no" ; then | 4915 if test "$with_dnet" = "no" ; then |
| 4738 ac_cv_lib_dnet_dnet_ntoa=no | 4916 ac_cv_lib_dnet_dnet_ntoa=no |
| 4739 else | 4917 else |
| 4740 | 4918 |
| 4741 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4919 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4742 echo "configure:4743: checking for dnet_ntoa in -ldnet" >&5 | 4920 echo "configure:4921: checking for dnet_ntoa in -ldnet" >&5 |
| 4743 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4921 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4744 | 4922 |
| 4745 xe_check_libs=" -ldnet " | 4923 xe_check_libs=" -ldnet " |
| 4746 cat > conftest.$ac_ext <<EOF | 4924 cat > conftest.$ac_ext <<EOF |
| 4747 #line 4748 "configure" | 4925 #line 4926 "configure" |
| 4748 #include "confdefs.h" | 4926 #include "confdefs.h" |
| 4749 /* Override any gcc2 internal prototype to avoid an error. */ | 4927 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4750 /* We use char because int might match the return type of a gcc2 | 4928 /* We use char because int might match the return type of a gcc2 |
| 4751 builtin and then its argument prototype would still apply. */ | 4929 builtin and then its argument prototype would still apply. */ |
| 4752 char dnet_ntoa(); | 4930 char dnet_ntoa(); |
| 4753 | 4931 |
| 4754 int main() { | 4932 int main() { |
| 4755 dnet_ntoa() | 4933 dnet_ntoa() |
| 4756 ; return 0; } | 4934 ; return 0; } |
| 4757 EOF | 4935 EOF |
| 4758 if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4936 if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4759 rm -rf conftest* | 4937 rm -rf conftest* |
| 4760 eval "ac_cv_lib_$ac_lib_var=yes" | 4938 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4761 else | 4939 else |
| 4762 echo "configure: failed program was:" >&5 | 4940 echo "configure: failed program was:" >&5 |
| 4763 cat conftest.$ac_ext >&5 | 4941 cat conftest.$ac_ext >&5 |
| 4777 fi | 4955 fi |
| 4778 | 4956 |
| 4779 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4957 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4780 | 4958 |
| 4781 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4959 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4782 echo "configure:4783: checking for dnet_ntoa in -ldnet_stub" >&5 | 4960 echo "configure:4961: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4783 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4961 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4784 | 4962 |
| 4785 xe_check_libs=" -ldnet_stub " | 4963 xe_check_libs=" -ldnet_stub " |
| 4786 cat > conftest.$ac_ext <<EOF | 4964 cat > conftest.$ac_ext <<EOF |
| 4787 #line 4788 "configure" | 4965 #line 4966 "configure" |
| 4788 #include "confdefs.h" | 4966 #include "confdefs.h" |
| 4789 /* Override any gcc2 internal prototype to avoid an error. */ | 4967 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4790 /* We use char because int might match the return type of a gcc2 | 4968 /* We use char because int might match the return type of a gcc2 |
| 4791 builtin and then its argument prototype would still apply. */ | 4969 builtin and then its argument prototype would still apply. */ |
| 4792 char dnet_ntoa(); | 4970 char dnet_ntoa(); |
| 4793 | 4971 |
| 4794 int main() { | 4972 int main() { |
| 4795 dnet_ntoa() | 4973 dnet_ntoa() |
| 4796 ; return 0; } | 4974 ; return 0; } |
| 4797 EOF | 4975 EOF |
| 4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4799 rm -rf conftest* | 4977 rm -rf conftest* |
| 4800 eval "ac_cv_lib_$ac_lib_var=yes" | 4978 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4801 else | 4979 else |
| 4802 echo "configure: failed program was:" >&5 | 4980 echo "configure: failed program was:" >&5 |
| 4803 cat conftest.$ac_ext >&5 | 4981 cat conftest.$ac_ext >&5 |
| 4822 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5000 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4823 # needs -lnsl. | 5001 # needs -lnsl. |
| 4824 # The nsl library prevents programs from opening the X display | 5002 # The nsl library prevents programs from opening the X display |
| 4825 # on Irix 5.2, according to dickey@clark.net. | 5003 # on Irix 5.2, according to dickey@clark.net. |
| 4826 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5004 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4827 echo "configure:4828: checking for gethostbyname" >&5 | 5005 echo "configure:5006: checking for gethostbyname" >&5 |
| 4828 | 5006 |
| 4829 cat > conftest.$ac_ext <<EOF | 5007 cat > conftest.$ac_ext <<EOF |
| 4830 #line 4831 "configure" | 5008 #line 5009 "configure" |
| 4831 #include "confdefs.h" | 5009 #include "confdefs.h" |
| 4832 /* System header to define __stub macros and hopefully few prototypes, | 5010 /* System header to define __stub macros and hopefully few prototypes, |
| 4833 which can conflict with char gethostbyname(); below. */ | 5011 which can conflict with char gethostbyname(); below. */ |
| 4834 #include <assert.h> | 5012 #include <assert.h> |
| 4835 /* Override any gcc2 internal prototype to avoid an error. */ | 5013 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4848 gethostbyname(); | 5026 gethostbyname(); |
| 4849 #endif | 5027 #endif |
| 4850 | 5028 |
| 4851 ; return 0; } | 5029 ; return 0; } |
| 4852 EOF | 5030 EOF |
| 4853 if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5031 if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4854 rm -rf conftest* | 5032 rm -rf conftest* |
| 4855 eval "ac_cv_func_gethostbyname=yes" | 5033 eval "ac_cv_func_gethostbyname=yes" |
| 4856 else | 5034 else |
| 4857 echo "configure: failed program was:" >&5 | 5035 echo "configure: failed program was:" >&5 |
| 4858 cat conftest.$ac_ext >&5 | 5036 cat conftest.$ac_ext >&5 |
| 4869 fi | 5047 fi |
| 4870 | 5048 |
| 4871 if test $ac_cv_func_gethostbyname = no; then | 5049 if test $ac_cv_func_gethostbyname = no; then |
| 4872 | 5050 |
| 4873 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5051 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4874 echo "configure:4875: checking for gethostbyname in -lnsl" >&5 | 5052 echo "configure:5053: checking for gethostbyname in -lnsl" >&5 |
| 4875 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5053 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4876 | 5054 |
| 4877 xe_check_libs=" -lnsl " | 5055 xe_check_libs=" -lnsl " |
| 4878 cat > conftest.$ac_ext <<EOF | 5056 cat > conftest.$ac_ext <<EOF |
| 4879 #line 4880 "configure" | 5057 #line 5058 "configure" |
| 4880 #include "confdefs.h" | 5058 #include "confdefs.h" |
| 4881 /* Override any gcc2 internal prototype to avoid an error. */ | 5059 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4882 /* We use char because int might match the return type of a gcc2 | 5060 /* We use char because int might match the return type of a gcc2 |
| 4883 builtin and then its argument prototype would still apply. */ | 5061 builtin and then its argument prototype would still apply. */ |
| 4884 char gethostbyname(); | 5062 char gethostbyname(); |
| 4885 | 5063 |
| 4886 int main() { | 5064 int main() { |
| 4887 gethostbyname() | 5065 gethostbyname() |
| 4888 ; return 0; } | 5066 ; return 0; } |
| 4889 EOF | 5067 EOF |
| 4890 if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5068 if { (eval echo configure:5069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4891 rm -rf conftest* | 5069 rm -rf conftest* |
| 4892 eval "ac_cv_lib_$ac_lib_var=yes" | 5070 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4893 else | 5071 else |
| 4894 echo "configure: failed program was:" >&5 | 5072 echo "configure: failed program was:" >&5 |
| 4895 cat conftest.$ac_ext >&5 | 5073 cat conftest.$ac_ext >&5 |
| 4915 # on later versions), says simon@lia.di.epfl.ch: it contains | 5093 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4916 # gethostby* variants that don't use the nameserver (or something). | 5094 # gethostby* variants that don't use the nameserver (or something). |
| 4917 # -lsocket must be given before -lnsl if both are needed. | 5095 # -lsocket must be given before -lnsl if both are needed. |
| 4918 # We assume that if connect needs -lnsl, so does gethostbyname. | 5096 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4919 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5097 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4920 echo "configure:4921: checking for connect" >&5 | 5098 echo "configure:5099: checking for connect" >&5 |
| 4921 | 5099 |
| 4922 cat > conftest.$ac_ext <<EOF | 5100 cat > conftest.$ac_ext <<EOF |
| 4923 #line 4924 "configure" | 5101 #line 5102 "configure" |
| 4924 #include "confdefs.h" | 5102 #include "confdefs.h" |
| 4925 /* System header to define __stub macros and hopefully few prototypes, | 5103 /* System header to define __stub macros and hopefully few prototypes, |
| 4926 which can conflict with char connect(); below. */ | 5104 which can conflict with char connect(); below. */ |
| 4927 #include <assert.h> | 5105 #include <assert.h> |
| 4928 /* Override any gcc2 internal prototype to avoid an error. */ | 5106 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4941 connect(); | 5119 connect(); |
| 4942 #endif | 5120 #endif |
| 4943 | 5121 |
| 4944 ; return 0; } | 5122 ; return 0; } |
| 4945 EOF | 5123 EOF |
| 4946 if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5124 if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4947 rm -rf conftest* | 5125 rm -rf conftest* |
| 4948 eval "ac_cv_func_connect=yes" | 5126 eval "ac_cv_func_connect=yes" |
| 4949 else | 5127 else |
| 4950 echo "configure: failed program was:" >&5 | 5128 echo "configure: failed program was:" >&5 |
| 4951 cat conftest.$ac_ext >&5 | 5129 cat conftest.$ac_ext >&5 |
| 4964 if test $ac_cv_func_connect = no; then | 5142 if test $ac_cv_func_connect = no; then |
| 4965 | 5143 |
| 4966 xe_msg_checking="for connect in -lsocket" | 5144 xe_msg_checking="for connect in -lsocket" |
| 4967 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5145 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4968 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5146 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4969 echo "configure:4970: checking "$xe_msg_checking"" >&5 | 5147 echo "configure:5148: checking "$xe_msg_checking"" >&5 |
| 4970 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5148 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4971 | 5149 |
| 4972 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5150 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4973 cat > conftest.$ac_ext <<EOF | 5151 cat > conftest.$ac_ext <<EOF |
| 4974 #line 4975 "configure" | 5152 #line 5153 "configure" |
| 4975 #include "confdefs.h" | 5153 #include "confdefs.h" |
| 4976 /* Override any gcc2 internal prototype to avoid an error. */ | 5154 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4977 /* We use char because int might match the return type of a gcc2 | 5155 /* We use char because int might match the return type of a gcc2 |
| 4978 builtin and then its argument prototype would still apply. */ | 5156 builtin and then its argument prototype would still apply. */ |
| 4979 char connect(); | 5157 char connect(); |
| 4980 | 5158 |
| 4981 int main() { | 5159 int main() { |
| 4982 connect() | 5160 connect() |
| 4983 ; return 0; } | 5161 ; return 0; } |
| 4984 EOF | 5162 EOF |
| 4985 if { (eval echo configure:4986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5163 if { (eval echo configure:5164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4986 rm -rf conftest* | 5164 rm -rf conftest* |
| 4987 eval "ac_cv_lib_$ac_lib_var=yes" | 5165 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4988 else | 5166 else |
| 4989 echo "configure: failed program was:" >&5 | 5167 echo "configure: failed program was:" >&5 |
| 4990 cat conftest.$ac_ext >&5 | 5168 cat conftest.$ac_ext >&5 |
| 5004 | 5182 |
| 5005 fi | 5183 fi |
| 5006 | 5184 |
| 5007 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5185 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 5008 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5186 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 5009 echo "configure:5010: checking for remove" >&5 | 5187 echo "configure:5188: checking for remove" >&5 |
| 5010 | 5188 |
| 5011 cat > conftest.$ac_ext <<EOF | 5189 cat > conftest.$ac_ext <<EOF |
| 5012 #line 5013 "configure" | 5190 #line 5191 "configure" |
| 5013 #include "confdefs.h" | 5191 #include "confdefs.h" |
| 5014 /* System header to define __stub macros and hopefully few prototypes, | 5192 /* System header to define __stub macros and hopefully few prototypes, |
| 5015 which can conflict with char remove(); below. */ | 5193 which can conflict with char remove(); below. */ |
| 5016 #include <assert.h> | 5194 #include <assert.h> |
| 5017 /* Override any gcc2 internal prototype to avoid an error. */ | 5195 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5030 remove(); | 5208 remove(); |
| 5031 #endif | 5209 #endif |
| 5032 | 5210 |
| 5033 ; return 0; } | 5211 ; return 0; } |
| 5034 EOF | 5212 EOF |
| 5035 if { (eval echo configure:5036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5213 if { (eval echo configure:5214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5036 rm -rf conftest* | 5214 rm -rf conftest* |
| 5037 eval "ac_cv_func_remove=yes" | 5215 eval "ac_cv_func_remove=yes" |
| 5038 else | 5216 else |
| 5039 echo "configure: failed program was:" >&5 | 5217 echo "configure: failed program was:" >&5 |
| 5040 cat conftest.$ac_ext >&5 | 5218 cat conftest.$ac_ext >&5 |
| 5051 fi | 5229 fi |
| 5052 | 5230 |
| 5053 if test $ac_cv_func_remove = no; then | 5231 if test $ac_cv_func_remove = no; then |
| 5054 | 5232 |
| 5055 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5233 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 5056 echo "configure:5057: checking for remove in -lposix" >&5 | 5234 echo "configure:5235: checking for remove in -lposix" >&5 |
| 5057 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5235 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 5058 | 5236 |
| 5059 xe_check_libs=" -lposix " | 5237 xe_check_libs=" -lposix " |
| 5060 cat > conftest.$ac_ext <<EOF | 5238 cat > conftest.$ac_ext <<EOF |
| 5061 #line 5062 "configure" | 5239 #line 5240 "configure" |
| 5062 #include "confdefs.h" | 5240 #include "confdefs.h" |
| 5063 /* Override any gcc2 internal prototype to avoid an error. */ | 5241 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5064 /* We use char because int might match the return type of a gcc2 | 5242 /* We use char because int might match the return type of a gcc2 |
| 5065 builtin and then its argument prototype would still apply. */ | 5243 builtin and then its argument prototype would still apply. */ |
| 5066 char remove(); | 5244 char remove(); |
| 5067 | 5245 |
| 5068 int main() { | 5246 int main() { |
| 5069 remove() | 5247 remove() |
| 5070 ; return 0; } | 5248 ; return 0; } |
| 5071 EOF | 5249 EOF |
| 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5250 if { (eval echo configure:5251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5073 rm -rf conftest* | 5251 rm -rf conftest* |
| 5074 eval "ac_cv_lib_$ac_lib_var=yes" | 5252 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5075 else | 5253 else |
| 5076 echo "configure: failed program was:" >&5 | 5254 echo "configure: failed program was:" >&5 |
| 5077 cat conftest.$ac_ext >&5 | 5255 cat conftest.$ac_ext >&5 |
| 5091 | 5269 |
| 5092 fi | 5270 fi |
| 5093 | 5271 |
| 5094 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5272 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 5095 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5273 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 5096 echo "configure:5097: checking for shmat" >&5 | 5274 echo "configure:5275: checking for shmat" >&5 |
| 5097 | 5275 |
| 5098 cat > conftest.$ac_ext <<EOF | 5276 cat > conftest.$ac_ext <<EOF |
| 5099 #line 5100 "configure" | 5277 #line 5278 "configure" |
| 5100 #include "confdefs.h" | 5278 #include "confdefs.h" |
| 5101 /* System header to define __stub macros and hopefully few prototypes, | 5279 /* System header to define __stub macros and hopefully few prototypes, |
| 5102 which can conflict with char shmat(); below. */ | 5280 which can conflict with char shmat(); below. */ |
| 5103 #include <assert.h> | 5281 #include <assert.h> |
| 5104 /* Override any gcc2 internal prototype to avoid an error. */ | 5282 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5117 shmat(); | 5295 shmat(); |
| 5118 #endif | 5296 #endif |
| 5119 | 5297 |
| 5120 ; return 0; } | 5298 ; return 0; } |
| 5121 EOF | 5299 EOF |
| 5122 if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5300 if { (eval echo configure:5301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5123 rm -rf conftest* | 5301 rm -rf conftest* |
| 5124 eval "ac_cv_func_shmat=yes" | 5302 eval "ac_cv_func_shmat=yes" |
| 5125 else | 5303 else |
| 5126 echo "configure: failed program was:" >&5 | 5304 echo "configure: failed program was:" >&5 |
| 5127 cat conftest.$ac_ext >&5 | 5305 cat conftest.$ac_ext >&5 |
| 5138 fi | 5316 fi |
| 5139 | 5317 |
| 5140 if test $ac_cv_func_shmat = no; then | 5318 if test $ac_cv_func_shmat = no; then |
| 5141 | 5319 |
| 5142 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5320 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 5143 echo "configure:5144: checking for shmat in -lipc" >&5 | 5321 echo "configure:5322: checking for shmat in -lipc" >&5 |
| 5144 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5322 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 5145 | 5323 |
| 5146 xe_check_libs=" -lipc " | 5324 xe_check_libs=" -lipc " |
| 5147 cat > conftest.$ac_ext <<EOF | 5325 cat > conftest.$ac_ext <<EOF |
| 5148 #line 5149 "configure" | 5326 #line 5327 "configure" |
| 5149 #include "confdefs.h" | 5327 #include "confdefs.h" |
| 5150 /* Override any gcc2 internal prototype to avoid an error. */ | 5328 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5151 /* We use char because int might match the return type of a gcc2 | 5329 /* We use char because int might match the return type of a gcc2 |
| 5152 builtin and then its argument prototype would still apply. */ | 5330 builtin and then its argument prototype would still apply. */ |
| 5153 char shmat(); | 5331 char shmat(); |
| 5154 | 5332 |
| 5155 int main() { | 5333 int main() { |
| 5156 shmat() | 5334 shmat() |
| 5157 ; return 0; } | 5335 ; return 0; } |
| 5158 EOF | 5336 EOF |
| 5159 if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5337 if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5160 rm -rf conftest* | 5338 rm -rf conftest* |
| 5161 eval "ac_cv_lib_$ac_lib_var=yes" | 5339 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5162 else | 5340 else |
| 5163 echo "configure: failed program was:" >&5 | 5341 echo "configure: failed program was:" >&5 |
| 5164 cat conftest.$ac_ext >&5 | 5342 cat conftest.$ac_ext >&5 |
| 5187 # we get undefined symbols. So assume we have SM if we have ICE. | 5365 # we get undefined symbols. So assume we have SM if we have ICE. |
| 5188 # These have to be linked with before -lX11, unlike the other | 5366 # These have to be linked with before -lX11, unlike the other |
| 5189 # libraries we check for below, so use a different variable. | 5367 # libraries we check for below, so use a different variable. |
| 5190 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5368 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 5191 | 5369 |
| 5192 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5370 xe_msg_checking="for IceConnectionNumber in -lICE" |
| 5193 echo "configure:5194: checking for IceConnectionNumber in -lICE" >&5 | 5371 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 5372 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
| 5373 echo "configure:5374: checking "$xe_msg_checking"" >&5 | |
| 5194 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5374 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 5195 | 5375 |
| 5196 xe_check_libs=" -lICE " | 5376 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
| 5197 cat > conftest.$ac_ext <<EOF | 5377 cat > conftest.$ac_ext <<EOF |
| 5198 #line 5199 "configure" | 5378 #line 5379 "configure" |
| 5199 #include "confdefs.h" | 5379 #include "confdefs.h" |
| 5200 /* Override any gcc2 internal prototype to avoid an error. */ | 5380 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5201 /* We use char because int might match the return type of a gcc2 | 5381 /* We use char because int might match the return type of a gcc2 |
| 5202 builtin and then its argument prototype would still apply. */ | 5382 builtin and then its argument prototype would still apply. */ |
| 5203 char IceConnectionNumber(); | 5383 char IceConnectionNumber(); |
| 5204 | 5384 |
| 5205 int main() { | 5385 int main() { |
| 5206 IceConnectionNumber() | 5386 IceConnectionNumber() |
| 5207 ; return 0; } | 5387 ; return 0; } |
| 5208 EOF | 5388 EOF |
| 5209 if { (eval echo configure:5210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5389 if { (eval echo configure:5390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5210 rm -rf conftest* | 5390 rm -rf conftest* |
| 5211 eval "ac_cv_lib_$ac_lib_var=yes" | 5391 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5212 else | 5392 else |
| 5213 echo "configure: failed program was:" >&5 | 5393 echo "configure: failed program was:" >&5 |
| 5214 cat conftest.$ac_ext >&5 | 5394 cat conftest.$ac_ext >&5 |
| 5302 for dir in `echo '' "$arg" | sed -e 's:^ ::' -e 's/^..//' -e 'y/:/ /'`; do | 5482 for dir in `echo '' "$arg" | sed -e 's:^ ::' -e 's/^..//' -e 'y/:/ /'`; do |
| 5303 { | 5483 { |
| 5304 xe_runpath_dir="$dir" | 5484 xe_runpath_dir="$dir" |
| 5305 test "$xe_runpath_dir" != "/lib" -a \ | 5485 test "$xe_runpath_dir" != "/lib" -a \ |
| 5306 "$xe_runpath_dir" != "/usr/lib" -a \ | 5486 "$xe_runpath_dir" != "/usr/lib" -a \ |
| 5307 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`" && \ | 5487 -n "`ls ${xe_runpath_dir}/*.s[ol] ${xe_runpath_dir}/*.so.* 2>/dev/null`" && \ |
| 5308 eval "$xe_add_unique_runpath_dir" | 5488 eval "$xe_add_unique_runpath_dir" |
| 5309 } | 5489 } |
| 5310 done ;; | 5490 done ;; |
| 5311 esac | 5491 esac |
| 5312 done | 5492 done |
| 5316 for arg in $ld_switch_site $ld_switch_x_site; do | 5496 for arg in $ld_switch_site $ld_switch_x_site; do |
| 5317 case "$arg" in -L*) { | 5497 case "$arg" in -L*) { |
| 5318 xe_runpath_dir=`echo '' "$arg" | sed -e 's:^ ::' -e 's/^-L//'` | 5498 xe_runpath_dir=`echo '' "$arg" | sed -e 's:^ ::' -e 's/^-L//'` |
| 5319 test "$xe_runpath_dir" != "/lib" -a \ | 5499 test "$xe_runpath_dir" != "/lib" -a \ |
| 5320 "$xe_runpath_dir" != "/usr/lib" -a \ | 5500 "$xe_runpath_dir" != "/usr/lib" -a \ |
| 5321 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`" && \ | 5501 -n "`ls ${xe_runpath_dir}/*.s[ol] ${xe_runpath_dir}/*.so.* 2>/dev/null`" && \ |
| 5322 eval "$xe_add_unique_runpath_dir" | 5502 eval "$xe_add_unique_runpath_dir" |
| 5323 };; esac | 5503 };; esac |
| 5324 done | 5504 done |
| 5325 if test "$opsys $need_motif" = "sol2 yes"; then | 5505 if test "$opsys $need_motif" = "sol2 yes"; then |
| 5326 xe_runpath_dir="/opt/SUNWdt/lib"; | 5506 xe_runpath_dir="/opt/SUNWdt/lib"; |
| 5373 EOF | 5553 EOF |
| 5374 } | 5554 } |
| 5375 | 5555 |
| 5376 | 5556 |
| 5377 echo "checking for X defines extracted by xmkmf" 1>&6 | 5557 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5378 echo "configure:5379: checking for X defines extracted by xmkmf" >&5 | 5558 echo "configure:5559: checking for X defines extracted by xmkmf" >&5 |
| 5379 rm -fr conftestdir | 5559 rm -fr conftestdir |
| 5380 if mkdir conftestdir; then | 5560 if mkdir conftestdir; then |
| 5381 cd conftestdir | 5561 cd conftestdir |
| 5382 cat > Imakefile <<'EOF' | 5562 cat > Imakefile <<'EOF' |
| 5383 xetest: | 5563 xetest: |
| 5405 done | 5585 done |
| 5406 fi | 5586 fi |
| 5407 | 5587 |
| 5408 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5588 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5409 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5589 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5410 echo "configure:5411: checking for X11/Intrinsic.h" >&5 | 5590 echo "configure:5591: checking for X11/Intrinsic.h" >&5 |
| 5411 | 5591 |
| 5412 cat > conftest.$ac_ext <<EOF | 5592 cat > conftest.$ac_ext <<EOF |
| 5413 #line 5414 "configure" | 5593 #line 5594 "configure" |
| 5414 #include "confdefs.h" | 5594 #include "confdefs.h" |
| 5415 #include <X11/Intrinsic.h> | 5595 #include <X11/Intrinsic.h> |
| 5416 EOF | 5596 EOF |
| 5417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5418 { (eval echo configure:5419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5598 { (eval echo configure:5599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5419 ac_err=`grep -v '^ *+' conftest.out` | 5599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5420 if test -z "$ac_err"; then | 5600 if test -z "$ac_err"; then |
| 5421 rm -rf conftest* | 5601 rm -rf conftest* |
| 5422 eval "ac_cv_header_$ac_safe=yes" | 5602 eval "ac_cv_header_$ac_safe=yes" |
| 5423 else | 5603 else |
| 5424 echo "$ac_err" >&5 | 5604 echo "$ac_err" >&5 |
| 5437 fi | 5617 fi |
| 5438 | 5618 |
| 5439 | 5619 |
| 5440 | 5620 |
| 5441 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5621 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5442 echo "configure:5443: checking for XOpenDisplay in -lX11" >&5 | 5622 echo "configure:5623: checking for XOpenDisplay in -lX11" >&5 |
| 5443 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5623 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5444 | 5624 |
| 5445 xe_check_libs=" -lX11 " | 5625 xe_check_libs=" -lX11 " |
| 5446 cat > conftest.$ac_ext <<EOF | 5626 cat > conftest.$ac_ext <<EOF |
| 5447 #line 5448 "configure" | 5627 #line 5628 "configure" |
| 5448 #include "confdefs.h" | 5628 #include "confdefs.h" |
| 5449 /* Override any gcc2 internal prototype to avoid an error. */ | 5629 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5450 /* We use char because int might match the return type of a gcc2 | 5630 /* We use char because int might match the return type of a gcc2 |
| 5451 builtin and then its argument prototype would still apply. */ | 5631 builtin and then its argument prototype would still apply. */ |
| 5452 char XOpenDisplay(); | 5632 char XOpenDisplay(); |
| 5453 | 5633 |
| 5454 int main() { | 5634 int main() { |
| 5455 XOpenDisplay() | 5635 XOpenDisplay() |
| 5456 ; return 0; } | 5636 ; return 0; } |
| 5457 EOF | 5637 EOF |
| 5458 if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5638 if { (eval echo configure:5639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5459 rm -rf conftest* | 5639 rm -rf conftest* |
| 5460 eval "ac_cv_lib_$ac_lib_var=yes" | 5640 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5461 else | 5641 else |
| 5462 echo "configure: failed program was:" >&5 | 5642 echo "configure: failed program was:" >&5 |
| 5463 cat conftest.$ac_ext >&5 | 5643 cat conftest.$ac_ext >&5 |
| 5478 if test "$have_lib_x11" != "yes"; then | 5658 if test "$have_lib_x11" != "yes"; then |
| 5479 | 5659 |
| 5480 xe_msg_checking="for XGetFontProperty in -lX11" | 5660 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5481 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5661 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5482 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5662 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5483 echo "configure:5484: checking "$xe_msg_checking"" >&5 | 5663 echo "configure:5664: checking "$xe_msg_checking"" >&5 |
| 5484 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5664 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5485 | 5665 |
| 5486 xe_check_libs=" -lX11 -b i486-linuxaout" | 5666 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5487 cat > conftest.$ac_ext <<EOF | 5667 cat > conftest.$ac_ext <<EOF |
| 5488 #line 5489 "configure" | 5668 #line 5669 "configure" |
| 5489 #include "confdefs.h" | 5669 #include "confdefs.h" |
| 5490 /* Override any gcc2 internal prototype to avoid an error. */ | 5670 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5491 /* We use char because int might match the return type of a gcc2 | 5671 /* We use char because int might match the return type of a gcc2 |
| 5492 builtin and then its argument prototype would still apply. */ | 5672 builtin and then its argument prototype would still apply. */ |
| 5493 char XGetFontProperty(); | 5673 char XGetFontProperty(); |
| 5494 | 5674 |
| 5495 int main() { | 5675 int main() { |
| 5496 XGetFontProperty() | 5676 XGetFontProperty() |
| 5497 ; return 0; } | 5677 ; return 0; } |
| 5498 EOF | 5678 EOF |
| 5499 if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5679 if { (eval echo configure:5680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5500 rm -rf conftest* | 5680 rm -rf conftest* |
| 5501 eval "ac_cv_lib_$ac_lib_var=yes" | 5681 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5502 else | 5682 else |
| 5503 echo "configure: failed program was:" >&5 | 5683 echo "configure: failed program was:" >&5 |
| 5504 cat conftest.$ac_ext >&5 | 5684 cat conftest.$ac_ext >&5 |
| 5521 libs_x="-lX11" | 5701 libs_x="-lX11" |
| 5522 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5702 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5523 | 5703 |
| 5524 | 5704 |
| 5525 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5705 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5526 echo "configure:5527: checking for XShapeSelectInput in -lXext" >&5 | 5706 echo "configure:5707: checking for XShapeSelectInput in -lXext" >&5 |
| 5527 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5707 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5528 | 5708 |
| 5529 xe_check_libs=" -lXext " | 5709 xe_check_libs=" -lXext " |
| 5530 cat > conftest.$ac_ext <<EOF | 5710 cat > conftest.$ac_ext <<EOF |
| 5531 #line 5532 "configure" | 5711 #line 5712 "configure" |
| 5532 #include "confdefs.h" | 5712 #include "confdefs.h" |
| 5533 /* Override any gcc2 internal prototype to avoid an error. */ | 5713 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5534 /* We use char because int might match the return type of a gcc2 | 5714 /* We use char because int might match the return type of a gcc2 |
| 5535 builtin and then its argument prototype would still apply. */ | 5715 builtin and then its argument prototype would still apply. */ |
| 5536 char XShapeSelectInput(); | 5716 char XShapeSelectInput(); |
| 5537 | 5717 |
| 5538 int main() { | 5718 int main() { |
| 5539 XShapeSelectInput() | 5719 XShapeSelectInput() |
| 5540 ; return 0; } | 5720 ; return 0; } |
| 5541 EOF | 5721 EOF |
| 5542 if { (eval echo configure:5543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5722 if { (eval echo configure:5723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5543 rm -rf conftest* | 5723 rm -rf conftest* |
| 5544 eval "ac_cv_lib_$ac_lib_var=yes" | 5724 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5545 else | 5725 else |
| 5546 echo "configure: failed program was:" >&5 | 5726 echo "configure: failed program was:" >&5 |
| 5547 cat conftest.$ac_ext >&5 | 5727 cat conftest.$ac_ext >&5 |
| 5560 | 5740 |
| 5561 | 5741 |
| 5562 | 5742 |
| 5563 | 5743 |
| 5564 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5744 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5565 echo "configure:5566: checking for XtOpenDisplay in -lXt" >&5 | 5745 echo "configure:5746: checking for XtOpenDisplay in -lXt" >&5 |
| 5566 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5746 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5567 | 5747 |
| 5568 xe_check_libs=" -lXt " | 5748 xe_check_libs=" -lXt " |
| 5569 cat > conftest.$ac_ext <<EOF | 5749 cat > conftest.$ac_ext <<EOF |
| 5570 #line 5571 "configure" | 5750 #line 5751 "configure" |
| 5571 #include "confdefs.h" | 5751 #include "confdefs.h" |
| 5572 /* Override any gcc2 internal prototype to avoid an error. */ | 5752 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5573 /* We use char because int might match the return type of a gcc2 | 5753 /* We use char because int might match the return type of a gcc2 |
| 5574 builtin and then its argument prototype would still apply. */ | 5754 builtin and then its argument prototype would still apply. */ |
| 5575 char XtOpenDisplay(); | 5755 char XtOpenDisplay(); |
| 5576 | 5756 |
| 5577 int main() { | 5757 int main() { |
| 5578 XtOpenDisplay() | 5758 XtOpenDisplay() |
| 5579 ; return 0; } | 5759 ; return 0; } |
| 5580 EOF | 5760 EOF |
| 5581 if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5582 rm -rf conftest* | 5762 rm -rf conftest* |
| 5583 eval "ac_cv_lib_$ac_lib_var=yes" | 5763 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5584 else | 5764 else |
| 5585 echo "configure: failed program was:" >&5 | 5765 echo "configure: failed program was:" >&5 |
| 5586 cat conftest.$ac_ext >&5 | 5766 cat conftest.$ac_ext >&5 |
| 5599 fi | 5779 fi |
| 5600 | 5780 |
| 5601 | 5781 |
| 5602 | 5782 |
| 5603 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5783 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5604 echo "configure:5605: checking the version of X11 being used" >&5 | 5784 echo "configure:5785: checking the version of X11 being used" >&5 |
| 5605 cat > conftest.$ac_ext <<EOF | 5785 cat > conftest.$ac_ext <<EOF |
| 5606 #line 5607 "configure" | 5786 #line 5787 "configure" |
| 5607 #include "confdefs.h" | 5787 #include "confdefs.h" |
| 5608 #include <X11/Intrinsic.h> | 5788 #include <X11/Intrinsic.h> |
| 5609 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5789 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5610 EOF | 5790 EOF |
| 5611 if { (eval echo configure:5612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5791 if { (eval echo configure:5792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 5612 then | 5792 then |
| 5613 ./conftest foobar; x11_release=$? | 5793 ./conftest foobar; x11_release=$? |
| 5614 else | 5794 else |
| 5615 conftest_rc="$?" | 5795 conftest_rc="$?" |
| 5616 echo "configure: failed program was:" >&5 | 5796 echo "configure: failed program was:" >&5 |
| 5631 | 5811 |
| 5632 for ac_hdr in X11/Xlocale.h | 5812 for ac_hdr in X11/Xlocale.h |
| 5633 do | 5813 do |
| 5634 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5635 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5815 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5636 echo "configure:5637: checking for $ac_hdr" >&5 | 5816 echo "configure:5817: checking for $ac_hdr" >&5 |
| 5637 | 5817 |
| 5638 cat > conftest.$ac_ext <<EOF | 5818 cat > conftest.$ac_ext <<EOF |
| 5639 #line 5640 "configure" | 5819 #line 5820 "configure" |
| 5640 #include "confdefs.h" | 5820 #include "confdefs.h" |
| 5641 #include <$ac_hdr> | 5821 #include <$ac_hdr> |
| 5642 EOF | 5822 EOF |
| 5643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5644 { (eval echo configure:5645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5824 { (eval echo configure:5825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5645 ac_err=`grep -v '^ *+' conftest.out` | 5825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5646 if test -z "$ac_err"; then | 5826 if test -z "$ac_err"; then |
| 5647 rm -rf conftest* | 5827 rm -rf conftest* |
| 5648 eval "ac_cv_header_$ac_safe=yes" | 5828 eval "ac_cv_header_$ac_safe=yes" |
| 5649 else | 5829 else |
| 5650 echo "$ac_err" >&5 | 5830 echo "$ac_err" >&5 |
| 5670 fi | 5850 fi |
| 5671 done | 5851 done |
| 5672 | 5852 |
| 5673 | 5853 |
| 5674 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5854 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5675 echo "configure:5676: checking for XFree86" >&5 | 5855 echo "configure:5856: checking for XFree86" >&5 |
| 5676 if test -d "/usr/X386/include" -o \ | 5856 if test -d "/usr/X386/include" -o \ |
| 5677 -f "/etc/XF86Config" -o \ | 5857 -f "/etc/XF86Config" -o \ |
| 5678 -f "/etc/X11/XF86Config" -o \ | 5858 -f "/etc/X11/XF86Config" -o \ |
| 5679 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5859 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5680 echo "$ac_t""yes" 1>&6 | 5860 echo "$ac_t""yes" 1>&6 |
| 5690 echo "$ac_t""no" 1>&6 | 5870 echo "$ac_t""no" 1>&6 |
| 5691 fi | 5871 fi |
| 5692 | 5872 |
| 5693 test -z "$with_xmu" && { | 5873 test -z "$with_xmu" && { |
| 5694 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5874 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5695 echo "configure:5696: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5875 echo "configure:5876: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5696 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5876 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5697 | 5877 |
| 5698 xe_check_libs=" -lXmu " | 5878 xe_check_libs=" -lXmu " |
| 5699 cat > conftest.$ac_ext <<EOF | 5879 cat > conftest.$ac_ext <<EOF |
| 5700 #line 5701 "configure" | 5880 #line 5881 "configure" |
| 5701 #include "confdefs.h" | 5881 #include "confdefs.h" |
| 5702 /* Override any gcc2 internal prototype to avoid an error. */ | 5882 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5703 /* We use char because int might match the return type of a gcc2 | 5883 /* We use char because int might match the return type of a gcc2 |
| 5704 builtin and then its argument prototype would still apply. */ | 5884 builtin and then its argument prototype would still apply. */ |
| 5705 char XmuReadBitmapDataFromFile(); | 5885 char XmuReadBitmapDataFromFile(); |
| 5706 | 5886 |
| 5707 int main() { | 5887 int main() { |
| 5708 XmuReadBitmapDataFromFile() | 5888 XmuReadBitmapDataFromFile() |
| 5709 ; return 0; } | 5889 ; return 0; } |
| 5710 EOF | 5890 EOF |
| 5711 if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5891 if { (eval echo configure:5892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5712 rm -rf conftest* | 5892 rm -rf conftest* |
| 5713 eval "ac_cv_lib_$ac_lib_var=yes" | 5893 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5714 else | 5894 else |
| 5715 echo "configure: failed program was:" >&5 | 5895 echo "configure: failed program was:" >&5 |
| 5716 cat conftest.$ac_ext >&5 | 5896 cat conftest.$ac_ext >&5 |
| 5745 | 5925 |
| 5746 fi | 5926 fi |
| 5747 | 5927 |
| 5748 | 5928 |
| 5749 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5929 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5750 echo "configure:5751: checking for main in -lXbsd" >&5 | 5930 echo "configure:5931: checking for main in -lXbsd" >&5 |
| 5751 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5931 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5752 | 5932 |
| 5753 xe_check_libs=" -lXbsd " | 5933 xe_check_libs=" -lXbsd " |
| 5754 cat > conftest.$ac_ext <<EOF | 5934 cat > conftest.$ac_ext <<EOF |
| 5755 #line 5756 "configure" | 5935 #line 5936 "configure" |
| 5756 #include "confdefs.h" | 5936 #include "confdefs.h" |
| 5757 | 5937 |
| 5758 int main() { | 5938 int main() { |
| 5759 main() | 5939 main() |
| 5760 ; return 0; } | 5940 ; return 0; } |
| 5761 EOF | 5941 EOF |
| 5762 if { (eval echo configure:5763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5942 if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5763 rm -rf conftest* | 5943 rm -rf conftest* |
| 5764 eval "ac_cv_lib_$ac_lib_var=yes" | 5944 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5765 else | 5945 else |
| 5766 echo "configure: failed program was:" >&5 | 5946 echo "configure: failed program was:" >&5 |
| 5767 cat conftest.$ac_ext >&5 | 5947 cat conftest.$ac_ext >&5 |
| 5794 fi | 5974 fi |
| 5795 | 5975 |
| 5796 fi | 5976 fi |
| 5797 if test "$with_msw" != "no"; then | 5977 if test "$with_msw" != "no"; then |
| 5798 echo "checking for MS-Windows" 1>&6 | 5978 echo "checking for MS-Windows" 1>&6 |
| 5799 echo "configure:5800: checking for MS-Windows" >&5 | 5979 echo "configure:5980: checking for MS-Windows" >&5 |
| 5800 | 5980 |
| 5801 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5981 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 5802 echo "configure:5803: checking for main in -lgdi32" >&5 | 5982 echo "configure:5983: checking for main in -lgdi32" >&5 |
| 5803 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5983 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 5804 | 5984 |
| 5805 xe_check_libs=" -lgdi32 " | 5985 xe_check_libs=" -lgdi32 " |
| 5806 cat > conftest.$ac_ext <<EOF | 5986 cat > conftest.$ac_ext <<EOF |
| 5807 #line 5808 "configure" | 5987 #line 5988 "configure" |
| 5808 #include "confdefs.h" | 5988 #include "confdefs.h" |
| 5809 | 5989 |
| 5810 int main() { | 5990 int main() { |
| 5811 main() | 5991 main() |
| 5812 ; return 0; } | 5992 ; return 0; } |
| 5813 EOF | 5993 EOF |
| 5814 if { (eval echo configure:5815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5994 if { (eval echo configure:5995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5815 rm -rf conftest* | 5995 rm -rf conftest* |
| 5816 eval "ac_cv_lib_$ac_lib_var=yes" | 5996 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5817 else | 5997 else |
| 5818 echo "configure: failed program was:" >&5 | 5998 echo "configure: failed program was:" >&5 |
| 5819 cat conftest.$ac_ext >&5 | 5999 cat conftest.$ac_ext >&5 |
| 5874 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6054 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5875 echo " xemacs will be linked with \"dialog-msw.o\"" | 6055 echo " xemacs will be linked with \"dialog-msw.o\"" |
| 5876 fi | 6056 fi |
| 5877 fi | 6057 fi |
| 5878 cat > conftest.$ac_ext <<EOF | 6058 cat > conftest.$ac_ext <<EOF |
| 5879 #line 5880 "configure" | 6059 #line 6060 "configure" |
| 5880 #include "confdefs.h" | 6060 #include "confdefs.h" |
| 5881 #include <fcntl.h> | 6061 #include <fcntl.h> |
| 5882 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6062 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 5883 EOF | 6063 EOF |
| 5884 if { (eval echo configure:5885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6064 if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 5885 then | 6065 then |
| 5886 { test "$extra_verbose" = "yes" && cat << \EOF | 6066 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5887 Defining HAVE_MSG_SELECT | 6067 Defining HAVE_MSG_SELECT |
| 5888 EOF | 6068 EOF |
| 5889 cat >> confdefs.h <<\EOF | 6069 cat >> confdefs.h <<\EOF |
| 5958 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6138 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5959 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6139 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5960 esac | 6140 esac |
| 5961 | 6141 |
| 5962 echo "checking for session-management option" 1>&6 | 6142 echo "checking for session-management option" 1>&6 |
| 5963 echo "configure:5964: checking for session-management option" >&5; | 6143 echo "configure:6144: checking for session-management option" >&5; |
| 5964 if test "$with_session" != "no"; then | 6144 if test "$with_session" != "no"; then |
| 5965 { test "$extra_verbose" = "yes" && cat << \EOF | 6145 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5966 Defining HAVE_SESSION | 6146 Defining HAVE_SESSION |
| 5967 EOF | 6147 EOF |
| 5968 cat >> confdefs.h <<\EOF | 6148 cat >> confdefs.h <<\EOF |
| 5973 fi | 6153 fi |
| 5974 | 6154 |
| 5975 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6155 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5976 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6156 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5977 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6157 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5978 echo "configure:5979: checking for X11/Xauth.h" >&5 | 6158 echo "configure:6159: checking for X11/Xauth.h" >&5 |
| 5979 | 6159 |
| 5980 cat > conftest.$ac_ext <<EOF | 6160 cat > conftest.$ac_ext <<EOF |
| 5981 #line 5982 "configure" | 6161 #line 6162 "configure" |
| 5982 #include "confdefs.h" | 6162 #include "confdefs.h" |
| 5983 #include <X11/Xauth.h> | 6163 #include <X11/Xauth.h> |
| 5984 EOF | 6164 EOF |
| 5985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5986 { (eval echo configure:5987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6166 { (eval echo configure:6167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5987 ac_err=`grep -v '^ *+' conftest.out` | 6167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5988 if test -z "$ac_err"; then | 6168 if test -z "$ac_err"; then |
| 5989 rm -rf conftest* | 6169 rm -rf conftest* |
| 5990 eval "ac_cv_header_$ac_safe=yes" | 6170 eval "ac_cv_header_$ac_safe=yes" |
| 5991 else | 6171 else |
| 5992 echo "$ac_err" >&5 | 6172 echo "$ac_err" >&5 |
| 6004 with_xauth=no | 6184 with_xauth=no |
| 6005 fi | 6185 fi |
| 6006 } | 6186 } |
| 6007 test -z "$with_xauth" && { | 6187 test -z "$with_xauth" && { |
| 6008 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6188 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 6009 echo "configure:6010: checking for XauGetAuthByAddr in -lXau" >&5 | 6189 echo "configure:6190: checking for XauGetAuthByAddr in -lXau" >&5 |
| 6010 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6190 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 6011 | 6191 |
| 6012 xe_check_libs=" -lXau " | 6192 xe_check_libs=" -lXau " |
| 6013 cat > conftest.$ac_ext <<EOF | 6193 cat > conftest.$ac_ext <<EOF |
| 6014 #line 6015 "configure" | 6194 #line 6195 "configure" |
| 6015 #include "confdefs.h" | 6195 #include "confdefs.h" |
| 6016 /* Override any gcc2 internal prototype to avoid an error. */ | 6196 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6017 /* We use char because int might match the return type of a gcc2 | 6197 /* We use char because int might match the return type of a gcc2 |
| 6018 builtin and then its argument prototype would still apply. */ | 6198 builtin and then its argument prototype would still apply. */ |
| 6019 char XauGetAuthByAddr(); | 6199 char XauGetAuthByAddr(); |
| 6020 | 6200 |
| 6021 int main() { | 6201 int main() { |
| 6022 XauGetAuthByAddr() | 6202 XauGetAuthByAddr() |
| 6023 ; return 0; } | 6203 ; return 0; } |
| 6024 EOF | 6204 EOF |
| 6025 if { (eval echo configure:6026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6205 if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6026 rm -rf conftest* | 6206 rm -rf conftest* |
| 6027 eval "ac_cv_lib_$ac_lib_var=yes" | 6207 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6028 else | 6208 else |
| 6029 echo "configure: failed program was:" >&5 | 6209 echo "configure: failed program was:" >&5 |
| 6030 cat conftest.$ac_ext >&5 | 6210 cat conftest.$ac_ext >&5 |
| 6065 | 6245 |
| 6066 if test "$with_tooltalk" != "no" ; then | 6246 if test "$with_tooltalk" != "no" ; then |
| 6067 for dir in "" "Tt/" "desktop/" ; do | 6247 for dir in "" "Tt/" "desktop/" ; do |
| 6068 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6248 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 6069 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6249 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 6070 echo "configure:6071: checking for ${dir}tt_c.h" >&5 | 6250 echo "configure:6251: checking for ${dir}tt_c.h" >&5 |
| 6071 | 6251 |
| 6072 cat > conftest.$ac_ext <<EOF | 6252 cat > conftest.$ac_ext <<EOF |
| 6073 #line 6074 "configure" | 6253 #line 6254 "configure" |
| 6074 #include "confdefs.h" | 6254 #include "confdefs.h" |
| 6075 #include <${dir}tt_c.h> | 6255 #include <${dir}tt_c.h> |
| 6076 EOF | 6256 EOF |
| 6077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6078 { (eval echo configure:6079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6258 { (eval echo configure:6259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6079 ac_err=`grep -v '^ *+' conftest.out` | 6259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6080 if test -z "$ac_err"; then | 6260 if test -z "$ac_err"; then |
| 6081 rm -rf conftest* | 6261 rm -rf conftest* |
| 6082 eval "ac_cv_header_$ac_safe=yes" | 6262 eval "ac_cv_header_$ac_safe=yes" |
| 6083 else | 6263 else |
| 6084 echo "$ac_err" >&5 | 6264 echo "$ac_err" >&5 |
| 6109 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6289 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 6110 | 6290 |
| 6111 xe_msg_checking="for tt_message_create in -ltt" | 6291 xe_msg_checking="for tt_message_create in -ltt" |
| 6112 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6292 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6113 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6293 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6114 echo "configure:6115: checking "$xe_msg_checking"" >&5 | 6294 echo "configure:6295: checking "$xe_msg_checking"" >&5 |
| 6115 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6295 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 6116 | 6296 |
| 6117 xe_check_libs=" -ltt $extra_libs" | 6297 xe_check_libs=" -ltt $extra_libs" |
| 6118 cat > conftest.$ac_ext <<EOF | 6298 cat > conftest.$ac_ext <<EOF |
| 6119 #line 6120 "configure" | 6299 #line 6300 "configure" |
| 6120 #include "confdefs.h" | 6300 #include "confdefs.h" |
| 6121 /* Override any gcc2 internal prototype to avoid an error. */ | 6301 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6122 /* We use char because int might match the return type of a gcc2 | 6302 /* We use char because int might match the return type of a gcc2 |
| 6123 builtin and then its argument prototype would still apply. */ | 6303 builtin and then its argument prototype would still apply. */ |
| 6124 char tt_message_create(); | 6304 char tt_message_create(); |
| 6125 | 6305 |
| 6126 int main() { | 6306 int main() { |
| 6127 tt_message_create() | 6307 tt_message_create() |
| 6128 ; return 0; } | 6308 ; return 0; } |
| 6129 EOF | 6309 EOF |
| 6130 if { (eval echo configure:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6310 if { (eval echo configure:6311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6131 rm -rf conftest* | 6311 rm -rf conftest* |
| 6132 eval "ac_cv_lib_$ac_lib_var=yes" | 6312 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6133 else | 6313 else |
| 6134 echo "configure: failed program was:" >&5 | 6314 echo "configure: failed program was:" >&5 |
| 6135 cat conftest.$ac_ext >&5 | 6315 cat conftest.$ac_ext >&5 |
| 6182 fi | 6362 fi |
| 6183 fi | 6363 fi |
| 6184 | 6364 |
| 6185 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6365 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 6186 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6366 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 6187 echo "configure:6188: checking for Dt/Dt.h" >&5 | 6367 echo "configure:6368: checking for Dt/Dt.h" >&5 |
| 6188 | 6368 |
| 6189 cat > conftest.$ac_ext <<EOF | 6369 cat > conftest.$ac_ext <<EOF |
| 6190 #line 6191 "configure" | 6370 #line 6371 "configure" |
| 6191 #include "confdefs.h" | 6371 #include "confdefs.h" |
| 6192 #include <Dt/Dt.h> | 6372 #include <Dt/Dt.h> |
| 6193 EOF | 6373 EOF |
| 6194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6195 { (eval echo configure:6196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6375 { (eval echo configure:6376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6196 ac_err=`grep -v '^ *+' conftest.out` | 6376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6197 if test -z "$ac_err"; then | 6377 if test -z "$ac_err"; then |
| 6198 rm -rf conftest* | 6378 rm -rf conftest* |
| 6199 eval "ac_cv_header_$ac_safe=yes" | 6379 eval "ac_cv_header_$ac_safe=yes" |
| 6200 else | 6380 else |
| 6201 echo "$ac_err" >&5 | 6381 echo "$ac_err" >&5 |
| 6213 with_cde=no | 6393 with_cde=no |
| 6214 fi | 6394 fi |
| 6215 } | 6395 } |
| 6216 test -z "$with_cde" && { | 6396 test -z "$with_cde" && { |
| 6217 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6397 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 6218 echo "configure:6219: checking for DtDndDragStart in -lDtSvc" >&5 | 6398 echo "configure:6399: checking for DtDndDragStart in -lDtSvc" >&5 |
| 6219 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6399 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 6220 | 6400 |
| 6221 xe_check_libs=" -lDtSvc " | 6401 xe_check_libs=" -lDtSvc " |
| 6222 cat > conftest.$ac_ext <<EOF | 6402 cat > conftest.$ac_ext <<EOF |
| 6223 #line 6224 "configure" | 6403 #line 6404 "configure" |
| 6224 #include "confdefs.h" | 6404 #include "confdefs.h" |
| 6225 /* Override any gcc2 internal prototype to avoid an error. */ | 6405 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6226 /* We use char because int might match the return type of a gcc2 | 6406 /* We use char because int might match the return type of a gcc2 |
| 6227 builtin and then its argument prototype would still apply. */ | 6407 builtin and then its argument prototype would still apply. */ |
| 6228 char DtDndDragStart(); | 6408 char DtDndDragStart(); |
| 6229 | 6409 |
| 6230 int main() { | 6410 int main() { |
| 6231 DtDndDragStart() | 6411 DtDndDragStart() |
| 6232 ; return 0; } | 6412 ; return 0; } |
| 6233 EOF | 6413 EOF |
| 6234 if { (eval echo configure:6235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6414 if { (eval echo configure:6415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6235 rm -rf conftest* | 6415 rm -rf conftest* |
| 6236 eval "ac_cv_lib_$ac_lib_var=yes" | 6416 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6237 else | 6417 else |
| 6238 echo "configure: failed program was:" >&5 | 6418 echo "configure: failed program was:" >&5 |
| 6239 cat conftest.$ac_ext >&5 | 6419 cat conftest.$ac_ext >&5 |
| 6298 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6478 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
| 6299 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6479 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
| 6300 fi | 6480 fi |
| 6301 | 6481 |
| 6302 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6482 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 6303 echo "configure:6304: checking if drag and drop API is needed" >&5 | 6483 echo "configure:6484: checking if drag and drop API is needed" >&5 |
| 6304 if test "$with_dragndrop" != "no" ; then | 6484 if test "$with_dragndrop" != "no" ; then |
| 6305 if test -n "$dragndrop_proto" ; then | 6485 if test -n "$dragndrop_proto" ; then |
| 6306 with_dragndrop=yes | 6486 with_dragndrop=yes |
| 6307 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6487 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 6308 { test "$extra_verbose" = "yes" && cat << \EOF | 6488 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6319 echo "$ac_t""no" 1>&6 | 6499 echo "$ac_t""no" 1>&6 |
| 6320 fi | 6500 fi |
| 6321 fi | 6501 fi |
| 6322 | 6502 |
| 6323 echo "checking for LDAP" 1>&6 | 6503 echo "checking for LDAP" 1>&6 |
| 6324 echo "configure:6325: checking for LDAP" >&5 | 6504 echo "configure:6505: checking for LDAP" >&5 |
| 6325 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6505 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 6326 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6506 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 6327 echo "configure:6328: checking for ldap.h" >&5 | 6507 echo "configure:6508: checking for ldap.h" >&5 |
| 6328 | 6508 |
| 6329 cat > conftest.$ac_ext <<EOF | 6509 cat > conftest.$ac_ext <<EOF |
| 6330 #line 6331 "configure" | 6510 #line 6511 "configure" |
| 6331 #include "confdefs.h" | 6511 #include "confdefs.h" |
| 6332 #include <ldap.h> | 6512 #include <ldap.h> |
| 6333 EOF | 6513 EOF |
| 6334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6335 { (eval echo configure:6336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6515 { (eval echo configure:6516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6336 ac_err=`grep -v '^ *+' conftest.out` | 6516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6337 if test -z "$ac_err"; then | 6517 if test -z "$ac_err"; then |
| 6338 rm -rf conftest* | 6518 rm -rf conftest* |
| 6339 eval "ac_cv_header_$ac_safe=yes" | 6519 eval "ac_cv_header_$ac_safe=yes" |
| 6340 else | 6520 else |
| 6341 echo "$ac_err" >&5 | 6521 echo "$ac_err" >&5 |
| 6353 with_ldap=no | 6533 with_ldap=no |
| 6354 fi | 6534 fi |
| 6355 } | 6535 } |
| 6356 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6536 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 6357 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6537 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 6358 echo "configure:6359: checking for lber.h" >&5 | 6538 echo "configure:6539: checking for lber.h" >&5 |
| 6359 | 6539 |
| 6360 cat > conftest.$ac_ext <<EOF | 6540 cat > conftest.$ac_ext <<EOF |
| 6361 #line 6362 "configure" | 6541 #line 6542 "configure" |
| 6362 #include "confdefs.h" | 6542 #include "confdefs.h" |
| 6363 #include <lber.h> | 6543 #include <lber.h> |
| 6364 EOF | 6544 EOF |
| 6365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6366 { (eval echo configure:6367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6546 { (eval echo configure:6547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6367 ac_err=`grep -v '^ *+' conftest.out` | 6547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6368 if test -z "$ac_err"; then | 6548 if test -z "$ac_err"; then |
| 6369 rm -rf conftest* | 6549 rm -rf conftest* |
| 6370 eval "ac_cv_header_$ac_safe=yes" | 6550 eval "ac_cv_header_$ac_safe=yes" |
| 6371 else | 6551 else |
| 6372 echo "$ac_err" >&5 | 6552 echo "$ac_err" >&5 |
| 6387 if test "$with_ldap" != "no"; then | 6567 if test "$with_ldap" != "no"; then |
| 6388 test -z "$with_umich_ldap" && { | 6568 test -z "$with_umich_ldap" && { |
| 6389 xe_msg_checking="for ldap_open in -lldap" | 6569 xe_msg_checking="for ldap_open in -lldap" |
| 6390 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6570 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 6391 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6571 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6392 echo "configure:6393: checking "$xe_msg_checking"" >&5 | 6572 echo "configure:6573: checking "$xe_msg_checking"" >&5 |
| 6393 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6573 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6394 | 6574 |
| 6395 xe_check_libs=" -lldap -llber" | 6575 xe_check_libs=" -lldap -llber" |
| 6396 cat > conftest.$ac_ext <<EOF | 6576 cat > conftest.$ac_ext <<EOF |
| 6397 #line 6398 "configure" | 6577 #line 6578 "configure" |
| 6398 #include "confdefs.h" | 6578 #include "confdefs.h" |
| 6399 /* Override any gcc2 internal prototype to avoid an error. */ | 6579 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6400 /* We use char because int might match the return type of a gcc2 | 6580 /* We use char because int might match the return type of a gcc2 |
| 6401 builtin and then its argument prototype would still apply. */ | 6581 builtin and then its argument prototype would still apply. */ |
| 6402 char ldap_open(); | 6582 char ldap_open(); |
| 6403 | 6583 |
| 6404 int main() { | 6584 int main() { |
| 6405 ldap_open() | 6585 ldap_open() |
| 6406 ; return 0; } | 6586 ; return 0; } |
| 6407 EOF | 6587 EOF |
| 6408 if { (eval echo configure:6409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6588 if { (eval echo configure:6589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6409 rm -rf conftest* | 6589 rm -rf conftest* |
| 6410 eval "ac_cv_lib_$ac_lib_var=yes" | 6590 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6411 else | 6591 else |
| 6412 echo "configure: failed program was:" >&5 | 6592 echo "configure: failed program was:" >&5 |
| 6413 cat conftest.$ac_ext >&5 | 6593 cat conftest.$ac_ext >&5 |
| 6426 fi | 6606 fi |
| 6427 | 6607 |
| 6428 } | 6608 } |
| 6429 test "$with_umich_ldap" = "no" && { | 6609 test "$with_umich_ldap" = "no" && { |
| 6430 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6610 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
| 6431 echo "configure:6432: checking for ldap_set_option in -lldap10" >&5 | 6611 echo "configure:6612: checking for ldap_set_option in -lldap10" >&5 |
| 6432 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6612 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
| 6433 | 6613 |
| 6434 xe_check_libs=" -lldap10 " | 6614 xe_check_libs=" -lldap10 " |
| 6435 cat > conftest.$ac_ext <<EOF | 6615 cat > conftest.$ac_ext <<EOF |
| 6436 #line 6437 "configure" | 6616 #line 6617 "configure" |
| 6437 #include "confdefs.h" | 6617 #include "confdefs.h" |
| 6438 /* Override any gcc2 internal prototype to avoid an error. */ | 6618 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6439 /* We use char because int might match the return type of a gcc2 | 6619 /* We use char because int might match the return type of a gcc2 |
| 6440 builtin and then its argument prototype would still apply. */ | 6620 builtin and then its argument prototype would still apply. */ |
| 6441 char ldap_set_option(); | 6621 char ldap_set_option(); |
| 6442 | 6622 |
| 6443 int main() { | 6623 int main() { |
| 6444 ldap_set_option() | 6624 ldap_set_option() |
| 6445 ; return 0; } | 6625 ; return 0; } |
| 6446 EOF | 6626 EOF |
| 6447 if { (eval echo configure:6448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6448 rm -rf conftest* | 6628 rm -rf conftest* |
| 6449 eval "ac_cv_lib_$ac_lib_var=yes" | 6629 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6450 else | 6630 else |
| 6451 echo "configure: failed program was:" >&5 | 6631 echo "configure: failed program was:" >&5 |
| 6452 cat conftest.$ac_ext >&5 | 6632 cat conftest.$ac_ext >&5 |
| 6506 fi | 6686 fi |
| 6507 | 6687 |
| 6508 | 6688 |
| 6509 if test "$window_system" != "none"; then | 6689 if test "$window_system" != "none"; then |
| 6510 echo "checking for graphics libraries" 1>&6 | 6690 echo "checking for graphics libraries" 1>&6 |
| 6511 echo "configure:6512: checking for graphics libraries" >&5 | 6691 echo "configure:6692: checking for graphics libraries" >&5 |
| 6512 | 6692 |
| 6513 xpm_problem="" | 6693 xpm_problem="" |
| 6514 if test -z "$with_xpm"; then | 6694 if test -z "$with_xpm"; then |
| 6515 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6695 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6516 echo "configure:6517: checking for Xpm - no older than 3.4f" >&5 | 6696 echo "configure:6697: checking for Xpm - no older than 3.4f" >&5 |
| 6517 xe_check_libs=-lXpm | 6697 xe_check_libs=-lXpm |
| 6518 cat > conftest.$ac_ext <<EOF | 6698 cat > conftest.$ac_ext <<EOF |
| 6519 #line 6520 "configure" | 6699 #line 6700 "configure" |
| 6520 #include "confdefs.h" | 6700 #include "confdefs.h" |
| 6521 #include <X11/xpm.h> | 6701 #include <X11/xpm.h> |
| 6522 int main(int c, char **v) { | 6702 int main(int c, char **v) { |
| 6523 return c == 1 ? 0 : | 6703 return c == 1 ? 0 : |
| 6524 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6704 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6525 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6705 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 6526 EOF | 6706 EOF |
| 6527 if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6528 then | 6708 then |
| 6529 ./conftest dummy_arg; xpm_status=$?; | 6709 ./conftest dummy_arg; xpm_status=$?; |
| 6530 if test "$xpm_status" = "0"; then | 6710 if test "$xpm_status" = "0"; then |
| 6531 with_xpm=yes; | 6711 with_xpm=yes; |
| 6532 else | 6712 else |
| 6564 EOF | 6744 EOF |
| 6565 } | 6745 } |
| 6566 | 6746 |
| 6567 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6747 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6568 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6748 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 6569 echo "configure:6570: checking for \"FOR_MSW\" xpm" >&5 | 6749 echo "configure:6750: checking for \"FOR_MSW\" xpm" >&5 |
| 6570 xe_check_libs=-lXpm | 6750 xe_check_libs=-lXpm |
| 6571 cat > conftest.$ac_ext <<EOF | 6751 cat > conftest.$ac_ext <<EOF |
| 6572 #line 6573 "configure" | 6752 #line 6753 "configure" |
| 6573 #include "confdefs.h" | 6753 #include "confdefs.h" |
| 6574 | 6754 |
| 6575 int main() { | 6755 int main() { |
| 6576 XpmCreatePixmapFromData() | 6756 XpmCreatePixmapFromData() |
| 6577 ; return 0; } | 6757 ; return 0; } |
| 6578 EOF | 6758 EOF |
| 6579 if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6759 if { (eval echo configure:6760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6580 rm -rf conftest* | 6760 rm -rf conftest* |
| 6581 xpm_for_msw=no | 6761 xpm_for_msw=no |
| 6582 else | 6762 else |
| 6583 echo "configure: failed program was:" >&5 | 6763 echo "configure: failed program was:" >&5 |
| 6584 cat conftest.$ac_ext >&5 | 6764 cat conftest.$ac_ext >&5 |
| 6616 fi | 6796 fi |
| 6617 | 6797 |
| 6618 if test "$with_png $with_tiff" != "no no"; then | 6798 if test "$with_png $with_tiff" != "no no"; then |
| 6619 | 6799 |
| 6620 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6800 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 6621 echo "configure:6622: checking for inflate in -lc" >&5 | 6801 echo "configure:6802: checking for inflate in -lc" >&5 |
| 6622 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6802 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 6623 | 6803 |
| 6624 xe_check_libs=" -lc " | 6804 xe_check_libs=" -lc " |
| 6625 cat > conftest.$ac_ext <<EOF | 6805 cat > conftest.$ac_ext <<EOF |
| 6626 #line 6627 "configure" | 6806 #line 6807 "configure" |
| 6627 #include "confdefs.h" | 6807 #include "confdefs.h" |
| 6628 /* Override any gcc2 internal prototype to avoid an error. */ | 6808 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6629 /* We use char because int might match the return type of a gcc2 | 6809 /* We use char because int might match the return type of a gcc2 |
| 6630 builtin and then its argument prototype would still apply. */ | 6810 builtin and then its argument prototype would still apply. */ |
| 6631 char inflate(); | 6811 char inflate(); |
| 6632 | 6812 |
| 6633 int main() { | 6813 int main() { |
| 6634 inflate() | 6814 inflate() |
| 6635 ; return 0; } | 6815 ; return 0; } |
| 6636 EOF | 6816 EOF |
| 6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6638 rm -rf conftest* | 6818 rm -rf conftest* |
| 6639 eval "ac_cv_lib_$ac_lib_var=yes" | 6819 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6640 else | 6820 else |
| 6641 echo "configure: failed program was:" >&5 | 6821 echo "configure: failed program was:" >&5 |
| 6642 cat conftest.$ac_ext >&5 | 6822 cat conftest.$ac_ext >&5 |
| 6651 : | 6831 : |
| 6652 else | 6832 else |
| 6653 echo "$ac_t""no" 1>&6 | 6833 echo "$ac_t""no" 1>&6 |
| 6654 | 6834 |
| 6655 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6835 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 6656 echo "configure:6657: checking for inflate in -lz" >&5 | 6836 echo "configure:6837: checking for inflate in -lz" >&5 |
| 6657 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6837 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 6658 | 6838 |
| 6659 xe_check_libs=" -lz " | 6839 xe_check_libs=" -lz " |
| 6660 cat > conftest.$ac_ext <<EOF | 6840 cat > conftest.$ac_ext <<EOF |
| 6661 #line 6662 "configure" | 6841 #line 6842 "configure" |
| 6662 #include "confdefs.h" | 6842 #include "confdefs.h" |
| 6663 /* Override any gcc2 internal prototype to avoid an error. */ | 6843 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6664 /* We use char because int might match the return type of a gcc2 | 6844 /* We use char because int might match the return type of a gcc2 |
| 6665 builtin and then its argument prototype would still apply. */ | 6845 builtin and then its argument prototype would still apply. */ |
| 6666 char inflate(); | 6846 char inflate(); |
| 6667 | 6847 |
| 6668 int main() { | 6848 int main() { |
| 6669 inflate() | 6849 inflate() |
| 6670 ; return 0; } | 6850 ; return 0; } |
| 6671 EOF | 6851 EOF |
| 6672 if { (eval echo configure:6673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6852 if { (eval echo configure:6853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6673 rm -rf conftest* | 6853 rm -rf conftest* |
| 6674 eval "ac_cv_lib_$ac_lib_var=yes" | 6854 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6675 else | 6855 else |
| 6676 echo "configure: failed program was:" >&5 | 6856 echo "configure: failed program was:" >&5 |
| 6677 cat conftest.$ac_ext >&5 | 6857 cat conftest.$ac_ext >&5 |
| 6686 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6866 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 6687 else | 6867 else |
| 6688 echo "$ac_t""no" 1>&6 | 6868 echo "$ac_t""no" 1>&6 |
| 6689 | 6869 |
| 6690 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6870 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 6691 echo "configure:6692: checking for inflate in -lgz" >&5 | 6871 echo "configure:6872: checking for inflate in -lgz" >&5 |
| 6692 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6872 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 6693 | 6873 |
| 6694 xe_check_libs=" -lgz " | 6874 xe_check_libs=" -lgz " |
| 6695 cat > conftest.$ac_ext <<EOF | 6875 cat > conftest.$ac_ext <<EOF |
| 6696 #line 6697 "configure" | 6876 #line 6877 "configure" |
| 6697 #include "confdefs.h" | 6877 #include "confdefs.h" |
| 6698 /* Override any gcc2 internal prototype to avoid an error. */ | 6878 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6699 /* 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 |
| 6700 builtin and then its argument prototype would still apply. */ | 6880 builtin and then its argument prototype would still apply. */ |
| 6701 char inflate(); | 6881 char inflate(); |
| 6702 | 6882 |
| 6703 int main() { | 6883 int main() { |
| 6704 inflate() | 6884 inflate() |
| 6705 ; return 0; } | 6885 ; return 0; } |
| 6706 EOF | 6886 EOF |
| 6707 if { (eval echo configure:6708: \"$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 |
| 6708 rm -rf conftest* | 6888 rm -rf conftest* |
| 6709 eval "ac_cv_lib_$ac_lib_var=yes" | 6889 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6710 else | 6890 else |
| 6711 echo "configure: failed program was:" >&5 | 6891 echo "configure: failed program was:" >&5 |
| 6712 cat conftest.$ac_ext >&5 | 6892 cat conftest.$ac_ext >&5 |
| 6732 | 6912 |
| 6733 fi | 6913 fi |
| 6734 | 6914 |
| 6735 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6915 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6736 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6916 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6737 echo "configure:6738: checking for jpeglib.h" >&5 | 6917 echo "configure:6918: checking for jpeglib.h" >&5 |
| 6738 | 6918 |
| 6739 cat > conftest.$ac_ext <<EOF | 6919 cat > conftest.$ac_ext <<EOF |
| 6740 #line 6741 "configure" | 6920 #line 6921 "configure" |
| 6741 #include "confdefs.h" | 6921 #include "confdefs.h" |
| 6742 #include <jpeglib.h> | 6922 #include <jpeglib.h> |
| 6743 EOF | 6923 EOF |
| 6744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6745 { (eval echo configure:6746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6925 { (eval echo configure:6926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6746 ac_err=`grep -v '^ *+' conftest.out` | 6926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6747 if test -z "$ac_err"; then | 6927 if test -z "$ac_err"; then |
| 6748 rm -rf conftest* | 6928 rm -rf conftest* |
| 6749 eval "ac_cv_header_$ac_safe=yes" | 6929 eval "ac_cv_header_$ac_safe=yes" |
| 6750 else | 6930 else |
| 6751 echo "$ac_err" >&5 | 6931 echo "$ac_err" >&5 |
| 6763 with_jpeg=no | 6943 with_jpeg=no |
| 6764 fi | 6944 fi |
| 6765 } | 6945 } |
| 6766 test -z "$with_jpeg" && { | 6946 test -z "$with_jpeg" && { |
| 6767 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6947 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6768 echo "configure:6769: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6948 echo "configure:6949: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6769 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6949 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6770 | 6950 |
| 6771 xe_check_libs=" -ljpeg " | 6951 xe_check_libs=" -ljpeg " |
| 6772 cat > conftest.$ac_ext <<EOF | 6952 cat > conftest.$ac_ext <<EOF |
| 6773 #line 6774 "configure" | 6953 #line 6954 "configure" |
| 6774 #include "confdefs.h" | 6954 #include "confdefs.h" |
| 6775 /* Override any gcc2 internal prototype to avoid an error. */ | 6955 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6776 /* We use char because int might match the return type of a gcc2 | 6956 /* We use char because int might match the return type of a gcc2 |
| 6777 builtin and then its argument prototype would still apply. */ | 6957 builtin and then its argument prototype would still apply. */ |
| 6778 char jpeg_destroy_decompress(); | 6958 char jpeg_destroy_decompress(); |
| 6779 | 6959 |
| 6780 int main() { | 6960 int main() { |
| 6781 jpeg_destroy_decompress() | 6961 jpeg_destroy_decompress() |
| 6782 ; return 0; } | 6962 ; return 0; } |
| 6783 EOF | 6963 EOF |
| 6784 if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6964 if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6785 rm -rf conftest* | 6965 rm -rf conftest* |
| 6786 eval "ac_cv_lib_$ac_lib_var=yes" | 6966 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6787 else | 6967 else |
| 6788 echo "configure: failed program was:" >&5 | 6968 echo "configure: failed program was:" >&5 |
| 6789 cat conftest.$ac_ext >&5 | 6969 cat conftest.$ac_ext >&5 |
| 6815 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6995 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6816 fi | 6996 fi |
| 6817 | 6997 |
| 6818 png_problem="" | 6998 png_problem="" |
| 6819 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6999 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6820 echo "configure:6821: checking for pow" >&5 | 7000 echo "configure:7001: checking for pow" >&5 |
| 6821 | 7001 |
| 6822 cat > conftest.$ac_ext <<EOF | 7002 cat > conftest.$ac_ext <<EOF |
| 6823 #line 6824 "configure" | 7003 #line 7004 "configure" |
| 6824 #include "confdefs.h" | 7004 #include "confdefs.h" |
| 6825 /* System header to define __stub macros and hopefully few prototypes, | 7005 /* System header to define __stub macros and hopefully few prototypes, |
| 6826 which can conflict with char pow(); below. */ | 7006 which can conflict with char pow(); below. */ |
| 6827 #include <assert.h> | 7007 #include <assert.h> |
| 6828 /* Override any gcc2 internal prototype to avoid an error. */ | 7008 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6841 pow(); | 7021 pow(); |
| 6842 #endif | 7022 #endif |
| 6843 | 7023 |
| 6844 ; return 0; } | 7024 ; return 0; } |
| 6845 EOF | 7025 EOF |
| 6846 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6847 rm -rf conftest* | 7027 rm -rf conftest* |
| 6848 eval "ac_cv_func_pow=yes" | 7028 eval "ac_cv_func_pow=yes" |
| 6849 else | 7029 else |
| 6850 echo "configure: failed program was:" >&5 | 7030 echo "configure: failed program was:" >&5 |
| 6851 cat conftest.$ac_ext >&5 | 7031 cat conftest.$ac_ext >&5 |
| 6862 with_png=no | 7042 with_png=no |
| 6863 fi | 7043 fi |
| 6864 } | 7044 } |
| 6865 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7045 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 6866 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7046 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 6867 echo "configure:6868: checking for png.h" >&5 | 7047 echo "configure:7048: checking for png.h" >&5 |
| 6868 | 7048 |
| 6869 cat > conftest.$ac_ext <<EOF | 7049 cat > conftest.$ac_ext <<EOF |
| 6870 #line 6871 "configure" | 7050 #line 7051 "configure" |
| 6871 #include "confdefs.h" | 7051 #include "confdefs.h" |
| 6872 #include <png.h> | 7052 #include <png.h> |
| 6873 EOF | 7053 EOF |
| 6874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6875 { (eval echo configure:6876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7055 { (eval echo configure:7056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6876 ac_err=`grep -v '^ *+' conftest.out` | 7056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6877 if test -z "$ac_err"; then | 7057 if test -z "$ac_err"; then |
| 6878 rm -rf conftest* | 7058 rm -rf conftest* |
| 6879 eval "ac_cv_header_$ac_safe=yes" | 7059 eval "ac_cv_header_$ac_safe=yes" |
| 6880 else | 7060 else |
| 6881 echo "$ac_err" >&5 | 7061 echo "$ac_err" >&5 |
| 6893 with_png=no | 7073 with_png=no |
| 6894 fi | 7074 fi |
| 6895 } | 7075 } |
| 6896 test -z "$with_png" && { | 7076 test -z "$with_png" && { |
| 6897 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7077 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 6898 echo "configure:6899: checking for png_read_image in -lpng" >&5 | 7078 echo "configure:7079: checking for png_read_image in -lpng" >&5 |
| 6899 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7079 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6900 | 7080 |
| 6901 xe_check_libs=" -lpng " | 7081 xe_check_libs=" -lpng " |
| 6902 cat > conftest.$ac_ext <<EOF | 7082 cat > conftest.$ac_ext <<EOF |
| 6903 #line 6904 "configure" | 7083 #line 7084 "configure" |
| 6904 #include "confdefs.h" | 7084 #include "confdefs.h" |
| 6905 /* Override any gcc2 internal prototype to avoid an error. */ | 7085 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6906 /* We use char because int might match the return type of a gcc2 | 7086 /* We use char because int might match the return type of a gcc2 |
| 6907 builtin and then its argument prototype would still apply. */ | 7087 builtin and then its argument prototype would still apply. */ |
| 6908 char png_read_image(); | 7088 char png_read_image(); |
| 6909 | 7089 |
| 6910 int main() { | 7090 int main() { |
| 6911 png_read_image() | 7091 png_read_image() |
| 6912 ; return 0; } | 7092 ; return 0; } |
| 6913 EOF | 7093 EOF |
| 6914 if { (eval echo configure:6915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7094 if { (eval echo configure:7095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6915 rm -rf conftest* | 7095 rm -rf conftest* |
| 6916 eval "ac_cv_lib_$ac_lib_var=yes" | 7096 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6917 else | 7097 else |
| 6918 echo "configure: failed program was:" >&5 | 7098 echo "configure: failed program was:" >&5 |
| 6919 cat conftest.$ac_ext >&5 | 7099 cat conftest.$ac_ext >&5 |
| 6932 fi | 7112 fi |
| 6933 | 7113 |
| 6934 } | 7114 } |
| 6935 if test -z "$with_png"; then | 7115 if test -z "$with_png"; then |
| 6936 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7116 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 6937 echo "configure:6938: checking for workable png version information" >&5 | 7117 echo "configure:7118: checking for workable png version information" >&5 |
| 6938 xe_check_libs="-lpng -lz" | 7118 xe_check_libs="-lpng -lz" |
| 6939 cat > conftest.$ac_ext <<EOF | 7119 cat > conftest.$ac_ext <<EOF |
| 6940 #line 6941 "configure" | 7120 #line 7121 "configure" |
| 6941 #include "confdefs.h" | 7121 #include "confdefs.h" |
| 6942 #include <png.h> | 7122 #include <png.h> |
| 6943 int main(int c, char **v) { | 7123 int main(int c, char **v) { |
| 6944 if (c == 1) return 0; | 7124 if (c == 1) return 0; |
| 6945 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7125 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 6946 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7126 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 6947 EOF | 7127 EOF |
| 6948 if { (eval echo configure:6949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7128 if { (eval echo configure:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6949 then | 7129 then |
| 6950 ./conftest dummy_arg; png_status=$?; | 7130 ./conftest dummy_arg; png_status=$?; |
| 6951 if test "$png_status" = "0"; then | 7131 if test "$png_status" = "0"; then |
| 6952 with_png=yes; | 7132 with_png=yes; |
| 6953 else | 7133 else |
| 6986 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7166 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 6987 fi | 7167 fi |
| 6988 | 7168 |
| 6989 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7169 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 6990 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7170 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 6991 echo "configure:6992: checking for tiffio.h" >&5 | 7171 echo "configure:7172: checking for tiffio.h" >&5 |
| 6992 | 7172 |
| 6993 cat > conftest.$ac_ext <<EOF | 7173 cat > conftest.$ac_ext <<EOF |
| 6994 #line 6995 "configure" | 7174 #line 7175 "configure" |
| 6995 #include "confdefs.h" | 7175 #include "confdefs.h" |
| 6996 #include <tiffio.h> | 7176 #include <tiffio.h> |
| 6997 EOF | 7177 EOF |
| 6998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6999 { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7179 { (eval echo configure:7180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7000 ac_err=`grep -v '^ *+' conftest.out` | 7180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7001 if test -z "$ac_err"; then | 7181 if test -z "$ac_err"; then |
| 7002 rm -rf conftest* | 7182 rm -rf conftest* |
| 7003 eval "ac_cv_header_$ac_safe=yes" | 7183 eval "ac_cv_header_$ac_safe=yes" |
| 7004 else | 7184 else |
| 7005 echo "$ac_err" >&5 | 7185 echo "$ac_err" >&5 |
| 7017 with_tiff=no | 7197 with_tiff=no |
| 7018 fi | 7198 fi |
| 7019 } | 7199 } |
| 7020 test -z "$with_tiff" && { | 7200 test -z "$with_tiff" && { |
| 7021 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7201 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 7022 echo "configure:7023: checking for TIFFClientOpen in -ltiff" >&5 | 7202 echo "configure:7203: checking for TIFFClientOpen in -ltiff" >&5 |
| 7023 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7203 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 7024 | 7204 |
| 7025 xe_check_libs=" -ltiff " | 7205 xe_check_libs=" -ltiff " |
| 7026 cat > conftest.$ac_ext <<EOF | 7206 cat > conftest.$ac_ext <<EOF |
| 7027 #line 7028 "configure" | 7207 #line 7208 "configure" |
| 7028 #include "confdefs.h" | 7208 #include "confdefs.h" |
| 7029 /* Override any gcc2 internal prototype to avoid an error. */ | 7209 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7030 /* We use char because int might match the return type of a gcc2 | 7210 /* We use char because int might match the return type of a gcc2 |
| 7031 builtin and then its argument prototype would still apply. */ | 7211 builtin and then its argument prototype would still apply. */ |
| 7032 char TIFFClientOpen(); | 7212 char TIFFClientOpen(); |
| 7033 | 7213 |
| 7034 int main() { | 7214 int main() { |
| 7035 TIFFClientOpen() | 7215 TIFFClientOpen() |
| 7036 ; return 0; } | 7216 ; return 0; } |
| 7037 EOF | 7217 EOF |
| 7038 if { (eval echo configure:7039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7218 if { (eval echo configure:7219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7039 rm -rf conftest* | 7219 rm -rf conftest* |
| 7040 eval "ac_cv_lib_$ac_lib_var=yes" | 7220 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7041 else | 7221 else |
| 7042 echo "configure: failed program was:" >&5 | 7222 echo "configure: failed program was:" >&5 |
| 7043 cat conftest.$ac_ext >&5 | 7223 cat conftest.$ac_ext >&5 |
| 7072 | 7252 |
| 7073 | 7253 |
| 7074 if test "$with_x11" = "yes"; then | 7254 if test "$with_x11" = "yes"; then |
| 7075 | 7255 |
| 7076 echo "checking for X11 graphics libraries" 1>&6 | 7256 echo "checking for X11 graphics libraries" 1>&6 |
| 7077 echo "configure:7078: checking for X11 graphics libraries" >&5 | 7257 echo "configure:7258: checking for X11 graphics libraries" >&5 |
| 7078 | 7258 |
| 7079 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7259 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 7080 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7260 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 7081 echo "configure:7082: checking for compface.h" >&5 | 7261 echo "configure:7262: checking for compface.h" >&5 |
| 7082 | 7262 |
| 7083 cat > conftest.$ac_ext <<EOF | 7263 cat > conftest.$ac_ext <<EOF |
| 7084 #line 7085 "configure" | 7264 #line 7265 "configure" |
| 7085 #include "confdefs.h" | 7265 #include "confdefs.h" |
| 7086 #include <compface.h> | 7266 #include <compface.h> |
| 7087 EOF | 7267 EOF |
| 7088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7089 { (eval echo configure:7090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7269 { (eval echo configure:7270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7090 ac_err=`grep -v '^ *+' conftest.out` | 7270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7091 if test -z "$ac_err"; then | 7271 if test -z "$ac_err"; then |
| 7092 rm -rf conftest* | 7272 rm -rf conftest* |
| 7093 eval "ac_cv_header_$ac_safe=yes" | 7273 eval "ac_cv_header_$ac_safe=yes" |
| 7094 else | 7274 else |
| 7095 echo "$ac_err" >&5 | 7275 echo "$ac_err" >&5 |
| 7107 with_xface=no | 7287 with_xface=no |
| 7108 fi | 7288 fi |
| 7109 } | 7289 } |
| 7110 test -z "$with_xface" && { | 7290 test -z "$with_xface" && { |
| 7111 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7291 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 7112 echo "configure:7113: checking for UnGenFace in -lcompface" >&5 | 7292 echo "configure:7293: checking for UnGenFace in -lcompface" >&5 |
| 7113 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7293 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 7114 | 7294 |
| 7115 xe_check_libs=" -lcompface " | 7295 xe_check_libs=" -lcompface " |
| 7116 cat > conftest.$ac_ext <<EOF | 7296 cat > conftest.$ac_ext <<EOF |
| 7117 #line 7118 "configure" | 7297 #line 7298 "configure" |
| 7118 #include "confdefs.h" | 7298 #include "confdefs.h" |
| 7119 /* Override any gcc2 internal prototype to avoid an error. */ | 7299 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7120 /* We use char because int might match the return type of a gcc2 | 7300 /* We use char because int might match the return type of a gcc2 |
| 7121 builtin and then its argument prototype would still apply. */ | 7301 builtin and then its argument prototype would still apply. */ |
| 7122 char UnGenFace(); | 7302 char UnGenFace(); |
| 7123 | 7303 |
| 7124 int main() { | 7304 int main() { |
| 7125 UnGenFace() | 7305 UnGenFace() |
| 7126 ; return 0; } | 7306 ; return 0; } |
| 7127 EOF | 7307 EOF |
| 7128 if { (eval echo configure:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7308 if { (eval echo configure:7309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7129 rm -rf conftest* | 7309 rm -rf conftest* |
| 7130 eval "ac_cv_lib_$ac_lib_var=yes" | 7310 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7131 else | 7311 else |
| 7132 echo "configure: failed program was:" >&5 | 7312 echo "configure: failed program was:" >&5 |
| 7133 cat conftest.$ac_ext >&5 | 7313 cat conftest.$ac_ext >&5 |
| 7159 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7339 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 7160 fi | 7340 fi |
| 7161 | 7341 |
| 7162 | 7342 |
| 7163 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7343 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 7164 echo "configure:7165: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7344 echo "configure:7345: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 7165 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7345 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 7166 | 7346 |
| 7167 xe_check_libs=" -lXaw " | 7347 xe_check_libs=" -lXaw " |
| 7168 cat > conftest.$ac_ext <<EOF | 7348 cat > conftest.$ac_ext <<EOF |
| 7169 #line 7170 "configure" | 7349 #line 7350 "configure" |
| 7170 #include "confdefs.h" | 7350 #include "confdefs.h" |
| 7171 /* Override any gcc2 internal prototype to avoid an error. */ | 7351 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7172 /* We use char because int might match the return type of a gcc2 | 7352 /* We use char because int might match the return type of a gcc2 |
| 7173 builtin and then its argument prototype would still apply. */ | 7353 builtin and then its argument prototype would still apply. */ |
| 7174 char XawScrollbarSetThumb(); | 7354 char XawScrollbarSetThumb(); |
| 7175 | 7355 |
| 7176 int main() { | 7356 int main() { |
| 7177 XawScrollbarSetThumb() | 7357 XawScrollbarSetThumb() |
| 7178 ; return 0; } | 7358 ; return 0; } |
| 7179 EOF | 7359 EOF |
| 7180 if { (eval echo configure:7181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7360 if { (eval echo configure:7361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7181 rm -rf conftest* | 7361 rm -rf conftest* |
| 7182 eval "ac_cv_lib_$ac_lib_var=yes" | 7362 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7183 else | 7363 else |
| 7184 echo "configure: failed program was:" >&5 | 7364 echo "configure: failed program was:" >&5 |
| 7185 cat conftest.$ac_ext >&5 | 7365 cat conftest.$ac_ext >&5 |
| 7199 | 7379 |
| 7200 | 7380 |
| 7201 | 7381 |
| 7202 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7382 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 7203 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7383 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 7204 echo "configure:7205: checking for Xm/Xm.h" >&5 | 7384 echo "configure:7385: checking for Xm/Xm.h" >&5 |
| 7205 | 7385 |
| 7206 cat > conftest.$ac_ext <<EOF | 7386 cat > conftest.$ac_ext <<EOF |
| 7207 #line 7208 "configure" | 7387 #line 7388 "configure" |
| 7208 #include "confdefs.h" | 7388 #include "confdefs.h" |
| 7209 #include <Xm/Xm.h> | 7389 #include <Xm/Xm.h> |
| 7210 EOF | 7390 EOF |
| 7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7392 { (eval echo configure:7393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7213 ac_err=`grep -v '^ *+' conftest.out` | 7393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7214 if test -z "$ac_err"; then | 7394 if test -z "$ac_err"; then |
| 7215 rm -rf conftest* | 7395 rm -rf conftest* |
| 7216 eval "ac_cv_header_$ac_safe=yes" | 7396 eval "ac_cv_header_$ac_safe=yes" |
| 7217 else | 7397 else |
| 7218 echo "$ac_err" >&5 | 7398 echo "$ac_err" >&5 |
| 7224 rm -f conftest* | 7404 rm -f conftest* |
| 7225 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7405 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 7226 echo "$ac_t""yes" 1>&6 | 7406 echo "$ac_t""yes" 1>&6 |
| 7227 | 7407 |
| 7228 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7408 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 7229 echo "configure:7230: checking for XmStringFree in -lXm" >&5 | 7409 echo "configure:7410: checking for XmStringFree in -lXm" >&5 |
| 7230 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7410 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 7231 | 7411 |
| 7232 xe_check_libs=" -lXm " | 7412 xe_check_libs=" -lXm " |
| 7233 cat > conftest.$ac_ext <<EOF | 7413 cat > conftest.$ac_ext <<EOF |
| 7234 #line 7235 "configure" | 7414 #line 7415 "configure" |
| 7235 #include "confdefs.h" | 7415 #include "confdefs.h" |
| 7236 /* Override any gcc2 internal prototype to avoid an error. */ | 7416 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7237 /* We use char because int might match the return type of a gcc2 | 7417 /* We use char because int might match the return type of a gcc2 |
| 7238 builtin and then its argument prototype would still apply. */ | 7418 builtin and then its argument prototype would still apply. */ |
| 7239 char XmStringFree(); | 7419 char XmStringFree(); |
| 7240 | 7420 |
| 7241 int main() { | 7421 int main() { |
| 7242 XmStringFree() | 7422 XmStringFree() |
| 7243 ; return 0; } | 7423 ; return 0; } |
| 7244 EOF | 7424 EOF |
| 7245 if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7425 if { (eval echo configure:7426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7246 rm -rf conftest* | 7426 rm -rf conftest* |
| 7247 eval "ac_cv_lib_$ac_lib_var=yes" | 7427 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7248 else | 7428 else |
| 7249 echo "configure: failed program was:" >&5 | 7429 echo "configure: failed program was:" >&5 |
| 7250 cat conftest.$ac_ext >&5 | 7430 cat conftest.$ac_ext >&5 |
| 7269 fi | 7449 fi |
| 7270 | 7450 |
| 7271 | 7451 |
| 7272 if test "$have_motif" = "yes"; then | 7452 if test "$have_motif" = "yes"; then |
| 7273 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7453 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 7274 echo "configure:7275: checking for Lesstif" >&5 | 7454 echo "configure:7455: checking for Lesstif" >&5 |
| 7275 cat > conftest.$ac_ext <<EOF | 7455 cat > conftest.$ac_ext <<EOF |
| 7276 #line 7277 "configure" | 7456 #line 7457 "configure" |
| 7277 #include "confdefs.h" | 7457 #include "confdefs.h" |
| 7278 #include <Xm/Xm.h> | 7458 #include <Xm/Xm.h> |
| 7279 #ifdef LESSTIF_VERSION | 7459 #ifdef LESSTIF_VERSION |
| 7280 yes | 7460 yes |
| 7281 #endif | 7461 #endif |
| 7555 fi | 7735 fi |
| 7556 fi | 7736 fi |
| 7557 | 7737 |
| 7558 if test "$with_mule" = "yes" ; then | 7738 if test "$with_mule" = "yes" ; then |
| 7559 echo "checking for Mule-related features" 1>&6 | 7739 echo "checking for Mule-related features" 1>&6 |
| 7560 echo "configure:7561: checking for Mule-related features" >&5 | 7740 echo "configure:7741: checking for Mule-related features" >&5 |
| 7561 { test "$extra_verbose" = "yes" && cat << \EOF | 7741 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7562 Defining MULE | 7742 Defining MULE |
| 7563 EOF | 7743 EOF |
| 7564 cat >> confdefs.h <<\EOF | 7744 cat >> confdefs.h <<\EOF |
| 7565 #define MULE 1 | 7745 #define MULE 1 |
| 7580 | 7760 |
| 7581 for ac_hdr in libintl.h | 7761 for ac_hdr in libintl.h |
| 7582 do | 7762 do |
| 7583 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7763 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7764 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7585 echo "configure:7586: checking for $ac_hdr" >&5 | 7765 echo "configure:7766: checking for $ac_hdr" >&5 |
| 7586 | 7766 |
| 7587 cat > conftest.$ac_ext <<EOF | 7767 cat > conftest.$ac_ext <<EOF |
| 7588 #line 7589 "configure" | 7768 #line 7769 "configure" |
| 7589 #include "confdefs.h" | 7769 #include "confdefs.h" |
| 7590 #include <$ac_hdr> | 7770 #include <$ac_hdr> |
| 7591 EOF | 7771 EOF |
| 7592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7593 { (eval echo configure:7594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7773 { (eval echo configure:7774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7594 ac_err=`grep -v '^ *+' conftest.out` | 7774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7595 if test -z "$ac_err"; then | 7775 if test -z "$ac_err"; then |
| 7596 rm -rf conftest* | 7776 rm -rf conftest* |
| 7597 eval "ac_cv_header_$ac_safe=yes" | 7777 eval "ac_cv_header_$ac_safe=yes" |
| 7598 else | 7778 else |
| 7599 echo "$ac_err" >&5 | 7779 echo "$ac_err" >&5 |
| 7619 fi | 7799 fi |
| 7620 done | 7800 done |
| 7621 | 7801 |
| 7622 | 7802 |
| 7623 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7803 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 7624 echo "configure:7625: checking for strerror in -lintl" >&5 | 7804 echo "configure:7805: checking for strerror in -lintl" >&5 |
| 7625 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7805 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 7626 | 7806 |
| 7627 xe_check_libs=" -lintl " | 7807 xe_check_libs=" -lintl " |
| 7628 cat > conftest.$ac_ext <<EOF | 7808 cat > conftest.$ac_ext <<EOF |
| 7629 #line 7630 "configure" | 7809 #line 7810 "configure" |
| 7630 #include "confdefs.h" | 7810 #include "confdefs.h" |
| 7631 /* Override any gcc2 internal prototype to avoid an error. */ | 7811 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7632 /* We use char because int might match the return type of a gcc2 | 7812 /* We use char because int might match the return type of a gcc2 |
| 7633 builtin and then its argument prototype would still apply. */ | 7813 builtin and then its argument prototype would still apply. */ |
| 7634 char strerror(); | 7814 char strerror(); |
| 7635 | 7815 |
| 7636 int main() { | 7816 int main() { |
| 7637 strerror() | 7817 strerror() |
| 7638 ; return 0; } | 7818 ; return 0; } |
| 7639 EOF | 7819 EOF |
| 7640 if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7820 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7641 rm -rf conftest* | 7821 rm -rf conftest* |
| 7642 eval "ac_cv_lib_$ac_lib_var=yes" | 7822 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7643 else | 7823 else |
| 7644 echo "configure: failed program was:" >&5 | 7824 echo "configure: failed program was:" >&5 |
| 7645 cat conftest.$ac_ext >&5 | 7825 cat conftest.$ac_ext >&5 |
| 7668 fi | 7848 fi |
| 7669 | 7849 |
| 7670 | 7850 |
| 7671 | 7851 |
| 7672 echo "checking for Mule input methods" 1>&6 | 7852 echo "checking for Mule input methods" 1>&6 |
| 7673 echo "configure:7674: checking for Mule input methods" >&5 | 7853 echo "configure:7854: checking for Mule input methods" >&5 |
| 7674 case "$with_xim" in "" | "yes" ) | 7854 case "$with_xim" in "" | "yes" ) |
| 7675 echo "checking for XIM" 1>&6 | 7855 echo "checking for XIM" 1>&6 |
| 7676 echo "configure:7677: checking for XIM" >&5 | 7856 echo "configure:7857: checking for XIM" >&5 |
| 7677 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7857 |
| 7678 else | 7858 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 7859 echo "configure:7860: checking for XOpenIM in -lX11" >&5 | |
| 7860 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | |
| 7861 | |
| 7862 xe_check_libs=" -lX11 " | |
| 7863 cat > conftest.$ac_ext <<EOF | |
| 7864 #line 7865 "configure" | |
| 7865 #include "confdefs.h" | |
| 7866 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 7867 /* We use char because int might match the return type of a gcc2 | |
| 7868 builtin and then its argument prototype would still apply. */ | |
| 7869 char XOpenIM(); | |
| 7870 | |
| 7871 int main() { | |
| 7872 XOpenIM() | |
| 7873 ; return 0; } | |
| 7874 EOF | |
| 7875 if { (eval echo configure:7876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 7876 rm -rf conftest* | |
| 7877 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 7878 else | |
| 7879 echo "configure: failed program was:" >&5 | |
| 7880 cat conftest.$ac_ext >&5 | |
| 7881 rm -rf conftest* | |
| 7882 eval "ac_cv_lib_$ac_lib_var=no" | |
| 7883 fi | |
| 7884 rm -f conftest* | |
| 7885 xe_check_libs="" | |
| 7886 | |
| 7887 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 7888 echo "$ac_t""yes" 1>&6 | |
| 7889 with_xim=xlib | |
| 7890 else | |
| 7891 echo "$ac_t""no" 1>&6 | |
| 7892 with_xim=no | |
| 7893 fi | |
| 7894 | |
| 7895 | |
| 7896 if test "$have_motif $have_lesstif" = "yes no"; then | |
| 7897 | |
| 7679 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7898 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 7680 echo "configure:7681: checking for XmImMbLookupString in -lXm" >&5 | 7899 echo "configure:7900: checking for XmImMbLookupString in -lXm" >&5 |
| 7681 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7900 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 7682 | 7901 |
| 7683 xe_check_libs=" -lXm " | 7902 xe_check_libs=" -lXm " |
| 7684 cat > conftest.$ac_ext <<EOF | 7903 cat > conftest.$ac_ext <<EOF |
| 7685 #line 7686 "configure" | 7904 #line 7905 "configure" |
| 7686 #include "confdefs.h" | 7905 #include "confdefs.h" |
| 7687 /* Override any gcc2 internal prototype to avoid an error. */ | 7906 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7688 /* We use char because int might match the return type of a gcc2 | 7907 /* We use char because int might match the return type of a gcc2 |
| 7689 builtin and then its argument prototype would still apply. */ | 7908 builtin and then its argument prototype would still apply. */ |
| 7690 char XmImMbLookupString(); | 7909 char XmImMbLookupString(); |
| 7691 | 7910 |
| 7692 int main() { | 7911 int main() { |
| 7693 XmImMbLookupString() | 7912 XmImMbLookupString() |
| 7694 ; return 0; } | 7913 ; return 0; } |
| 7695 EOF | 7914 EOF |
| 7696 if { (eval echo configure:7697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7915 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7697 rm -rf conftest* | 7916 rm -rf conftest* |
| 7698 eval "ac_cv_lib_$ac_lib_var=yes" | 7917 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7699 else | 7918 else |
| 7700 echo "configure: failed program was:" >&5 | 7919 echo "configure: failed program was:" >&5 |
| 7701 cat conftest.$ac_ext >&5 | 7920 cat conftest.$ac_ext >&5 |
| 7708 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7927 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 7709 echo "$ac_t""yes" 1>&6 | 7928 echo "$ac_t""yes" 1>&6 |
| 7710 with_xim=motif | 7929 with_xim=motif |
| 7711 else | 7930 else |
| 7712 echo "$ac_t""no" 1>&6 | 7931 echo "$ac_t""no" 1>&6 |
| 7713 with_xim=xlib | 7932 fi |
| 7714 fi | 7933 |
| 7715 | 7934 |
| 7716 | 7935 fi ;; |
| 7717 fi | |
| 7718 esac | 7936 esac |
| 7719 if test "$with_xim" != "no"; then | 7937 if test "$with_xim" != "no"; then |
| 7720 { test "$extra_verbose" = "yes" && cat << \EOF | 7938 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7721 Defining HAVE_XIM | 7939 Defining HAVE_XIM |
| 7722 EOF | 7940 EOF |
| 7757 fi | 7975 fi |
| 7758 fi | 7976 fi |
| 7759 | 7977 |
| 7760 if test "$with_xfs" = "yes" ; then | 7978 if test "$with_xfs" = "yes" ; then |
| 7761 echo "checking for XFontSet" 1>&6 | 7979 echo "checking for XFontSet" 1>&6 |
| 7762 echo "configure:7763: checking for XFontSet" >&5 | 7980 echo "configure:7981: checking for XFontSet" >&5 |
| 7763 | 7981 |
| 7764 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7982 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7765 echo "configure:7766: checking for XmbDrawString in -lX11" >&5 | 7983 echo "configure:7984: checking for XmbDrawString in -lX11" >&5 |
| 7766 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7984 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7767 | 7985 |
| 7768 xe_check_libs=" -lX11 " | 7986 xe_check_libs=" -lX11 " |
| 7769 cat > conftest.$ac_ext <<EOF | 7987 cat > conftest.$ac_ext <<EOF |
| 7770 #line 7771 "configure" | 7988 #line 7989 "configure" |
| 7771 #include "confdefs.h" | 7989 #include "confdefs.h" |
| 7772 /* Override any gcc2 internal prototype to avoid an error. */ | 7990 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7773 /* We use char because int might match the return type of a gcc2 | 7991 /* We use char because int might match the return type of a gcc2 |
| 7774 builtin and then its argument prototype would still apply. */ | 7992 builtin and then its argument prototype would still apply. */ |
| 7775 char XmbDrawString(); | 7993 char XmbDrawString(); |
| 7776 | 7994 |
| 7777 int main() { | 7995 int main() { |
| 7778 XmbDrawString() | 7996 XmbDrawString() |
| 7779 ; return 0; } | 7997 ; return 0; } |
| 7780 EOF | 7998 EOF |
| 7781 if { (eval echo configure:7782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7999 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7782 rm -rf conftest* | 8000 rm -rf conftest* |
| 7783 eval "ac_cv_lib_$ac_lib_var=yes" | 8001 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7784 else | 8002 else |
| 7785 echo "configure: failed program was:" >&5 | 8003 echo "configure: failed program was:" >&5 |
| 7786 cat conftest.$ac_ext >&5 | 8004 cat conftest.$ac_ext >&5 |
| 7816 fi | 8034 fi |
| 7817 fi | 8035 fi |
| 7818 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8036 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7819 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8037 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7820 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8038 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7821 echo "configure:7822: checking for wnn/jllib.h" >&5 | 8039 echo "configure:8040: checking for wnn/jllib.h" >&5 |
| 7822 | 8040 |
| 7823 cat > conftest.$ac_ext <<EOF | 8041 cat > conftest.$ac_ext <<EOF |
| 7824 #line 7825 "configure" | 8042 #line 8043 "configure" |
| 7825 #include "confdefs.h" | 8043 #include "confdefs.h" |
| 7826 #include <wnn/jllib.h> | 8044 #include <wnn/jllib.h> |
| 7827 EOF | 8045 EOF |
| 7828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7829 { (eval echo configure:7830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8047 { (eval echo configure:8048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7830 ac_err=`grep -v '^ *+' conftest.out` | 8048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7831 if test -z "$ac_err"; then | 8049 if test -z "$ac_err"; then |
| 7832 rm -rf conftest* | 8050 rm -rf conftest* |
| 7833 eval "ac_cv_header_$ac_safe=yes" | 8051 eval "ac_cv_header_$ac_safe=yes" |
| 7834 else | 8052 else |
| 7835 echo "$ac_err" >&5 | 8053 echo "$ac_err" >&5 |
| 7849 } | 8067 } |
| 7850 if test "$with_wnn" != "no"; then | 8068 if test "$with_wnn" != "no"; then |
| 7851 for ac_func in crypt | 8069 for ac_func in crypt |
| 7852 do | 8070 do |
| 7853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7854 echo "configure:7855: checking for $ac_func" >&5 | 8072 echo "configure:8073: checking for $ac_func" >&5 |
| 7855 | 8073 |
| 7856 cat > conftest.$ac_ext <<EOF | 8074 cat > conftest.$ac_ext <<EOF |
| 7857 #line 7858 "configure" | 8075 #line 8076 "configure" |
| 7858 #include "confdefs.h" | 8076 #include "confdefs.h" |
| 7859 /* System header to define __stub macros and hopefully few prototypes, | 8077 /* System header to define __stub macros and hopefully few prototypes, |
| 7860 which can conflict with char $ac_func(); below. */ | 8078 which can conflict with char $ac_func(); below. */ |
| 7861 #include <assert.h> | 8079 #include <assert.h> |
| 7862 /* Override any gcc2 internal prototype to avoid an error. */ | 8080 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7875 $ac_func(); | 8093 $ac_func(); |
| 7876 #endif | 8094 #endif |
| 7877 | 8095 |
| 7878 ; return 0; } | 8096 ; return 0; } |
| 7879 EOF | 8097 EOF |
| 7880 if { (eval echo configure:7881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8098 if { (eval echo configure:8099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7881 rm -rf conftest* | 8099 rm -rf conftest* |
| 7882 eval "ac_cv_func_$ac_func=yes" | 8100 eval "ac_cv_func_$ac_func=yes" |
| 7883 else | 8101 else |
| 7884 echo "configure: failed program was:" >&5 | 8102 echo "configure: failed program was:" >&5 |
| 7885 cat conftest.$ac_ext >&5 | 8103 cat conftest.$ac_ext >&5 |
| 7904 fi | 8122 fi |
| 7905 done | 8123 done |
| 7906 | 8124 |
| 7907 test "$ac_cv_func_crypt" != "yes" && { | 8125 test "$ac_cv_func_crypt" != "yes" && { |
| 7908 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8126 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7909 echo "configure:7910: checking for crypt in -lcrypt" >&5 | 8127 echo "configure:8128: checking for crypt in -lcrypt" >&5 |
| 7910 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8128 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7911 | 8129 |
| 7912 xe_check_libs=" -lcrypt " | 8130 xe_check_libs=" -lcrypt " |
| 7913 cat > conftest.$ac_ext <<EOF | 8131 cat > conftest.$ac_ext <<EOF |
| 7914 #line 7915 "configure" | 8132 #line 8133 "configure" |
| 7915 #include "confdefs.h" | 8133 #include "confdefs.h" |
| 7916 /* Override any gcc2 internal prototype to avoid an error. */ | 8134 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7917 /* We use char because int might match the return type of a gcc2 | 8135 /* We use char because int might match the return type of a gcc2 |
| 7918 builtin and then its argument prototype would still apply. */ | 8136 builtin and then its argument prototype would still apply. */ |
| 7919 char crypt(); | 8137 char crypt(); |
| 7920 | 8138 |
| 7921 int main() { | 8139 int main() { |
| 7922 crypt() | 8140 crypt() |
| 7923 ; return 0; } | 8141 ; return 0; } |
| 7924 EOF | 8142 EOF |
| 7925 if { (eval echo configure:7926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8143 if { (eval echo configure:8144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7926 rm -rf conftest* | 8144 rm -rf conftest* |
| 7927 eval "ac_cv_lib_$ac_lib_var=yes" | 8145 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7928 else | 8146 else |
| 7929 echo "configure: failed program was:" >&5 | 8147 echo "configure: failed program was:" >&5 |
| 7930 cat conftest.$ac_ext >&5 | 8148 cat conftest.$ac_ext >&5 |
| 7955 } | 8173 } |
| 7956 fi | 8174 fi |
| 7957 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8175 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 7958 | 8176 |
| 7959 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8177 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7960 echo "configure:7961: checking for jl_dic_list_e in -lwnn" >&5 | 8178 echo "configure:8179: checking for jl_dic_list_e in -lwnn" >&5 |
| 7961 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8179 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7962 | 8180 |
| 7963 xe_check_libs=" -lwnn " | 8181 xe_check_libs=" -lwnn " |
| 7964 cat > conftest.$ac_ext <<EOF | 8182 cat > conftest.$ac_ext <<EOF |
| 7965 #line 7966 "configure" | 8183 #line 8184 "configure" |
| 7966 #include "confdefs.h" | 8184 #include "confdefs.h" |
| 7967 /* Override any gcc2 internal prototype to avoid an error. */ | 8185 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7968 /* We use char because int might match the return type of a gcc2 | 8186 /* We use char because int might match the return type of a gcc2 |
| 7969 builtin and then its argument prototype would still apply. */ | 8187 builtin and then its argument prototype would still apply. */ |
| 7970 char jl_dic_list_e(); | 8188 char jl_dic_list_e(); |
| 7971 | 8189 |
| 7972 int main() { | 8190 int main() { |
| 7973 jl_dic_list_e() | 8191 jl_dic_list_e() |
| 7974 ; return 0; } | 8192 ; return 0; } |
| 7975 EOF | 8193 EOF |
| 7976 if { (eval echo configure:7977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8194 if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7977 rm -rf conftest* | 8195 rm -rf conftest* |
| 7978 eval "ac_cv_lib_$ac_lib_var=yes" | 8196 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7979 else | 8197 else |
| 7980 echo "configure: failed program was:" >&5 | 8198 echo "configure: failed program was:" >&5 |
| 7981 cat conftest.$ac_ext >&5 | 8199 cat conftest.$ac_ext >&5 |
| 7989 echo "$ac_t""yes" 1>&6 | 8207 echo "$ac_t""yes" 1>&6 |
| 7990 libwnn=wnn | 8208 libwnn=wnn |
| 7991 else | 8209 else |
| 7992 echo "$ac_t""no" 1>&6 | 8210 echo "$ac_t""no" 1>&6 |
| 7993 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8211 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 7994 echo "configure:7995: checking for jl_dic_list_e in -lwnn4" >&5 | 8212 echo "configure:8213: checking for jl_dic_list_e in -lwnn4" >&5 |
| 7995 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8213 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7996 | 8214 |
| 7997 xe_check_libs=" -lwnn4 " | 8215 xe_check_libs=" -lwnn4 " |
| 7998 cat > conftest.$ac_ext <<EOF | 8216 cat > conftest.$ac_ext <<EOF |
| 7999 #line 8000 "configure" | 8217 #line 8218 "configure" |
| 8000 #include "confdefs.h" | 8218 #include "confdefs.h" |
| 8001 /* Override any gcc2 internal prototype to avoid an error. */ | 8219 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8002 /* We use char because int might match the return type of a gcc2 | 8220 /* We use char because int might match the return type of a gcc2 |
| 8003 builtin and then its argument prototype would still apply. */ | 8221 builtin and then its argument prototype would still apply. */ |
| 8004 char jl_dic_list_e(); | 8222 char jl_dic_list_e(); |
| 8005 | 8223 |
| 8006 int main() { | 8224 int main() { |
| 8007 jl_dic_list_e() | 8225 jl_dic_list_e() |
| 8008 ; return 0; } | 8226 ; return 0; } |
| 8009 EOF | 8227 EOF |
| 8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8228 if { (eval echo configure:8229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8011 rm -rf conftest* | 8229 rm -rf conftest* |
| 8012 eval "ac_cv_lib_$ac_lib_var=yes" | 8230 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8013 else | 8231 else |
| 8014 echo "configure: failed program was:" >&5 | 8232 echo "configure: failed program was:" >&5 |
| 8015 cat conftest.$ac_ext >&5 | 8233 cat conftest.$ac_ext >&5 |
| 8023 echo "$ac_t""yes" 1>&6 | 8241 echo "$ac_t""yes" 1>&6 |
| 8024 libwnn=wnn4 | 8242 libwnn=wnn4 |
| 8025 else | 8243 else |
| 8026 echo "$ac_t""no" 1>&6 | 8244 echo "$ac_t""no" 1>&6 |
| 8027 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8245 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 8028 echo "configure:8029: checking for jl_dic_list_e in -lwnn6" >&5 | 8246 echo "configure:8247: checking for jl_dic_list_e in -lwnn6" >&5 |
| 8029 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8247 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8030 | 8248 |
| 8031 xe_check_libs=" -lwnn6 " | 8249 xe_check_libs=" -lwnn6 " |
| 8032 cat > conftest.$ac_ext <<EOF | 8250 cat > conftest.$ac_ext <<EOF |
| 8033 #line 8034 "configure" | 8251 #line 8252 "configure" |
| 8034 #include "confdefs.h" | 8252 #include "confdefs.h" |
| 8035 /* Override any gcc2 internal prototype to avoid an error. */ | 8253 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8036 /* We use char because int might match the return type of a gcc2 | 8254 /* We use char because int might match the return type of a gcc2 |
| 8037 builtin and then its argument prototype would still apply. */ | 8255 builtin and then its argument prototype would still apply. */ |
| 8038 char jl_dic_list_e(); | 8256 char jl_dic_list_e(); |
| 8039 | 8257 |
| 8040 int main() { | 8258 int main() { |
| 8041 jl_dic_list_e() | 8259 jl_dic_list_e() |
| 8042 ; return 0; } | 8260 ; return 0; } |
| 8043 EOF | 8261 EOF |
| 8044 if { (eval echo configure:8045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8262 if { (eval echo configure:8263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8045 rm -rf conftest* | 8263 rm -rf conftest* |
| 8046 eval "ac_cv_lib_$ac_lib_var=yes" | 8264 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8047 else | 8265 else |
| 8048 echo "configure: failed program was:" >&5 | 8266 echo "configure: failed program was:" >&5 |
| 8049 cat conftest.$ac_ext >&5 | 8267 cat conftest.$ac_ext >&5 |
| 8057 echo "$ac_t""yes" 1>&6 | 8275 echo "$ac_t""yes" 1>&6 |
| 8058 libwnn=wnn6 | 8276 libwnn=wnn6 |
| 8059 else | 8277 else |
| 8060 echo "$ac_t""no" 1>&6 | 8278 echo "$ac_t""no" 1>&6 |
| 8061 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8279 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 8062 echo "configure:8063: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8280 echo "configure:8281: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 8063 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8281 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 8064 | 8282 |
| 8065 xe_check_libs=" -lwnn6_fromsrc " | 8283 xe_check_libs=" -lwnn6_fromsrc " |
| 8066 cat > conftest.$ac_ext <<EOF | 8284 cat > conftest.$ac_ext <<EOF |
| 8067 #line 8068 "configure" | 8285 #line 8286 "configure" |
| 8068 #include "confdefs.h" | 8286 #include "confdefs.h" |
| 8069 /* Override any gcc2 internal prototype to avoid an error. */ | 8287 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8070 /* We use char because int might match the return type of a gcc2 | 8288 /* We use char because int might match the return type of a gcc2 |
| 8071 builtin and then its argument prototype would still apply. */ | 8289 builtin and then its argument prototype would still apply. */ |
| 8072 char dic_list_e(); | 8290 char dic_list_e(); |
| 8073 | 8291 |
| 8074 int main() { | 8292 int main() { |
| 8075 dic_list_e() | 8293 dic_list_e() |
| 8076 ; return 0; } | 8294 ; return 0; } |
| 8077 EOF | 8295 EOF |
| 8078 if { (eval echo configure:8079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8296 if { (eval echo configure:8297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8079 rm -rf conftest* | 8297 rm -rf conftest* |
| 8080 eval "ac_cv_lib_$ac_lib_var=yes" | 8298 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8081 else | 8299 else |
| 8082 echo "configure: failed program was:" >&5 | 8300 echo "configure: failed program was:" >&5 |
| 8083 cat conftest.$ac_ext >&5 | 8301 cat conftest.$ac_ext >&5 |
| 8121 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8339 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 8122 fi | 8340 fi |
| 8123 if test "$with_wnn6" != "no"; then | 8341 if test "$with_wnn6" != "no"; then |
| 8124 | 8342 |
| 8125 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8343 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 8126 echo "configure:8127: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8344 echo "configure:8345: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 8127 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8345 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 8128 | 8346 |
| 8129 xe_check_libs=" -l$libwnn " | 8347 xe_check_libs=" -l$libwnn " |
| 8130 cat > conftest.$ac_ext <<EOF | 8348 cat > conftest.$ac_ext <<EOF |
| 8131 #line 8132 "configure" | 8349 #line 8350 "configure" |
| 8132 #include "confdefs.h" | 8350 #include "confdefs.h" |
| 8133 /* Override any gcc2 internal prototype to avoid an error. */ | 8351 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8134 /* We use char because int might match the return type of a gcc2 | 8352 /* We use char because int might match the return type of a gcc2 |
| 8135 builtin and then its argument prototype would still apply. */ | 8353 builtin and then its argument prototype would still apply. */ |
| 8136 char jl_fi_dic_list(); | 8354 char jl_fi_dic_list(); |
| 8137 | 8355 |
| 8138 int main() { | 8356 int main() { |
| 8139 jl_fi_dic_list() | 8357 jl_fi_dic_list() |
| 8140 ; return 0; } | 8358 ; return 0; } |
| 8141 EOF | 8359 EOF |
| 8142 if { (eval echo configure:8143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8360 if { (eval echo configure:8361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8143 rm -rf conftest* | 8361 rm -rf conftest* |
| 8144 eval "ac_cv_lib_$ac_lib_var=yes" | 8362 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8145 else | 8363 else |
| 8146 echo "configure: failed program was:" >&5 | 8364 echo "configure: failed program was:" >&5 |
| 8147 cat conftest.$ac_ext >&5 | 8365 cat conftest.$ac_ext >&5 |
| 8172 | 8390 |
| 8173 canna_includes_found=no | 8391 canna_includes_found=no |
| 8174 if test "$with_canna" != "no"; then | 8392 if test "$with_canna" != "no"; then |
| 8175 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8393 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8176 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8394 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8177 echo "configure:8178: checking for canna/jrkanji.h" >&5 | 8395 echo "configure:8396: checking for canna/jrkanji.h" >&5 |
| 8178 | 8396 |
| 8179 cat > conftest.$ac_ext <<EOF | 8397 cat > conftest.$ac_ext <<EOF |
| 8180 #line 8181 "configure" | 8398 #line 8399 "configure" |
| 8181 #include "confdefs.h" | 8399 #include "confdefs.h" |
| 8182 #include <canna/jrkanji.h> | 8400 #include <canna/jrkanji.h> |
| 8183 EOF | 8401 EOF |
| 8184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8185 { (eval echo configure:8186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8403 { (eval echo configure:8404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8186 ac_err=`grep -v '^ *+' conftest.out` | 8404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8187 if test -z "$ac_err"; then | 8405 if test -z "$ac_err"; then |
| 8188 rm -rf conftest* | 8406 rm -rf conftest* |
| 8189 eval "ac_cv_header_$ac_safe=yes" | 8407 eval "ac_cv_header_$ac_safe=yes" |
| 8190 else | 8408 else |
| 8191 echo "$ac_err" >&5 | 8409 echo "$ac_err" >&5 |
| 8207 -d "/usr/local/canna/include"; then | 8425 -d "/usr/local/canna/include"; then |
| 8208 save_c_switch_site="$c_switch_site" | 8426 save_c_switch_site="$c_switch_site" |
| 8209 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8427 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 8210 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8428 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8211 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8429 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8212 echo "configure:8213: checking for canna/jrkanji.h" >&5 | 8430 echo "configure:8431: checking for canna/jrkanji.h" >&5 |
| 8213 | 8431 |
| 8214 cat > conftest.$ac_ext <<EOF | 8432 cat > conftest.$ac_ext <<EOF |
| 8215 #line 8216 "configure" | 8433 #line 8434 "configure" |
| 8216 #include "confdefs.h" | 8434 #include "confdefs.h" |
| 8217 #include <canna/jrkanji.h> | 8435 #include <canna/jrkanji.h> |
| 8218 EOF | 8436 EOF |
| 8219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8437 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8220 { (eval echo configure:8221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8438 { (eval echo configure:8439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8221 ac_err=`grep -v '^ *+' conftest.out` | 8439 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8222 if test -z "$ac_err"; then | 8440 if test -z "$ac_err"; then |
| 8223 rm -rf conftest* | 8441 rm -rf conftest* |
| 8224 eval "ac_cv_header_$ac_safe=yes" | 8442 eval "ac_cv_header_$ac_safe=yes" |
| 8225 else | 8443 else |
| 8226 echo "$ac_err" >&5 | 8444 echo "$ac_err" >&5 |
| 8243 fi | 8461 fi |
| 8244 fi | 8462 fi |
| 8245 | 8463 |
| 8246 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8464 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 8247 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8465 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 8248 echo "configure:8249: checking for canna/RK.h" >&5 | 8466 echo "configure:8467: checking for canna/RK.h" >&5 |
| 8249 | 8467 |
| 8250 cat > conftest.$ac_ext <<EOF | 8468 cat > conftest.$ac_ext <<EOF |
| 8251 #line 8252 "configure" | 8469 #line 8470 "configure" |
| 8252 #include "confdefs.h" | 8470 #include "confdefs.h" |
| 8253 #include <canna/RK.h> | 8471 #include <canna/RK.h> |
| 8254 EOF | 8472 EOF |
| 8255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8256 { (eval echo configure:8257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8474 { (eval echo configure:8475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8257 ac_err=`grep -v '^ *+' conftest.out` | 8475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8258 if test -z "$ac_err"; then | 8476 if test -z "$ac_err"; then |
| 8259 rm -rf conftest* | 8477 rm -rf conftest* |
| 8260 eval "ac_cv_header_$ac_safe=yes" | 8478 eval "ac_cv_header_$ac_safe=yes" |
| 8261 else | 8479 else |
| 8262 echo "$ac_err" >&5 | 8480 echo "$ac_err" >&5 |
| 8274 with_canna=no | 8492 with_canna=no |
| 8275 fi | 8493 fi |
| 8276 } | 8494 } |
| 8277 test -z "$with_canna" && { | 8495 test -z "$with_canna" && { |
| 8278 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8496 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 8279 echo "configure:8280: checking for RkBgnBun in -lRKC" >&5 | 8497 echo "configure:8498: checking for RkBgnBun in -lRKC" >&5 |
| 8280 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8498 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 8281 | 8499 |
| 8282 xe_check_libs=" -lRKC " | 8500 xe_check_libs=" -lRKC " |
| 8283 cat > conftest.$ac_ext <<EOF | 8501 cat > conftest.$ac_ext <<EOF |
| 8284 #line 8285 "configure" | 8502 #line 8503 "configure" |
| 8285 #include "confdefs.h" | 8503 #include "confdefs.h" |
| 8286 /* Override any gcc2 internal prototype to avoid an error. */ | 8504 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8287 /* We use char because int might match the return type of a gcc2 | 8505 /* We use char because int might match the return type of a gcc2 |
| 8288 builtin and then its argument prototype would still apply. */ | 8506 builtin and then its argument prototype would still apply. */ |
| 8289 char RkBgnBun(); | 8507 char RkBgnBun(); |
| 8290 | 8508 |
| 8291 int main() { | 8509 int main() { |
| 8292 RkBgnBun() | 8510 RkBgnBun() |
| 8293 ; return 0; } | 8511 ; return 0; } |
| 8294 EOF | 8512 EOF |
| 8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8513 if { (eval echo configure:8514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8296 rm -rf conftest* | 8514 rm -rf conftest* |
| 8297 eval "ac_cv_lib_$ac_lib_var=yes" | 8515 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8298 else | 8516 else |
| 8299 echo "configure: failed program was:" >&5 | 8517 echo "configure: failed program was:" >&5 |
| 8300 cat conftest.$ac_ext >&5 | 8518 cat conftest.$ac_ext >&5 |
| 8313 fi | 8531 fi |
| 8314 | 8532 |
| 8315 } | 8533 } |
| 8316 test -z "$with_canna" && { | 8534 test -z "$with_canna" && { |
| 8317 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8535 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 8318 echo "configure:8319: checking for jrKanjiControl in -lcanna" >&5 | 8536 echo "configure:8537: checking for jrKanjiControl in -lcanna" >&5 |
| 8319 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8537 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 8320 | 8538 |
| 8321 xe_check_libs=" -lcanna " | 8539 xe_check_libs=" -lcanna " |
| 8322 cat > conftest.$ac_ext <<EOF | 8540 cat > conftest.$ac_ext <<EOF |
| 8323 #line 8324 "configure" | 8541 #line 8542 "configure" |
| 8324 #include "confdefs.h" | 8542 #include "confdefs.h" |
| 8325 /* Override any gcc2 internal prototype to avoid an error. */ | 8543 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8326 /* 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 |
| 8327 builtin and then its argument prototype would still apply. */ | 8545 builtin and then its argument prototype would still apply. */ |
| 8328 char jrKanjiControl(); | 8546 char jrKanjiControl(); |
| 8329 | 8547 |
| 8330 int main() { | 8548 int main() { |
| 8331 jrKanjiControl() | 8549 jrKanjiControl() |
| 8332 ; return 0; } | 8550 ; return 0; } |
| 8333 EOF | 8551 EOF |
| 8334 if { (eval echo configure:8335: \"$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 |
| 8335 rm -rf conftest* | 8553 rm -rf conftest* |
| 8336 eval "ac_cv_lib_$ac_lib_var=yes" | 8554 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8337 else | 8555 else |
| 8338 echo "configure: failed program was:" >&5 | 8556 echo "configure: failed program was:" >&5 |
| 8339 cat conftest.$ac_ext >&5 | 8557 cat conftest.$ac_ext >&5 |
| 8378 | 8596 |
| 8379 if test "$need_motif" = "yes" ; then | 8597 if test "$need_motif" = "yes" ; then |
| 8380 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8598 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 8381 | 8599 |
| 8382 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8600 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 8383 echo "configure:8384: checking for layout_object_getvalue in -li18n" >&5 | 8601 echo "configure:8602: checking for layout_object_getvalue in -li18n" >&5 |
| 8384 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8602 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 8385 | 8603 |
| 8386 xe_check_libs=" -li18n " | 8604 xe_check_libs=" -li18n " |
| 8387 cat > conftest.$ac_ext <<EOF | 8605 cat > conftest.$ac_ext <<EOF |
| 8388 #line 8389 "configure" | 8606 #line 8607 "configure" |
| 8389 #include "confdefs.h" | 8607 #include "confdefs.h" |
| 8390 /* Override any gcc2 internal prototype to avoid an error. */ | 8608 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8391 /* We use char because int might match the return type of a gcc2 | 8609 /* We use char because int might match the return type of a gcc2 |
| 8392 builtin and then its argument prototype would still apply. */ | 8610 builtin and then its argument prototype would still apply. */ |
| 8393 char layout_object_getvalue(); | 8611 char layout_object_getvalue(); |
| 8394 | 8612 |
| 8395 int main() { | 8613 int main() { |
| 8396 layout_object_getvalue() | 8614 layout_object_getvalue() |
| 8397 ; return 0; } | 8615 ; return 0; } |
| 8398 EOF | 8616 EOF |
| 8399 if { (eval echo configure:8400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8617 if { (eval echo configure:8618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8400 rm -rf conftest* | 8618 rm -rf conftest* |
| 8401 eval "ac_cv_lib_$ac_lib_var=yes" | 8619 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8402 else | 8620 else |
| 8403 echo "configure: failed program was:" >&5 | 8621 echo "configure: failed program was:" >&5 |
| 8404 cat conftest.$ac_ext >&5 | 8622 cat conftest.$ac_ext >&5 |
| 8433 for dir in `echo '' "$arg" | sed -e 's:^ ::' -e 's/^..//' -e 'y/:/ /'`; do | 8651 for dir in `echo '' "$arg" | sed -e 's:^ ::' -e 's/^..//' -e 'y/:/ /'`; do |
| 8434 { | 8652 { |
| 8435 xe_runpath_dir="$dir" | 8653 xe_runpath_dir="$dir" |
| 8436 test "$xe_runpath_dir" != "/lib" -a \ | 8654 test "$xe_runpath_dir" != "/lib" -a \ |
| 8437 "$xe_runpath_dir" != "/usr/lib" -a \ | 8655 "$xe_runpath_dir" != "/usr/lib" -a \ |
| 8438 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`" && \ | 8656 -n "`ls ${xe_runpath_dir}/*.s[ol] ${xe_runpath_dir}/*.so.* 2>/dev/null`" && \ |
| 8439 eval "$xe_add_unique_runpath_dir" | 8657 eval "$xe_add_unique_runpath_dir" |
| 8440 } | 8658 } |
| 8441 done ;; | 8659 done ;; |
| 8442 esac | 8660 esac |
| 8443 done | 8661 done |
| 8447 for arg in $ld_switch_site $ld_switch_x_site; do | 8665 for arg in $ld_switch_site $ld_switch_x_site; do |
| 8448 case "$arg" in -L*) { | 8666 case "$arg" in -L*) { |
| 8449 xe_runpath_dir=`echo '' "$arg" | sed -e 's:^ ::' -e 's/^-L//'` | 8667 xe_runpath_dir=`echo '' "$arg" | sed -e 's:^ ::' -e 's/^-L//'` |
| 8450 test "$xe_runpath_dir" != "/lib" -a \ | 8668 test "$xe_runpath_dir" != "/lib" -a \ |
| 8451 "$xe_runpath_dir" != "/usr/lib" -a \ | 8669 "$xe_runpath_dir" != "/usr/lib" -a \ |
| 8452 -n "`ls ${xe_runpath_dir}/*.s[ol] 2>/dev/null`" && \ | 8670 -n "`ls ${xe_runpath_dir}/*.s[ol] ${xe_runpath_dir}/*.so.* 2>/dev/null`" && \ |
| 8453 eval "$xe_add_unique_runpath_dir" | 8671 eval "$xe_add_unique_runpath_dir" |
| 8454 };; esac | 8672 };; esac |
| 8455 done | 8673 done |
| 8456 if test "$opsys $need_motif" = "sol2 yes"; then | 8674 if test "$opsys $need_motif" = "sol2 yes"; then |
| 8457 xe_runpath_dir="/opt/SUNWdt/lib"; | 8675 xe_runpath_dir="/opt/SUNWdt/lib"; |
| 8480 fi | 8698 fi |
| 8481 | 8699 |
| 8482 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 | 8700 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 |
| 8483 do | 8701 do |
| 8484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8485 echo "configure:8486: checking for $ac_func" >&5 | 8703 echo "configure:8704: checking for $ac_func" >&5 |
| 8486 | 8704 |
| 8487 cat > conftest.$ac_ext <<EOF | 8705 cat > conftest.$ac_ext <<EOF |
| 8488 #line 8489 "configure" | 8706 #line 8707 "configure" |
| 8489 #include "confdefs.h" | 8707 #include "confdefs.h" |
| 8490 /* System header to define __stub macros and hopefully few prototypes, | 8708 /* System header to define __stub macros and hopefully few prototypes, |
| 8491 which can conflict with char $ac_func(); below. */ | 8709 which can conflict with char $ac_func(); below. */ |
| 8492 #include <assert.h> | 8710 #include <assert.h> |
| 8493 /* Override any gcc2 internal prototype to avoid an error. */ | 8711 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8506 $ac_func(); | 8724 $ac_func(); |
| 8507 #endif | 8725 #endif |
| 8508 | 8726 |
| 8509 ; return 0; } | 8727 ; return 0; } |
| 8510 EOF | 8728 EOF |
| 8511 if { (eval echo configure:8512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8729 if { (eval echo configure:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8512 rm -rf conftest* | 8730 rm -rf conftest* |
| 8513 eval "ac_cv_func_$ac_func=yes" | 8731 eval "ac_cv_func_$ac_func=yes" |
| 8514 else | 8732 else |
| 8515 echo "configure: failed program was:" >&5 | 8733 echo "configure: failed program was:" >&5 |
| 8516 cat conftest.$ac_ext >&5 | 8734 cat conftest.$ac_ext >&5 |
| 8547 echo " xemacs will be linked with \"realpath.o\"" | 8765 echo " xemacs will be linked with \"realpath.o\"" |
| 8548 fi ;; | 8766 fi ;; |
| 8549 * ) for ac_func in realpath | 8767 * ) for ac_func in realpath |
| 8550 do | 8768 do |
| 8551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8552 echo "configure:8553: checking for $ac_func" >&5 | 8770 echo "configure:8771: checking for $ac_func" >&5 |
| 8553 | 8771 |
| 8554 cat > conftest.$ac_ext <<EOF | 8772 cat > conftest.$ac_ext <<EOF |
| 8555 #line 8556 "configure" | 8773 #line 8774 "configure" |
| 8556 #include "confdefs.h" | 8774 #include "confdefs.h" |
| 8557 /* System header to define __stub macros and hopefully few prototypes, | 8775 /* System header to define __stub macros and hopefully few prototypes, |
| 8558 which can conflict with char $ac_func(); below. */ | 8776 which can conflict with char $ac_func(); below. */ |
| 8559 #include <assert.h> | 8777 #include <assert.h> |
| 8560 /* Override any gcc2 internal prototype to avoid an error. */ | 8778 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8573 $ac_func(); | 8791 $ac_func(); |
| 8574 #endif | 8792 #endif |
| 8575 | 8793 |
| 8576 ; return 0; } | 8794 ; return 0; } |
| 8577 EOF | 8795 EOF |
| 8578 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8796 if { (eval echo configure:8797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8579 rm -rf conftest* | 8797 rm -rf conftest* |
| 8580 eval "ac_cv_func_$ac_func=yes" | 8798 eval "ac_cv_func_$ac_func=yes" |
| 8581 else | 8799 else |
| 8582 echo "configure: failed program was:" >&5 | 8800 echo "configure: failed program was:" >&5 |
| 8583 cat conftest.$ac_ext >&5 | 8801 cat conftest.$ac_ext >&5 |
| 8607 fi ;; | 8825 fi ;; |
| 8608 esac ;; | 8826 esac ;; |
| 8609 esac | 8827 esac |
| 8610 | 8828 |
| 8611 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8829 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 8612 echo "configure:8613: checking whether netdb declares h_errno" >&5 | 8830 echo "configure:8831: checking whether netdb declares h_errno" >&5 |
| 8613 cat > conftest.$ac_ext <<EOF | 8831 cat > conftest.$ac_ext <<EOF |
| 8614 #line 8615 "configure" | 8832 #line 8833 "configure" |
| 8615 #include "confdefs.h" | 8833 #include "confdefs.h" |
| 8616 #include <netdb.h> | 8834 #include <netdb.h> |
| 8617 int main() { | 8835 int main() { |
| 8618 return h_errno; | 8836 return h_errno; |
| 8619 ; return 0; } | 8837 ; return 0; } |
| 8620 EOF | 8838 EOF |
| 8621 if { (eval echo configure:8622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8839 if { (eval echo configure:8840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8622 rm -rf conftest* | 8840 rm -rf conftest* |
| 8623 echo "$ac_t""yes" 1>&6 | 8841 echo "$ac_t""yes" 1>&6 |
| 8624 { test "$extra_verbose" = "yes" && cat << \EOF | 8842 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8625 Defining HAVE_H_ERRNO | 8843 Defining HAVE_H_ERRNO |
| 8626 EOF | 8844 EOF |
| 8636 echo "$ac_t""no" 1>&6 | 8854 echo "$ac_t""no" 1>&6 |
| 8637 fi | 8855 fi |
| 8638 rm -f conftest* | 8856 rm -f conftest* |
| 8639 | 8857 |
| 8640 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8858 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 8641 echo "configure:8642: checking for sigsetjmp" >&5 | 8859 echo "configure:8860: checking for sigsetjmp" >&5 |
| 8642 cat > conftest.$ac_ext <<EOF | 8860 cat > conftest.$ac_ext <<EOF |
| 8643 #line 8644 "configure" | 8861 #line 8862 "configure" |
| 8644 #include "confdefs.h" | 8862 #include "confdefs.h" |
| 8645 #include <setjmp.h> | 8863 #include <setjmp.h> |
| 8646 int main() { | 8864 int main() { |
| 8647 sigjmp_buf bar; sigsetjmp (bar, 0); | 8865 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 8648 ; return 0; } | 8866 ; return 0; } |
| 8649 EOF | 8867 EOF |
| 8650 if { (eval echo configure:8651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8868 if { (eval echo configure:8869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8651 rm -rf conftest* | 8869 rm -rf conftest* |
| 8652 echo "$ac_t""yes" 1>&6 | 8870 echo "$ac_t""yes" 1>&6 |
| 8653 { test "$extra_verbose" = "yes" && cat << \EOF | 8871 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8654 Defining HAVE_SIGSETJMP | 8872 Defining HAVE_SIGSETJMP |
| 8655 EOF | 8873 EOF |
| 8665 echo "$ac_t""no" 1>&6 | 8883 echo "$ac_t""no" 1>&6 |
| 8666 fi | 8884 fi |
| 8667 rm -f conftest* | 8885 rm -f conftest* |
| 8668 | 8886 |
| 8669 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8887 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 8670 echo "configure:8671: checking whether localtime caches TZ" >&5 | 8888 echo "configure:8889: checking whether localtime caches TZ" >&5 |
| 8671 | 8889 |
| 8672 if test "$ac_cv_func_tzset" = "yes"; then | 8890 if test "$ac_cv_func_tzset" = "yes"; then |
| 8673 cat > conftest.$ac_ext <<EOF | 8891 cat > conftest.$ac_ext <<EOF |
| 8674 #line 8675 "configure" | 8892 #line 8893 "configure" |
| 8675 #include "confdefs.h" | 8893 #include "confdefs.h" |
| 8676 #include <time.h> | 8894 #include <time.h> |
| 8677 #if STDC_HEADERS | 8895 #if STDC_HEADERS |
| 8678 # include <stdlib.h> | 8896 # include <stdlib.h> |
| 8679 #endif | 8897 #endif |
| 8704 if (localtime (&now)->tm_hour != hour_unset) | 8922 if (localtime (&now)->tm_hour != hour_unset) |
| 8705 exit (1); | 8923 exit (1); |
| 8706 exit (0); | 8924 exit (0); |
| 8707 } | 8925 } |
| 8708 EOF | 8926 EOF |
| 8709 if { (eval echo configure:8710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8927 if { (eval echo configure:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8710 then | 8928 then |
| 8711 emacs_cv_localtime_cache=no | 8929 emacs_cv_localtime_cache=no |
| 8712 else | 8930 else |
| 8713 conftest_rc="$?" | 8931 conftest_rc="$?" |
| 8714 echo "configure: failed program was:" >&5 | 8932 echo "configure: failed program was:" >&5 |
| 8734 | 8952 |
| 8735 fi | 8953 fi |
| 8736 | 8954 |
| 8737 if test "$HAVE_TIMEVAL" = "yes"; then | 8955 if test "$HAVE_TIMEVAL" = "yes"; then |
| 8738 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8956 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 8739 echo "configure:8740: checking whether gettimeofday accepts one or two arguments" >&5 | 8957 echo "configure:8958: checking whether gettimeofday accepts one or two arguments" >&5 |
| 8740 cat > conftest.$ac_ext <<EOF | 8958 cat > conftest.$ac_ext <<EOF |
| 8741 #line 8742 "configure" | 8959 #line 8960 "configure" |
| 8742 #include "confdefs.h" | 8960 #include "confdefs.h" |
| 8743 | 8961 |
| 8744 #ifdef TIME_WITH_SYS_TIME | 8962 #ifdef TIME_WITH_SYS_TIME |
| 8745 #include <sys/time.h> | 8963 #include <sys/time.h> |
| 8746 #include <time.h> | 8964 #include <time.h> |
| 8758 struct timezone dummy; | 8976 struct timezone dummy; |
| 8759 gettimeofday (&time, &dummy); | 8977 gettimeofday (&time, &dummy); |
| 8760 | 8978 |
| 8761 ; return 0; } | 8979 ; return 0; } |
| 8762 EOF | 8980 EOF |
| 8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8981 if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8764 rm -rf conftest* | 8982 rm -rf conftest* |
| 8765 echo "$ac_t""two" 1>&6 | 8983 echo "$ac_t""two" 1>&6 |
| 8766 else | 8984 else |
| 8767 echo "configure: failed program was:" >&5 | 8985 echo "configure: failed program was:" >&5 |
| 8768 cat conftest.$ac_ext >&5 | 8986 cat conftest.$ac_ext >&5 |
| 8780 rm -f conftest* | 8998 rm -f conftest* |
| 8781 fi | 8999 fi |
| 8782 | 9000 |
| 8783 | 9001 |
| 8784 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9002 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 8785 echo "configure:8786: checking for inline" >&5 | 9003 echo "configure:9004: checking for inline" >&5 |
| 8786 | 9004 |
| 8787 ac_cv_c_inline=no | 9005 ac_cv_c_inline=no |
| 8788 for ac_kw in inline __inline__ __inline; do | 9006 for ac_kw in inline __inline__ __inline; do |
| 8789 cat > conftest.$ac_ext <<EOF | 9007 cat > conftest.$ac_ext <<EOF |
| 8790 #line 8791 "configure" | 9008 #line 9009 "configure" |
| 8791 #include "confdefs.h" | 9009 #include "confdefs.h" |
| 8792 | 9010 |
| 8793 int main() { | 9011 int main() { |
| 8794 } $ac_kw foo() { | 9012 } $ac_kw foo() { |
| 8795 ; return 0; } | 9013 ; return 0; } |
| 8796 EOF | 9014 EOF |
| 8797 if { (eval echo configure:8798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9015 if { (eval echo configure:9016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8798 rm -rf conftest* | 9016 rm -rf conftest* |
| 8799 ac_cv_c_inline=$ac_kw; break | 9017 ac_cv_c_inline=$ac_kw; break |
| 8800 else | 9018 else |
| 8801 echo "configure: failed program was:" >&5 | 9019 echo "configure: failed program was:" >&5 |
| 8802 cat conftest.$ac_ext >&5 | 9020 cat conftest.$ac_ext >&5 |
| 8842 | 9060 |
| 8843 | 9061 |
| 8844 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9062 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 8845 # for constant arguments. Useless! | 9063 # for constant arguments. Useless! |
| 8846 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9064 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 8847 echo "configure:8848: checking for working alloca.h" >&5 | 9065 echo "configure:9066: checking for working alloca.h" >&5 |
| 8848 | 9066 |
| 8849 cat > conftest.$ac_ext <<EOF | 9067 cat > conftest.$ac_ext <<EOF |
| 8850 #line 8851 "configure" | 9068 #line 9069 "configure" |
| 8851 #include "confdefs.h" | 9069 #include "confdefs.h" |
| 8852 #include <alloca.h> | 9070 #include <alloca.h> |
| 8853 int main() { | 9071 int main() { |
| 8854 char *p = alloca(2 * sizeof(int)); | 9072 char *p = alloca(2 * sizeof(int)); |
| 8855 ; return 0; } | 9073 ; return 0; } |
| 8856 EOF | 9074 EOF |
| 8857 if { (eval echo configure:8858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9075 if { (eval echo configure:9076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8858 rm -rf conftest* | 9076 rm -rf conftest* |
| 8859 ac_cv_header_alloca_h=yes | 9077 ac_cv_header_alloca_h=yes |
| 8860 else | 9078 else |
| 8861 echo "configure: failed program was:" >&5 | 9079 echo "configure: failed program was:" >&5 |
| 8862 cat conftest.$ac_ext >&5 | 9080 cat conftest.$ac_ext >&5 |
| 8876 } | 9094 } |
| 8877 | 9095 |
| 8878 fi | 9096 fi |
| 8879 | 9097 |
| 8880 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9098 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 8881 echo "configure:8882: checking for alloca" >&5 | 9099 echo "configure:9100: checking for alloca" >&5 |
| 8882 | 9100 |
| 8883 cat > conftest.$ac_ext <<EOF | 9101 cat > conftest.$ac_ext <<EOF |
| 8884 #line 8885 "configure" | 9102 #line 9103 "configure" |
| 8885 #include "confdefs.h" | 9103 #include "confdefs.h" |
| 8886 | 9104 |
| 8887 #ifdef __GNUC__ | 9105 #ifdef __GNUC__ |
| 8888 # define alloca __builtin_alloca | 9106 # define alloca __builtin_alloca |
| 8889 #else | 9107 #else |
| 8890 # if HAVE_ALLOCA_H | 9108 # ifdef _MSC_VER |
| 8891 # include <alloca.h> | 9109 # include <malloc.h> |
| 9110 # define alloca _alloca | |
| 8892 # else | 9111 # else |
| 8893 # ifdef _AIX | 9112 # if HAVE_ALLOCA_H |
| 9113 # include <alloca.h> | |
| 9114 # else | |
| 9115 # ifdef _AIX | |
| 8894 #pragma alloca | 9116 #pragma alloca |
| 8895 # else | 9117 # else |
| 8896 # ifndef alloca /* predefined by HP cc +Olibcalls */ | 9118 # ifndef alloca /* predefined by HP cc +Olibcalls */ |
| 8897 char *alloca (); | 9119 char *alloca (); |
| 9120 # endif | |
| 8898 # endif | 9121 # endif |
| 8899 # endif | 9122 # endif |
| 8900 # endif | 9123 # endif |
| 8901 #endif | 9124 #endif |
| 8902 | 9125 |
| 8903 int main() { | 9126 int main() { |
| 8904 char *p = (char *) alloca(1); | 9127 char *p = (char *) alloca(1); |
| 8905 ; return 0; } | 9128 ; return 0; } |
| 8906 EOF | 9129 EOF |
| 8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9130 if { (eval echo configure:9131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8908 rm -rf conftest* | 9131 rm -rf conftest* |
| 8909 ac_cv_func_alloca_works=yes | 9132 ac_cv_func_alloca_works=yes |
| 8910 else | 9133 else |
| 8911 echo "configure: failed program was:" >&5 | 9134 echo "configure: failed program was:" >&5 |
| 8912 cat conftest.$ac_ext >&5 | 9135 cat conftest.$ac_ext >&5 |
| 8930 if test $ac_cv_func_alloca_works = no; then | 9153 if test $ac_cv_func_alloca_works = no; then |
| 8931 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 9154 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
| 8932 # that cause trouble. Some versions do not even contain alloca or | 9155 # that cause trouble. Some versions do not even contain alloca or |
| 8933 # contain a buggy version. If you still want to use their alloca, | 9156 # contain a buggy version. If you still want to use their alloca, |
| 8934 # use ar to extract alloca.o from them instead of compiling alloca.c. | 9157 # use ar to extract alloca.o from them instead of compiling alloca.c. |
| 8935 ALLOCA=alloca.o | 9158 ALLOCA=alloca.${ac_objext} |
| 8936 { test "$extra_verbose" = "yes" && cat << \EOF | 9159 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8937 Defining C_ALLOCA | 9160 Defining C_ALLOCA |
| 8938 EOF | 9161 EOF |
| 8939 cat >> confdefs.h <<\EOF | 9162 cat >> confdefs.h <<\EOF |
| 8940 #define C_ALLOCA 1 | 9163 #define C_ALLOCA 1 |
| 8941 EOF | 9164 EOF |
| 8942 } | 9165 } |
| 8943 | 9166 |
| 8944 | 9167 |
| 8945 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9168 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 8946 echo "configure:8947: checking whether alloca needs Cray hooks" >&5 | 9169 echo "configure:9170: checking whether alloca needs Cray hooks" >&5 |
| 8947 | 9170 |
| 8948 cat > conftest.$ac_ext <<EOF | 9171 cat > conftest.$ac_ext <<EOF |
| 8949 #line 8950 "configure" | 9172 #line 9173 "configure" |
| 8950 #include "confdefs.h" | 9173 #include "confdefs.h" |
| 8951 #if defined(CRAY) && ! defined(CRAY2) | 9174 #if defined(CRAY) && ! defined(CRAY2) |
| 8952 webecray | 9175 webecray |
| 8953 #else | 9176 #else |
| 8954 wenotbecray | 9177 wenotbecray |
| 8968 | 9191 |
| 8969 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9192 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 8970 if test $ac_cv_os_cray = yes; then | 9193 if test $ac_cv_os_cray = yes; then |
| 8971 for ac_func in _getb67 GETB67 getb67; do | 9194 for ac_func in _getb67 GETB67 getb67; do |
| 8972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9195 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8973 echo "configure:8974: checking for $ac_func" >&5 | 9196 echo "configure:9197: checking for $ac_func" >&5 |
| 8974 | 9197 |
| 8975 cat > conftest.$ac_ext <<EOF | 9198 cat > conftest.$ac_ext <<EOF |
| 8976 #line 8977 "configure" | 9199 #line 9200 "configure" |
| 8977 #include "confdefs.h" | 9200 #include "confdefs.h" |
| 8978 /* System header to define __stub macros and hopefully few prototypes, | 9201 /* System header to define __stub macros and hopefully few prototypes, |
| 8979 which can conflict with char $ac_func(); below. */ | 9202 which can conflict with char $ac_func(); below. */ |
| 8980 #include <assert.h> | 9203 #include <assert.h> |
| 8981 /* Override any gcc2 internal prototype to avoid an error. */ | 9204 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8994 $ac_func(); | 9217 $ac_func(); |
| 8995 #endif | 9218 #endif |
| 8996 | 9219 |
| 8997 ; return 0; } | 9220 ; return 0; } |
| 8998 EOF | 9221 EOF |
| 8999 if { (eval echo configure:9000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9222 if { (eval echo configure:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9000 rm -rf conftest* | 9223 rm -rf conftest* |
| 9001 eval "ac_cv_func_$ac_func=yes" | 9224 eval "ac_cv_func_$ac_func=yes" |
| 9002 else | 9225 else |
| 9003 echo "configure: failed program was:" >&5 | 9226 echo "configure: failed program was:" >&5 |
| 9004 cat conftest.$ac_ext >&5 | 9227 cat conftest.$ac_ext >&5 |
| 9024 | 9247 |
| 9025 done | 9248 done |
| 9026 fi | 9249 fi |
| 9027 | 9250 |
| 9028 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9251 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 9029 echo "configure:9030: checking stack direction for C alloca" >&5 | 9252 echo "configure:9253: checking stack direction for C alloca" >&5 |
| 9030 | 9253 |
| 9031 cat > conftest.$ac_ext <<EOF | 9254 cat > conftest.$ac_ext <<EOF |
| 9032 #line 9033 "configure" | 9255 #line 9256 "configure" |
| 9033 #include "confdefs.h" | 9256 #include "confdefs.h" |
| 9034 find_stack_direction () | 9257 find_stack_direction () |
| 9035 { | 9258 { |
| 9036 static char *addr = 0; | 9259 static char *addr = 0; |
| 9037 auto char dummy; | 9260 auto char dummy; |
| 9046 main () | 9269 main () |
| 9047 { | 9270 { |
| 9048 exit (find_stack_direction() < 0); | 9271 exit (find_stack_direction() < 0); |
| 9049 } | 9272 } |
| 9050 EOF | 9273 EOF |
| 9051 if { (eval echo configure:9052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9274 if { (eval echo configure:9275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9052 then | 9275 then |
| 9053 ac_cv_c_stack_direction=1 | 9276 ac_cv_c_stack_direction=1 |
| 9054 else | 9277 else |
| 9055 conftest_rc="$?" | 9278 conftest_rc="$?" |
| 9056 echo "configure: failed program was:" >&5 | 9279 echo "configure: failed program was:" >&5 |
| 9075 echo " xemacs will be linked with \"$ALLOCA\"" | 9298 echo " xemacs will be linked with \"$ALLOCA\"" |
| 9076 fi | 9299 fi |
| 9077 | 9300 |
| 9078 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9301 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 9079 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9302 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 9080 echo "configure:9081: checking for vfork.h" >&5 | 9303 echo "configure:9304: checking for vfork.h" >&5 |
| 9081 | 9304 |
| 9082 cat > conftest.$ac_ext <<EOF | 9305 cat > conftest.$ac_ext <<EOF |
| 9083 #line 9084 "configure" | 9306 #line 9307 "configure" |
| 9084 #include "confdefs.h" | 9307 #include "confdefs.h" |
| 9085 #include <vfork.h> | 9308 #include <vfork.h> |
| 9086 EOF | 9309 EOF |
| 9087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9088 { (eval echo configure:9089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9311 { (eval echo configure:9312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9089 ac_err=`grep -v '^ *+' conftest.out` | 9312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9090 if test -z "$ac_err"; then | 9313 if test -z "$ac_err"; then |
| 9091 rm -rf conftest* | 9314 rm -rf conftest* |
| 9092 eval "ac_cv_header_$ac_safe=yes" | 9315 eval "ac_cv_header_$ac_safe=yes" |
| 9093 else | 9316 else |
| 9094 echo "$ac_err" >&5 | 9317 echo "$ac_err" >&5 |
| 9111 else | 9334 else |
| 9112 echo "$ac_t""no" 1>&6 | 9335 echo "$ac_t""no" 1>&6 |
| 9113 fi | 9336 fi |
| 9114 | 9337 |
| 9115 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9338 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 9116 echo "configure:9117: checking for working vfork" >&5 | 9339 echo "configure:9340: checking for working vfork" >&5 |
| 9117 | 9340 |
| 9118 cat > conftest.$ac_ext <<EOF | 9341 cat > conftest.$ac_ext <<EOF |
| 9119 #line 9120 "configure" | 9342 #line 9343 "configure" |
| 9120 #include "confdefs.h" | 9343 #include "confdefs.h" |
| 9121 /* Thanks to Paul Eggert for this test. */ | 9344 /* Thanks to Paul Eggert for this test. */ |
| 9122 #include <stdio.h> | 9345 #include <stdio.h> |
| 9123 #include <sys/types.h> | 9346 #include <sys/types.h> |
| 9124 #include <sys/stat.h> | 9347 #include <sys/stat.h> |
| 9209 || fstat(fileno(stdout), &st) != 0 | 9432 || fstat(fileno(stdout), &st) != 0 |
| 9210 ); | 9433 ); |
| 9211 } | 9434 } |
| 9212 } | 9435 } |
| 9213 EOF | 9436 EOF |
| 9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9437 if { (eval echo configure:9438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9215 then | 9438 then |
| 9216 ac_cv_func_vfork_works=yes | 9439 ac_cv_func_vfork_works=yes |
| 9217 else | 9440 else |
| 9218 conftest_rc="$?" | 9441 conftest_rc="$?" |
| 9219 echo "configure: failed program was:" >&5 | 9442 echo "configure: failed program was:" >&5 |
| 9235 | 9458 |
| 9236 fi | 9459 fi |
| 9237 | 9460 |
| 9238 | 9461 |
| 9239 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9462 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 9240 echo "configure:9241: checking for working strcoll" >&5 | 9463 echo "configure:9464: checking for working strcoll" >&5 |
| 9241 | 9464 |
| 9242 cat > conftest.$ac_ext <<EOF | 9465 cat > conftest.$ac_ext <<EOF |
| 9243 #line 9244 "configure" | 9466 #line 9467 "configure" |
| 9244 #include "confdefs.h" | 9467 #include "confdefs.h" |
| 9245 #include <string.h> | 9468 #include <string.h> |
| 9246 main () | 9469 main () |
| 9247 { | 9470 { |
| 9248 exit (strcoll ("abc", "def") >= 0 || | 9471 exit (strcoll ("abc", "def") >= 0 || |
| 9249 strcoll ("ABC", "DEF") >= 0 || | 9472 strcoll ("ABC", "DEF") >= 0 || |
| 9250 strcoll ("123", "456") >= 0); | 9473 strcoll ("123", "456") >= 0); |
| 9251 } | 9474 } |
| 9252 EOF | 9475 EOF |
| 9253 if { (eval echo configure:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9476 if { (eval echo configure:9477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9254 then | 9477 then |
| 9255 ac_cv_func_strcoll_works=yes | 9478 ac_cv_func_strcoll_works=yes |
| 9256 else | 9479 else |
| 9257 conftest_rc="$?" | 9480 conftest_rc="$?" |
| 9258 echo "configure: failed program was:" >&5 | 9481 echo "configure: failed program was:" >&5 |
| 9276 | 9499 |
| 9277 | 9500 |
| 9278 for ac_func in getpgrp | 9501 for ac_func in getpgrp |
| 9279 do | 9502 do |
| 9280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9281 echo "configure:9282: checking for $ac_func" >&5 | 9504 echo "configure:9505: checking for $ac_func" >&5 |
| 9282 | 9505 |
| 9283 cat > conftest.$ac_ext <<EOF | 9506 cat > conftest.$ac_ext <<EOF |
| 9284 #line 9285 "configure" | 9507 #line 9508 "configure" |
| 9285 #include "confdefs.h" | 9508 #include "confdefs.h" |
| 9286 /* System header to define __stub macros and hopefully few prototypes, | 9509 /* System header to define __stub macros and hopefully few prototypes, |
| 9287 which can conflict with char $ac_func(); below. */ | 9510 which can conflict with char $ac_func(); below. */ |
| 9288 #include <assert.h> | 9511 #include <assert.h> |
| 9289 /* Override any gcc2 internal prototype to avoid an error. */ | 9512 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9302 $ac_func(); | 9525 $ac_func(); |
| 9303 #endif | 9526 #endif |
| 9304 | 9527 |
| 9305 ; return 0; } | 9528 ; return 0; } |
| 9306 EOF | 9529 EOF |
| 9307 if { (eval echo configure:9308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9530 if { (eval echo configure:9531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9308 rm -rf conftest* | 9531 rm -rf conftest* |
| 9309 eval "ac_cv_func_$ac_func=yes" | 9532 eval "ac_cv_func_$ac_func=yes" |
| 9310 else | 9533 else |
| 9311 echo "configure: failed program was:" >&5 | 9534 echo "configure: failed program was:" >&5 |
| 9312 cat conftest.$ac_ext >&5 | 9535 cat conftest.$ac_ext >&5 |
| 9330 echo "$ac_t""no" 1>&6 | 9553 echo "$ac_t""no" 1>&6 |
| 9331 fi | 9554 fi |
| 9332 done | 9555 done |
| 9333 | 9556 |
| 9334 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9557 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 9335 echo "configure:9336: checking whether getpgrp takes no argument" >&5 | 9558 echo "configure:9559: checking whether getpgrp takes no argument" >&5 |
| 9336 | 9559 |
| 9337 cat > conftest.$ac_ext <<EOF | 9560 cat > conftest.$ac_ext <<EOF |
| 9338 #line 9339 "configure" | 9561 #line 9562 "configure" |
| 9339 #include "confdefs.h" | 9562 #include "confdefs.h" |
| 9340 | 9563 |
| 9341 /* | 9564 /* |
| 9342 * If this system has a BSD-style getpgrp(), | 9565 * If this system has a BSD-style getpgrp(), |
| 9343 * which takes a pid argument, exit unsuccessfully. | 9566 * which takes a pid argument, exit unsuccessfully. |
| 9388 exit(s>>8); | 9611 exit(s>>8); |
| 9389 } | 9612 } |
| 9390 } | 9613 } |
| 9391 | 9614 |
| 9392 EOF | 9615 EOF |
| 9393 if { (eval echo configure:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9616 if { (eval echo configure:9617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9394 then | 9617 then |
| 9395 ac_cv_func_getpgrp_void=yes | 9618 ac_cv_func_getpgrp_void=yes |
| 9396 else | 9619 else |
| 9397 conftest_rc="$?" | 9620 conftest_rc="$?" |
| 9398 echo "configure: failed program was:" >&5 | 9621 echo "configure: failed program was:" >&5 |
| 9415 | 9638 |
| 9416 fi | 9639 fi |
| 9417 | 9640 |
| 9418 | 9641 |
| 9419 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9642 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9420 echo "configure:9421: checking for working mmap" >&5 | 9643 echo "configure:9644: checking for working mmap" >&5 |
| 9421 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9644 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 9422 cat > conftest.$ac_ext <<EOF | 9645 cat > conftest.$ac_ext <<EOF |
| 9423 #line 9424 "configure" | 9646 #line 9647 "configure" |
| 9424 #include "confdefs.h" | 9647 #include "confdefs.h" |
| 9425 #include <stdio.h> | 9648 #include <stdio.h> |
| 9426 #include <unistd.h> | 9649 #include <unistd.h> |
| 9427 #include <fcntl.h> | 9650 #include <fcntl.h> |
| 9428 #include <sys/mman.h> | 9651 #include <sys/mman.h> |
| 9451 return 0; | 9674 return 0; |
| 9452 perror ("conftest: mmap failed"); | 9675 perror ("conftest: mmap failed"); |
| 9453 return 1; | 9676 return 1; |
| 9454 } | 9677 } |
| 9455 EOF | 9678 EOF |
| 9456 if { (eval echo configure:9457: \"$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 |
| 9457 then | 9680 then |
| 9458 have_mmap=yes | 9681 have_mmap=yes |
| 9459 else | 9682 else |
| 9460 conftest_rc="$?" | 9683 conftest_rc="$?" |
| 9461 echo "configure: failed program was:" >&5 | 9684 echo "configure: failed program was:" >&5 |
| 9476 | 9699 |
| 9477 for ac_hdr in unistd.h | 9700 for ac_hdr in unistd.h |
| 9478 do | 9701 do |
| 9479 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9702 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 9480 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9703 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 9481 echo "configure:9482: checking for $ac_hdr" >&5 | 9704 echo "configure:9705: checking for $ac_hdr" >&5 |
| 9482 | 9705 |
| 9483 cat > conftest.$ac_ext <<EOF | 9706 cat > conftest.$ac_ext <<EOF |
| 9484 #line 9485 "configure" | 9707 #line 9708 "configure" |
| 9485 #include "confdefs.h" | 9708 #include "confdefs.h" |
| 9486 #include <$ac_hdr> | 9709 #include <$ac_hdr> |
| 9487 EOF | 9710 EOF |
| 9488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9489 { (eval echo configure:9490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9712 { (eval echo configure:9713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9490 ac_err=`grep -v '^ *+' conftest.out` | 9713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9491 if test -z "$ac_err"; then | 9714 if test -z "$ac_err"; then |
| 9492 rm -rf conftest* | 9715 rm -rf conftest* |
| 9493 eval "ac_cv_header_$ac_safe=yes" | 9716 eval "ac_cv_header_$ac_safe=yes" |
| 9494 else | 9717 else |
| 9495 echo "$ac_err" >&5 | 9718 echo "$ac_err" >&5 |
| 9516 done | 9739 done |
| 9517 | 9740 |
| 9518 for ac_func in getpagesize | 9741 for ac_func in getpagesize |
| 9519 do | 9742 do |
| 9520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9521 echo "configure:9522: checking for $ac_func" >&5 | 9744 echo "configure:9745: checking for $ac_func" >&5 |
| 9522 | 9745 |
| 9523 cat > conftest.$ac_ext <<EOF | 9746 cat > conftest.$ac_ext <<EOF |
| 9524 #line 9525 "configure" | 9747 #line 9748 "configure" |
| 9525 #include "confdefs.h" | 9748 #include "confdefs.h" |
| 9526 /* System header to define __stub macros and hopefully few prototypes, | 9749 /* System header to define __stub macros and hopefully few prototypes, |
| 9527 which can conflict with char $ac_func(); below. */ | 9750 which can conflict with char $ac_func(); below. */ |
| 9528 #include <assert.h> | 9751 #include <assert.h> |
| 9529 /* Override any gcc2 internal prototype to avoid an error. */ | 9752 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9542 $ac_func(); | 9765 $ac_func(); |
| 9543 #endif | 9766 #endif |
| 9544 | 9767 |
| 9545 ; return 0; } | 9768 ; return 0; } |
| 9546 EOF | 9769 EOF |
| 9547 if { (eval echo configure:9548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9770 if { (eval echo configure:9771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9548 rm -rf conftest* | 9771 rm -rf conftest* |
| 9549 eval "ac_cv_func_$ac_func=yes" | 9772 eval "ac_cv_func_$ac_func=yes" |
| 9550 else | 9773 else |
| 9551 echo "configure: failed program was:" >&5 | 9774 echo "configure: failed program was:" >&5 |
| 9552 cat conftest.$ac_ext >&5 | 9775 cat conftest.$ac_ext >&5 |
| 9570 echo "$ac_t""no" 1>&6 | 9793 echo "$ac_t""no" 1>&6 |
| 9571 fi | 9794 fi |
| 9572 done | 9795 done |
| 9573 | 9796 |
| 9574 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9797 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9575 echo "configure:9576: checking for working mmap" >&5 | 9798 echo "configure:9799: checking for working mmap" >&5 |
| 9576 | 9799 |
| 9577 cat > conftest.$ac_ext <<EOF | 9800 cat > conftest.$ac_ext <<EOF |
| 9578 #line 9579 "configure" | 9801 #line 9802 "configure" |
| 9579 #include "confdefs.h" | 9802 #include "confdefs.h" |
| 9580 | 9803 |
| 9581 /* Thanks to Mike Haertel and Jim Avera for this test. | 9804 /* Thanks to Mike Haertel and Jim Avera for this test. |
| 9582 Here is a matrix of mmap possibilities: | 9805 Here is a matrix of mmap possibilities: |
| 9583 mmap private not fixed | 9806 mmap private not fixed |
| 9713 unlink("conftestmmap"); | 9936 unlink("conftestmmap"); |
| 9714 exit(0); | 9937 exit(0); |
| 9715 } | 9938 } |
| 9716 | 9939 |
| 9717 EOF | 9940 EOF |
| 9718 if { (eval echo configure:9719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9941 if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9719 then | 9942 then |
| 9720 ac_cv_func_mmap_fixed_mapped=yes | 9943 ac_cv_func_mmap_fixed_mapped=yes |
| 9721 else | 9944 else |
| 9722 conftest_rc="$?" | 9945 conftest_rc="$?" |
| 9723 echo "configure: failed program was:" >&5 | 9946 echo "configure: failed program was:" >&5 |
| 9751 } | 9974 } |
| 9752 | 9975 |
| 9753 | 9976 |
| 9754 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9977 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 9755 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9978 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 9756 echo "configure:9757: checking for termios.h" >&5 | 9979 echo "configure:9980: checking for termios.h" >&5 |
| 9757 | 9980 |
| 9758 cat > conftest.$ac_ext <<EOF | 9981 cat > conftest.$ac_ext <<EOF |
| 9759 #line 9760 "configure" | 9982 #line 9983 "configure" |
| 9760 #include "confdefs.h" | 9983 #include "confdefs.h" |
| 9761 #include <termios.h> | 9984 #include <termios.h> |
| 9762 EOF | 9985 EOF |
| 9763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9764 { (eval echo configure:9765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9987 { (eval echo configure:9988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9765 ac_err=`grep -v '^ *+' conftest.out` | 9988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9766 if test -z "$ac_err"; then | 9989 if test -z "$ac_err"; then |
| 9767 rm -rf conftest* | 9990 rm -rf conftest* |
| 9768 eval "ac_cv_header_$ac_safe=yes" | 9991 eval "ac_cv_header_$ac_safe=yes" |
| 9769 else | 9992 else |
| 9770 echo "$ac_err" >&5 | 9993 echo "$ac_err" >&5 |
| 9802 | 10025 |
| 9803 else | 10026 else |
| 9804 echo "$ac_t""no" 1>&6 | 10027 echo "$ac_t""no" 1>&6 |
| 9805 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10028 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 9806 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10029 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 9807 echo "configure:9808: checking for termio.h" >&5 | 10030 echo "configure:10031: checking for termio.h" >&5 |
| 9808 | 10031 |
| 9809 cat > conftest.$ac_ext <<EOF | 10032 cat > conftest.$ac_ext <<EOF |
| 9810 #line 9811 "configure" | 10033 #line 10034 "configure" |
| 9811 #include "confdefs.h" | 10034 #include "confdefs.h" |
| 9812 #include <termio.h> | 10035 #include <termio.h> |
| 9813 EOF | 10036 EOF |
| 9814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9815 { (eval echo configure:9816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10038 { (eval echo configure:10039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9816 ac_err=`grep -v '^ *+' conftest.out` | 10039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9817 if test -z "$ac_err"; then | 10040 if test -z "$ac_err"; then |
| 9818 rm -rf conftest* | 10041 rm -rf conftest* |
| 9819 eval "ac_cv_header_$ac_safe=yes" | 10042 eval "ac_cv_header_$ac_safe=yes" |
| 9820 else | 10043 else |
| 9821 echo "$ac_err" >&5 | 10044 echo "$ac_err" >&5 |
| 9842 fi | 10065 fi |
| 9843 | 10066 |
| 9844 | 10067 |
| 9845 | 10068 |
| 9846 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10069 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 9847 echo "configure:9848: checking for socket" >&5 | 10070 echo "configure:10071: checking for socket" >&5 |
| 9848 | 10071 |
| 9849 cat > conftest.$ac_ext <<EOF | 10072 cat > conftest.$ac_ext <<EOF |
| 9850 #line 9851 "configure" | 10073 #line 10074 "configure" |
| 9851 #include "confdefs.h" | 10074 #include "confdefs.h" |
| 9852 /* System header to define __stub macros and hopefully few prototypes, | 10075 /* System header to define __stub macros and hopefully few prototypes, |
| 9853 which can conflict with char socket(); below. */ | 10076 which can conflict with char socket(); below. */ |
| 9854 #include <assert.h> | 10077 #include <assert.h> |
| 9855 /* Override any gcc2 internal prototype to avoid an error. */ | 10078 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9868 socket(); | 10091 socket(); |
| 9869 #endif | 10092 #endif |
| 9870 | 10093 |
| 9871 ; return 0; } | 10094 ; return 0; } |
| 9872 EOF | 10095 EOF |
| 9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10096 if { (eval echo configure:10097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9874 rm -rf conftest* | 10097 rm -rf conftest* |
| 9875 eval "ac_cv_func_socket=yes" | 10098 eval "ac_cv_func_socket=yes" |
| 9876 else | 10099 else |
| 9877 echo "configure: failed program was:" >&5 | 10100 echo "configure: failed program was:" >&5 |
| 9878 cat conftest.$ac_ext >&5 | 10101 cat conftest.$ac_ext >&5 |
| 9883 | 10106 |
| 9884 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10107 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 9885 echo "$ac_t""yes" 1>&6 | 10108 echo "$ac_t""yes" 1>&6 |
| 9886 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10109 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 9887 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10110 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 9888 echo "configure:9889: checking for netinet/in.h" >&5 | 10111 echo "configure:10112: checking for netinet/in.h" >&5 |
| 9889 | 10112 |
| 9890 cat > conftest.$ac_ext <<EOF | 10113 cat > conftest.$ac_ext <<EOF |
| 9891 #line 9892 "configure" | 10114 #line 10115 "configure" |
| 9892 #include "confdefs.h" | 10115 #include "confdefs.h" |
| 9893 #include <netinet/in.h> | 10116 #include <netinet/in.h> |
| 9894 EOF | 10117 EOF |
| 9895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9896 { (eval echo configure:9897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10119 { (eval echo configure:10120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9897 ac_err=`grep -v '^ *+' conftest.out` | 10120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9898 if test -z "$ac_err"; then | 10121 if test -z "$ac_err"; then |
| 9899 rm -rf conftest* | 10122 rm -rf conftest* |
| 9900 eval "ac_cv_header_$ac_safe=yes" | 10123 eval "ac_cv_header_$ac_safe=yes" |
| 9901 else | 10124 else |
| 9902 echo "$ac_err" >&5 | 10125 echo "$ac_err" >&5 |
| 9908 rm -f conftest* | 10131 rm -f conftest* |
| 9909 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9910 echo "$ac_t""yes" 1>&6 | 10133 echo "$ac_t""yes" 1>&6 |
| 9911 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10134 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 9912 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10135 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 9913 echo "configure:9914: checking for arpa/inet.h" >&5 | 10136 echo "configure:10137: checking for arpa/inet.h" >&5 |
| 9914 | 10137 |
| 9915 cat > conftest.$ac_ext <<EOF | 10138 cat > conftest.$ac_ext <<EOF |
| 9916 #line 9917 "configure" | 10139 #line 10140 "configure" |
| 9917 #include "confdefs.h" | 10140 #include "confdefs.h" |
| 9918 #include <arpa/inet.h> | 10141 #include <arpa/inet.h> |
| 9919 EOF | 10142 EOF |
| 9920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9921 { (eval echo configure:9922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10144 { (eval echo configure:10145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9922 ac_err=`grep -v '^ *+' conftest.out` | 10145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9923 if test -z "$ac_err"; then | 10146 if test -z "$ac_err"; then |
| 9924 rm -rf conftest* | 10147 rm -rf conftest* |
| 9925 eval "ac_cv_header_$ac_safe=yes" | 10148 eval "ac_cv_header_$ac_safe=yes" |
| 9926 else | 10149 else |
| 9927 echo "$ac_err" >&5 | 10150 echo "$ac_err" >&5 |
| 9941 #define HAVE_SOCKETS 1 | 10164 #define HAVE_SOCKETS 1 |
| 9942 EOF | 10165 EOF |
| 9943 } | 10166 } |
| 9944 | 10167 |
| 9945 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10168 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 9946 echo "configure:9947: checking "for sun_len member in struct sockaddr_un"" >&5 | 10169 echo "configure:10170: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 9947 cat > conftest.$ac_ext <<EOF | 10170 cat > conftest.$ac_ext <<EOF |
| 9948 #line 9949 "configure" | 10171 #line 10172 "configure" |
| 9949 #include "confdefs.h" | 10172 #include "confdefs.h" |
| 9950 | 10173 |
| 9951 #include <sys/types.h> | 10174 #include <sys/types.h> |
| 9952 #include <sys/socket.h> | 10175 #include <sys/socket.h> |
| 9953 #include <sys/un.h> | 10176 #include <sys/un.h> |
| 9954 | 10177 |
| 9955 int main() { | 10178 int main() { |
| 9956 static struct sockaddr_un x; x.sun_len = 1; | 10179 static struct sockaddr_un x; x.sun_len = 1; |
| 9957 ; return 0; } | 10180 ; return 0; } |
| 9958 EOF | 10181 EOF |
| 9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10182 if { (eval echo configure:10183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9960 rm -rf conftest* | 10183 rm -rf conftest* |
| 9961 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10184 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 9962 Defining HAVE_SOCKADDR_SUN_LEN | 10185 Defining HAVE_SOCKADDR_SUN_LEN |
| 9963 EOF | 10186 EOF |
| 9964 cat >> confdefs.h <<\EOF | 10187 cat >> confdefs.h <<\EOF |
| 9972 rm -rf conftest* | 10195 rm -rf conftest* |
| 9973 echo "$ac_t""no" 1>&6 | 10196 echo "$ac_t""no" 1>&6 |
| 9974 fi | 10197 fi |
| 9975 rm -f conftest* | 10198 rm -f conftest* |
| 9976 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10199 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 9977 echo "configure:9978: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10200 echo "configure:10201: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 9978 cat > conftest.$ac_ext <<EOF | 10201 cat > conftest.$ac_ext <<EOF |
| 9979 #line 9980 "configure" | 10202 #line 10203 "configure" |
| 9980 #include "confdefs.h" | 10203 #include "confdefs.h" |
| 9981 | 10204 |
| 9982 #include <sys/types.h> | 10205 #include <sys/types.h> |
| 9983 #include <netinet/in.h> | 10206 #include <netinet/in.h> |
| 9984 | 10207 |
| 9985 int main() { | 10208 int main() { |
| 9986 static struct ip_mreq x; | 10209 static struct ip_mreq x; |
| 9987 ; return 0; } | 10210 ; return 0; } |
| 9988 EOF | 10211 EOF |
| 9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10212 if { (eval echo configure:10213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9990 rm -rf conftest* | 10213 rm -rf conftest* |
| 9991 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10214 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 9992 Defining HAVE_MULTICAST | 10215 Defining HAVE_MULTICAST |
| 9993 EOF | 10216 EOF |
| 9994 cat >> confdefs.h <<\EOF | 10217 cat >> confdefs.h <<\EOF |
| 10015 echo "$ac_t""no" 1>&6 | 10238 echo "$ac_t""no" 1>&6 |
| 10016 fi | 10239 fi |
| 10017 | 10240 |
| 10018 | 10241 |
| 10019 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10242 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 10020 echo "configure:10021: checking for msgget" >&5 | 10243 echo "configure:10244: checking for msgget" >&5 |
| 10021 | 10244 |
| 10022 cat > conftest.$ac_ext <<EOF | 10245 cat > conftest.$ac_ext <<EOF |
| 10023 #line 10024 "configure" | 10246 #line 10247 "configure" |
| 10024 #include "confdefs.h" | 10247 #include "confdefs.h" |
| 10025 /* System header to define __stub macros and hopefully few prototypes, | 10248 /* System header to define __stub macros and hopefully few prototypes, |
| 10026 which can conflict with char msgget(); below. */ | 10249 which can conflict with char msgget(); below. */ |
| 10027 #include <assert.h> | 10250 #include <assert.h> |
| 10028 /* Override any gcc2 internal prototype to avoid an error. */ | 10251 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10041 msgget(); | 10264 msgget(); |
| 10042 #endif | 10265 #endif |
| 10043 | 10266 |
| 10044 ; return 0; } | 10267 ; return 0; } |
| 10045 EOF | 10268 EOF |
| 10046 if { (eval echo configure:10047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10047 rm -rf conftest* | 10270 rm -rf conftest* |
| 10048 eval "ac_cv_func_msgget=yes" | 10271 eval "ac_cv_func_msgget=yes" |
| 10049 else | 10272 else |
| 10050 echo "configure: failed program was:" >&5 | 10273 echo "configure: failed program was:" >&5 |
| 10051 cat conftest.$ac_ext >&5 | 10274 cat conftest.$ac_ext >&5 |
| 10056 | 10279 |
| 10057 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10280 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 10058 echo "$ac_t""yes" 1>&6 | 10281 echo "$ac_t""yes" 1>&6 |
| 10059 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10282 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 10060 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10283 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 10061 echo "configure:10062: checking for sys/ipc.h" >&5 | 10284 echo "configure:10285: checking for sys/ipc.h" >&5 |
| 10062 | 10285 |
| 10063 cat > conftest.$ac_ext <<EOF | 10286 cat > conftest.$ac_ext <<EOF |
| 10064 #line 10065 "configure" | 10287 #line 10288 "configure" |
| 10065 #include "confdefs.h" | 10288 #include "confdefs.h" |
| 10066 #include <sys/ipc.h> | 10289 #include <sys/ipc.h> |
| 10067 EOF | 10290 EOF |
| 10068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10069 { (eval echo configure:10070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10070 ac_err=`grep -v '^ *+' conftest.out` | 10293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10071 if test -z "$ac_err"; then | 10294 if test -z "$ac_err"; then |
| 10072 rm -rf conftest* | 10295 rm -rf conftest* |
| 10073 eval "ac_cv_header_$ac_safe=yes" | 10296 eval "ac_cv_header_$ac_safe=yes" |
| 10074 else | 10297 else |
| 10075 echo "$ac_err" >&5 | 10298 echo "$ac_err" >&5 |
| 10081 rm -f conftest* | 10304 rm -f conftest* |
| 10082 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10305 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10083 echo "$ac_t""yes" 1>&6 | 10306 echo "$ac_t""yes" 1>&6 |
| 10084 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10307 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 10085 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10308 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 10086 echo "configure:10087: checking for sys/msg.h" >&5 | 10309 echo "configure:10310: checking for sys/msg.h" >&5 |
| 10087 | 10310 |
| 10088 cat > conftest.$ac_ext <<EOF | 10311 cat > conftest.$ac_ext <<EOF |
| 10089 #line 10090 "configure" | 10312 #line 10313 "configure" |
| 10090 #include "confdefs.h" | 10313 #include "confdefs.h" |
| 10091 #include <sys/msg.h> | 10314 #include <sys/msg.h> |
| 10092 EOF | 10315 EOF |
| 10093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10094 { (eval echo configure:10095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10317 { (eval echo configure:10318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10095 ac_err=`grep -v '^ *+' conftest.out` | 10318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10096 if test -z "$ac_err"; then | 10319 if test -z "$ac_err"; then |
| 10097 rm -rf conftest* | 10320 rm -rf conftest* |
| 10098 eval "ac_cv_header_$ac_safe=yes" | 10321 eval "ac_cv_header_$ac_safe=yes" |
| 10099 else | 10322 else |
| 10100 echo "$ac_err" >&5 | 10323 echo "$ac_err" >&5 |
| 10127 fi | 10350 fi |
| 10128 | 10351 |
| 10129 | 10352 |
| 10130 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10353 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 10131 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10354 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 10132 echo "configure:10133: checking for dirent.h" >&5 | 10355 echo "configure:10356: checking for dirent.h" >&5 |
| 10133 | 10356 |
| 10134 cat > conftest.$ac_ext <<EOF | 10357 cat > conftest.$ac_ext <<EOF |
| 10135 #line 10136 "configure" | 10358 #line 10359 "configure" |
| 10136 #include "confdefs.h" | 10359 #include "confdefs.h" |
| 10137 #include <dirent.h> | 10360 #include <dirent.h> |
| 10138 EOF | 10361 EOF |
| 10139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10140 { (eval echo configure:10141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10363 { (eval echo configure:10364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10141 ac_err=`grep -v '^ *+' conftest.out` | 10364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10142 if test -z "$ac_err"; then | 10365 if test -z "$ac_err"; then |
| 10143 rm -rf conftest* | 10366 rm -rf conftest* |
| 10144 eval "ac_cv_header_$ac_safe=yes" | 10367 eval "ac_cv_header_$ac_safe=yes" |
| 10145 else | 10368 else |
| 10146 echo "$ac_err" >&5 | 10369 echo "$ac_err" >&5 |
| 10162 | 10385 |
| 10163 else | 10386 else |
| 10164 echo "$ac_t""no" 1>&6 | 10387 echo "$ac_t""no" 1>&6 |
| 10165 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10388 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 10166 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10389 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 10167 echo "configure:10168: checking for sys/dir.h" >&5 | 10390 echo "configure:10391: checking for sys/dir.h" >&5 |
| 10168 | 10391 |
| 10169 cat > conftest.$ac_ext <<EOF | 10392 cat > conftest.$ac_ext <<EOF |
| 10170 #line 10171 "configure" | 10393 #line 10394 "configure" |
| 10171 #include "confdefs.h" | 10394 #include "confdefs.h" |
| 10172 #include <sys/dir.h> | 10395 #include <sys/dir.h> |
| 10173 EOF | 10396 EOF |
| 10174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10175 { (eval echo configure:10176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10398 { (eval echo configure:10399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10176 ac_err=`grep -v '^ *+' conftest.out` | 10399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10177 if test -z "$ac_err"; then | 10400 if test -z "$ac_err"; then |
| 10178 rm -rf conftest* | 10401 rm -rf conftest* |
| 10179 eval "ac_cv_header_$ac_safe=yes" | 10402 eval "ac_cv_header_$ac_safe=yes" |
| 10180 else | 10403 else |
| 10181 echo "$ac_err" >&5 | 10404 echo "$ac_err" >&5 |
| 10203 fi | 10426 fi |
| 10204 | 10427 |
| 10205 | 10428 |
| 10206 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10429 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 10207 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10430 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 10208 echo "configure:10209: checking for nlist.h" >&5 | 10431 echo "configure:10432: checking for nlist.h" >&5 |
| 10209 | 10432 |
| 10210 cat > conftest.$ac_ext <<EOF | 10433 cat > conftest.$ac_ext <<EOF |
| 10211 #line 10212 "configure" | 10434 #line 10435 "configure" |
| 10212 #include "confdefs.h" | 10435 #include "confdefs.h" |
| 10213 #include <nlist.h> | 10436 #include <nlist.h> |
| 10214 EOF | 10437 EOF |
| 10215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10216 { (eval echo configure:10217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10439 { (eval echo configure:10440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10217 ac_err=`grep -v '^ *+' conftest.out` | 10440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10218 if test -z "$ac_err"; then | 10441 if test -z "$ac_err"; then |
| 10219 rm -rf conftest* | 10442 rm -rf conftest* |
| 10220 eval "ac_cv_header_$ac_safe=yes" | 10443 eval "ac_cv_header_$ac_safe=yes" |
| 10221 else | 10444 else |
| 10222 echo "$ac_err" >&5 | 10445 echo "$ac_err" >&5 |
| 10241 fi | 10464 fi |
| 10242 | 10465 |
| 10243 | 10466 |
| 10244 | 10467 |
| 10245 echo "checking "for sound support"" 1>&6 | 10468 echo "checking "for sound support"" 1>&6 |
| 10246 echo "configure:10247: checking "for sound support"" >&5 | 10469 echo "configure:10470: checking "for sound support"" >&5 |
| 10247 case "$with_sound" in | 10470 case "$with_sound" in |
| 10248 native | both ) with_native_sound=yes;; | 10471 native | both ) with_native_sound=yes;; |
| 10249 nas | no ) with_native_sound=no;; | 10472 nas | no ) with_native_sound=no;; |
| 10250 esac | 10473 esac |
| 10251 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10474 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 10252 | 10475 |
| 10253 if test "$with_native_sound" != "no"; then | 10476 if test "$with_native_sound" != "no"; then |
| 10254 if test -n "$native_sound_lib"; then | 10477 if test -n "$native_sound_lib"; then |
| 10255 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10478 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 10256 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10479 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 10257 echo "configure:10258: checking for multimedia/audio_device.h" >&5 | 10480 echo "configure:10481: checking for multimedia/audio_device.h" >&5 |
| 10258 | 10481 |
| 10259 cat > conftest.$ac_ext <<EOF | 10482 cat > conftest.$ac_ext <<EOF |
| 10260 #line 10261 "configure" | 10483 #line 10484 "configure" |
| 10261 #include "confdefs.h" | 10484 #include "confdefs.h" |
| 10262 #include <multimedia/audio_device.h> | 10485 #include <multimedia/audio_device.h> |
| 10263 EOF | 10486 EOF |
| 10264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10265 { (eval echo configure:10266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10488 { (eval echo configure:10489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10266 ac_err=`grep -v '^ *+' conftest.out` | 10489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10267 if test -z "$ac_err"; then | 10490 if test -z "$ac_err"; then |
| 10268 rm -rf conftest* | 10491 rm -rf conftest* |
| 10269 eval "ac_cv_header_$ac_safe=yes" | 10492 eval "ac_cv_header_$ac_safe=yes" |
| 10270 else | 10493 else |
| 10271 echo "$ac_err" >&5 | 10494 echo "$ac_err" >&5 |
| 10308 case "$canonical" in | 10531 case "$canonical" in |
| 10309 *-sgi-* ) | 10532 *-sgi-* ) |
| 10310 if test -z "$native_sound_lib"; then | 10533 if test -z "$native_sound_lib"; then |
| 10311 | 10534 |
| 10312 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10535 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 10313 echo "configure:10314: checking for ALopenport in -laudio" >&5 | 10536 echo "configure:10537: checking for ALopenport in -laudio" >&5 |
| 10314 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10537 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 10315 | 10538 |
| 10316 xe_check_libs=" -laudio " | 10539 xe_check_libs=" -laudio " |
| 10317 cat > conftest.$ac_ext <<EOF | 10540 cat > conftest.$ac_ext <<EOF |
| 10318 #line 10319 "configure" | 10541 #line 10542 "configure" |
| 10319 #include "confdefs.h" | 10542 #include "confdefs.h" |
| 10320 /* Override any gcc2 internal prototype to avoid an error. */ | 10543 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10321 /* We use char because int might match the return type of a gcc2 | 10544 /* We use char because int might match the return type of a gcc2 |
| 10322 builtin and then its argument prototype would still apply. */ | 10545 builtin and then its argument prototype would still apply. */ |
| 10323 char ALopenport(); | 10546 char ALopenport(); |
| 10324 | 10547 |
| 10325 int main() { | 10548 int main() { |
| 10326 ALopenport() | 10549 ALopenport() |
| 10327 ; return 0; } | 10550 ; return 0; } |
| 10328 EOF | 10551 EOF |
| 10329 if { (eval echo configure:10330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10552 if { (eval echo configure:10553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10330 rm -rf conftest* | 10553 rm -rf conftest* |
| 10331 eval "ac_cv_lib_$ac_lib_var=yes" | 10554 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10332 else | 10555 else |
| 10333 echo "configure: failed program was:" >&5 | 10556 echo "configure: failed program was:" >&5 |
| 10334 cat conftest.$ac_ext >&5 | 10557 cat conftest.$ac_ext >&5 |
| 10355 fi ;; | 10578 fi ;; |
| 10356 hppa*-hp-hpux* ) | 10579 hppa*-hp-hpux* ) |
| 10357 if test -z "$native_sound_lib"; then | 10580 if test -z "$native_sound_lib"; then |
| 10358 | 10581 |
| 10359 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10582 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 10360 echo "configure:10361: checking for AOpenAudio in -lAlib" >&5 | 10583 echo "configure:10584: checking for AOpenAudio in -lAlib" >&5 |
| 10361 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10584 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 10362 | 10585 |
| 10363 xe_check_libs=" -lAlib " | 10586 xe_check_libs=" -lAlib " |
| 10364 cat > conftest.$ac_ext <<EOF | 10587 cat > conftest.$ac_ext <<EOF |
| 10365 #line 10366 "configure" | 10588 #line 10589 "configure" |
| 10366 #include "confdefs.h" | 10589 #include "confdefs.h" |
| 10367 /* Override any gcc2 internal prototype to avoid an error. */ | 10590 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10368 /* We use char because int might match the return type of a gcc2 | 10591 /* We use char because int might match the return type of a gcc2 |
| 10369 builtin and then its argument prototype would still apply. */ | 10592 builtin and then its argument prototype would still apply. */ |
| 10370 char AOpenAudio(); | 10593 char AOpenAudio(); |
| 10371 | 10594 |
| 10372 int main() { | 10595 int main() { |
| 10373 AOpenAudio() | 10596 AOpenAudio() |
| 10374 ; return 0; } | 10597 ; return 0; } |
| 10375 EOF | 10598 EOF |
| 10376 if { (eval echo configure:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10599 if { (eval echo configure:10600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10377 rm -rf conftest* | 10600 rm -rf conftest* |
| 10378 eval "ac_cv_lib_$ac_lib_var=yes" | 10601 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10379 else | 10602 else |
| 10380 echo "configure: failed program was:" >&5 | 10603 echo "configure: failed program was:" >&5 |
| 10381 cat conftest.$ac_ext >&5 | 10604 cat conftest.$ac_ext >&5 |
| 10409 | 10632 |
| 10410 if test -z "$sound_found"; then | 10633 if test -z "$sound_found"; then |
| 10411 for dir in "machine" "sys" "linux"; do | 10634 for dir in "machine" "sys" "linux"; do |
| 10412 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10635 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 10413 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10636 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 10414 echo "configure:10415: checking for ${dir}/soundcard.h" >&5 | 10637 echo "configure:10638: checking for ${dir}/soundcard.h" >&5 |
| 10415 | 10638 |
| 10416 cat > conftest.$ac_ext <<EOF | 10639 cat > conftest.$ac_ext <<EOF |
| 10417 #line 10418 "configure" | 10640 #line 10641 "configure" |
| 10418 #include "confdefs.h" | 10641 #include "confdefs.h" |
| 10419 #include <${dir}/soundcard.h> | 10642 #include <${dir}/soundcard.h> |
| 10420 EOF | 10643 EOF |
| 10421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10422 { (eval echo configure:10423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10645 { (eval echo configure:10646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10423 ac_err=`grep -v '^ *+' conftest.out` | 10646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10424 if test -z "$ac_err"; then | 10647 if test -z "$ac_err"; then |
| 10425 rm -rf conftest* | 10648 rm -rf conftest* |
| 10426 eval "ac_cv_header_$ac_safe=yes" | 10649 eval "ac_cv_header_$ac_safe=yes" |
| 10427 else | 10650 else |
| 10428 echo "$ac_err" >&5 | 10651 echo "$ac_err" >&5 |
| 10487 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10710 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 10488 echo " xemacs will be linked with \"nas.o\"" | 10711 echo " xemacs will be linked with \"nas.o\"" |
| 10489 fi | 10712 fi |
| 10490 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10713 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 10491 cat > conftest.$ac_ext <<EOF | 10714 cat > conftest.$ac_ext <<EOF |
| 10492 #line 10493 "configure" | 10715 #line 10716 "configure" |
| 10493 #include "confdefs.h" | 10716 #include "confdefs.h" |
| 10494 #include <audio/Xtutil.h> | 10717 #include <audio/Xtutil.h> |
| 10495 EOF | 10718 EOF |
| 10496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10497 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10720 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 10514 | 10737 |
| 10515 test -z "$with_tty" && with_tty=yes | 10738 test -z "$with_tty" && with_tty=yes |
| 10516 | 10739 |
| 10517 if test "$with_tty" = "yes" ; then | 10740 if test "$with_tty" = "yes" ; then |
| 10518 echo "checking for TTY-related features" 1>&6 | 10741 echo "checking for TTY-related features" 1>&6 |
| 10519 echo "configure:10520: checking for TTY-related features" >&5 | 10742 echo "configure:10743: checking for TTY-related features" >&5 |
| 10520 { test "$extra_verbose" = "yes" && cat << \EOF | 10743 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10521 Defining HAVE_TTY | 10744 Defining HAVE_TTY |
| 10522 EOF | 10745 EOF |
| 10523 cat >> confdefs.h <<\EOF | 10746 cat >> confdefs.h <<\EOF |
| 10524 #define HAVE_TTY 1 | 10747 #define HAVE_TTY 1 |
| 10530 fi | 10753 fi |
| 10531 | 10754 |
| 10532 if test -z "$with_ncurses"; then | 10755 if test -z "$with_ncurses"; then |
| 10533 | 10756 |
| 10534 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10757 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 10535 echo "configure:10536: checking for tgetent in -lncurses" >&5 | 10758 echo "configure:10759: checking for tgetent in -lncurses" >&5 |
| 10536 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10759 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10537 | 10760 |
| 10538 xe_check_libs=" -lncurses " | 10761 xe_check_libs=" -lncurses " |
| 10539 cat > conftest.$ac_ext <<EOF | 10762 cat > conftest.$ac_ext <<EOF |
| 10540 #line 10541 "configure" | 10763 #line 10764 "configure" |
| 10541 #include "confdefs.h" | 10764 #include "confdefs.h" |
| 10542 /* Override any gcc2 internal prototype to avoid an error. */ | 10765 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10543 /* We use char because int might match the return type of a gcc2 | 10766 /* We use char because int might match the return type of a gcc2 |
| 10544 builtin and then its argument prototype would still apply. */ | 10767 builtin and then its argument prototype would still apply. */ |
| 10545 char tgetent(); | 10768 char tgetent(); |
| 10546 | 10769 |
| 10547 int main() { | 10770 int main() { |
| 10548 tgetent() | 10771 tgetent() |
| 10549 ; return 0; } | 10772 ; return 0; } |
| 10550 EOF | 10773 EOF |
| 10551 if { (eval echo configure:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10774 if { (eval echo configure:10775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10552 rm -rf conftest* | 10775 rm -rf conftest* |
| 10553 eval "ac_cv_lib_$ac_lib_var=yes" | 10776 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10554 else | 10777 else |
| 10555 echo "configure: failed program was:" >&5 | 10778 echo "configure: failed program was:" >&5 |
| 10556 cat conftest.$ac_ext >&5 | 10779 cat conftest.$ac_ext >&5 |
| 10579 EOF | 10802 EOF |
| 10580 } | 10803 } |
| 10581 | 10804 |
| 10582 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10805 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10583 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10806 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10584 echo "configure:10585: checking for ncurses/curses.h" >&5 | 10807 echo "configure:10808: checking for ncurses/curses.h" >&5 |
| 10585 | 10808 |
| 10586 cat > conftest.$ac_ext <<EOF | 10809 cat > conftest.$ac_ext <<EOF |
| 10587 #line 10588 "configure" | 10810 #line 10811 "configure" |
| 10588 #include "confdefs.h" | 10811 #include "confdefs.h" |
| 10589 #include <ncurses/curses.h> | 10812 #include <ncurses/curses.h> |
| 10590 EOF | 10813 EOF |
| 10591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10592 { (eval echo configure:10593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10815 { (eval echo configure:10816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10593 ac_err=`grep -v '^ *+' conftest.out` | 10816 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10594 if test -z "$ac_err"; then | 10817 if test -z "$ac_err"; then |
| 10595 rm -rf conftest* | 10818 rm -rf conftest* |
| 10596 eval "ac_cv_header_$ac_safe=yes" | 10819 eval "ac_cv_header_$ac_safe=yes" |
| 10597 else | 10820 else |
| 10598 echo "$ac_err" >&5 | 10821 echo "$ac_err" >&5 |
| 10609 echo "$ac_t""no" 1>&6 | 10832 echo "$ac_t""no" 1>&6 |
| 10610 fi | 10833 fi |
| 10611 | 10834 |
| 10612 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10835 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 10613 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10836 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 10614 echo "configure:10615: checking for ncurses/term.h" >&5 | 10837 echo "configure:10838: checking for ncurses/term.h" >&5 |
| 10615 | 10838 |
| 10616 cat > conftest.$ac_ext <<EOF | 10839 cat > conftest.$ac_ext <<EOF |
| 10617 #line 10618 "configure" | 10840 #line 10841 "configure" |
| 10618 #include "confdefs.h" | 10841 #include "confdefs.h" |
| 10619 #include <ncurses/term.h> | 10842 #include <ncurses/term.h> |
| 10620 EOF | 10843 EOF |
| 10621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10622 { (eval echo configure:10623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10845 { (eval echo configure:10846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10623 ac_err=`grep -v '^ *+' conftest.out` | 10846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10624 if test -z "$ac_err"; then | 10847 if test -z "$ac_err"; then |
| 10625 rm -rf conftest* | 10848 rm -rf conftest* |
| 10626 eval "ac_cv_header_$ac_safe=yes" | 10849 eval "ac_cv_header_$ac_safe=yes" |
| 10627 else | 10850 else |
| 10628 echo "$ac_err" >&5 | 10851 echo "$ac_err" >&5 |
| 10647 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10870 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 10648 save_c_switch_site="$c_switch_site" | 10871 save_c_switch_site="$c_switch_site" |
| 10649 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10872 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 10650 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10873 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10651 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10874 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10652 echo "configure:10653: checking for ncurses/curses.h" >&5 | 10875 echo "configure:10876: checking for ncurses/curses.h" >&5 |
| 10653 | 10876 |
| 10654 cat > conftest.$ac_ext <<EOF | 10877 cat > conftest.$ac_ext <<EOF |
| 10655 #line 10656 "configure" | 10878 #line 10879 "configure" |
| 10656 #include "confdefs.h" | 10879 #include "confdefs.h" |
| 10657 #include <ncurses/curses.h> | 10880 #include <ncurses/curses.h> |
| 10658 EOF | 10881 EOF |
| 10659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10660 { (eval echo configure:10661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10883 { (eval echo configure:10884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10661 ac_err=`grep -v '^ *+' conftest.out` | 10884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10662 if test -z "$ac_err"; then | 10885 if test -z "$ac_err"; then |
| 10663 rm -rf conftest* | 10886 rm -rf conftest* |
| 10664 eval "ac_cv_header_$ac_safe=yes" | 10887 eval "ac_cv_header_$ac_safe=yes" |
| 10665 else | 10888 else |
| 10666 echo "$ac_err" >&5 | 10889 echo "$ac_err" >&5 |
| 10690 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10913 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10691 else | 10914 else |
| 10692 for lib in curses termlib termcap; do | 10915 for lib in curses termlib termcap; do |
| 10693 | 10916 |
| 10694 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10917 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 10695 echo "configure:10696: checking for tgetent in -l$lib" >&5 | 10918 echo "configure:10919: checking for tgetent in -l$lib" >&5 |
| 10696 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10919 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 10697 | 10920 |
| 10698 xe_check_libs=" -l$lib " | 10921 xe_check_libs=" -l$lib " |
| 10699 cat > conftest.$ac_ext <<EOF | 10922 cat > conftest.$ac_ext <<EOF |
| 10700 #line 10701 "configure" | 10923 #line 10924 "configure" |
| 10701 #include "confdefs.h" | 10924 #include "confdefs.h" |
| 10702 /* Override any gcc2 internal prototype to avoid an error. */ | 10925 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10703 /* We use char because int might match the return type of a gcc2 | 10926 /* We use char because int might match the return type of a gcc2 |
| 10704 builtin and then its argument prototype would still apply. */ | 10927 builtin and then its argument prototype would still apply. */ |
| 10705 char tgetent(); | 10928 char tgetent(); |
| 10706 | 10929 |
| 10707 int main() { | 10930 int main() { |
| 10708 tgetent() | 10931 tgetent() |
| 10709 ; return 0; } | 10932 ; return 0; } |
| 10710 EOF | 10933 EOF |
| 10711 if { (eval echo configure:10712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10934 if { (eval echo configure:10935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10712 rm -rf conftest* | 10935 rm -rf conftest* |
| 10713 eval "ac_cv_lib_$ac_lib_var=yes" | 10936 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10714 else | 10937 else |
| 10715 echo "configure: failed program was:" >&5 | 10938 echo "configure: failed program was:" >&5 |
| 10716 cat conftest.$ac_ext >&5 | 10939 cat conftest.$ac_ext >&5 |
| 10737 if test -n "$libs_termcap"; then | 10960 if test -n "$libs_termcap"; then |
| 10738 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10961 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10739 else | 10962 else |
| 10740 | 10963 |
| 10741 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10964 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 10742 echo "configure:10743: checking for tgetent in -lcurses" >&5 | 10965 echo "configure:10966: checking for tgetent in -lcurses" >&5 |
| 10743 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10966 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10744 | 10967 |
| 10745 xe_check_libs=" -lcurses " | 10968 xe_check_libs=" -lcurses " |
| 10746 cat > conftest.$ac_ext <<EOF | 10969 cat > conftest.$ac_ext <<EOF |
| 10747 #line 10748 "configure" | 10970 #line 10971 "configure" |
| 10748 #include "confdefs.h" | 10971 #include "confdefs.h" |
| 10749 /* Override any gcc2 internal prototype to avoid an error. */ | 10972 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10750 /* We use char because int might match the return type of a gcc2 | 10973 /* We use char because int might match the return type of a gcc2 |
| 10751 builtin and then its argument prototype would still apply. */ | 10974 builtin and then its argument prototype would still apply. */ |
| 10752 char tgetent(); | 10975 char tgetent(); |
| 10753 | 10976 |
| 10754 int main() { | 10977 int main() { |
| 10755 tgetent() | 10978 tgetent() |
| 10756 ; return 0; } | 10979 ; return 0; } |
| 10757 EOF | 10980 EOF |
| 10758 if { (eval echo configure:10759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10981 if { (eval echo configure:10982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10759 rm -rf conftest* | 10982 rm -rf conftest* |
| 10760 eval "ac_cv_lib_$ac_lib_var=yes" | 10983 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10761 else | 10984 else |
| 10762 echo "configure: failed program was:" >&5 | 10985 echo "configure: failed program was:" >&5 |
| 10763 cat conftest.$ac_ext >&5 | 10986 cat conftest.$ac_ext >&5 |
| 10771 echo "$ac_t""yes" 1>&6 | 10994 echo "$ac_t""yes" 1>&6 |
| 10772 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10995 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 10773 else | 10996 else |
| 10774 echo "$ac_t""no" 1>&6 | 10997 echo "$ac_t""no" 1>&6 |
| 10775 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10998 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 10776 echo "configure:10777: checking for tgetent in -ltermcap" >&5 | 10999 echo "configure:11000: checking for tgetent in -ltermcap" >&5 |
| 10777 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11000 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 10778 | 11001 |
| 10779 xe_check_libs=" -ltermcap " | 11002 xe_check_libs=" -ltermcap " |
| 10780 cat > conftest.$ac_ext <<EOF | 11003 cat > conftest.$ac_ext <<EOF |
| 10781 #line 10782 "configure" | 11004 #line 11005 "configure" |
| 10782 #include "confdefs.h" | 11005 #include "confdefs.h" |
| 10783 /* Override any gcc2 internal prototype to avoid an error. */ | 11006 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10784 /* We use char because int might match the return type of a gcc2 | 11007 /* We use char because int might match the return type of a gcc2 |
| 10785 builtin and then its argument prototype would still apply. */ | 11008 builtin and then its argument prototype would still apply. */ |
| 10786 char tgetent(); | 11009 char tgetent(); |
| 10787 | 11010 |
| 10788 int main() { | 11011 int main() { |
| 10789 tgetent() | 11012 tgetent() |
| 10790 ; return 0; } | 11013 ; return 0; } |
| 10791 EOF | 11014 EOF |
| 10792 if { (eval echo configure:10793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11015 if { (eval echo configure:11016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10793 rm -rf conftest* | 11016 rm -rf conftest* |
| 10794 eval "ac_cv_lib_$ac_lib_var=yes" | 11017 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10795 else | 11018 else |
| 10796 echo "configure: failed program was:" >&5 | 11019 echo "configure: failed program was:" >&5 |
| 10797 cat conftest.$ac_ext >&5 | 11020 cat conftest.$ac_ext >&5 |
| 10835 } | 11058 } |
| 10836 | 11059 |
| 10837 | 11060 |
| 10838 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11061 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 10839 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11062 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 10840 echo "configure:10841: checking for gpm.h" >&5 | 11063 echo "configure:11064: checking for gpm.h" >&5 |
| 10841 | 11064 |
| 10842 cat > conftest.$ac_ext <<EOF | 11065 cat > conftest.$ac_ext <<EOF |
| 10843 #line 10844 "configure" | 11066 #line 11067 "configure" |
| 10844 #include "confdefs.h" | 11067 #include "confdefs.h" |
| 10845 #include <gpm.h> | 11068 #include <gpm.h> |
| 10846 EOF | 11069 EOF |
| 10847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10848 { (eval echo configure:10849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11071 { (eval echo configure:11072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10849 ac_err=`grep -v '^ *+' conftest.out` | 11072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10850 if test -z "$ac_err"; then | 11073 if test -z "$ac_err"; then |
| 10851 rm -rf conftest* | 11074 rm -rf conftest* |
| 10852 eval "ac_cv_header_$ac_safe=yes" | 11075 eval "ac_cv_header_$ac_safe=yes" |
| 10853 else | 11076 else |
| 10854 echo "$ac_err" >&5 | 11077 echo "$ac_err" >&5 |
| 10866 with_gpm=no | 11089 with_gpm=no |
| 10867 fi | 11090 fi |
| 10868 } | 11091 } |
| 10869 test -z "$with_gpm" && { | 11092 test -z "$with_gpm" && { |
| 10870 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11093 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 10871 echo "configure:10872: checking for Gpm_Open in -lgpm" >&5 | 11094 echo "configure:11095: checking for Gpm_Open in -lgpm" >&5 |
| 10872 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11095 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 10873 | 11096 |
| 10874 xe_check_libs=" -lgpm " | 11097 xe_check_libs=" -lgpm " |
| 10875 cat > conftest.$ac_ext <<EOF | 11098 cat > conftest.$ac_ext <<EOF |
| 10876 #line 10877 "configure" | 11099 #line 11100 "configure" |
| 10877 #include "confdefs.h" | 11100 #include "confdefs.h" |
| 10878 /* Override any gcc2 internal prototype to avoid an error. */ | 11101 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10879 /* We use char because int might match the return type of a gcc2 | 11102 /* We use char because int might match the return type of a gcc2 |
| 10880 builtin and then its argument prototype would still apply. */ | 11103 builtin and then its argument prototype would still apply. */ |
| 10881 char Gpm_Open(); | 11104 char Gpm_Open(); |
| 10882 | 11105 |
| 10883 int main() { | 11106 int main() { |
| 10884 Gpm_Open() | 11107 Gpm_Open() |
| 10885 ; return 0; } | 11108 ; return 0; } |
| 10886 EOF | 11109 EOF |
| 10887 if { (eval echo configure:10888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11110 if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10888 rm -rf conftest* | 11111 rm -rf conftest* |
| 10889 eval "ac_cv_lib_$ac_lib_var=yes" | 11112 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10890 else | 11113 else |
| 10891 echo "configure: failed program was:" >&5 | 11114 echo "configure: failed program was:" >&5 |
| 10892 cat conftest.$ac_ext >&5 | 11115 cat conftest.$ac_ext >&5 |
| 10931 echo " xemacs will be linked with \"event-unixoid.o\"" | 11154 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 10932 fi | 11155 fi |
| 10933 | 11156 |
| 10934 | 11157 |
| 10935 echo "checking for database support" 1>&6 | 11158 echo "checking for database support" 1>&6 |
| 10936 echo "configure:10937: checking for database support" >&5 | 11159 echo "configure:11160: checking for database support" >&5 |
| 10937 | 11160 |
| 10938 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11161 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
| 10939 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11162 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 10940 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11163 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 10941 echo "configure:10942: checking for ndbm.h" >&5 | 11164 echo "configure:11165: checking for ndbm.h" >&5 |
| 10942 | 11165 |
| 10943 cat > conftest.$ac_ext <<EOF | 11166 cat > conftest.$ac_ext <<EOF |
| 10944 #line 10945 "configure" | 11167 #line 11168 "configure" |
| 10945 #include "confdefs.h" | 11168 #include "confdefs.h" |
| 10946 #include <ndbm.h> | 11169 #include <ndbm.h> |
| 10947 EOF | 11170 EOF |
| 10948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10949 { (eval echo configure:10950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11172 { (eval echo configure:11173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10950 ac_err=`grep -v '^ *+' conftest.out` | 11173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10951 if test -z "$ac_err"; then | 11174 if test -z "$ac_err"; then |
| 10952 rm -rf conftest* | 11175 rm -rf conftest* |
| 10953 eval "ac_cv_header_$ac_safe=yes" | 11176 eval "ac_cv_header_$ac_safe=yes" |
| 10954 else | 11177 else |
| 10955 echo "$ac_err" >&5 | 11178 echo "$ac_err" >&5 |
| 10974 fi | 11197 fi |
| 10975 | 11198 |
| 10976 if test "$with_database_gnudbm" != "no"; then | 11199 if test "$with_database_gnudbm" != "no"; then |
| 10977 | 11200 |
| 10978 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11201 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 10979 echo "configure:10980: checking for dbm_open in -lgdbm" >&5 | 11202 echo "configure:11203: checking for dbm_open in -lgdbm" >&5 |
| 10980 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11203 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 10981 | 11204 |
| 10982 xe_check_libs=" -lgdbm " | 11205 xe_check_libs=" -lgdbm " |
| 10983 cat > conftest.$ac_ext <<EOF | 11206 cat > conftest.$ac_ext <<EOF |
| 10984 #line 10985 "configure" | 11207 #line 11208 "configure" |
| 10985 #include "confdefs.h" | 11208 #include "confdefs.h" |
| 10986 /* Override any gcc2 internal prototype to avoid an error. */ | 11209 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10987 /* 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 |
| 10988 builtin and then its argument prototype would still apply. */ | 11211 builtin and then its argument prototype would still apply. */ |
| 10989 char dbm_open(); | 11212 char dbm_open(); |
| 10990 | 11213 |
| 10991 int main() { | 11214 int main() { |
| 10992 dbm_open() | 11215 dbm_open() |
| 10993 ; return 0; } | 11216 ; return 0; } |
| 10994 EOF | 11217 EOF |
| 10995 if { (eval echo configure:10996: \"$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 |
| 10996 rm -rf conftest* | 11219 rm -rf conftest* |
| 10997 eval "ac_cv_lib_$ac_lib_var=yes" | 11220 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10998 else | 11221 else |
| 10999 echo "configure: failed program was:" >&5 | 11222 echo "configure: failed program was:" >&5 |
| 11000 cat conftest.$ac_ext >&5 | 11223 cat conftest.$ac_ext >&5 |
| 11018 | 11241 |
| 11019 fi | 11242 fi |
| 11020 | 11243 |
| 11021 if test "$with_database_dbm" != "no"; then | 11244 if test "$with_database_dbm" != "no"; then |
| 11022 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11245 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 11023 echo "configure:11024: checking for dbm_open" >&5 | 11246 echo "configure:11247: checking for dbm_open" >&5 |
| 11024 | 11247 |
| 11025 cat > conftest.$ac_ext <<EOF | 11248 cat > conftest.$ac_ext <<EOF |
| 11026 #line 11027 "configure" | 11249 #line 11250 "configure" |
| 11027 #include "confdefs.h" | 11250 #include "confdefs.h" |
| 11028 /* System header to define __stub macros and hopefully few prototypes, | 11251 /* System header to define __stub macros and hopefully few prototypes, |
| 11029 which can conflict with char dbm_open(); below. */ | 11252 which can conflict with char dbm_open(); below. */ |
| 11030 #include <assert.h> | 11253 #include <assert.h> |
| 11031 /* Override any gcc2 internal prototype to avoid an error. */ | 11254 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11044 dbm_open(); | 11267 dbm_open(); |
| 11045 #endif | 11268 #endif |
| 11046 | 11269 |
| 11047 ; return 0; } | 11270 ; return 0; } |
| 11048 EOF | 11271 EOF |
| 11049 if { (eval echo configure:11050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11272 if { (eval echo configure:11273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11050 rm -rf conftest* | 11273 rm -rf conftest* |
| 11051 eval "ac_cv_func_dbm_open=yes" | 11274 eval "ac_cv_func_dbm_open=yes" |
| 11052 else | 11275 else |
| 11053 echo "configure: failed program was:" >&5 | 11276 echo "configure: failed program was:" >&5 |
| 11054 cat conftest.$ac_ext >&5 | 11277 cat conftest.$ac_ext >&5 |
| 11063 else | 11286 else |
| 11064 echo "$ac_t""no" 1>&6 | 11287 echo "$ac_t""no" 1>&6 |
| 11065 | 11288 |
| 11066 | 11289 |
| 11067 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11290 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 11068 echo "configure:11069: checking for dbm_open in -ldbm" >&5 | 11291 echo "configure:11292: checking for dbm_open in -ldbm" >&5 |
| 11069 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11292 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 11070 | 11293 |
| 11071 xe_check_libs=" -ldbm " | 11294 xe_check_libs=" -ldbm " |
| 11072 cat > conftest.$ac_ext <<EOF | 11295 cat > conftest.$ac_ext <<EOF |
| 11073 #line 11074 "configure" | 11296 #line 11297 "configure" |
| 11074 #include "confdefs.h" | 11297 #include "confdefs.h" |
| 11075 /* Override any gcc2 internal prototype to avoid an error. */ | 11298 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11076 /* We use char because int might match the return type of a gcc2 | 11299 /* We use char because int might match the return type of a gcc2 |
| 11077 builtin and then its argument prototype would still apply. */ | 11300 builtin and then its argument prototype would still apply. */ |
| 11078 char dbm_open(); | 11301 char dbm_open(); |
| 11079 | 11302 |
| 11080 int main() { | 11303 int main() { |
| 11081 dbm_open() | 11304 dbm_open() |
| 11082 ; return 0; } | 11305 ; return 0; } |
| 11083 EOF | 11306 EOF |
| 11084 if { (eval echo configure:11085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11307 if { (eval echo configure:11308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11085 rm -rf conftest* | 11308 rm -rf conftest* |
| 11086 eval "ac_cv_lib_$ac_lib_var=yes" | 11309 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11087 else | 11310 else |
| 11088 echo "configure: failed program was:" >&5 | 11311 echo "configure: failed program was:" >&5 |
| 11089 cat conftest.$ac_ext >&5 | 11312 cat conftest.$ac_ext >&5 |
| 11121 | 11344 |
| 11122 fi | 11345 fi |
| 11123 | 11346 |
| 11124 if test "$with_database_berkdb" != "no"; then | 11347 if test "$with_database_berkdb" != "no"; then |
| 11125 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11348 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 11126 echo "configure:11127: checking for Berkeley db.h" >&5 | 11349 echo "configure:11350: checking for Berkeley db.h" >&5 |
| 11127 for path in "db/db.h" "db.h"; do | 11350 for path in "db/db.h" "db.h"; do |
| 11128 cat > conftest.$ac_ext <<EOF | 11351 cat > conftest.$ac_ext <<EOF |
| 11129 #line 11130 "configure" | 11352 #line 11353 "configure" |
| 11130 #include "confdefs.h" | 11353 #include "confdefs.h" |
| 11131 #ifdef HAVE_INTTYPES_H | 11354 #ifdef HAVE_INTTYPES_H |
| 11132 #define __BIT_TYPES_DEFINED__ | 11355 #define __BIT_TYPES_DEFINED__ |
| 11133 #include <inttypes.h> | 11356 #include <inttypes.h> |
| 11134 typedef uint8_t u_int8_t; | 11357 typedef uint8_t u_int8_t; |
| 11142 | 11365 |
| 11143 int main() { | 11366 int main() { |
| 11144 | 11367 |
| 11145 ; return 0; } | 11368 ; return 0; } |
| 11146 EOF | 11369 EOF |
| 11147 if { (eval echo configure:11148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11370 if { (eval echo configure:11371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11148 rm -rf conftest* | 11371 rm -rf conftest* |
| 11149 db_h_path="$path"; break | 11372 db_h_path="$path"; break |
| 11150 else | 11373 else |
| 11151 echo "configure: failed program was:" >&5 | 11374 echo "configure: failed program was:" >&5 |
| 11152 cat conftest.$ac_ext >&5 | 11375 cat conftest.$ac_ext >&5 |
| 11158 else echo "$ac_t""$db_h_path" 1>&6 | 11381 else echo "$ac_t""$db_h_path" 1>&6 |
| 11159 fi | 11382 fi |
| 11160 | 11383 |
| 11161 if test "$with_database_berkdb" != "no"; then | 11384 if test "$with_database_berkdb" != "no"; then |
| 11162 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11385 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 11163 echo "configure:11164: checking for Berkeley DB version" >&5 | 11386 echo "configure:11387: checking for Berkeley DB version" >&5 |
| 11164 cat > conftest.$ac_ext <<EOF | 11387 cat > conftest.$ac_ext <<EOF |
| 11165 #line 11166 "configure" | 11388 #line 11389 "configure" |
| 11166 #include "confdefs.h" | 11389 #include "confdefs.h" |
| 11167 #include <$db_h_path> | 11390 #include <$db_h_path> |
| 11168 #if DB_VERSION_MAJOR > 1 | 11391 #if DB_VERSION_MAJOR > 1 |
| 11169 yes | 11392 yes |
| 11170 #endif | 11393 #endif |
| 11179 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11402 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 11180 fi | 11403 fi |
| 11181 rm -f conftest* | 11404 rm -f conftest* |
| 11182 | 11405 |
| 11183 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11406 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 11184 echo "configure:11185: checking for $dbfunc" >&5 | 11407 echo "configure:11408: checking for $dbfunc" >&5 |
| 11185 | 11408 |
| 11186 cat > conftest.$ac_ext <<EOF | 11409 cat > conftest.$ac_ext <<EOF |
| 11187 #line 11188 "configure" | 11410 #line 11411 "configure" |
| 11188 #include "confdefs.h" | 11411 #include "confdefs.h" |
| 11189 /* System header to define __stub macros and hopefully few prototypes, | 11412 /* System header to define __stub macros and hopefully few prototypes, |
| 11190 which can conflict with char $dbfunc(); below. */ | 11413 which can conflict with char $dbfunc(); below. */ |
| 11191 #include <assert.h> | 11414 #include <assert.h> |
| 11192 /* Override any gcc2 internal prototype to avoid an error. */ | 11415 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11205 $dbfunc(); | 11428 $dbfunc(); |
| 11206 #endif | 11429 #endif |
| 11207 | 11430 |
| 11208 ; return 0; } | 11431 ; return 0; } |
| 11209 EOF | 11432 EOF |
| 11210 if { (eval echo configure:11211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11433 if { (eval echo configure:11434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11211 rm -rf conftest* | 11434 rm -rf conftest* |
| 11212 eval "ac_cv_func_$dbfunc=yes" | 11435 eval "ac_cv_func_$dbfunc=yes" |
| 11213 else | 11436 else |
| 11214 echo "configure: failed program was:" >&5 | 11437 echo "configure: failed program was:" >&5 |
| 11215 cat conftest.$ac_ext >&5 | 11438 cat conftest.$ac_ext >&5 |
| 11224 else | 11447 else |
| 11225 echo "$ac_t""no" 1>&6 | 11448 echo "$ac_t""no" 1>&6 |
| 11226 | 11449 |
| 11227 | 11450 |
| 11228 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11451 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 11229 echo "configure:11230: checking for $dbfunc in -ldb" >&5 | 11452 echo "configure:11453: checking for $dbfunc in -ldb" >&5 |
| 11230 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11453 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 11231 | 11454 |
| 11232 xe_check_libs=" -ldb " | 11455 xe_check_libs=" -ldb " |
| 11233 cat > conftest.$ac_ext <<EOF | 11456 cat > conftest.$ac_ext <<EOF |
| 11234 #line 11235 "configure" | 11457 #line 11458 "configure" |
| 11235 #include "confdefs.h" | 11458 #include "confdefs.h" |
| 11236 /* Override any gcc2 internal prototype to avoid an error. */ | 11459 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11237 /* We use char because int might match the return type of a gcc2 | 11460 /* We use char because int might match the return type of a gcc2 |
| 11238 builtin and then its argument prototype would still apply. */ | 11461 builtin and then its argument prototype would still apply. */ |
| 11239 char $dbfunc(); | 11462 char $dbfunc(); |
| 11240 | 11463 |
| 11241 int main() { | 11464 int main() { |
| 11242 $dbfunc() | 11465 $dbfunc() |
| 11243 ; return 0; } | 11466 ; return 0; } |
| 11244 EOF | 11467 EOF |
| 11245 if { (eval echo configure:11246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11468 if { (eval echo configure:11469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11246 rm -rf conftest* | 11469 rm -rf conftest* |
| 11247 eval "ac_cv_lib_$ac_lib_var=yes" | 11470 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11248 else | 11471 else |
| 11249 echo "configure: failed program was:" >&5 | 11472 echo "configure: failed program was:" >&5 |
| 11250 cat conftest.$ac_ext >&5 | 11473 cat conftest.$ac_ext >&5 |
| 11304 fi | 11527 fi |
| 11305 | 11528 |
| 11306 if test "$with_socks" = "yes"; then | 11529 if test "$with_socks" = "yes"; then |
| 11307 | 11530 |
| 11308 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11531 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 11309 echo "configure:11310: checking for SOCKSinit in -lsocks" >&5 | 11532 echo "configure:11533: checking for SOCKSinit in -lsocks" >&5 |
| 11310 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11533 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 11311 | 11534 |
| 11312 xe_check_libs=" -lsocks " | 11535 xe_check_libs=" -lsocks " |
| 11313 cat > conftest.$ac_ext <<EOF | 11536 cat > conftest.$ac_ext <<EOF |
| 11314 #line 11315 "configure" | 11537 #line 11538 "configure" |
| 11315 #include "confdefs.h" | 11538 #include "confdefs.h" |
| 11316 /* Override any gcc2 internal prototype to avoid an error. */ | 11539 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11317 /* We use char because int might match the return type of a gcc2 | 11540 /* We use char because int might match the return type of a gcc2 |
| 11318 builtin and then its argument prototype would still apply. */ | 11541 builtin and then its argument prototype would still apply. */ |
| 11319 char SOCKSinit(); | 11542 char SOCKSinit(); |
| 11320 | 11543 |
| 11321 int main() { | 11544 int main() { |
| 11322 SOCKSinit() | 11545 SOCKSinit() |
| 11323 ; return 0; } | 11546 ; return 0; } |
| 11324 EOF | 11547 EOF |
| 11325 if { (eval echo configure:11326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11548 if { (eval echo configure:11549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11326 rm -rf conftest* | 11549 rm -rf conftest* |
| 11327 eval "ac_cv_lib_$ac_lib_var=yes" | 11550 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11328 else | 11551 else |
| 11329 echo "configure: failed program was:" >&5 | 11552 echo "configure: failed program was:" >&5 |
| 11330 cat conftest.$ac_ext >&5 | 11553 cat conftest.$ac_ext >&5 |
| 11379 | 11602 |
| 11380 for ac_hdr in dlfcn.h | 11603 for ac_hdr in dlfcn.h |
| 11381 do | 11604 do |
| 11382 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11383 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11384 echo "configure:11385: checking for $ac_hdr" >&5 | 11607 echo "configure:11608: checking for $ac_hdr" >&5 |
| 11385 | 11608 |
| 11386 cat > conftest.$ac_ext <<EOF | 11609 cat > conftest.$ac_ext <<EOF |
| 11387 #line 11388 "configure" | 11610 #line 11611 "configure" |
| 11388 #include "confdefs.h" | 11611 #include "confdefs.h" |
| 11389 #include <$ac_hdr> | 11612 #include <$ac_hdr> |
| 11390 EOF | 11613 EOF |
| 11391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11392 { (eval echo configure:11393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11615 { (eval echo configure:11616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11393 ac_err=`grep -v '^ *+' conftest.out` | 11616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11394 if test -z "$ac_err"; then | 11617 if test -z "$ac_err"; then |
| 11395 rm -rf conftest* | 11618 rm -rf conftest* |
| 11396 eval "ac_cv_header_$ac_safe=yes" | 11619 eval "ac_cv_header_$ac_safe=yes" |
| 11397 else | 11620 else |
| 11398 echo "$ac_err" >&5 | 11621 echo "$ac_err" >&5 |
| 11418 fi | 11641 fi |
| 11419 done | 11642 done |
| 11420 | 11643 |
| 11421 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11644 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11422 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11645 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 11423 echo "configure:11424: checking for dlopen in -ldl" >&5 | 11646 echo "configure:11647: checking for dlopen in -ldl" >&5 |
| 11424 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11647 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| 11425 | 11648 |
| 11426 xe_check_libs=" -ldl " | 11649 xe_check_libs=" -ldl " |
| 11427 cat > conftest.$ac_ext <<EOF | 11650 cat > conftest.$ac_ext <<EOF |
| 11428 #line 11429 "configure" | 11651 #line 11652 "configure" |
| 11429 #include "confdefs.h" | 11652 #include "confdefs.h" |
| 11430 /* Override any gcc2 internal prototype to avoid an error. */ | 11653 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11431 /* We use char because int might match the return type of a gcc2 | 11654 /* We use char because int might match the return type of a gcc2 |
| 11432 builtin and then its argument prototype would still apply. */ | 11655 builtin and then its argument prototype would still apply. */ |
| 11433 char dlopen(); | 11656 char dlopen(); |
| 11434 | 11657 |
| 11435 int main() { | 11658 int main() { |
| 11436 dlopen() | 11659 dlopen() |
| 11437 ; return 0; } | 11660 ; return 0; } |
| 11438 EOF | 11661 EOF |
| 11439 if { (eval echo configure:11440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11662 if { (eval echo configure:11663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11440 rm -rf conftest* | 11663 rm -rf conftest* |
| 11441 eval "ac_cv_lib_$ac_lib_var=yes" | 11664 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11442 else | 11665 else |
| 11443 echo "configure: failed program was:" >&5 | 11666 echo "configure: failed program was:" >&5 |
| 11444 cat conftest.$ac_ext >&5 | 11667 cat conftest.$ac_ext >&5 |
| 11463 fi | 11686 fi |
| 11464 | 11687 |
| 11465 } | 11688 } |
| 11466 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11689 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11467 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11690 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
| 11468 echo "configure:11469: checking for _dlopen in -lc" >&5 | 11691 echo "configure:11692: checking for _dlopen in -lc" >&5 |
| 11469 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11692 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
| 11470 | 11693 |
| 11471 xe_check_libs=" -lc " | 11694 xe_check_libs=" -lc " |
| 11472 cat > conftest.$ac_ext <<EOF | 11695 cat > conftest.$ac_ext <<EOF |
| 11473 #line 11474 "configure" | 11696 #line 11697 "configure" |
| 11474 #include "confdefs.h" | 11697 #include "confdefs.h" |
| 11475 /* Override any gcc2 internal prototype to avoid an error. */ | 11698 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11476 /* We use char because int might match the return type of a gcc2 | 11699 /* We use char because int might match the return type of a gcc2 |
| 11477 builtin and then its argument prototype would still apply. */ | 11700 builtin and then its argument prototype would still apply. */ |
| 11478 char _dlopen(); | 11701 char _dlopen(); |
| 11479 | 11702 |
| 11480 int main() { | 11703 int main() { |
| 11481 _dlopen() | 11704 _dlopen() |
| 11482 ; return 0; } | 11705 ; return 0; } |
| 11483 EOF | 11706 EOF |
| 11484 if { (eval echo configure:11485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11707 if { (eval echo configure:11708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11485 rm -rf conftest* | 11708 rm -rf conftest* |
| 11486 eval "ac_cv_lib_$ac_lib_var=yes" | 11709 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11487 else | 11710 else |
| 11488 echo "configure: failed program was:" >&5 | 11711 echo "configure: failed program was:" >&5 |
| 11489 cat conftest.$ac_ext >&5 | 11712 cat conftest.$ac_ext >&5 |
| 11508 fi | 11731 fi |
| 11509 | 11732 |
| 11510 } | 11733 } |
| 11511 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11734 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11512 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11735 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 11513 echo "configure:11514: checking for dlopen in -lc" >&5 | 11736 echo "configure:11737: checking for dlopen in -lc" >&5 |
| 11514 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11737 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
| 11515 | 11738 |
| 11516 xe_check_libs=" -lc " | 11739 xe_check_libs=" -lc " |
| 11517 cat > conftest.$ac_ext <<EOF | 11740 cat > conftest.$ac_ext <<EOF |
| 11518 #line 11519 "configure" | 11741 #line 11742 "configure" |
| 11519 #include "confdefs.h" | 11742 #include "confdefs.h" |
| 11520 /* Override any gcc2 internal prototype to avoid an error. */ | 11743 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11521 /* We use char because int might match the return type of a gcc2 | 11744 /* We use char because int might match the return type of a gcc2 |
| 11522 builtin and then its argument prototype would still apply. */ | 11745 builtin and then its argument prototype would still apply. */ |
| 11523 char dlopen(); | 11746 char dlopen(); |
| 11524 | 11747 |
| 11525 int main() { | 11748 int main() { |
| 11526 dlopen() | 11749 dlopen() |
| 11527 ; return 0; } | 11750 ; return 0; } |
| 11528 EOF | 11751 EOF |
| 11529 if { (eval echo configure:11530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11752 if { (eval echo configure:11753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11530 rm -rf conftest* | 11753 rm -rf conftest* |
| 11531 eval "ac_cv_lib_$ac_lib_var=yes" | 11754 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11532 else | 11755 else |
| 11533 echo "configure: failed program was:" >&5 | 11756 echo "configure: failed program was:" >&5 |
| 11534 cat conftest.$ac_ext >&5 | 11757 cat conftest.$ac_ext >&5 |
| 11553 fi | 11776 fi |
| 11554 | 11777 |
| 11555 } | 11778 } |
| 11556 test -z "$with_shlib" && { | 11779 test -z "$with_shlib" && { |
| 11557 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11780 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 11558 echo "configure:11559: checking for shl_load in -ldld" >&5 | 11781 echo "configure:11782: checking for shl_load in -ldld" >&5 |
| 11559 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11782 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 11560 | 11783 |
| 11561 xe_check_libs=" -ldld " | 11784 xe_check_libs=" -ldld " |
| 11562 cat > conftest.$ac_ext <<EOF | 11785 cat > conftest.$ac_ext <<EOF |
| 11563 #line 11564 "configure" | 11786 #line 11787 "configure" |
| 11564 #include "confdefs.h" | 11787 #include "confdefs.h" |
| 11565 /* Override any gcc2 internal prototype to avoid an error. */ | 11788 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11566 /* We use char because int might match the return type of a gcc2 | 11789 /* We use char because int might match the return type of a gcc2 |
| 11567 builtin and then its argument prototype would still apply. */ | 11790 builtin and then its argument prototype would still apply. */ |
| 11568 char shl_load(); | 11791 char shl_load(); |
| 11569 | 11792 |
| 11570 int main() { | 11793 int main() { |
| 11571 shl_load() | 11794 shl_load() |
| 11572 ; return 0; } | 11795 ; return 0; } |
| 11573 EOF | 11796 EOF |
| 11574 if { (eval echo configure:11575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11575 rm -rf conftest* | 11798 rm -rf conftest* |
| 11576 eval "ac_cv_lib_$ac_lib_var=yes" | 11799 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11577 else | 11800 else |
| 11578 echo "configure: failed program was:" >&5 | 11801 echo "configure: failed program was:" >&5 |
| 11579 cat conftest.$ac_ext >&5 | 11802 cat conftest.$ac_ext >&5 |
| 11598 fi | 11821 fi |
| 11599 | 11822 |
| 11600 } | 11823 } |
| 11601 test -z "$with_shlib" && { | 11824 test -z "$with_shlib" && { |
| 11602 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11825 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 11603 echo "configure:11604: checking for dld_init in -ldld" >&5 | 11826 echo "configure:11827: checking for dld_init in -ldld" >&5 |
| 11604 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11827 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 11605 | 11828 |
| 11606 xe_check_libs=" -ldld " | 11829 xe_check_libs=" -ldld " |
| 11607 cat > conftest.$ac_ext <<EOF | 11830 cat > conftest.$ac_ext <<EOF |
| 11608 #line 11609 "configure" | 11831 #line 11832 "configure" |
| 11609 #include "confdefs.h" | 11832 #include "confdefs.h" |
| 11610 /* Override any gcc2 internal prototype to avoid an error. */ | 11833 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11611 /* We use char because int might match the return type of a gcc2 | 11834 /* We use char because int might match the return type of a gcc2 |
| 11612 builtin and then its argument prototype would still apply. */ | 11835 builtin and then its argument prototype would still apply. */ |
| 11613 char dld_init(); | 11836 char dld_init(); |
| 11614 | 11837 |
| 11615 int main() { | 11838 int main() { |
| 11616 dld_init() | 11839 dld_init() |
| 11617 ; return 0; } | 11840 ; return 0; } |
| 11618 EOF | 11841 EOF |
| 11619 if { (eval echo configure:11620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11842 if { (eval echo configure:11843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11620 rm -rf conftest* | 11843 rm -rf conftest* |
| 11621 eval "ac_cv_lib_$ac_lib_var=yes" | 11844 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11622 else | 11845 else |
| 11623 echo "configure: failed program was:" >&5 | 11846 echo "configure: failed program was:" >&5 |
| 11624 cat conftest.$ac_ext >&5 | 11847 cat conftest.$ac_ext >&5 |
| 11664 dll_lflags="-shared" | 11887 dll_lflags="-shared" |
| 11665 dll_cflags="-r" | 11888 dll_cflags="-r" |
| 11666 dll_oflags="-o " | 11889 dll_oflags="-o " |
| 11667 | 11890 |
| 11668 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11891 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
| 11669 echo "configure:11670: checking how to build a shared library" >&5 | 11892 echo "configure:11893: checking how to build a shared library" >&5 |
| 11670 case `uname -rs` in | 11893 case `uname -rs` in |
| 11671 UNIX_SV*|UNIX_System_V*) | 11894 UNIX_SV*|UNIX_System_V*) |
| 11672 dll_lflags="-G" | 11895 dll_lflags="-G" |
| 11673 dll_cflags=-Kpic | 11896 dll_cflags=-Kpic |
| 11674 dll_ld="ld" | 11897 dll_ld="ld" |
| 11755 | 11978 |
| 11756 | 11979 |
| 11757 for ac_func in dlerror | 11980 for ac_func in dlerror |
| 11758 do | 11981 do |
| 11759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11982 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11760 echo "configure:11761: checking for $ac_func" >&5 | 11983 echo "configure:11984: checking for $ac_func" >&5 |
| 11761 | 11984 |
| 11762 cat > conftest.$ac_ext <<EOF | 11985 cat > conftest.$ac_ext <<EOF |
| 11763 #line 11764 "configure" | 11986 #line 11987 "configure" |
| 11764 #include "confdefs.h" | 11987 #include "confdefs.h" |
| 11765 /* System header to define __stub macros and hopefully few prototypes, | 11988 /* System header to define __stub macros and hopefully few prototypes, |
| 11766 which can conflict with char $ac_func(); below. */ | 11989 which can conflict with char $ac_func(); below. */ |
| 11767 #include <assert.h> | 11990 #include <assert.h> |
| 11768 /* Override any gcc2 internal prototype to avoid an error. */ | 11991 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11781 $ac_func(); | 12004 $ac_func(); |
| 11782 #endif | 12005 #endif |
| 11783 | 12006 |
| 11784 ; return 0; } | 12007 ; return 0; } |
| 11785 EOF | 12008 EOF |
| 11786 if { (eval echo configure:11787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12009 if { (eval echo configure:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11787 rm -rf conftest* | 12010 rm -rf conftest* |
| 11788 eval "ac_cv_func_$ac_func=yes" | 12011 eval "ac_cv_func_$ac_func=yes" |
| 11789 else | 12012 else |
| 11790 echo "configure: failed program was:" >&5 | 12013 echo "configure: failed program was:" >&5 |
| 11791 cat conftest.$ac_ext >&5 | 12014 cat conftest.$ac_ext >&5 |
| 11817 *) ;; | 12040 *) ;; |
| 11818 esac | 12041 esac |
| 11819 fi | 12042 fi |
| 11820 | 12043 |
| 11821 cat > conftest.$ac_ext <<EOF | 12044 cat > conftest.$ac_ext <<EOF |
| 11822 #line 11823 "configure" | 12045 #line 12046 "configure" |
| 11823 #include "confdefs.h" | 12046 #include "confdefs.h" |
| 11824 int main(int c,char *v[]){return 0;} | 12047 int main(int c,char *v[]){return 0;} |
| 11825 EOF | 12048 EOF |
| 11826 if { (eval echo configure:11827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12049 if { (eval echo configure:12050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11827 then | 12050 then |
| 11828 : | 12051 : |
| 11829 else | 12052 else |
| 11830 conftest_rc="$?" | 12053 conftest_rc="$?" |
| 11831 echo "configure: failed program was:" >&5 | 12054 echo "configure: failed program was:" >&5 |
| 12458 motif ) echo " Using Motif scrollbars." ;; | 12681 motif ) echo " Using Motif scrollbars." ;; |
| 12459 athena ) echo " Using Athena scrollbars." ;; | 12682 athena ) echo " Using Athena scrollbars." ;; |
| 12460 athena3d ) echo " Using Athena-3d scrollbars." ;; | 12683 athena3d ) echo " Using Athena-3d scrollbars." ;; |
| 12461 esac | 12684 esac |
| 12462 case "$with_dialogs" in | 12685 case "$with_dialogs" in |
| 12463 motif ) echo " Using Motif dialog boxes." ;; | 12686 motif ) |
| 12687 echo " Using Motif dialog boxes." | |
| 12688 if test "$unexec" = "unexaix.o" -a `uname -v` = 4 -a `uname -r` -ge 3; then | |
| 12689 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | |
| 12690 echo " We recommend using the Athena dialog boxes instead." | |
| 12691 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | |
| 12692 echo " Read the PROBLEMS file for more information." | |
| 12693 fi | |
| 12694 ;; | |
| 12464 athena ) echo " Using Athena dialog boxes." ;; | 12695 athena ) echo " Using Athena dialog boxes." ;; |
| 12465 athena3d ) echo " Using Athena-3d dialog boxes." ;; | 12696 athena3d ) echo " Using Athena-3d dialog boxes." ;; |
| 12466 esac | 12697 esac |
| 12467 test "$with_shlib" = "yes" && echo " Compiling in DLL support." | 12698 test "$with_shlib" = "yes" && echo " Compiling in DLL support." |
| 12468 test "$with_clash_detection" = yes && \ | 12699 test "$with_clash_detection" = yes && \ |
| 12551 case "\$ac_option" in | 12782 case "\$ac_option" in |
| 12552 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 12783 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 12553 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 12784 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
| 12554 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 12785 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
| 12555 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 12786 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
| 12556 echo "$CONFIG_STATUS generated by autoconf version 2.12" | 12787 echo "$CONFIG_STATUS generated by autoconf version 2.13" |
| 12557 exit 0 ;; | 12788 exit 0 ;; |
| 12558 -help | --help | --hel | --he | --h) | 12789 -help | --help | --hel | --he | --h) |
| 12559 echo "\$ac_cs_usage"; exit 0 ;; | 12790 echo "\$ac_cs_usage"; exit 0 ;; |
| 12560 *) echo "\$ac_cs_usage"; exit 1 ;; | 12791 *) echo "\$ac_cs_usage"; exit 1 ;; |
| 12561 esac | 12792 esac |
| 12571 # Protect against being on the right side of a sed subst in config.status. | 12802 # Protect against being on the right side of a sed subst in config.status. |
| 12572 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 12803 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
| 12573 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 12804 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
| 12574 $ac_vpsub | 12805 $ac_vpsub |
| 12575 $extrasub | 12806 $extrasub |
| 12807 s%@SHELL@%$SHELL%g | |
| 12576 s%@CFLAGS@%$CFLAGS%g | 12808 s%@CFLAGS@%$CFLAGS%g |
| 12577 s%@CPPFLAGS@%$CPPFLAGS%g | 12809 s%@CPPFLAGS@%$CPPFLAGS%g |
| 12578 s%@CXXFLAGS@%$CXXFLAGS%g | 12810 s%@CXXFLAGS@%$CXXFLAGS%g |
| 12811 s%@FFLAGS@%$FFLAGS%g | |
| 12579 s%@DEFS@%$DEFS%g | 12812 s%@DEFS@%$DEFS%g |
| 12580 s%@LDFLAGS@%$LDFLAGS%g | 12813 s%@LDFLAGS@%$LDFLAGS%g |
| 12581 s%@LIBS@%$LIBS%g | 12814 s%@LIBS@%$LIBS%g |
| 12582 s%@exec_prefix@%$exec_prefix%g | 12815 s%@exec_prefix@%$exec_prefix%g |
| 12583 s%@prefix@%$prefix%g | 12816 s%@prefix@%$prefix%g |
| 12603 s%@start_files@%$start_files%g | 12836 s%@start_files@%$start_files%g |
| 12604 s%@ld@%$ld%g | 12837 s%@ld@%$ld%g |
| 12605 s%@lib_gcc@%$lib_gcc%g | 12838 s%@lib_gcc@%$lib_gcc%g |
| 12606 s%@RANLIB@%$RANLIB%g | 12839 s%@RANLIB@%$RANLIB%g |
| 12607 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 12840 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
| 12841 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | |
| 12608 s%@INSTALL_DATA@%$INSTALL_DATA%g | 12842 s%@INSTALL_DATA@%$INSTALL_DATA%g |
| 12609 s%@YACC@%$YACC%g | 12843 s%@YACC@%$YACC%g |
| 12610 s%@SET_MAKE@%$SET_MAKE%g | 12844 s%@SET_MAKE@%$SET_MAKE%g |
| 12611 s%@X_CFLAGS@%$X_CFLAGS%g | 12845 s%@X_CFLAGS@%$X_CFLAGS%g |
| 12612 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 12846 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
