Mercurial > hg > xemacs-beta
comparison configure @ 207:e45d5e7c476e r20-4b2
Import from CVS: tag r20-4b2
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:03:52 +0200 |
| parents | 850242ba4a81 |
| children | 41ff10fd062f |
comparison
equal
deleted
inserted
replaced
| 206:d3e9274cbc4e | 207:e45d5e7c476e |
|---|---|
| 242 rel_alloc='default' | 242 rel_alloc='default' |
| 243 with_system_malloc='default' | 243 with_system_malloc='default' |
| 244 energize_version='' | 244 energize_version='' |
| 245 native_sound_lib='' | 245 native_sound_lib='' |
| 246 use_assertions="yes" | 246 use_assertions="yes" |
| 247 with_gif="" | |
| 248 with_toolbars="" | 247 with_toolbars="" |
| 249 with_tty="" | 248 with_tty="" |
| 250 use_union_type="no" | 249 use_union_type="no" |
| 251 with_dnet="" | 250 with_dnet="" |
| 252 | 251 |
| 307 --x-includes=DIR Search for X header files in DIR. | 306 --x-includes=DIR Search for X header files in DIR. |
| 308 --x-libraries=DIR Search for X libraries in DIR. | 307 --x-libraries=DIR Search for X libraries in DIR. |
| 309 --with-toolbars=no Don't compile with any toolbar support. | 308 --with-toolbars=no Don't compile with any toolbar support. |
| 310 --with-session=no Compile without realized leader window which will | 309 --with-session=no Compile without realized leader window which will |
| 311 keep the WM_COMMAND property. Required for proper | 310 keep the WM_COMMAND property. Required for proper |
| 312 session-management. (ON by default for testing) | 311 session-management. |
| 313 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid | 312 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid |
| 314 widgets emulate Motif (mostly) but are faster. | 313 widgets emulate Motif (mostly) but are faster. |
| 315 *WARNING* The Motif menubar is currently broken. | 314 *WARNING* The Motif menubar is currently broken. |
| 316 --with-scrollbars=TYPE Use TYPE scrollbars | 315 --with-scrollbars=TYPE Use TYPE scrollbars |
| 317 (lucid, motif, athena, athena3d, or no). | 316 (lucid, motif, athena, athena3d, or no). |
| 329 (version 3.4h or better) if you don't already | 328 (version 3.4h or better) if you don't already |
| 330 have it. Get it from the XEmacs FTP site. | 329 have it. Get it from the XEmacs FTP site. |
| 331 --with-xface (*) Compile with support for X-Face mail header | 330 --with-xface (*) Compile with support for X-Face mail header |
| 332 conversion. Requires the compface library. | 331 conversion. Requires the compface library. |
| 333 Get it from the XEmacs FTP site. | 332 Get it from the XEmacs FTP site. |
| 334 --with-jpeg (*) Compile with support for JPEG image conversion. | 333 --with-imagick (*) Compile with support for ImageMagick image conversion. |
| 335 Requires libjpeg from the Independent JPEG Group. | 334 Requires ImageMagick from wizards.dupont.com and |
| 335 libraries for whatever image types you wish to have | |
| 336 supported. | |
| 336 Get it from the XEmacs FTP site. | 337 Get it from the XEmacs FTP site. |
| 337 --with-png (*) Compile with support for PNG image conversion. | |
| 338 Requires libpng. Get it from the XEmacs FTP site. | |
| 339 --with-tiff (*) Compile with support for TIFF image conversion | |
| 340 (not yet implemented). | |
| 341 | 338 |
| 342 | 339 |
| 343 TTY options: | 340 TTY options: |
| 344 | 341 |
| 345 --with-tty=no Don't support TTY-s. | 342 --with-tty=no Don't support TTY-s. |
| 531 with_term | \ | 528 with_term | \ |
| 532 with_socks | \ | 529 with_socks | \ |
| 533 with_cde | \ | 530 with_cde | \ |
| 534 with_offix | \ | 531 with_offix | \ |
| 535 with_gpm | \ | 532 with_gpm | \ |
| 536 with_gif | \ | |
| 537 with_xpm | \ | 533 with_xpm | \ |
| 538 with_xface | \ | 534 with_xface | \ |
| 539 with_jpeg | \ | 535 with_imagick | \ |
| 540 with_png | \ | |
| 541 with_tiff | \ | |
| 542 with_session | \ | 536 with_session | \ |
| 543 with_xmu | \ | 537 with_xmu | \ |
| 544 with_quantify | \ | 538 with_quantify | \ |
| 545 with_toolbars | \ | 539 with_toolbars | \ |
| 546 with_tty | \ | 540 with_tty | \ |
| 872 fi | 866 fi |
| 873 ;; | 867 ;; |
| 874 esac | 868 esac |
| 875 | 869 |
| 876 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 870 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 877 echo "configure:878: checking whether ln -s works" >&5 | 871 echo "configure:872: checking whether ln -s works" >&5 |
| 878 | 872 |
| 879 rm -f conftestdata | 873 rm -f conftestdata |
| 880 if ln -s X conftestdata 2>/dev/null | 874 if ln -s X conftestdata 2>/dev/null |
| 881 then | 875 then |
| 882 rm -f conftestdata | 876 rm -f conftestdata |
| 890 else | 884 else |
| 891 echo "$ac_t""no" 1>&6 | 885 echo "$ac_t""no" 1>&6 |
| 892 fi | 886 fi |
| 893 | 887 |
| 894 | 888 |
| 895 for dir in lisp etc man info site-lisp; do | 889 for dir in lisp etc man info; do |
| 896 if test ! -d "$dir" ; then | 890 if test ! -d "$dir" ; then |
| 897 echo Making symbolic link to "$srcdir/$dir" | 891 echo Making symbolic link to "$srcdir/$dir" |
| 898 ${LN_S} "$srcdir/$dir" "$dir" | 892 ${LN_S} "$srcdir/$dir" "$dir" |
| 899 fi | 893 fi |
| 900 done | 894 done |
| 1049 } | 1043 } |
| 1050 | 1044 |
| 1051 | 1045 |
| 1052 | 1046 |
| 1053 echo "checking "the configuration name"" 1>&6 | 1047 echo "checking "the configuration name"" 1>&6 |
| 1054 echo "configure:1055: checking "the configuration name"" >&5 | 1048 echo "configure:1049: checking "the configuration name"" >&5 |
| 1055 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 1049 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` |
| 1056 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 1050 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 1057 exit $? | 1051 exit $? |
| 1058 fi | 1052 fi |
| 1059 | 1053 |
| 1295 | 1289 |
| 1296 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; | 1290 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; |
| 1297 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; | 1291 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; |
| 1298 mips-sgi-irix3.* ) opsys=irix3-3 ;; | 1292 mips-sgi-irix3.* ) opsys=irix3-3 ;; |
| 1299 mips-sgi-irix4.* ) opsys=irix4-0 ;; | 1293 mips-sgi-irix4.* ) opsys=irix4-0 ;; |
| 1300 mips-sgi-irix6* ) opsys=irix6-0 NON_GNU_CC="cc -Olimit 2000" ;; | 1294 mips-sgi-irix6* ) opsys=irix6-0 ;; |
| 1301 mips-sgi-irix5.1* ) opsys=irix5-1 ;; | 1295 mips-sgi-irix5.1* ) opsys=irix5-1 ;; |
| 1302 mips-sgi-irix5.2* ) opsys=irix5-2 ;; | 1296 mips-sgi-irix5.2* ) opsys=irix5-2 ;; |
| 1303 mips-sgi-irix5.* ) opsys=irix5-3 ;; | 1297 mips-sgi-irix5.* ) opsys=irix5-3 ;; |
| 1304 mips-sgi-irix* ) opsys=irix5-0 ;; | 1298 mips-sgi-irix* ) opsys=irix5-0 ;; |
| 1305 | 1299 |
| 1449 linux ) ld_call_shared="-Bstatic" ;; | 1443 linux ) ld_call_shared="-Bstatic" ;; |
| 1450 decosf* ) ld_call_shared="-non_shared" ;; | 1444 decosf* ) ld_call_shared="-non_shared" ;; |
| 1451 esac | 1445 esac |
| 1452 fi | 1446 fi |
| 1453 | 1447 |
| 1448 case "$opsys" in aix*) NON_GNU_CC=xlc ;; esac | |
| 1449 | |
| 1454 stack_trace_eye_catcher=`echo xemacs_${version}_${canonical} | sed 'y/.-/__/'` | 1450 stack_trace_eye_catcher=`echo xemacs_${version}_${canonical} | sed 'y/.-/__/'` |
| 1455 { test "$extra_verbose" = "yes" && cat << EOF | 1451 { test "$extra_verbose" = "yes" && cat << EOF |
| 1456 Defining STACK_TRACE_EYE_CATCHER = $stack_trace_eye_catcher | 1452 Defining STACK_TRACE_EYE_CATCHER = $stack_trace_eye_catcher |
| 1457 EOF | 1453 EOF |
| 1458 cat >> confdefs.h <<EOF | 1454 cat >> confdefs.h <<EOF |
| 1503 xe_save_CFLAGS="$CFLAGS" | 1499 xe_save_CFLAGS="$CFLAGS" |
| 1504 | 1500 |
| 1505 # Extract the first word of "gcc", so it can be a program name with args. | 1501 # Extract the first word of "gcc", so it can be a program name with args. |
| 1506 set dummy gcc; ac_word=$2 | 1502 set dummy gcc; ac_word=$2 |
| 1507 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1508 echo "configure:1509: checking for $ac_word" >&5 | 1504 echo "configure:1505: checking for $ac_word" >&5 |
| 1509 | 1505 |
| 1510 if test -n "$CC"; then | 1506 if test -n "$CC"; then |
| 1511 ac_cv_prog_CC="$CC" # Let the user override the test. | 1507 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1512 else | 1508 else |
| 1513 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1529 | 1525 |
| 1530 if test -z "$CC"; then | 1526 if test -z "$CC"; then |
| 1531 # Extract the first word of "cc", so it can be a program name with args. | 1527 # Extract the first word of "cc", so it can be a program name with args. |
| 1532 set dummy cc; ac_word=$2 | 1528 set dummy cc; ac_word=$2 |
| 1533 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1529 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1534 echo "configure:1535: checking for $ac_word" >&5 | 1530 echo "configure:1531: checking for $ac_word" >&5 |
| 1535 | 1531 |
| 1536 if test -n "$CC"; then | 1532 if test -n "$CC"; then |
| 1537 ac_cv_prog_CC="$CC" # Let the user override the test. | 1533 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1538 else | 1534 else |
| 1539 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1535 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1574 | 1570 |
| 1575 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1571 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1576 fi | 1572 fi |
| 1577 | 1573 |
| 1578 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1574 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1579 echo "configure:1580: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1575 echo "configure:1576: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1580 | 1576 |
| 1581 ac_ext=c | 1577 ac_ext=c |
| 1582 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1578 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1583 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1579 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1584 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1580 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1586 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1582 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1587 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1583 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1588 cross_compiling=no | 1584 cross_compiling=no |
| 1589 | 1585 |
| 1590 cat > conftest.$ac_ext <<EOF | 1586 cat > conftest.$ac_ext <<EOF |
| 1591 #line 1592 "configure" | 1587 #line 1588 "configure" |
| 1592 #include "confdefs.h" | 1588 #include "confdefs.h" |
| 1593 main(){return(0);} | 1589 main(){return(0);} |
| 1594 EOF | 1590 EOF |
| 1595 if { (eval echo configure:1596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1591 if { (eval echo configure:1592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1596 ac_cv_prog_cc_works=yes | 1592 ac_cv_prog_cc_works=yes |
| 1597 # If we can't run a trivial program, we are probably using a cross compiler. | 1593 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1598 if (./conftest; exit) 2>/dev/null; then | 1594 if (./conftest; exit) 2>/dev/null; then |
| 1599 ac_cv_prog_cc_cross=no | 1595 ac_cv_prog_cc_cross=no |
| 1600 else | 1596 else |
| 1610 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1606 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1611 if test $ac_cv_prog_cc_works = no; then | 1607 if test $ac_cv_prog_cc_works = no; then |
| 1612 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1608 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1613 fi | 1609 fi |
| 1614 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1610 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1615 echo "configure:1616: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1611 echo "configure:1612: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1616 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1612 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1617 cross_compiling=$ac_cv_prog_cc_cross | 1613 cross_compiling=$ac_cv_prog_cc_cross |
| 1618 | 1614 |
| 1619 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1615 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1620 echo "configure:1621: checking whether we are using GNU C" >&5 | 1616 echo "configure:1617: checking whether we are using GNU C" >&5 |
| 1621 | 1617 |
| 1622 cat > conftest.c <<EOF | 1618 cat > conftest.c <<EOF |
| 1623 #ifdef __GNUC__ | 1619 #ifdef __GNUC__ |
| 1624 yes; | 1620 yes; |
| 1625 #endif | 1621 #endif |
| 1626 EOF | 1622 EOF |
| 1627 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1623 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1628 ac_cv_prog_gcc=yes | 1624 ac_cv_prog_gcc=yes |
| 1629 else | 1625 else |
| 1630 ac_cv_prog_gcc=no | 1626 ac_cv_prog_gcc=no |
| 1631 fi | 1627 fi |
| 1632 | 1628 |
| 1636 GCC=yes | 1632 GCC=yes |
| 1637 ac_test_CFLAGS="${CFLAGS+set}" | 1633 ac_test_CFLAGS="${CFLAGS+set}" |
| 1638 ac_save_CFLAGS="$CFLAGS" | 1634 ac_save_CFLAGS="$CFLAGS" |
| 1639 CFLAGS= | 1635 CFLAGS= |
| 1640 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1636 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1641 echo "configure:1642: checking whether ${CC-cc} accepts -g" >&5 | 1637 echo "configure:1638: checking whether ${CC-cc} accepts -g" >&5 |
| 1642 | 1638 |
| 1643 echo 'void f(){}' > conftest.c | 1639 echo 'void f(){}' > conftest.c |
| 1644 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1640 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1645 ac_cv_prog_cc_g=yes | 1641 ac_cv_prog_cc_g=yes |
| 1646 else | 1642 else |
| 1665 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1661 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1666 CC=${NON_GNU_CC-cc} | 1662 CC=${NON_GNU_CC-cc} |
| 1667 # Extract the first word of "gcc", so it can be a program name with args. | 1663 # Extract the first word of "gcc", so it can be a program name with args. |
| 1668 set dummy gcc; ac_word=$2 | 1664 set dummy gcc; ac_word=$2 |
| 1669 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1670 echo "configure:1671: checking for $ac_word" >&5 | 1666 echo "configure:1667: checking for $ac_word" >&5 |
| 1671 | 1667 |
| 1672 if test -n "$CC"; then | 1668 if test -n "$CC"; then |
| 1673 ac_cv_prog_CC="$CC" # Let the user override the test. | 1669 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1674 else | 1670 else |
| 1675 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1691 | 1687 |
| 1692 if test -z "$CC"; then | 1688 if test -z "$CC"; then |
| 1693 # Extract the first word of "cc", so it can be a program name with args. | 1689 # Extract the first word of "cc", so it can be a program name with args. |
| 1694 set dummy cc; ac_word=$2 | 1690 set dummy cc; ac_word=$2 |
| 1695 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1696 echo "configure:1697: checking for $ac_word" >&5 | 1692 echo "configure:1693: checking for $ac_word" >&5 |
| 1697 | 1693 |
| 1698 if test -n "$CC"; then | 1694 if test -n "$CC"; then |
| 1699 ac_cv_prog_CC="$CC" # Let the user override the test. | 1695 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1700 else | 1696 else |
| 1701 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1697 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1736 | 1732 |
| 1737 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1733 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1738 fi | 1734 fi |
| 1739 | 1735 |
| 1740 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1736 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1741 echo "configure:1742: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1737 echo "configure:1738: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1742 | 1738 |
| 1743 ac_ext=c | 1739 ac_ext=c |
| 1744 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1740 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1745 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1741 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1746 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1742 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1748 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1744 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1749 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1745 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1750 cross_compiling=no | 1746 cross_compiling=no |
| 1751 | 1747 |
| 1752 cat > conftest.$ac_ext <<EOF | 1748 cat > conftest.$ac_ext <<EOF |
| 1753 #line 1754 "configure" | 1749 #line 1750 "configure" |
| 1754 #include "confdefs.h" | 1750 #include "confdefs.h" |
| 1755 main(){return(0);} | 1751 main(){return(0);} |
| 1756 EOF | 1752 EOF |
| 1757 if { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1753 if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1758 ac_cv_prog_cc_works=yes | 1754 ac_cv_prog_cc_works=yes |
| 1759 # If we can't run a trivial program, we are probably using a cross compiler. | 1755 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1760 if (./conftest; exit) 2>/dev/null; then | 1756 if (./conftest; exit) 2>/dev/null; then |
| 1761 ac_cv_prog_cc_cross=no | 1757 ac_cv_prog_cc_cross=no |
| 1762 else | 1758 else |
| 1772 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1768 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1773 if test $ac_cv_prog_cc_works = no; then | 1769 if test $ac_cv_prog_cc_works = no; then |
| 1774 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1770 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1775 fi | 1771 fi |
| 1776 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1772 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1777 echo "configure:1778: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1773 echo "configure:1774: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1778 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1774 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1779 cross_compiling=$ac_cv_prog_cc_cross | 1775 cross_compiling=$ac_cv_prog_cc_cross |
| 1780 | 1776 |
| 1781 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1777 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1782 echo "configure:1783: checking whether we are using GNU C" >&5 | 1778 echo "configure:1779: checking whether we are using GNU C" >&5 |
| 1783 | 1779 |
| 1784 cat > conftest.c <<EOF | 1780 cat > conftest.c <<EOF |
| 1785 #ifdef __GNUC__ | 1781 #ifdef __GNUC__ |
| 1786 yes; | 1782 yes; |
| 1787 #endif | 1783 #endif |
| 1788 EOF | 1784 EOF |
| 1789 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1785 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1790 ac_cv_prog_gcc=yes | 1786 ac_cv_prog_gcc=yes |
| 1791 else | 1787 else |
| 1792 ac_cv_prog_gcc=no | 1788 ac_cv_prog_gcc=no |
| 1793 fi | 1789 fi |
| 1794 | 1790 |
| 1798 GCC=yes | 1794 GCC=yes |
| 1799 ac_test_CFLAGS="${CFLAGS+set}" | 1795 ac_test_CFLAGS="${CFLAGS+set}" |
| 1800 ac_save_CFLAGS="$CFLAGS" | 1796 ac_save_CFLAGS="$CFLAGS" |
| 1801 CFLAGS= | 1797 CFLAGS= |
| 1802 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1798 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1803 echo "configure:1804: checking whether ${CC-cc} accepts -g" >&5 | 1799 echo "configure:1800: checking whether ${CC-cc} accepts -g" >&5 |
| 1804 | 1800 |
| 1805 echo 'void f(){}' > conftest.c | 1801 echo 'void f(){}' > conftest.c |
| 1806 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1802 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1807 ac_cv_prog_cc_g=yes | 1803 ac_cv_prog_cc_g=yes |
| 1808 else | 1804 else |
| 1827 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1823 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1828 CC=gcc | 1824 CC=gcc |
| 1829 # Extract the first word of "gcc", so it can be a program name with args. | 1825 # Extract the first word of "gcc", so it can be a program name with args. |
| 1830 set dummy gcc; ac_word=$2 | 1826 set dummy gcc; ac_word=$2 |
| 1831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1827 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1832 echo "configure:1833: checking for $ac_word" >&5 | 1828 echo "configure:1829: checking for $ac_word" >&5 |
| 1833 | 1829 |
| 1834 if test -n "$CC"; then | 1830 if test -n "$CC"; then |
| 1835 ac_cv_prog_CC="$CC" # Let the user override the test. | 1831 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1836 else | 1832 else |
| 1837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1853 | 1849 |
| 1854 if test -z "$CC"; then | 1850 if test -z "$CC"; then |
| 1855 # Extract the first word of "cc", so it can be a program name with args. | 1851 # Extract the first word of "cc", so it can be a program name with args. |
| 1856 set dummy cc; ac_word=$2 | 1852 set dummy cc; ac_word=$2 |
| 1857 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1853 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1858 echo "configure:1859: checking for $ac_word" >&5 | 1854 echo "configure:1855: checking for $ac_word" >&5 |
| 1859 | 1855 |
| 1860 if test -n "$CC"; then | 1856 if test -n "$CC"; then |
| 1861 ac_cv_prog_CC="$CC" # Let the user override the test. | 1857 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1862 else | 1858 else |
| 1863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1898 | 1894 |
| 1899 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1895 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1900 fi | 1896 fi |
| 1901 | 1897 |
| 1902 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1898 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1903 echo "configure:1904: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1899 echo "configure:1900: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1904 | 1900 |
| 1905 ac_ext=c | 1901 ac_ext=c |
| 1906 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1902 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1907 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1903 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1908 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1904 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1910 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1906 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1911 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1907 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1912 cross_compiling=no | 1908 cross_compiling=no |
| 1913 | 1909 |
| 1914 cat > conftest.$ac_ext <<EOF | 1910 cat > conftest.$ac_ext <<EOF |
| 1915 #line 1916 "configure" | 1911 #line 1912 "configure" |
| 1916 #include "confdefs.h" | 1912 #include "confdefs.h" |
| 1917 main(){return(0);} | 1913 main(){return(0);} |
| 1918 EOF | 1914 EOF |
| 1919 if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1915 if { (eval echo configure:1916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1920 ac_cv_prog_cc_works=yes | 1916 ac_cv_prog_cc_works=yes |
| 1921 # If we can't run a trivial program, we are probably using a cross compiler. | 1917 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1922 if (./conftest; exit) 2>/dev/null; then | 1918 if (./conftest; exit) 2>/dev/null; then |
| 1923 ac_cv_prog_cc_cross=no | 1919 ac_cv_prog_cc_cross=no |
| 1924 else | 1920 else |
| 1934 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1930 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1935 if test $ac_cv_prog_cc_works = no; then | 1931 if test $ac_cv_prog_cc_works = no; then |
| 1936 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1932 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1937 fi | 1933 fi |
| 1938 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1934 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1939 echo "configure:1940: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1935 echo "configure:1936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1940 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1936 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1941 cross_compiling=$ac_cv_prog_cc_cross | 1937 cross_compiling=$ac_cv_prog_cc_cross |
| 1942 | 1938 |
| 1943 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1939 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1944 echo "configure:1945: checking whether we are using GNU C" >&5 | 1940 echo "configure:1941: checking whether we are using GNU C" >&5 |
| 1945 | 1941 |
| 1946 cat > conftest.c <<EOF | 1942 cat > conftest.c <<EOF |
| 1947 #ifdef __GNUC__ | 1943 #ifdef __GNUC__ |
| 1948 yes; | 1944 yes; |
| 1949 #endif | 1945 #endif |
| 1950 EOF | 1946 EOF |
| 1951 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1947 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1952 ac_cv_prog_gcc=yes | 1948 ac_cv_prog_gcc=yes |
| 1953 else | 1949 else |
| 1954 ac_cv_prog_gcc=no | 1950 ac_cv_prog_gcc=no |
| 1955 fi | 1951 fi |
| 1956 | 1952 |
| 1960 GCC=yes | 1956 GCC=yes |
| 1961 ac_test_CFLAGS="${CFLAGS+set}" | 1957 ac_test_CFLAGS="${CFLAGS+set}" |
| 1962 ac_save_CFLAGS="$CFLAGS" | 1958 ac_save_CFLAGS="$CFLAGS" |
| 1963 CFLAGS= | 1959 CFLAGS= |
| 1964 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1960 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1965 echo "configure:1966: checking whether ${CC-cc} accepts -g" >&5 | 1961 echo "configure:1962: checking whether ${CC-cc} accepts -g" >&5 |
| 1966 | 1962 |
| 1967 echo 'void f(){}' > conftest.c | 1963 echo 'void f(){}' > conftest.c |
| 1968 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1964 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1969 ac_cv_prog_cc_g=yes | 1965 ac_cv_prog_cc_g=yes |
| 1970 else | 1966 else |
| 1993 test -n "$CPP" -a -d "$CPP" && CPP= | 1989 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1994 | 1990 |
| 1995 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1991 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1996 | 1992 |
| 1997 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1993 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1998 echo "configure:1999: checking how to run the C preprocessor" >&5 | 1994 echo "configure:1995: checking how to run the C preprocessor" >&5 |
| 1999 # On Suns, sometimes $CPP names a directory. | 1995 # On Suns, sometimes $CPP names a directory. |
| 2000 if test -n "$CPP" && test -d "$CPP"; then | 1996 if test -n "$CPP" && test -d "$CPP"; then |
| 2001 CPP= | 1997 CPP= |
| 2002 fi | 1998 fi |
| 2003 if test -z "$CPP"; then | 1999 if test -z "$CPP"; then |
| 2006 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2002 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 2007 CPP="${CC-cc} -E" | 2003 CPP="${CC-cc} -E" |
| 2008 # On the NeXT, cc -E runs the code through the compiler's parser, | 2004 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2009 # not just through cpp. | 2005 # not just through cpp. |
| 2010 cat > conftest.$ac_ext <<EOF | 2006 cat > conftest.$ac_ext <<EOF |
| 2011 #line 2012 "configure" | 2007 #line 2008 "configure" |
| 2012 #include "confdefs.h" | 2008 #include "confdefs.h" |
| 2013 #include <assert.h> | 2009 #include <assert.h> |
| 2014 Syntax Error | 2010 Syntax Error |
| 2015 EOF | 2011 EOF |
| 2016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2017 { (eval echo configure:2018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2013 { (eval echo configure:2014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2018 ac_err=`grep -v '^ *+' conftest.out` | 2014 ac_err=`grep -v '^ *+' conftest.out` |
| 2019 if test -z "$ac_err"; then | 2015 if test -z "$ac_err"; then |
| 2020 : | 2016 : |
| 2021 else | 2017 else |
| 2022 echo "$ac_err" >&5 | 2018 echo "$ac_err" >&5 |
| 2023 echo "configure: failed program was:" >&5 | 2019 echo "configure: failed program was:" >&5 |
| 2024 cat conftest.$ac_ext >&5 | 2020 cat conftest.$ac_ext >&5 |
| 2025 rm -rf conftest* | 2021 rm -rf conftest* |
| 2026 CPP="${CC-cc} -E -traditional-cpp" | 2022 CPP="${CC-cc} -E -traditional-cpp" |
| 2027 cat > conftest.$ac_ext <<EOF | 2023 cat > conftest.$ac_ext <<EOF |
| 2028 #line 2029 "configure" | 2024 #line 2025 "configure" |
| 2029 #include "confdefs.h" | 2025 #include "confdefs.h" |
| 2030 #include <assert.h> | 2026 #include <assert.h> |
| 2031 Syntax Error | 2027 Syntax Error |
| 2032 EOF | 2028 EOF |
| 2033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2034 { (eval echo configure:2035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2030 { (eval echo configure:2031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2035 ac_err=`grep -v '^ *+' conftest.out` | 2031 ac_err=`grep -v '^ *+' conftest.out` |
| 2036 if test -z "$ac_err"; then | 2032 if test -z "$ac_err"; then |
| 2037 : | 2033 : |
| 2038 else | 2034 else |
| 2039 echo "$ac_err" >&5 | 2035 echo "$ac_err" >&5 |
| 2052 fi | 2048 fi |
| 2053 echo "$ac_t""$CPP" 1>&6 | 2049 echo "$ac_t""$CPP" 1>&6 |
| 2054 | 2050 |
| 2055 | 2051 |
| 2056 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2052 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2057 echo "configure:2058: checking for AIX" >&5 | 2053 echo "configure:2054: checking for AIX" >&5 |
| 2058 cat > conftest.$ac_ext <<EOF | 2054 cat > conftest.$ac_ext <<EOF |
| 2059 #line 2060 "configure" | 2055 #line 2056 "configure" |
| 2060 #include "confdefs.h" | 2056 #include "confdefs.h" |
| 2061 #ifdef _AIX | 2057 #ifdef _AIX |
| 2062 yes | 2058 yes |
| 2063 #endif | 2059 #endif |
| 2064 | 2060 |
| 2081 rm -f conftest* | 2077 rm -f conftest* |
| 2082 | 2078 |
| 2083 | 2079 |
| 2084 | 2080 |
| 2085 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2081 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 2086 echo "configure:2087: checking whether we are using SunPro C" >&5 | 2082 echo "configure:2083: checking whether we are using SunPro C" >&5 |
| 2087 cat > conftest.$ac_ext <<EOF | 2083 cat > conftest.$ac_ext <<EOF |
| 2088 #line 2089 "configure" | 2084 #line 2085 "configure" |
| 2089 #include "confdefs.h" | 2085 #include "confdefs.h" |
| 2090 | 2086 |
| 2091 int main() { | 2087 int main() { |
| 2092 #ifndef __SUNPRO_C | 2088 #ifndef __SUNPRO_C |
| 2093 #error Not a SunPro compiler :-( | 2089 #error Not a SunPro compiler :-( |
| 2094 ******* ======= ******** &&&&&&&& | 2090 ******* ======= ******** &&&&&&&& |
| 2095 #endif | 2091 #endif |
| 2096 | 2092 |
| 2097 ; return 0; } | 2093 ; return 0; } |
| 2098 EOF | 2094 EOF |
| 2099 if { (eval echo configure:2100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2095 if { (eval echo configure:2096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2100 rm -rf conftest* | 2096 rm -rf conftest* |
| 2101 __sunpro_c=yes | 2097 __sunpro_c=yes |
| 2102 else | 2098 else |
| 2103 echo "configure: failed program was:" >&5 | 2099 echo "configure: failed program was:" >&5 |
| 2104 cat conftest.$ac_ext >&5 | 2100 cat conftest.$ac_ext >&5 |
| 2320 elif test "$__sunpro_c" = "yes"; then | 2316 elif test "$__sunpro_c" = "yes"; then |
| 2321 case "$opsys" in | 2317 case "$opsys" in |
| 2322 sol2 ) CFLAGS="-v -xO4" ;; | 2318 sol2 ) CFLAGS="-v -xO4" ;; |
| 2323 sunos4* ) CFLAGS="-xO2";; | 2319 sunos4* ) CFLAGS="-xO2";; |
| 2324 esac | 2320 esac |
| 2321 elif test "$CC" = "xlc"; then | |
| 2322 CFLAGS="-O3 -qstrict -qnoansialias -qlibansi -qinfo -qro -qmaxmem=20000" | |
| 2325 else | 2323 else |
| 2326 CFLAGS="-O" # The only POSIX-approved flag | 2324 CFLAGS="-O" ; fi |
| 2327 fi | |
| 2328 fi | 2325 fi |
| 2329 | 2326 |
| 2330 if test "$GCC" = "yes"; then | 2327 if test "$GCC" = "yes"; then |
| 2331 ld_switch_system_tmp="$ld_switch_system"; ld_switch_system="" | 2328 ld_switch_system_tmp="$ld_switch_system"; ld_switch_system="" |
| 2332 for arg in $ld_switch_system_tmp; do | 2329 for arg in $ld_switch_system_tmp; do |
| 2333 case "$arg" in | 2330 case "$arg" in |
| 2334 -L* | -l* | -R* | -u* | -Wl* | -f* ) ld_switch_system="$ld_switch_system $arg" ;; | 2331 -L* | -l* | -R* | -u* | -Wl* | -f* | -B*) ld_switch_system="$ld_switch_system $arg" ;; |
| 2335 -Xlinker* ) ;; | 2332 -Xlinker* ) ;; |
| 2336 * ) ld_switch_system="$ld_switch_system -Xlinker $arg" ;; | 2333 * ) ld_switch_system="$ld_switch_system -Xlinker $arg" ;; |
| 2337 esac | 2334 esac |
| 2338 done | 2335 done |
| 2339 ld_switch_machine_tmp="$ld_switch_machine"; ld_switch_machine="" | 2336 ld_switch_machine_tmp="$ld_switch_machine"; ld_switch_machine="" |
| 2340 for arg in $ld_switch_machine_tmp; do | 2337 for arg in $ld_switch_machine_tmp; do |
| 2341 case "$arg" in | 2338 case "$arg" in |
| 2342 -L* | -l* | -R* | -u* | -Wl* | -f* ) ld_switch_machine="$ld_switch_machine $arg" ;; | 2339 -L* | -l* | -R* | -u* | -Wl* | -f* | -B*) ld_switch_machine="$ld_switch_machine $arg" ;; |
| 2343 -Xlinker* ) ;; | 2340 -Xlinker* ) ;; |
| 2344 * ) ld_switch_machine="$ld_switch_machine -Xlinker $arg" ;; | 2341 * ) ld_switch_machine="$ld_switch_machine -Xlinker $arg" ;; |
| 2345 esac | 2342 esac |
| 2346 done | 2343 done |
| 2347 LDFLAGS_tmp="$LDFLAGS"; LDFLAGS="" | 2344 LDFLAGS_tmp="$LDFLAGS"; LDFLAGS="" |
| 2348 for arg in $LDFLAGS_tmp; do | 2345 for arg in $LDFLAGS_tmp; do |
| 2349 case "$arg" in | 2346 case "$arg" in |
| 2350 -L* | -l* | -R* | -u* | -Wl* | -f* ) LDFLAGS="$LDFLAGS $arg" ;; | 2347 -L* | -l* | -R* | -u* | -Wl* | -f* | -B*) LDFLAGS="$LDFLAGS $arg" ;; |
| 2351 -Xlinker* ) ;; | 2348 -Xlinker* ) ;; |
| 2352 * ) LDFLAGS="$LDFLAGS -Xlinker $arg" ;; | 2349 * ) LDFLAGS="$LDFLAGS -Xlinker $arg" ;; |
| 2353 esac | 2350 esac |
| 2354 done | 2351 done |
| 2355 ld_call_shared_tmp="$ld_call_shared"; ld_call_shared="" | 2352 ld_call_shared_tmp="$ld_call_shared"; ld_call_shared="" |
| 2356 for arg in $ld_call_shared_tmp; do | 2353 for arg in $ld_call_shared_tmp; do |
| 2357 case "$arg" in | 2354 case "$arg" in |
| 2358 -L* | -l* | -R* | -u* | -Wl* | -f* ) ld_call_shared="$ld_call_shared $arg" ;; | 2355 -L* | -l* | -R* | -u* | -Wl* | -f* | -B*) ld_call_shared="$ld_call_shared $arg" ;; |
| 2359 -Xlinker* ) ;; | 2356 -Xlinker* ) ;; |
| 2360 * ) ld_call_shared="$ld_call_shared -Xlinker $arg" ;; | 2357 * ) ld_call_shared="$ld_call_shared -Xlinker $arg" ;; |
| 2361 esac | 2358 esac |
| 2362 done | 2359 done |
| 2363 fi | 2360 fi |
| 2371 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2368 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2372 echo " xemacs will be linked with \"$unexec\"" | 2369 echo " xemacs will be linked with \"$unexec\"" |
| 2373 fi | 2370 fi |
| 2374 | 2371 |
| 2375 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2372 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2376 echo "configure:2377: checking for dynodump" >&5 | 2373 echo "configure:2374: checking for dynodump" >&5 |
| 2377 if test "$unexec" != "unexsol2.o"; then | 2374 if test "$unexec" != "unexsol2.o"; then |
| 2378 echo "$ac_t""no" 1>&6 | 2375 echo "$ac_t""no" 1>&6 |
| 2379 else | 2376 else |
| 2380 echo "$ac_t""yes" 1>&6 | 2377 echo "$ac_t""yes" 1>&6 |
| 2381 { test "$extra_verbose" = "yes" && cat << \EOF | 2378 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2395 esac | 2392 esac |
| 2396 test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$extra_verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi | 2393 test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$extra_verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi |
| 2397 fi | 2394 fi |
| 2398 | 2395 |
| 2399 | 2396 |
| 2400 | 2397 if test "$unexec" = "unexaix.o"; then |
| 2401 test -n "$ld_text_start_addr" && start_flags="-T $ld_text_start_addr -e __start" | 2398 start_flags="-Wl,-bnso,-bnodelcsect" |
| 2399 test "$GCC" = "yes" && start_flags="-B/bin/ ${aixflags}" | |
| 2400 for f in "/lib/syscalls.exp" "$srcdir/src/m/ibmrs6000.inp"; do | |
| 2401 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; fi | |
| 2402 done | |
| 2403 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | |
| 2404 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | |
| 2405 done | |
| 2406 elif test -n "$ld_text_start_addr"; then | |
| 2407 start_flags="-T $ld_text_start_addr -e __start" | |
| 2408 fi | |
| 2409 | |
| 2410 | |
| 2411 | |
| 2402 | 2412 |
| 2403 if test "$ordinary_link" = "no" -a "$GCC" = "yes"; then | 2413 if test "$ordinary_link" = "no" -a "$GCC" = "yes"; then |
| 2404 test -z "$linker" && linker='$(CC) -nostdlib' | 2414 test -z "$linker" && linker='$(CC) -nostdlib' |
| 2405 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-libgcc-file-name`' | 2415 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-libgcc-file-name`' |
| 2406 fi | 2416 fi |
| 2442 esac | 2452 esac |
| 2443 fi | 2453 fi |
| 2444 | 2454 |
| 2445 if test "$add_runtime_path" = "yes"; then | 2455 if test "$add_runtime_path" = "yes"; then |
| 2446 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2456 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2447 echo "configure:2448: checking "for runtime libraries flag"" >&5 | 2457 echo "configure:2458: checking "for runtime libraries flag"" >&5 |
| 2448 dash_r="" | 2458 dash_r="" |
| 2449 for try_dash_r in "-R" "-R " "-rpath "; do | 2459 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2450 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2460 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2451 cat > conftest.$ac_ext <<EOF | 2461 cat > conftest.$ac_ext <<EOF |
| 2452 #line 2453 "configure" | 2462 #line 2463 "configure" |
| 2453 #include "confdefs.h" | 2463 #include "confdefs.h" |
| 2454 | 2464 |
| 2455 int main() { | 2465 int main() { |
| 2456 | 2466 |
| 2457 ; return 0; } | 2467 ; return 0; } |
| 2458 EOF | 2468 EOF |
| 2459 if { (eval echo configure:2460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2469 if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2460 rm -rf conftest* | 2470 rm -rf conftest* |
| 2461 dash_r="$try_dash_r" | 2471 dash_r="$try_dash_r" |
| 2462 else | 2472 else |
| 2463 echo "configure: failed program was:" >&5 | 2473 echo "configure: failed program was:" >&5 |
| 2464 cat conftest.$ac_ext >&5 | 2474 cat conftest.$ac_ext >&5 |
| 2552 | 2562 |
| 2553 | 2563 |
| 2554 # Extract the first word of "ranlib", so it can be a program name with args. | 2564 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2555 set dummy ranlib; ac_word=$2 | 2565 set dummy ranlib; ac_word=$2 |
| 2556 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2566 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2557 echo "configure:2558: checking for $ac_word" >&5 | 2567 echo "configure:2568: checking for $ac_word" >&5 |
| 2558 | 2568 |
| 2559 if test -n "$RANLIB"; then | 2569 if test -n "$RANLIB"; then |
| 2560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2570 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2561 else | 2571 else |
| 2562 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2572 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2605 # AIX /bin/install | 2615 # AIX /bin/install |
| 2606 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2616 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2607 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2617 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2608 # ./install, which can be erroneously created by make from ./install.sh. | 2618 # ./install, which can be erroneously created by make from ./install.sh. |
| 2609 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2619 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2610 echo "configure:2611: checking for a BSD compatible install" >&5 | 2620 echo "configure:2621: checking for a BSD compatible install" >&5 |
| 2611 if test -z "$INSTALL"; then | 2621 if test -z "$INSTALL"; then |
| 2612 | 2622 |
| 2613 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2623 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2614 for ac_dir in $PATH; do | 2624 for ac_dir in $PATH; do |
| 2615 # Account for people who put trailing slashes in PATH elements. | 2625 # Account for people who put trailing slashes in PATH elements. |
| 2656 for ac_prog in 'bison -y' byacc | 2666 for ac_prog in 'bison -y' byacc |
| 2657 do | 2667 do |
| 2658 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2668 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2659 set dummy $ac_prog; ac_word=$2 | 2669 set dummy $ac_prog; ac_word=$2 |
| 2660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2661 echo "configure:2662: checking for $ac_word" >&5 | 2671 echo "configure:2672: checking for $ac_word" >&5 |
| 2662 | 2672 |
| 2663 if test -n "$YACC"; then | 2673 if test -n "$YACC"; then |
| 2664 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2674 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2665 else | 2675 else |
| 2666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2687 | 2697 |
| 2688 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2698 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2689 do | 2699 do |
| 2690 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2691 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2692 echo "configure:2693: checking for $ac_hdr" >&5 | 2702 echo "configure:2703: checking for $ac_hdr" >&5 |
| 2693 | 2703 |
| 2694 cat > conftest.$ac_ext <<EOF | 2704 cat > conftest.$ac_ext <<EOF |
| 2695 #line 2696 "configure" | 2705 #line 2706 "configure" |
| 2696 #include "confdefs.h" | 2706 #include "confdefs.h" |
| 2697 #include <$ac_hdr> | 2707 #include <$ac_hdr> |
| 2698 EOF | 2708 EOF |
| 2699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2700 { (eval echo configure:2701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2710 { (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2701 ac_err=`grep -v '^ *+' conftest.out` | 2711 ac_err=`grep -v '^ *+' conftest.out` |
| 2702 if test -z "$ac_err"; then | 2712 if test -z "$ac_err"; then |
| 2703 rm -rf conftest* | 2713 rm -rf conftest* |
| 2704 eval "ac_cv_header_$ac_safe=yes" | 2714 eval "ac_cv_header_$ac_safe=yes" |
| 2705 else | 2715 else |
| 2728 | 2738 |
| 2729 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2739 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2730 do | 2740 do |
| 2731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2741 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2742 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2733 echo "configure:2734: checking for $ac_hdr" >&5 | 2743 echo "configure:2744: checking for $ac_hdr" >&5 |
| 2734 | 2744 |
| 2735 cat > conftest.$ac_ext <<EOF | 2745 cat > conftest.$ac_ext <<EOF |
| 2736 #line 2737 "configure" | 2746 #line 2747 "configure" |
| 2737 #include "confdefs.h" | 2747 #include "confdefs.h" |
| 2738 #include <$ac_hdr> | 2748 #include <$ac_hdr> |
| 2739 EOF | 2749 EOF |
| 2740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2741 { (eval echo configure:2742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2751 { (eval echo configure:2752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2742 ac_err=`grep -v '^ *+' conftest.out` | 2752 ac_err=`grep -v '^ *+' conftest.out` |
| 2743 if test -z "$ac_err"; then | 2753 if test -z "$ac_err"; then |
| 2744 rm -rf conftest* | 2754 rm -rf conftest* |
| 2745 eval "ac_cv_header_$ac_safe=yes" | 2755 eval "ac_cv_header_$ac_safe=yes" |
| 2746 else | 2756 else |
| 2769 | 2779 |
| 2770 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2780 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
| 2771 do | 2781 do |
| 2772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2782 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2773 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2774 echo "configure:2775: checking for $ac_hdr" >&5 | 2784 echo "configure:2785: checking for $ac_hdr" >&5 |
| 2775 | 2785 |
| 2776 cat > conftest.$ac_ext <<EOF | 2786 cat > conftest.$ac_ext <<EOF |
| 2777 #line 2778 "configure" | 2787 #line 2788 "configure" |
| 2778 #include "confdefs.h" | 2788 #include "confdefs.h" |
| 2779 #include <$ac_hdr> | 2789 #include <$ac_hdr> |
| 2780 EOF | 2790 EOF |
| 2781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2782 { (eval echo configure:2783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2792 { (eval echo configure:2793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2783 ac_err=`grep -v '^ *+' conftest.out` | 2793 ac_err=`grep -v '^ *+' conftest.out` |
| 2784 if test -z "$ac_err"; then | 2794 if test -z "$ac_err"; then |
| 2785 rm -rf conftest* | 2795 rm -rf conftest* |
| 2786 eval "ac_cv_header_$ac_safe=yes" | 2796 eval "ac_cv_header_$ac_safe=yes" |
| 2787 else | 2797 else |
| 2807 echo "$ac_t""no" 1>&6 | 2817 echo "$ac_t""no" 1>&6 |
| 2808 fi | 2818 fi |
| 2809 done | 2819 done |
| 2810 | 2820 |
| 2811 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2821 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2812 echo "configure:2813: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2822 echo "configure:2823: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2813 | 2823 |
| 2814 cat > conftest.$ac_ext <<EOF | 2824 cat > conftest.$ac_ext <<EOF |
| 2815 #line 2816 "configure" | 2825 #line 2826 "configure" |
| 2816 #include "confdefs.h" | 2826 #include "confdefs.h" |
| 2817 #include <sys/types.h> | 2827 #include <sys/types.h> |
| 2818 #include <sys/wait.h> | 2828 #include <sys/wait.h> |
| 2819 #ifndef WEXITSTATUS | 2829 #ifndef WEXITSTATUS |
| 2820 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2830 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2826 int s; | 2836 int s; |
| 2827 wait (&s); | 2837 wait (&s); |
| 2828 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2838 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2829 ; return 0; } | 2839 ; return 0; } |
| 2830 EOF | 2840 EOF |
| 2831 if { (eval echo configure:2832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2841 if { (eval echo configure:2842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2832 rm -rf conftest* | 2842 rm -rf conftest* |
| 2833 ac_cv_header_sys_wait_h=yes | 2843 ac_cv_header_sys_wait_h=yes |
| 2834 else | 2844 else |
| 2835 echo "configure: failed program was:" >&5 | 2845 echo "configure: failed program was:" >&5 |
| 2836 cat conftest.$ac_ext >&5 | 2846 cat conftest.$ac_ext >&5 |
| 2850 } | 2860 } |
| 2851 | 2861 |
| 2852 fi | 2862 fi |
| 2853 | 2863 |
| 2854 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2864 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2855 echo "configure:2856: checking for ANSI C header files" >&5 | 2865 echo "configure:2866: checking for ANSI C header files" >&5 |
| 2856 | 2866 |
| 2857 cat > conftest.$ac_ext <<EOF | 2867 cat > conftest.$ac_ext <<EOF |
| 2858 #line 2859 "configure" | 2868 #line 2869 "configure" |
| 2859 #include "confdefs.h" | 2869 #include "confdefs.h" |
| 2860 #include <stdlib.h> | 2870 #include <stdlib.h> |
| 2861 #include <stdarg.h> | 2871 #include <stdarg.h> |
| 2862 #include <string.h> | 2872 #include <string.h> |
| 2863 #include <float.h> | 2873 #include <float.h> |
| 2864 EOF | 2874 EOF |
| 2865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2866 { (eval echo configure:2867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2876 { (eval echo configure:2877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2867 ac_err=`grep -v '^ *+' conftest.out` | 2877 ac_err=`grep -v '^ *+' conftest.out` |
| 2868 if test -z "$ac_err"; then | 2878 if test -z "$ac_err"; then |
| 2869 rm -rf conftest* | 2879 rm -rf conftest* |
| 2870 ac_cv_header_stdc=yes | 2880 ac_cv_header_stdc=yes |
| 2871 else | 2881 else |
| 2878 rm -f conftest* | 2888 rm -f conftest* |
| 2879 | 2889 |
| 2880 if test $ac_cv_header_stdc = yes; then | 2890 if test $ac_cv_header_stdc = yes; then |
| 2881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2882 cat > conftest.$ac_ext <<EOF | 2892 cat > conftest.$ac_ext <<EOF |
| 2883 #line 2884 "configure" | 2893 #line 2894 "configure" |
| 2884 #include "confdefs.h" | 2894 #include "confdefs.h" |
| 2885 #include <string.h> | 2895 #include <string.h> |
| 2886 EOF | 2896 EOF |
| 2887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2888 egrep "memchr" >/dev/null 2>&1; then | 2898 egrep "memchr" >/dev/null 2>&1; then |
| 2896 fi | 2906 fi |
| 2897 | 2907 |
| 2898 if test $ac_cv_header_stdc = yes; then | 2908 if test $ac_cv_header_stdc = yes; then |
| 2899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2909 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2900 cat > conftest.$ac_ext <<EOF | 2910 cat > conftest.$ac_ext <<EOF |
| 2901 #line 2902 "configure" | 2911 #line 2912 "configure" |
| 2902 #include "confdefs.h" | 2912 #include "confdefs.h" |
| 2903 #include <stdlib.h> | 2913 #include <stdlib.h> |
| 2904 EOF | 2914 EOF |
| 2905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2906 egrep "free" >/dev/null 2>&1; then | 2916 egrep "free" >/dev/null 2>&1; then |
| 2914 fi | 2924 fi |
| 2915 | 2925 |
| 2916 if test $ac_cv_header_stdc = yes; then | 2926 if test $ac_cv_header_stdc = yes; then |
| 2917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2927 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2918 cat > conftest.$ac_ext <<EOF | 2928 cat > conftest.$ac_ext <<EOF |
| 2919 #line 2920 "configure" | 2929 #line 2930 "configure" |
| 2920 #include "confdefs.h" | 2930 #include "confdefs.h" |
| 2921 #include <ctype.h> | 2931 #include <ctype.h> |
| 2922 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2932 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2923 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2933 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2924 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2934 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2925 int main () { int i; for (i = 0; i < 256; i++) | 2935 int main () { int i; for (i = 0; i < 256; i++) |
| 2926 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2936 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2927 exit (0); } | 2937 exit (0); } |
| 2928 | 2938 |
| 2929 EOF | 2939 EOF |
| 2930 if { (eval echo configure:2931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2940 if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2931 then | 2941 then |
| 2932 : | 2942 : |
| 2933 else | 2943 else |
| 2934 echo "configure: failed program was:" >&5 | 2944 echo "configure: failed program was:" >&5 |
| 2935 cat conftest.$ac_ext >&5 | 2945 cat conftest.$ac_ext >&5 |
| 2950 } | 2960 } |
| 2951 | 2961 |
| 2952 fi | 2962 fi |
| 2953 | 2963 |
| 2954 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2964 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2955 echo "configure:2956: checking whether time.h and sys/time.h may both be included" >&5 | 2965 echo "configure:2966: checking whether time.h and sys/time.h may both be included" >&5 |
| 2956 | 2966 |
| 2957 cat > conftest.$ac_ext <<EOF | 2967 cat > conftest.$ac_ext <<EOF |
| 2958 #line 2959 "configure" | 2968 #line 2969 "configure" |
| 2959 #include "confdefs.h" | 2969 #include "confdefs.h" |
| 2960 #include <sys/types.h> | 2970 #include <sys/types.h> |
| 2961 #include <sys/time.h> | 2971 #include <sys/time.h> |
| 2962 #include <time.h> | 2972 #include <time.h> |
| 2963 int main() { | 2973 int main() { |
| 2964 struct tm *tp; | 2974 struct tm *tp; |
| 2965 ; return 0; } | 2975 ; return 0; } |
| 2966 EOF | 2976 EOF |
| 2967 if { (eval echo configure:2968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2977 if { (eval echo configure:2978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2968 rm -rf conftest* | 2978 rm -rf conftest* |
| 2969 ac_cv_header_time=yes | 2979 ac_cv_header_time=yes |
| 2970 else | 2980 else |
| 2971 echo "configure: failed program was:" >&5 | 2981 echo "configure: failed program was:" >&5 |
| 2972 cat conftest.$ac_ext >&5 | 2982 cat conftest.$ac_ext >&5 |
| 2986 } | 2996 } |
| 2987 | 2997 |
| 2988 fi | 2998 fi |
| 2989 | 2999 |
| 2990 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3000 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2991 echo "configure:2992: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3001 echo "configure:3002: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2992 | 3002 |
| 2993 cat > conftest.$ac_ext <<EOF | 3003 cat > conftest.$ac_ext <<EOF |
| 2994 #line 2995 "configure" | 3004 #line 3005 "configure" |
| 2995 #include "confdefs.h" | 3005 #include "confdefs.h" |
| 2996 #include <sys/types.h> | 3006 #include <sys/types.h> |
| 2997 #include <signal.h> | 3007 #include <signal.h> |
| 2998 /* NetBSD declares sys_siglist in unistd.h. */ | 3008 /* NetBSD declares sys_siglist in unistd.h. */ |
| 2999 #ifdef HAVE_UNISTD_H | 3009 #ifdef HAVE_UNISTD_H |
| 3001 #endif | 3011 #endif |
| 3002 int main() { | 3012 int main() { |
| 3003 char *msg = *(sys_siglist + 1); | 3013 char *msg = *(sys_siglist + 1); |
| 3004 ; return 0; } | 3014 ; return 0; } |
| 3005 EOF | 3015 EOF |
| 3006 if { (eval echo configure:3007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3016 if { (eval echo configure:3017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3007 rm -rf conftest* | 3017 rm -rf conftest* |
| 3008 ac_cv_decl_sys_siglist=yes | 3018 ac_cv_decl_sys_siglist=yes |
| 3009 else | 3019 else |
| 3010 echo "configure: failed program was:" >&5 | 3020 echo "configure: failed program was:" >&5 |
| 3011 cat conftest.$ac_ext >&5 | 3021 cat conftest.$ac_ext >&5 |
| 3026 | 3036 |
| 3027 fi | 3037 fi |
| 3028 | 3038 |
| 3029 | 3039 |
| 3030 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3040 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3031 echo "configure:3032: checking for struct utimbuf" >&5 | 3041 echo "configure:3042: checking for struct utimbuf" >&5 |
| 3032 cat > conftest.$ac_ext <<EOF | 3042 cat > conftest.$ac_ext <<EOF |
| 3033 #line 3034 "configure" | 3043 #line 3044 "configure" |
| 3034 #include "confdefs.h" | 3044 #include "confdefs.h" |
| 3035 #ifdef TIME_WITH_SYS_TIME | 3045 #ifdef TIME_WITH_SYS_TIME |
| 3036 #include <sys/time.h> | 3046 #include <sys/time.h> |
| 3037 #include <time.h> | 3047 #include <time.h> |
| 3038 #else | 3048 #else |
| 3047 #endif | 3057 #endif |
| 3048 int main() { | 3058 int main() { |
| 3049 static struct utimbuf x; x.actime = x.modtime; | 3059 static struct utimbuf x; x.actime = x.modtime; |
| 3050 ; return 0; } | 3060 ; return 0; } |
| 3051 EOF | 3061 EOF |
| 3052 if { (eval echo configure:3053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3062 if { (eval echo configure:3063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3053 rm -rf conftest* | 3063 rm -rf conftest* |
| 3054 echo "$ac_t""yes" 1>&6 | 3064 echo "$ac_t""yes" 1>&6 |
| 3055 { test "$extra_verbose" = "yes" && cat << \EOF | 3065 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3056 Defining HAVE_STRUCT_UTIMBUF | 3066 Defining HAVE_STRUCT_UTIMBUF |
| 3057 EOF | 3067 EOF |
| 3067 echo "$ac_t""no" 1>&6 | 3077 echo "$ac_t""no" 1>&6 |
| 3068 fi | 3078 fi |
| 3069 rm -f conftest* | 3079 rm -f conftest* |
| 3070 | 3080 |
| 3071 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3081 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3072 echo "configure:3073: checking return type of signal handlers" >&5 | 3082 echo "configure:3083: checking return type of signal handlers" >&5 |
| 3073 | 3083 |
| 3074 cat > conftest.$ac_ext <<EOF | 3084 cat > conftest.$ac_ext <<EOF |
| 3075 #line 3076 "configure" | 3085 #line 3086 "configure" |
| 3076 #include "confdefs.h" | 3086 #include "confdefs.h" |
| 3077 #include <sys/types.h> | 3087 #include <sys/types.h> |
| 3078 #include <signal.h> | 3088 #include <signal.h> |
| 3079 #ifdef signal | 3089 #ifdef signal |
| 3080 #undef signal | 3090 #undef signal |
| 3087 | 3097 |
| 3088 int main() { | 3098 int main() { |
| 3089 int i; | 3099 int i; |
| 3090 ; return 0; } | 3100 ; return 0; } |
| 3091 EOF | 3101 EOF |
| 3092 if { (eval echo configure:3093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3102 if { (eval echo configure:3103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3093 rm -rf conftest* | 3103 rm -rf conftest* |
| 3094 ac_cv_type_signal=void | 3104 ac_cv_type_signal=void |
| 3095 else | 3105 else |
| 3096 echo "configure: failed program was:" >&5 | 3106 echo "configure: failed program was:" >&5 |
| 3097 cat conftest.$ac_ext >&5 | 3107 cat conftest.$ac_ext >&5 |
| 3109 EOF | 3119 EOF |
| 3110 } | 3120 } |
| 3111 | 3121 |
| 3112 | 3122 |
| 3113 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3123 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3114 echo "configure:3115: checking for size_t" >&5 | 3124 echo "configure:3125: checking for size_t" >&5 |
| 3115 | 3125 |
| 3116 cat > conftest.$ac_ext <<EOF | 3126 cat > conftest.$ac_ext <<EOF |
| 3117 #line 3118 "configure" | 3127 #line 3128 "configure" |
| 3118 #include "confdefs.h" | 3128 #include "confdefs.h" |
| 3119 #include <sys/types.h> | 3129 #include <sys/types.h> |
| 3120 #if STDC_HEADERS | 3130 #if STDC_HEADERS |
| 3121 #include <stdlib.h> | 3131 #include <stdlib.h> |
| 3122 #include <stddef.h> | 3132 #include <stddef.h> |
| 3143 } | 3153 } |
| 3144 | 3154 |
| 3145 fi | 3155 fi |
| 3146 | 3156 |
| 3147 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3157 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3148 echo "configure:3149: checking for pid_t" >&5 | 3158 echo "configure:3159: checking for pid_t" >&5 |
| 3149 | 3159 |
| 3150 cat > conftest.$ac_ext <<EOF | 3160 cat > conftest.$ac_ext <<EOF |
| 3151 #line 3152 "configure" | 3161 #line 3162 "configure" |
| 3152 #include "confdefs.h" | 3162 #include "confdefs.h" |
| 3153 #include <sys/types.h> | 3163 #include <sys/types.h> |
| 3154 #if STDC_HEADERS | 3164 #if STDC_HEADERS |
| 3155 #include <stdlib.h> | 3165 #include <stdlib.h> |
| 3156 #include <stddef.h> | 3166 #include <stddef.h> |
| 3177 } | 3187 } |
| 3178 | 3188 |
| 3179 fi | 3189 fi |
| 3180 | 3190 |
| 3181 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3191 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3182 echo "configure:3183: checking for uid_t in sys/types.h" >&5 | 3192 echo "configure:3193: checking for uid_t in sys/types.h" >&5 |
| 3183 | 3193 |
| 3184 cat > conftest.$ac_ext <<EOF | 3194 cat > conftest.$ac_ext <<EOF |
| 3185 #line 3186 "configure" | 3195 #line 3196 "configure" |
| 3186 #include "confdefs.h" | 3196 #include "confdefs.h" |
| 3187 #include <sys/types.h> | 3197 #include <sys/types.h> |
| 3188 EOF | 3198 EOF |
| 3189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3190 egrep "uid_t" >/dev/null 2>&1; then | 3200 egrep "uid_t" >/dev/null 2>&1; then |
| 3216 } | 3226 } |
| 3217 | 3227 |
| 3218 fi | 3228 fi |
| 3219 | 3229 |
| 3220 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3230 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3221 echo "configure:3222: checking for mode_t" >&5 | 3231 echo "configure:3232: checking for mode_t" >&5 |
| 3222 | 3232 |
| 3223 cat > conftest.$ac_ext <<EOF | 3233 cat > conftest.$ac_ext <<EOF |
| 3224 #line 3225 "configure" | 3234 #line 3235 "configure" |
| 3225 #include "confdefs.h" | 3235 #include "confdefs.h" |
| 3226 #include <sys/types.h> | 3236 #include <sys/types.h> |
| 3227 #if STDC_HEADERS | 3237 #if STDC_HEADERS |
| 3228 #include <stdlib.h> | 3238 #include <stdlib.h> |
| 3229 #include <stddef.h> | 3239 #include <stddef.h> |
| 3250 } | 3260 } |
| 3251 | 3261 |
| 3252 fi | 3262 fi |
| 3253 | 3263 |
| 3254 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3264 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3255 echo "configure:3256: checking for off_t" >&5 | 3265 echo "configure:3266: checking for off_t" >&5 |
| 3256 | 3266 |
| 3257 cat > conftest.$ac_ext <<EOF | 3267 cat > conftest.$ac_ext <<EOF |
| 3258 #line 3259 "configure" | 3268 #line 3269 "configure" |
| 3259 #include "confdefs.h" | 3269 #include "confdefs.h" |
| 3260 #include <sys/types.h> | 3270 #include <sys/types.h> |
| 3261 #if STDC_HEADERS | 3271 #if STDC_HEADERS |
| 3262 #include <stdlib.h> | 3272 #include <stdlib.h> |
| 3263 #include <stddef.h> | 3273 #include <stddef.h> |
| 3285 | 3295 |
| 3286 fi | 3296 fi |
| 3287 | 3297 |
| 3288 | 3298 |
| 3289 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3299 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3290 echo "configure:3291: checking for struct timeval" >&5 | 3300 echo "configure:3301: checking for struct timeval" >&5 |
| 3291 cat > conftest.$ac_ext <<EOF | 3301 cat > conftest.$ac_ext <<EOF |
| 3292 #line 3293 "configure" | 3302 #line 3303 "configure" |
| 3293 #include "confdefs.h" | 3303 #include "confdefs.h" |
| 3294 #ifdef TIME_WITH_SYS_TIME | 3304 #ifdef TIME_WITH_SYS_TIME |
| 3295 #include <sys/time.h> | 3305 #include <sys/time.h> |
| 3296 #include <time.h> | 3306 #include <time.h> |
| 3297 #else | 3307 #else |
| 3303 #endif | 3313 #endif |
| 3304 int main() { | 3314 int main() { |
| 3305 static struct timeval x; x.tv_sec = x.tv_usec; | 3315 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3306 ; return 0; } | 3316 ; return 0; } |
| 3307 EOF | 3317 EOF |
| 3308 if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3318 if { (eval echo configure:3319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3309 rm -rf conftest* | 3319 rm -rf conftest* |
| 3310 echo "$ac_t""yes" 1>&6 | 3320 echo "$ac_t""yes" 1>&6 |
| 3311 HAVE_TIMEVAL=yes | 3321 HAVE_TIMEVAL=yes |
| 3312 { test "$extra_verbose" = "yes" && cat << \EOF | 3322 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3313 Defining HAVE_TIMEVAL | 3323 Defining HAVE_TIMEVAL |
| 3325 HAVE_TIMEVAL=no | 3335 HAVE_TIMEVAL=no |
| 3326 fi | 3336 fi |
| 3327 rm -f conftest* | 3337 rm -f conftest* |
| 3328 | 3338 |
| 3329 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3339 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3330 echo "configure:3331: checking whether struct tm is in sys/time.h or time.h" >&5 | 3340 echo "configure:3341: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3331 | 3341 |
| 3332 cat > conftest.$ac_ext <<EOF | 3342 cat > conftest.$ac_ext <<EOF |
| 3333 #line 3334 "configure" | 3343 #line 3344 "configure" |
| 3334 #include "confdefs.h" | 3344 #include "confdefs.h" |
| 3335 #include <sys/types.h> | 3345 #include <sys/types.h> |
| 3336 #include <time.h> | 3346 #include <time.h> |
| 3337 int main() { | 3347 int main() { |
| 3338 struct tm *tp; tp->tm_sec; | 3348 struct tm *tp; tp->tm_sec; |
| 3339 ; return 0; } | 3349 ; return 0; } |
| 3340 EOF | 3350 EOF |
| 3341 if { (eval echo configure:3342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3351 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3342 rm -rf conftest* | 3352 rm -rf conftest* |
| 3343 ac_cv_struct_tm=time.h | 3353 ac_cv_struct_tm=time.h |
| 3344 else | 3354 else |
| 3345 echo "configure: failed program was:" >&5 | 3355 echo "configure: failed program was:" >&5 |
| 3346 cat conftest.$ac_ext >&5 | 3356 cat conftest.$ac_ext >&5 |
| 3360 } | 3370 } |
| 3361 | 3371 |
| 3362 fi | 3372 fi |
| 3363 | 3373 |
| 3364 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3374 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3365 echo "configure:3366: checking for tm_zone in struct tm" >&5 | 3375 echo "configure:3376: checking for tm_zone in struct tm" >&5 |
| 3366 | 3376 |
| 3367 cat > conftest.$ac_ext <<EOF | 3377 cat > conftest.$ac_ext <<EOF |
| 3368 #line 3369 "configure" | 3378 #line 3379 "configure" |
| 3369 #include "confdefs.h" | 3379 #include "confdefs.h" |
| 3370 #include <sys/types.h> | 3380 #include <sys/types.h> |
| 3371 #include <$ac_cv_struct_tm> | 3381 #include <$ac_cv_struct_tm> |
| 3372 int main() { | 3382 int main() { |
| 3373 struct tm tm; tm.tm_zone; | 3383 struct tm tm; tm.tm_zone; |
| 3374 ; return 0; } | 3384 ; return 0; } |
| 3375 EOF | 3385 EOF |
| 3376 if { (eval echo configure:3377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3386 if { (eval echo configure:3387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3377 rm -rf conftest* | 3387 rm -rf conftest* |
| 3378 ac_cv_struct_tm_zone=yes | 3388 ac_cv_struct_tm_zone=yes |
| 3379 else | 3389 else |
| 3380 echo "configure: failed program was:" >&5 | 3390 echo "configure: failed program was:" >&5 |
| 3381 cat conftest.$ac_ext >&5 | 3391 cat conftest.$ac_ext >&5 |
| 3394 EOF | 3404 EOF |
| 3395 } | 3405 } |
| 3396 | 3406 |
| 3397 else | 3407 else |
| 3398 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3408 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3399 echo "configure:3400: checking for tzname" >&5 | 3409 echo "configure:3410: checking for tzname" >&5 |
| 3400 | 3410 |
| 3401 cat > conftest.$ac_ext <<EOF | 3411 cat > conftest.$ac_ext <<EOF |
| 3402 #line 3403 "configure" | 3412 #line 3413 "configure" |
| 3403 #include "confdefs.h" | 3413 #include "confdefs.h" |
| 3404 #include <time.h> | 3414 #include <time.h> |
| 3405 #ifndef tzname /* For SGI. */ | 3415 #ifndef tzname /* For SGI. */ |
| 3406 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3416 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3407 #endif | 3417 #endif |
| 3408 int main() { | 3418 int main() { |
| 3409 atoi(*tzname); | 3419 atoi(*tzname); |
| 3410 ; return 0; } | 3420 ; return 0; } |
| 3411 EOF | 3421 EOF |
| 3412 if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3422 if { (eval echo configure:3423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3413 rm -rf conftest* | 3423 rm -rf conftest* |
| 3414 ac_cv_var_tzname=yes | 3424 ac_cv_var_tzname=yes |
| 3415 else | 3425 else |
| 3416 echo "configure: failed program was:" >&5 | 3426 echo "configure: failed program was:" >&5 |
| 3417 cat conftest.$ac_ext >&5 | 3427 cat conftest.$ac_ext >&5 |
| 3433 fi | 3443 fi |
| 3434 fi | 3444 fi |
| 3435 | 3445 |
| 3436 | 3446 |
| 3437 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3447 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3438 echo "configure:3439: checking for working const" >&5 | 3448 echo "configure:3449: checking for working const" >&5 |
| 3439 | 3449 |
| 3440 cat > conftest.$ac_ext <<EOF | 3450 cat > conftest.$ac_ext <<EOF |
| 3441 #line 3442 "configure" | 3451 #line 3452 "configure" |
| 3442 #include "confdefs.h" | 3452 #include "confdefs.h" |
| 3443 | 3453 |
| 3444 int main() { | 3454 int main() { |
| 3445 | 3455 |
| 3446 /* Ultrix mips cc rejects this. */ | 3456 /* Ultrix mips cc rejects this. */ |
| 3485 const int foo = 10; | 3495 const int foo = 10; |
| 3486 } | 3496 } |
| 3487 | 3497 |
| 3488 ; return 0; } | 3498 ; return 0; } |
| 3489 EOF | 3499 EOF |
| 3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3500 if { (eval echo configure:3501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3491 rm -rf conftest* | 3501 rm -rf conftest* |
| 3492 ac_cv_c_const=yes | 3502 ac_cv_c_const=yes |
| 3493 else | 3503 else |
| 3494 echo "configure: failed program was:" >&5 | 3504 echo "configure: failed program was:" >&5 |
| 3495 cat conftest.$ac_ext >&5 | 3505 cat conftest.$ac_ext >&5 |
| 3510 | 3520 |
| 3511 fi | 3521 fi |
| 3512 | 3522 |
| 3513 | 3523 |
| 3514 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3524 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3515 echo "configure:3516: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3525 echo "configure:3526: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3516 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3526 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3517 | 3527 |
| 3518 cat > conftestmake <<\EOF | 3528 cat > conftestmake <<\EOF |
| 3519 all: | 3529 all: |
| 3520 @echo 'ac_maketemp="${MAKE}"' | 3530 @echo 'ac_maketemp="${MAKE}"' |
| 3535 SET_MAKE="MAKE=${MAKE-make}" | 3545 SET_MAKE="MAKE=${MAKE-make}" |
| 3536 fi | 3546 fi |
| 3537 | 3547 |
| 3538 | 3548 |
| 3539 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3549 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3540 echo "configure:3541: checking whether byte ordering is bigendian" >&5 | 3550 echo "configure:3551: checking whether byte ordering is bigendian" >&5 |
| 3541 | 3551 |
| 3542 ac_cv_c_bigendian=unknown | 3552 ac_cv_c_bigendian=unknown |
| 3543 # See if sys/param.h defines the BYTE_ORDER macro. | 3553 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3544 cat > conftest.$ac_ext <<EOF | 3554 cat > conftest.$ac_ext <<EOF |
| 3545 #line 3546 "configure" | 3555 #line 3556 "configure" |
| 3546 #include "confdefs.h" | 3556 #include "confdefs.h" |
| 3547 #include <sys/types.h> | 3557 #include <sys/types.h> |
| 3548 #include <sys/param.h> | 3558 #include <sys/param.h> |
| 3549 int main() { | 3559 int main() { |
| 3550 | 3560 |
| 3551 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3561 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3552 bogus endian macros | 3562 bogus endian macros |
| 3553 #endif | 3563 #endif |
| 3554 ; return 0; } | 3564 ; return 0; } |
| 3555 EOF | 3565 EOF |
| 3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3557 rm -rf conftest* | 3567 rm -rf conftest* |
| 3558 # It does; now see whether it defined to BIG_ENDIAN or not. | 3568 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3559 cat > conftest.$ac_ext <<EOF | 3569 cat > conftest.$ac_ext <<EOF |
| 3560 #line 3561 "configure" | 3570 #line 3571 "configure" |
| 3561 #include "confdefs.h" | 3571 #include "confdefs.h" |
| 3562 #include <sys/types.h> | 3572 #include <sys/types.h> |
| 3563 #include <sys/param.h> | 3573 #include <sys/param.h> |
| 3564 int main() { | 3574 int main() { |
| 3565 | 3575 |
| 3566 #if BYTE_ORDER != BIG_ENDIAN | 3576 #if BYTE_ORDER != BIG_ENDIAN |
| 3567 not big endian | 3577 not big endian |
| 3568 #endif | 3578 #endif |
| 3569 ; return 0; } | 3579 ; return 0; } |
| 3570 EOF | 3580 EOF |
| 3571 if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3581 if { (eval echo configure:3582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3572 rm -rf conftest* | 3582 rm -rf conftest* |
| 3573 ac_cv_c_bigendian=yes | 3583 ac_cv_c_bigendian=yes |
| 3574 else | 3584 else |
| 3575 echo "configure: failed program was:" >&5 | 3585 echo "configure: failed program was:" >&5 |
| 3576 cat conftest.$ac_ext >&5 | 3586 cat conftest.$ac_ext >&5 |
| 3583 cat conftest.$ac_ext >&5 | 3593 cat conftest.$ac_ext >&5 |
| 3584 fi | 3594 fi |
| 3585 rm -f conftest* | 3595 rm -f conftest* |
| 3586 if test $ac_cv_c_bigendian = unknown; then | 3596 if test $ac_cv_c_bigendian = unknown; then |
| 3587 cat > conftest.$ac_ext <<EOF | 3597 cat > conftest.$ac_ext <<EOF |
| 3588 #line 3589 "configure" | 3598 #line 3599 "configure" |
| 3589 #include "confdefs.h" | 3599 #include "confdefs.h" |
| 3590 main () { | 3600 main () { |
| 3591 /* Are we little or big endian? From Harbison&Steele. */ | 3601 /* Are we little or big endian? From Harbison&Steele. */ |
| 3592 union | 3602 union |
| 3593 { | 3603 { |
| 3596 } u; | 3606 } u; |
| 3597 u.l = 1; | 3607 u.l = 1; |
| 3598 exit (u.c[sizeof (long) - 1] == 1); | 3608 exit (u.c[sizeof (long) - 1] == 1); |
| 3599 } | 3609 } |
| 3600 EOF | 3610 EOF |
| 3601 if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3611 if { (eval echo configure:3612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3602 then | 3612 then |
| 3603 ac_cv_c_bigendian=no | 3613 ac_cv_c_bigendian=no |
| 3604 else | 3614 else |
| 3605 echo "configure: failed program was:" >&5 | 3615 echo "configure: failed program was:" >&5 |
| 3606 cat conftest.$ac_ext >&5 | 3616 cat conftest.$ac_ext >&5 |
| 3622 | 3632 |
| 3623 fi | 3633 fi |
| 3624 | 3634 |
| 3625 | 3635 |
| 3626 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3636 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3627 echo "configure:3628: checking size of short" >&5 | 3637 echo "configure:3638: checking size of short" >&5 |
| 3628 | 3638 |
| 3629 cat > conftest.$ac_ext <<EOF | 3639 cat > conftest.$ac_ext <<EOF |
| 3630 #line 3631 "configure" | 3640 #line 3641 "configure" |
| 3631 #include "confdefs.h" | 3641 #include "confdefs.h" |
| 3632 #include <stdio.h> | 3642 #include <stdio.h> |
| 3633 main() | 3643 main() |
| 3634 { | 3644 { |
| 3635 FILE *f=fopen("conftestval", "w"); | 3645 FILE *f=fopen("conftestval", "w"); |
| 3636 if (!f) exit(1); | 3646 if (!f) exit(1); |
| 3637 fprintf(f, "%d\n", sizeof(short)); | 3647 fprintf(f, "%d\n", sizeof(short)); |
| 3638 exit(0); | 3648 exit(0); |
| 3639 } | 3649 } |
| 3640 EOF | 3650 EOF |
| 3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3651 if { (eval echo configure:3652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3642 then | 3652 then |
| 3643 ac_cv_sizeof_short=`cat conftestval` | 3653 ac_cv_sizeof_short=`cat conftestval` |
| 3644 else | 3654 else |
| 3645 echo "configure: failed program was:" >&5 | 3655 echo "configure: failed program was:" >&5 |
| 3646 cat conftest.$ac_ext >&5 | 3656 cat conftest.$ac_ext >&5 |
| 3663 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3673 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3664 echo "*** PANIC *** Please examine config.log for compilation errors." | 3674 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3665 exit 1 | 3675 exit 1 |
| 3666 fi | 3676 fi |
| 3667 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3677 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3668 echo "configure:3669: checking size of int" >&5 | 3678 echo "configure:3679: checking size of int" >&5 |
| 3669 | 3679 |
| 3670 cat > conftest.$ac_ext <<EOF | 3680 cat > conftest.$ac_ext <<EOF |
| 3671 #line 3672 "configure" | 3681 #line 3682 "configure" |
| 3672 #include "confdefs.h" | 3682 #include "confdefs.h" |
| 3673 #include <stdio.h> | 3683 #include <stdio.h> |
| 3674 main() | 3684 main() |
| 3675 { | 3685 { |
| 3676 FILE *f=fopen("conftestval", "w"); | 3686 FILE *f=fopen("conftestval", "w"); |
| 3677 if (!f) exit(1); | 3687 if (!f) exit(1); |
| 3678 fprintf(f, "%d\n", sizeof(int)); | 3688 fprintf(f, "%d\n", sizeof(int)); |
| 3679 exit(0); | 3689 exit(0); |
| 3680 } | 3690 } |
| 3681 EOF | 3691 EOF |
| 3682 if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3692 if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3683 then | 3693 then |
| 3684 ac_cv_sizeof_int=`cat conftestval` | 3694 ac_cv_sizeof_int=`cat conftestval` |
| 3685 else | 3695 else |
| 3686 echo "configure: failed program was:" >&5 | 3696 echo "configure: failed program was:" >&5 |
| 3687 cat conftest.$ac_ext >&5 | 3697 cat conftest.$ac_ext >&5 |
| 3698 EOF | 3708 EOF |
| 3699 } | 3709 } |
| 3700 | 3710 |
| 3701 | 3711 |
| 3702 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3712 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3703 echo "configure:3704: checking size of long" >&5 | 3713 echo "configure:3714: checking size of long" >&5 |
| 3704 | 3714 |
| 3705 cat > conftest.$ac_ext <<EOF | 3715 cat > conftest.$ac_ext <<EOF |
| 3706 #line 3707 "configure" | 3716 #line 3717 "configure" |
| 3707 #include "confdefs.h" | 3717 #include "confdefs.h" |
| 3708 #include <stdio.h> | 3718 #include <stdio.h> |
| 3709 main() | 3719 main() |
| 3710 { | 3720 { |
| 3711 FILE *f=fopen("conftestval", "w"); | 3721 FILE *f=fopen("conftestval", "w"); |
| 3712 if (!f) exit(1); | 3722 if (!f) exit(1); |
| 3713 fprintf(f, "%d\n", sizeof(long)); | 3723 fprintf(f, "%d\n", sizeof(long)); |
| 3714 exit(0); | 3724 exit(0); |
| 3715 } | 3725 } |
| 3716 EOF | 3726 EOF |
| 3717 if { (eval echo configure:3718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3727 if { (eval echo configure:3728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3718 then | 3728 then |
| 3719 ac_cv_sizeof_long=`cat conftestval` | 3729 ac_cv_sizeof_long=`cat conftestval` |
| 3720 else | 3730 else |
| 3721 echo "configure: failed program was:" >&5 | 3731 echo "configure: failed program was:" >&5 |
| 3722 cat conftest.$ac_ext >&5 | 3732 cat conftest.$ac_ext >&5 |
| 3733 EOF | 3743 EOF |
| 3734 } | 3744 } |
| 3735 | 3745 |
| 3736 | 3746 |
| 3737 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3747 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3738 echo "configure:3739: checking size of long long" >&5 | 3748 echo "configure:3749: checking size of long long" >&5 |
| 3739 | 3749 |
| 3740 cat > conftest.$ac_ext <<EOF | 3750 cat > conftest.$ac_ext <<EOF |
| 3741 #line 3742 "configure" | 3751 #line 3752 "configure" |
| 3742 #include "confdefs.h" | 3752 #include "confdefs.h" |
| 3743 #include <stdio.h> | 3753 #include <stdio.h> |
| 3744 main() | 3754 main() |
| 3745 { | 3755 { |
| 3746 FILE *f=fopen("conftestval", "w"); | 3756 FILE *f=fopen("conftestval", "w"); |
| 3747 if (!f) exit(1); | 3757 if (!f) exit(1); |
| 3748 fprintf(f, "%d\n", sizeof(long long)); | 3758 fprintf(f, "%d\n", sizeof(long long)); |
| 3749 exit(0); | 3759 exit(0); |
| 3750 } | 3760 } |
| 3751 EOF | 3761 EOF |
| 3752 if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3762 if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3753 then | 3763 then |
| 3754 ac_cv_sizeof_long_long=`cat conftestval` | 3764 ac_cv_sizeof_long_long=`cat conftestval` |
| 3755 else | 3765 else |
| 3756 echo "configure: failed program was:" >&5 | 3766 echo "configure: failed program was:" >&5 |
| 3757 cat conftest.$ac_ext >&5 | 3767 cat conftest.$ac_ext >&5 |
| 3768 EOF | 3778 EOF |
| 3769 } | 3779 } |
| 3770 | 3780 |
| 3771 | 3781 |
| 3772 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3782 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3773 echo "configure:3774: checking size of void *" >&5 | 3783 echo "configure:3784: checking size of void *" >&5 |
| 3774 | 3784 |
| 3775 cat > conftest.$ac_ext <<EOF | 3785 cat > conftest.$ac_ext <<EOF |
| 3776 #line 3777 "configure" | 3786 #line 3787 "configure" |
| 3777 #include "confdefs.h" | 3787 #include "confdefs.h" |
| 3778 #include <stdio.h> | 3788 #include <stdio.h> |
| 3779 main() | 3789 main() |
| 3780 { | 3790 { |
| 3781 FILE *f=fopen("conftestval", "w"); | 3791 FILE *f=fopen("conftestval", "w"); |
| 3782 if (!f) exit(1); | 3792 if (!f) exit(1); |
| 3783 fprintf(f, "%d\n", sizeof(void *)); | 3793 fprintf(f, "%d\n", sizeof(void *)); |
| 3784 exit(0); | 3794 exit(0); |
| 3785 } | 3795 } |
| 3786 EOF | 3796 EOF |
| 3787 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3797 if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3788 then | 3798 then |
| 3789 ac_cv_sizeof_void_p=`cat conftestval` | 3799 ac_cv_sizeof_void_p=`cat conftestval` |
| 3790 else | 3800 else |
| 3791 echo "configure: failed program was:" >&5 | 3801 echo "configure: failed program was:" >&5 |
| 3792 cat conftest.$ac_ext >&5 | 3802 cat conftest.$ac_ext >&5 |
| 3804 } | 3814 } |
| 3805 | 3815 |
| 3806 | 3816 |
| 3807 | 3817 |
| 3808 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3818 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3809 echo "configure:3810: checking for long file names" >&5 | 3819 echo "configure:3820: checking for long file names" >&5 |
| 3810 | 3820 |
| 3811 ac_cv_sys_long_file_names=yes | 3821 ac_cv_sys_long_file_names=yes |
| 3812 # Test for long file names in all the places we know might matter: | 3822 # Test for long file names in all the places we know might matter: |
| 3813 # . the current directory, where building will happen | 3823 # . the current directory, where building will happen |
| 3814 # $prefix/lib where we will be installing things | 3824 # $prefix/lib where we will be installing things |
| 3850 | 3860 |
| 3851 fi | 3861 fi |
| 3852 | 3862 |
| 3853 | 3863 |
| 3854 | 3864 |
| 3855 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3865 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 3856 echo "configure:3857: checking for sqrt in -lm" >&5 | 3866 echo "configure:3867: checking for sin in -lm" >&5 |
| 3857 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3867 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 3858 | 3868 |
| 3859 xe_check_libs=" -lm " | 3869 xe_check_libs=" -lm " |
| 3860 cat > conftest.$ac_ext <<EOF | 3870 cat > conftest.$ac_ext <<EOF |
| 3861 #line 3862 "configure" | 3871 #line 3872 "configure" |
| 3862 #include "confdefs.h" | 3872 #include "confdefs.h" |
| 3863 /* Override any gcc2 internal prototype to avoid an error. */ | 3873 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3864 /* We use char because int might match the return type of a gcc2 | 3874 /* We use char because int might match the return type of a gcc2 |
| 3865 builtin and then its argument prototype would still apply. */ | 3875 builtin and then its argument prototype would still apply. */ |
| 3866 char sqrt(); | 3876 char sin(); |
| 3867 | 3877 |
| 3868 int main() { | 3878 int main() { |
| 3869 sqrt() | 3879 sin() |
| 3870 ; return 0; } | 3880 ; return 0; } |
| 3871 EOF | 3881 EOF |
| 3872 if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3873 rm -rf conftest* | 3883 rm -rf conftest* |
| 3874 eval "ac_cv_lib_$ac_lib_var=yes" | 3884 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3875 else | 3885 else |
| 3876 echo "configure: failed program was:" >&5 | 3886 echo "configure: failed program was:" >&5 |
| 3877 cat conftest.$ac_ext >&5 | 3887 cat conftest.$ac_ext >&5 |
| 3909 EOF | 3919 EOF |
| 3910 } | 3920 } |
| 3911 | 3921 |
| 3912 | 3922 |
| 3913 echo "checking type of mail spool file locking" 1>&6 | 3923 echo "checking type of mail spool file locking" 1>&6 |
| 3914 echo "configure:3915: checking type of mail spool file locking" >&5 | 3924 echo "configure:3925: checking type of mail spool file locking" >&5 |
| 3915 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3925 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3916 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3926 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3917 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3927 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3918 Defining REAL_MAIL_USE_LOCKF | 3928 Defining REAL_MAIL_USE_LOCKF |
| 3919 EOF | 3929 EOF |
| 3933 else mail_locking="dot-locking" | 3943 else mail_locking="dot-locking" |
| 3934 fi | 3944 fi |
| 3935 | 3945 |
| 3936 | 3946 |
| 3937 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3947 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3938 echo "configure:3939: checking for kstat_open in -lkstat" >&5 | 3948 echo "configure:3949: checking for kstat_open in -lkstat" >&5 |
| 3939 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3949 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3940 | 3950 |
| 3941 xe_check_libs=" -lkstat " | 3951 xe_check_libs=" -lkstat " |
| 3942 cat > conftest.$ac_ext <<EOF | 3952 cat > conftest.$ac_ext <<EOF |
| 3943 #line 3944 "configure" | 3953 #line 3954 "configure" |
| 3944 #include "confdefs.h" | 3954 #include "confdefs.h" |
| 3945 /* Override any gcc2 internal prototype to avoid an error. */ | 3955 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3946 /* We use char because int might match the return type of a gcc2 | 3956 /* We use char because int might match the return type of a gcc2 |
| 3947 builtin and then its argument prototype would still apply. */ | 3957 builtin and then its argument prototype would still apply. */ |
| 3948 char kstat_open(); | 3958 char kstat_open(); |
| 3949 | 3959 |
| 3950 int main() { | 3960 int main() { |
| 3951 kstat_open() | 3961 kstat_open() |
| 3952 ; return 0; } | 3962 ; return 0; } |
| 3953 EOF | 3963 EOF |
| 3954 if { (eval echo configure:3955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3964 if { (eval echo configure:3965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3955 rm -rf conftest* | 3965 rm -rf conftest* |
| 3956 eval "ac_cv_lib_$ac_lib_var=yes" | 3966 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3957 else | 3967 else |
| 3958 echo "configure: failed program was:" >&5 | 3968 echo "configure: failed program was:" >&5 |
| 3959 cat conftest.$ac_ext >&5 | 3969 cat conftest.$ac_ext >&5 |
| 3983 | 3993 |
| 3984 | 3994 |
| 3985 | 3995 |
| 3986 | 3996 |
| 3987 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3997 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 3988 echo "configure:3989: checking for kvm_read in -lkvm" >&5 | 3998 echo "configure:3999: checking for kvm_read in -lkvm" >&5 |
| 3989 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3999 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 3990 | 4000 |
| 3991 xe_check_libs=" -lkvm " | 4001 xe_check_libs=" -lkvm " |
| 3992 cat > conftest.$ac_ext <<EOF | 4002 cat > conftest.$ac_ext <<EOF |
| 3993 #line 3994 "configure" | 4003 #line 4004 "configure" |
| 3994 #include "confdefs.h" | 4004 #include "confdefs.h" |
| 3995 /* Override any gcc2 internal prototype to avoid an error. */ | 4005 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3996 /* We use char because int might match the return type of a gcc2 | 4006 /* We use char because int might match the return type of a gcc2 |
| 3997 builtin and then its argument prototype would still apply. */ | 4007 builtin and then its argument prototype would still apply. */ |
| 3998 char kvm_read(); | 4008 char kvm_read(); |
| 3999 | 4009 |
| 4000 int main() { | 4010 int main() { |
| 4001 kvm_read() | 4011 kvm_read() |
| 4002 ; return 0; } | 4012 ; return 0; } |
| 4003 EOF | 4013 EOF |
| 4004 if { (eval echo configure:4005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4014 if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4005 rm -rf conftest* | 4015 rm -rf conftest* |
| 4006 eval "ac_cv_lib_$ac_lib_var=yes" | 4016 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4007 else | 4017 else |
| 4008 echo "configure: failed program was:" >&5 | 4018 echo "configure: failed program was:" >&5 |
| 4009 cat conftest.$ac_ext >&5 | 4019 cat conftest.$ac_ext >&5 |
| 4033 | 4043 |
| 4034 | 4044 |
| 4035 | 4045 |
| 4036 | 4046 |
| 4037 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4047 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4038 echo "configure:4039: checking for cma_open in -lpthreads" >&5 | 4048 echo "configure:4049: checking for cma_open in -lpthreads" >&5 |
| 4039 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4049 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4040 | 4050 |
| 4041 xe_check_libs=" -lpthreads " | 4051 xe_check_libs=" -lpthreads " |
| 4042 cat > conftest.$ac_ext <<EOF | 4052 cat > conftest.$ac_ext <<EOF |
| 4043 #line 4044 "configure" | 4053 #line 4054 "configure" |
| 4044 #include "confdefs.h" | 4054 #include "confdefs.h" |
| 4045 /* Override any gcc2 internal prototype to avoid an error. */ | 4055 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4046 /* We use char because int might match the return type of a gcc2 | 4056 /* We use char because int might match the return type of a gcc2 |
| 4047 builtin and then its argument prototype would still apply. */ | 4057 builtin and then its argument prototype would still apply. */ |
| 4048 char cma_open(); | 4058 char cma_open(); |
| 4049 | 4059 |
| 4050 int main() { | 4060 int main() { |
| 4051 cma_open() | 4061 cma_open() |
| 4052 ; return 0; } | 4062 ; return 0; } |
| 4053 EOF | 4063 EOF |
| 4054 if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4064 if { (eval echo configure:4065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4055 rm -rf conftest* | 4065 rm -rf conftest* |
| 4056 eval "ac_cv_lib_$ac_lib_var=yes" | 4066 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4057 else | 4067 else |
| 4058 echo "configure: failed program was:" >&5 | 4068 echo "configure: failed program was:" >&5 |
| 4059 cat conftest.$ac_ext >&5 | 4069 cat conftest.$ac_ext >&5 |
| 4085 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4095 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 4086 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4096 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 4087 fi | 4097 fi |
| 4088 | 4098 |
| 4089 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4099 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4090 echo "configure:4091: checking whether the -xildoff compiler flag is required" >&5 | 4100 echo "configure:4101: checking whether the -xildoff compiler flag is required" >&5 |
| 4091 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4101 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4092 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4102 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4093 then echo "$ac_t""no" 1>&6; | 4103 then echo "$ac_t""no" 1>&6; |
| 4094 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 | 4104 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 |
| 4095 fi | 4105 fi |
| 4096 else echo "$ac_t""no" 1>&6 | 4106 else echo "$ac_t""no" 1>&6 |
| 4097 fi | 4107 fi |
| 4098 | 4108 |
| 4099 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4109 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4100 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4110 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4101 echo "configure:4102: checking for \"-z ignore\" linker flag" >&5 | 4111 echo "configure:4112: checking for \"-z ignore\" linker flag" >&5 |
| 4102 case "`ld -h 2>&1`" in | 4112 case "`ld -h 2>&1`" in |
| 4103 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4113 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4104 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4114 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4105 *) echo "$ac_t""no" 1>&6 ;; | 4115 *) echo "$ac_t""no" 1>&6 ;; |
| 4106 esac | 4116 esac |
| 4107 fi | 4117 fi |
| 4108 | 4118 |
| 4109 | 4119 |
| 4110 echo "checking "for specified window system"" 1>&6 | 4120 echo "checking "for specified window system"" 1>&6 |
| 4111 echo "configure:4112: checking "for specified window system"" >&5 | 4121 echo "configure:4122: checking "for specified window system"" >&5 |
| 4112 | 4122 |
| 4113 if test "$with_x11" != "no"; then | 4123 if test "$with_x11" != "no"; then |
| 4114 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4124 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4115 window_system=x11 with_x11=yes | 4125 window_system=x11 with_x11=yes |
| 4116 | 4126 |
| 4136 # If we find X, set shell vars x_includes and x_libraries to the | 4146 # If we find X, set shell vars x_includes and x_libraries to the |
| 4137 # paths, otherwise set no_x=yes. | 4147 # paths, otherwise set no_x=yes. |
| 4138 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4148 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4139 # --without-x overrides everything else, but does not touch the cache. | 4149 # --without-x overrides everything else, but does not touch the cache. |
| 4140 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4150 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4141 echo "configure:4142: checking for X" >&5 | 4151 echo "configure:4152: checking for X" >&5 |
| 4142 | 4152 |
| 4143 # Check whether --with-x or --without-x was given. | 4153 # Check whether --with-x or --without-x was given. |
| 4144 if test "${with_x+set}" = set; then | 4154 if test "${with_x+set}" = set; then |
| 4145 withval="$with_x" | 4155 withval="$with_x" |
| 4146 : | 4156 : |
| 4196 # Guess where to find include files, by looking for this one X11 .h file. | 4206 # Guess where to find include files, by looking for this one X11 .h file. |
| 4197 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4207 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4198 | 4208 |
| 4199 # First, try using that file with no special directory specified. | 4209 # First, try using that file with no special directory specified. |
| 4200 cat > conftest.$ac_ext <<EOF | 4210 cat > conftest.$ac_ext <<EOF |
| 4201 #line 4202 "configure" | 4211 #line 4212 "configure" |
| 4202 #include "confdefs.h" | 4212 #include "confdefs.h" |
| 4203 #include <$x_direct_test_include> | 4213 #include <$x_direct_test_include> |
| 4204 EOF | 4214 EOF |
| 4205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4206 { (eval echo configure:4207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4216 { (eval echo configure:4217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4207 ac_err=`grep -v '^ *+' conftest.out` | 4217 ac_err=`grep -v '^ *+' conftest.out` |
| 4208 if test -z "$ac_err"; then | 4218 if test -z "$ac_err"; then |
| 4209 rm -rf conftest* | 4219 rm -rf conftest* |
| 4210 # We can compile using X headers with no special include directory. | 4220 # We can compile using X headers with no special include directory. |
| 4211 ac_x_includes= | 4221 ac_x_includes= |
| 4270 # See if we find them without any special options. | 4280 # See if we find them without any special options. |
| 4271 # Don't add to $LIBS permanently. | 4281 # Don't add to $LIBS permanently. |
| 4272 ac_save_LIBS="$LIBS" | 4282 ac_save_LIBS="$LIBS" |
| 4273 LIBS="-l$x_direct_test_library $LIBS" | 4283 LIBS="-l$x_direct_test_library $LIBS" |
| 4274 cat > conftest.$ac_ext <<EOF | 4284 cat > conftest.$ac_ext <<EOF |
| 4275 #line 4276 "configure" | 4285 #line 4286 "configure" |
| 4276 #include "confdefs.h" | 4286 #include "confdefs.h" |
| 4277 | 4287 |
| 4278 int main() { | 4288 int main() { |
| 4279 ${x_direct_test_function}() | 4289 ${x_direct_test_function}() |
| 4280 ; return 0; } | 4290 ; return 0; } |
| 4281 EOF | 4291 EOF |
| 4282 if { (eval echo configure:4283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4292 if { (eval echo configure:4293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4283 rm -rf conftest* | 4293 rm -rf conftest* |
| 4284 LIBS="$ac_save_LIBS" | 4294 LIBS="$ac_save_LIBS" |
| 4285 # We can link X programs with no special library path. | 4295 # We can link X programs with no special library path. |
| 4286 ac_x_libraries= | 4296 ac_x_libraries= |
| 4287 else | 4297 else |
| 4386 # For Solaris; some versions of Sun CC require a space after -R and | 4396 # For Solaris; some versions of Sun CC require a space after -R and |
| 4387 # others require no space. Words are not sufficient . . . . | 4397 # others require no space. Words are not sufficient . . . . |
| 4388 case "`(uname -sr) 2>/dev/null`" in | 4398 case "`(uname -sr) 2>/dev/null`" in |
| 4389 "SunOS 5"*) | 4399 "SunOS 5"*) |
| 4390 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4400 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4391 echo "configure:4392: checking whether -R must be followed by a space" >&5 | 4401 echo "configure:4402: checking whether -R must be followed by a space" >&5 |
| 4392 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4402 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4393 cat > conftest.$ac_ext <<EOF | 4403 cat > conftest.$ac_ext <<EOF |
| 4394 #line 4395 "configure" | 4404 #line 4405 "configure" |
| 4395 #include "confdefs.h" | 4405 #include "confdefs.h" |
| 4396 | 4406 |
| 4397 int main() { | 4407 int main() { |
| 4398 | 4408 |
| 4399 ; return 0; } | 4409 ; return 0; } |
| 4400 EOF | 4410 EOF |
| 4401 if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4411 if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4402 rm -rf conftest* | 4412 rm -rf conftest* |
| 4403 ac_R_nospace=yes | 4413 ac_R_nospace=yes |
| 4404 else | 4414 else |
| 4405 echo "configure: failed program was:" >&5 | 4415 echo "configure: failed program was:" >&5 |
| 4406 cat conftest.$ac_ext >&5 | 4416 cat conftest.$ac_ext >&5 |
| 4412 echo "$ac_t""no" 1>&6 | 4422 echo "$ac_t""no" 1>&6 |
| 4413 X_LIBS="$X_LIBS -R$x_libraries" | 4423 X_LIBS="$X_LIBS -R$x_libraries" |
| 4414 else | 4424 else |
| 4415 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4425 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4416 cat > conftest.$ac_ext <<EOF | 4426 cat > conftest.$ac_ext <<EOF |
| 4417 #line 4418 "configure" | 4427 #line 4428 "configure" |
| 4418 #include "confdefs.h" | 4428 #include "confdefs.h" |
| 4419 | 4429 |
| 4420 int main() { | 4430 int main() { |
| 4421 | 4431 |
| 4422 ; return 0; } | 4432 ; return 0; } |
| 4423 EOF | 4433 EOF |
| 4424 if { (eval echo configure:4425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4434 if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4425 rm -rf conftest* | 4435 rm -rf conftest* |
| 4426 ac_R_space=yes | 4436 ac_R_space=yes |
| 4427 else | 4437 else |
| 4428 echo "configure: failed program was:" >&5 | 4438 echo "configure: failed program was:" >&5 |
| 4429 cat conftest.$ac_ext >&5 | 4439 cat conftest.$ac_ext >&5 |
| 4455 if test "$with_dnet" = "no" ; then | 4465 if test "$with_dnet" = "no" ; then |
| 4456 ac_cv_lib_dnet_dnet_ntoa=no | 4466 ac_cv_lib_dnet_dnet_ntoa=no |
| 4457 else | 4467 else |
| 4458 | 4468 |
| 4459 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4469 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4460 echo "configure:4461: checking for dnet_ntoa in -ldnet" >&5 | 4470 echo "configure:4471: checking for dnet_ntoa in -ldnet" >&5 |
| 4461 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4471 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4462 | 4472 |
| 4463 xe_check_libs=" -ldnet " | 4473 xe_check_libs=" -ldnet " |
| 4464 cat > conftest.$ac_ext <<EOF | 4474 cat > conftest.$ac_ext <<EOF |
| 4465 #line 4466 "configure" | 4475 #line 4476 "configure" |
| 4466 #include "confdefs.h" | 4476 #include "confdefs.h" |
| 4467 /* Override any gcc2 internal prototype to avoid an error. */ | 4477 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4468 /* We use char because int might match the return type of a gcc2 | 4478 /* We use char because int might match the return type of a gcc2 |
| 4469 builtin and then its argument prototype would still apply. */ | 4479 builtin and then its argument prototype would still apply. */ |
| 4470 char dnet_ntoa(); | 4480 char dnet_ntoa(); |
| 4471 | 4481 |
| 4472 int main() { | 4482 int main() { |
| 4473 dnet_ntoa() | 4483 dnet_ntoa() |
| 4474 ; return 0; } | 4484 ; return 0; } |
| 4475 EOF | 4485 EOF |
| 4476 if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4477 rm -rf conftest* | 4487 rm -rf conftest* |
| 4478 eval "ac_cv_lib_$ac_lib_var=yes" | 4488 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4479 else | 4489 else |
| 4480 echo "configure: failed program was:" >&5 | 4490 echo "configure: failed program was:" >&5 |
| 4481 cat conftest.$ac_ext >&5 | 4491 cat conftest.$ac_ext >&5 |
| 4495 fi | 4505 fi |
| 4496 | 4506 |
| 4497 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4507 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4498 | 4508 |
| 4499 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4509 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4500 echo "configure:4501: checking for dnet_ntoa in -ldnet_stub" >&5 | 4510 echo "configure:4511: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4501 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4511 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4502 | 4512 |
| 4503 xe_check_libs=" -ldnet_stub " | 4513 xe_check_libs=" -ldnet_stub " |
| 4504 cat > conftest.$ac_ext <<EOF | 4514 cat > conftest.$ac_ext <<EOF |
| 4505 #line 4506 "configure" | 4515 #line 4516 "configure" |
| 4506 #include "confdefs.h" | 4516 #include "confdefs.h" |
| 4507 /* Override any gcc2 internal prototype to avoid an error. */ | 4517 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4508 /* We use char because int might match the return type of a gcc2 | 4518 /* We use char because int might match the return type of a gcc2 |
| 4509 builtin and then its argument prototype would still apply. */ | 4519 builtin and then its argument prototype would still apply. */ |
| 4510 char dnet_ntoa(); | 4520 char dnet_ntoa(); |
| 4511 | 4521 |
| 4512 int main() { | 4522 int main() { |
| 4513 dnet_ntoa() | 4523 dnet_ntoa() |
| 4514 ; return 0; } | 4524 ; return 0; } |
| 4515 EOF | 4525 EOF |
| 4516 if { (eval echo configure:4517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4526 if { (eval echo configure:4527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4517 rm -rf conftest* | 4527 rm -rf conftest* |
| 4518 eval "ac_cv_lib_$ac_lib_var=yes" | 4528 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4519 else | 4529 else |
| 4520 echo "configure: failed program was:" >&5 | 4530 echo "configure: failed program was:" >&5 |
| 4521 cat conftest.$ac_ext >&5 | 4531 cat conftest.$ac_ext >&5 |
| 4540 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4550 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4541 # needs -lnsl. | 4551 # needs -lnsl. |
| 4542 # The nsl library prevents programs from opening the X display | 4552 # The nsl library prevents programs from opening the X display |
| 4543 # on Irix 5.2, according to dickey@clark.net. | 4553 # on Irix 5.2, according to dickey@clark.net. |
| 4544 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4554 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4545 echo "configure:4546: checking for gethostbyname" >&5 | 4555 echo "configure:4556: checking for gethostbyname" >&5 |
| 4546 | 4556 |
| 4547 cat > conftest.$ac_ext <<EOF | 4557 cat > conftest.$ac_ext <<EOF |
| 4548 #line 4549 "configure" | 4558 #line 4559 "configure" |
| 4549 #include "confdefs.h" | 4559 #include "confdefs.h" |
| 4550 /* System header to define __stub macros and hopefully few prototypes, | 4560 /* System header to define __stub macros and hopefully few prototypes, |
| 4551 which can conflict with char gethostbyname(); below. */ | 4561 which can conflict with char gethostbyname(); below. */ |
| 4552 #include <assert.h> | 4562 #include <assert.h> |
| 4553 /* Override any gcc2 internal prototype to avoid an error. */ | 4563 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4566 gethostbyname(); | 4576 gethostbyname(); |
| 4567 #endif | 4577 #endif |
| 4568 | 4578 |
| 4569 ; return 0; } | 4579 ; return 0; } |
| 4570 EOF | 4580 EOF |
| 4571 if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4581 if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4572 rm -rf conftest* | 4582 rm -rf conftest* |
| 4573 eval "ac_cv_func_gethostbyname=yes" | 4583 eval "ac_cv_func_gethostbyname=yes" |
| 4574 else | 4584 else |
| 4575 echo "configure: failed program was:" >&5 | 4585 echo "configure: failed program was:" >&5 |
| 4576 cat conftest.$ac_ext >&5 | 4586 cat conftest.$ac_ext >&5 |
| 4587 fi | 4597 fi |
| 4588 | 4598 |
| 4589 if test $ac_cv_func_gethostbyname = no; then | 4599 if test $ac_cv_func_gethostbyname = no; then |
| 4590 | 4600 |
| 4591 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4601 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4592 echo "configure:4593: checking for gethostbyname in -lnsl" >&5 | 4602 echo "configure:4603: checking for gethostbyname in -lnsl" >&5 |
| 4593 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4603 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4594 | 4604 |
| 4595 xe_check_libs=" -lnsl " | 4605 xe_check_libs=" -lnsl " |
| 4596 cat > conftest.$ac_ext <<EOF | 4606 cat > conftest.$ac_ext <<EOF |
| 4597 #line 4598 "configure" | 4607 #line 4608 "configure" |
| 4598 #include "confdefs.h" | 4608 #include "confdefs.h" |
| 4599 /* Override any gcc2 internal prototype to avoid an error. */ | 4609 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4600 /* We use char because int might match the return type of a gcc2 | 4610 /* We use char because int might match the return type of a gcc2 |
| 4601 builtin and then its argument prototype would still apply. */ | 4611 builtin and then its argument prototype would still apply. */ |
| 4602 char gethostbyname(); | 4612 char gethostbyname(); |
| 4603 | 4613 |
| 4604 int main() { | 4614 int main() { |
| 4605 gethostbyname() | 4615 gethostbyname() |
| 4606 ; return 0; } | 4616 ; return 0; } |
| 4607 EOF | 4617 EOF |
| 4608 if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4618 if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4609 rm -rf conftest* | 4619 rm -rf conftest* |
| 4610 eval "ac_cv_lib_$ac_lib_var=yes" | 4620 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4611 else | 4621 else |
| 4612 echo "configure: failed program was:" >&5 | 4622 echo "configure: failed program was:" >&5 |
| 4613 cat conftest.$ac_ext >&5 | 4623 cat conftest.$ac_ext >&5 |
| 4633 # on later versions), says simon@lia.di.epfl.ch: it contains | 4643 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4634 # gethostby* variants that don't use the nameserver (or something). | 4644 # gethostby* variants that don't use the nameserver (or something). |
| 4635 # -lsocket must be given before -lnsl if both are needed. | 4645 # -lsocket must be given before -lnsl if both are needed. |
| 4636 # We assume that if connect needs -lnsl, so does gethostbyname. | 4646 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4637 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4647 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4638 echo "configure:4639: checking for connect" >&5 | 4648 echo "configure:4649: checking for connect" >&5 |
| 4639 | 4649 |
| 4640 cat > conftest.$ac_ext <<EOF | 4650 cat > conftest.$ac_ext <<EOF |
| 4641 #line 4642 "configure" | 4651 #line 4652 "configure" |
| 4642 #include "confdefs.h" | 4652 #include "confdefs.h" |
| 4643 /* System header to define __stub macros and hopefully few prototypes, | 4653 /* System header to define __stub macros and hopefully few prototypes, |
| 4644 which can conflict with char connect(); below. */ | 4654 which can conflict with char connect(); below. */ |
| 4645 #include <assert.h> | 4655 #include <assert.h> |
| 4646 /* Override any gcc2 internal prototype to avoid an error. */ | 4656 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4659 connect(); | 4669 connect(); |
| 4660 #endif | 4670 #endif |
| 4661 | 4671 |
| 4662 ; return 0; } | 4672 ; return 0; } |
| 4663 EOF | 4673 EOF |
| 4664 if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4665 rm -rf conftest* | 4675 rm -rf conftest* |
| 4666 eval "ac_cv_func_connect=yes" | 4676 eval "ac_cv_func_connect=yes" |
| 4667 else | 4677 else |
| 4668 echo "configure: failed program was:" >&5 | 4678 echo "configure: failed program was:" >&5 |
| 4669 cat conftest.$ac_ext >&5 | 4679 cat conftest.$ac_ext >&5 |
| 4682 if test $ac_cv_func_connect = no; then | 4692 if test $ac_cv_func_connect = no; then |
| 4683 | 4693 |
| 4684 xe_msg_checking="for connect in -lsocket" | 4694 xe_msg_checking="for connect in -lsocket" |
| 4685 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4695 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4686 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4696 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4687 echo "configure:4688: checking "$xe_msg_checking"" >&5 | 4697 echo "configure:4698: checking "$xe_msg_checking"" >&5 |
| 4688 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4698 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4689 | 4699 |
| 4690 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4700 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4691 cat > conftest.$ac_ext <<EOF | 4701 cat > conftest.$ac_ext <<EOF |
| 4692 #line 4693 "configure" | 4702 #line 4703 "configure" |
| 4693 #include "confdefs.h" | 4703 #include "confdefs.h" |
| 4694 /* Override any gcc2 internal prototype to avoid an error. */ | 4704 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4695 /* We use char because int might match the return type of a gcc2 | 4705 /* We use char because int might match the return type of a gcc2 |
| 4696 builtin and then its argument prototype would still apply. */ | 4706 builtin and then its argument prototype would still apply. */ |
| 4697 char connect(); | 4707 char connect(); |
| 4698 | 4708 |
| 4699 int main() { | 4709 int main() { |
| 4700 connect() | 4710 connect() |
| 4701 ; return 0; } | 4711 ; return 0; } |
| 4702 EOF | 4712 EOF |
| 4703 if { (eval echo configure:4704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4713 if { (eval echo configure:4714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4704 rm -rf conftest* | 4714 rm -rf conftest* |
| 4705 eval "ac_cv_lib_$ac_lib_var=yes" | 4715 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4706 else | 4716 else |
| 4707 echo "configure: failed program was:" >&5 | 4717 echo "configure: failed program was:" >&5 |
| 4708 cat conftest.$ac_ext >&5 | 4718 cat conftest.$ac_ext >&5 |
| 4722 | 4732 |
| 4723 fi | 4733 fi |
| 4724 | 4734 |
| 4725 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4735 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4726 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4736 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4727 echo "configure:4728: checking for remove" >&5 | 4737 echo "configure:4738: checking for remove" >&5 |
| 4728 | 4738 |
| 4729 cat > conftest.$ac_ext <<EOF | 4739 cat > conftest.$ac_ext <<EOF |
| 4730 #line 4731 "configure" | 4740 #line 4741 "configure" |
| 4731 #include "confdefs.h" | 4741 #include "confdefs.h" |
| 4732 /* System header to define __stub macros and hopefully few prototypes, | 4742 /* System header to define __stub macros and hopefully few prototypes, |
| 4733 which can conflict with char remove(); below. */ | 4743 which can conflict with char remove(); below. */ |
| 4734 #include <assert.h> | 4744 #include <assert.h> |
| 4735 /* Override any gcc2 internal prototype to avoid an error. */ | 4745 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4748 remove(); | 4758 remove(); |
| 4749 #endif | 4759 #endif |
| 4750 | 4760 |
| 4751 ; return 0; } | 4761 ; return 0; } |
| 4752 EOF | 4762 EOF |
| 4753 if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4763 if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4754 rm -rf conftest* | 4764 rm -rf conftest* |
| 4755 eval "ac_cv_func_remove=yes" | 4765 eval "ac_cv_func_remove=yes" |
| 4756 else | 4766 else |
| 4757 echo "configure: failed program was:" >&5 | 4767 echo "configure: failed program was:" >&5 |
| 4758 cat conftest.$ac_ext >&5 | 4768 cat conftest.$ac_ext >&5 |
| 4769 fi | 4779 fi |
| 4770 | 4780 |
| 4771 if test $ac_cv_func_remove = no; then | 4781 if test $ac_cv_func_remove = no; then |
| 4772 | 4782 |
| 4773 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4783 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4774 echo "configure:4775: checking for remove in -lposix" >&5 | 4784 echo "configure:4785: checking for remove in -lposix" >&5 |
| 4775 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4785 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4776 | 4786 |
| 4777 xe_check_libs=" -lposix " | 4787 xe_check_libs=" -lposix " |
| 4778 cat > conftest.$ac_ext <<EOF | 4788 cat > conftest.$ac_ext <<EOF |
| 4779 #line 4780 "configure" | 4789 #line 4790 "configure" |
| 4780 #include "confdefs.h" | 4790 #include "confdefs.h" |
| 4781 /* Override any gcc2 internal prototype to avoid an error. */ | 4791 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4782 /* We use char because int might match the return type of a gcc2 | 4792 /* We use char because int might match the return type of a gcc2 |
| 4783 builtin and then its argument prototype would still apply. */ | 4793 builtin and then its argument prototype would still apply. */ |
| 4784 char remove(); | 4794 char remove(); |
| 4785 | 4795 |
| 4786 int main() { | 4796 int main() { |
| 4787 remove() | 4797 remove() |
| 4788 ; return 0; } | 4798 ; return 0; } |
| 4789 EOF | 4799 EOF |
| 4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4800 if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4791 rm -rf conftest* | 4801 rm -rf conftest* |
| 4792 eval "ac_cv_lib_$ac_lib_var=yes" | 4802 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4793 else | 4803 else |
| 4794 echo "configure: failed program was:" >&5 | 4804 echo "configure: failed program was:" >&5 |
| 4795 cat conftest.$ac_ext >&5 | 4805 cat conftest.$ac_ext >&5 |
| 4809 | 4819 |
| 4810 fi | 4820 fi |
| 4811 | 4821 |
| 4812 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4822 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4813 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4823 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4814 echo "configure:4815: checking for shmat" >&5 | 4824 echo "configure:4825: checking for shmat" >&5 |
| 4815 | 4825 |
| 4816 cat > conftest.$ac_ext <<EOF | 4826 cat > conftest.$ac_ext <<EOF |
| 4817 #line 4818 "configure" | 4827 #line 4828 "configure" |
| 4818 #include "confdefs.h" | 4828 #include "confdefs.h" |
| 4819 /* System header to define __stub macros and hopefully few prototypes, | 4829 /* System header to define __stub macros and hopefully few prototypes, |
| 4820 which can conflict with char shmat(); below. */ | 4830 which can conflict with char shmat(); below. */ |
| 4821 #include <assert.h> | 4831 #include <assert.h> |
| 4822 /* Override any gcc2 internal prototype to avoid an error. */ | 4832 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4835 shmat(); | 4845 shmat(); |
| 4836 #endif | 4846 #endif |
| 4837 | 4847 |
| 4838 ; return 0; } | 4848 ; return 0; } |
| 4839 EOF | 4849 EOF |
| 4840 if { (eval echo configure:4841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4841 rm -rf conftest* | 4851 rm -rf conftest* |
| 4842 eval "ac_cv_func_shmat=yes" | 4852 eval "ac_cv_func_shmat=yes" |
| 4843 else | 4853 else |
| 4844 echo "configure: failed program was:" >&5 | 4854 echo "configure: failed program was:" >&5 |
| 4845 cat conftest.$ac_ext >&5 | 4855 cat conftest.$ac_ext >&5 |
| 4856 fi | 4866 fi |
| 4857 | 4867 |
| 4858 if test $ac_cv_func_shmat = no; then | 4868 if test $ac_cv_func_shmat = no; then |
| 4859 | 4869 |
| 4860 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4870 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4861 echo "configure:4862: checking for shmat in -lipc" >&5 | 4871 echo "configure:4872: checking for shmat in -lipc" >&5 |
| 4862 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4872 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4863 | 4873 |
| 4864 xe_check_libs=" -lipc " | 4874 xe_check_libs=" -lipc " |
| 4865 cat > conftest.$ac_ext <<EOF | 4875 cat > conftest.$ac_ext <<EOF |
| 4866 #line 4867 "configure" | 4876 #line 4877 "configure" |
| 4867 #include "confdefs.h" | 4877 #include "confdefs.h" |
| 4868 /* Override any gcc2 internal prototype to avoid an error. */ | 4878 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4869 /* We use char because int might match the return type of a gcc2 | 4879 /* We use char because int might match the return type of a gcc2 |
| 4870 builtin and then its argument prototype would still apply. */ | 4880 builtin and then its argument prototype would still apply. */ |
| 4871 char shmat(); | 4881 char shmat(); |
| 4872 | 4882 |
| 4873 int main() { | 4883 int main() { |
| 4874 shmat() | 4884 shmat() |
| 4875 ; return 0; } | 4885 ; return 0; } |
| 4876 EOF | 4886 EOF |
| 4877 if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4887 if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4878 rm -rf conftest* | 4888 rm -rf conftest* |
| 4879 eval "ac_cv_lib_$ac_lib_var=yes" | 4889 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4880 else | 4890 else |
| 4881 echo "configure: failed program was:" >&5 | 4891 echo "configure: failed program was:" >&5 |
| 4882 cat conftest.$ac_ext >&5 | 4892 cat conftest.$ac_ext >&5 |
| 4906 # These have to be linked with before -lX11, unlike the other | 4916 # These have to be linked with before -lX11, unlike the other |
| 4907 # libraries we check for below, so use a different variable. | 4917 # libraries we check for below, so use a different variable. |
| 4908 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4918 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4909 | 4919 |
| 4910 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4920 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4911 echo "configure:4912: checking for IceConnectionNumber in -lICE" >&5 | 4921 echo "configure:4922: checking for IceConnectionNumber in -lICE" >&5 |
| 4912 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4922 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4913 | 4923 |
| 4914 xe_check_libs=" -lICE " | 4924 xe_check_libs=" -lICE " |
| 4915 cat > conftest.$ac_ext <<EOF | 4925 cat > conftest.$ac_ext <<EOF |
| 4916 #line 4917 "configure" | 4926 #line 4927 "configure" |
| 4917 #include "confdefs.h" | 4927 #include "confdefs.h" |
| 4918 /* Override any gcc2 internal prototype to avoid an error. */ | 4928 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4919 /* We use char because int might match the return type of a gcc2 | 4929 /* We use char because int might match the return type of a gcc2 |
| 4920 builtin and then its argument prototype would still apply. */ | 4930 builtin and then its argument prototype would still apply. */ |
| 4921 char IceConnectionNumber(); | 4931 char IceConnectionNumber(); |
| 4922 | 4932 |
| 4923 int main() { | 4933 int main() { |
| 4924 IceConnectionNumber() | 4934 IceConnectionNumber() |
| 4925 ; return 0; } | 4935 ; return 0; } |
| 4926 EOF | 4936 EOF |
| 4927 if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4937 if { (eval echo configure:4938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4928 rm -rf conftest* | 4938 rm -rf conftest* |
| 4929 eval "ac_cv_lib_$ac_lib_var=yes" | 4939 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4930 else | 4940 else |
| 4931 echo "configure: failed program was:" >&5 | 4941 echo "configure: failed program was:" >&5 |
| 4932 cat conftest.$ac_ext >&5 | 4942 cat conftest.$ac_ext >&5 |
| 5055 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 5065 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 5056 echo | 5066 echo |
| 5057 fi | 5067 fi |
| 5058 | 5068 |
| 5059 echo "checking for X defines extracted by xmkmf" 1>&6 | 5069 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5060 echo "configure:5061: checking for X defines extracted by xmkmf" >&5 | 5070 echo "configure:5071: checking for X defines extracted by xmkmf" >&5 |
| 5061 rm -fr conftestdir | 5071 rm -fr conftestdir |
| 5062 if mkdir conftestdir; then | 5072 if mkdir conftestdir; then |
| 5063 cd conftestdir | 5073 cd conftestdir |
| 5064 cat > Imakefile <<'EOF' | 5074 cat > Imakefile <<'EOF' |
| 5065 xetest: | 5075 xetest: |
| 5087 done | 5097 done |
| 5088 fi | 5098 fi |
| 5089 | 5099 |
| 5090 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5100 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5091 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5101 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5092 echo "configure:5093: checking for X11/Intrinsic.h" >&5 | 5102 echo "configure:5103: checking for X11/Intrinsic.h" >&5 |
| 5093 | 5103 |
| 5094 cat > conftest.$ac_ext <<EOF | 5104 cat > conftest.$ac_ext <<EOF |
| 5095 #line 5096 "configure" | 5105 #line 5106 "configure" |
| 5096 #include "confdefs.h" | 5106 #include "confdefs.h" |
| 5097 #include <X11/Intrinsic.h> | 5107 #include <X11/Intrinsic.h> |
| 5098 EOF | 5108 EOF |
| 5099 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5100 { (eval echo configure:5101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5110 { (eval echo configure:5111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5101 ac_err=`grep -v '^ *+' conftest.out` | 5111 ac_err=`grep -v '^ *+' conftest.out` |
| 5102 if test -z "$ac_err"; then | 5112 if test -z "$ac_err"; then |
| 5103 rm -rf conftest* | 5113 rm -rf conftest* |
| 5104 eval "ac_cv_header_$ac_safe=yes" | 5114 eval "ac_cv_header_$ac_safe=yes" |
| 5105 else | 5115 else |
| 5119 fi | 5129 fi |
| 5120 | 5130 |
| 5121 | 5131 |
| 5122 | 5132 |
| 5123 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5133 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5124 echo "configure:5125: checking for XOpenDisplay in -lX11" >&5 | 5134 echo "configure:5135: checking for XOpenDisplay in -lX11" >&5 |
| 5125 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5135 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5126 | 5136 |
| 5127 xe_check_libs=" -lX11 " | 5137 xe_check_libs=" -lX11 " |
| 5128 cat > conftest.$ac_ext <<EOF | 5138 cat > conftest.$ac_ext <<EOF |
| 5129 #line 5130 "configure" | 5139 #line 5140 "configure" |
| 5130 #include "confdefs.h" | 5140 #include "confdefs.h" |
| 5131 /* Override any gcc2 internal prototype to avoid an error. */ | 5141 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5132 /* We use char because int might match the return type of a gcc2 | 5142 /* We use char because int might match the return type of a gcc2 |
| 5133 builtin and then its argument prototype would still apply. */ | 5143 builtin and then its argument prototype would still apply. */ |
| 5134 char XOpenDisplay(); | 5144 char XOpenDisplay(); |
| 5135 | 5145 |
| 5136 int main() { | 5146 int main() { |
| 5137 XOpenDisplay() | 5147 XOpenDisplay() |
| 5138 ; return 0; } | 5148 ; return 0; } |
| 5139 EOF | 5149 EOF |
| 5140 if { (eval echo configure:5141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5150 if { (eval echo configure:5151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5141 rm -rf conftest* | 5151 rm -rf conftest* |
| 5142 eval "ac_cv_lib_$ac_lib_var=yes" | 5152 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5143 else | 5153 else |
| 5144 echo "configure: failed program was:" >&5 | 5154 echo "configure: failed program was:" >&5 |
| 5145 cat conftest.$ac_ext >&5 | 5155 cat conftest.$ac_ext >&5 |
| 5160 if test "$have_lib_x11" != "yes"; then | 5170 if test "$have_lib_x11" != "yes"; then |
| 5161 | 5171 |
| 5162 xe_msg_checking="for XGetFontProperty in -lX11" | 5172 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5163 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5173 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5164 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5174 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5165 echo "configure:5166: checking "$xe_msg_checking"" >&5 | 5175 echo "configure:5176: checking "$xe_msg_checking"" >&5 |
| 5166 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5176 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5167 | 5177 |
| 5168 xe_check_libs=" -lX11 -b i486-linuxaout" | 5178 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5169 cat > conftest.$ac_ext <<EOF | 5179 cat > conftest.$ac_ext <<EOF |
| 5170 #line 5171 "configure" | 5180 #line 5181 "configure" |
| 5171 #include "confdefs.h" | 5181 #include "confdefs.h" |
| 5172 /* Override any gcc2 internal prototype to avoid an error. */ | 5182 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5173 /* We use char because int might match the return type of a gcc2 | 5183 /* We use char because int might match the return type of a gcc2 |
| 5174 builtin and then its argument prototype would still apply. */ | 5184 builtin and then its argument prototype would still apply. */ |
| 5175 char XGetFontProperty(); | 5185 char XGetFontProperty(); |
| 5176 | 5186 |
| 5177 int main() { | 5187 int main() { |
| 5178 XGetFontProperty() | 5188 XGetFontProperty() |
| 5179 ; return 0; } | 5189 ; return 0; } |
| 5180 EOF | 5190 EOF |
| 5181 if { (eval echo configure:5182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5191 if { (eval echo configure:5192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5182 rm -rf conftest* | 5192 rm -rf conftest* |
| 5183 eval "ac_cv_lib_$ac_lib_var=yes" | 5193 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5184 else | 5194 else |
| 5185 echo "configure: failed program was:" >&5 | 5195 echo "configure: failed program was:" >&5 |
| 5186 cat conftest.$ac_ext >&5 | 5196 cat conftest.$ac_ext >&5 |
| 5203 libs_x="-lX11" | 5213 libs_x="-lX11" |
| 5204 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5214 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5205 | 5215 |
| 5206 | 5216 |
| 5207 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5217 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5208 echo "configure:5209: checking for XShapeSelectInput in -lXext" >&5 | 5218 echo "configure:5219: checking for XShapeSelectInput in -lXext" >&5 |
| 5209 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5219 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5210 | 5220 |
| 5211 xe_check_libs=" -lXext " | 5221 xe_check_libs=" -lXext " |
| 5212 cat > conftest.$ac_ext <<EOF | 5222 cat > conftest.$ac_ext <<EOF |
| 5213 #line 5214 "configure" | 5223 #line 5224 "configure" |
| 5214 #include "confdefs.h" | 5224 #include "confdefs.h" |
| 5215 /* Override any gcc2 internal prototype to avoid an error. */ | 5225 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5216 /* We use char because int might match the return type of a gcc2 | 5226 /* We use char because int might match the return type of a gcc2 |
| 5217 builtin and then its argument prototype would still apply. */ | 5227 builtin and then its argument prototype would still apply. */ |
| 5218 char XShapeSelectInput(); | 5228 char XShapeSelectInput(); |
| 5219 | 5229 |
| 5220 int main() { | 5230 int main() { |
| 5221 XShapeSelectInput() | 5231 XShapeSelectInput() |
| 5222 ; return 0; } | 5232 ; return 0; } |
| 5223 EOF | 5233 EOF |
| 5224 if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5234 if { (eval echo configure:5235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5225 rm -rf conftest* | 5235 rm -rf conftest* |
| 5226 eval "ac_cv_lib_$ac_lib_var=yes" | 5236 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5227 else | 5237 else |
| 5228 echo "configure: failed program was:" >&5 | 5238 echo "configure: failed program was:" >&5 |
| 5229 cat conftest.$ac_ext >&5 | 5239 cat conftest.$ac_ext >&5 |
| 5242 | 5252 |
| 5243 | 5253 |
| 5244 | 5254 |
| 5245 | 5255 |
| 5246 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5256 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5247 echo "configure:5248: checking for XtOpenDisplay in -lXt" >&5 | 5257 echo "configure:5258: checking for XtOpenDisplay in -lXt" >&5 |
| 5248 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5258 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5249 | 5259 |
| 5250 xe_check_libs=" -lXt " | 5260 xe_check_libs=" -lXt " |
| 5251 cat > conftest.$ac_ext <<EOF | 5261 cat > conftest.$ac_ext <<EOF |
| 5252 #line 5253 "configure" | 5262 #line 5263 "configure" |
| 5253 #include "confdefs.h" | 5263 #include "confdefs.h" |
| 5254 /* Override any gcc2 internal prototype to avoid an error. */ | 5264 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5255 /* We use char because int might match the return type of a gcc2 | 5265 /* We use char because int might match the return type of a gcc2 |
| 5256 builtin and then its argument prototype would still apply. */ | 5266 builtin and then its argument prototype would still apply. */ |
| 5257 char XtOpenDisplay(); | 5267 char XtOpenDisplay(); |
| 5258 | 5268 |
| 5259 int main() { | 5269 int main() { |
| 5260 XtOpenDisplay() | 5270 XtOpenDisplay() |
| 5261 ; return 0; } | 5271 ; return 0; } |
| 5262 EOF | 5272 EOF |
| 5263 if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5273 if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5264 rm -rf conftest* | 5274 rm -rf conftest* |
| 5265 eval "ac_cv_lib_$ac_lib_var=yes" | 5275 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5266 else | 5276 else |
| 5267 echo "configure: failed program was:" >&5 | 5277 echo "configure: failed program was:" >&5 |
| 5268 cat conftest.$ac_ext >&5 | 5278 cat conftest.$ac_ext >&5 |
| 5281 fi | 5291 fi |
| 5282 | 5292 |
| 5283 | 5293 |
| 5284 | 5294 |
| 5285 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5295 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5286 echo "configure:5287: checking the version of X11 being used" >&5 | 5296 echo "configure:5297: checking the version of X11 being used" >&5 |
| 5287 cat > conftest.$ac_ext <<EOF | 5297 cat > conftest.$ac_ext <<EOF |
| 5288 #line 5289 "configure" | 5298 #line 5299 "configure" |
| 5289 #include "confdefs.h" | 5299 #include "confdefs.h" |
| 5290 #include <X11/Intrinsic.h> | 5300 #include <X11/Intrinsic.h> |
| 5291 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5301 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5292 EOF | 5302 EOF |
| 5293 if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5303 if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5294 then | 5304 then |
| 5295 ./conftest foobar; x11_release=$? | 5305 ./conftest foobar; x11_release=$? |
| 5296 else | 5306 else |
| 5297 echo "configure: failed program was:" >&5 | 5307 echo "configure: failed program was:" >&5 |
| 5298 cat conftest.$ac_ext >&5 | 5308 cat conftest.$ac_ext >&5 |
| 5312 | 5322 |
| 5313 for ac_hdr in X11/Xlocale.h | 5323 for ac_hdr in X11/Xlocale.h |
| 5314 do | 5324 do |
| 5315 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5325 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5316 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5326 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5317 echo "configure:5318: checking for $ac_hdr" >&5 | 5327 echo "configure:5328: checking for $ac_hdr" >&5 |
| 5318 | 5328 |
| 5319 cat > conftest.$ac_ext <<EOF | 5329 cat > conftest.$ac_ext <<EOF |
| 5320 #line 5321 "configure" | 5330 #line 5331 "configure" |
| 5321 #include "confdefs.h" | 5331 #include "confdefs.h" |
| 5322 #include <$ac_hdr> | 5332 #include <$ac_hdr> |
| 5323 EOF | 5333 EOF |
| 5324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5325 { (eval echo configure:5326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5335 { (eval echo configure:5336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5326 ac_err=`grep -v '^ *+' conftest.out` | 5336 ac_err=`grep -v '^ *+' conftest.out` |
| 5327 if test -z "$ac_err"; then | 5337 if test -z "$ac_err"; then |
| 5328 rm -rf conftest* | 5338 rm -rf conftest* |
| 5329 eval "ac_cv_header_$ac_safe=yes" | 5339 eval "ac_cv_header_$ac_safe=yes" |
| 5330 else | 5340 else |
| 5351 fi | 5361 fi |
| 5352 done | 5362 done |
| 5353 | 5363 |
| 5354 | 5364 |
| 5355 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5365 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5356 echo "configure:5357: checking for XFree86" >&5 | 5366 echo "configure:5367: checking for XFree86" >&5 |
| 5357 if test -d "/usr/X386/include" -o \ | 5367 if test -d "/usr/X386/include" -o \ |
| 5358 -f "/etc/XF86Config" -o \ | 5368 -f "/etc/XF86Config" -o \ |
| 5359 -f "/etc/X11/XF86Config" -o \ | 5369 -f "/etc/X11/XF86Config" -o \ |
| 5360 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5370 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5361 echo "$ac_t""yes" 1>&6 | 5371 echo "$ac_t""yes" 1>&6 |
| 5371 echo "$ac_t""no" 1>&6 | 5381 echo "$ac_t""no" 1>&6 |
| 5372 fi | 5382 fi |
| 5373 | 5383 |
| 5374 test -z "$with_xmu" && { | 5384 test -z "$with_xmu" && { |
| 5375 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5385 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5376 echo "configure:5377: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5386 echo "configure:5387: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5377 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5387 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5378 | 5388 |
| 5379 xe_check_libs=" -lXmu " | 5389 xe_check_libs=" -lXmu " |
| 5380 cat > conftest.$ac_ext <<EOF | 5390 cat > conftest.$ac_ext <<EOF |
| 5381 #line 5382 "configure" | 5391 #line 5392 "configure" |
| 5382 #include "confdefs.h" | 5392 #include "confdefs.h" |
| 5383 /* Override any gcc2 internal prototype to avoid an error. */ | 5393 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5384 /* We use char because int might match the return type of a gcc2 | 5394 /* We use char because int might match the return type of a gcc2 |
| 5385 builtin and then its argument prototype would still apply. */ | 5395 builtin and then its argument prototype would still apply. */ |
| 5386 char XmuReadBitmapDataFromFile(); | 5396 char XmuReadBitmapDataFromFile(); |
| 5387 | 5397 |
| 5388 int main() { | 5398 int main() { |
| 5389 XmuReadBitmapDataFromFile() | 5399 XmuReadBitmapDataFromFile() |
| 5390 ; return 0; } | 5400 ; return 0; } |
| 5391 EOF | 5401 EOF |
| 5392 if { (eval echo configure:5393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5402 if { (eval echo configure:5403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5393 rm -rf conftest* | 5403 rm -rf conftest* |
| 5394 eval "ac_cv_lib_$ac_lib_var=yes" | 5404 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5395 else | 5405 else |
| 5396 echo "configure: failed program was:" >&5 | 5406 echo "configure: failed program was:" >&5 |
| 5397 cat conftest.$ac_ext >&5 | 5407 cat conftest.$ac_ext >&5 |
| 5426 | 5436 |
| 5427 fi | 5437 fi |
| 5428 | 5438 |
| 5429 | 5439 |
| 5430 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5440 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5431 echo "configure:5432: checking for main in -lXbsd" >&5 | 5441 echo "configure:5442: checking for main in -lXbsd" >&5 |
| 5432 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5442 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5433 | 5443 |
| 5434 xe_check_libs=" -lXbsd " | 5444 xe_check_libs=" -lXbsd " |
| 5435 cat > conftest.$ac_ext <<EOF | 5445 cat > conftest.$ac_ext <<EOF |
| 5436 #line 5437 "configure" | 5446 #line 5447 "configure" |
| 5437 #include "confdefs.h" | 5447 #include "confdefs.h" |
| 5438 | 5448 |
| 5439 int main() { | 5449 int main() { |
| 5440 main() | 5450 main() |
| 5441 ; return 0; } | 5451 ; return 0; } |
| 5442 EOF | 5452 EOF |
| 5443 if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5453 if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5444 rm -rf conftest* | 5454 rm -rf conftest* |
| 5445 eval "ac_cv_lib_$ac_lib_var=yes" | 5455 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5446 else | 5456 else |
| 5447 echo "configure: failed program was:" >&5 | 5457 echo "configure: failed program was:" >&5 |
| 5448 cat conftest.$ac_ext >&5 | 5458 cat conftest.$ac_ext >&5 |
| 5468 if test "$with_tty" = "no" ; then | 5478 if test "$with_tty" = "no" ; then |
| 5469 { echo "configure: error: No window system support and no TTY support - Unable to proceed." 1>&2; exit 1; } | 5479 { echo "configure: error: No window system support and no TTY support - Unable to proceed." 1>&2; exit 1; } |
| 5470 fi | 5480 fi |
| 5471 for feature in tooltalk cde offix session \ | 5481 for feature in tooltalk cde offix session \ |
| 5472 menubars scrollbars toolbars dialogs xim xmu \ | 5482 menubars scrollbars toolbars dialogs xim xmu \ |
| 5473 tiff png jpeg gif xface xpm | 5483 imagick xface xpm |
| 5474 do | 5484 do |
| 5475 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 5485 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
| 5476 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 | 5486 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 |
| 5477 fi | 5487 fi |
| 5478 eval "with_${feature}=no" | 5488 eval "with_${feature}=no" |
| 5492 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5502 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5493 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5503 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5494 esac | 5504 esac |
| 5495 | 5505 |
| 5496 echo "checking for session-management option" 1>&6 | 5506 echo "checking for session-management option" 1>&6 |
| 5497 echo "configure:5498: checking for session-management option" >&5; | 5507 echo "configure:5508: checking for session-management option" >&5; |
| 5498 if test "$with_session" != "no"; then | 5508 if test "$with_session" != "no"; then |
| 5499 { test "$extra_verbose" = "yes" && cat << \EOF | 5509 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5500 Defining HAVE_SESSION | 5510 Defining HAVE_SESSION |
| 5501 EOF | 5511 EOF |
| 5502 cat >> confdefs.h <<\EOF | 5512 cat >> confdefs.h <<\EOF |
| 5507 fi | 5517 fi |
| 5508 | 5518 |
| 5509 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5519 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5510 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5520 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5511 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5521 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5512 echo "configure:5513: checking for X11/Xauth.h" >&5 | 5522 echo "configure:5523: checking for X11/Xauth.h" >&5 |
| 5513 | 5523 |
| 5514 cat > conftest.$ac_ext <<EOF | 5524 cat > conftest.$ac_ext <<EOF |
| 5515 #line 5516 "configure" | 5525 #line 5526 "configure" |
| 5516 #include "confdefs.h" | 5526 #include "confdefs.h" |
| 5517 #include <X11/Xauth.h> | 5527 #include <X11/Xauth.h> |
| 5518 EOF | 5528 EOF |
| 5519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5520 { (eval echo configure:5521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5530 { (eval echo configure:5531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5521 ac_err=`grep -v '^ *+' conftest.out` | 5531 ac_err=`grep -v '^ *+' conftest.out` |
| 5522 if test -z "$ac_err"; then | 5532 if test -z "$ac_err"; then |
| 5523 rm -rf conftest* | 5533 rm -rf conftest* |
| 5524 eval "ac_cv_header_$ac_safe=yes" | 5534 eval "ac_cv_header_$ac_safe=yes" |
| 5525 else | 5535 else |
| 5538 with_xauth=no | 5548 with_xauth=no |
| 5539 fi | 5549 fi |
| 5540 } | 5550 } |
| 5541 test -z "$with_xauth" && { | 5551 test -z "$with_xauth" && { |
| 5542 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5552 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5543 echo "configure:5544: checking for XauGetAuthByAddr in -lXau" >&5 | 5553 echo "configure:5554: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5544 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5554 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5545 | 5555 |
| 5546 xe_check_libs=" -lXau " | 5556 xe_check_libs=" -lXau " |
| 5547 cat > conftest.$ac_ext <<EOF | 5557 cat > conftest.$ac_ext <<EOF |
| 5548 #line 5549 "configure" | 5558 #line 5559 "configure" |
| 5549 #include "confdefs.h" | 5559 #include "confdefs.h" |
| 5550 /* Override any gcc2 internal prototype to avoid an error. */ | 5560 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5551 /* We use char because int might match the return type of a gcc2 | 5561 /* We use char because int might match the return type of a gcc2 |
| 5552 builtin and then its argument prototype would still apply. */ | 5562 builtin and then its argument prototype would still apply. */ |
| 5553 char XauGetAuthByAddr(); | 5563 char XauGetAuthByAddr(); |
| 5554 | 5564 |
| 5555 int main() { | 5565 int main() { |
| 5556 XauGetAuthByAddr() | 5566 XauGetAuthByAddr() |
| 5557 ; return 0; } | 5567 ; return 0; } |
| 5558 EOF | 5568 EOF |
| 5559 if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5569 if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5560 rm -rf conftest* | 5570 rm -rf conftest* |
| 5561 eval "ac_cv_lib_$ac_lib_var=yes" | 5571 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5562 else | 5572 else |
| 5563 echo "configure: failed program was:" >&5 | 5573 echo "configure: failed program was:" >&5 |
| 5564 cat conftest.$ac_ext >&5 | 5574 cat conftest.$ac_ext >&5 |
| 5594 | 5604 |
| 5595 fi | 5605 fi |
| 5596 | 5606 |
| 5597 | 5607 |
| 5598 OFFIX_O="" | 5608 OFFIX_O="" |
| 5599 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 5609 test "$window_system" != "x11" && with_offix=no |
| 5600 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | |
| 5601 echo "configure:5602: checking for OffiX/DragAndDrop.h" >&5 | |
| 5602 | |
| 5603 cat > conftest.$ac_ext <<EOF | |
| 5604 #line 5605 "configure" | |
| 5605 #include "confdefs.h" | |
| 5606 #include <OffiX/DragAndDrop.h> | |
| 5607 EOF | |
| 5608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 5609 { (eval echo configure:5610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 5610 ac_err=`grep -v '^ *+' conftest.out` | |
| 5611 if test -z "$ac_err"; then | |
| 5612 rm -rf conftest* | |
| 5613 eval "ac_cv_header_$ac_safe=yes" | |
| 5614 else | |
| 5615 echo "$ac_err" >&5 | |
| 5616 echo "configure: failed program was:" >&5 | |
| 5617 cat conftest.$ac_ext >&5 | |
| 5618 rm -rf conftest* | |
| 5619 eval "ac_cv_header_$ac_safe=no" | |
| 5620 fi | |
| 5621 rm -f conftest* | |
| 5622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 5623 echo "$ac_t""yes" 1>&6 | |
| 5624 : | |
| 5625 else | |
| 5626 echo "$ac_t""no" 1>&6 | |
| 5627 with_offix=no | |
| 5628 fi | |
| 5629 } | |
| 5630 test -z "$with_offix" && { | |
| 5631 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | |
| 5632 echo "configure:5633: checking for DndInitialize in -lDnd" >&5 | |
| 5633 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | |
| 5634 | |
| 5635 xe_check_libs=" -lDnd " | |
| 5636 cat > conftest.$ac_ext <<EOF | |
| 5637 #line 5638 "configure" | |
| 5638 #include "confdefs.h" | |
| 5639 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 5640 /* We use char because int might match the return type of a gcc2 | |
| 5641 builtin and then its argument prototype would still apply. */ | |
| 5642 char DndInitialize(); | |
| 5643 | |
| 5644 int main() { | |
| 5645 DndInitialize() | |
| 5646 ; return 0; } | |
| 5647 EOF | |
| 5648 if { (eval echo configure:5649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 5649 rm -rf conftest* | |
| 5650 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 5651 else | |
| 5652 echo "configure: failed program was:" >&5 | |
| 5653 cat conftest.$ac_ext >&5 | |
| 5654 rm -rf conftest* | |
| 5655 eval "ac_cv_lib_$ac_lib_var=no" | |
| 5656 fi | |
| 5657 rm -f conftest* | |
| 5658 xe_check_libs="" | |
| 5659 | |
| 5660 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 5661 echo "$ac_t""yes" 1>&6 | |
| 5662 : | |
| 5663 else | |
| 5664 echo "$ac_t""no" 1>&6 | |
| 5665 with_offix=no | |
| 5666 fi | |
| 5667 | |
| 5668 } | |
| 5669 test -z "$with_offix" && with_offix=yes | 5610 test -z "$with_offix" && with_offix=yes |
| 5670 if test "$with_offix" = "yes"; then | 5611 if test "$with_offix" = "yes"; then |
| 5671 { test "$extra_verbose" = "yes" && cat << \EOF | 5612 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5672 Defining HAVE_OFFIX_DND | 5613 Defining HAVE_OFFIX_DND |
| 5673 EOF | 5614 EOF |
| 5683 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5624 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5684 if test "$with_tooltalk" != "no" ; then | 5625 if test "$with_tooltalk" != "no" ; then |
| 5685 for dir in "" "Tt/" "desktop/" ; do | 5626 for dir in "" "Tt/" "desktop/" ; do |
| 5686 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5627 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5687 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5628 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5688 echo "configure:5689: checking for ${dir}tt_c.h" >&5 | 5629 echo "configure:5630: checking for ${dir}tt_c.h" >&5 |
| 5689 | 5630 |
| 5690 cat > conftest.$ac_ext <<EOF | 5631 cat > conftest.$ac_ext <<EOF |
| 5691 #line 5692 "configure" | 5632 #line 5633 "configure" |
| 5692 #include "confdefs.h" | 5633 #include "confdefs.h" |
| 5693 #include <${dir}tt_c.h> | 5634 #include <${dir}tt_c.h> |
| 5694 EOF | 5635 EOF |
| 5695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5696 { (eval echo configure:5697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5637 { (eval echo configure:5638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5697 ac_err=`grep -v '^ *+' conftest.out` | 5638 ac_err=`grep -v '^ *+' conftest.out` |
| 5698 if test -z "$ac_err"; then | 5639 if test -z "$ac_err"; then |
| 5699 rm -rf conftest* | 5640 rm -rf conftest* |
| 5700 eval "ac_cv_header_$ac_safe=yes" | 5641 eval "ac_cv_header_$ac_safe=yes" |
| 5701 else | 5642 else |
| 5720 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5661 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5721 | 5662 |
| 5722 xe_msg_checking="for tt_message_create in -ltt" | 5663 xe_msg_checking="for tt_message_create in -ltt" |
| 5723 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5664 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5724 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5665 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5725 echo "configure:5726: checking "$xe_msg_checking"" >&5 | 5666 echo "configure:5667: checking "$xe_msg_checking"" >&5 |
| 5726 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5667 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5727 | 5668 |
| 5728 xe_check_libs=" -ltt $extra_libs" | 5669 xe_check_libs=" -ltt $extra_libs" |
| 5729 cat > conftest.$ac_ext <<EOF | 5670 cat > conftest.$ac_ext <<EOF |
| 5730 #line 5731 "configure" | 5671 #line 5672 "configure" |
| 5731 #include "confdefs.h" | 5672 #include "confdefs.h" |
| 5732 /* Override any gcc2 internal prototype to avoid an error. */ | 5673 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5733 /* We use char because int might match the return type of a gcc2 | 5674 /* We use char because int might match the return type of a gcc2 |
| 5734 builtin and then its argument prototype would still apply. */ | 5675 builtin and then its argument prototype would still apply. */ |
| 5735 char tt_message_create(); | 5676 char tt_message_create(); |
| 5736 | 5677 |
| 5737 int main() { | 5678 int main() { |
| 5738 tt_message_create() | 5679 tt_message_create() |
| 5739 ; return 0; } | 5680 ; return 0; } |
| 5740 EOF | 5681 EOF |
| 5741 if { (eval echo configure:5742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5682 if { (eval echo configure:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5742 rm -rf conftest* | 5683 rm -rf conftest* |
| 5743 eval "ac_cv_lib_$ac_lib_var=yes" | 5684 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5744 else | 5685 else |
| 5745 echo "configure: failed program was:" >&5 | 5686 echo "configure: failed program was:" >&5 |
| 5746 cat conftest.$ac_ext >&5 | 5687 cat conftest.$ac_ext >&5 |
| 5785 fi | 5726 fi |
| 5786 fi | 5727 fi |
| 5787 | 5728 |
| 5788 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5729 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5789 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5730 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5790 echo "configure:5791: checking for Dt/Dt.h" >&5 | 5731 echo "configure:5732: checking for Dt/Dt.h" >&5 |
| 5791 | 5732 |
| 5792 cat > conftest.$ac_ext <<EOF | 5733 cat > conftest.$ac_ext <<EOF |
| 5793 #line 5794 "configure" | 5734 #line 5735 "configure" |
| 5794 #include "confdefs.h" | 5735 #include "confdefs.h" |
| 5795 #include <Dt/Dt.h> | 5736 #include <Dt/Dt.h> |
| 5796 EOF | 5737 EOF |
| 5797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5798 { (eval echo configure:5799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5739 { (eval echo configure:5740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5799 ac_err=`grep -v '^ *+' conftest.out` | 5740 ac_err=`grep -v '^ *+' conftest.out` |
| 5800 if test -z "$ac_err"; then | 5741 if test -z "$ac_err"; then |
| 5801 rm -rf conftest* | 5742 rm -rf conftest* |
| 5802 eval "ac_cv_header_$ac_safe=yes" | 5743 eval "ac_cv_header_$ac_safe=yes" |
| 5803 else | 5744 else |
| 5816 with_cde=no | 5757 with_cde=no |
| 5817 fi | 5758 fi |
| 5818 } | 5759 } |
| 5819 test -z "$with_cde" && { | 5760 test -z "$with_cde" && { |
| 5820 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5761 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5821 echo "configure:5822: checking for DtDndDragStart in -lDtSvc" >&5 | 5762 echo "configure:5763: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5822 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5763 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5823 | 5764 |
| 5824 xe_check_libs=" -lDtSvc " | 5765 xe_check_libs=" -lDtSvc " |
| 5825 cat > conftest.$ac_ext <<EOF | 5766 cat > conftest.$ac_ext <<EOF |
| 5826 #line 5827 "configure" | 5767 #line 5768 "configure" |
| 5827 #include "confdefs.h" | 5768 #include "confdefs.h" |
| 5828 /* Override any gcc2 internal prototype to avoid an error. */ | 5769 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5829 /* We use char because int might match the return type of a gcc2 | 5770 /* We use char because int might match the return type of a gcc2 |
| 5830 builtin and then its argument prototype would still apply. */ | 5771 builtin and then its argument prototype would still apply. */ |
| 5831 char DtDndDragStart(); | 5772 char DtDndDragStart(); |
| 5832 | 5773 |
| 5833 int main() { | 5774 int main() { |
| 5834 DtDndDragStart() | 5775 DtDndDragStart() |
| 5835 ; return 0; } | 5776 ; return 0; } |
| 5836 EOF | 5777 EOF |
| 5837 if { (eval echo configure:5838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5778 if { (eval echo configure:5779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5838 rm -rf conftest* | 5779 rm -rf conftest* |
| 5839 eval "ac_cv_lib_$ac_lib_var=yes" | 5780 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5840 else | 5781 else |
| 5841 echo "configure: failed program was:" >&5 | 5782 echo "configure: failed program was:" >&5 |
| 5842 cat conftest.$ac_ext >&5 | 5783 cat conftest.$ac_ext >&5 |
| 5879 EOF | 5820 EOF |
| 5880 } | 5821 } |
| 5881 | 5822 |
| 5882 | 5823 |
| 5883 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5824 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
| 5884 echo "configure:5885: checking for main in -lenergize" >&5 | 5825 echo "configure:5826: checking for main in -lenergize" >&5 |
| 5885 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5826 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
| 5886 | 5827 |
| 5887 xe_check_libs=" -lenergize " | 5828 xe_check_libs=" -lenergize " |
| 5888 cat > conftest.$ac_ext <<EOF | 5829 cat > conftest.$ac_ext <<EOF |
| 5889 #line 5890 "configure" | 5830 #line 5831 "configure" |
| 5890 #include "confdefs.h" | 5831 #include "confdefs.h" |
| 5891 | 5832 |
| 5892 int main() { | 5833 int main() { |
| 5893 main() | 5834 main() |
| 5894 ; return 0; } | 5835 ; return 0; } |
| 5895 EOF | 5836 EOF |
| 5896 if { (eval echo configure:5897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5837 if { (eval echo configure:5838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5897 rm -rf conftest* | 5838 rm -rf conftest* |
| 5898 eval "ac_cv_lib_$ac_lib_var=yes" | 5839 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5899 else | 5840 else |
| 5900 echo "configure: failed program was:" >&5 | 5841 echo "configure: failed program was:" >&5 |
| 5901 cat conftest.$ac_ext >&5 | 5842 cat conftest.$ac_ext >&5 |
| 5923 | 5864 |
| 5924 | 5865 |
| 5925 if test -z "$energize_version"; then | 5866 if test -z "$energize_version"; then |
| 5926 | 5867 |
| 5927 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5868 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
| 5928 echo "configure:5929: checking for main in -lconn" >&5 | 5869 echo "configure:5870: checking for main in -lconn" >&5 |
| 5929 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5870 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
| 5930 | 5871 |
| 5931 xe_check_libs=" -lconn " | 5872 xe_check_libs=" -lconn " |
| 5932 cat > conftest.$ac_ext <<EOF | 5873 cat > conftest.$ac_ext <<EOF |
| 5933 #line 5934 "configure" | 5874 #line 5875 "configure" |
| 5934 #include "confdefs.h" | 5875 #include "confdefs.h" |
| 5935 | 5876 |
| 5936 int main() { | 5877 int main() { |
| 5937 main() | 5878 main() |
| 5938 ; return 0; } | 5879 ; return 0; } |
| 5939 EOF | 5880 EOF |
| 5940 if { (eval echo configure:5941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5881 if { (eval echo configure:5882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5941 rm -rf conftest* | 5882 rm -rf conftest* |
| 5942 eval "ac_cv_lib_$ac_lib_var=yes" | 5883 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5943 else | 5884 else |
| 5944 echo "configure: failed program was:" >&5 | 5885 echo "configure: failed program was:" >&5 |
| 5945 cat conftest.$ac_ext >&5 | 5886 cat conftest.$ac_ext >&5 |
| 5968 | 5909 |
| 5969 | 5910 |
| 5970 fi | 5911 fi |
| 5971 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5912 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
| 5972 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5913 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
| 5973 echo "configure:5974: checking for editorconn.h" >&5 | 5914 echo "configure:5915: checking for editorconn.h" >&5 |
| 5974 | 5915 |
| 5975 cat > conftest.$ac_ext <<EOF | 5916 cat > conftest.$ac_ext <<EOF |
| 5976 #line 5977 "configure" | 5917 #line 5918 "configure" |
| 5977 #include "confdefs.h" | 5918 #include "confdefs.h" |
| 5978 #include <editorconn.h> | 5919 #include <editorconn.h> |
| 5979 EOF | 5920 EOF |
| 5980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5981 { (eval echo configure:5982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5922 { (eval echo configure:5923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5982 ac_err=`grep -v '^ *+' conftest.out` | 5923 ac_err=`grep -v '^ *+' conftest.out` |
| 5983 if test -z "$ac_err"; then | 5924 if test -z "$ac_err"; then |
| 5984 rm -rf conftest* | 5925 rm -rf conftest* |
| 5985 eval "ac_cv_header_$ac_safe=yes" | 5926 eval "ac_cv_header_$ac_safe=yes" |
| 5986 else | 5927 else |
| 6020 | 5961 |
| 6021 | 5962 |
| 6022 if test "$with_x11" = "yes"; then | 5963 if test "$with_x11" = "yes"; then |
| 6023 | 5964 |
| 6024 echo "checking for X11 graphics libraries" 1>&6 | 5965 echo "checking for X11 graphics libraries" 1>&6 |
| 6025 echo "configure:6026: checking for X11 graphics libraries" >&5 | 5966 echo "configure:5967: checking for X11 graphics libraries" >&5 |
| 6026 test -z "$with_gif" && with_gif=yes; | |
| 6027 if test "$with_gif" = "yes"; then | |
| 6028 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6029 Defining HAVE_GIF | |
| 6030 EOF | |
| 6031 cat >> confdefs.h <<\EOF | |
| 6032 #define HAVE_GIF 1 | |
| 6033 EOF | |
| 6034 } | |
| 6035 | |
| 6036 extra_objs="$extra_objs dgif_lib.o gif_err.o gifalloc.o" && if test "$extra_verbose" = "yes"; then | |
| 6037 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | |
| 6038 fi | |
| 6039 fi | |
| 6040 | |
| 6041 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5967 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6042 echo "configure:6043: checking for Xpm - no older than 3.4f" >&5 | 5968 echo "configure:5969: checking for Xpm - no older than 3.4f" >&5 |
| 6043 xe_check_libs=-lXpm | 5969 xe_check_libs=-lXpm |
| 6044 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5970 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 6045 #line 6046 "configure" | 5971 #line 5972 "configure" |
| 6046 #include "confdefs.h" | 5972 #include "confdefs.h" |
| 6047 #include <X11/xpm.h> | 5973 #include <X11/xpm.h> |
| 6048 int main(int c, char **v) { | 5974 int main(int c, char **v) { |
| 6049 return c == 1 ? 0 : | 5975 return c == 1 ? 0 : |
| 6050 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5976 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6051 XpmIncludeVersion < 30406 ? 2 : | 5977 XpmIncludeVersion < 30406 ? 2 : |
| 6052 0 ; | 5978 0 ; |
| 6053 } | 5979 } |
| 6054 EOF | 5980 EOF |
| 6055 if { (eval echo configure:6056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5981 if { (eval echo configure:5982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 6056 then | 5982 then |
| 6057 ./conftest foobar; xpm_status=$?; | 5983 ./conftest foobar; xpm_status=$?; |
| 6058 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5984 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 6059 else | 5985 else |
| 6060 echo "configure: failed program was:" >&5 | 5986 echo "configure: failed program was:" >&5 |
| 6088 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6014 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6089 fi | 6015 fi |
| 6090 | 6016 |
| 6091 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6017 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6092 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6018 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6093 echo "configure:6094: checking for compface.h" >&5 | 6019 echo "configure:6020: checking for compface.h" >&5 |
| 6094 | 6020 |
| 6095 cat > conftest.$ac_ext <<EOF | 6021 cat > conftest.$ac_ext <<EOF |
| 6096 #line 6097 "configure" | 6022 #line 6023 "configure" |
| 6097 #include "confdefs.h" | 6023 #include "confdefs.h" |
| 6098 #include <compface.h> | 6024 #include <compface.h> |
| 6099 EOF | 6025 EOF |
| 6100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6101 { (eval echo configure:6102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6027 { (eval echo configure:6028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6102 ac_err=`grep -v '^ *+' conftest.out` | 6028 ac_err=`grep -v '^ *+' conftest.out` |
| 6103 if test -z "$ac_err"; then | 6029 if test -z "$ac_err"; then |
| 6104 rm -rf conftest* | 6030 rm -rf conftest* |
| 6105 eval "ac_cv_header_$ac_safe=yes" | 6031 eval "ac_cv_header_$ac_safe=yes" |
| 6106 else | 6032 else |
| 6119 with_xface=no | 6045 with_xface=no |
| 6120 fi | 6046 fi |
| 6121 } | 6047 } |
| 6122 test -z "$with_xface" && { | 6048 test -z "$with_xface" && { |
| 6123 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6049 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 6124 echo "configure:6125: checking for UnGenFace in -lcompface" >&5 | 6050 echo "configure:6051: checking for UnGenFace in -lcompface" >&5 |
| 6125 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6051 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 6126 | 6052 |
| 6127 xe_check_libs=" -lcompface " | 6053 xe_check_libs=" -lcompface " |
| 6128 cat > conftest.$ac_ext <<EOF | 6054 cat > conftest.$ac_ext <<EOF |
| 6129 #line 6130 "configure" | 6055 #line 6056 "configure" |
| 6130 #include "confdefs.h" | 6056 #include "confdefs.h" |
| 6131 /* Override any gcc2 internal prototype to avoid an error. */ | 6057 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6132 /* We use char because int might match the return type of a gcc2 | 6058 /* We use char because int might match the return type of a gcc2 |
| 6133 builtin and then its argument prototype would still apply. */ | 6059 builtin and then its argument prototype would still apply. */ |
| 6134 char UnGenFace(); | 6060 char UnGenFace(); |
| 6135 | 6061 |
| 6136 int main() { | 6062 int main() { |
| 6137 UnGenFace() | 6063 UnGenFace() |
| 6138 ; return 0; } | 6064 ; return 0; } |
| 6139 EOF | 6065 EOF |
| 6140 if { (eval echo configure:6141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6066 if { (eval echo configure:6067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6141 rm -rf conftest* | 6067 rm -rf conftest* |
| 6142 eval "ac_cv_lib_$ac_lib_var=yes" | 6068 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6143 else | 6069 else |
| 6144 echo "configure: failed program was:" >&5 | 6070 echo "configure: failed program was:" >&5 |
| 6145 cat conftest.$ac_ext >&5 | 6071 cat conftest.$ac_ext >&5 |
| 6169 } | 6095 } |
| 6170 | 6096 |
| 6171 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6097 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 6172 fi | 6098 fi |
| 6173 | 6099 |
| 6174 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6100 test -z "$with_imagick" && { ac_safe=`echo "magick.h" | sed 'y%./+-%__p_%'` |
| 6175 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6101 echo $ac_n "checking for magick.h""... $ac_c" 1>&6 |
| 6176 echo "configure:6177: checking for jpeglib.h" >&5 | 6102 echo "configure:6103: checking for magick.h" >&5 |
| 6177 | 6103 |
| 6178 cat > conftest.$ac_ext <<EOF | 6104 cat > conftest.$ac_ext <<EOF |
| 6179 #line 6180 "configure" | 6105 #line 6106 "configure" |
| 6180 #include "confdefs.h" | 6106 #include "confdefs.h" |
| 6181 #include <jpeglib.h> | 6107 #include <magick.h> |
| 6182 EOF | 6108 EOF |
| 6183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6184 { (eval echo configure:6185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6110 { (eval echo configure:6111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6185 ac_err=`grep -v '^ *+' conftest.out` | 6111 ac_err=`grep -v '^ *+' conftest.out` |
| 6186 if test -z "$ac_err"; then | 6112 if test -z "$ac_err"; then |
| 6187 rm -rf conftest* | 6113 rm -rf conftest* |
| 6188 eval "ac_cv_header_$ac_safe=yes" | 6114 eval "ac_cv_header_$ac_safe=yes" |
| 6189 else | 6115 else |
| 6197 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6123 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6198 echo "$ac_t""yes" 1>&6 | 6124 echo "$ac_t""yes" 1>&6 |
| 6199 : | 6125 : |
| 6200 else | 6126 else |
| 6201 echo "$ac_t""no" 1>&6 | 6127 echo "$ac_t""no" 1>&6 |
| 6202 with_jpeg=no | 6128 with_imagick=no |
| 6203 fi | 6129 fi |
| 6204 } | 6130 } |
| 6205 test -z "$with_jpeg" && { | 6131 test -z "$with_imagick" && { |
| 6206 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6132 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 |
| 6207 echo "configure:6208: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6133 echo "configure:6134: checking for MogrifyImage in -lMagick" >&5 |
| 6208 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6134 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` |
| 6209 | 6135 |
| 6210 xe_check_libs=" -ljpeg " | 6136 xe_check_libs=" -lMagick " |
| 6211 cat > conftest.$ac_ext <<EOF | 6137 cat > conftest.$ac_ext <<EOF |
| 6212 #line 6213 "configure" | 6138 #line 6139 "configure" |
| 6213 #include "confdefs.h" | 6139 #include "confdefs.h" |
| 6214 /* Override any gcc2 internal prototype to avoid an error. */ | 6140 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6215 /* We use char because int might match the return type of a gcc2 | 6141 /* We use char because int might match the return type of a gcc2 |
| 6216 builtin and then its argument prototype would still apply. */ | 6142 builtin and then its argument prototype would still apply. */ |
| 6217 char jpeg_destroy_decompress(); | 6143 char MogrifyImage(); |
| 6218 | 6144 |
| 6219 int main() { | 6145 int main() { |
| 6220 jpeg_destroy_decompress() | 6146 MogrifyImage() |
| 6221 ; return 0; } | 6147 ; return 0; } |
| 6222 EOF | 6148 EOF |
| 6223 if { (eval echo configure:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6149 if { (eval echo configure:6150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6224 rm -rf conftest* | 6150 rm -rf conftest* |
| 6225 eval "ac_cv_lib_$ac_lib_var=yes" | 6151 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6226 else | 6152 else |
| 6227 echo "configure: failed program was:" >&5 | 6153 echo "configure: failed program was:" >&5 |
| 6228 cat conftest.$ac_ext >&5 | 6154 cat conftest.$ac_ext >&5 |
| 6235 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6161 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 6236 echo "$ac_t""yes" 1>&6 | 6162 echo "$ac_t""yes" 1>&6 |
| 6237 : | 6163 : |
| 6238 else | 6164 else |
| 6239 echo "$ac_t""no" 1>&6 | 6165 echo "$ac_t""no" 1>&6 |
| 6240 with_jpeg=no | 6166 with_imagick=no |
| 6241 fi | 6167 fi |
| 6242 | 6168 |
| 6243 } | 6169 } |
| 6244 test -z "$with_jpeg" && with_jpeg=yes | 6170 test -z "$with_imagick" && with_imagick=yes |
| 6245 if test "$with_jpeg" = "yes"; then | 6171 if test "$with_imagick" = "yes"; then |
| 6246 { test "$extra_verbose" = "yes" && cat << \EOF | 6172 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6247 Defining HAVE_JPEG | 6173 Defining HAVE_IMAGEMAGICK |
| 6248 EOF | 6174 EOF |
| 6249 cat >> confdefs.h <<\EOF | 6175 cat >> confdefs.h <<\EOF |
| 6250 #define HAVE_JPEG 1 | 6176 #define HAVE_IMAGEMAGICK 1 |
| 6251 EOF | 6177 EOF |
| 6252 } | 6178 } |
| 6253 | 6179 |
| 6254 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6180 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi |
| 6255 fi | |
| 6256 | |
| 6257 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | |
| 6258 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | |
| 6259 echo "configure:6260: checking for png.h" >&5 | |
| 6260 | |
| 6261 cat > conftest.$ac_ext <<EOF | |
| 6262 #line 6263 "configure" | |
| 6263 #include "confdefs.h" | |
| 6264 #include <png.h> | |
| 6265 EOF | |
| 6266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 6267 { (eval echo configure:6268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 6268 ac_err=`grep -v '^ *+' conftest.out` | |
| 6269 if test -z "$ac_err"; then | |
| 6270 rm -rf conftest* | |
| 6271 eval "ac_cv_header_$ac_safe=yes" | |
| 6272 else | |
| 6273 echo "$ac_err" >&5 | |
| 6274 echo "configure: failed program was:" >&5 | |
| 6275 cat conftest.$ac_ext >&5 | |
| 6276 rm -rf conftest* | |
| 6277 eval "ac_cv_header_$ac_safe=no" | |
| 6278 fi | |
| 6279 rm -f conftest* | |
| 6280 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 6281 echo "$ac_t""yes" 1>&6 | |
| 6282 : | |
| 6283 else | |
| 6284 echo "$ac_t""no" 1>&6 | |
| 6285 with_png=no | |
| 6286 fi | |
| 6287 } | |
| 6288 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | |
| 6289 echo "configure:6290: checking for pow" >&5 | |
| 6290 | |
| 6291 cat > conftest.$ac_ext <<EOF | |
| 6292 #line 6293 "configure" | |
| 6293 #include "confdefs.h" | |
| 6294 /* System header to define __stub macros and hopefully few prototypes, | |
| 6295 which can conflict with char pow(); below. */ | |
| 6296 #include <assert.h> | |
| 6297 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6298 /* We use char because int might match the return type of a gcc2 | |
| 6299 builtin and then its argument prototype would still apply. */ | |
| 6300 char pow(); | |
| 6301 | |
| 6302 int main() { | |
| 6303 | |
| 6304 /* The GNU C library defines this for functions which it implements | |
| 6305 to always fail with ENOSYS. Some functions are actually named | |
| 6306 something starting with __ and the normal name is an alias. */ | |
| 6307 #if defined (__stub_pow) || defined (__stub___pow) | |
| 6308 choke me | |
| 6309 #else | |
| 6310 pow(); | |
| 6311 #endif | |
| 6312 | |
| 6313 ; return 0; } | |
| 6314 EOF | |
| 6315 if { (eval echo configure:6316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6316 rm -rf conftest* | |
| 6317 eval "ac_cv_func_pow=yes" | |
| 6318 else | |
| 6319 echo "configure: failed program was:" >&5 | |
| 6320 cat conftest.$ac_ext >&5 | |
| 6321 rm -rf conftest* | |
| 6322 eval "ac_cv_func_pow=no" | |
| 6323 fi | |
| 6324 rm -f conftest* | |
| 6325 | |
| 6326 if eval "test \"`echo '$ac_cv_func_'pow`\" = yes"; then | |
| 6327 echo "$ac_t""yes" 1>&6 | |
| 6328 : | |
| 6329 else | |
| 6330 echo "$ac_t""no" 1>&6 | |
| 6331 with_png=no | |
| 6332 fi | |
| 6333 } | |
| 6334 if test "$with_png" != "no"; then | |
| 6335 for extra_libs in "" "-lz" "-lgz"; do | |
| 6336 | |
| 6337 xe_msg_checking="for png_read_image in -lpng" | |
| 6338 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | |
| 6339 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
| 6340 echo "configure:6341: checking "$xe_msg_checking"" >&5 | |
| 6341 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | |
| 6342 | |
| 6343 xe_check_libs=" -lpng $extra_libs" | |
| 6344 cat > conftest.$ac_ext <<EOF | |
| 6345 #line 6346 "configure" | |
| 6346 #include "confdefs.h" | |
| 6347 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6348 /* We use char because int might match the return type of a gcc2 | |
| 6349 builtin and then its argument prototype would still apply. */ | |
| 6350 char png_read_image(); | |
| 6351 | |
| 6352 int main() { | |
| 6353 png_read_image() | |
| 6354 ; return 0; } | |
| 6355 EOF | |
| 6356 if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6357 rm -rf conftest* | |
| 6358 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6359 else | |
| 6360 echo "configure: failed program was:" >&5 | |
| 6361 cat conftest.$ac_ext >&5 | |
| 6362 rm -rf conftest* | |
| 6363 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6364 fi | |
| 6365 rm -f conftest* | |
| 6366 xe_check_libs="" | |
| 6367 | |
| 6368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6369 echo "$ac_t""yes" 1>&6 | |
| 6370 png_libs="-lpng $extra_libs" with_png=yes; break | |
| 6371 else | |
| 6372 echo "$ac_t""no" 1>&6 | |
| 6373 : | |
| 6374 fi | |
| 6375 | |
| 6376 | |
| 6377 done | |
| 6378 fi | |
| 6379 test -z "$with_png" && with_png=no | |
| 6380 if test "$with_png" = "yes"; then | |
| 6381 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6382 Defining HAVE_PNG | |
| 6383 EOF | |
| 6384 cat >> confdefs.h <<\EOF | |
| 6385 #define HAVE_PNG 1 | |
| 6386 EOF | |
| 6387 } | |
| 6388 | |
| 6389 libs_x="$png_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$png_libs\" to \$libs_x"; fi | |
| 6390 fi | |
| 6391 | |
| 6392 if test "$with_tiff" != no; then | |
| 6393 for extra_libs in "" "-lz" "-lgz"; do | |
| 6394 | |
| 6395 xe_msg_checking="for TIFFReadScanline in -ltiff" | |
| 6396 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | |
| 6397 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
| 6398 echo "configure:6399: checking "$xe_msg_checking"" >&5 | |
| 6399 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | |
| 6400 | |
| 6401 xe_check_libs=" -ltiff $extra_libs" | |
| 6402 cat > conftest.$ac_ext <<EOF | |
| 6403 #line 6404 "configure" | |
| 6404 #include "confdefs.h" | |
| 6405 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6406 /* We use char because int might match the return type of a gcc2 | |
| 6407 builtin and then its argument prototype would still apply. */ | |
| 6408 char TIFFReadScanline(); | |
| 6409 | |
| 6410 int main() { | |
| 6411 TIFFReadScanline() | |
| 6412 ; return 0; } | |
| 6413 EOF | |
| 6414 if { (eval echo configure:6415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6415 rm -rf conftest* | |
| 6416 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6417 else | |
| 6418 echo "configure: failed program was:" >&5 | |
| 6419 cat conftest.$ac_ext >&5 | |
| 6420 rm -rf conftest* | |
| 6421 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6422 fi | |
| 6423 rm -f conftest* | |
| 6424 xe_check_libs="" | |
| 6425 | |
| 6426 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6427 echo "$ac_t""yes" 1>&6 | |
| 6428 tiff_libs="-ltiff $extra_libs" with_tiff=yes; break | |
| 6429 else | |
| 6430 echo "$ac_t""no" 1>&6 | |
| 6431 : | |
| 6432 fi | |
| 6433 | |
| 6434 | |
| 6435 done | |
| 6436 fi | |
| 6437 test -z "$with_tiff" && with_tiff=no | |
| 6438 if test "$with_tiff" = "yes"; then | |
| 6439 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6440 Defining HAVE_TIFF | |
| 6441 EOF | |
| 6442 cat >> confdefs.h <<\EOF | |
| 6443 #define HAVE_TIFF 1 | |
| 6444 EOF | |
| 6445 } | |
| 6446 | |
| 6447 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi | |
| 6448 fi | 6181 fi |
| 6449 | 6182 |
| 6450 | 6183 |
| 6451 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6184 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 6452 echo "configure:6453: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6185 echo "configure:6186: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 6453 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6186 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 6454 | 6187 |
| 6455 xe_check_libs=" -lXaw " | 6188 xe_check_libs=" -lXaw " |
| 6456 cat > conftest.$ac_ext <<EOF | 6189 cat > conftest.$ac_ext <<EOF |
| 6457 #line 6458 "configure" | 6190 #line 6191 "configure" |
| 6458 #include "confdefs.h" | 6191 #include "confdefs.h" |
| 6459 /* Override any gcc2 internal prototype to avoid an error. */ | 6192 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6460 /* We use char because int might match the return type of a gcc2 | 6193 /* We use char because int might match the return type of a gcc2 |
| 6461 builtin and then its argument prototype would still apply. */ | 6194 builtin and then its argument prototype would still apply. */ |
| 6462 char XawScrollbarSetThumb(); | 6195 char XawScrollbarSetThumb(); |
| 6463 | 6196 |
| 6464 int main() { | 6197 int main() { |
| 6465 XawScrollbarSetThumb() | 6198 XawScrollbarSetThumb() |
| 6466 ; return 0; } | 6199 ; return 0; } |
| 6467 EOF | 6200 EOF |
| 6468 if { (eval echo configure:6469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6469 rm -rf conftest* | 6202 rm -rf conftest* |
| 6470 eval "ac_cv_lib_$ac_lib_var=yes" | 6203 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6471 else | 6204 else |
| 6472 echo "configure: failed program was:" >&5 | 6205 echo "configure: failed program was:" >&5 |
| 6473 cat conftest.$ac_ext >&5 | 6206 cat conftest.$ac_ext >&5 |
| 6487 | 6220 |
| 6488 | 6221 |
| 6489 if test "$have_xaw" = "yes"; then | 6222 if test "$have_xaw" = "yes"; then |
| 6490 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 6223 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
| 6491 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 6224 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
| 6492 echo "configure:6493: checking for X11/Xaw/Reports.h" >&5 | 6225 echo "configure:6226: checking for X11/Xaw/Reports.h" >&5 |
| 6493 | 6226 |
| 6494 cat > conftest.$ac_ext <<EOF | 6227 cat > conftest.$ac_ext <<EOF |
| 6495 #line 6496 "configure" | 6228 #line 6229 "configure" |
| 6496 #include "confdefs.h" | 6229 #include "confdefs.h" |
| 6497 #include <X11/Xaw/Reports.h> | 6230 #include <X11/Xaw/Reports.h> |
| 6498 EOF | 6231 EOF |
| 6499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6500 { (eval echo configure:6501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6233 { (eval echo configure:6234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6501 ac_err=`grep -v '^ *+' conftest.out` | 6234 ac_err=`grep -v '^ *+' conftest.out` |
| 6502 if test -z "$ac_err"; then | 6235 if test -z "$ac_err"; then |
| 6503 rm -rf conftest* | 6236 rm -rf conftest* |
| 6504 eval "ac_cv_header_$ac_safe=yes" | 6237 eval "ac_cv_header_$ac_safe=yes" |
| 6505 else | 6238 else |
| 6521 | 6254 |
| 6522 fi | 6255 fi |
| 6523 | 6256 |
| 6524 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6257 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6525 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6258 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6526 echo "configure:6527: checking for Xm/Xm.h" >&5 | 6259 echo "configure:6260: checking for Xm/Xm.h" >&5 |
| 6527 | 6260 |
| 6528 cat > conftest.$ac_ext <<EOF | 6261 cat > conftest.$ac_ext <<EOF |
| 6529 #line 6530 "configure" | 6262 #line 6263 "configure" |
| 6530 #include "confdefs.h" | 6263 #include "confdefs.h" |
| 6531 #include <Xm/Xm.h> | 6264 #include <Xm/Xm.h> |
| 6532 EOF | 6265 EOF |
| 6533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6534 { (eval echo configure:6535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6267 { (eval echo configure:6268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6535 ac_err=`grep -v '^ *+' conftest.out` | 6268 ac_err=`grep -v '^ *+' conftest.out` |
| 6536 if test -z "$ac_err"; then | 6269 if test -z "$ac_err"; then |
| 6537 rm -rf conftest* | 6270 rm -rf conftest* |
| 6538 eval "ac_cv_header_$ac_safe=yes" | 6271 eval "ac_cv_header_$ac_safe=yes" |
| 6539 else | 6272 else |
| 6546 rm -f conftest* | 6279 rm -f conftest* |
| 6547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6280 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6548 echo "$ac_t""yes" 1>&6 | 6281 echo "$ac_t""yes" 1>&6 |
| 6549 | 6282 |
| 6550 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6283 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6551 echo "configure:6552: checking for XmStringFree in -lXm" >&5 | 6284 echo "configure:6285: checking for XmStringFree in -lXm" >&5 |
| 6552 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6285 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6553 | 6286 |
| 6554 xe_check_libs=" -lXm " | 6287 xe_check_libs=" -lXm " |
| 6555 cat > conftest.$ac_ext <<EOF | 6288 cat > conftest.$ac_ext <<EOF |
| 6556 #line 6557 "configure" | 6289 #line 6290 "configure" |
| 6557 #include "confdefs.h" | 6290 #include "confdefs.h" |
| 6558 /* Override any gcc2 internal prototype to avoid an error. */ | 6291 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6559 /* We use char because int might match the return type of a gcc2 | 6292 /* We use char because int might match the return type of a gcc2 |
| 6560 builtin and then its argument prototype would still apply. */ | 6293 builtin and then its argument prototype would still apply. */ |
| 6561 char XmStringFree(); | 6294 char XmStringFree(); |
| 6562 | 6295 |
| 6563 int main() { | 6296 int main() { |
| 6564 XmStringFree() | 6297 XmStringFree() |
| 6565 ; return 0; } | 6298 ; return 0; } |
| 6566 EOF | 6299 EOF |
| 6567 if { (eval echo configure:6568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6300 if { (eval echo configure:6301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6568 rm -rf conftest* | 6301 rm -rf conftest* |
| 6569 eval "ac_cv_lib_$ac_lib_var=yes" | 6302 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6570 else | 6303 else |
| 6571 echo "configure: failed program was:" >&5 | 6304 echo "configure: failed program was:" >&5 |
| 6572 cat conftest.$ac_ext >&5 | 6305 cat conftest.$ac_ext >&5 |
| 6809 fi | 6542 fi |
| 6810 | 6543 |
| 6811 | 6544 |
| 6812 test -z "$with_mule" && with_mule=no | 6545 test -z "$with_mule" && with_mule=no |
| 6813 | 6546 |
| 6547 if test "$with_mule" = "yes" && test ! -d "$srcdir/lisp/mule"; then | |
| 6548 echo "Attempt to Build with Mule without Mule/Lisp" | |
| 6549 echo "Please install the XEmacs/Mule tarball or" | |
| 6550 echo "rerun configure with --with-mule=no" | |
| 6551 exit 1 | |
| 6552 fi | |
| 6553 | |
| 6814 if test "$with_mule" = "yes" ; then | 6554 if test "$with_mule" = "yes" ; then |
| 6815 echo "checking for Mule-related features" 1>&6 | 6555 echo "checking for Mule-related features" 1>&6 |
| 6816 echo "configure:6817: checking for Mule-related features" >&5 | 6556 echo "configure:6557: checking for Mule-related features" >&5 |
| 6817 { test "$extra_verbose" = "yes" && cat << \EOF | 6557 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6818 Defining MULE | 6558 Defining MULE |
| 6819 EOF | 6559 EOF |
| 6820 cat >> confdefs.h <<\EOF | 6560 cat >> confdefs.h <<\EOF |
| 6821 #define MULE 1 | 6561 #define MULE 1 |
| 6828 | 6568 |
| 6829 for ac_hdr in libintl.h | 6569 for ac_hdr in libintl.h |
| 6830 do | 6570 do |
| 6831 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6571 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6572 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6833 echo "configure:6834: checking for $ac_hdr" >&5 | 6573 echo "configure:6574: checking for $ac_hdr" >&5 |
| 6834 | 6574 |
| 6835 cat > conftest.$ac_ext <<EOF | 6575 cat > conftest.$ac_ext <<EOF |
| 6836 #line 6837 "configure" | 6576 #line 6577 "configure" |
| 6837 #include "confdefs.h" | 6577 #include "confdefs.h" |
| 6838 #include <$ac_hdr> | 6578 #include <$ac_hdr> |
| 6839 EOF | 6579 EOF |
| 6840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6841 { (eval echo configure:6842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6581 { (eval echo configure:6582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6842 ac_err=`grep -v '^ *+' conftest.out` | 6582 ac_err=`grep -v '^ *+' conftest.out` |
| 6843 if test -z "$ac_err"; then | 6583 if test -z "$ac_err"; then |
| 6844 rm -rf conftest* | 6584 rm -rf conftest* |
| 6845 eval "ac_cv_header_$ac_safe=yes" | 6585 eval "ac_cv_header_$ac_safe=yes" |
| 6846 else | 6586 else |
| 6867 fi | 6607 fi |
| 6868 done | 6608 done |
| 6869 | 6609 |
| 6870 | 6610 |
| 6871 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6611 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6872 echo "configure:6873: checking for strerror in -lintl" >&5 | 6612 echo "configure:6613: checking for strerror in -lintl" >&5 |
| 6873 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6613 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6874 | 6614 |
| 6875 xe_check_libs=" -lintl " | 6615 xe_check_libs=" -lintl " |
| 6876 cat > conftest.$ac_ext <<EOF | 6616 cat > conftest.$ac_ext <<EOF |
| 6877 #line 6878 "configure" | 6617 #line 6618 "configure" |
| 6878 #include "confdefs.h" | 6618 #include "confdefs.h" |
| 6879 /* Override any gcc2 internal prototype to avoid an error. */ | 6619 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6880 /* We use char because int might match the return type of a gcc2 | 6620 /* We use char because int might match the return type of a gcc2 |
| 6881 builtin and then its argument prototype would still apply. */ | 6621 builtin and then its argument prototype would still apply. */ |
| 6882 char strerror(); | 6622 char strerror(); |
| 6883 | 6623 |
| 6884 int main() { | 6624 int main() { |
| 6885 strerror() | 6625 strerror() |
| 6886 ; return 0; } | 6626 ; return 0; } |
| 6887 EOF | 6627 EOF |
| 6888 if { (eval echo configure:6889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6628 if { (eval echo configure:6629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6889 rm -rf conftest* | 6629 rm -rf conftest* |
| 6890 eval "ac_cv_lib_$ac_lib_var=yes" | 6630 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6891 else | 6631 else |
| 6892 echo "configure: failed program was:" >&5 | 6632 echo "configure: failed program was:" >&5 |
| 6893 cat conftest.$ac_ext >&5 | 6633 cat conftest.$ac_ext >&5 |
| 6916 fi | 6656 fi |
| 6917 | 6657 |
| 6918 | 6658 |
| 6919 | 6659 |
| 6920 echo "checking for Mule input methods" 1>&6 | 6660 echo "checking for Mule input methods" 1>&6 |
| 6921 echo "configure:6922: checking for Mule input methods" >&5 | 6661 echo "configure:6662: checking for Mule input methods" >&5 |
| 6922 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6662 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6923 case "$with_xim" in "" | "yes" ) | 6663 case "$with_xim" in "" | "yes" ) |
| 6924 echo "checking for XIM" 1>&6 | 6664 echo "checking for XIM" 1>&6 |
| 6925 echo "configure:6926: checking for XIM" >&5 | 6665 echo "configure:6666: checking for XIM" >&5 |
| 6926 | 6666 |
| 6927 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6667 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6928 echo "configure:6929: checking for XmImMbLookupString in -lXm" >&5 | 6668 echo "configure:6669: checking for XmImMbLookupString in -lXm" >&5 |
| 6929 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6669 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6930 | 6670 |
| 6931 xe_check_libs=" -lXm " | 6671 xe_check_libs=" -lXm " |
| 6932 cat > conftest.$ac_ext <<EOF | 6672 cat > conftest.$ac_ext <<EOF |
| 6933 #line 6934 "configure" | 6673 #line 6674 "configure" |
| 6934 #include "confdefs.h" | 6674 #include "confdefs.h" |
| 6935 /* Override any gcc2 internal prototype to avoid an error. */ | 6675 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6936 /* We use char because int might match the return type of a gcc2 | 6676 /* We use char because int might match the return type of a gcc2 |
| 6937 builtin and then its argument prototype would still apply. */ | 6677 builtin and then its argument prototype would still apply. */ |
| 6938 char XmImMbLookupString(); | 6678 char XmImMbLookupString(); |
| 6939 | 6679 |
| 6940 int main() { | 6680 int main() { |
| 6941 XmImMbLookupString() | 6681 XmImMbLookupString() |
| 6942 ; return 0; } | 6682 ; return 0; } |
| 6943 EOF | 6683 EOF |
| 6944 if { (eval echo configure:6945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6684 if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6945 rm -rf conftest* | 6685 rm -rf conftest* |
| 6946 eval "ac_cv_lib_$ac_lib_var=yes" | 6686 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6947 else | 6687 else |
| 6948 echo "configure: failed program was:" >&5 | 6688 echo "configure: failed program was:" >&5 |
| 6949 cat conftest.$ac_ext >&5 | 6689 cat conftest.$ac_ext >&5 |
| 7002 if test "$with_xfs" = "yes"; then | 6742 if test "$with_xfs" = "yes"; then |
| 7003 with_xfs=no | 6743 with_xfs=no |
| 7004 fi | 6744 fi |
| 7005 else case "$with_xfs" in "yes" ) | 6745 else case "$with_xfs" in "yes" ) |
| 7006 echo "checking for XFontSet" 1>&6 | 6746 echo "checking for XFontSet" 1>&6 |
| 7007 echo "configure:7008: checking for XFontSet" >&5 | 6747 echo "configure:6748: checking for XFontSet" >&5 |
| 7008 | 6748 |
| 7009 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6749 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7010 echo "configure:7011: checking for XmbDrawString in -lX11" >&5 | 6750 echo "configure:6751: checking for XmbDrawString in -lX11" >&5 |
| 7011 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6751 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7012 | 6752 |
| 7013 xe_check_libs=" -lX11 " | 6753 xe_check_libs=" -lX11 " |
| 7014 cat > conftest.$ac_ext <<EOF | 6754 cat > conftest.$ac_ext <<EOF |
| 7015 #line 7016 "configure" | 6755 #line 6756 "configure" |
| 7016 #include "confdefs.h" | 6756 #include "confdefs.h" |
| 7017 /* Override any gcc2 internal prototype to avoid an error. */ | 6757 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7018 /* We use char because int might match the return type of a gcc2 | 6758 /* We use char because int might match the return type of a gcc2 |
| 7019 builtin and then its argument prototype would still apply. */ | 6759 builtin and then its argument prototype would still apply. */ |
| 7020 char XmbDrawString(); | 6760 char XmbDrawString(); |
| 7021 | 6761 |
| 7022 int main() { | 6762 int main() { |
| 7023 XmbDrawString() | 6763 XmbDrawString() |
| 7024 ; return 0; } | 6764 ; return 0; } |
| 7025 EOF | 6765 EOF |
| 7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6766 if { (eval echo configure:6767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7027 rm -rf conftest* | 6767 rm -rf conftest* |
| 7028 eval "ac_cv_lib_$ac_lib_var=yes" | 6768 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7029 else | 6769 else |
| 7030 echo "configure: failed program was:" >&5 | 6770 echo "configure: failed program was:" >&5 |
| 7031 cat conftest.$ac_ext >&5 | 6771 cat conftest.$ac_ext >&5 |
| 7060 fi | 6800 fi |
| 7061 fi | 6801 fi |
| 7062 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6802 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7063 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6803 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7064 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6804 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7065 echo "configure:7066: checking for wnn/jllib.h" >&5 | 6805 echo "configure:6806: checking for wnn/jllib.h" >&5 |
| 7066 | 6806 |
| 7067 cat > conftest.$ac_ext <<EOF | 6807 cat > conftest.$ac_ext <<EOF |
| 7068 #line 7069 "configure" | 6808 #line 6809 "configure" |
| 7069 #include "confdefs.h" | 6809 #include "confdefs.h" |
| 7070 #include <wnn/jllib.h> | 6810 #include <wnn/jllib.h> |
| 7071 EOF | 6811 EOF |
| 7072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7073 { (eval echo configure:7074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6813 { (eval echo configure:6814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7074 ac_err=`grep -v '^ *+' conftest.out` | 6814 ac_err=`grep -v '^ *+' conftest.out` |
| 7075 if test -z "$ac_err"; then | 6815 if test -z "$ac_err"; then |
| 7076 rm -rf conftest* | 6816 rm -rf conftest* |
| 7077 eval "ac_cv_header_$ac_safe=yes" | 6817 eval "ac_cv_header_$ac_safe=yes" |
| 7078 else | 6818 else |
| 7093 } | 6833 } |
| 7094 if test "$with_wnn" != "no"; then | 6834 if test "$with_wnn" != "no"; then |
| 7095 for ac_func in crypt | 6835 for ac_func in crypt |
| 7096 do | 6836 do |
| 7097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7098 echo "configure:7099: checking for $ac_func" >&5 | 6838 echo "configure:6839: checking for $ac_func" >&5 |
| 7099 | 6839 |
| 7100 cat > conftest.$ac_ext <<EOF | 6840 cat > conftest.$ac_ext <<EOF |
| 7101 #line 7102 "configure" | 6841 #line 6842 "configure" |
| 7102 #include "confdefs.h" | 6842 #include "confdefs.h" |
| 7103 /* System header to define __stub macros and hopefully few prototypes, | 6843 /* System header to define __stub macros and hopefully few prototypes, |
| 7104 which can conflict with char $ac_func(); below. */ | 6844 which can conflict with char $ac_func(); below. */ |
| 7105 #include <assert.h> | 6845 #include <assert.h> |
| 7106 /* Override any gcc2 internal prototype to avoid an error. */ | 6846 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7119 $ac_func(); | 6859 $ac_func(); |
| 7120 #endif | 6860 #endif |
| 7121 | 6861 |
| 7122 ; return 0; } | 6862 ; return 0; } |
| 7123 EOF | 6863 EOF |
| 7124 if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6864 if { (eval echo configure:6865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7125 rm -rf conftest* | 6865 rm -rf conftest* |
| 7126 eval "ac_cv_func_$ac_func=yes" | 6866 eval "ac_cv_func_$ac_func=yes" |
| 7127 else | 6867 else |
| 7128 echo "configure: failed program was:" >&5 | 6868 echo "configure: failed program was:" >&5 |
| 7129 cat conftest.$ac_ext >&5 | 6869 cat conftest.$ac_ext >&5 |
| 7148 fi | 6888 fi |
| 7149 done | 6889 done |
| 7150 | 6890 |
| 7151 test "$ac_cv_func_crypt" != "yes" && { | 6891 test "$ac_cv_func_crypt" != "yes" && { |
| 7152 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6892 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7153 echo "configure:7154: checking for crypt in -lcrypt" >&5 | 6893 echo "configure:6894: checking for crypt in -lcrypt" >&5 |
| 7154 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6894 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7155 | 6895 |
| 7156 xe_check_libs=" -lcrypt " | 6896 xe_check_libs=" -lcrypt " |
| 7157 cat > conftest.$ac_ext <<EOF | 6897 cat > conftest.$ac_ext <<EOF |
| 7158 #line 7159 "configure" | 6898 #line 6899 "configure" |
| 7159 #include "confdefs.h" | 6899 #include "confdefs.h" |
| 7160 /* Override any gcc2 internal prototype to avoid an error. */ | 6900 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7161 /* We use char because int might match the return type of a gcc2 | 6901 /* We use char because int might match the return type of a gcc2 |
| 7162 builtin and then its argument prototype would still apply. */ | 6902 builtin and then its argument prototype would still apply. */ |
| 7163 char crypt(); | 6903 char crypt(); |
| 7164 | 6904 |
| 7165 int main() { | 6905 int main() { |
| 7166 crypt() | 6906 crypt() |
| 7167 ; return 0; } | 6907 ; return 0; } |
| 7168 EOF | 6908 EOF |
| 7169 if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6909 if { (eval echo configure:6910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7170 rm -rf conftest* | 6910 rm -rf conftest* |
| 7171 eval "ac_cv_lib_$ac_lib_var=yes" | 6911 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7172 else | 6912 else |
| 7173 echo "configure: failed program was:" >&5 | 6913 echo "configure: failed program was:" >&5 |
| 7174 cat conftest.$ac_ext >&5 | 6914 cat conftest.$ac_ext >&5 |
| 7198 | 6938 |
| 7199 } | 6939 } |
| 7200 fi | 6940 fi |
| 7201 test -z "$with_wnn" && { | 6941 test -z "$with_wnn" && { |
| 7202 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 6942 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7203 echo "configure:7204: checking for jl_dic_list_e in -lwnn" >&5 | 6943 echo "configure:6944: checking for jl_dic_list_e in -lwnn" >&5 |
| 7204 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 6944 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7205 | 6945 |
| 7206 xe_check_libs=" -lwnn " | 6946 xe_check_libs=" -lwnn " |
| 7207 cat > conftest.$ac_ext <<EOF | 6947 cat > conftest.$ac_ext <<EOF |
| 7208 #line 7209 "configure" | 6948 #line 6949 "configure" |
| 7209 #include "confdefs.h" | 6949 #include "confdefs.h" |
| 7210 /* Override any gcc2 internal prototype to avoid an error. */ | 6950 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7211 /* We use char because int might match the return type of a gcc2 | 6951 /* We use char because int might match the return type of a gcc2 |
| 7212 builtin and then its argument prototype would still apply. */ | 6952 builtin and then its argument prototype would still apply. */ |
| 7213 char jl_dic_list_e(); | 6953 char jl_dic_list_e(); |
| 7214 | 6954 |
| 7215 int main() { | 6955 int main() { |
| 7216 jl_dic_list_e() | 6956 jl_dic_list_e() |
| 7217 ; return 0; } | 6957 ; return 0; } |
| 7218 EOF | 6958 EOF |
| 7219 if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6959 if { (eval echo configure:6960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7220 rm -rf conftest* | 6960 rm -rf conftest* |
| 7221 eval "ac_cv_lib_$ac_lib_var=yes" | 6961 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7222 else | 6962 else |
| 7223 echo "configure: failed program was:" >&5 | 6963 echo "configure: failed program was:" >&5 |
| 7224 cat conftest.$ac_ext >&5 | 6964 cat conftest.$ac_ext >&5 |
| 7251 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 6991 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7252 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 6992 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7253 fi | 6993 fi |
| 7254 | 6994 |
| 7255 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 6995 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7256 echo "configure:7257: checking for jl_fi_dic_list in -lwnn" >&5 | 6996 echo "configure:6997: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7257 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 6997 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7258 | 6998 |
| 7259 xe_check_libs=" -lwnn " | 6999 xe_check_libs=" -lwnn " |
| 7260 cat > conftest.$ac_ext <<EOF | 7000 cat > conftest.$ac_ext <<EOF |
| 7261 #line 7262 "configure" | 7001 #line 7002 "configure" |
| 7262 #include "confdefs.h" | 7002 #include "confdefs.h" |
| 7263 /* Override any gcc2 internal prototype to avoid an error. */ | 7003 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7264 /* We use char because int might match the return type of a gcc2 | 7004 /* We use char because int might match the return type of a gcc2 |
| 7265 builtin and then its argument prototype would still apply. */ | 7005 builtin and then its argument prototype would still apply. */ |
| 7266 char jl_fi_dic_list(); | 7006 char jl_fi_dic_list(); |
| 7267 | 7007 |
| 7268 int main() { | 7008 int main() { |
| 7269 jl_fi_dic_list() | 7009 jl_fi_dic_list() |
| 7270 ; return 0; } | 7010 ; return 0; } |
| 7271 EOF | 7011 EOF |
| 7272 if { (eval echo configure:7273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7012 if { (eval echo configure:7013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7273 rm -rf conftest* | 7013 rm -rf conftest* |
| 7274 eval "ac_cv_lib_$ac_lib_var=yes" | 7014 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7275 else | 7015 else |
| 7276 echo "configure: failed program was:" >&5 | 7016 echo "configure: failed program was:" >&5 |
| 7277 cat conftest.$ac_ext >&5 | 7017 cat conftest.$ac_ext >&5 |
| 7299 | 7039 |
| 7300 fi | 7040 fi |
| 7301 | 7041 |
| 7302 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7042 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7303 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7043 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7304 echo "configure:7305: checking for canna/RK.h" >&5 | 7044 echo "configure:7045: checking for canna/RK.h" >&5 |
| 7305 | 7045 |
| 7306 cat > conftest.$ac_ext <<EOF | 7046 cat > conftest.$ac_ext <<EOF |
| 7307 #line 7308 "configure" | 7047 #line 7048 "configure" |
| 7308 #include "confdefs.h" | 7048 #include "confdefs.h" |
| 7309 #include <canna/RK.h> | 7049 #include <canna/RK.h> |
| 7310 EOF | 7050 EOF |
| 7311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7312 { (eval echo configure:7313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7052 { (eval echo configure:7053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7313 ac_err=`grep -v '^ *+' conftest.out` | 7053 ac_err=`grep -v '^ *+' conftest.out` |
| 7314 if test -z "$ac_err"; then | 7054 if test -z "$ac_err"; then |
| 7315 rm -rf conftest* | 7055 rm -rf conftest* |
| 7316 eval "ac_cv_header_$ac_safe=yes" | 7056 eval "ac_cv_header_$ac_safe=yes" |
| 7317 else | 7057 else |
| 7330 with_canna=no | 7070 with_canna=no |
| 7331 fi | 7071 fi |
| 7332 } | 7072 } |
| 7333 test -z "$with_canna" && { | 7073 test -z "$with_canna" && { |
| 7334 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7074 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7335 echo "configure:7336: checking for RkBgnBun in -lRKC" >&5 | 7075 echo "configure:7076: checking for RkBgnBun in -lRKC" >&5 |
| 7336 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7076 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7337 | 7077 |
| 7338 xe_check_libs=" -lRKC " | 7078 xe_check_libs=" -lRKC " |
| 7339 cat > conftest.$ac_ext <<EOF | 7079 cat > conftest.$ac_ext <<EOF |
| 7340 #line 7341 "configure" | 7080 #line 7081 "configure" |
| 7341 #include "confdefs.h" | 7081 #include "confdefs.h" |
| 7342 /* Override any gcc2 internal prototype to avoid an error. */ | 7082 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7343 /* We use char because int might match the return type of a gcc2 | 7083 /* We use char because int might match the return type of a gcc2 |
| 7344 builtin and then its argument prototype would still apply. */ | 7084 builtin and then its argument prototype would still apply. */ |
| 7345 char RkBgnBun(); | 7085 char RkBgnBun(); |
| 7346 | 7086 |
| 7347 int main() { | 7087 int main() { |
| 7348 RkBgnBun() | 7088 RkBgnBun() |
| 7349 ; return 0; } | 7089 ; return 0; } |
| 7350 EOF | 7090 EOF |
| 7351 if { (eval echo configure:7352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7352 rm -rf conftest* | 7092 rm -rf conftest* |
| 7353 eval "ac_cv_lib_$ac_lib_var=yes" | 7093 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7354 else | 7094 else |
| 7355 echo "configure: failed program was:" >&5 | 7095 echo "configure: failed program was:" >&5 |
| 7356 cat conftest.$ac_ext >&5 | 7096 cat conftest.$ac_ext >&5 |
| 7369 fi | 7109 fi |
| 7370 | 7110 |
| 7371 } | 7111 } |
| 7372 test -z "$with_canna" && { | 7112 test -z "$with_canna" && { |
| 7373 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7113 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7374 echo "configure:7375: checking for jrKanjiControl in -lcanna" >&5 | 7114 echo "configure:7115: checking for jrKanjiControl in -lcanna" >&5 |
| 7375 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7115 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7376 | 7116 |
| 7377 xe_check_libs=" -lcanna " | 7117 xe_check_libs=" -lcanna " |
| 7378 cat > conftest.$ac_ext <<EOF | 7118 cat > conftest.$ac_ext <<EOF |
| 7379 #line 7380 "configure" | 7119 #line 7120 "configure" |
| 7380 #include "confdefs.h" | 7120 #include "confdefs.h" |
| 7381 /* Override any gcc2 internal prototype to avoid an error. */ | 7121 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7382 /* We use char because int might match the return type of a gcc2 | 7122 /* We use char because int might match the return type of a gcc2 |
| 7383 builtin and then its argument prototype would still apply. */ | 7123 builtin and then its argument prototype would still apply. */ |
| 7384 char jrKanjiControl(); | 7124 char jrKanjiControl(); |
| 7385 | 7125 |
| 7386 int main() { | 7126 int main() { |
| 7387 jrKanjiControl() | 7127 jrKanjiControl() |
| 7388 ; return 0; } | 7128 ; return 0; } |
| 7389 EOF | 7129 EOF |
| 7390 if { (eval echo configure:7391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7391 rm -rf conftest* | 7131 rm -rf conftest* |
| 7392 eval "ac_cv_lib_$ac_lib_var=yes" | 7132 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7393 else | 7133 else |
| 7394 echo "configure: failed program was:" >&5 | 7134 echo "configure: failed program was:" >&5 |
| 7395 cat conftest.$ac_ext >&5 | 7135 cat conftest.$ac_ext >&5 |
| 7432 done | 7172 done |
| 7433 fi | 7173 fi |
| 7434 | 7174 |
| 7435 if test "$need_motif" = "yes" ; then | 7175 if test "$need_motif" = "yes" ; then |
| 7436 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7176 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 7177 | |
| 7178 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | |
| 7179 echo "configure:7180: checking for layout_object_getvalue in -li18n" >&5 | |
| 7180 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | |
| 7181 | |
| 7182 xe_check_libs=" -li18n " | |
| 7183 cat > conftest.$ac_ext <<EOF | |
| 7184 #line 7185 "configure" | |
| 7185 #include "confdefs.h" | |
| 7186 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 7187 /* We use char because int might match the return type of a gcc2 | |
| 7188 builtin and then its argument prototype would still apply. */ | |
| 7189 char layout_object_getvalue(); | |
| 7190 | |
| 7191 int main() { | |
| 7192 layout_object_getvalue() | |
| 7193 ; return 0; } | |
| 7194 EOF | |
| 7195 if { (eval echo configure:7196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 7196 rm -rf conftest* | |
| 7197 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 7198 else | |
| 7199 echo "configure: failed program was:" >&5 | |
| 7200 cat conftest.$ac_ext >&5 | |
| 7201 rm -rf conftest* | |
| 7202 eval "ac_cv_lib_$ac_lib_var=no" | |
| 7203 fi | |
| 7204 rm -f conftest* | |
| 7205 xe_check_libs="" | |
| 7206 | |
| 7207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 7208 echo "$ac_t""yes" 1>&6 | |
| 7209 libs_x="-li18n $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-li18n\" to \$libs_x"; fi | |
| 7210 else | |
| 7211 echo "$ac_t""no" 1>&6 | |
| 7212 fi | |
| 7213 | |
| 7214 | |
| 7437 | 7215 |
| 7438 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then | 7216 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then |
| 7439 ld_switch_site=`echo '' $ld_switch_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"` | 7217 ld_switch_site=`echo '' $ld_switch_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"` |
| 7440 ld_switch_x_site=`echo '' $ld_switch_x_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"` | 7218 ld_switch_x_site=`echo '' $ld_switch_x_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"` |
| 7441 | 7219 |
| 7485 fi | 7263 fi |
| 7486 | 7264 |
| 7487 for ac_func in acosh asinh atanh 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 strcasecmp strerror tzset ulimit usleep utimes waitpid | 7265 for ac_func in acosh asinh atanh 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 strcasecmp strerror tzset ulimit usleep utimes waitpid |
| 7488 do | 7266 do |
| 7489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7490 echo "configure:7491: checking for $ac_func" >&5 | 7268 echo "configure:7269: checking for $ac_func" >&5 |
| 7491 | 7269 |
| 7492 cat > conftest.$ac_ext <<EOF | 7270 cat > conftest.$ac_ext <<EOF |
| 7493 #line 7494 "configure" | 7271 #line 7272 "configure" |
| 7494 #include "confdefs.h" | 7272 #include "confdefs.h" |
| 7495 /* System header to define __stub macros and hopefully few prototypes, | 7273 /* System header to define __stub macros and hopefully few prototypes, |
| 7496 which can conflict with char $ac_func(); below. */ | 7274 which can conflict with char $ac_func(); below. */ |
| 7497 #include <assert.h> | 7275 #include <assert.h> |
| 7498 /* Override any gcc2 internal prototype to avoid an error. */ | 7276 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7511 $ac_func(); | 7289 $ac_func(); |
| 7512 #endif | 7290 #endif |
| 7513 | 7291 |
| 7514 ; return 0; } | 7292 ; return 0; } |
| 7515 EOF | 7293 EOF |
| 7516 if { (eval echo configure:7517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7517 rm -rf conftest* | 7295 rm -rf conftest* |
| 7518 eval "ac_cv_func_$ac_func=yes" | 7296 eval "ac_cv_func_$ac_func=yes" |
| 7519 else | 7297 else |
| 7520 echo "configure: failed program was:" >&5 | 7298 echo "configure: failed program was:" >&5 |
| 7521 cat conftest.$ac_ext >&5 | 7299 cat conftest.$ac_ext >&5 |
| 7548 fi ;; | 7326 fi ;; |
| 7549 * ) | 7327 * ) |
| 7550 for ac_func in realpath | 7328 for ac_func in realpath |
| 7551 do | 7329 do |
| 7552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7553 echo "configure:7554: checking for $ac_func" >&5 | 7331 echo "configure:7332: checking for $ac_func" >&5 |
| 7554 | 7332 |
| 7555 cat > conftest.$ac_ext <<EOF | 7333 cat > conftest.$ac_ext <<EOF |
| 7556 #line 7557 "configure" | 7334 #line 7335 "configure" |
| 7557 #include "confdefs.h" | 7335 #include "confdefs.h" |
| 7558 /* System header to define __stub macros and hopefully few prototypes, | 7336 /* System header to define __stub macros and hopefully few prototypes, |
| 7559 which can conflict with char $ac_func(); below. */ | 7337 which can conflict with char $ac_func(); below. */ |
| 7560 #include <assert.h> | 7338 #include <assert.h> |
| 7561 /* Override any gcc2 internal prototype to avoid an error. */ | 7339 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7574 $ac_func(); | 7352 $ac_func(); |
| 7575 #endif | 7353 #endif |
| 7576 | 7354 |
| 7577 ; return 0; } | 7355 ; return 0; } |
| 7578 EOF | 7356 EOF |
| 7579 if { (eval echo configure:7580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7357 if { (eval echo configure:7358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7580 rm -rf conftest* | 7358 rm -rf conftest* |
| 7581 eval "ac_cv_func_$ac_func=yes" | 7359 eval "ac_cv_func_$ac_func=yes" |
| 7582 else | 7360 else |
| 7583 echo "configure: failed program was:" >&5 | 7361 echo "configure: failed program was:" >&5 |
| 7584 cat conftest.$ac_ext >&5 | 7362 cat conftest.$ac_ext >&5 |
| 7607 echo " xemacs will be linked with \"realpath.o\"" | 7385 echo " xemacs will be linked with \"realpath.o\"" |
| 7608 fi ;; | 7386 fi ;; |
| 7609 esac | 7387 esac |
| 7610 | 7388 |
| 7611 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7389 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7612 echo "configure:7613: checking whether netdb declares h_errno" >&5 | 7390 echo "configure:7391: checking whether netdb declares h_errno" >&5 |
| 7613 cat > conftest.$ac_ext <<EOF | 7391 cat > conftest.$ac_ext <<EOF |
| 7614 #line 7615 "configure" | 7392 #line 7393 "configure" |
| 7615 #include "confdefs.h" | 7393 #include "confdefs.h" |
| 7616 #include <netdb.h> | 7394 #include <netdb.h> |
| 7617 int main() { | 7395 int main() { |
| 7618 return h_errno; | 7396 return h_errno; |
| 7619 ; return 0; } | 7397 ; return 0; } |
| 7620 EOF | 7398 EOF |
| 7621 if { (eval echo configure:7622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7399 if { (eval echo configure:7400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7622 rm -rf conftest* | 7400 rm -rf conftest* |
| 7623 echo "$ac_t""yes" 1>&6 | 7401 echo "$ac_t""yes" 1>&6 |
| 7624 { test "$extra_verbose" = "yes" && cat << \EOF | 7402 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7625 Defining HAVE_H_ERRNO | 7403 Defining HAVE_H_ERRNO |
| 7626 EOF | 7404 EOF |
| 7636 echo "$ac_t""no" 1>&6 | 7414 echo "$ac_t""no" 1>&6 |
| 7637 fi | 7415 fi |
| 7638 rm -f conftest* | 7416 rm -f conftest* |
| 7639 | 7417 |
| 7640 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7418 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7641 echo "configure:7642: checking for sigsetjmp" >&5 | 7419 echo "configure:7420: checking for sigsetjmp" >&5 |
| 7642 cat > conftest.$ac_ext <<EOF | 7420 cat > conftest.$ac_ext <<EOF |
| 7643 #line 7644 "configure" | 7421 #line 7422 "configure" |
| 7644 #include "confdefs.h" | 7422 #include "confdefs.h" |
| 7645 #include <setjmp.h> | 7423 #include <setjmp.h> |
| 7646 int main() { | 7424 int main() { |
| 7647 sigjmp_buf bar; sigsetjmp (bar, 0); | 7425 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7648 ; return 0; } | 7426 ; return 0; } |
| 7649 EOF | 7427 EOF |
| 7650 if { (eval echo configure:7651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7428 if { (eval echo configure:7429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7651 rm -rf conftest* | 7429 rm -rf conftest* |
| 7652 echo "$ac_t""yes" 1>&6 | 7430 echo "$ac_t""yes" 1>&6 |
| 7653 { test "$extra_verbose" = "yes" && cat << \EOF | 7431 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7654 Defining HAVE_SIGSETJMP | 7432 Defining HAVE_SIGSETJMP |
| 7655 EOF | 7433 EOF |
| 7665 echo "$ac_t""no" 1>&6 | 7443 echo "$ac_t""no" 1>&6 |
| 7666 fi | 7444 fi |
| 7667 rm -f conftest* | 7445 rm -f conftest* |
| 7668 | 7446 |
| 7669 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7447 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7670 echo "configure:7671: checking whether localtime caches TZ" >&5 | 7448 echo "configure:7449: checking whether localtime caches TZ" >&5 |
| 7671 | 7449 |
| 7672 if test "$ac_cv_func_tzset" = "yes"; then | 7450 if test "$ac_cv_func_tzset" = "yes"; then |
| 7673 cat > conftest.$ac_ext <<EOF | 7451 cat > conftest.$ac_ext <<EOF |
| 7674 #line 7675 "configure" | 7452 #line 7453 "configure" |
| 7675 #include "confdefs.h" | 7453 #include "confdefs.h" |
| 7676 #include <time.h> | 7454 #include <time.h> |
| 7677 #if STDC_HEADERS | 7455 #if STDC_HEADERS |
| 7678 # include <stdlib.h> | 7456 # include <stdlib.h> |
| 7679 #endif | 7457 #endif |
| 7704 if (localtime (&now)->tm_hour != hour_unset) | 7482 if (localtime (&now)->tm_hour != hour_unset) |
| 7705 exit (1); | 7483 exit (1); |
| 7706 exit (0); | 7484 exit (0); |
| 7707 } | 7485 } |
| 7708 EOF | 7486 EOF |
| 7709 if { (eval echo configure:7710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7487 if { (eval echo configure:7488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7710 then | 7488 then |
| 7711 emacs_cv_localtime_cache=no | 7489 emacs_cv_localtime_cache=no |
| 7712 else | 7490 else |
| 7713 echo "configure: failed program was:" >&5 | 7491 echo "configure: failed program was:" >&5 |
| 7714 cat conftest.$ac_ext >&5 | 7492 cat conftest.$ac_ext >&5 |
| 7733 | 7511 |
| 7734 fi | 7512 fi |
| 7735 | 7513 |
| 7736 if test "$HAVE_TIMEVAL" = "yes"; then | 7514 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7737 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7515 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7738 echo "configure:7739: checking whether gettimeofday cannot accept two arguments" >&5 | 7516 echo "configure:7517: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7739 cat > conftest.$ac_ext <<EOF | 7517 cat > conftest.$ac_ext <<EOF |
| 7740 #line 7741 "configure" | 7518 #line 7519 "configure" |
| 7741 #include "confdefs.h" | 7519 #include "confdefs.h" |
| 7742 | 7520 |
| 7743 #ifdef TIME_WITH_SYS_TIME | 7521 #ifdef TIME_WITH_SYS_TIME |
| 7744 #include <sys/time.h> | 7522 #include <sys/time.h> |
| 7745 #include <time.h> | 7523 #include <time.h> |
| 7757 struct timezone dummy; | 7535 struct timezone dummy; |
| 7758 gettimeofday (&time, &dummy); | 7536 gettimeofday (&time, &dummy); |
| 7759 | 7537 |
| 7760 ; return 0; } | 7538 ; return 0; } |
| 7761 EOF | 7539 EOF |
| 7762 if { (eval echo configure:7763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7540 if { (eval echo configure:7541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7763 rm -rf conftest* | 7541 rm -rf conftest* |
| 7764 echo "$ac_t""no" 1>&6 | 7542 echo "$ac_t""no" 1>&6 |
| 7765 else | 7543 else |
| 7766 echo "configure: failed program was:" >&5 | 7544 echo "configure: failed program was:" >&5 |
| 7767 cat conftest.$ac_ext >&5 | 7545 cat conftest.$ac_ext >&5 |
| 7777 | 7555 |
| 7778 fi | 7556 fi |
| 7779 rm -f conftest* | 7557 rm -f conftest* |
| 7780 fi | 7558 fi |
| 7781 | 7559 |
| 7560 echo $ac_n "checking whether the timezone variable is already declared""... $ac_c" 1>&6 | |
| 7561 echo "configure:7562: checking whether the timezone variable is already declared" >&5 | |
| 7562 cat > conftest.$ac_ext <<EOF | |
| 7563 #line 7564 "configure" | |
| 7564 #include "confdefs.h" | |
| 7565 | |
| 7566 #ifdef TIME_WITH_SYS_TIME | |
| 7567 #include <sys/time.h> | |
| 7568 #include <time.h> | |
| 7569 #else | |
| 7570 #ifdef HAVE_SYS_TIME_H | |
| 7571 #include <sys/time.h> | |
| 7572 #else | |
| 7573 #include <time.h> | |
| 7574 #endif | |
| 7575 #endif | |
| 7576 | |
| 7577 int main() { | |
| 7578 | |
| 7579 timezone = 0; | |
| 7580 | |
| 7581 ; return 0; } | |
| 7582 EOF | |
| 7583 if { (eval echo configure:7584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 7584 rm -rf conftest* | |
| 7585 echo "$ac_t""yes" 1>&6 | |
| 7586 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 7587 Defining HAVE_TIMEZONE_DECL | |
| 7588 EOF | |
| 7589 cat >> confdefs.h <<\EOF | |
| 7590 #define HAVE_TIMEZONE_DECL 1 | |
| 7591 EOF | |
| 7592 } | |
| 7593 | |
| 7594 else | |
| 7595 echo "configure: failed program was:" >&5 | |
| 7596 cat conftest.$ac_ext >&5 | |
| 7597 rm -rf conftest* | |
| 7598 echo "$ac_t""no" 1>&6 | |
| 7599 fi | |
| 7600 rm -f conftest* | |
| 7601 | |
| 7602 | |
| 7782 | 7603 |
| 7783 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7604 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7784 echo "configure:7785: checking for inline" >&5 | 7605 echo "configure:7606: checking for inline" >&5 |
| 7785 | 7606 |
| 7786 ac_cv_c_inline=no | 7607 ac_cv_c_inline=no |
| 7787 for ac_kw in inline __inline__ __inline; do | 7608 for ac_kw in inline __inline__ __inline; do |
| 7788 cat > conftest.$ac_ext <<EOF | 7609 cat > conftest.$ac_ext <<EOF |
| 7789 #line 7790 "configure" | 7610 #line 7611 "configure" |
| 7790 #include "confdefs.h" | 7611 #include "confdefs.h" |
| 7791 | 7612 |
| 7792 int main() { | 7613 int main() { |
| 7793 } $ac_kw foo() { | 7614 } $ac_kw foo() { |
| 7794 ; return 0; } | 7615 ; return 0; } |
| 7795 EOF | 7616 EOF |
| 7796 if { (eval echo configure:7797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7617 if { (eval echo configure:7618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7797 rm -rf conftest* | 7618 rm -rf conftest* |
| 7798 ac_cv_c_inline=$ac_kw; break | 7619 ac_cv_c_inline=$ac_kw; break |
| 7799 else | 7620 else |
| 7800 echo "configure: failed program was:" >&5 | 7621 echo "configure: failed program was:" >&5 |
| 7801 cat conftest.$ac_ext >&5 | 7622 cat conftest.$ac_ext >&5 |
| 7841 | 7662 |
| 7842 | 7663 |
| 7843 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7664 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7844 # for constant arguments. Useless! | 7665 # for constant arguments. Useless! |
| 7845 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7666 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7846 echo "configure:7847: checking for working alloca.h" >&5 | 7667 echo "configure:7668: checking for working alloca.h" >&5 |
| 7847 | 7668 |
| 7848 cat > conftest.$ac_ext <<EOF | 7669 cat > conftest.$ac_ext <<EOF |
| 7849 #line 7850 "configure" | 7670 #line 7671 "configure" |
| 7850 #include "confdefs.h" | 7671 #include "confdefs.h" |
| 7851 #include <alloca.h> | 7672 #include <alloca.h> |
| 7852 int main() { | 7673 int main() { |
| 7853 char *p = alloca(2 * sizeof(int)); | 7674 char *p = alloca(2 * sizeof(int)); |
| 7854 ; return 0; } | 7675 ; return 0; } |
| 7855 EOF | 7676 EOF |
| 7856 if { (eval echo configure:7857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7677 if { (eval echo configure:7678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7857 rm -rf conftest* | 7678 rm -rf conftest* |
| 7858 ac_cv_header_alloca_h=yes | 7679 ac_cv_header_alloca_h=yes |
| 7859 else | 7680 else |
| 7860 echo "configure: failed program was:" >&5 | 7681 echo "configure: failed program was:" >&5 |
| 7861 cat conftest.$ac_ext >&5 | 7682 cat conftest.$ac_ext >&5 |
| 7875 } | 7696 } |
| 7876 | 7697 |
| 7877 fi | 7698 fi |
| 7878 | 7699 |
| 7879 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7700 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 7880 echo "configure:7881: checking for alloca" >&5 | 7701 echo "configure:7702: checking for alloca" >&5 |
| 7881 | 7702 |
| 7882 cat > conftest.$ac_ext <<EOF | 7703 cat > conftest.$ac_ext <<EOF |
| 7883 #line 7884 "configure" | 7704 #line 7705 "configure" |
| 7884 #include "confdefs.h" | 7705 #include "confdefs.h" |
| 7885 | 7706 |
| 7886 #ifdef __GNUC__ | 7707 #ifdef __GNUC__ |
| 7887 # define alloca __builtin_alloca | 7708 # define alloca __builtin_alloca |
| 7888 #else | 7709 #else |
| 7901 | 7722 |
| 7902 int main() { | 7723 int main() { |
| 7903 char *p = (char *) alloca(1); | 7724 char *p = (char *) alloca(1); |
| 7904 ; return 0; } | 7725 ; return 0; } |
| 7905 EOF | 7726 EOF |
| 7906 if { (eval echo configure:7907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7907 rm -rf conftest* | 7728 rm -rf conftest* |
| 7908 ac_cv_func_alloca_works=yes | 7729 ac_cv_func_alloca_works=yes |
| 7909 else | 7730 else |
| 7910 echo "configure: failed program was:" >&5 | 7731 echo "configure: failed program was:" >&5 |
| 7911 cat conftest.$ac_ext >&5 | 7732 cat conftest.$ac_ext >&5 |
| 7940 EOF | 7761 EOF |
| 7941 } | 7762 } |
| 7942 | 7763 |
| 7943 | 7764 |
| 7944 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7765 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 7945 echo "configure:7946: checking whether alloca needs Cray hooks" >&5 | 7766 echo "configure:7767: checking whether alloca needs Cray hooks" >&5 |
| 7946 | 7767 |
| 7947 cat > conftest.$ac_ext <<EOF | 7768 cat > conftest.$ac_ext <<EOF |
| 7948 #line 7949 "configure" | 7769 #line 7770 "configure" |
| 7949 #include "confdefs.h" | 7770 #include "confdefs.h" |
| 7950 #if defined(CRAY) && ! defined(CRAY2) | 7771 #if defined(CRAY) && ! defined(CRAY2) |
| 7951 webecray | 7772 webecray |
| 7952 #else | 7773 #else |
| 7953 wenotbecray | 7774 wenotbecray |
| 7967 | 7788 |
| 7968 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7789 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 7969 if test $ac_cv_os_cray = yes; then | 7790 if test $ac_cv_os_cray = yes; then |
| 7970 for ac_func in _getb67 GETB67 getb67; do | 7791 for ac_func in _getb67 GETB67 getb67; do |
| 7971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7972 echo "configure:7973: checking for $ac_func" >&5 | 7793 echo "configure:7794: checking for $ac_func" >&5 |
| 7973 | 7794 |
| 7974 cat > conftest.$ac_ext <<EOF | 7795 cat > conftest.$ac_ext <<EOF |
| 7975 #line 7976 "configure" | 7796 #line 7797 "configure" |
| 7976 #include "confdefs.h" | 7797 #include "confdefs.h" |
| 7977 /* System header to define __stub macros and hopefully few prototypes, | 7798 /* System header to define __stub macros and hopefully few prototypes, |
| 7978 which can conflict with char $ac_func(); below. */ | 7799 which can conflict with char $ac_func(); below. */ |
| 7979 #include <assert.h> | 7800 #include <assert.h> |
| 7980 /* Override any gcc2 internal prototype to avoid an error. */ | 7801 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7993 $ac_func(); | 7814 $ac_func(); |
| 7994 #endif | 7815 #endif |
| 7995 | 7816 |
| 7996 ; return 0; } | 7817 ; return 0; } |
| 7997 EOF | 7818 EOF |
| 7998 if { (eval echo configure:7999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7819 if { (eval echo configure:7820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7999 rm -rf conftest* | 7820 rm -rf conftest* |
| 8000 eval "ac_cv_func_$ac_func=yes" | 7821 eval "ac_cv_func_$ac_func=yes" |
| 8001 else | 7822 else |
| 8002 echo "configure: failed program was:" >&5 | 7823 echo "configure: failed program was:" >&5 |
| 8003 cat conftest.$ac_ext >&5 | 7824 cat conftest.$ac_ext >&5 |
| 8023 | 7844 |
| 8024 done | 7845 done |
| 8025 fi | 7846 fi |
| 8026 | 7847 |
| 8027 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7848 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 8028 echo "configure:8029: checking stack direction for C alloca" >&5 | 7849 echo "configure:7850: checking stack direction for C alloca" >&5 |
| 8029 | 7850 |
| 8030 cat > conftest.$ac_ext <<EOF | 7851 cat > conftest.$ac_ext <<EOF |
| 8031 #line 8032 "configure" | 7852 #line 7853 "configure" |
| 8032 #include "confdefs.h" | 7853 #include "confdefs.h" |
| 8033 find_stack_direction () | 7854 find_stack_direction () |
| 8034 { | 7855 { |
| 8035 static char *addr = 0; | 7856 static char *addr = 0; |
| 8036 auto char dummy; | 7857 auto char dummy; |
| 8045 main () | 7866 main () |
| 8046 { | 7867 { |
| 8047 exit (find_stack_direction() < 0); | 7868 exit (find_stack_direction() < 0); |
| 8048 } | 7869 } |
| 8049 EOF | 7870 EOF |
| 8050 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8051 then | 7872 then |
| 8052 ac_cv_c_stack_direction=1 | 7873 ac_cv_c_stack_direction=1 |
| 8053 else | 7874 else |
| 8054 echo "configure: failed program was:" >&5 | 7875 echo "configure: failed program was:" >&5 |
| 8055 cat conftest.$ac_ext >&5 | 7876 cat conftest.$ac_ext >&5 |
| 8073 echo " xemacs will be linked with \"$ALLOCA\"" | 7894 echo " xemacs will be linked with \"$ALLOCA\"" |
| 8074 fi | 7895 fi |
| 8075 | 7896 |
| 8076 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7897 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 8077 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7898 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 8078 echo "configure:8079: checking for vfork.h" >&5 | 7899 echo "configure:7900: checking for vfork.h" >&5 |
| 8079 | 7900 |
| 8080 cat > conftest.$ac_ext <<EOF | 7901 cat > conftest.$ac_ext <<EOF |
| 8081 #line 8082 "configure" | 7902 #line 7903 "configure" |
| 8082 #include "confdefs.h" | 7903 #include "confdefs.h" |
| 8083 #include <vfork.h> | 7904 #include <vfork.h> |
| 8084 EOF | 7905 EOF |
| 8085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8086 { (eval echo configure:8087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7907 { (eval echo configure:7908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8087 ac_err=`grep -v '^ *+' conftest.out` | 7908 ac_err=`grep -v '^ *+' conftest.out` |
| 8088 if test -z "$ac_err"; then | 7909 if test -z "$ac_err"; then |
| 8089 rm -rf conftest* | 7910 rm -rf conftest* |
| 8090 eval "ac_cv_header_$ac_safe=yes" | 7911 eval "ac_cv_header_$ac_safe=yes" |
| 8091 else | 7912 else |
| 8109 else | 7930 else |
| 8110 echo "$ac_t""no" 1>&6 | 7931 echo "$ac_t""no" 1>&6 |
| 8111 fi | 7932 fi |
| 8112 | 7933 |
| 8113 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7934 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8114 echo "configure:8115: checking for working vfork" >&5 | 7935 echo "configure:7936: checking for working vfork" >&5 |
| 8115 | 7936 |
| 8116 cat > conftest.$ac_ext <<EOF | 7937 cat > conftest.$ac_ext <<EOF |
| 8117 #line 8118 "configure" | 7938 #line 7939 "configure" |
| 8118 #include "confdefs.h" | 7939 #include "confdefs.h" |
| 8119 /* Thanks to Paul Eggert for this test. */ | 7940 /* Thanks to Paul Eggert for this test. */ |
| 8120 #include <stdio.h> | 7941 #include <stdio.h> |
| 8121 #include <sys/types.h> | 7942 #include <sys/types.h> |
| 8122 #include <sys/stat.h> | 7943 #include <sys/stat.h> |
| 8207 || fstat(fileno(stdout), &st) != 0 | 8028 || fstat(fileno(stdout), &st) != 0 |
| 8208 ); | 8029 ); |
| 8209 } | 8030 } |
| 8210 } | 8031 } |
| 8211 EOF | 8032 EOF |
| 8212 if { (eval echo configure:8213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8033 if { (eval echo configure:8034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8213 then | 8034 then |
| 8214 ac_cv_func_vfork_works=yes | 8035 ac_cv_func_vfork_works=yes |
| 8215 else | 8036 else |
| 8216 echo "configure: failed program was:" >&5 | 8037 echo "configure: failed program was:" >&5 |
| 8217 cat conftest.$ac_ext >&5 | 8038 cat conftest.$ac_ext >&5 |
| 8232 | 8053 |
| 8233 fi | 8054 fi |
| 8234 | 8055 |
| 8235 | 8056 |
| 8236 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8057 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8237 echo "configure:8238: checking for working strcoll" >&5 | 8058 echo "configure:8059: checking for working strcoll" >&5 |
| 8238 | 8059 |
| 8239 cat > conftest.$ac_ext <<EOF | 8060 cat > conftest.$ac_ext <<EOF |
| 8240 #line 8241 "configure" | 8061 #line 8062 "configure" |
| 8241 #include "confdefs.h" | 8062 #include "confdefs.h" |
| 8242 #include <string.h> | 8063 #include <string.h> |
| 8243 main () | 8064 main () |
| 8244 { | 8065 { |
| 8245 exit (strcoll ("abc", "def") >= 0 || | 8066 exit (strcoll ("abc", "def") >= 0 || |
| 8246 strcoll ("ABC", "DEF") >= 0 || | 8067 strcoll ("ABC", "DEF") >= 0 || |
| 8247 strcoll ("123", "456") >= 0); | 8068 strcoll ("123", "456") >= 0); |
| 8248 } | 8069 } |
| 8249 EOF | 8070 EOF |
| 8250 if { (eval echo configure:8251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8071 if { (eval echo configure:8072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8251 then | 8072 then |
| 8252 ac_cv_func_strcoll_works=yes | 8073 ac_cv_func_strcoll_works=yes |
| 8253 else | 8074 else |
| 8254 echo "configure: failed program was:" >&5 | 8075 echo "configure: failed program was:" >&5 |
| 8255 cat conftest.$ac_ext >&5 | 8076 cat conftest.$ac_ext >&5 |
| 8272 | 8093 |
| 8273 | 8094 |
| 8274 for ac_func in getpgrp | 8095 for ac_func in getpgrp |
| 8275 do | 8096 do |
| 8276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8277 echo "configure:8278: checking for $ac_func" >&5 | 8098 echo "configure:8099: checking for $ac_func" >&5 |
| 8278 | 8099 |
| 8279 cat > conftest.$ac_ext <<EOF | 8100 cat > conftest.$ac_ext <<EOF |
| 8280 #line 8281 "configure" | 8101 #line 8102 "configure" |
| 8281 #include "confdefs.h" | 8102 #include "confdefs.h" |
| 8282 /* System header to define __stub macros and hopefully few prototypes, | 8103 /* System header to define __stub macros and hopefully few prototypes, |
| 8283 which can conflict with char $ac_func(); below. */ | 8104 which can conflict with char $ac_func(); below. */ |
| 8284 #include <assert.h> | 8105 #include <assert.h> |
| 8285 /* Override any gcc2 internal prototype to avoid an error. */ | 8106 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8298 $ac_func(); | 8119 $ac_func(); |
| 8299 #endif | 8120 #endif |
| 8300 | 8121 |
| 8301 ; return 0; } | 8122 ; return 0; } |
| 8302 EOF | 8123 EOF |
| 8303 if { (eval echo configure:8304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8124 if { (eval echo configure:8125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8304 rm -rf conftest* | 8125 rm -rf conftest* |
| 8305 eval "ac_cv_func_$ac_func=yes" | 8126 eval "ac_cv_func_$ac_func=yes" |
| 8306 else | 8127 else |
| 8307 echo "configure: failed program was:" >&5 | 8128 echo "configure: failed program was:" >&5 |
| 8308 cat conftest.$ac_ext >&5 | 8129 cat conftest.$ac_ext >&5 |
| 8326 echo "$ac_t""no" 1>&6 | 8147 echo "$ac_t""no" 1>&6 |
| 8327 fi | 8148 fi |
| 8328 done | 8149 done |
| 8329 | 8150 |
| 8330 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8151 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8331 echo "configure:8332: checking whether getpgrp takes no argument" >&5 | 8152 echo "configure:8153: checking whether getpgrp takes no argument" >&5 |
| 8332 | 8153 |
| 8333 cat > conftest.$ac_ext <<EOF | 8154 cat > conftest.$ac_ext <<EOF |
| 8334 #line 8335 "configure" | 8155 #line 8156 "configure" |
| 8335 #include "confdefs.h" | 8156 #include "confdefs.h" |
| 8336 | 8157 |
| 8337 /* | 8158 /* |
| 8338 * If this system has a BSD-style getpgrp(), | 8159 * If this system has a BSD-style getpgrp(), |
| 8339 * which takes a pid argument, exit unsuccessfully. | 8160 * which takes a pid argument, exit unsuccessfully. |
| 8384 exit(s>>8); | 8205 exit(s>>8); |
| 8385 } | 8206 } |
| 8386 } | 8207 } |
| 8387 | 8208 |
| 8388 EOF | 8209 EOF |
| 8389 if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8210 if { (eval echo configure:8211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8390 then | 8211 then |
| 8391 ac_cv_func_getpgrp_void=yes | 8212 ac_cv_func_getpgrp_void=yes |
| 8392 else | 8213 else |
| 8393 echo "configure: failed program was:" >&5 | 8214 echo "configure: failed program was:" >&5 |
| 8394 cat conftest.$ac_ext >&5 | 8215 cat conftest.$ac_ext >&5 |
| 8410 | 8231 |
| 8411 fi | 8232 fi |
| 8412 | 8233 |
| 8413 | 8234 |
| 8414 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8235 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 8415 echo "configure:8416: checking for working mmap" >&5 | 8236 echo "configure:8237: checking for working mmap" >&5 |
| 8416 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8237 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 8417 cat > conftest.$ac_ext <<EOF | 8238 cat > conftest.$ac_ext <<EOF |
| 8418 #line 8419 "configure" | 8239 #line 8240 "configure" |
| 8419 #include "confdefs.h" | 8240 #include "confdefs.h" |
| 8420 #include <stdio.h> | 8241 #include <stdio.h> |
| 8421 #include <unistd.h> | 8242 #include <unistd.h> |
| 8422 #include <fcntl.h> | 8243 #include <fcntl.h> |
| 8423 #include <sys/mman.h> | 8244 #include <sys/mman.h> |
| 8446 return 0; | 8267 return 0; |
| 8447 perror ("conftest: mmap failed"); | 8268 perror ("conftest: mmap failed"); |
| 8448 return 1; | 8269 return 1; |
| 8449 } | 8270 } |
| 8450 EOF | 8271 EOF |
| 8451 if { (eval echo configure:8452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8272 if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8452 then | 8273 then |
| 8453 have_mmap=yes | 8274 have_mmap=yes |
| 8454 else | 8275 else |
| 8455 echo "configure: failed program was:" >&5 | 8276 echo "configure: failed program was:" >&5 |
| 8456 cat conftest.$ac_ext >&5 | 8277 cat conftest.$ac_ext >&5 |
| 8480 } | 8301 } |
| 8481 | 8302 |
| 8482 | 8303 |
| 8483 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8304 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 8484 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8305 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 8485 echo "configure:8486: checking for termios.h" >&5 | 8306 echo "configure:8307: checking for termios.h" >&5 |
| 8486 | 8307 |
| 8487 cat > conftest.$ac_ext <<EOF | 8308 cat > conftest.$ac_ext <<EOF |
| 8488 #line 8489 "configure" | 8309 #line 8310 "configure" |
| 8489 #include "confdefs.h" | 8310 #include "confdefs.h" |
| 8490 #include <termios.h> | 8311 #include <termios.h> |
| 8491 EOF | 8312 EOF |
| 8492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8493 { (eval echo configure:8494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8314 { (eval echo configure:8315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8494 ac_err=`grep -v '^ *+' conftest.out` | 8315 ac_err=`grep -v '^ *+' conftest.out` |
| 8495 if test -z "$ac_err"; then | 8316 if test -z "$ac_err"; then |
| 8496 rm -rf conftest* | 8317 rm -rf conftest* |
| 8497 eval "ac_cv_header_$ac_safe=yes" | 8318 eval "ac_cv_header_$ac_safe=yes" |
| 8498 else | 8319 else |
| 8531 | 8352 |
| 8532 else | 8353 else |
| 8533 echo "$ac_t""no" 1>&6 | 8354 echo "$ac_t""no" 1>&6 |
| 8534 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8355 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 8535 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8356 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 8536 echo "configure:8537: checking for termio.h" >&5 | 8357 echo "configure:8358: checking for termio.h" >&5 |
| 8537 | 8358 |
| 8538 cat > conftest.$ac_ext <<EOF | 8359 cat > conftest.$ac_ext <<EOF |
| 8539 #line 8540 "configure" | 8360 #line 8361 "configure" |
| 8540 #include "confdefs.h" | 8361 #include "confdefs.h" |
| 8541 #include <termio.h> | 8362 #include <termio.h> |
| 8542 EOF | 8363 EOF |
| 8543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8544 { (eval echo configure:8545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8365 { (eval echo configure:8366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8545 ac_err=`grep -v '^ *+' conftest.out` | 8366 ac_err=`grep -v '^ *+' conftest.out` |
| 8546 if test -z "$ac_err"; then | 8367 if test -z "$ac_err"; then |
| 8547 rm -rf conftest* | 8368 rm -rf conftest* |
| 8548 eval "ac_cv_header_$ac_safe=yes" | 8369 eval "ac_cv_header_$ac_safe=yes" |
| 8549 else | 8370 else |
| 8571 fi | 8392 fi |
| 8572 | 8393 |
| 8573 | 8394 |
| 8574 | 8395 |
| 8575 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8396 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8576 echo "configure:8577: checking for socket" >&5 | 8397 echo "configure:8398: checking for socket" >&5 |
| 8577 | 8398 |
| 8578 cat > conftest.$ac_ext <<EOF | 8399 cat > conftest.$ac_ext <<EOF |
| 8579 #line 8580 "configure" | 8400 #line 8401 "configure" |
| 8580 #include "confdefs.h" | 8401 #include "confdefs.h" |
| 8581 /* System header to define __stub macros and hopefully few prototypes, | 8402 /* System header to define __stub macros and hopefully few prototypes, |
| 8582 which can conflict with char socket(); below. */ | 8403 which can conflict with char socket(); below. */ |
| 8583 #include <assert.h> | 8404 #include <assert.h> |
| 8584 /* Override any gcc2 internal prototype to avoid an error. */ | 8405 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8597 socket(); | 8418 socket(); |
| 8598 #endif | 8419 #endif |
| 8599 | 8420 |
| 8600 ; return 0; } | 8421 ; return 0; } |
| 8601 EOF | 8422 EOF |
| 8602 if { (eval echo configure:8603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8423 if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8603 rm -rf conftest* | 8424 rm -rf conftest* |
| 8604 eval "ac_cv_func_socket=yes" | 8425 eval "ac_cv_func_socket=yes" |
| 8605 else | 8426 else |
| 8606 echo "configure: failed program was:" >&5 | 8427 echo "configure: failed program was:" >&5 |
| 8607 cat conftest.$ac_ext >&5 | 8428 cat conftest.$ac_ext >&5 |
| 8612 | 8433 |
| 8613 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8434 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8614 echo "$ac_t""yes" 1>&6 | 8435 echo "$ac_t""yes" 1>&6 |
| 8615 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8436 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8616 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8437 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8617 echo "configure:8618: checking for netinet/in.h" >&5 | 8438 echo "configure:8439: checking for netinet/in.h" >&5 |
| 8618 | 8439 |
| 8619 cat > conftest.$ac_ext <<EOF | 8440 cat > conftest.$ac_ext <<EOF |
| 8620 #line 8621 "configure" | 8441 #line 8442 "configure" |
| 8621 #include "confdefs.h" | 8442 #include "confdefs.h" |
| 8622 #include <netinet/in.h> | 8443 #include <netinet/in.h> |
| 8623 EOF | 8444 EOF |
| 8624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8625 { (eval echo configure:8626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8446 { (eval echo configure:8447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8626 ac_err=`grep -v '^ *+' conftest.out` | 8447 ac_err=`grep -v '^ *+' conftest.out` |
| 8627 if test -z "$ac_err"; then | 8448 if test -z "$ac_err"; then |
| 8628 rm -rf conftest* | 8449 rm -rf conftest* |
| 8629 eval "ac_cv_header_$ac_safe=yes" | 8450 eval "ac_cv_header_$ac_safe=yes" |
| 8630 else | 8451 else |
| 8637 rm -f conftest* | 8458 rm -f conftest* |
| 8638 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8459 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8639 echo "$ac_t""yes" 1>&6 | 8460 echo "$ac_t""yes" 1>&6 |
| 8640 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8461 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8641 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8462 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8642 echo "configure:8643: checking for arpa/inet.h" >&5 | 8463 echo "configure:8464: checking for arpa/inet.h" >&5 |
| 8643 | 8464 |
| 8644 cat > conftest.$ac_ext <<EOF | 8465 cat > conftest.$ac_ext <<EOF |
| 8645 #line 8646 "configure" | 8466 #line 8467 "configure" |
| 8646 #include "confdefs.h" | 8467 #include "confdefs.h" |
| 8647 #include <arpa/inet.h> | 8468 #include <arpa/inet.h> |
| 8648 EOF | 8469 EOF |
| 8649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8470 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8650 { (eval echo configure:8651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8471 { (eval echo configure:8472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8651 ac_err=`grep -v '^ *+' conftest.out` | 8472 ac_err=`grep -v '^ *+' conftest.out` |
| 8652 if test -z "$ac_err"; then | 8473 if test -z "$ac_err"; then |
| 8653 rm -rf conftest* | 8474 rm -rf conftest* |
| 8654 eval "ac_cv_header_$ac_safe=yes" | 8475 eval "ac_cv_header_$ac_safe=yes" |
| 8655 else | 8476 else |
| 8670 #define HAVE_SOCKETS 1 | 8491 #define HAVE_SOCKETS 1 |
| 8671 EOF | 8492 EOF |
| 8672 } | 8493 } |
| 8673 | 8494 |
| 8674 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8495 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8675 echo "configure:8676: checking "for sun_len member in struct sockaddr_un"" >&5 | 8496 echo "configure:8497: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8676 cat > conftest.$ac_ext <<EOF | 8497 cat > conftest.$ac_ext <<EOF |
| 8677 #line 8678 "configure" | 8498 #line 8499 "configure" |
| 8678 #include "confdefs.h" | 8499 #include "confdefs.h" |
| 8679 | 8500 |
| 8680 #include <sys/types.h> | 8501 #include <sys/types.h> |
| 8681 #include <sys/socket.h> | 8502 #include <sys/socket.h> |
| 8682 #include <sys/un.h> | 8503 #include <sys/un.h> |
| 8683 | 8504 |
| 8684 int main() { | 8505 int main() { |
| 8685 static struct sockaddr_un x; x.sun_len = 1; | 8506 static struct sockaddr_un x; x.sun_len = 1; |
| 8686 ; return 0; } | 8507 ; return 0; } |
| 8687 EOF | 8508 EOF |
| 8688 if { (eval echo configure:8689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8689 rm -rf conftest* | 8510 rm -rf conftest* |
| 8690 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8511 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8691 Defining HAVE_SOCKADDR_SUN_LEN | 8512 Defining HAVE_SOCKADDR_SUN_LEN |
| 8692 EOF | 8513 EOF |
| 8693 cat >> confdefs.h <<\EOF | 8514 cat >> confdefs.h <<\EOF |
| 8714 echo "$ac_t""no" 1>&6 | 8535 echo "$ac_t""no" 1>&6 |
| 8715 fi | 8536 fi |
| 8716 | 8537 |
| 8717 | 8538 |
| 8718 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8539 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8719 echo "configure:8720: checking for msgget" >&5 | 8540 echo "configure:8541: checking for msgget" >&5 |
| 8720 | 8541 |
| 8721 cat > conftest.$ac_ext <<EOF | 8542 cat > conftest.$ac_ext <<EOF |
| 8722 #line 8723 "configure" | 8543 #line 8544 "configure" |
| 8723 #include "confdefs.h" | 8544 #include "confdefs.h" |
| 8724 /* System header to define __stub macros and hopefully few prototypes, | 8545 /* System header to define __stub macros and hopefully few prototypes, |
| 8725 which can conflict with char msgget(); below. */ | 8546 which can conflict with char msgget(); below. */ |
| 8726 #include <assert.h> | 8547 #include <assert.h> |
| 8727 /* Override any gcc2 internal prototype to avoid an error. */ | 8548 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8740 msgget(); | 8561 msgget(); |
| 8741 #endif | 8562 #endif |
| 8742 | 8563 |
| 8743 ; return 0; } | 8564 ; return 0; } |
| 8744 EOF | 8565 EOF |
| 8745 if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8746 rm -rf conftest* | 8567 rm -rf conftest* |
| 8747 eval "ac_cv_func_msgget=yes" | 8568 eval "ac_cv_func_msgget=yes" |
| 8748 else | 8569 else |
| 8749 echo "configure: failed program was:" >&5 | 8570 echo "configure: failed program was:" >&5 |
| 8750 cat conftest.$ac_ext >&5 | 8571 cat conftest.$ac_ext >&5 |
| 8755 | 8576 |
| 8756 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8577 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8757 echo "$ac_t""yes" 1>&6 | 8578 echo "$ac_t""yes" 1>&6 |
| 8758 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8579 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8759 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8580 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8760 echo "configure:8761: checking for sys/ipc.h" >&5 | 8581 echo "configure:8582: checking for sys/ipc.h" >&5 |
| 8761 | 8582 |
| 8762 cat > conftest.$ac_ext <<EOF | 8583 cat > conftest.$ac_ext <<EOF |
| 8763 #line 8764 "configure" | 8584 #line 8585 "configure" |
| 8764 #include "confdefs.h" | 8585 #include "confdefs.h" |
| 8765 #include <sys/ipc.h> | 8586 #include <sys/ipc.h> |
| 8766 EOF | 8587 EOF |
| 8767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8768 { (eval echo configure:8769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8589 { (eval echo configure:8590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8769 ac_err=`grep -v '^ *+' conftest.out` | 8590 ac_err=`grep -v '^ *+' conftest.out` |
| 8770 if test -z "$ac_err"; then | 8591 if test -z "$ac_err"; then |
| 8771 rm -rf conftest* | 8592 rm -rf conftest* |
| 8772 eval "ac_cv_header_$ac_safe=yes" | 8593 eval "ac_cv_header_$ac_safe=yes" |
| 8773 else | 8594 else |
| 8780 rm -f conftest* | 8601 rm -f conftest* |
| 8781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8782 echo "$ac_t""yes" 1>&6 | 8603 echo "$ac_t""yes" 1>&6 |
| 8783 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8604 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8784 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8605 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8785 echo "configure:8786: checking for sys/msg.h" >&5 | 8606 echo "configure:8607: checking for sys/msg.h" >&5 |
| 8786 | 8607 |
| 8787 cat > conftest.$ac_ext <<EOF | 8608 cat > conftest.$ac_ext <<EOF |
| 8788 #line 8789 "configure" | 8609 #line 8610 "configure" |
| 8789 #include "confdefs.h" | 8610 #include "confdefs.h" |
| 8790 #include <sys/msg.h> | 8611 #include <sys/msg.h> |
| 8791 EOF | 8612 EOF |
| 8792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8793 { (eval echo configure:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8614 { (eval echo configure:8615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8794 ac_err=`grep -v '^ *+' conftest.out` | 8615 ac_err=`grep -v '^ *+' conftest.out` |
| 8795 if test -z "$ac_err"; then | 8616 if test -z "$ac_err"; then |
| 8796 rm -rf conftest* | 8617 rm -rf conftest* |
| 8797 eval "ac_cv_header_$ac_safe=yes" | 8618 eval "ac_cv_header_$ac_safe=yes" |
| 8798 else | 8619 else |
| 8826 fi | 8647 fi |
| 8827 | 8648 |
| 8828 | 8649 |
| 8829 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8650 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8830 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8651 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8831 echo "configure:8832: checking for dirent.h" >&5 | 8652 echo "configure:8653: checking for dirent.h" >&5 |
| 8832 | 8653 |
| 8833 cat > conftest.$ac_ext <<EOF | 8654 cat > conftest.$ac_ext <<EOF |
| 8834 #line 8835 "configure" | 8655 #line 8656 "configure" |
| 8835 #include "confdefs.h" | 8656 #include "confdefs.h" |
| 8836 #include <dirent.h> | 8657 #include <dirent.h> |
| 8837 EOF | 8658 EOF |
| 8838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8839 { (eval echo configure:8840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8660 { (eval echo configure:8661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8840 ac_err=`grep -v '^ *+' conftest.out` | 8661 ac_err=`grep -v '^ *+' conftest.out` |
| 8841 if test -z "$ac_err"; then | 8662 if test -z "$ac_err"; then |
| 8842 rm -rf conftest* | 8663 rm -rf conftest* |
| 8843 eval "ac_cv_header_$ac_safe=yes" | 8664 eval "ac_cv_header_$ac_safe=yes" |
| 8844 else | 8665 else |
| 8861 | 8682 |
| 8862 else | 8683 else |
| 8863 echo "$ac_t""no" 1>&6 | 8684 echo "$ac_t""no" 1>&6 |
| 8864 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8685 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 8865 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8686 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 8866 echo "configure:8867: checking for sys/dir.h" >&5 | 8687 echo "configure:8688: checking for sys/dir.h" >&5 |
| 8867 | 8688 |
| 8868 cat > conftest.$ac_ext <<EOF | 8689 cat > conftest.$ac_ext <<EOF |
| 8869 #line 8870 "configure" | 8690 #line 8691 "configure" |
| 8870 #include "confdefs.h" | 8691 #include "confdefs.h" |
| 8871 #include <sys/dir.h> | 8692 #include <sys/dir.h> |
| 8872 EOF | 8693 EOF |
| 8873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8874 { (eval echo configure:8875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8695 { (eval echo configure:8696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8875 ac_err=`grep -v '^ *+' conftest.out` | 8696 ac_err=`grep -v '^ *+' conftest.out` |
| 8876 if test -z "$ac_err"; then | 8697 if test -z "$ac_err"; then |
| 8877 rm -rf conftest* | 8698 rm -rf conftest* |
| 8878 eval "ac_cv_header_$ac_safe=yes" | 8699 eval "ac_cv_header_$ac_safe=yes" |
| 8879 else | 8700 else |
| 8902 fi | 8723 fi |
| 8903 | 8724 |
| 8904 | 8725 |
| 8905 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8726 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 8906 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8727 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 8907 echo "configure:8908: checking for nlist.h" >&5 | 8728 echo "configure:8729: checking for nlist.h" >&5 |
| 8908 | 8729 |
| 8909 cat > conftest.$ac_ext <<EOF | 8730 cat > conftest.$ac_ext <<EOF |
| 8910 #line 8911 "configure" | 8731 #line 8732 "configure" |
| 8911 #include "confdefs.h" | 8732 #include "confdefs.h" |
| 8912 #include <nlist.h> | 8733 #include <nlist.h> |
| 8913 EOF | 8734 EOF |
| 8914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8915 { (eval echo configure:8916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8736 { (eval echo configure:8737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8916 ac_err=`grep -v '^ *+' conftest.out` | 8737 ac_err=`grep -v '^ *+' conftest.out` |
| 8917 if test -z "$ac_err"; then | 8738 if test -z "$ac_err"; then |
| 8918 rm -rf conftest* | 8739 rm -rf conftest* |
| 8919 eval "ac_cv_header_$ac_safe=yes" | 8740 eval "ac_cv_header_$ac_safe=yes" |
| 8920 else | 8741 else |
| 8938 else | 8759 else |
| 8939 echo "$ac_t""no" 1>&6 | 8760 echo "$ac_t""no" 1>&6 |
| 8940 fi | 8761 fi |
| 8941 | 8762 |
| 8942 | 8763 |
| 8943 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp" ; do | |
| 8944 if test -r $f; then { test "$extra_verbose" = "yes" && cat << EOF | |
| 8945 Defining AIX_SMT_EXP = "-bI:$f" | |
| 8946 EOF | |
| 8947 cat >> confdefs.h <<EOF | |
| 8948 #define AIX_SMT_EXP "-bI:$f" | |
| 8949 EOF | |
| 8950 } | |
| 8951 break; fi | |
| 8952 done | |
| 8953 | |
| 8954 | 8764 |
| 8955 echo "checking "for sound support"" 1>&6 | 8765 echo "checking "for sound support"" 1>&6 |
| 8956 echo "configure:8957: checking "for sound support"" >&5 | 8766 echo "configure:8767: checking "for sound support"" >&5 |
| 8957 case "$with_sound" in | 8767 case "$with_sound" in |
| 8958 native | both ) with_native_sound=yes;; | 8768 native | both ) with_native_sound=yes;; |
| 8959 nas | no ) with_native_sound=no;; | 8769 nas | no ) with_native_sound=no;; |
| 8960 esac | 8770 esac |
| 8961 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8771 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 8962 | 8772 |
| 8963 if test "$with_native_sound" != "no"; then | 8773 if test "$with_native_sound" != "no"; then |
| 8964 if test -n "$native_sound_lib"; then | 8774 if test -n "$native_sound_lib"; then |
| 8965 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8775 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 8966 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8776 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 8967 echo "configure:8968: checking for multimedia/audio_device.h" >&5 | 8777 echo "configure:8778: checking for multimedia/audio_device.h" >&5 |
| 8968 | 8778 |
| 8969 cat > conftest.$ac_ext <<EOF | 8779 cat > conftest.$ac_ext <<EOF |
| 8970 #line 8971 "configure" | 8780 #line 8781 "configure" |
| 8971 #include "confdefs.h" | 8781 #include "confdefs.h" |
| 8972 #include <multimedia/audio_device.h> | 8782 #include <multimedia/audio_device.h> |
| 8973 EOF | 8783 EOF |
| 8974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8975 { (eval echo configure:8976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8785 { (eval echo configure:8786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8976 ac_err=`grep -v '^ *+' conftest.out` | 8786 ac_err=`grep -v '^ *+' conftest.out` |
| 8977 if test -z "$ac_err"; then | 8787 if test -z "$ac_err"; then |
| 8978 rm -rf conftest* | 8788 rm -rf conftest* |
| 8979 eval "ac_cv_header_$ac_safe=yes" | 8789 eval "ac_cv_header_$ac_safe=yes" |
| 8980 else | 8790 else |
| 9018 case "$canonical" in | 8828 case "$canonical" in |
| 9019 *-sgi-* ) | 8829 *-sgi-* ) |
| 9020 if test -z "$native_sound_lib"; then | 8830 if test -z "$native_sound_lib"; then |
| 9021 | 8831 |
| 9022 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8832 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 9023 echo "configure:9024: checking for ALopenport in -laudio" >&5 | 8833 echo "configure:8834: checking for ALopenport in -laudio" >&5 |
| 9024 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8834 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 9025 | 8835 |
| 9026 xe_check_libs=" -laudio " | 8836 xe_check_libs=" -laudio " |
| 9027 cat > conftest.$ac_ext <<EOF | 8837 cat > conftest.$ac_ext <<EOF |
| 9028 #line 9029 "configure" | 8838 #line 8839 "configure" |
| 9029 #include "confdefs.h" | 8839 #include "confdefs.h" |
| 9030 /* Override any gcc2 internal prototype to avoid an error. */ | 8840 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9031 /* We use char because int might match the return type of a gcc2 | 8841 /* We use char because int might match the return type of a gcc2 |
| 9032 builtin and then its argument prototype would still apply. */ | 8842 builtin and then its argument prototype would still apply. */ |
| 9033 char ALopenport(); | 8843 char ALopenport(); |
| 9034 | 8844 |
| 9035 int main() { | 8845 int main() { |
| 9036 ALopenport() | 8846 ALopenport() |
| 9037 ; return 0; } | 8847 ; return 0; } |
| 9038 EOF | 8848 EOF |
| 9039 if { (eval echo configure:9040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8849 if { (eval echo configure:8850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9040 rm -rf conftest* | 8850 rm -rf conftest* |
| 9041 eval "ac_cv_lib_$ac_lib_var=yes" | 8851 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9042 else | 8852 else |
| 9043 echo "configure: failed program was:" >&5 | 8853 echo "configure: failed program was:" >&5 |
| 9044 cat conftest.$ac_ext >&5 | 8854 cat conftest.$ac_ext >&5 |
| 9065 fi ;; | 8875 fi ;; |
| 9066 hppa*-hp-hpux* ) | 8876 hppa*-hp-hpux* ) |
| 9067 if test -z "$native_sound_lib"; then | 8877 if test -z "$native_sound_lib"; then |
| 9068 | 8878 |
| 9069 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8879 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 9070 echo "configure:9071: checking for AOpenAudio in -lAlib" >&5 | 8880 echo "configure:8881: checking for AOpenAudio in -lAlib" >&5 |
| 9071 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8881 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 9072 | 8882 |
| 9073 xe_check_libs=" -lAlib " | 8883 xe_check_libs=" -lAlib " |
| 9074 cat > conftest.$ac_ext <<EOF | 8884 cat > conftest.$ac_ext <<EOF |
| 9075 #line 9076 "configure" | 8885 #line 8886 "configure" |
| 9076 #include "confdefs.h" | 8886 #include "confdefs.h" |
| 9077 /* Override any gcc2 internal prototype to avoid an error. */ | 8887 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9078 /* We use char because int might match the return type of a gcc2 | 8888 /* We use char because int might match the return type of a gcc2 |
| 9079 builtin and then its argument prototype would still apply. */ | 8889 builtin and then its argument prototype would still apply. */ |
| 9080 char AOpenAudio(); | 8890 char AOpenAudio(); |
| 9081 | 8891 |
| 9082 int main() { | 8892 int main() { |
| 9083 AOpenAudio() | 8893 AOpenAudio() |
| 9084 ; return 0; } | 8894 ; return 0; } |
| 9085 EOF | 8895 EOF |
| 9086 if { (eval echo configure:9087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8896 if { (eval echo configure:8897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9087 rm -rf conftest* | 8897 rm -rf conftest* |
| 9088 eval "ac_cv_lib_$ac_lib_var=yes" | 8898 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9089 else | 8899 else |
| 9090 echo "configure: failed program was:" >&5 | 8900 echo "configure: failed program was:" >&5 |
| 9091 cat conftest.$ac_ext >&5 | 8901 cat conftest.$ac_ext >&5 |
| 9119 | 8929 |
| 9120 if test -z "$sound_found"; then | 8930 if test -z "$sound_found"; then |
| 9121 for dir in "machine" "sys" "linux"; do | 8931 for dir in "machine" "sys" "linux"; do |
| 9122 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8932 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 9123 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8933 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 9124 echo "configure:9125: checking for ${dir}/soundcard.h" >&5 | 8934 echo "configure:8935: checking for ${dir}/soundcard.h" >&5 |
| 9125 | 8935 |
| 9126 cat > conftest.$ac_ext <<EOF | 8936 cat > conftest.$ac_ext <<EOF |
| 9127 #line 9128 "configure" | 8937 #line 8938 "configure" |
| 9128 #include "confdefs.h" | 8938 #include "confdefs.h" |
| 9129 #include <${dir}/soundcard.h> | 8939 #include <${dir}/soundcard.h> |
| 9130 EOF | 8940 EOF |
| 9131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9132 { (eval echo configure:9133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8942 { (eval echo configure:8943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9133 ac_err=`grep -v '^ *+' conftest.out` | 8943 ac_err=`grep -v '^ *+' conftest.out` |
| 9134 if test -z "$ac_err"; then | 8944 if test -z "$ac_err"; then |
| 9135 rm -rf conftest* | 8945 rm -rf conftest* |
| 9136 eval "ac_cv_header_$ac_safe=yes" | 8946 eval "ac_cv_header_$ac_safe=yes" |
| 9137 else | 8947 else |
| 9197 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9007 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9198 echo " xemacs will be linked with \"nas.o\"" | 9008 echo " xemacs will be linked with \"nas.o\"" |
| 9199 fi | 9009 fi |
| 9200 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9010 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 9201 cat > conftest.$ac_ext <<EOF | 9011 cat > conftest.$ac_ext <<EOF |
| 9202 #line 9203 "configure" | 9012 #line 9013 "configure" |
| 9203 #include "confdefs.h" | 9013 #include "confdefs.h" |
| 9204 #include <audio/Xtutil.h> | 9014 #include <audio/Xtutil.h> |
| 9205 EOF | 9015 EOF |
| 9206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9207 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9017 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 9224 | 9034 |
| 9225 test -z "$with_tty" && with_tty=yes | 9035 test -z "$with_tty" && with_tty=yes |
| 9226 | 9036 |
| 9227 if test "$with_tty" = "yes" ; then | 9037 if test "$with_tty" = "yes" ; then |
| 9228 echo "checking for TTY-related features" 1>&6 | 9038 echo "checking for TTY-related features" 1>&6 |
| 9229 echo "configure:9230: checking for TTY-related features" >&5 | 9039 echo "configure:9040: checking for TTY-related features" >&5 |
| 9230 { test "$extra_verbose" = "yes" && cat << \EOF | 9040 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9231 Defining HAVE_TTY | 9041 Defining HAVE_TTY |
| 9232 EOF | 9042 EOF |
| 9233 cat >> confdefs.h <<\EOF | 9043 cat >> confdefs.h <<\EOF |
| 9234 #define HAVE_TTY 1 | 9044 #define HAVE_TTY 1 |
| 9240 fi | 9050 fi |
| 9241 | 9051 |
| 9242 if test -z "$with_ncurses"; then | 9052 if test -z "$with_ncurses"; then |
| 9243 | 9053 |
| 9244 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9054 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9245 echo "configure:9246: checking for tgetent in -lncurses" >&5 | 9055 echo "configure:9056: checking for tgetent in -lncurses" >&5 |
| 9246 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9056 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9247 | 9057 |
| 9248 xe_check_libs=" -lncurses " | 9058 xe_check_libs=" -lncurses " |
| 9249 cat > conftest.$ac_ext <<EOF | 9059 cat > conftest.$ac_ext <<EOF |
| 9250 #line 9251 "configure" | 9060 #line 9061 "configure" |
| 9251 #include "confdefs.h" | 9061 #include "confdefs.h" |
| 9252 /* Override any gcc2 internal prototype to avoid an error. */ | 9062 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9253 /* We use char because int might match the return type of a gcc2 | 9063 /* We use char because int might match the return type of a gcc2 |
| 9254 builtin and then its argument prototype would still apply. */ | 9064 builtin and then its argument prototype would still apply. */ |
| 9255 char tgetent(); | 9065 char tgetent(); |
| 9256 | 9066 |
| 9257 int main() { | 9067 int main() { |
| 9258 tgetent() | 9068 tgetent() |
| 9259 ; return 0; } | 9069 ; return 0; } |
| 9260 EOF | 9070 EOF |
| 9261 if { (eval echo configure:9262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9071 if { (eval echo configure:9072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9262 rm -rf conftest* | 9072 rm -rf conftest* |
| 9263 eval "ac_cv_lib_$ac_lib_var=yes" | 9073 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9264 else | 9074 else |
| 9265 echo "configure: failed program was:" >&5 | 9075 echo "configure: failed program was:" >&5 |
| 9266 cat conftest.$ac_ext >&5 | 9076 cat conftest.$ac_ext >&5 |
| 9289 EOF | 9099 EOF |
| 9290 } | 9100 } |
| 9291 | 9101 |
| 9292 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9102 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9293 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9103 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9294 echo "configure:9295: checking for ncurses/curses.h" >&5 | 9104 echo "configure:9105: checking for ncurses/curses.h" >&5 |
| 9295 | 9105 |
| 9296 cat > conftest.$ac_ext <<EOF | 9106 cat > conftest.$ac_ext <<EOF |
| 9297 #line 9298 "configure" | 9107 #line 9108 "configure" |
| 9298 #include "confdefs.h" | 9108 #include "confdefs.h" |
| 9299 #include <ncurses/curses.h> | 9109 #include <ncurses/curses.h> |
| 9300 EOF | 9110 EOF |
| 9301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9302 { (eval echo configure:9303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9112 { (eval echo configure:9113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9303 ac_err=`grep -v '^ *+' conftest.out` | 9113 ac_err=`grep -v '^ *+' conftest.out` |
| 9304 if test -z "$ac_err"; then | 9114 if test -z "$ac_err"; then |
| 9305 rm -rf conftest* | 9115 rm -rf conftest* |
| 9306 eval "ac_cv_header_$ac_safe=yes" | 9116 eval "ac_cv_header_$ac_safe=yes" |
| 9307 else | 9117 else |
| 9319 echo "$ac_t""no" 1>&6 | 9129 echo "$ac_t""no" 1>&6 |
| 9320 fi | 9130 fi |
| 9321 | 9131 |
| 9322 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9132 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9323 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9133 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9324 echo "configure:9325: checking for ncurses/term.h" >&5 | 9134 echo "configure:9135: checking for ncurses/term.h" >&5 |
| 9325 | 9135 |
| 9326 cat > conftest.$ac_ext <<EOF | 9136 cat > conftest.$ac_ext <<EOF |
| 9327 #line 9328 "configure" | 9137 #line 9138 "configure" |
| 9328 #include "confdefs.h" | 9138 #include "confdefs.h" |
| 9329 #include <ncurses/term.h> | 9139 #include <ncurses/term.h> |
| 9330 EOF | 9140 EOF |
| 9331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9332 { (eval echo configure:9333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9142 { (eval echo configure:9143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9333 ac_err=`grep -v '^ *+' conftest.out` | 9143 ac_err=`grep -v '^ *+' conftest.out` |
| 9334 if test -z "$ac_err"; then | 9144 if test -z "$ac_err"; then |
| 9335 rm -rf conftest* | 9145 rm -rf conftest* |
| 9336 eval "ac_cv_header_$ac_safe=yes" | 9146 eval "ac_cv_header_$ac_safe=yes" |
| 9337 else | 9147 else |
| 9357 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9167 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9358 save_c_switch_site="$c_switch_site" | 9168 save_c_switch_site="$c_switch_site" |
| 9359 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9169 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9360 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9170 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9361 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9171 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9362 echo "configure:9363: checking for ncurses/curses.h" >&5 | 9172 echo "configure:9173: checking for ncurses/curses.h" >&5 |
| 9363 | 9173 |
| 9364 cat > conftest.$ac_ext <<EOF | 9174 cat > conftest.$ac_ext <<EOF |
| 9365 #line 9366 "configure" | 9175 #line 9176 "configure" |
| 9366 #include "confdefs.h" | 9176 #include "confdefs.h" |
| 9367 #include <ncurses/curses.h> | 9177 #include <ncurses/curses.h> |
| 9368 EOF | 9178 EOF |
| 9369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9370 { (eval echo configure:9371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9180 { (eval echo configure:9181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9371 ac_err=`grep -v '^ *+' conftest.out` | 9181 ac_err=`grep -v '^ *+' conftest.out` |
| 9372 if test -z "$ac_err"; then | 9182 if test -z "$ac_err"; then |
| 9373 rm -rf conftest* | 9183 rm -rf conftest* |
| 9374 eval "ac_cv_header_$ac_safe=yes" | 9184 eval "ac_cv_header_$ac_safe=yes" |
| 9375 else | 9185 else |
| 9400 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9210 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9401 else | 9211 else |
| 9402 for lib in curses termlib termcap; do | 9212 for lib in curses termlib termcap; do |
| 9403 | 9213 |
| 9404 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9214 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 9405 echo "configure:9406: checking for tgetent in -l$lib" >&5 | 9215 echo "configure:9216: checking for tgetent in -l$lib" >&5 |
| 9406 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9216 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 9407 | 9217 |
| 9408 xe_check_libs=" -l$lib " | 9218 xe_check_libs=" -l$lib " |
| 9409 cat > conftest.$ac_ext <<EOF | 9219 cat > conftest.$ac_ext <<EOF |
| 9410 #line 9411 "configure" | 9220 #line 9221 "configure" |
| 9411 #include "confdefs.h" | 9221 #include "confdefs.h" |
| 9412 /* Override any gcc2 internal prototype to avoid an error. */ | 9222 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9413 /* We use char because int might match the return type of a gcc2 | 9223 /* We use char because int might match the return type of a gcc2 |
| 9414 builtin and then its argument prototype would still apply. */ | 9224 builtin and then its argument prototype would still apply. */ |
| 9415 char tgetent(); | 9225 char tgetent(); |
| 9416 | 9226 |
| 9417 int main() { | 9227 int main() { |
| 9418 tgetent() | 9228 tgetent() |
| 9419 ; return 0; } | 9229 ; return 0; } |
| 9420 EOF | 9230 EOF |
| 9421 if { (eval echo configure:9422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9231 if { (eval echo configure:9232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9422 rm -rf conftest* | 9232 rm -rf conftest* |
| 9423 eval "ac_cv_lib_$ac_lib_var=yes" | 9233 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9424 else | 9234 else |
| 9425 echo "configure: failed program was:" >&5 | 9235 echo "configure: failed program was:" >&5 |
| 9426 cat conftest.$ac_ext >&5 | 9236 cat conftest.$ac_ext >&5 |
| 9447 if test -n "$libs_termcap"; then | 9257 if test -n "$libs_termcap"; then |
| 9448 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9258 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9449 else | 9259 else |
| 9450 | 9260 |
| 9451 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9261 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9452 echo "configure:9453: checking for tgetent in -lcurses" >&5 | 9262 echo "configure:9263: checking for tgetent in -lcurses" >&5 |
| 9453 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9263 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9454 | 9264 |
| 9455 xe_check_libs=" -lcurses " | 9265 xe_check_libs=" -lcurses " |
| 9456 cat > conftest.$ac_ext <<EOF | 9266 cat > conftest.$ac_ext <<EOF |
| 9457 #line 9458 "configure" | 9267 #line 9268 "configure" |
| 9458 #include "confdefs.h" | 9268 #include "confdefs.h" |
| 9459 /* Override any gcc2 internal prototype to avoid an error. */ | 9269 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9460 /* We use char because int might match the return type of a gcc2 | 9270 /* We use char because int might match the return type of a gcc2 |
| 9461 builtin and then its argument prototype would still apply. */ | 9271 builtin and then its argument prototype would still apply. */ |
| 9462 char tgetent(); | 9272 char tgetent(); |
| 9463 | 9273 |
| 9464 int main() { | 9274 int main() { |
| 9465 tgetent() | 9275 tgetent() |
| 9466 ; return 0; } | 9276 ; return 0; } |
| 9467 EOF | 9277 EOF |
| 9468 if { (eval echo configure:9469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9278 if { (eval echo configure:9279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9469 rm -rf conftest* | 9279 rm -rf conftest* |
| 9470 eval "ac_cv_lib_$ac_lib_var=yes" | 9280 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9471 else | 9281 else |
| 9472 echo "configure: failed program was:" >&5 | 9282 echo "configure: failed program was:" >&5 |
| 9473 cat conftest.$ac_ext >&5 | 9283 cat conftest.$ac_ext >&5 |
| 9481 echo "$ac_t""yes" 1>&6 | 9291 echo "$ac_t""yes" 1>&6 |
| 9482 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9292 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9483 else | 9293 else |
| 9484 echo "$ac_t""no" 1>&6 | 9294 echo "$ac_t""no" 1>&6 |
| 9485 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9295 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9486 echo "configure:9487: checking for tgetent in -ltermcap" >&5 | 9296 echo "configure:9297: checking for tgetent in -ltermcap" >&5 |
| 9487 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9297 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9488 | 9298 |
| 9489 xe_check_libs=" -ltermcap " | 9299 xe_check_libs=" -ltermcap " |
| 9490 cat > conftest.$ac_ext <<EOF | 9300 cat > conftest.$ac_ext <<EOF |
| 9491 #line 9492 "configure" | 9301 #line 9302 "configure" |
| 9492 #include "confdefs.h" | 9302 #include "confdefs.h" |
| 9493 /* Override any gcc2 internal prototype to avoid an error. */ | 9303 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9494 /* We use char because int might match the return type of a gcc2 | 9304 /* We use char because int might match the return type of a gcc2 |
| 9495 builtin and then its argument prototype would still apply. */ | 9305 builtin and then its argument prototype would still apply. */ |
| 9496 char tgetent(); | 9306 char tgetent(); |
| 9497 | 9307 |
| 9498 int main() { | 9308 int main() { |
| 9499 tgetent() | 9309 tgetent() |
| 9500 ; return 0; } | 9310 ; return 0; } |
| 9501 EOF | 9311 EOF |
| 9502 if { (eval echo configure:9503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9312 if { (eval echo configure:9313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9503 rm -rf conftest* | 9313 rm -rf conftest* |
| 9504 eval "ac_cv_lib_$ac_lib_var=yes" | 9314 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9505 else | 9315 else |
| 9506 echo "configure: failed program was:" >&5 | 9316 echo "configure: failed program was:" >&5 |
| 9507 cat conftest.$ac_ext >&5 | 9317 cat conftest.$ac_ext >&5 |
| 9545 } | 9355 } |
| 9546 | 9356 |
| 9547 | 9357 |
| 9548 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9358 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9549 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9359 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9550 echo "configure:9551: checking for gpm.h" >&5 | 9360 echo "configure:9361: checking for gpm.h" >&5 |
| 9551 | 9361 |
| 9552 cat > conftest.$ac_ext <<EOF | 9362 cat > conftest.$ac_ext <<EOF |
| 9553 #line 9554 "configure" | 9363 #line 9364 "configure" |
| 9554 #include "confdefs.h" | 9364 #include "confdefs.h" |
| 9555 #include <gpm.h> | 9365 #include <gpm.h> |
| 9556 EOF | 9366 EOF |
| 9557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9558 { (eval echo configure:9559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9368 { (eval echo configure:9369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9559 ac_err=`grep -v '^ *+' conftest.out` | 9369 ac_err=`grep -v '^ *+' conftest.out` |
| 9560 if test -z "$ac_err"; then | 9370 if test -z "$ac_err"; then |
| 9561 rm -rf conftest* | 9371 rm -rf conftest* |
| 9562 eval "ac_cv_header_$ac_safe=yes" | 9372 eval "ac_cv_header_$ac_safe=yes" |
| 9563 else | 9373 else |
| 9576 with_gpm=no | 9386 with_gpm=no |
| 9577 fi | 9387 fi |
| 9578 } | 9388 } |
| 9579 test -z "$with_gpm" && { | 9389 test -z "$with_gpm" && { |
| 9580 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9390 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9581 echo "configure:9582: checking for Gpm_Open in -lgpm" >&5 | 9391 echo "configure:9392: checking for Gpm_Open in -lgpm" >&5 |
| 9582 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9392 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9583 | 9393 |
| 9584 xe_check_libs=" -lgpm " | 9394 xe_check_libs=" -lgpm " |
| 9585 cat > conftest.$ac_ext <<EOF | 9395 cat > conftest.$ac_ext <<EOF |
| 9586 #line 9587 "configure" | 9396 #line 9397 "configure" |
| 9587 #include "confdefs.h" | 9397 #include "confdefs.h" |
| 9588 /* Override any gcc2 internal prototype to avoid an error. */ | 9398 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9589 /* We use char because int might match the return type of a gcc2 | 9399 /* We use char because int might match the return type of a gcc2 |
| 9590 builtin and then its argument prototype would still apply. */ | 9400 builtin and then its argument prototype would still apply. */ |
| 9591 char Gpm_Open(); | 9401 char Gpm_Open(); |
| 9592 | 9402 |
| 9593 int main() { | 9403 int main() { |
| 9594 Gpm_Open() | 9404 Gpm_Open() |
| 9595 ; return 0; } | 9405 ; return 0; } |
| 9596 EOF | 9406 EOF |
| 9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9598 rm -rf conftest* | 9408 rm -rf conftest* |
| 9599 eval "ac_cv_lib_$ac_lib_var=yes" | 9409 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9600 else | 9410 else |
| 9601 echo "configure: failed program was:" >&5 | 9411 echo "configure: failed program was:" >&5 |
| 9602 cat conftest.$ac_ext >&5 | 9412 cat conftest.$ac_ext >&5 |
| 9641 echo " xemacs will be linked with \"event-unixoid.o\"" | 9451 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9642 fi | 9452 fi |
| 9643 | 9453 |
| 9644 | 9454 |
| 9645 echo "checking for database support" 1>&6 | 9455 echo "checking for database support" 1>&6 |
| 9646 echo "configure:9647: checking for database support" >&5 | 9456 echo "configure:9457: checking for database support" >&5 |
| 9647 | 9457 |
| 9648 if test "$with_database_gnudbm" != "no"; then | 9458 if test "$with_database_gnudbm" != "no"; then |
| 9649 | 9459 |
| 9650 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9460 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9651 echo "configure:9652: checking for dbm_open in -lgdbm" >&5 | 9461 echo "configure:9462: checking for dbm_open in -lgdbm" >&5 |
| 9652 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9462 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9653 | 9463 |
| 9654 xe_check_libs=" -lgdbm " | 9464 xe_check_libs=" -lgdbm " |
| 9655 cat > conftest.$ac_ext <<EOF | 9465 cat > conftest.$ac_ext <<EOF |
| 9656 #line 9657 "configure" | 9466 #line 9467 "configure" |
| 9657 #include "confdefs.h" | 9467 #include "confdefs.h" |
| 9658 /* Override any gcc2 internal prototype to avoid an error. */ | 9468 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9659 /* We use char because int might match the return type of a gcc2 | 9469 /* We use char because int might match the return type of a gcc2 |
| 9660 builtin and then its argument prototype would still apply. */ | 9470 builtin and then its argument prototype would still apply. */ |
| 9661 char dbm_open(); | 9471 char dbm_open(); |
| 9662 | 9472 |
| 9663 int main() { | 9473 int main() { |
| 9664 dbm_open() | 9474 dbm_open() |
| 9665 ; return 0; } | 9475 ; return 0; } |
| 9666 EOF | 9476 EOF |
| 9667 if { (eval echo configure:9668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9477 if { (eval echo configure:9478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9668 rm -rf conftest* | 9478 rm -rf conftest* |
| 9669 eval "ac_cv_lib_$ac_lib_var=yes" | 9479 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9670 else | 9480 else |
| 9671 echo "configure: failed program was:" >&5 | 9481 echo "configure: failed program was:" >&5 |
| 9672 cat conftest.$ac_ext >&5 | 9482 cat conftest.$ac_ext >&5 |
| 9684 fi | 9494 fi |
| 9685 | 9495 |
| 9686 | 9496 |
| 9687 if test "$with_database_gnudbm" != "yes"; then | 9497 if test "$with_database_gnudbm" != "yes"; then |
| 9688 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9498 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9689 echo "configure:9690: checking for dbm_open" >&5 | 9499 echo "configure:9500: checking for dbm_open" >&5 |
| 9690 | 9500 |
| 9691 cat > conftest.$ac_ext <<EOF | 9501 cat > conftest.$ac_ext <<EOF |
| 9692 #line 9693 "configure" | 9502 #line 9503 "configure" |
| 9693 #include "confdefs.h" | 9503 #include "confdefs.h" |
| 9694 /* System header to define __stub macros and hopefully few prototypes, | 9504 /* System header to define __stub macros and hopefully few prototypes, |
| 9695 which can conflict with char dbm_open(); below. */ | 9505 which can conflict with char dbm_open(); below. */ |
| 9696 #include <assert.h> | 9506 #include <assert.h> |
| 9697 /* Override any gcc2 internal prototype to avoid an error. */ | 9507 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9710 dbm_open(); | 9520 dbm_open(); |
| 9711 #endif | 9521 #endif |
| 9712 | 9522 |
| 9713 ; return 0; } | 9523 ; return 0; } |
| 9714 EOF | 9524 EOF |
| 9715 if { (eval echo configure:9716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9525 if { (eval echo configure:9526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9716 rm -rf conftest* | 9526 rm -rf conftest* |
| 9717 eval "ac_cv_func_dbm_open=yes" | 9527 eval "ac_cv_func_dbm_open=yes" |
| 9718 else | 9528 else |
| 9719 echo "configure: failed program was:" >&5 | 9529 echo "configure: failed program was:" >&5 |
| 9720 cat conftest.$ac_ext >&5 | 9530 cat conftest.$ac_ext >&5 |
| 9746 fi | 9556 fi |
| 9747 fi | 9557 fi |
| 9748 | 9558 |
| 9749 if test "$with_database_dbm" != "no"; then | 9559 if test "$with_database_dbm" != "no"; then |
| 9750 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9560 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9751 echo "configure:9752: checking for dbm_open" >&5 | 9561 echo "configure:9562: checking for dbm_open" >&5 |
| 9752 | 9562 |
| 9753 cat > conftest.$ac_ext <<EOF | 9563 cat > conftest.$ac_ext <<EOF |
| 9754 #line 9755 "configure" | 9564 #line 9565 "configure" |
| 9755 #include "confdefs.h" | 9565 #include "confdefs.h" |
| 9756 /* System header to define __stub macros and hopefully few prototypes, | 9566 /* System header to define __stub macros and hopefully few prototypes, |
| 9757 which can conflict with char dbm_open(); below. */ | 9567 which can conflict with char dbm_open(); below. */ |
| 9758 #include <assert.h> | 9568 #include <assert.h> |
| 9759 /* Override any gcc2 internal prototype to avoid an error. */ | 9569 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9772 dbm_open(); | 9582 dbm_open(); |
| 9773 #endif | 9583 #endif |
| 9774 | 9584 |
| 9775 ; return 0; } | 9585 ; return 0; } |
| 9776 EOF | 9586 EOF |
| 9777 if { (eval echo configure:9778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9587 if { (eval echo configure:9588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9778 rm -rf conftest* | 9588 rm -rf conftest* |
| 9779 eval "ac_cv_func_dbm_open=yes" | 9589 eval "ac_cv_func_dbm_open=yes" |
| 9780 else | 9590 else |
| 9781 echo "configure: failed program was:" >&5 | 9591 echo "configure: failed program was:" >&5 |
| 9782 cat conftest.$ac_ext >&5 | 9592 cat conftest.$ac_ext >&5 |
| 9793 fi | 9603 fi |
| 9794 | 9604 |
| 9795 if test "$need_libdbm" != "no"; then | 9605 if test "$need_libdbm" != "no"; then |
| 9796 | 9606 |
| 9797 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9607 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9798 echo "configure:9799: checking for dbm_open in -ldbm" >&5 | 9608 echo "configure:9609: checking for dbm_open in -ldbm" >&5 |
| 9799 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9609 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9800 | 9610 |
| 9801 xe_check_libs=" -ldbm " | 9611 xe_check_libs=" -ldbm " |
| 9802 cat > conftest.$ac_ext <<EOF | 9612 cat > conftest.$ac_ext <<EOF |
| 9803 #line 9804 "configure" | 9613 #line 9614 "configure" |
| 9804 #include "confdefs.h" | 9614 #include "confdefs.h" |
| 9805 /* Override any gcc2 internal prototype to avoid an error. */ | 9615 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9806 /* We use char because int might match the return type of a gcc2 | 9616 /* We use char because int might match the return type of a gcc2 |
| 9807 builtin and then its argument prototype would still apply. */ | 9617 builtin and then its argument prototype would still apply. */ |
| 9808 char dbm_open(); | 9618 char dbm_open(); |
| 9809 | 9619 |
| 9810 int main() { | 9620 int main() { |
| 9811 dbm_open() | 9621 dbm_open() |
| 9812 ; return 0; } | 9622 ; return 0; } |
| 9813 EOF | 9623 EOF |
| 9814 if { (eval echo configure:9815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9624 if { (eval echo configure:9625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9815 rm -rf conftest* | 9625 rm -rf conftest* |
| 9816 eval "ac_cv_lib_$ac_lib_var=yes" | 9626 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9817 else | 9627 else |
| 9818 echo "configure: failed program was:" >&5 | 9628 echo "configure: failed program was:" >&5 |
| 9819 cat conftest.$ac_ext >&5 | 9629 cat conftest.$ac_ext >&5 |
| 9846 fi | 9656 fi |
| 9847 fi | 9657 fi |
| 9848 | 9658 |
| 9849 if test "$with_database_berkdb" != "no"; then | 9659 if test "$with_database_berkdb" != "no"; then |
| 9850 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9660 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 9851 echo "configure:9852: checking for dbopen" >&5 | 9661 echo "configure:9662: checking for dbopen" >&5 |
| 9852 | 9662 |
| 9853 cat > conftest.$ac_ext <<EOF | 9663 cat > conftest.$ac_ext <<EOF |
| 9854 #line 9855 "configure" | 9664 #line 9665 "configure" |
| 9855 #include "confdefs.h" | 9665 #include "confdefs.h" |
| 9856 /* System header to define __stub macros and hopefully few prototypes, | 9666 /* System header to define __stub macros and hopefully few prototypes, |
| 9857 which can conflict with char dbopen(); below. */ | 9667 which can conflict with char dbopen(); below. */ |
| 9858 #include <assert.h> | 9668 #include <assert.h> |
| 9859 /* Override any gcc2 internal prototype to avoid an error. */ | 9669 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9872 dbopen(); | 9682 dbopen(); |
| 9873 #endif | 9683 #endif |
| 9874 | 9684 |
| 9875 ; return 0; } | 9685 ; return 0; } |
| 9876 EOF | 9686 EOF |
| 9877 if { (eval echo configure:9878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9687 if { (eval echo configure:9688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9878 rm -rf conftest* | 9688 rm -rf conftest* |
| 9879 eval "ac_cv_func_dbopen=yes" | 9689 eval "ac_cv_func_dbopen=yes" |
| 9880 else | 9690 else |
| 9881 echo "configure: failed program was:" >&5 | 9691 echo "configure: failed program was:" >&5 |
| 9882 cat conftest.$ac_ext >&5 | 9692 cat conftest.$ac_ext >&5 |
| 9893 fi | 9703 fi |
| 9894 | 9704 |
| 9895 if test "$need_libdb" != "no"; then | 9705 if test "$need_libdb" != "no"; then |
| 9896 | 9706 |
| 9897 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9707 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 9898 echo "configure:9899: checking for dbopen in -ldb" >&5 | 9708 echo "configure:9709: checking for dbopen in -ldb" >&5 |
| 9899 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9709 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 9900 | 9710 |
| 9901 xe_check_libs=" -ldb " | 9711 xe_check_libs=" -ldb " |
| 9902 cat > conftest.$ac_ext <<EOF | 9712 cat > conftest.$ac_ext <<EOF |
| 9903 #line 9904 "configure" | 9713 #line 9714 "configure" |
| 9904 #include "confdefs.h" | 9714 #include "confdefs.h" |
| 9905 /* Override any gcc2 internal prototype to avoid an error. */ | 9715 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9906 /* We use char because int might match the return type of a gcc2 | 9716 /* We use char because int might match the return type of a gcc2 |
| 9907 builtin and then its argument prototype would still apply. */ | 9717 builtin and then its argument prototype would still apply. */ |
| 9908 char dbopen(); | 9718 char dbopen(); |
| 9909 | 9719 |
| 9910 int main() { | 9720 int main() { |
| 9911 dbopen() | 9721 dbopen() |
| 9912 ; return 0; } | 9722 ; return 0; } |
| 9913 EOF | 9723 EOF |
| 9914 if { (eval echo configure:9915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9724 if { (eval echo configure:9725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9915 rm -rf conftest* | 9725 rm -rf conftest* |
| 9916 eval "ac_cv_lib_$ac_lib_var=yes" | 9726 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9917 else | 9727 else |
| 9918 echo "configure: failed program was:" >&5 | 9728 echo "configure: failed program was:" >&5 |
| 9919 cat conftest.$ac_ext >&5 | 9729 cat conftest.$ac_ext >&5 |
| 9933 | 9743 |
| 9934 fi | 9744 fi |
| 9935 if test "$with_database_berkdb" = "yes"; then | 9745 if test "$with_database_berkdb" = "yes"; then |
| 9936 for path in "db/db.h" "db.h"; do | 9746 for path in "db/db.h" "db.h"; do |
| 9937 cat > conftest.$ac_ext <<EOF | 9747 cat > conftest.$ac_ext <<EOF |
| 9938 #line 9939 "configure" | 9748 #line 9749 "configure" |
| 9939 #include "confdefs.h" | 9749 #include "confdefs.h" |
| 9940 #ifdef HAVE_INTTYPES_H | 9750 #ifdef HAVE_INTTYPES_H |
| 9941 #define __BIT_TYPES_DEFINED__ | 9751 #define __BIT_TYPES_DEFINED__ |
| 9942 #include <inttypes.h> | 9752 #include <inttypes.h> |
| 9943 typedef uint8_t u_int8_t; | 9753 typedef uint8_t u_int8_t; |
| 9946 #ifdef WE_DONT_NEED_QUADS | 9756 #ifdef WE_DONT_NEED_QUADS |
| 9947 typedef uint64_t u_int64_t; | 9757 typedef uint64_t u_int64_t; |
| 9948 #endif | 9758 #endif |
| 9949 #endif | 9759 #endif |
| 9950 #include <$path> | 9760 #include <$path> |
| 9951 #ifdef DB_VERSION_MAJOR | |
| 9952 #if DB_VERSION_MAJOR > 1 | |
| 9953 choke me; | |
| 9954 #endif | |
| 9955 #endif | |
| 9956 | 9761 |
| 9957 int main() { | 9762 int main() { |
| 9958 | 9763 |
| 9959 ; return 0; } | 9764 ; return 0; } |
| 9960 EOF | 9765 EOF |
| 9961 if { (eval echo configure:9962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9766 if { (eval echo configure:9767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9962 rm -rf conftest* | 9767 rm -rf conftest* |
| 9963 db_h_path="$path"; break | 9768 db_h_path="$path"; break |
| 9964 else | 9769 else |
| 9965 echo "configure: failed program was:" >&5 | 9770 echo "configure: failed program was:" >&5 |
| 9966 cat conftest.$ac_ext >&5 | 9771 cat conftest.$ac_ext >&5 |
| 10008 fi | 9813 fi |
| 10009 | 9814 |
| 10010 if test "$with_socks" = "yes"; then | 9815 if test "$with_socks" = "yes"; then |
| 10011 | 9816 |
| 10012 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9817 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 10013 echo "configure:10014: checking for SOCKSinit in -lsocks" >&5 | 9818 echo "configure:9819: checking for SOCKSinit in -lsocks" >&5 |
| 10014 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9819 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 10015 | 9820 |
| 10016 xe_check_libs=" -lsocks " | 9821 xe_check_libs=" -lsocks " |
| 10017 cat > conftest.$ac_ext <<EOF | 9822 cat > conftest.$ac_ext <<EOF |
| 10018 #line 10019 "configure" | 9823 #line 9824 "configure" |
| 10019 #include "confdefs.h" | 9824 #include "confdefs.h" |
| 10020 /* Override any gcc2 internal prototype to avoid an error. */ | 9825 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10021 /* We use char because int might match the return type of a gcc2 | 9826 /* We use char because int might match the return type of a gcc2 |
| 10022 builtin and then its argument prototype would still apply. */ | 9827 builtin and then its argument prototype would still apply. */ |
| 10023 char SOCKSinit(); | 9828 char SOCKSinit(); |
| 10024 | 9829 |
| 10025 int main() { | 9830 int main() { |
| 10026 SOCKSinit() | 9831 SOCKSinit() |
| 10027 ; return 0; } | 9832 ; return 0; } |
| 10028 EOF | 9833 EOF |
| 10029 if { (eval echo configure:10030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9834 if { (eval echo configure:9835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10030 rm -rf conftest* | 9835 rm -rf conftest* |
| 10031 eval "ac_cv_lib_$ac_lib_var=yes" | 9836 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10032 else | 9837 else |
| 10033 echo "configure: failed program was:" >&5 | 9838 echo "configure: failed program was:" >&5 |
| 10034 cat conftest.$ac_ext >&5 | 9839 cat conftest.$ac_ext >&5 |
| 10232 | 10037 |
| 10233 | 10038 |
| 10234 | 10039 |
| 10235 | 10040 |
| 10236 | 10041 |
| 10042 | |
| 10237 RECURSIVE_MAKE="\$(MAKE) \$(MFLAGS) CC='\$(CC)' CFLAGS='\$(CFLAGS)' LDFLAGS='\$(LDFLAGS)' CPPFLAGS='\$(CPPFLAGS)'" | 10043 RECURSIVE_MAKE="\$(MAKE) \$(MFLAGS) CC='\$(CC)' CFLAGS='\$(CFLAGS)' LDFLAGS='\$(LDFLAGS)' CPPFLAGS='\$(CPPFLAGS)'" |
| 10238 | 10044 |
| 10239 | 10045 |
| 10240 | 10046 |
| 10241 | 10047 |
| 10254 #define PACKAGE_PATH "$package_path" | 10060 #define PACKAGE_PATH "$package_path" |
| 10255 EOF | 10061 EOF |
| 10256 } | 10062 } |
| 10257 | 10063 |
| 10258 | 10064 |
| 10065 | |
| 10066 T="" | |
| 10067 for W in $ac_configure_args; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
| 10068 ac_configure_args="$T" | |
| 10069 | |
| 10259 { test "$extra_verbose" = "yes" && cat << EOF | 10070 { test "$extra_verbose" = "yes" && cat << EOF |
| 10260 Defining EMACS_CONFIGURATION = "$canonical" | 10071 Defining EMACS_CONFIGURATION = "$canonical" |
| 10261 EOF | 10072 EOF |
| 10262 cat >> confdefs.h <<EOF | 10073 cat >> confdefs.h <<EOF |
| 10263 #define EMACS_CONFIGURATION "$canonical" | 10074 #define EMACS_CONFIGURATION "$canonical" |
| 10264 EOF | 10075 EOF |
| 10265 } | 10076 } |
| 10266 | 10077 |
| 10267 { test "$extra_verbose" = "yes" && cat << EOF | 10078 { test "$extra_verbose" = "yes" && cat << EOF |
| 10268 Defining EMACS_CONFIG_OPTIONS = "${ac_configure_args}" | 10079 Defining EMACS_CONFIG_OPTIONS = "$ac_configure_args" |
| 10269 EOF | 10080 EOF |
| 10270 cat >> confdefs.h <<EOF | 10081 cat >> confdefs.h <<EOF |
| 10271 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}" | 10082 #define EMACS_CONFIG_OPTIONS "$ac_configure_args" |
| 10272 EOF | 10083 EOF |
| 10273 } | 10084 } |
| 10274 | 10085 |
| 10275 { test "$extra_verbose" = "yes" && cat << EOF | 10086 { test "$extra_verbose" = "yes" && cat << EOF |
| 10276 Defining config_machfile = "$machfile" | 10087 Defining config_machfile = "$machfile" |
| 10515 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." | 10326 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." |
| 10516 if test "$with_xmu" != yes -a "$with_x11" = yes; then | 10327 if test "$with_xmu" != yes -a "$with_x11" = yes; then |
| 10517 echo " No Xmu; substituting equivalent routines." | 10328 echo " No Xmu; substituting equivalent routines." |
| 10518 fi | 10329 fi |
| 10519 | 10330 |
| 10520 test "$with_gif" = yes && echo " Compiling in support for GIF image conversion." | |
| 10521 if test "$with_xpm" = yes; then | 10331 if test "$with_xpm" = yes; then |
| 10522 echo " Compiling in support for XPM images." | 10332 echo " Compiling in support for XPM images." |
| 10523 elif test "$with_x11" = yes; then | 10333 elif test "$with_x11" = yes; then |
| 10524 echo " --------------------------------------------------------------------" | 10334 echo " --------------------------------------------------------------------" |
| 10525 echo " WARNING: Compiling without XPM support." | 10335 echo " WARNING: Compiling without XPM support." |
| 10526 echo " WARNING: You should strongly considering installing XPM." | 10336 echo " WARNING: You should strongly considering installing XPM." |
| 10527 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | 10337 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." |
| 10528 echo " --------------------------------------------------------------------" | 10338 echo " --------------------------------------------------------------------" |
| 10529 fi | 10339 fi |
| 10530 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | 10340 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." |
| 10531 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image conversion." | 10341 test "$with_imagick" = yes && echo " Compiling in support for ImageMagick image conversion." |
| 10532 test "$with_png" = yes && echo " Compiling in support for PNG image conversion." | |
| 10533 test "$with_tiff" = yes && echo " Compiling in support for TIFF image conversion (not implemented)." | |
| 10534 | 10342 |
| 10535 case "$with_sound" in | 10343 case "$with_sound" in |
| 10536 nas ) echo " Compiling in network sound (NAS) support." ;; | 10344 nas ) echo " Compiling in network sound (NAS) support." ;; |
| 10537 native ) echo " Compiling in native sound support." ;; | 10345 native ) echo " Compiling in native sound support." ;; |
| 10538 both ) echo " Compiling in both network and native sound support." ;; | 10346 both ) echo " Compiling in both network and native sound support." ;; |
| 10587 echo " movemail will use \"$mail_locking\" for locking mail spool files." | 10395 echo " movemail will use \"$mail_locking\" for locking mail spool files." |
| 10588 test "$with_pop" = yes && echo " Using POP for mail access" | 10396 test "$with_pop" = yes && echo " Using POP for mail access" |
| 10589 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication" | 10397 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication" |
| 10590 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host" | 10398 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host" |
| 10591 echo " The \`Info-default-directory-list' will be initialized from:" | 10399 echo " The \`Info-default-directory-list' will be initialized from:" |
| 10592 echo " INFOPATH=\"`echo $infopath`\"" | 10400 echo " INFOPATH=\"$infopath\"" |
| 10593 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 10401 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
| 10594 test "$debug" = yes && echo " Compiling in extra code for debugging." | 10402 test "$debug" = yes && echo " Compiling in extra code for debugging." |
| 10595 test "$memory_usage_stats" = yes && echo " Compiling in code for checking XEmacs memory usage." | 10403 test "$memory_usage_stats" = yes && echo " Compiling in code for checking XEmacs memory usage." |
| 10596 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." | 10404 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." |
| 10597 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ | 10405 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ |
| 10703 s%@mandir@%$mandir%g | 10511 s%@mandir@%$mandir%g |
| 10704 s%@LN_S@%$LN_S%g | 10512 s%@LN_S@%$LN_S%g |
| 10705 s%@blddir@%$blddir%g | 10513 s%@blddir@%$blddir%g |
| 10706 s%@CC@%$CC%g | 10514 s%@CC@%$CC%g |
| 10707 s%@CPP@%$CPP%g | 10515 s%@CPP@%$CPP%g |
| 10516 s%@start_flags@%$start_flags%g | |
| 10708 s%@ld_switch_shared@%$ld_switch_shared%g | 10517 s%@ld_switch_shared@%$ld_switch_shared%g |
| 10709 s%@start_files@%$start_files%g | 10518 s%@start_files@%$start_files%g |
| 10710 s%@start_flags@%$start_flags%g | |
| 10711 s%@ld@%$ld%g | 10519 s%@ld@%$ld%g |
| 10712 s%@lib_gcc@%$lib_gcc%g | 10520 s%@lib_gcc@%$lib_gcc%g |
| 10713 s%@RANLIB@%$RANLIB%g | 10521 s%@RANLIB@%$RANLIB%g |
| 10714 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 10522 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
| 10715 s%@INSTALL_DATA@%$INSTALL_DATA%g | 10523 s%@INSTALL_DATA@%$INSTALL_DATA%g |
| 10733 s%@srcdir@%$srcdir%g | 10541 s%@srcdir@%$srcdir%g |
| 10734 s%@pkgdir@%$pkgdir%g | 10542 s%@pkgdir@%$pkgdir%g |
| 10735 s%@statedir@%$statedir%g | 10543 s%@statedir@%$statedir%g |
| 10736 s%@infodir_user_defined@%$infodir_user_defined%g | 10544 s%@infodir_user_defined@%$infodir_user_defined%g |
| 10737 s%@infopath@%$infopath%g | 10545 s%@infopath@%$infopath%g |
| 10546 s%@infopath_user_defined@%$infopath_user_defined%g | |
| 10738 s%@lispdir@%$lispdir%g | 10547 s%@lispdir@%$lispdir%g |
| 10739 s%@lispdir_user_defined@%$lispdir_user_defined%g | 10548 s%@lispdir_user_defined@%$lispdir_user_defined%g |
| 10740 s%@sitelispdir@%$sitelispdir%g | 10549 s%@sitelispdir@%$sitelispdir%g |
| 10741 s%@etcdir@%$etcdir%g | 10550 s%@etcdir@%$etcdir%g |
| 10742 s%@etcdir_user_defined@%$etcdir_user_defined%g | 10551 s%@etcdir_user_defined@%$etcdir_user_defined%g |
