Mercurial > hg > xemacs-beta
comparison configure @ 280:7df0dd720c89 r21-0b38
Import from CVS: tag r21-0b38
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:32:22 +0200 |
parents | 90d73dddcdc4 |
children | c42ec1d1cded |
comparison
equal
deleted
inserted
replaced
279:c20b2fb5bb0a | 280:7df0dd720c89 |
---|---|
215 bindir='${exec_prefix}/bin' | 215 bindir='${exec_prefix}/bin' |
216 datadir='${prefix}/lib' | 216 datadir='${prefix}/lib' |
217 statedir='${prefix}/lib' | 217 statedir='${prefix}/lib' |
218 libdir='${exec_prefix}/lib' | 218 libdir='${exec_prefix}/lib' |
219 mandir='${prefix}/man/man1' | 219 mandir='${prefix}/man/man1' |
220 infodir='${datadir}/xemacs-${version}/info' | 220 infodir='${datadir}/${PROGNAME}-${version}/info' |
221 infopath='' | 221 infopath='' |
222 install_pp='' | 222 install_pp='' |
223 lispdir='${datadir}/xemacs-${version}/lisp' | 223 lispdir='${datadir}/${PROGNAME}-${version}/lisp' |
224 pkgdir='${datadir}/xemacs-${version}/lisp' | 224 pkgdir='${datadir}/${PROGNAME}-${version}/lisp' |
225 package_path='' | 225 package_path='' |
226 etcdir='${datadir}/xemacs-${version}/etc' | 226 etcdir='${datadir}/${PROGNAME}-${version}/etc' |
227 lockdir='${statedir}/xemacs/lock' | 227 lockdir='${statedir}/${PROGNAME}/lock' |
228 archlibdir='${libdir}/xemacs-${version}/${configuration}' | 228 archlibdir='${libdir}/${PROGNAME}-${version}/${configuration}' |
229 with_site_lisp='no' | 229 with_site_lisp='no' |
230 with_menubars='' | 230 with_menubars='' |
231 with_scrollbars='' | 231 with_scrollbars='' |
232 with_dialogs='' | 232 with_dialogs='' |
233 with_file_coding='' | 233 with_file_coding='' |
330 with_ldap | \ | 330 with_ldap | \ |
331 with_pop | \ | 331 with_pop | \ |
332 with_kerberos | \ | 332 with_kerberos | \ |
333 with_hesiod | \ | 333 with_hesiod | \ |
334 with_dnet | \ | 334 with_dnet | \ |
335 with_infodock | \ | |
335 external_widget | \ | 336 external_widget | \ |
336 verbose | \ | 337 verbose | \ |
337 extra_verbose | \ | 338 extra_verbose | \ |
338 const_is_losing | \ | 339 const_is_losing | \ |
339 usage_tracking | \ | 340 usage_tracking | \ |
733 ;; | 734 ;; |
734 esac | 735 esac |
735 | 736 |
736 if test -z "$configuration"; then | 737 if test -z "$configuration"; then |
737 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 738 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
738 echo "configure:739: checking "host system type"" >&5 | 739 echo "configure:740: checking "host system type"" >&5 |
739 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 740 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
740 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 741 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
741 echo "$ac_t""$configuration" 1>&6 | 742 echo "$ac_t""$configuration" 1>&6 |
742 else | 743 else |
743 echo "$ac_t""unknown" 1>&6 | 744 echo "$ac_t""unknown" 1>&6 |
747 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 748 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
748 fi | 749 fi |
749 fi | 750 fi |
750 | 751 |
751 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 752 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
752 echo "configure:753: checking whether ln -s works" >&5 | 753 echo "configure:754: checking whether ln -s works" >&5 |
753 | 754 |
754 rm -f conftestdata | 755 rm -f conftestdata |
755 if ln -s X conftestdata 2>/dev/null | 756 if ln -s X conftestdata 2>/dev/null |
756 then | 757 then |
757 rm -f conftestdata | 758 rm -f conftestdata |
850 #define EMACS_VERSION "$version" | 851 #define EMACS_VERSION "$version" |
851 EOF | 852 EOF |
852 } | 853 } |
853 | 854 |
854 | 855 |
855 { test "$extra_verbose" = "yes" && cat << EOF | 856 if test "$with_infodock" = "yes"; then |
857 if test ! -f ../InfoDock.rules; then | |
858 echo "Cannot build InfoDock without InfoDock sources" | |
859 with_infodock=no | |
860 fi | |
861 fi | |
862 | |
863 if test "$with_infodock" = "yes"; then | |
864 { test "$extra_verbose" = "yes" && cat << EOF | |
856 Defining INFODOCK_MAJOR_VERSION = $infodock_major_version | 865 Defining INFODOCK_MAJOR_VERSION = $infodock_major_version |
857 EOF | 866 EOF |
858 cat >> confdefs.h <<EOF | 867 cat >> confdefs.h <<EOF |
859 #define INFODOCK_MAJOR_VERSION $infodock_major_version | 868 #define INFODOCK_MAJOR_VERSION $infodock_major_version |
860 EOF | 869 EOF |
861 } | 870 } |
862 | 871 |
863 { test "$extra_verbose" = "yes" && cat << EOF | 872 { test "$extra_verbose" = "yes" && cat << EOF |
864 Defining INFODOCK_MINOR_VERSION = $infodock_minor_version | 873 Defining INFODOCK_MINOR_VERSION = $infodock_minor_version |
865 EOF | 874 EOF |
866 cat >> confdefs.h <<EOF | 875 cat >> confdefs.h <<EOF |
867 #define INFODOCK_MINOR_VERSION $infodock_minor_version | 876 #define INFODOCK_MINOR_VERSION $infodock_minor_version |
868 EOF | 877 EOF |
869 } | 878 } |
870 | 879 |
871 { test "$extra_verbose" = "yes" && cat << EOF | 880 { test "$extra_verbose" = "yes" && cat << EOF |
872 Defining INFODOCK_BUILD_VERSION = $infodock_build_version | 881 Defining INFODOCK_BUILD_VERSION = $infodock_build_version |
873 EOF | 882 EOF |
874 cat >> confdefs.h <<EOF | 883 cat >> confdefs.h <<EOF |
875 #define INFODOCK_BUILD_VERSION $infodock_build_version | 884 #define INFODOCK_BUILD_VERSION $infodock_build_version |
876 EOF | 885 EOF |
877 } | 886 } |
878 | 887 |
888 version=${infodock_major_version}.${infodock_minor_version}.${infodock_build_version} | |
889 PROGNAME=infodock | |
890 CPPFLAGS="$CPPFLAGS -DINFODOCK" | |
891 else | |
892 PROGNAME=xemacs | |
893 fi | |
879 | 894 |
880 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi | 895 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi |
881 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 896 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
882 Defining ERROR_CHECK_EXTENTS | 897 Defining ERROR_CHECK_EXTENTS |
883 EOF | 898 EOF |
949 } | 964 } |
950 | 965 |
951 | 966 |
952 | 967 |
953 echo "checking "the configuration name"" 1>&6 | 968 echo "checking "the configuration name"" 1>&6 |
954 echo "configure:955: checking "the configuration name"" >&5 | 969 echo "configure:970: checking "the configuration name"" >&5 |
955 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 970 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
956 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 971 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
957 exit $? | 972 exit $? |
958 fi | 973 fi |
959 | 974 |
1354 esac | 1369 esac |
1355 fi | 1370 fi |
1356 | 1371 |
1357 case "$opsys" in aix*) NON_GNU_CC=xlc ;; esac | 1372 case "$opsys" in aix*) NON_GNU_CC=xlc ;; esac |
1358 | 1373 |
1359 stack_trace_eye_catcher=`echo xemacs_${version}_${canonical} | sed 'y/.-/__/'` | 1374 stack_trace_eye_catcher=`echo ${PROGNAME}_${version}_${canonical} | sed 'y/.-/__/'` |
1360 { test "$extra_verbose" = "yes" && cat << EOF | 1375 { test "$extra_verbose" = "yes" && cat << EOF |
1361 Defining STACK_TRACE_EYE_CATCHER = $stack_trace_eye_catcher | 1376 Defining STACK_TRACE_EYE_CATCHER = $stack_trace_eye_catcher |
1362 EOF | 1377 EOF |
1363 cat >> confdefs.h <<EOF | 1378 cat >> confdefs.h <<EOF |
1364 #define STACK_TRACE_EYE_CATCHER $stack_trace_eye_catcher | 1379 #define STACK_TRACE_EYE_CATCHER $stack_trace_eye_catcher |
1413 xe_save_CFLAGS="$CFLAGS" | 1428 xe_save_CFLAGS="$CFLAGS" |
1414 | 1429 |
1415 # Extract the first word of "gcc", so it can be a program name with args. | 1430 # Extract the first word of "gcc", so it can be a program name with args. |
1416 set dummy gcc; ac_word=$2 | 1431 set dummy gcc; ac_word=$2 |
1417 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1432 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1418 echo "configure:1419: checking for $ac_word" >&5 | 1433 echo "configure:1434: checking for $ac_word" >&5 |
1419 | 1434 |
1420 if test -n "$CC"; then | 1435 if test -n "$CC"; then |
1421 ac_cv_prog_CC="$CC" # Let the user override the test. | 1436 ac_cv_prog_CC="$CC" # Let the user override the test. |
1422 else | 1437 else |
1423 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1438 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1439 | 1454 |
1440 if test -z "$CC"; then | 1455 if test -z "$CC"; then |
1441 # Extract the first word of "cc", so it can be a program name with args. | 1456 # Extract the first word of "cc", so it can be a program name with args. |
1442 set dummy cc; ac_word=$2 | 1457 set dummy cc; ac_word=$2 |
1443 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1444 echo "configure:1445: checking for $ac_word" >&5 | 1459 echo "configure:1460: checking for $ac_word" >&5 |
1445 | 1460 |
1446 if test -n "$CC"; then | 1461 if test -n "$CC"; then |
1447 ac_cv_prog_CC="$CC" # Let the user override the test. | 1462 ac_cv_prog_CC="$CC" # Let the user override the test. |
1448 else | 1463 else |
1449 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1484 | 1499 |
1485 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1500 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1486 fi | 1501 fi |
1487 | 1502 |
1488 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1503 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1489 echo "configure:1490: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1504 echo "configure:1505: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1490 | 1505 |
1491 ac_ext=c | 1506 ac_ext=c |
1492 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1507 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1493 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1508 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1494 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1509 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1496 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1511 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1497 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1512 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1498 cross_compiling=no | 1513 cross_compiling=no |
1499 | 1514 |
1500 cat > conftest.$ac_ext <<EOF | 1515 cat > conftest.$ac_ext <<EOF |
1501 #line 1502 "configure" | 1516 #line 1517 "configure" |
1502 #include "confdefs.h" | 1517 #include "confdefs.h" |
1503 main(){return(0);} | 1518 main(){return(0);} |
1504 EOF | 1519 EOF |
1505 if { (eval echo configure:1506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1520 if { (eval echo configure:1521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1506 ac_cv_prog_cc_works=yes | 1521 ac_cv_prog_cc_works=yes |
1507 # If we can't run a trivial program, we are probably using a cross compiler. | 1522 # If we can't run a trivial program, we are probably using a cross compiler. |
1508 if (./conftest; exit) 2>/dev/null; then | 1523 if (./conftest; exit) 2>/dev/null; then |
1509 ac_cv_prog_cc_cross=no | 1524 ac_cv_prog_cc_cross=no |
1510 else | 1525 else |
1520 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1535 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1521 if test $ac_cv_prog_cc_works = no; then | 1536 if test $ac_cv_prog_cc_works = no; then |
1522 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1537 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1523 fi | 1538 fi |
1524 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1539 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1525 echo "configure:1526: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1540 echo "configure:1541: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1526 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1541 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1527 cross_compiling=$ac_cv_prog_cc_cross | 1542 cross_compiling=$ac_cv_prog_cc_cross |
1528 | 1543 |
1529 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1544 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1530 echo "configure:1531: checking whether we are using GNU C" >&5 | 1545 echo "configure:1546: checking whether we are using GNU C" >&5 |
1531 | 1546 |
1532 cat > conftest.c <<EOF | 1547 cat > conftest.c <<EOF |
1533 #ifdef __GNUC__ | 1548 #ifdef __GNUC__ |
1534 yes; | 1549 yes; |
1535 #endif | 1550 #endif |
1536 EOF | 1551 EOF |
1537 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1552 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1538 ac_cv_prog_gcc=yes | 1553 ac_cv_prog_gcc=yes |
1539 else | 1554 else |
1540 ac_cv_prog_gcc=no | 1555 ac_cv_prog_gcc=no |
1541 fi | 1556 fi |
1542 | 1557 |
1546 GCC=yes | 1561 GCC=yes |
1547 ac_test_CFLAGS="${CFLAGS+set}" | 1562 ac_test_CFLAGS="${CFLAGS+set}" |
1548 ac_save_CFLAGS="$CFLAGS" | 1563 ac_save_CFLAGS="$CFLAGS" |
1549 CFLAGS= | 1564 CFLAGS= |
1550 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1565 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1551 echo "configure:1552: checking whether ${CC-cc} accepts -g" >&5 | 1566 echo "configure:1567: checking whether ${CC-cc} accepts -g" >&5 |
1552 | 1567 |
1553 echo 'void f(){}' > conftest.c | 1568 echo 'void f(){}' > conftest.c |
1554 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1569 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1555 ac_cv_prog_cc_g=yes | 1570 ac_cv_prog_cc_g=yes |
1556 else | 1571 else |
1575 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1590 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1576 CC=${NON_GNU_CC-cc} | 1591 CC=${NON_GNU_CC-cc} |
1577 # Extract the first word of "gcc", so it can be a program name with args. | 1592 # Extract the first word of "gcc", so it can be a program name with args. |
1578 set dummy gcc; ac_word=$2 | 1593 set dummy gcc; ac_word=$2 |
1579 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1594 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1580 echo "configure:1581: checking for $ac_word" >&5 | 1595 echo "configure:1596: checking for $ac_word" >&5 |
1581 | 1596 |
1582 if test -n "$CC"; then | 1597 if test -n "$CC"; then |
1583 ac_cv_prog_CC="$CC" # Let the user override the test. | 1598 ac_cv_prog_CC="$CC" # Let the user override the test. |
1584 else | 1599 else |
1585 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1600 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1601 | 1616 |
1602 if test -z "$CC"; then | 1617 if test -z "$CC"; then |
1603 # Extract the first word of "cc", so it can be a program name with args. | 1618 # Extract the first word of "cc", so it can be a program name with args. |
1604 set dummy cc; ac_word=$2 | 1619 set dummy cc; ac_word=$2 |
1605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1606 echo "configure:1607: checking for $ac_word" >&5 | 1621 echo "configure:1622: checking for $ac_word" >&5 |
1607 | 1622 |
1608 if test -n "$CC"; then | 1623 if test -n "$CC"; then |
1609 ac_cv_prog_CC="$CC" # Let the user override the test. | 1624 ac_cv_prog_CC="$CC" # Let the user override the test. |
1610 else | 1625 else |
1611 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1626 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1646 | 1661 |
1647 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1662 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1648 fi | 1663 fi |
1649 | 1664 |
1650 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1665 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1651 echo "configure:1652: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1666 echo "configure:1667: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1652 | 1667 |
1653 ac_ext=c | 1668 ac_ext=c |
1654 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1669 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1655 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1670 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1656 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1671 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1658 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1673 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1659 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1674 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1660 cross_compiling=no | 1675 cross_compiling=no |
1661 | 1676 |
1662 cat > conftest.$ac_ext <<EOF | 1677 cat > conftest.$ac_ext <<EOF |
1663 #line 1664 "configure" | 1678 #line 1679 "configure" |
1664 #include "confdefs.h" | 1679 #include "confdefs.h" |
1665 main(){return(0);} | 1680 main(){return(0);} |
1666 EOF | 1681 EOF |
1667 if { (eval echo configure:1668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1682 if { (eval echo configure:1683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1668 ac_cv_prog_cc_works=yes | 1683 ac_cv_prog_cc_works=yes |
1669 # If we can't run a trivial program, we are probably using a cross compiler. | 1684 # If we can't run a trivial program, we are probably using a cross compiler. |
1670 if (./conftest; exit) 2>/dev/null; then | 1685 if (./conftest; exit) 2>/dev/null; then |
1671 ac_cv_prog_cc_cross=no | 1686 ac_cv_prog_cc_cross=no |
1672 else | 1687 else |
1682 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1697 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1683 if test $ac_cv_prog_cc_works = no; then | 1698 if test $ac_cv_prog_cc_works = no; then |
1684 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1699 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1685 fi | 1700 fi |
1686 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1701 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1687 echo "configure:1688: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1702 echo "configure:1703: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1688 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1703 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1689 cross_compiling=$ac_cv_prog_cc_cross | 1704 cross_compiling=$ac_cv_prog_cc_cross |
1690 | 1705 |
1691 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1706 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1692 echo "configure:1693: checking whether we are using GNU C" >&5 | 1707 echo "configure:1708: checking whether we are using GNU C" >&5 |
1693 | 1708 |
1694 cat > conftest.c <<EOF | 1709 cat > conftest.c <<EOF |
1695 #ifdef __GNUC__ | 1710 #ifdef __GNUC__ |
1696 yes; | 1711 yes; |
1697 #endif | 1712 #endif |
1698 EOF | 1713 EOF |
1699 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1714 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1700 ac_cv_prog_gcc=yes | 1715 ac_cv_prog_gcc=yes |
1701 else | 1716 else |
1702 ac_cv_prog_gcc=no | 1717 ac_cv_prog_gcc=no |
1703 fi | 1718 fi |
1704 | 1719 |
1708 GCC=yes | 1723 GCC=yes |
1709 ac_test_CFLAGS="${CFLAGS+set}" | 1724 ac_test_CFLAGS="${CFLAGS+set}" |
1710 ac_save_CFLAGS="$CFLAGS" | 1725 ac_save_CFLAGS="$CFLAGS" |
1711 CFLAGS= | 1726 CFLAGS= |
1712 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1727 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1713 echo "configure:1714: checking whether ${CC-cc} accepts -g" >&5 | 1728 echo "configure:1729: checking whether ${CC-cc} accepts -g" >&5 |
1714 | 1729 |
1715 echo 'void f(){}' > conftest.c | 1730 echo 'void f(){}' > conftest.c |
1716 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1731 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1717 ac_cv_prog_cc_g=yes | 1732 ac_cv_prog_cc_g=yes |
1718 else | 1733 else |
1737 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1752 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1738 CC=gcc | 1753 CC=gcc |
1739 # Extract the first word of "gcc", so it can be a program name with args. | 1754 # Extract the first word of "gcc", so it can be a program name with args. |
1740 set dummy gcc; ac_word=$2 | 1755 set dummy gcc; ac_word=$2 |
1741 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1756 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1742 echo "configure:1743: checking for $ac_word" >&5 | 1757 echo "configure:1758: checking for $ac_word" >&5 |
1743 | 1758 |
1744 if test -n "$CC"; then | 1759 if test -n "$CC"; then |
1745 ac_cv_prog_CC="$CC" # Let the user override the test. | 1760 ac_cv_prog_CC="$CC" # Let the user override the test. |
1746 else | 1761 else |
1747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1762 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1763 | 1778 |
1764 if test -z "$CC"; then | 1779 if test -z "$CC"; then |
1765 # Extract the first word of "cc", so it can be a program name with args. | 1780 # Extract the first word of "cc", so it can be a program name with args. |
1766 set dummy cc; ac_word=$2 | 1781 set dummy cc; ac_word=$2 |
1767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1768 echo "configure:1769: checking for $ac_word" >&5 | 1783 echo "configure:1784: checking for $ac_word" >&5 |
1769 | 1784 |
1770 if test -n "$CC"; then | 1785 if test -n "$CC"; then |
1771 ac_cv_prog_CC="$CC" # Let the user override the test. | 1786 ac_cv_prog_CC="$CC" # Let the user override the test. |
1772 else | 1787 else |
1773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1788 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1808 | 1823 |
1809 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1824 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1810 fi | 1825 fi |
1811 | 1826 |
1812 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1827 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1813 echo "configure:1814: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1828 echo "configure:1829: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1814 | 1829 |
1815 ac_ext=c | 1830 ac_ext=c |
1816 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1831 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1817 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1832 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1818 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1833 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1820 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1835 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1821 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1836 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1822 cross_compiling=no | 1837 cross_compiling=no |
1823 | 1838 |
1824 cat > conftest.$ac_ext <<EOF | 1839 cat > conftest.$ac_ext <<EOF |
1825 #line 1826 "configure" | 1840 #line 1841 "configure" |
1826 #include "confdefs.h" | 1841 #include "confdefs.h" |
1827 main(){return(0);} | 1842 main(){return(0);} |
1828 EOF | 1843 EOF |
1829 if { (eval echo configure:1830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1844 if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1830 ac_cv_prog_cc_works=yes | 1845 ac_cv_prog_cc_works=yes |
1831 # If we can't run a trivial program, we are probably using a cross compiler. | 1846 # If we can't run a trivial program, we are probably using a cross compiler. |
1832 if (./conftest; exit) 2>/dev/null; then | 1847 if (./conftest; exit) 2>/dev/null; then |
1833 ac_cv_prog_cc_cross=no | 1848 ac_cv_prog_cc_cross=no |
1834 else | 1849 else |
1844 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1859 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1845 if test $ac_cv_prog_cc_works = no; then | 1860 if test $ac_cv_prog_cc_works = no; then |
1846 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1861 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1847 fi | 1862 fi |
1848 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1863 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1849 echo "configure:1850: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1864 echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1850 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1865 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1851 cross_compiling=$ac_cv_prog_cc_cross | 1866 cross_compiling=$ac_cv_prog_cc_cross |
1852 | 1867 |
1853 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1868 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1854 echo "configure:1855: checking whether we are using GNU C" >&5 | 1869 echo "configure:1870: checking whether we are using GNU C" >&5 |
1855 | 1870 |
1856 cat > conftest.c <<EOF | 1871 cat > conftest.c <<EOF |
1857 #ifdef __GNUC__ | 1872 #ifdef __GNUC__ |
1858 yes; | 1873 yes; |
1859 #endif | 1874 #endif |
1860 EOF | 1875 EOF |
1861 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1876 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1862 ac_cv_prog_gcc=yes | 1877 ac_cv_prog_gcc=yes |
1863 else | 1878 else |
1864 ac_cv_prog_gcc=no | 1879 ac_cv_prog_gcc=no |
1865 fi | 1880 fi |
1866 | 1881 |
1870 GCC=yes | 1885 GCC=yes |
1871 ac_test_CFLAGS="${CFLAGS+set}" | 1886 ac_test_CFLAGS="${CFLAGS+set}" |
1872 ac_save_CFLAGS="$CFLAGS" | 1887 ac_save_CFLAGS="$CFLAGS" |
1873 CFLAGS= | 1888 CFLAGS= |
1874 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1889 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1875 echo "configure:1876: checking whether ${CC-cc} accepts -g" >&5 | 1890 echo "configure:1891: checking whether ${CC-cc} accepts -g" >&5 |
1876 | 1891 |
1877 echo 'void f(){}' > conftest.c | 1892 echo 'void f(){}' > conftest.c |
1878 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1893 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1879 ac_cv_prog_cc_g=yes | 1894 ac_cv_prog_cc_g=yes |
1880 else | 1895 else |
1903 test -n "$CPP" -a -d "$CPP" && CPP= | 1918 test -n "$CPP" -a -d "$CPP" && CPP= |
1904 | 1919 |
1905 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1920 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1906 | 1921 |
1907 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1922 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1908 echo "configure:1909: checking how to run the C preprocessor" >&5 | 1923 echo "configure:1924: checking how to run the C preprocessor" >&5 |
1909 # On Suns, sometimes $CPP names a directory. | 1924 # On Suns, sometimes $CPP names a directory. |
1910 if test -n "$CPP" && test -d "$CPP"; then | 1925 if test -n "$CPP" && test -d "$CPP"; then |
1911 CPP= | 1926 CPP= |
1912 fi | 1927 fi |
1913 if test -z "$CPP"; then | 1928 if test -z "$CPP"; then |
1916 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1931 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1917 CPP="${CC-cc} -E" | 1932 CPP="${CC-cc} -E" |
1918 # On the NeXT, cc -E runs the code through the compiler's parser, | 1933 # On the NeXT, cc -E runs the code through the compiler's parser, |
1919 # not just through cpp. | 1934 # not just through cpp. |
1920 cat > conftest.$ac_ext <<EOF | 1935 cat > conftest.$ac_ext <<EOF |
1921 #line 1922 "configure" | 1936 #line 1937 "configure" |
1922 #include "confdefs.h" | 1937 #include "confdefs.h" |
1923 #include <assert.h> | 1938 #include <assert.h> |
1924 Syntax Error | 1939 Syntax Error |
1925 EOF | 1940 EOF |
1926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1927 { (eval echo configure:1928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1942 { (eval echo configure:1943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1928 ac_err=`grep -v '^ *+' conftest.out` | 1943 ac_err=`grep -v '^ *+' conftest.out` |
1929 if test -z "$ac_err"; then | 1944 if test -z "$ac_err"; then |
1930 : | 1945 : |
1931 else | 1946 else |
1932 echo "$ac_err" >&5 | 1947 echo "$ac_err" >&5 |
1933 echo "configure: failed program was:" >&5 | 1948 echo "configure: failed program was:" >&5 |
1934 cat conftest.$ac_ext >&5 | 1949 cat conftest.$ac_ext >&5 |
1935 rm -rf conftest* | 1950 rm -rf conftest* |
1936 CPP="${CC-cc} -E -traditional-cpp" | 1951 CPP="${CC-cc} -E -traditional-cpp" |
1937 cat > conftest.$ac_ext <<EOF | 1952 cat > conftest.$ac_ext <<EOF |
1938 #line 1939 "configure" | 1953 #line 1954 "configure" |
1939 #include "confdefs.h" | 1954 #include "confdefs.h" |
1940 #include <assert.h> | 1955 #include <assert.h> |
1941 Syntax Error | 1956 Syntax Error |
1942 EOF | 1957 EOF |
1943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1944 { (eval echo configure:1945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1959 { (eval echo configure:1960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1945 ac_err=`grep -v '^ *+' conftest.out` | 1960 ac_err=`grep -v '^ *+' conftest.out` |
1946 if test -z "$ac_err"; then | 1961 if test -z "$ac_err"; then |
1947 : | 1962 : |
1948 else | 1963 else |
1949 echo "$ac_err" >&5 | 1964 echo "$ac_err" >&5 |
1962 fi | 1977 fi |
1963 echo "$ac_t""$CPP" 1>&6 | 1978 echo "$ac_t""$CPP" 1>&6 |
1964 | 1979 |
1965 | 1980 |
1966 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1981 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1967 echo "configure:1968: checking for AIX" >&5 | 1982 echo "configure:1983: checking for AIX" >&5 |
1968 cat > conftest.$ac_ext <<EOF | 1983 cat > conftest.$ac_ext <<EOF |
1969 #line 1970 "configure" | 1984 #line 1985 "configure" |
1970 #include "confdefs.h" | 1985 #include "confdefs.h" |
1971 #ifdef _AIX | 1986 #ifdef _AIX |
1972 yes | 1987 yes |
1973 #endif | 1988 #endif |
1974 | 1989 |
1991 rm -f conftest* | 2006 rm -f conftest* |
1992 | 2007 |
1993 | 2008 |
1994 | 2009 |
1995 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2010 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
1996 echo "configure:1997: checking for GNU libc" >&5 | 2011 echo "configure:2012: checking for GNU libc" >&5 |
1997 cat > conftest.$ac_ext <<EOF | 2012 cat > conftest.$ac_ext <<EOF |
1998 #line 1999 "configure" | 2013 #line 2014 "configure" |
1999 #include "confdefs.h" | 2014 #include "confdefs.h" |
2000 #include <features.h> | 2015 #include <features.h> |
2001 int main() { | 2016 int main() { |
2002 | 2017 |
2003 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2018 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2005 ******* ======= ******** &&&&&&&& | 2020 ******* ======= ******** &&&&&&&& |
2006 #endif | 2021 #endif |
2007 | 2022 |
2008 ; return 0; } | 2023 ; return 0; } |
2009 EOF | 2024 EOF |
2010 if { (eval echo configure:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2025 if { (eval echo configure:2026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2011 rm -rf conftest* | 2026 rm -rf conftest* |
2012 have_glibc=yes | 2027 have_glibc=yes |
2013 else | 2028 else |
2014 echo "configure: failed program was:" >&5 | 2029 echo "configure: failed program was:" >&5 |
2015 cat conftest.$ac_ext >&5 | 2030 cat conftest.$ac_ext >&5 |
2026 EOF | 2041 EOF |
2027 } | 2042 } |
2028 | 2043 |
2029 | 2044 |
2030 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 2045 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
2031 echo "configure:2032: checking whether we are using SunPro C" >&5 | 2046 echo "configure:2047: checking whether we are using SunPro C" >&5 |
2032 cat > conftest.$ac_ext <<EOF | 2047 cat > conftest.$ac_ext <<EOF |
2033 #line 2034 "configure" | 2048 #line 2049 "configure" |
2034 #include "confdefs.h" | 2049 #include "confdefs.h" |
2035 | 2050 |
2036 int main() { | 2051 int main() { |
2037 #ifndef __SUNPRO_C | 2052 #ifndef __SUNPRO_C |
2038 #error Not a SunPro compiler :-( | 2053 #error Not a SunPro compiler :-( |
2039 ******* ======= ******** &&&&&&&& | 2054 ******* ======= ******** &&&&&&&& |
2040 #endif | 2055 #endif |
2041 | 2056 |
2042 ; return 0; } | 2057 ; return 0; } |
2043 EOF | 2058 EOF |
2044 if { (eval echo configure:2045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2059 if { (eval echo configure:2060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2045 rm -rf conftest* | 2060 rm -rf conftest* |
2046 __sunpro_c=yes | 2061 __sunpro_c=yes |
2047 else | 2062 else |
2048 echo "configure: failed program was:" >&5 | 2063 echo "configure: failed program was:" >&5 |
2049 cat conftest.$ac_ext >&5 | 2064 cat conftest.$ac_ext >&5 |
2313 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2328 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2314 echo " xemacs will be linked with \"$unexec\"" | 2329 echo " xemacs will be linked with \"$unexec\"" |
2315 fi | 2330 fi |
2316 | 2331 |
2317 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2332 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2318 echo "configure:2319: checking for dynodump" >&5 | 2333 echo "configure:2334: checking for dynodump" >&5 |
2319 if test "$unexec" != "unexsol2.o"; then | 2334 if test "$unexec" != "unexsol2.o"; then |
2320 echo "$ac_t""no" 1>&6 | 2335 echo "$ac_t""no" 1>&6 |
2321 else | 2336 else |
2322 echo "$ac_t""yes" 1>&6 | 2337 echo "$ac_t""yes" 1>&6 |
2323 { test "$extra_verbose" = "yes" && cat << \EOF | 2338 { test "$extra_verbose" = "yes" && cat << \EOF |
2413 esac | 2428 esac |
2414 fi | 2429 fi |
2415 | 2430 |
2416 if test "$add_runtime_path" = "yes"; then | 2431 if test "$add_runtime_path" = "yes"; then |
2417 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2432 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2418 echo "configure:2419: checking "for runtime libraries flag"" >&5 | 2433 echo "configure:2434: checking "for runtime libraries flag"" >&5 |
2419 dash_r="" | 2434 dash_r="" |
2420 for try_dash_r in "-R" "-R " "-rpath "; do | 2435 for try_dash_r in "-R" "-R " "-rpath "; do |
2421 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2436 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2422 | 2437 |
2423 if test "$GCC" = "yes"; then | 2438 if test "$GCC" = "yes"; then |
2431 esac | 2446 esac |
2432 shift | 2447 shift |
2433 done | 2448 done |
2434 fi | 2449 fi |
2435 cat > conftest.$ac_ext <<EOF | 2450 cat > conftest.$ac_ext <<EOF |
2436 #line 2437 "configure" | 2451 #line 2452 "configure" |
2437 #include "confdefs.h" | 2452 #include "confdefs.h" |
2438 | 2453 |
2439 int main() { | 2454 int main() { |
2440 | 2455 |
2441 ; return 0; } | 2456 ; return 0; } |
2442 EOF | 2457 EOF |
2443 if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2458 if { (eval echo configure:2459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2444 rm -rf conftest* | 2459 rm -rf conftest* |
2445 dash_r="$try_dash_r" | 2460 dash_r="$try_dash_r" |
2446 else | 2461 else |
2447 echo "configure: failed program was:" >&5 | 2462 echo "configure: failed program was:" >&5 |
2448 cat conftest.$ac_ext >&5 | 2463 cat conftest.$ac_ext >&5 |
2538 else | 2553 else |
2539 doug_lea_malloc=no | 2554 doug_lea_malloc=no |
2540 fi | 2555 fi |
2541 after_morecore_hook_exists=yes | 2556 after_morecore_hook_exists=yes |
2542 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2557 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2543 echo "configure:2544: checking for malloc_get_state" >&5 | 2558 echo "configure:2559: checking for malloc_get_state" >&5 |
2544 | 2559 |
2545 cat > conftest.$ac_ext <<EOF | 2560 cat > conftest.$ac_ext <<EOF |
2546 #line 2547 "configure" | 2561 #line 2562 "configure" |
2547 #include "confdefs.h" | 2562 #include "confdefs.h" |
2548 /* System header to define __stub macros and hopefully few prototypes, | 2563 /* System header to define __stub macros and hopefully few prototypes, |
2549 which can conflict with char malloc_get_state(); below. */ | 2564 which can conflict with char malloc_get_state(); below. */ |
2550 #include <assert.h> | 2565 #include <assert.h> |
2551 /* Override any gcc2 internal prototype to avoid an error. */ | 2566 /* Override any gcc2 internal prototype to avoid an error. */ |
2564 malloc_get_state(); | 2579 malloc_get_state(); |
2565 #endif | 2580 #endif |
2566 | 2581 |
2567 ; return 0; } | 2582 ; return 0; } |
2568 EOF | 2583 EOF |
2569 if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2584 if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2570 rm -rf conftest* | 2585 rm -rf conftest* |
2571 eval "ac_cv_func_malloc_get_state=yes" | 2586 eval "ac_cv_func_malloc_get_state=yes" |
2572 else | 2587 else |
2573 echo "configure: failed program was:" >&5 | 2588 echo "configure: failed program was:" >&5 |
2574 cat conftest.$ac_ext >&5 | 2589 cat conftest.$ac_ext >&5 |
2584 echo "$ac_t""no" 1>&6 | 2599 echo "$ac_t""no" 1>&6 |
2585 doug_lea_malloc=no | 2600 doug_lea_malloc=no |
2586 fi | 2601 fi |
2587 | 2602 |
2588 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2603 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2589 echo "configure:2590: checking for malloc_set_state" >&5 | 2604 echo "configure:2605: checking for malloc_set_state" >&5 |
2590 | 2605 |
2591 cat > conftest.$ac_ext <<EOF | 2606 cat > conftest.$ac_ext <<EOF |
2592 #line 2593 "configure" | 2607 #line 2608 "configure" |
2593 #include "confdefs.h" | 2608 #include "confdefs.h" |
2594 /* System header to define __stub macros and hopefully few prototypes, | 2609 /* System header to define __stub macros and hopefully few prototypes, |
2595 which can conflict with char malloc_set_state(); below. */ | 2610 which can conflict with char malloc_set_state(); below. */ |
2596 #include <assert.h> | 2611 #include <assert.h> |
2597 /* Override any gcc2 internal prototype to avoid an error. */ | 2612 /* Override any gcc2 internal prototype to avoid an error. */ |
2610 malloc_set_state(); | 2625 malloc_set_state(); |
2611 #endif | 2626 #endif |
2612 | 2627 |
2613 ; return 0; } | 2628 ; return 0; } |
2614 EOF | 2629 EOF |
2615 if { (eval echo configure:2616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2630 if { (eval echo configure:2631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2616 rm -rf conftest* | 2631 rm -rf conftest* |
2617 eval "ac_cv_func_malloc_set_state=yes" | 2632 eval "ac_cv_func_malloc_set_state=yes" |
2618 else | 2633 else |
2619 echo "configure: failed program was:" >&5 | 2634 echo "configure: failed program was:" >&5 |
2620 cat conftest.$ac_ext >&5 | 2635 cat conftest.$ac_ext >&5 |
2630 echo "$ac_t""no" 1>&6 | 2645 echo "$ac_t""no" 1>&6 |
2631 doug_lea_malloc=no | 2646 doug_lea_malloc=no |
2632 fi | 2647 fi |
2633 | 2648 |
2634 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2649 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2635 echo "configure:2636: checking whether __after_morecore_hook exists" >&5 | 2650 echo "configure:2651: checking whether __after_morecore_hook exists" >&5 |
2636 cat > conftest.$ac_ext <<EOF | 2651 cat > conftest.$ac_ext <<EOF |
2637 #line 2638 "configure" | 2652 #line 2653 "configure" |
2638 #include "confdefs.h" | 2653 #include "confdefs.h" |
2639 extern void (* __after_morecore_hook)(); | 2654 extern void (* __after_morecore_hook)(); |
2640 int main() { | 2655 int main() { |
2641 __after_morecore_hook = 0 | 2656 __after_morecore_hook = 0 |
2642 ; return 0; } | 2657 ; return 0; } |
2643 EOF | 2658 EOF |
2644 if { (eval echo configure:2645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2659 if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2645 rm -rf conftest* | 2660 rm -rf conftest* |
2646 echo "$ac_t""yes" 1>&6 | 2661 echo "$ac_t""yes" 1>&6 |
2647 else | 2662 else |
2648 echo "configure: failed program was:" >&5 | 2663 echo "configure: failed program was:" >&5 |
2649 cat conftest.$ac_ext >&5 | 2664 cat conftest.$ac_ext >&5 |
2698 | 2713 |
2699 | 2714 |
2700 # Extract the first word of "ranlib", so it can be a program name with args. | 2715 # Extract the first word of "ranlib", so it can be a program name with args. |
2701 set dummy ranlib; ac_word=$2 | 2716 set dummy ranlib; ac_word=$2 |
2702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2703 echo "configure:2704: checking for $ac_word" >&5 | 2718 echo "configure:2719: checking for $ac_word" >&5 |
2704 | 2719 |
2705 if test -n "$RANLIB"; then | 2720 if test -n "$RANLIB"; then |
2706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2721 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2707 else | 2722 else |
2708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2751 # AIX /bin/install | 2766 # AIX /bin/install |
2752 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2767 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2753 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2768 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2754 # ./install, which can be erroneously created by make from ./install.sh. | 2769 # ./install, which can be erroneously created by make from ./install.sh. |
2755 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2770 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2756 echo "configure:2757: checking for a BSD compatible install" >&5 | 2771 echo "configure:2772: checking for a BSD compatible install" >&5 |
2757 if test -z "$INSTALL"; then | 2772 if test -z "$INSTALL"; then |
2758 | 2773 |
2759 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2774 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2760 for ac_dir in $PATH; do | 2775 for ac_dir in $PATH; do |
2761 # Account for people who put trailing slashes in PATH elements. | 2776 # Account for people who put trailing slashes in PATH elements. |
2802 for ac_prog in 'bison -y' byacc | 2817 for ac_prog in 'bison -y' byacc |
2803 do | 2818 do |
2804 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2819 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2805 set dummy $ac_prog; ac_word=$2 | 2820 set dummy $ac_prog; ac_word=$2 |
2806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2821 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2807 echo "configure:2808: checking for $ac_word" >&5 | 2822 echo "configure:2823: checking for $ac_word" >&5 |
2808 | 2823 |
2809 if test -n "$YACC"; then | 2824 if test -n "$YACC"; then |
2810 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2825 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2811 else | 2826 else |
2812 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2833 | 2848 |
2834 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2849 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2835 do | 2850 do |
2836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2851 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2852 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2838 echo "configure:2839: checking for $ac_hdr" >&5 | 2853 echo "configure:2854: checking for $ac_hdr" >&5 |
2839 | 2854 |
2840 cat > conftest.$ac_ext <<EOF | 2855 cat > conftest.$ac_ext <<EOF |
2841 #line 2842 "configure" | 2856 #line 2857 "configure" |
2842 #include "confdefs.h" | 2857 #include "confdefs.h" |
2843 #include <$ac_hdr> | 2858 #include <$ac_hdr> |
2844 EOF | 2859 EOF |
2845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2846 { (eval echo configure:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2861 { (eval echo configure:2862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2847 ac_err=`grep -v '^ *+' conftest.out` | 2862 ac_err=`grep -v '^ *+' conftest.out` |
2848 if test -z "$ac_err"; then | 2863 if test -z "$ac_err"; then |
2849 rm -rf conftest* | 2864 rm -rf conftest* |
2850 eval "ac_cv_header_$ac_safe=yes" | 2865 eval "ac_cv_header_$ac_safe=yes" |
2851 else | 2866 else |
2874 | 2889 |
2875 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2890 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2876 do | 2891 do |
2877 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2892 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2878 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2893 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2879 echo "configure:2880: checking for $ac_hdr" >&5 | 2894 echo "configure:2895: checking for $ac_hdr" >&5 |
2880 | 2895 |
2881 cat > conftest.$ac_ext <<EOF | 2896 cat > conftest.$ac_ext <<EOF |
2882 #line 2883 "configure" | 2897 #line 2898 "configure" |
2883 #include "confdefs.h" | 2898 #include "confdefs.h" |
2884 #include <$ac_hdr> | 2899 #include <$ac_hdr> |
2885 EOF | 2900 EOF |
2886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2887 { (eval echo configure:2888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2902 { (eval echo configure:2903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2888 ac_err=`grep -v '^ *+' conftest.out` | 2903 ac_err=`grep -v '^ *+' conftest.out` |
2889 if test -z "$ac_err"; then | 2904 if test -z "$ac_err"; then |
2890 rm -rf conftest* | 2905 rm -rf conftest* |
2891 eval "ac_cv_header_$ac_safe=yes" | 2906 eval "ac_cv_header_$ac_safe=yes" |
2892 else | 2907 else |
2915 | 2930 |
2916 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2931 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
2917 do | 2932 do |
2918 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2933 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2919 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2934 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2920 echo "configure:2921: checking for $ac_hdr" >&5 | 2935 echo "configure:2936: checking for $ac_hdr" >&5 |
2921 | 2936 |
2922 cat > conftest.$ac_ext <<EOF | 2937 cat > conftest.$ac_ext <<EOF |
2923 #line 2924 "configure" | 2938 #line 2939 "configure" |
2924 #include "confdefs.h" | 2939 #include "confdefs.h" |
2925 #include <$ac_hdr> | 2940 #include <$ac_hdr> |
2926 EOF | 2941 EOF |
2927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2928 { (eval echo configure:2929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2943 { (eval echo configure:2944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2929 ac_err=`grep -v '^ *+' conftest.out` | 2944 ac_err=`grep -v '^ *+' conftest.out` |
2930 if test -z "$ac_err"; then | 2945 if test -z "$ac_err"; then |
2931 rm -rf conftest* | 2946 rm -rf conftest* |
2932 eval "ac_cv_header_$ac_safe=yes" | 2947 eval "ac_cv_header_$ac_safe=yes" |
2933 else | 2948 else |
2953 echo "$ac_t""no" 1>&6 | 2968 echo "$ac_t""no" 1>&6 |
2954 fi | 2969 fi |
2955 done | 2970 done |
2956 | 2971 |
2957 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2972 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2958 echo "configure:2959: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2973 echo "configure:2974: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2959 | 2974 |
2960 cat > conftest.$ac_ext <<EOF | 2975 cat > conftest.$ac_ext <<EOF |
2961 #line 2962 "configure" | 2976 #line 2977 "configure" |
2962 #include "confdefs.h" | 2977 #include "confdefs.h" |
2963 #include <sys/types.h> | 2978 #include <sys/types.h> |
2964 #include <sys/wait.h> | 2979 #include <sys/wait.h> |
2965 #ifndef WEXITSTATUS | 2980 #ifndef WEXITSTATUS |
2966 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2981 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2972 int s; | 2987 int s; |
2973 wait (&s); | 2988 wait (&s); |
2974 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2989 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2975 ; return 0; } | 2990 ; return 0; } |
2976 EOF | 2991 EOF |
2977 if { (eval echo configure:2978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2992 if { (eval echo configure:2993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2978 rm -rf conftest* | 2993 rm -rf conftest* |
2979 ac_cv_header_sys_wait_h=yes | 2994 ac_cv_header_sys_wait_h=yes |
2980 else | 2995 else |
2981 echo "configure: failed program was:" >&5 | 2996 echo "configure: failed program was:" >&5 |
2982 cat conftest.$ac_ext >&5 | 2997 cat conftest.$ac_ext >&5 |
2996 } | 3011 } |
2997 | 3012 |
2998 fi | 3013 fi |
2999 | 3014 |
3000 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3015 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3001 echo "configure:3002: checking for ANSI C header files" >&5 | 3016 echo "configure:3017: checking for ANSI C header files" >&5 |
3002 | 3017 |
3003 cat > conftest.$ac_ext <<EOF | 3018 cat > conftest.$ac_ext <<EOF |
3004 #line 3005 "configure" | 3019 #line 3020 "configure" |
3005 #include "confdefs.h" | 3020 #include "confdefs.h" |
3006 #include <stdlib.h> | 3021 #include <stdlib.h> |
3007 #include <stdarg.h> | 3022 #include <stdarg.h> |
3008 #include <string.h> | 3023 #include <string.h> |
3009 #include <float.h> | 3024 #include <float.h> |
3010 EOF | 3025 EOF |
3011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3012 { (eval echo configure:3013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3027 { (eval echo configure:3028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3013 ac_err=`grep -v '^ *+' conftest.out` | 3028 ac_err=`grep -v '^ *+' conftest.out` |
3014 if test -z "$ac_err"; then | 3029 if test -z "$ac_err"; then |
3015 rm -rf conftest* | 3030 rm -rf conftest* |
3016 ac_cv_header_stdc=yes | 3031 ac_cv_header_stdc=yes |
3017 else | 3032 else |
3024 rm -f conftest* | 3039 rm -f conftest* |
3025 | 3040 |
3026 if test $ac_cv_header_stdc = yes; then | 3041 if test $ac_cv_header_stdc = yes; then |
3027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3042 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3028 cat > conftest.$ac_ext <<EOF | 3043 cat > conftest.$ac_ext <<EOF |
3029 #line 3030 "configure" | 3044 #line 3045 "configure" |
3030 #include "confdefs.h" | 3045 #include "confdefs.h" |
3031 #include <string.h> | 3046 #include <string.h> |
3032 EOF | 3047 EOF |
3033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3034 egrep "memchr" >/dev/null 2>&1; then | 3049 egrep "memchr" >/dev/null 2>&1; then |
3042 fi | 3057 fi |
3043 | 3058 |
3044 if test $ac_cv_header_stdc = yes; then | 3059 if test $ac_cv_header_stdc = yes; then |
3045 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3060 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3046 cat > conftest.$ac_ext <<EOF | 3061 cat > conftest.$ac_ext <<EOF |
3047 #line 3048 "configure" | 3062 #line 3063 "configure" |
3048 #include "confdefs.h" | 3063 #include "confdefs.h" |
3049 #include <stdlib.h> | 3064 #include <stdlib.h> |
3050 EOF | 3065 EOF |
3051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3052 egrep "free" >/dev/null 2>&1; then | 3067 egrep "free" >/dev/null 2>&1; then |
3060 fi | 3075 fi |
3061 | 3076 |
3062 if test $ac_cv_header_stdc = yes; then | 3077 if test $ac_cv_header_stdc = yes; then |
3063 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3064 cat > conftest.$ac_ext <<EOF | 3079 cat > conftest.$ac_ext <<EOF |
3065 #line 3066 "configure" | 3080 #line 3081 "configure" |
3066 #include "confdefs.h" | 3081 #include "confdefs.h" |
3067 #include <ctype.h> | 3082 #include <ctype.h> |
3068 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3083 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3069 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3084 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3070 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3071 int main () { int i; for (i = 0; i < 256; i++) | 3086 int main () { int i; for (i = 0; i < 256; i++) |
3072 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3087 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3073 exit (0); } | 3088 exit (0); } |
3074 | 3089 |
3075 EOF | 3090 EOF |
3076 if { (eval echo configure:3077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3091 if { (eval echo configure:3092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3077 then | 3092 then |
3078 : | 3093 : |
3079 else | 3094 else |
3080 echo "configure: failed program was:" >&5 | 3095 echo "configure: failed program was:" >&5 |
3081 cat conftest.$ac_ext >&5 | 3096 cat conftest.$ac_ext >&5 |
3096 } | 3111 } |
3097 | 3112 |
3098 fi | 3113 fi |
3099 | 3114 |
3100 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3115 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3101 echo "configure:3102: checking whether time.h and sys/time.h may both be included" >&5 | 3116 echo "configure:3117: checking whether time.h and sys/time.h may both be included" >&5 |
3102 | 3117 |
3103 cat > conftest.$ac_ext <<EOF | 3118 cat > conftest.$ac_ext <<EOF |
3104 #line 3105 "configure" | 3119 #line 3120 "configure" |
3105 #include "confdefs.h" | 3120 #include "confdefs.h" |
3106 #include <sys/types.h> | 3121 #include <sys/types.h> |
3107 #include <sys/time.h> | 3122 #include <sys/time.h> |
3108 #include <time.h> | 3123 #include <time.h> |
3109 int main() { | 3124 int main() { |
3110 struct tm *tp; | 3125 struct tm *tp; |
3111 ; return 0; } | 3126 ; return 0; } |
3112 EOF | 3127 EOF |
3113 if { (eval echo configure:3114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3128 if { (eval echo configure:3129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3114 rm -rf conftest* | 3129 rm -rf conftest* |
3115 ac_cv_header_time=yes | 3130 ac_cv_header_time=yes |
3116 else | 3131 else |
3117 echo "configure: failed program was:" >&5 | 3132 echo "configure: failed program was:" >&5 |
3118 cat conftest.$ac_ext >&5 | 3133 cat conftest.$ac_ext >&5 |
3132 } | 3147 } |
3133 | 3148 |
3134 fi | 3149 fi |
3135 | 3150 |
3136 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3151 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3137 echo "configure:3138: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3152 echo "configure:3153: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3138 | 3153 |
3139 cat > conftest.$ac_ext <<EOF | 3154 cat > conftest.$ac_ext <<EOF |
3140 #line 3141 "configure" | 3155 #line 3156 "configure" |
3141 #include "confdefs.h" | 3156 #include "confdefs.h" |
3142 #include <sys/types.h> | 3157 #include <sys/types.h> |
3143 #include <signal.h> | 3158 #include <signal.h> |
3144 /* NetBSD declares sys_siglist in unistd.h. */ | 3159 /* NetBSD declares sys_siglist in unistd.h. */ |
3145 #ifdef HAVE_UNISTD_H | 3160 #ifdef HAVE_UNISTD_H |
3147 #endif | 3162 #endif |
3148 int main() { | 3163 int main() { |
3149 char *msg = *(sys_siglist + 1); | 3164 char *msg = *(sys_siglist + 1); |
3150 ; return 0; } | 3165 ; return 0; } |
3151 EOF | 3166 EOF |
3152 if { (eval echo configure:3153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3167 if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3153 rm -rf conftest* | 3168 rm -rf conftest* |
3154 ac_cv_decl_sys_siglist=yes | 3169 ac_cv_decl_sys_siglist=yes |
3155 else | 3170 else |
3156 echo "configure: failed program was:" >&5 | 3171 echo "configure: failed program was:" >&5 |
3157 cat conftest.$ac_ext >&5 | 3172 cat conftest.$ac_ext >&5 |
3172 | 3187 |
3173 fi | 3188 fi |
3174 | 3189 |
3175 | 3190 |
3176 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3191 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3177 echo "configure:3178: checking for struct utimbuf" >&5 | 3192 echo "configure:3193: checking for struct utimbuf" >&5 |
3178 cat > conftest.$ac_ext <<EOF | 3193 cat > conftest.$ac_ext <<EOF |
3179 #line 3180 "configure" | 3194 #line 3195 "configure" |
3180 #include "confdefs.h" | 3195 #include "confdefs.h" |
3181 #ifdef TIME_WITH_SYS_TIME | 3196 #ifdef TIME_WITH_SYS_TIME |
3182 #include <sys/time.h> | 3197 #include <sys/time.h> |
3183 #include <time.h> | 3198 #include <time.h> |
3184 #else | 3199 #else |
3193 #endif | 3208 #endif |
3194 int main() { | 3209 int main() { |
3195 static struct utimbuf x; x.actime = x.modtime; | 3210 static struct utimbuf x; x.actime = x.modtime; |
3196 ; return 0; } | 3211 ; return 0; } |
3197 EOF | 3212 EOF |
3198 if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3213 if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3199 rm -rf conftest* | 3214 rm -rf conftest* |
3200 echo "$ac_t""yes" 1>&6 | 3215 echo "$ac_t""yes" 1>&6 |
3201 { test "$extra_verbose" = "yes" && cat << \EOF | 3216 { test "$extra_verbose" = "yes" && cat << \EOF |
3202 Defining HAVE_STRUCT_UTIMBUF | 3217 Defining HAVE_STRUCT_UTIMBUF |
3203 EOF | 3218 EOF |
3213 echo "$ac_t""no" 1>&6 | 3228 echo "$ac_t""no" 1>&6 |
3214 fi | 3229 fi |
3215 rm -f conftest* | 3230 rm -f conftest* |
3216 | 3231 |
3217 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3232 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3218 echo "configure:3219: checking return type of signal handlers" >&5 | 3233 echo "configure:3234: checking return type of signal handlers" >&5 |
3219 | 3234 |
3220 cat > conftest.$ac_ext <<EOF | 3235 cat > conftest.$ac_ext <<EOF |
3221 #line 3222 "configure" | 3236 #line 3237 "configure" |
3222 #include "confdefs.h" | 3237 #include "confdefs.h" |
3223 #include <sys/types.h> | 3238 #include <sys/types.h> |
3224 #include <signal.h> | 3239 #include <signal.h> |
3225 #ifdef signal | 3240 #ifdef signal |
3226 #undef signal | 3241 #undef signal |
3233 | 3248 |
3234 int main() { | 3249 int main() { |
3235 int i; | 3250 int i; |
3236 ; return 0; } | 3251 ; return 0; } |
3237 EOF | 3252 EOF |
3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3253 if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3239 rm -rf conftest* | 3254 rm -rf conftest* |
3240 ac_cv_type_signal=void | 3255 ac_cv_type_signal=void |
3241 else | 3256 else |
3242 echo "configure: failed program was:" >&5 | 3257 echo "configure: failed program was:" >&5 |
3243 cat conftest.$ac_ext >&5 | 3258 cat conftest.$ac_ext >&5 |
3255 EOF | 3270 EOF |
3256 } | 3271 } |
3257 | 3272 |
3258 | 3273 |
3259 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3274 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3260 echo "configure:3261: checking for size_t" >&5 | 3275 echo "configure:3276: checking for size_t" >&5 |
3261 | 3276 |
3262 cat > conftest.$ac_ext <<EOF | 3277 cat > conftest.$ac_ext <<EOF |
3263 #line 3264 "configure" | 3278 #line 3279 "configure" |
3264 #include "confdefs.h" | 3279 #include "confdefs.h" |
3265 #include <sys/types.h> | 3280 #include <sys/types.h> |
3266 #if STDC_HEADERS | 3281 #if STDC_HEADERS |
3267 #include <stdlib.h> | 3282 #include <stdlib.h> |
3268 #include <stddef.h> | 3283 #include <stddef.h> |
3289 } | 3304 } |
3290 | 3305 |
3291 fi | 3306 fi |
3292 | 3307 |
3293 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3308 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3294 echo "configure:3295: checking for pid_t" >&5 | 3309 echo "configure:3310: checking for pid_t" >&5 |
3295 | 3310 |
3296 cat > conftest.$ac_ext <<EOF | 3311 cat > conftest.$ac_ext <<EOF |
3297 #line 3298 "configure" | 3312 #line 3313 "configure" |
3298 #include "confdefs.h" | 3313 #include "confdefs.h" |
3299 #include <sys/types.h> | 3314 #include <sys/types.h> |
3300 #if STDC_HEADERS | 3315 #if STDC_HEADERS |
3301 #include <stdlib.h> | 3316 #include <stdlib.h> |
3302 #include <stddef.h> | 3317 #include <stddef.h> |
3323 } | 3338 } |
3324 | 3339 |
3325 fi | 3340 fi |
3326 | 3341 |
3327 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3342 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3328 echo "configure:3329: checking for uid_t in sys/types.h" >&5 | 3343 echo "configure:3344: checking for uid_t in sys/types.h" >&5 |
3329 | 3344 |
3330 cat > conftest.$ac_ext <<EOF | 3345 cat > conftest.$ac_ext <<EOF |
3331 #line 3332 "configure" | 3346 #line 3347 "configure" |
3332 #include "confdefs.h" | 3347 #include "confdefs.h" |
3333 #include <sys/types.h> | 3348 #include <sys/types.h> |
3334 EOF | 3349 EOF |
3335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3336 egrep "uid_t" >/dev/null 2>&1; then | 3351 egrep "uid_t" >/dev/null 2>&1; then |
3362 } | 3377 } |
3363 | 3378 |
3364 fi | 3379 fi |
3365 | 3380 |
3366 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3381 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3367 echo "configure:3368: checking for mode_t" >&5 | 3382 echo "configure:3383: checking for mode_t" >&5 |
3368 | 3383 |
3369 cat > conftest.$ac_ext <<EOF | 3384 cat > conftest.$ac_ext <<EOF |
3370 #line 3371 "configure" | 3385 #line 3386 "configure" |
3371 #include "confdefs.h" | 3386 #include "confdefs.h" |
3372 #include <sys/types.h> | 3387 #include <sys/types.h> |
3373 #if STDC_HEADERS | 3388 #if STDC_HEADERS |
3374 #include <stdlib.h> | 3389 #include <stdlib.h> |
3375 #include <stddef.h> | 3390 #include <stddef.h> |
3396 } | 3411 } |
3397 | 3412 |
3398 fi | 3413 fi |
3399 | 3414 |
3400 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3415 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3401 echo "configure:3402: checking for off_t" >&5 | 3416 echo "configure:3417: checking for off_t" >&5 |
3402 | 3417 |
3403 cat > conftest.$ac_ext <<EOF | 3418 cat > conftest.$ac_ext <<EOF |
3404 #line 3405 "configure" | 3419 #line 3420 "configure" |
3405 #include "confdefs.h" | 3420 #include "confdefs.h" |
3406 #include <sys/types.h> | 3421 #include <sys/types.h> |
3407 #if STDC_HEADERS | 3422 #if STDC_HEADERS |
3408 #include <stdlib.h> | 3423 #include <stdlib.h> |
3409 #include <stddef.h> | 3424 #include <stddef.h> |
3431 | 3446 |
3432 fi | 3447 fi |
3433 | 3448 |
3434 | 3449 |
3435 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3450 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3436 echo "configure:3437: checking for struct timeval" >&5 | 3451 echo "configure:3452: checking for struct timeval" >&5 |
3437 cat > conftest.$ac_ext <<EOF | 3452 cat > conftest.$ac_ext <<EOF |
3438 #line 3439 "configure" | 3453 #line 3454 "configure" |
3439 #include "confdefs.h" | 3454 #include "confdefs.h" |
3440 #ifdef TIME_WITH_SYS_TIME | 3455 #ifdef TIME_WITH_SYS_TIME |
3441 #include <sys/time.h> | 3456 #include <sys/time.h> |
3442 #include <time.h> | 3457 #include <time.h> |
3443 #else | 3458 #else |
3449 #endif | 3464 #endif |
3450 int main() { | 3465 int main() { |
3451 static struct timeval x; x.tv_sec = x.tv_usec; | 3466 static struct timeval x; x.tv_sec = x.tv_usec; |
3452 ; return 0; } | 3467 ; return 0; } |
3453 EOF | 3468 EOF |
3454 if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3469 if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3455 rm -rf conftest* | 3470 rm -rf conftest* |
3456 echo "$ac_t""yes" 1>&6 | 3471 echo "$ac_t""yes" 1>&6 |
3457 HAVE_TIMEVAL=yes | 3472 HAVE_TIMEVAL=yes |
3458 { test "$extra_verbose" = "yes" && cat << \EOF | 3473 { test "$extra_verbose" = "yes" && cat << \EOF |
3459 Defining HAVE_TIMEVAL | 3474 Defining HAVE_TIMEVAL |
3471 HAVE_TIMEVAL=no | 3486 HAVE_TIMEVAL=no |
3472 fi | 3487 fi |
3473 rm -f conftest* | 3488 rm -f conftest* |
3474 | 3489 |
3475 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3490 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3476 echo "configure:3477: checking whether struct tm is in sys/time.h or time.h" >&5 | 3491 echo "configure:3492: checking whether struct tm is in sys/time.h or time.h" >&5 |
3477 | 3492 |
3478 cat > conftest.$ac_ext <<EOF | 3493 cat > conftest.$ac_ext <<EOF |
3479 #line 3480 "configure" | 3494 #line 3495 "configure" |
3480 #include "confdefs.h" | 3495 #include "confdefs.h" |
3481 #include <sys/types.h> | 3496 #include <sys/types.h> |
3482 #include <time.h> | 3497 #include <time.h> |
3483 int main() { | 3498 int main() { |
3484 struct tm *tp; tp->tm_sec; | 3499 struct tm *tp; tp->tm_sec; |
3485 ; return 0; } | 3500 ; return 0; } |
3486 EOF | 3501 EOF |
3487 if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3502 if { (eval echo configure:3503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3488 rm -rf conftest* | 3503 rm -rf conftest* |
3489 ac_cv_struct_tm=time.h | 3504 ac_cv_struct_tm=time.h |
3490 else | 3505 else |
3491 echo "configure: failed program was:" >&5 | 3506 echo "configure: failed program was:" >&5 |
3492 cat conftest.$ac_ext >&5 | 3507 cat conftest.$ac_ext >&5 |
3506 } | 3521 } |
3507 | 3522 |
3508 fi | 3523 fi |
3509 | 3524 |
3510 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3525 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3511 echo "configure:3512: checking for tm_zone in struct tm" >&5 | 3526 echo "configure:3527: checking for tm_zone in struct tm" >&5 |
3512 | 3527 |
3513 cat > conftest.$ac_ext <<EOF | 3528 cat > conftest.$ac_ext <<EOF |
3514 #line 3515 "configure" | 3529 #line 3530 "configure" |
3515 #include "confdefs.h" | 3530 #include "confdefs.h" |
3516 #include <sys/types.h> | 3531 #include <sys/types.h> |
3517 #include <$ac_cv_struct_tm> | 3532 #include <$ac_cv_struct_tm> |
3518 int main() { | 3533 int main() { |
3519 struct tm tm; tm.tm_zone; | 3534 struct tm tm; tm.tm_zone; |
3520 ; return 0; } | 3535 ; return 0; } |
3521 EOF | 3536 EOF |
3522 if { (eval echo configure:3523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3537 if { (eval echo configure:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3523 rm -rf conftest* | 3538 rm -rf conftest* |
3524 ac_cv_struct_tm_zone=yes | 3539 ac_cv_struct_tm_zone=yes |
3525 else | 3540 else |
3526 echo "configure: failed program was:" >&5 | 3541 echo "configure: failed program was:" >&5 |
3527 cat conftest.$ac_ext >&5 | 3542 cat conftest.$ac_ext >&5 |
3540 EOF | 3555 EOF |
3541 } | 3556 } |
3542 | 3557 |
3543 else | 3558 else |
3544 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3559 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3545 echo "configure:3546: checking for tzname" >&5 | 3560 echo "configure:3561: checking for tzname" >&5 |
3546 | 3561 |
3547 cat > conftest.$ac_ext <<EOF | 3562 cat > conftest.$ac_ext <<EOF |
3548 #line 3549 "configure" | 3563 #line 3564 "configure" |
3549 #include "confdefs.h" | 3564 #include "confdefs.h" |
3550 #include <time.h> | 3565 #include <time.h> |
3551 #ifndef tzname /* For SGI. */ | 3566 #ifndef tzname /* For SGI. */ |
3552 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3567 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3553 #endif | 3568 #endif |
3554 int main() { | 3569 int main() { |
3555 atoi(*tzname); | 3570 atoi(*tzname); |
3556 ; return 0; } | 3571 ; return 0; } |
3557 EOF | 3572 EOF |
3558 if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3573 if { (eval echo configure:3574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3559 rm -rf conftest* | 3574 rm -rf conftest* |
3560 ac_cv_var_tzname=yes | 3575 ac_cv_var_tzname=yes |
3561 else | 3576 else |
3562 echo "configure: failed program was:" >&5 | 3577 echo "configure: failed program was:" >&5 |
3563 cat conftest.$ac_ext >&5 | 3578 cat conftest.$ac_ext >&5 |
3579 fi | 3594 fi |
3580 fi | 3595 fi |
3581 | 3596 |
3582 | 3597 |
3583 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3598 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3584 echo "configure:3585: checking for working const" >&5 | 3599 echo "configure:3600: checking for working const" >&5 |
3585 | 3600 |
3586 cat > conftest.$ac_ext <<EOF | 3601 cat > conftest.$ac_ext <<EOF |
3587 #line 3588 "configure" | 3602 #line 3603 "configure" |
3588 #include "confdefs.h" | 3603 #include "confdefs.h" |
3589 | 3604 |
3590 int main() { | 3605 int main() { |
3591 | 3606 |
3592 /* Ultrix mips cc rejects this. */ | 3607 /* Ultrix mips cc rejects this. */ |
3631 const int foo = 10; | 3646 const int foo = 10; |
3632 } | 3647 } |
3633 | 3648 |
3634 ; return 0; } | 3649 ; return 0; } |
3635 EOF | 3650 EOF |
3636 if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3651 if { (eval echo configure:3652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3637 rm -rf conftest* | 3652 rm -rf conftest* |
3638 ac_cv_c_const=yes | 3653 ac_cv_c_const=yes |
3639 else | 3654 else |
3640 echo "configure: failed program was:" >&5 | 3655 echo "configure: failed program was:" >&5 |
3641 cat conftest.$ac_ext >&5 | 3656 cat conftest.$ac_ext >&5 |
3656 | 3671 |
3657 fi | 3672 fi |
3658 | 3673 |
3659 | 3674 |
3660 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3675 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3661 echo "configure:3662: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3676 echo "configure:3677: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3662 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3677 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3663 | 3678 |
3664 cat > conftestmake <<\EOF | 3679 cat > conftestmake <<\EOF |
3665 all: | 3680 all: |
3666 @echo 'ac_maketemp="${MAKE}"' | 3681 @echo 'ac_maketemp="${MAKE}"' |
3681 SET_MAKE="MAKE=${MAKE-make}" | 3696 SET_MAKE="MAKE=${MAKE-make}" |
3682 fi | 3697 fi |
3683 | 3698 |
3684 | 3699 |
3685 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3700 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3686 echo "configure:3687: checking whether byte ordering is bigendian" >&5 | 3701 echo "configure:3702: checking whether byte ordering is bigendian" >&5 |
3687 | 3702 |
3688 ac_cv_c_bigendian=unknown | 3703 ac_cv_c_bigendian=unknown |
3689 # See if sys/param.h defines the BYTE_ORDER macro. | 3704 # See if sys/param.h defines the BYTE_ORDER macro. |
3690 cat > conftest.$ac_ext <<EOF | 3705 cat > conftest.$ac_ext <<EOF |
3691 #line 3692 "configure" | 3706 #line 3707 "configure" |
3692 #include "confdefs.h" | 3707 #include "confdefs.h" |
3693 #include <sys/types.h> | 3708 #include <sys/types.h> |
3694 #include <sys/param.h> | 3709 #include <sys/param.h> |
3695 int main() { | 3710 int main() { |
3696 | 3711 |
3697 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3712 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3698 bogus endian macros | 3713 bogus endian macros |
3699 #endif | 3714 #endif |
3700 ; return 0; } | 3715 ; return 0; } |
3701 EOF | 3716 EOF |
3702 if { (eval echo configure:3703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3703 rm -rf conftest* | 3718 rm -rf conftest* |
3704 # It does; now see whether it defined to BIG_ENDIAN or not. | 3719 # It does; now see whether it defined to BIG_ENDIAN or not. |
3705 cat > conftest.$ac_ext <<EOF | 3720 cat > conftest.$ac_ext <<EOF |
3706 #line 3707 "configure" | 3721 #line 3722 "configure" |
3707 #include "confdefs.h" | 3722 #include "confdefs.h" |
3708 #include <sys/types.h> | 3723 #include <sys/types.h> |
3709 #include <sys/param.h> | 3724 #include <sys/param.h> |
3710 int main() { | 3725 int main() { |
3711 | 3726 |
3712 #if BYTE_ORDER != BIG_ENDIAN | 3727 #if BYTE_ORDER != BIG_ENDIAN |
3713 not big endian | 3728 not big endian |
3714 #endif | 3729 #endif |
3715 ; return 0; } | 3730 ; return 0; } |
3716 EOF | 3731 EOF |
3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3732 if { (eval echo configure:3733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3718 rm -rf conftest* | 3733 rm -rf conftest* |
3719 ac_cv_c_bigendian=yes | 3734 ac_cv_c_bigendian=yes |
3720 else | 3735 else |
3721 echo "configure: failed program was:" >&5 | 3736 echo "configure: failed program was:" >&5 |
3722 cat conftest.$ac_ext >&5 | 3737 cat conftest.$ac_ext >&5 |
3729 cat conftest.$ac_ext >&5 | 3744 cat conftest.$ac_ext >&5 |
3730 fi | 3745 fi |
3731 rm -f conftest* | 3746 rm -f conftest* |
3732 if test $ac_cv_c_bigendian = unknown; then | 3747 if test $ac_cv_c_bigendian = unknown; then |
3733 cat > conftest.$ac_ext <<EOF | 3748 cat > conftest.$ac_ext <<EOF |
3734 #line 3735 "configure" | 3749 #line 3750 "configure" |
3735 #include "confdefs.h" | 3750 #include "confdefs.h" |
3736 main () { | 3751 main () { |
3737 /* Are we little or big endian? From Harbison&Steele. */ | 3752 /* Are we little or big endian? From Harbison&Steele. */ |
3738 union | 3753 union |
3739 { | 3754 { |
3742 } u; | 3757 } u; |
3743 u.l = 1; | 3758 u.l = 1; |
3744 exit (u.c[sizeof (long) - 1] == 1); | 3759 exit (u.c[sizeof (long) - 1] == 1); |
3745 } | 3760 } |
3746 EOF | 3761 EOF |
3747 if { (eval echo configure:3748: \"$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 |
3748 then | 3763 then |
3749 ac_cv_c_bigendian=no | 3764 ac_cv_c_bigendian=no |
3750 else | 3765 else |
3751 echo "configure: failed program was:" >&5 | 3766 echo "configure: failed program was:" >&5 |
3752 cat conftest.$ac_ext >&5 | 3767 cat conftest.$ac_ext >&5 |
3768 | 3783 |
3769 fi | 3784 fi |
3770 | 3785 |
3771 | 3786 |
3772 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3787 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3773 echo "configure:3774: checking size of short" >&5 | 3788 echo "configure:3789: checking size of short" >&5 |
3774 | 3789 |
3775 cat > conftest.$ac_ext <<EOF | 3790 cat > conftest.$ac_ext <<EOF |
3776 #line 3777 "configure" | 3791 #line 3792 "configure" |
3777 #include "confdefs.h" | 3792 #include "confdefs.h" |
3778 #include <stdio.h> | 3793 #include <stdio.h> |
3779 main() | 3794 main() |
3780 { | 3795 { |
3781 FILE *f=fopen("conftestval", "w"); | 3796 FILE *f=fopen("conftestval", "w"); |
3782 if (!f) exit(1); | 3797 if (!f) exit(1); |
3783 fprintf(f, "%d\n", sizeof(short)); | 3798 fprintf(f, "%d\n", sizeof(short)); |
3784 exit(0); | 3799 exit(0); |
3785 } | 3800 } |
3786 EOF | 3801 EOF |
3787 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3802 if { (eval echo configure:3803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3788 then | 3803 then |
3789 ac_cv_sizeof_short=`cat conftestval` | 3804 ac_cv_sizeof_short=`cat conftestval` |
3790 else | 3805 else |
3791 echo "configure: failed program was:" >&5 | 3806 echo "configure: failed program was:" >&5 |
3792 cat conftest.$ac_ext >&5 | 3807 cat conftest.$ac_ext >&5 |
3809 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3824 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3810 echo "*** PANIC *** Please examine config.log for compilation errors." | 3825 echo "*** PANIC *** Please examine config.log for compilation errors." |
3811 exit 1 | 3826 exit 1 |
3812 fi | 3827 fi |
3813 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3828 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3814 echo "configure:3815: checking size of int" >&5 | 3829 echo "configure:3830: checking size of int" >&5 |
3815 | 3830 |
3816 cat > conftest.$ac_ext <<EOF | 3831 cat > conftest.$ac_ext <<EOF |
3817 #line 3818 "configure" | 3832 #line 3833 "configure" |
3818 #include "confdefs.h" | 3833 #include "confdefs.h" |
3819 #include <stdio.h> | 3834 #include <stdio.h> |
3820 main() | 3835 main() |
3821 { | 3836 { |
3822 FILE *f=fopen("conftestval", "w"); | 3837 FILE *f=fopen("conftestval", "w"); |
3823 if (!f) exit(1); | 3838 if (!f) exit(1); |
3824 fprintf(f, "%d\n", sizeof(int)); | 3839 fprintf(f, "%d\n", sizeof(int)); |
3825 exit(0); | 3840 exit(0); |
3826 } | 3841 } |
3827 EOF | 3842 EOF |
3828 if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3843 if { (eval echo configure:3844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3829 then | 3844 then |
3830 ac_cv_sizeof_int=`cat conftestval` | 3845 ac_cv_sizeof_int=`cat conftestval` |
3831 else | 3846 else |
3832 echo "configure: failed program was:" >&5 | 3847 echo "configure: failed program was:" >&5 |
3833 cat conftest.$ac_ext >&5 | 3848 cat conftest.$ac_ext >&5 |
3844 EOF | 3859 EOF |
3845 } | 3860 } |
3846 | 3861 |
3847 | 3862 |
3848 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3863 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3849 echo "configure:3850: checking size of long" >&5 | 3864 echo "configure:3865: checking size of long" >&5 |
3850 | 3865 |
3851 cat > conftest.$ac_ext <<EOF | 3866 cat > conftest.$ac_ext <<EOF |
3852 #line 3853 "configure" | 3867 #line 3868 "configure" |
3853 #include "confdefs.h" | 3868 #include "confdefs.h" |
3854 #include <stdio.h> | 3869 #include <stdio.h> |
3855 main() | 3870 main() |
3856 { | 3871 { |
3857 FILE *f=fopen("conftestval", "w"); | 3872 FILE *f=fopen("conftestval", "w"); |
3858 if (!f) exit(1); | 3873 if (!f) exit(1); |
3859 fprintf(f, "%d\n", sizeof(long)); | 3874 fprintf(f, "%d\n", sizeof(long)); |
3860 exit(0); | 3875 exit(0); |
3861 } | 3876 } |
3862 EOF | 3877 EOF |
3863 if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3878 if { (eval echo configure:3879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3864 then | 3879 then |
3865 ac_cv_sizeof_long=`cat conftestval` | 3880 ac_cv_sizeof_long=`cat conftestval` |
3866 else | 3881 else |
3867 echo "configure: failed program was:" >&5 | 3882 echo "configure: failed program was:" >&5 |
3868 cat conftest.$ac_ext >&5 | 3883 cat conftest.$ac_ext >&5 |
3879 EOF | 3894 EOF |
3880 } | 3895 } |
3881 | 3896 |
3882 | 3897 |
3883 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3898 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3884 echo "configure:3885: checking size of long long" >&5 | 3899 echo "configure:3900: checking size of long long" >&5 |
3885 | 3900 |
3886 cat > conftest.$ac_ext <<EOF | 3901 cat > conftest.$ac_ext <<EOF |
3887 #line 3888 "configure" | 3902 #line 3903 "configure" |
3888 #include "confdefs.h" | 3903 #include "confdefs.h" |
3889 #include <stdio.h> | 3904 #include <stdio.h> |
3890 main() | 3905 main() |
3891 { | 3906 { |
3892 FILE *f=fopen("conftestval", "w"); | 3907 FILE *f=fopen("conftestval", "w"); |
3893 if (!f) exit(1); | 3908 if (!f) exit(1); |
3894 fprintf(f, "%d\n", sizeof(long long)); | 3909 fprintf(f, "%d\n", sizeof(long long)); |
3895 exit(0); | 3910 exit(0); |
3896 } | 3911 } |
3897 EOF | 3912 EOF |
3898 if { (eval echo configure:3899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3913 if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3899 then | 3914 then |
3900 ac_cv_sizeof_long_long=`cat conftestval` | 3915 ac_cv_sizeof_long_long=`cat conftestval` |
3901 else | 3916 else |
3902 echo "configure: failed program was:" >&5 | 3917 echo "configure: failed program was:" >&5 |
3903 cat conftest.$ac_ext >&5 | 3918 cat conftest.$ac_ext >&5 |
3914 EOF | 3929 EOF |
3915 } | 3930 } |
3916 | 3931 |
3917 | 3932 |
3918 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3933 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3919 echo "configure:3920: checking size of void *" >&5 | 3934 echo "configure:3935: checking size of void *" >&5 |
3920 | 3935 |
3921 cat > conftest.$ac_ext <<EOF | 3936 cat > conftest.$ac_ext <<EOF |
3922 #line 3923 "configure" | 3937 #line 3938 "configure" |
3923 #include "confdefs.h" | 3938 #include "confdefs.h" |
3924 #include <stdio.h> | 3939 #include <stdio.h> |
3925 main() | 3940 main() |
3926 { | 3941 { |
3927 FILE *f=fopen("conftestval", "w"); | 3942 FILE *f=fopen("conftestval", "w"); |
3928 if (!f) exit(1); | 3943 if (!f) exit(1); |
3929 fprintf(f, "%d\n", sizeof(void *)); | 3944 fprintf(f, "%d\n", sizeof(void *)); |
3930 exit(0); | 3945 exit(0); |
3931 } | 3946 } |
3932 EOF | 3947 EOF |
3933 if { (eval echo configure:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3948 if { (eval echo configure:3949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3934 then | 3949 then |
3935 ac_cv_sizeof_void_p=`cat conftestval` | 3950 ac_cv_sizeof_void_p=`cat conftestval` |
3936 else | 3951 else |
3937 echo "configure: failed program was:" >&5 | 3952 echo "configure: failed program was:" >&5 |
3938 cat conftest.$ac_ext >&5 | 3953 cat conftest.$ac_ext >&5 |
3950 } | 3965 } |
3951 | 3966 |
3952 | 3967 |
3953 | 3968 |
3954 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3969 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3955 echo "configure:3956: checking for long file names" >&5 | 3970 echo "configure:3971: checking for long file names" >&5 |
3956 | 3971 |
3957 ac_cv_sys_long_file_names=yes | 3972 ac_cv_sys_long_file_names=yes |
3958 # Test for long file names in all the places we know might matter: | 3973 # Test for long file names in all the places we know might matter: |
3959 # . the current directory, where building will happen | 3974 # . the current directory, where building will happen |
3960 # $prefix/lib where we will be installing things | 3975 # $prefix/lib where we will be installing things |
3997 fi | 4012 fi |
3998 | 4013 |
3999 | 4014 |
4000 | 4015 |
4001 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4016 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4002 echo "configure:4003: checking for sin in -lm" >&5 | 4017 echo "configure:4018: checking for sin in -lm" >&5 |
4003 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4018 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4004 | 4019 |
4005 xe_check_libs=" -lm " | 4020 xe_check_libs=" -lm " |
4006 cat > conftest.$ac_ext <<EOF | 4021 cat > conftest.$ac_ext <<EOF |
4007 #line 4008 "configure" | 4022 #line 4023 "configure" |
4008 #include "confdefs.h" | 4023 #include "confdefs.h" |
4009 /* Override any gcc2 internal prototype to avoid an error. */ | 4024 /* Override any gcc2 internal prototype to avoid an error. */ |
4010 /* We use char because int might match the return type of a gcc2 | 4025 /* We use char because int might match the return type of a gcc2 |
4011 builtin and then its argument prototype would still apply. */ | 4026 builtin and then its argument prototype would still apply. */ |
4012 char sin(); | 4027 char sin(); |
4013 | 4028 |
4014 int main() { | 4029 int main() { |
4015 sin() | 4030 sin() |
4016 ; return 0; } | 4031 ; return 0; } |
4017 EOF | 4032 EOF |
4018 if { (eval echo configure:4019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4033 if { (eval echo configure:4034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4019 rm -rf conftest* | 4034 rm -rf conftest* |
4020 eval "ac_cv_lib_$ac_lib_var=yes" | 4035 eval "ac_cv_lib_$ac_lib_var=yes" |
4021 else | 4036 else |
4022 echo "configure: failed program was:" >&5 | 4037 echo "configure: failed program was:" >&5 |
4023 cat conftest.$ac_ext >&5 | 4038 cat conftest.$ac_ext >&5 |
4055 EOF | 4070 EOF |
4056 } | 4071 } |
4057 | 4072 |
4058 | 4073 |
4059 cat > conftest.$ac_ext <<EOF | 4074 cat > conftest.$ac_ext <<EOF |
4060 #line 4061 "configure" | 4075 #line 4076 "configure" |
4061 #include "confdefs.h" | 4076 #include "confdefs.h" |
4062 #include <math.h> | 4077 #include <math.h> |
4063 int main() { | 4078 int main() { |
4064 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4079 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4065 ; return 0; } | 4080 ; return 0; } |
4066 EOF | 4081 EOF |
4067 if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4082 if { (eval echo configure:4083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4068 rm -rf conftest* | 4083 rm -rf conftest* |
4069 { test "$extra_verbose" = "yes" && cat << \EOF | 4084 { test "$extra_verbose" = "yes" && cat << \EOF |
4070 Defining HAVE_INVERSE_HYPERBOLIC | 4085 Defining HAVE_INVERSE_HYPERBOLIC |
4071 EOF | 4086 EOF |
4072 cat >> confdefs.h <<\EOF | 4087 cat >> confdefs.h <<\EOF |
4079 cat conftest.$ac_ext >&5 | 4094 cat conftest.$ac_ext >&5 |
4080 fi | 4095 fi |
4081 rm -f conftest* | 4096 rm -f conftest* |
4082 | 4097 |
4083 echo "checking type of mail spool file locking" 1>&6 | 4098 echo "checking type of mail spool file locking" 1>&6 |
4084 echo "configure:4085: checking type of mail spool file locking" >&5 | 4099 echo "configure:4100: checking type of mail spool file locking" >&5 |
4085 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4100 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4086 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4101 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4087 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4102 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4088 Defining REAL_MAIL_USE_LOCKF | 4103 Defining REAL_MAIL_USE_LOCKF |
4089 EOF | 4104 EOF |
4103 else mail_locking="dot-locking" | 4118 else mail_locking="dot-locking" |
4104 fi | 4119 fi |
4105 | 4120 |
4106 | 4121 |
4107 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4122 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4108 echo "configure:4109: checking for kstat_open in -lkstat" >&5 | 4123 echo "configure:4124: checking for kstat_open in -lkstat" >&5 |
4109 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4124 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4110 | 4125 |
4111 xe_check_libs=" -lkstat " | 4126 xe_check_libs=" -lkstat " |
4112 cat > conftest.$ac_ext <<EOF | 4127 cat > conftest.$ac_ext <<EOF |
4113 #line 4114 "configure" | 4128 #line 4129 "configure" |
4114 #include "confdefs.h" | 4129 #include "confdefs.h" |
4115 /* Override any gcc2 internal prototype to avoid an error. */ | 4130 /* Override any gcc2 internal prototype to avoid an error. */ |
4116 /* We use char because int might match the return type of a gcc2 | 4131 /* We use char because int might match the return type of a gcc2 |
4117 builtin and then its argument prototype would still apply. */ | 4132 builtin and then its argument prototype would still apply. */ |
4118 char kstat_open(); | 4133 char kstat_open(); |
4119 | 4134 |
4120 int main() { | 4135 int main() { |
4121 kstat_open() | 4136 kstat_open() |
4122 ; return 0; } | 4137 ; return 0; } |
4123 EOF | 4138 EOF |
4124 if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4139 if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4125 rm -rf conftest* | 4140 rm -rf conftest* |
4126 eval "ac_cv_lib_$ac_lib_var=yes" | 4141 eval "ac_cv_lib_$ac_lib_var=yes" |
4127 else | 4142 else |
4128 echo "configure: failed program was:" >&5 | 4143 echo "configure: failed program was:" >&5 |
4129 cat conftest.$ac_ext >&5 | 4144 cat conftest.$ac_ext >&5 |
4153 | 4168 |
4154 | 4169 |
4155 | 4170 |
4156 | 4171 |
4157 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4172 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4158 echo "configure:4159: checking for kvm_read in -lkvm" >&5 | 4173 echo "configure:4174: checking for kvm_read in -lkvm" >&5 |
4159 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4174 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4160 | 4175 |
4161 xe_check_libs=" -lkvm " | 4176 xe_check_libs=" -lkvm " |
4162 cat > conftest.$ac_ext <<EOF | 4177 cat > conftest.$ac_ext <<EOF |
4163 #line 4164 "configure" | 4178 #line 4179 "configure" |
4164 #include "confdefs.h" | 4179 #include "confdefs.h" |
4165 /* Override any gcc2 internal prototype to avoid an error. */ | 4180 /* Override any gcc2 internal prototype to avoid an error. */ |
4166 /* We use char because int might match the return type of a gcc2 | 4181 /* We use char because int might match the return type of a gcc2 |
4167 builtin and then its argument prototype would still apply. */ | 4182 builtin and then its argument prototype would still apply. */ |
4168 char kvm_read(); | 4183 char kvm_read(); |
4169 | 4184 |
4170 int main() { | 4185 int main() { |
4171 kvm_read() | 4186 kvm_read() |
4172 ; return 0; } | 4187 ; return 0; } |
4173 EOF | 4188 EOF |
4174 if { (eval echo configure:4175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4189 if { (eval echo configure:4190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4175 rm -rf conftest* | 4190 rm -rf conftest* |
4176 eval "ac_cv_lib_$ac_lib_var=yes" | 4191 eval "ac_cv_lib_$ac_lib_var=yes" |
4177 else | 4192 else |
4178 echo "configure: failed program was:" >&5 | 4193 echo "configure: failed program was:" >&5 |
4179 cat conftest.$ac_ext >&5 | 4194 cat conftest.$ac_ext >&5 |
4204 | 4219 |
4205 | 4220 |
4206 case "$opsys" in decosf*) | 4221 case "$opsys" in decosf*) |
4207 | 4222 |
4208 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4223 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4209 echo "configure:4210: checking for cma_open in -lpthreads" >&5 | 4224 echo "configure:4225: checking for cma_open in -lpthreads" >&5 |
4210 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4225 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4211 | 4226 |
4212 xe_check_libs=" -lpthreads " | 4227 xe_check_libs=" -lpthreads " |
4213 cat > conftest.$ac_ext <<EOF | 4228 cat > conftest.$ac_ext <<EOF |
4214 #line 4215 "configure" | 4229 #line 4230 "configure" |
4215 #include "confdefs.h" | 4230 #include "confdefs.h" |
4216 /* Override any gcc2 internal prototype to avoid an error. */ | 4231 /* Override any gcc2 internal prototype to avoid an error. */ |
4217 /* We use char because int might match the return type of a gcc2 | 4232 /* We use char because int might match the return type of a gcc2 |
4218 builtin and then its argument prototype would still apply. */ | 4233 builtin and then its argument prototype would still apply. */ |
4219 char cma_open(); | 4234 char cma_open(); |
4220 | 4235 |
4221 int main() { | 4236 int main() { |
4222 cma_open() | 4237 cma_open() |
4223 ; return 0; } | 4238 ; return 0; } |
4224 EOF | 4239 EOF |
4225 if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4240 if { (eval echo configure:4241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4226 rm -rf conftest* | 4241 rm -rf conftest* |
4227 eval "ac_cv_lib_$ac_lib_var=yes" | 4242 eval "ac_cv_lib_$ac_lib_var=yes" |
4228 else | 4243 else |
4229 echo "configure: failed program was:" >&5 | 4244 echo "configure: failed program was:" >&5 |
4230 cat conftest.$ac_ext >&5 | 4245 cat conftest.$ac_ext >&5 |
4256 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4271 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4257 c_switch_site="$c_switch_site -threads" ;; | 4272 c_switch_site="$c_switch_site -threads" ;; |
4258 esac | 4273 esac |
4259 | 4274 |
4260 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4275 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4261 echo "configure:4262: checking whether the -xildoff compiler flag is required" >&5 | 4276 echo "configure:4277: checking whether the -xildoff compiler flag is required" >&5 |
4262 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4277 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4263 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4278 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4264 then echo "$ac_t""no" 1>&6; | 4279 then echo "$ac_t""no" 1>&6; |
4265 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 | 4280 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 |
4266 fi | 4281 fi |
4267 else echo "$ac_t""no" 1>&6 | 4282 else echo "$ac_t""no" 1>&6 |
4268 fi | 4283 fi |
4269 | 4284 |
4270 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4285 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4271 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4286 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4272 echo "configure:4273: checking for \"-z ignore\" linker flag" >&5 | 4287 echo "configure:4288: checking for \"-z ignore\" linker flag" >&5 |
4273 case "`ld -h 2>&1`" in | 4288 case "`ld -h 2>&1`" in |
4274 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4289 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4275 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4290 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4276 *) echo "$ac_t""no" 1>&6 ;; | 4291 *) echo "$ac_t""no" 1>&6 ;; |
4277 esac | 4292 esac |
4278 fi | 4293 fi |
4279 | 4294 |
4280 | 4295 |
4281 echo "checking "for specified window system"" 1>&6 | 4296 echo "checking "for specified window system"" 1>&6 |
4282 echo "configure:4283: checking "for specified window system"" >&5 | 4297 echo "configure:4298: checking "for specified window system"" >&5 |
4283 | 4298 |
4284 if test "$with_x11" != "no"; then | 4299 if test "$with_x11" != "no"; then |
4285 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4300 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4286 window_system=x11 with_x11=yes | 4301 window_system=x11 with_x11=yes |
4287 | 4302 |
4310 # If we find X, set shell vars x_includes and x_libraries to the | 4325 # If we find X, set shell vars x_includes and x_libraries to the |
4311 # paths, otherwise set no_x=yes. | 4326 # paths, otherwise set no_x=yes. |
4312 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4327 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4313 # --without-x overrides everything else, but does not touch the cache. | 4328 # --without-x overrides everything else, but does not touch the cache. |
4314 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4329 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4315 echo "configure:4316: checking for X" >&5 | 4330 echo "configure:4331: checking for X" >&5 |
4316 | 4331 |
4317 # Check whether --with-x or --without-x was given. | 4332 # Check whether --with-x or --without-x was given. |
4318 if test "${with_x+set}" = set; then | 4333 if test "${with_x+set}" = set; then |
4319 withval="$with_x" | 4334 withval="$with_x" |
4320 : | 4335 : |
4370 # Guess where to find include files, by looking for this one X11 .h file. | 4385 # Guess where to find include files, by looking for this one X11 .h file. |
4371 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4386 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4372 | 4387 |
4373 # First, try using that file with no special directory specified. | 4388 # First, try using that file with no special directory specified. |
4374 cat > conftest.$ac_ext <<EOF | 4389 cat > conftest.$ac_ext <<EOF |
4375 #line 4376 "configure" | 4390 #line 4391 "configure" |
4376 #include "confdefs.h" | 4391 #include "confdefs.h" |
4377 #include <$x_direct_test_include> | 4392 #include <$x_direct_test_include> |
4378 EOF | 4393 EOF |
4379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4380 { (eval echo configure:4381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4395 { (eval echo configure:4396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4381 ac_err=`grep -v '^ *+' conftest.out` | 4396 ac_err=`grep -v '^ *+' conftest.out` |
4382 if test -z "$ac_err"; then | 4397 if test -z "$ac_err"; then |
4383 rm -rf conftest* | 4398 rm -rf conftest* |
4384 # We can compile using X headers with no special include directory. | 4399 # We can compile using X headers with no special include directory. |
4385 ac_x_includes= | 4400 ac_x_includes= |
4444 # See if we find them without any special options. | 4459 # See if we find them without any special options. |
4445 # Don't add to $LIBS permanently. | 4460 # Don't add to $LIBS permanently. |
4446 ac_save_LIBS="$LIBS" | 4461 ac_save_LIBS="$LIBS" |
4447 LIBS="-l$x_direct_test_library $LIBS" | 4462 LIBS="-l$x_direct_test_library $LIBS" |
4448 cat > conftest.$ac_ext <<EOF | 4463 cat > conftest.$ac_ext <<EOF |
4449 #line 4450 "configure" | 4464 #line 4465 "configure" |
4450 #include "confdefs.h" | 4465 #include "confdefs.h" |
4451 | 4466 |
4452 int main() { | 4467 int main() { |
4453 ${x_direct_test_function}() | 4468 ${x_direct_test_function}() |
4454 ; return 0; } | 4469 ; return 0; } |
4455 EOF | 4470 EOF |
4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4471 if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4457 rm -rf conftest* | 4472 rm -rf conftest* |
4458 LIBS="$ac_save_LIBS" | 4473 LIBS="$ac_save_LIBS" |
4459 # We can link X programs with no special library path. | 4474 # We can link X programs with no special library path. |
4460 ac_x_libraries= | 4475 ac_x_libraries= |
4461 else | 4476 else |
4560 # For Solaris; some versions of Sun CC require a space after -R and | 4575 # For Solaris; some versions of Sun CC require a space after -R and |
4561 # others require no space. Words are not sufficient . . . . | 4576 # others require no space. Words are not sufficient . . . . |
4562 case "`(uname -sr) 2>/dev/null`" in | 4577 case "`(uname -sr) 2>/dev/null`" in |
4563 "SunOS 5"*) | 4578 "SunOS 5"*) |
4564 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4579 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4565 echo "configure:4566: checking whether -R must be followed by a space" >&5 | 4580 echo "configure:4581: checking whether -R must be followed by a space" >&5 |
4566 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4581 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4567 cat > conftest.$ac_ext <<EOF | 4582 cat > conftest.$ac_ext <<EOF |
4568 #line 4569 "configure" | 4583 #line 4584 "configure" |
4569 #include "confdefs.h" | 4584 #include "confdefs.h" |
4570 | 4585 |
4571 int main() { | 4586 int main() { |
4572 | 4587 |
4573 ; return 0; } | 4588 ; return 0; } |
4574 EOF | 4589 EOF |
4575 if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4590 if { (eval echo configure:4591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4576 rm -rf conftest* | 4591 rm -rf conftest* |
4577 ac_R_nospace=yes | 4592 ac_R_nospace=yes |
4578 else | 4593 else |
4579 echo "configure: failed program was:" >&5 | 4594 echo "configure: failed program was:" >&5 |
4580 cat conftest.$ac_ext >&5 | 4595 cat conftest.$ac_ext >&5 |
4586 echo "$ac_t""no" 1>&6 | 4601 echo "$ac_t""no" 1>&6 |
4587 X_LIBS="$X_LIBS -R$x_libraries" | 4602 X_LIBS="$X_LIBS -R$x_libraries" |
4588 else | 4603 else |
4589 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4604 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4590 cat > conftest.$ac_ext <<EOF | 4605 cat > conftest.$ac_ext <<EOF |
4591 #line 4592 "configure" | 4606 #line 4607 "configure" |
4592 #include "confdefs.h" | 4607 #include "confdefs.h" |
4593 | 4608 |
4594 int main() { | 4609 int main() { |
4595 | 4610 |
4596 ; return 0; } | 4611 ; return 0; } |
4597 EOF | 4612 EOF |
4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4599 rm -rf conftest* | 4614 rm -rf conftest* |
4600 ac_R_space=yes | 4615 ac_R_space=yes |
4601 else | 4616 else |
4602 echo "configure: failed program was:" >&5 | 4617 echo "configure: failed program was:" >&5 |
4603 cat conftest.$ac_ext >&5 | 4618 cat conftest.$ac_ext >&5 |
4629 if test "$with_dnet" = "no" ; then | 4644 if test "$with_dnet" = "no" ; then |
4630 ac_cv_lib_dnet_dnet_ntoa=no | 4645 ac_cv_lib_dnet_dnet_ntoa=no |
4631 else | 4646 else |
4632 | 4647 |
4633 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4648 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4634 echo "configure:4635: checking for dnet_ntoa in -ldnet" >&5 | 4649 echo "configure:4650: checking for dnet_ntoa in -ldnet" >&5 |
4635 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4650 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4636 | 4651 |
4637 xe_check_libs=" -ldnet " | 4652 xe_check_libs=" -ldnet " |
4638 cat > conftest.$ac_ext <<EOF | 4653 cat > conftest.$ac_ext <<EOF |
4639 #line 4640 "configure" | 4654 #line 4655 "configure" |
4640 #include "confdefs.h" | 4655 #include "confdefs.h" |
4641 /* Override any gcc2 internal prototype to avoid an error. */ | 4656 /* Override any gcc2 internal prototype to avoid an error. */ |
4642 /* We use char because int might match the return type of a gcc2 | 4657 /* We use char because int might match the return type of a gcc2 |
4643 builtin and then its argument prototype would still apply. */ | 4658 builtin and then its argument prototype would still apply. */ |
4644 char dnet_ntoa(); | 4659 char dnet_ntoa(); |
4645 | 4660 |
4646 int main() { | 4661 int main() { |
4647 dnet_ntoa() | 4662 dnet_ntoa() |
4648 ; return 0; } | 4663 ; return 0; } |
4649 EOF | 4664 EOF |
4650 if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4665 if { (eval echo configure:4666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4651 rm -rf conftest* | 4666 rm -rf conftest* |
4652 eval "ac_cv_lib_$ac_lib_var=yes" | 4667 eval "ac_cv_lib_$ac_lib_var=yes" |
4653 else | 4668 else |
4654 echo "configure: failed program was:" >&5 | 4669 echo "configure: failed program was:" >&5 |
4655 cat conftest.$ac_ext >&5 | 4670 cat conftest.$ac_ext >&5 |
4669 fi | 4684 fi |
4670 | 4685 |
4671 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4686 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4672 | 4687 |
4673 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4688 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4674 echo "configure:4675: checking for dnet_ntoa in -ldnet_stub" >&5 | 4689 echo "configure:4690: checking for dnet_ntoa in -ldnet_stub" >&5 |
4675 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4690 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4676 | 4691 |
4677 xe_check_libs=" -ldnet_stub " | 4692 xe_check_libs=" -ldnet_stub " |
4678 cat > conftest.$ac_ext <<EOF | 4693 cat > conftest.$ac_ext <<EOF |
4679 #line 4680 "configure" | 4694 #line 4695 "configure" |
4680 #include "confdefs.h" | 4695 #include "confdefs.h" |
4681 /* Override any gcc2 internal prototype to avoid an error. */ | 4696 /* Override any gcc2 internal prototype to avoid an error. */ |
4682 /* We use char because int might match the return type of a gcc2 | 4697 /* We use char because int might match the return type of a gcc2 |
4683 builtin and then its argument prototype would still apply. */ | 4698 builtin and then its argument prototype would still apply. */ |
4684 char dnet_ntoa(); | 4699 char dnet_ntoa(); |
4685 | 4700 |
4686 int main() { | 4701 int main() { |
4687 dnet_ntoa() | 4702 dnet_ntoa() |
4688 ; return 0; } | 4703 ; return 0; } |
4689 EOF | 4704 EOF |
4690 if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4691 rm -rf conftest* | 4706 rm -rf conftest* |
4692 eval "ac_cv_lib_$ac_lib_var=yes" | 4707 eval "ac_cv_lib_$ac_lib_var=yes" |
4693 else | 4708 else |
4694 echo "configure: failed program was:" >&5 | 4709 echo "configure: failed program was:" >&5 |
4695 cat conftest.$ac_ext >&5 | 4710 cat conftest.$ac_ext >&5 |
4714 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4729 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4715 # needs -lnsl. | 4730 # needs -lnsl. |
4716 # The nsl library prevents programs from opening the X display | 4731 # The nsl library prevents programs from opening the X display |
4717 # on Irix 5.2, according to dickey@clark.net. | 4732 # on Irix 5.2, according to dickey@clark.net. |
4718 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4733 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4719 echo "configure:4720: checking for gethostbyname" >&5 | 4734 echo "configure:4735: checking for gethostbyname" >&5 |
4720 | 4735 |
4721 cat > conftest.$ac_ext <<EOF | 4736 cat > conftest.$ac_ext <<EOF |
4722 #line 4723 "configure" | 4737 #line 4738 "configure" |
4723 #include "confdefs.h" | 4738 #include "confdefs.h" |
4724 /* System header to define __stub macros and hopefully few prototypes, | 4739 /* System header to define __stub macros and hopefully few prototypes, |
4725 which can conflict with char gethostbyname(); below. */ | 4740 which can conflict with char gethostbyname(); below. */ |
4726 #include <assert.h> | 4741 #include <assert.h> |
4727 /* Override any gcc2 internal prototype to avoid an error. */ | 4742 /* Override any gcc2 internal prototype to avoid an error. */ |
4740 gethostbyname(); | 4755 gethostbyname(); |
4741 #endif | 4756 #endif |
4742 | 4757 |
4743 ; return 0; } | 4758 ; return 0; } |
4744 EOF | 4759 EOF |
4745 if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4760 if { (eval echo configure:4761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4746 rm -rf conftest* | 4761 rm -rf conftest* |
4747 eval "ac_cv_func_gethostbyname=yes" | 4762 eval "ac_cv_func_gethostbyname=yes" |
4748 else | 4763 else |
4749 echo "configure: failed program was:" >&5 | 4764 echo "configure: failed program was:" >&5 |
4750 cat conftest.$ac_ext >&5 | 4765 cat conftest.$ac_ext >&5 |
4761 fi | 4776 fi |
4762 | 4777 |
4763 if test $ac_cv_func_gethostbyname = no; then | 4778 if test $ac_cv_func_gethostbyname = no; then |
4764 | 4779 |
4765 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4780 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4766 echo "configure:4767: checking for gethostbyname in -lnsl" >&5 | 4781 echo "configure:4782: checking for gethostbyname in -lnsl" >&5 |
4767 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4782 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4768 | 4783 |
4769 xe_check_libs=" -lnsl " | 4784 xe_check_libs=" -lnsl " |
4770 cat > conftest.$ac_ext <<EOF | 4785 cat > conftest.$ac_ext <<EOF |
4771 #line 4772 "configure" | 4786 #line 4787 "configure" |
4772 #include "confdefs.h" | 4787 #include "confdefs.h" |
4773 /* Override any gcc2 internal prototype to avoid an error. */ | 4788 /* Override any gcc2 internal prototype to avoid an error. */ |
4774 /* We use char because int might match the return type of a gcc2 | 4789 /* We use char because int might match the return type of a gcc2 |
4775 builtin and then its argument prototype would still apply. */ | 4790 builtin and then its argument prototype would still apply. */ |
4776 char gethostbyname(); | 4791 char gethostbyname(); |
4777 | 4792 |
4778 int main() { | 4793 int main() { |
4779 gethostbyname() | 4794 gethostbyname() |
4780 ; return 0; } | 4795 ; return 0; } |
4781 EOF | 4796 EOF |
4782 if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4797 if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4783 rm -rf conftest* | 4798 rm -rf conftest* |
4784 eval "ac_cv_lib_$ac_lib_var=yes" | 4799 eval "ac_cv_lib_$ac_lib_var=yes" |
4785 else | 4800 else |
4786 echo "configure: failed program was:" >&5 | 4801 echo "configure: failed program was:" >&5 |
4787 cat conftest.$ac_ext >&5 | 4802 cat conftest.$ac_ext >&5 |
4807 # on later versions), says simon@lia.di.epfl.ch: it contains | 4822 # on later versions), says simon@lia.di.epfl.ch: it contains |
4808 # gethostby* variants that don't use the nameserver (or something). | 4823 # gethostby* variants that don't use the nameserver (or something). |
4809 # -lsocket must be given before -lnsl if both are needed. | 4824 # -lsocket must be given before -lnsl if both are needed. |
4810 # We assume that if connect needs -lnsl, so does gethostbyname. | 4825 # We assume that if connect needs -lnsl, so does gethostbyname. |
4811 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4826 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4812 echo "configure:4813: checking for connect" >&5 | 4827 echo "configure:4828: checking for connect" >&5 |
4813 | 4828 |
4814 cat > conftest.$ac_ext <<EOF | 4829 cat > conftest.$ac_ext <<EOF |
4815 #line 4816 "configure" | 4830 #line 4831 "configure" |
4816 #include "confdefs.h" | 4831 #include "confdefs.h" |
4817 /* System header to define __stub macros and hopefully few prototypes, | 4832 /* System header to define __stub macros and hopefully few prototypes, |
4818 which can conflict with char connect(); below. */ | 4833 which can conflict with char connect(); below. */ |
4819 #include <assert.h> | 4834 #include <assert.h> |
4820 /* Override any gcc2 internal prototype to avoid an error. */ | 4835 /* Override any gcc2 internal prototype to avoid an error. */ |
4833 connect(); | 4848 connect(); |
4834 #endif | 4849 #endif |
4835 | 4850 |
4836 ; return 0; } | 4851 ; return 0; } |
4837 EOF | 4852 EOF |
4838 if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4853 if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4839 rm -rf conftest* | 4854 rm -rf conftest* |
4840 eval "ac_cv_func_connect=yes" | 4855 eval "ac_cv_func_connect=yes" |
4841 else | 4856 else |
4842 echo "configure: failed program was:" >&5 | 4857 echo "configure: failed program was:" >&5 |
4843 cat conftest.$ac_ext >&5 | 4858 cat conftest.$ac_ext >&5 |
4856 if test $ac_cv_func_connect = no; then | 4871 if test $ac_cv_func_connect = no; then |
4857 | 4872 |
4858 xe_msg_checking="for connect in -lsocket" | 4873 xe_msg_checking="for connect in -lsocket" |
4859 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4874 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4860 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4875 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4861 echo "configure:4862: checking "$xe_msg_checking"" >&5 | 4876 echo "configure:4877: checking "$xe_msg_checking"" >&5 |
4862 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4877 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4863 | 4878 |
4864 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4879 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4865 cat > conftest.$ac_ext <<EOF | 4880 cat > conftest.$ac_ext <<EOF |
4866 #line 4867 "configure" | 4881 #line 4882 "configure" |
4867 #include "confdefs.h" | 4882 #include "confdefs.h" |
4868 /* Override any gcc2 internal prototype to avoid an error. */ | 4883 /* Override any gcc2 internal prototype to avoid an error. */ |
4869 /* We use char because int might match the return type of a gcc2 | 4884 /* We use char because int might match the return type of a gcc2 |
4870 builtin and then its argument prototype would still apply. */ | 4885 builtin and then its argument prototype would still apply. */ |
4871 char connect(); | 4886 char connect(); |
4872 | 4887 |
4873 int main() { | 4888 int main() { |
4874 connect() | 4889 connect() |
4875 ; return 0; } | 4890 ; return 0; } |
4876 EOF | 4891 EOF |
4877 if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4878 rm -rf conftest* | 4893 rm -rf conftest* |
4879 eval "ac_cv_lib_$ac_lib_var=yes" | 4894 eval "ac_cv_lib_$ac_lib_var=yes" |
4880 else | 4895 else |
4881 echo "configure: failed program was:" >&5 | 4896 echo "configure: failed program was:" >&5 |
4882 cat conftest.$ac_ext >&5 | 4897 cat conftest.$ac_ext >&5 |
4896 | 4911 |
4897 fi | 4912 fi |
4898 | 4913 |
4899 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4914 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4900 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4915 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4901 echo "configure:4902: checking for remove" >&5 | 4916 echo "configure:4917: checking for remove" >&5 |
4902 | 4917 |
4903 cat > conftest.$ac_ext <<EOF | 4918 cat > conftest.$ac_ext <<EOF |
4904 #line 4905 "configure" | 4919 #line 4920 "configure" |
4905 #include "confdefs.h" | 4920 #include "confdefs.h" |
4906 /* System header to define __stub macros and hopefully few prototypes, | 4921 /* System header to define __stub macros and hopefully few prototypes, |
4907 which can conflict with char remove(); below. */ | 4922 which can conflict with char remove(); below. */ |
4908 #include <assert.h> | 4923 #include <assert.h> |
4909 /* Override any gcc2 internal prototype to avoid an error. */ | 4924 /* Override any gcc2 internal prototype to avoid an error. */ |
4922 remove(); | 4937 remove(); |
4923 #endif | 4938 #endif |
4924 | 4939 |
4925 ; return 0; } | 4940 ; return 0; } |
4926 EOF | 4941 EOF |
4927 if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4928 rm -rf conftest* | 4943 rm -rf conftest* |
4929 eval "ac_cv_func_remove=yes" | 4944 eval "ac_cv_func_remove=yes" |
4930 else | 4945 else |
4931 echo "configure: failed program was:" >&5 | 4946 echo "configure: failed program was:" >&5 |
4932 cat conftest.$ac_ext >&5 | 4947 cat conftest.$ac_ext >&5 |
4943 fi | 4958 fi |
4944 | 4959 |
4945 if test $ac_cv_func_remove = no; then | 4960 if test $ac_cv_func_remove = no; then |
4946 | 4961 |
4947 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4962 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4948 echo "configure:4949: checking for remove in -lposix" >&5 | 4963 echo "configure:4964: checking for remove in -lposix" >&5 |
4949 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4964 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4950 | 4965 |
4951 xe_check_libs=" -lposix " | 4966 xe_check_libs=" -lposix " |
4952 cat > conftest.$ac_ext <<EOF | 4967 cat > conftest.$ac_ext <<EOF |
4953 #line 4954 "configure" | 4968 #line 4969 "configure" |
4954 #include "confdefs.h" | 4969 #include "confdefs.h" |
4955 /* Override any gcc2 internal prototype to avoid an error. */ | 4970 /* Override any gcc2 internal prototype to avoid an error. */ |
4956 /* We use char because int might match the return type of a gcc2 | 4971 /* We use char because int might match the return type of a gcc2 |
4957 builtin and then its argument prototype would still apply. */ | 4972 builtin and then its argument prototype would still apply. */ |
4958 char remove(); | 4973 char remove(); |
4959 | 4974 |
4960 int main() { | 4975 int main() { |
4961 remove() | 4976 remove() |
4962 ; return 0; } | 4977 ; return 0; } |
4963 EOF | 4978 EOF |
4964 if { (eval echo configure:4965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4979 if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4965 rm -rf conftest* | 4980 rm -rf conftest* |
4966 eval "ac_cv_lib_$ac_lib_var=yes" | 4981 eval "ac_cv_lib_$ac_lib_var=yes" |
4967 else | 4982 else |
4968 echo "configure: failed program was:" >&5 | 4983 echo "configure: failed program was:" >&5 |
4969 cat conftest.$ac_ext >&5 | 4984 cat conftest.$ac_ext >&5 |
4983 | 4998 |
4984 fi | 4999 fi |
4985 | 5000 |
4986 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5001 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4987 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5002 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4988 echo "configure:4989: checking for shmat" >&5 | 5003 echo "configure:5004: checking for shmat" >&5 |
4989 | 5004 |
4990 cat > conftest.$ac_ext <<EOF | 5005 cat > conftest.$ac_ext <<EOF |
4991 #line 4992 "configure" | 5006 #line 5007 "configure" |
4992 #include "confdefs.h" | 5007 #include "confdefs.h" |
4993 /* System header to define __stub macros and hopefully few prototypes, | 5008 /* System header to define __stub macros and hopefully few prototypes, |
4994 which can conflict with char shmat(); below. */ | 5009 which can conflict with char shmat(); below. */ |
4995 #include <assert.h> | 5010 #include <assert.h> |
4996 /* Override any gcc2 internal prototype to avoid an error. */ | 5011 /* Override any gcc2 internal prototype to avoid an error. */ |
5009 shmat(); | 5024 shmat(); |
5010 #endif | 5025 #endif |
5011 | 5026 |
5012 ; return 0; } | 5027 ; return 0; } |
5013 EOF | 5028 EOF |
5014 if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5015 rm -rf conftest* | 5030 rm -rf conftest* |
5016 eval "ac_cv_func_shmat=yes" | 5031 eval "ac_cv_func_shmat=yes" |
5017 else | 5032 else |
5018 echo "configure: failed program was:" >&5 | 5033 echo "configure: failed program was:" >&5 |
5019 cat conftest.$ac_ext >&5 | 5034 cat conftest.$ac_ext >&5 |
5030 fi | 5045 fi |
5031 | 5046 |
5032 if test $ac_cv_func_shmat = no; then | 5047 if test $ac_cv_func_shmat = no; then |
5033 | 5048 |
5034 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5049 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5035 echo "configure:5036: checking for shmat in -lipc" >&5 | 5050 echo "configure:5051: checking for shmat in -lipc" >&5 |
5036 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5051 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5037 | 5052 |
5038 xe_check_libs=" -lipc " | 5053 xe_check_libs=" -lipc " |
5039 cat > conftest.$ac_ext <<EOF | 5054 cat > conftest.$ac_ext <<EOF |
5040 #line 5041 "configure" | 5055 #line 5056 "configure" |
5041 #include "confdefs.h" | 5056 #include "confdefs.h" |
5042 /* Override any gcc2 internal prototype to avoid an error. */ | 5057 /* Override any gcc2 internal prototype to avoid an error. */ |
5043 /* We use char because int might match the return type of a gcc2 | 5058 /* We use char because int might match the return type of a gcc2 |
5044 builtin and then its argument prototype would still apply. */ | 5059 builtin and then its argument prototype would still apply. */ |
5045 char shmat(); | 5060 char shmat(); |
5046 | 5061 |
5047 int main() { | 5062 int main() { |
5048 shmat() | 5063 shmat() |
5049 ; return 0; } | 5064 ; return 0; } |
5050 EOF | 5065 EOF |
5051 if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5066 if { (eval echo configure:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5052 rm -rf conftest* | 5067 rm -rf conftest* |
5053 eval "ac_cv_lib_$ac_lib_var=yes" | 5068 eval "ac_cv_lib_$ac_lib_var=yes" |
5054 else | 5069 else |
5055 echo "configure: failed program was:" >&5 | 5070 echo "configure: failed program was:" >&5 |
5056 cat conftest.$ac_ext >&5 | 5071 cat conftest.$ac_ext >&5 |
5080 # These have to be linked with before -lX11, unlike the other | 5095 # These have to be linked with before -lX11, unlike the other |
5081 # libraries we check for below, so use a different variable. | 5096 # libraries we check for below, so use a different variable. |
5082 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5097 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5083 | 5098 |
5084 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5099 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
5085 echo "configure:5086: checking for IceConnectionNumber in -lICE" >&5 | 5100 echo "configure:5101: checking for IceConnectionNumber in -lICE" >&5 |
5086 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5101 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5087 | 5102 |
5088 xe_check_libs=" -lICE " | 5103 xe_check_libs=" -lICE " |
5089 cat > conftest.$ac_ext <<EOF | 5104 cat > conftest.$ac_ext <<EOF |
5090 #line 5091 "configure" | 5105 #line 5106 "configure" |
5091 #include "confdefs.h" | 5106 #include "confdefs.h" |
5092 /* Override any gcc2 internal prototype to avoid an error. */ | 5107 /* Override any gcc2 internal prototype to avoid an error. */ |
5093 /* We use char because int might match the return type of a gcc2 | 5108 /* We use char because int might match the return type of a gcc2 |
5094 builtin and then its argument prototype would still apply. */ | 5109 builtin and then its argument prototype would still apply. */ |
5095 char IceConnectionNumber(); | 5110 char IceConnectionNumber(); |
5096 | 5111 |
5097 int main() { | 5112 int main() { |
5098 IceConnectionNumber() | 5113 IceConnectionNumber() |
5099 ; return 0; } | 5114 ; return 0; } |
5100 EOF | 5115 EOF |
5101 if { (eval echo configure:5102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5102 rm -rf conftest* | 5117 rm -rf conftest* |
5103 eval "ac_cv_lib_$ac_lib_var=yes" | 5118 eval "ac_cv_lib_$ac_lib_var=yes" |
5104 else | 5119 else |
5105 echo "configure: failed program was:" >&5 | 5120 echo "configure: failed program was:" >&5 |
5106 cat conftest.$ac_ext >&5 | 5121 cat conftest.$ac_ext >&5 |
5263 EOF | 5278 EOF |
5264 } | 5279 } |
5265 | 5280 |
5266 | 5281 |
5267 echo "checking for X defines extracted by xmkmf" 1>&6 | 5282 echo "checking for X defines extracted by xmkmf" 1>&6 |
5268 echo "configure:5269: checking for X defines extracted by xmkmf" >&5 | 5283 echo "configure:5284: checking for X defines extracted by xmkmf" >&5 |
5269 rm -fr conftestdir | 5284 rm -fr conftestdir |
5270 if mkdir conftestdir; then | 5285 if mkdir conftestdir; then |
5271 cd conftestdir | 5286 cd conftestdir |
5272 cat > Imakefile <<'EOF' | 5287 cat > Imakefile <<'EOF' |
5273 xetest: | 5288 xetest: |
5295 done | 5310 done |
5296 fi | 5311 fi |
5297 | 5312 |
5298 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5313 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5299 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5314 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5300 echo "configure:5301: checking for X11/Intrinsic.h" >&5 | 5315 echo "configure:5316: checking for X11/Intrinsic.h" >&5 |
5301 | 5316 |
5302 cat > conftest.$ac_ext <<EOF | 5317 cat > conftest.$ac_ext <<EOF |
5303 #line 5304 "configure" | 5318 #line 5319 "configure" |
5304 #include "confdefs.h" | 5319 #include "confdefs.h" |
5305 #include <X11/Intrinsic.h> | 5320 #include <X11/Intrinsic.h> |
5306 EOF | 5321 EOF |
5307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5308 { (eval echo configure:5309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5323 { (eval echo configure:5324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5309 ac_err=`grep -v '^ *+' conftest.out` | 5324 ac_err=`grep -v '^ *+' conftest.out` |
5310 if test -z "$ac_err"; then | 5325 if test -z "$ac_err"; then |
5311 rm -rf conftest* | 5326 rm -rf conftest* |
5312 eval "ac_cv_header_$ac_safe=yes" | 5327 eval "ac_cv_header_$ac_safe=yes" |
5313 else | 5328 else |
5327 fi | 5342 fi |
5328 | 5343 |
5329 | 5344 |
5330 | 5345 |
5331 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5346 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5332 echo "configure:5333: checking for XOpenDisplay in -lX11" >&5 | 5347 echo "configure:5348: checking for XOpenDisplay in -lX11" >&5 |
5333 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5348 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5334 | 5349 |
5335 xe_check_libs=" -lX11 " | 5350 xe_check_libs=" -lX11 " |
5336 cat > conftest.$ac_ext <<EOF | 5351 cat > conftest.$ac_ext <<EOF |
5337 #line 5338 "configure" | 5352 #line 5353 "configure" |
5338 #include "confdefs.h" | 5353 #include "confdefs.h" |
5339 /* Override any gcc2 internal prototype to avoid an error. */ | 5354 /* Override any gcc2 internal prototype to avoid an error. */ |
5340 /* We use char because int might match the return type of a gcc2 | 5355 /* We use char because int might match the return type of a gcc2 |
5341 builtin and then its argument prototype would still apply. */ | 5356 builtin and then its argument prototype would still apply. */ |
5342 char XOpenDisplay(); | 5357 char XOpenDisplay(); |
5343 | 5358 |
5344 int main() { | 5359 int main() { |
5345 XOpenDisplay() | 5360 XOpenDisplay() |
5346 ; return 0; } | 5361 ; return 0; } |
5347 EOF | 5362 EOF |
5348 if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5363 if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5349 rm -rf conftest* | 5364 rm -rf conftest* |
5350 eval "ac_cv_lib_$ac_lib_var=yes" | 5365 eval "ac_cv_lib_$ac_lib_var=yes" |
5351 else | 5366 else |
5352 echo "configure: failed program was:" >&5 | 5367 echo "configure: failed program was:" >&5 |
5353 cat conftest.$ac_ext >&5 | 5368 cat conftest.$ac_ext >&5 |
5368 if test "$have_lib_x11" != "yes"; then | 5383 if test "$have_lib_x11" != "yes"; then |
5369 | 5384 |
5370 xe_msg_checking="for XGetFontProperty in -lX11" | 5385 xe_msg_checking="for XGetFontProperty in -lX11" |
5371 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5386 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5372 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5387 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5373 echo "configure:5374: checking "$xe_msg_checking"" >&5 | 5388 echo "configure:5389: checking "$xe_msg_checking"" >&5 |
5374 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5389 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5375 | 5390 |
5376 xe_check_libs=" -lX11 -b i486-linuxaout" | 5391 xe_check_libs=" -lX11 -b i486-linuxaout" |
5377 cat > conftest.$ac_ext <<EOF | 5392 cat > conftest.$ac_ext <<EOF |
5378 #line 5379 "configure" | 5393 #line 5394 "configure" |
5379 #include "confdefs.h" | 5394 #include "confdefs.h" |
5380 /* Override any gcc2 internal prototype to avoid an error. */ | 5395 /* Override any gcc2 internal prototype to avoid an error. */ |
5381 /* We use char because int might match the return type of a gcc2 | 5396 /* We use char because int might match the return type of a gcc2 |
5382 builtin and then its argument prototype would still apply. */ | 5397 builtin and then its argument prototype would still apply. */ |
5383 char XGetFontProperty(); | 5398 char XGetFontProperty(); |
5384 | 5399 |
5385 int main() { | 5400 int main() { |
5386 XGetFontProperty() | 5401 XGetFontProperty() |
5387 ; return 0; } | 5402 ; return 0; } |
5388 EOF | 5403 EOF |
5389 if { (eval echo configure:5390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5404 if { (eval echo configure:5405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5390 rm -rf conftest* | 5405 rm -rf conftest* |
5391 eval "ac_cv_lib_$ac_lib_var=yes" | 5406 eval "ac_cv_lib_$ac_lib_var=yes" |
5392 else | 5407 else |
5393 echo "configure: failed program was:" >&5 | 5408 echo "configure: failed program was:" >&5 |
5394 cat conftest.$ac_ext >&5 | 5409 cat conftest.$ac_ext >&5 |
5411 libs_x="-lX11" | 5426 libs_x="-lX11" |
5412 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5427 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5413 | 5428 |
5414 | 5429 |
5415 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5430 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5416 echo "configure:5417: checking for XShapeSelectInput in -lXext" >&5 | 5431 echo "configure:5432: checking for XShapeSelectInput in -lXext" >&5 |
5417 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5432 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5418 | 5433 |
5419 xe_check_libs=" -lXext " | 5434 xe_check_libs=" -lXext " |
5420 cat > conftest.$ac_ext <<EOF | 5435 cat > conftest.$ac_ext <<EOF |
5421 #line 5422 "configure" | 5436 #line 5437 "configure" |
5422 #include "confdefs.h" | 5437 #include "confdefs.h" |
5423 /* Override any gcc2 internal prototype to avoid an error. */ | 5438 /* Override any gcc2 internal prototype to avoid an error. */ |
5424 /* We use char because int might match the return type of a gcc2 | 5439 /* We use char because int might match the return type of a gcc2 |
5425 builtin and then its argument prototype would still apply. */ | 5440 builtin and then its argument prototype would still apply. */ |
5426 char XShapeSelectInput(); | 5441 char XShapeSelectInput(); |
5427 | 5442 |
5428 int main() { | 5443 int main() { |
5429 XShapeSelectInput() | 5444 XShapeSelectInput() |
5430 ; return 0; } | 5445 ; return 0; } |
5431 EOF | 5446 EOF |
5432 if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5447 if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5433 rm -rf conftest* | 5448 rm -rf conftest* |
5434 eval "ac_cv_lib_$ac_lib_var=yes" | 5449 eval "ac_cv_lib_$ac_lib_var=yes" |
5435 else | 5450 else |
5436 echo "configure: failed program was:" >&5 | 5451 echo "configure: failed program was:" >&5 |
5437 cat conftest.$ac_ext >&5 | 5452 cat conftest.$ac_ext >&5 |
5450 | 5465 |
5451 | 5466 |
5452 | 5467 |
5453 | 5468 |
5454 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5469 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5455 echo "configure:5456: checking for XtOpenDisplay in -lXt" >&5 | 5470 echo "configure:5471: checking for XtOpenDisplay in -lXt" >&5 |
5456 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5471 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5457 | 5472 |
5458 xe_check_libs=" -lXt " | 5473 xe_check_libs=" -lXt " |
5459 cat > conftest.$ac_ext <<EOF | 5474 cat > conftest.$ac_ext <<EOF |
5460 #line 5461 "configure" | 5475 #line 5476 "configure" |
5461 #include "confdefs.h" | 5476 #include "confdefs.h" |
5462 /* Override any gcc2 internal prototype to avoid an error. */ | 5477 /* Override any gcc2 internal prototype to avoid an error. */ |
5463 /* We use char because int might match the return type of a gcc2 | 5478 /* We use char because int might match the return type of a gcc2 |
5464 builtin and then its argument prototype would still apply. */ | 5479 builtin and then its argument prototype would still apply. */ |
5465 char XtOpenDisplay(); | 5480 char XtOpenDisplay(); |
5466 | 5481 |
5467 int main() { | 5482 int main() { |
5468 XtOpenDisplay() | 5483 XtOpenDisplay() |
5469 ; return 0; } | 5484 ; return 0; } |
5470 EOF | 5485 EOF |
5471 if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5486 if { (eval echo configure:5487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5472 rm -rf conftest* | 5487 rm -rf conftest* |
5473 eval "ac_cv_lib_$ac_lib_var=yes" | 5488 eval "ac_cv_lib_$ac_lib_var=yes" |
5474 else | 5489 else |
5475 echo "configure: failed program was:" >&5 | 5490 echo "configure: failed program was:" >&5 |
5476 cat conftest.$ac_ext >&5 | 5491 cat conftest.$ac_ext >&5 |
5489 fi | 5504 fi |
5490 | 5505 |
5491 | 5506 |
5492 | 5507 |
5493 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5508 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5494 echo "configure:5495: checking the version of X11 being used" >&5 | 5509 echo "configure:5510: checking the version of X11 being used" >&5 |
5495 cat > conftest.$ac_ext <<EOF | 5510 cat > conftest.$ac_ext <<EOF |
5496 #line 5497 "configure" | 5511 #line 5512 "configure" |
5497 #include "confdefs.h" | 5512 #include "confdefs.h" |
5498 #include <X11/Intrinsic.h> | 5513 #include <X11/Intrinsic.h> |
5499 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5514 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5500 EOF | 5515 EOF |
5501 if { (eval echo configure:5502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5516 if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5502 then | 5517 then |
5503 ./conftest foobar; x11_release=$? | 5518 ./conftest foobar; x11_release=$? |
5504 else | 5519 else |
5505 echo "configure: failed program was:" >&5 | 5520 echo "configure: failed program was:" >&5 |
5506 cat conftest.$ac_ext >&5 | 5521 cat conftest.$ac_ext >&5 |
5520 | 5535 |
5521 for ac_hdr in X11/Xlocale.h | 5536 for ac_hdr in X11/Xlocale.h |
5522 do | 5537 do |
5523 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5538 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5525 echo "configure:5526: checking for $ac_hdr" >&5 | 5540 echo "configure:5541: checking for $ac_hdr" >&5 |
5526 | 5541 |
5527 cat > conftest.$ac_ext <<EOF | 5542 cat > conftest.$ac_ext <<EOF |
5528 #line 5529 "configure" | 5543 #line 5544 "configure" |
5529 #include "confdefs.h" | 5544 #include "confdefs.h" |
5530 #include <$ac_hdr> | 5545 #include <$ac_hdr> |
5531 EOF | 5546 EOF |
5532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5533 { (eval echo configure:5534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5548 { (eval echo configure:5549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5534 ac_err=`grep -v '^ *+' conftest.out` | 5549 ac_err=`grep -v '^ *+' conftest.out` |
5535 if test -z "$ac_err"; then | 5550 if test -z "$ac_err"; then |
5536 rm -rf conftest* | 5551 rm -rf conftest* |
5537 eval "ac_cv_header_$ac_safe=yes" | 5552 eval "ac_cv_header_$ac_safe=yes" |
5538 else | 5553 else |
5559 fi | 5574 fi |
5560 done | 5575 done |
5561 | 5576 |
5562 | 5577 |
5563 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5578 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5564 echo "configure:5565: checking for XFree86" >&5 | 5579 echo "configure:5580: checking for XFree86" >&5 |
5565 if test -d "/usr/X386/include" -o \ | 5580 if test -d "/usr/X386/include" -o \ |
5566 -f "/etc/XF86Config" -o \ | 5581 -f "/etc/XF86Config" -o \ |
5567 -f "/etc/X11/XF86Config" -o \ | 5582 -f "/etc/X11/XF86Config" -o \ |
5568 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5583 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5569 echo "$ac_t""yes" 1>&6 | 5584 echo "$ac_t""yes" 1>&6 |
5579 echo "$ac_t""no" 1>&6 | 5594 echo "$ac_t""no" 1>&6 |
5580 fi | 5595 fi |
5581 | 5596 |
5582 test -z "$with_xmu" && { | 5597 test -z "$with_xmu" && { |
5583 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5598 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5584 echo "configure:5585: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5599 echo "configure:5600: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5585 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5600 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5586 | 5601 |
5587 xe_check_libs=" -lXmu " | 5602 xe_check_libs=" -lXmu " |
5588 cat > conftest.$ac_ext <<EOF | 5603 cat > conftest.$ac_ext <<EOF |
5589 #line 5590 "configure" | 5604 #line 5605 "configure" |
5590 #include "confdefs.h" | 5605 #include "confdefs.h" |
5591 /* Override any gcc2 internal prototype to avoid an error. */ | 5606 /* Override any gcc2 internal prototype to avoid an error. */ |
5592 /* We use char because int might match the return type of a gcc2 | 5607 /* We use char because int might match the return type of a gcc2 |
5593 builtin and then its argument prototype would still apply. */ | 5608 builtin and then its argument prototype would still apply. */ |
5594 char XmuReadBitmapDataFromFile(); | 5609 char XmuReadBitmapDataFromFile(); |
5595 | 5610 |
5596 int main() { | 5611 int main() { |
5597 XmuReadBitmapDataFromFile() | 5612 XmuReadBitmapDataFromFile() |
5598 ; return 0; } | 5613 ; return 0; } |
5599 EOF | 5614 EOF |
5600 if { (eval echo configure:5601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5615 if { (eval echo configure:5616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5601 rm -rf conftest* | 5616 rm -rf conftest* |
5602 eval "ac_cv_lib_$ac_lib_var=yes" | 5617 eval "ac_cv_lib_$ac_lib_var=yes" |
5603 else | 5618 else |
5604 echo "configure: failed program was:" >&5 | 5619 echo "configure: failed program was:" >&5 |
5605 cat conftest.$ac_ext >&5 | 5620 cat conftest.$ac_ext >&5 |
5634 | 5649 |
5635 fi | 5650 fi |
5636 | 5651 |
5637 | 5652 |
5638 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5653 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5639 echo "configure:5640: checking for main in -lXbsd" >&5 | 5654 echo "configure:5655: checking for main in -lXbsd" >&5 |
5640 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5655 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5641 | 5656 |
5642 xe_check_libs=" -lXbsd " | 5657 xe_check_libs=" -lXbsd " |
5643 cat > conftest.$ac_ext <<EOF | 5658 cat > conftest.$ac_ext <<EOF |
5644 #line 5645 "configure" | 5659 #line 5660 "configure" |
5645 #include "confdefs.h" | 5660 #include "confdefs.h" |
5646 | 5661 |
5647 int main() { | 5662 int main() { |
5648 main() | 5663 main() |
5649 ; return 0; } | 5664 ; return 0; } |
5650 EOF | 5665 EOF |
5651 if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5666 if { (eval echo configure:5667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5652 rm -rf conftest* | 5667 rm -rf conftest* |
5653 eval "ac_cv_lib_$ac_lib_var=yes" | 5668 eval "ac_cv_lib_$ac_lib_var=yes" |
5654 else | 5669 else |
5655 echo "configure: failed program was:" >&5 | 5670 echo "configure: failed program was:" >&5 |
5656 cat conftest.$ac_ext >&5 | 5671 cat conftest.$ac_ext >&5 |
5683 fi | 5698 fi |
5684 | 5699 |
5685 fi | 5700 fi |
5686 if test "$with_msw" != "no"; then | 5701 if test "$with_msw" != "no"; then |
5687 echo "checking for MS-Windows" 1>&6 | 5702 echo "checking for MS-Windows" 1>&6 |
5688 echo "configure:5689: checking for MS-Windows" >&5 | 5703 echo "configure:5704: checking for MS-Windows" >&5 |
5689 | 5704 |
5690 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5705 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5691 echo "configure:5692: checking for main in -lgdi32" >&5 | 5706 echo "configure:5707: checking for main in -lgdi32" >&5 |
5692 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5707 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5693 | 5708 |
5694 xe_check_libs=" -lgdi32 " | 5709 xe_check_libs=" -lgdi32 " |
5695 cat > conftest.$ac_ext <<EOF | 5710 cat > conftest.$ac_ext <<EOF |
5696 #line 5697 "configure" | 5711 #line 5712 "configure" |
5697 #include "confdefs.h" | 5712 #include "confdefs.h" |
5698 | 5713 |
5699 int main() { | 5714 int main() { |
5700 main() | 5715 main() |
5701 ; return 0; } | 5716 ; return 0; } |
5702 EOF | 5717 EOF |
5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5718 if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5704 rm -rf conftest* | 5719 rm -rf conftest* |
5705 eval "ac_cv_lib_$ac_lib_var=yes" | 5720 eval "ac_cv_lib_$ac_lib_var=yes" |
5706 else | 5721 else |
5707 echo "configure: failed program was:" >&5 | 5722 echo "configure: failed program was:" >&5 |
5708 cat conftest.$ac_ext >&5 | 5723 cat conftest.$ac_ext >&5 |
5756 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5771 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then |
5757 echo " xemacs will be linked with \"toolbar-msw.o\"" | 5772 echo " xemacs will be linked with \"toolbar-msw.o\"" |
5758 fi | 5773 fi |
5759 fi | 5774 fi |
5760 cat > conftest.$ac_ext <<EOF | 5775 cat > conftest.$ac_ext <<EOF |
5761 #line 5762 "configure" | 5776 #line 5777 "configure" |
5762 #include "confdefs.h" | 5777 #include "confdefs.h" |
5763 #include <fcntl.h> | 5778 #include <fcntl.h> |
5764 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5779 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
5765 EOF | 5780 EOF |
5766 if { (eval echo configure:5767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5781 if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5767 then | 5782 then |
5768 { test "$extra_verbose" = "yes" && cat << \EOF | 5783 { test "$extra_verbose" = "yes" && cat << \EOF |
5769 Defining HAVE_MSG_SELECT | 5784 Defining HAVE_MSG_SELECT |
5770 EOF | 5785 EOF |
5771 cat >> confdefs.h <<\EOF | 5786 cat >> confdefs.h <<\EOF |
5839 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5854 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5840 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5855 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5841 esac | 5856 esac |
5842 | 5857 |
5843 echo "checking for session-management option" 1>&6 | 5858 echo "checking for session-management option" 1>&6 |
5844 echo "configure:5845: checking for session-management option" >&5; | 5859 echo "configure:5860: checking for session-management option" >&5; |
5845 if test "$with_session" != "no"; then | 5860 if test "$with_session" != "no"; then |
5846 { test "$extra_verbose" = "yes" && cat << \EOF | 5861 { test "$extra_verbose" = "yes" && cat << \EOF |
5847 Defining HAVE_SESSION | 5862 Defining HAVE_SESSION |
5848 EOF | 5863 EOF |
5849 cat >> confdefs.h <<\EOF | 5864 cat >> confdefs.h <<\EOF |
5854 fi | 5869 fi |
5855 | 5870 |
5856 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5871 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5857 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5872 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5858 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5873 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5859 echo "configure:5860: checking for X11/Xauth.h" >&5 | 5874 echo "configure:5875: checking for X11/Xauth.h" >&5 |
5860 | 5875 |
5861 cat > conftest.$ac_ext <<EOF | 5876 cat > conftest.$ac_ext <<EOF |
5862 #line 5863 "configure" | 5877 #line 5878 "configure" |
5863 #include "confdefs.h" | 5878 #include "confdefs.h" |
5864 #include <X11/Xauth.h> | 5879 #include <X11/Xauth.h> |
5865 EOF | 5880 EOF |
5866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5867 { (eval echo configure:5868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5882 { (eval echo configure:5883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5868 ac_err=`grep -v '^ *+' conftest.out` | 5883 ac_err=`grep -v '^ *+' conftest.out` |
5869 if test -z "$ac_err"; then | 5884 if test -z "$ac_err"; then |
5870 rm -rf conftest* | 5885 rm -rf conftest* |
5871 eval "ac_cv_header_$ac_safe=yes" | 5886 eval "ac_cv_header_$ac_safe=yes" |
5872 else | 5887 else |
5885 with_xauth=no | 5900 with_xauth=no |
5886 fi | 5901 fi |
5887 } | 5902 } |
5888 test -z "$with_xauth" && { | 5903 test -z "$with_xauth" && { |
5889 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5904 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5890 echo "configure:5891: checking for XauGetAuthByAddr in -lXau" >&5 | 5905 echo "configure:5906: checking for XauGetAuthByAddr in -lXau" >&5 |
5891 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5906 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5892 | 5907 |
5893 xe_check_libs=" -lXau " | 5908 xe_check_libs=" -lXau " |
5894 cat > conftest.$ac_ext <<EOF | 5909 cat > conftest.$ac_ext <<EOF |
5895 #line 5896 "configure" | 5910 #line 5911 "configure" |
5896 #include "confdefs.h" | 5911 #include "confdefs.h" |
5897 /* Override any gcc2 internal prototype to avoid an error. */ | 5912 /* Override any gcc2 internal prototype to avoid an error. */ |
5898 /* We use char because int might match the return type of a gcc2 | 5913 /* We use char because int might match the return type of a gcc2 |
5899 builtin and then its argument prototype would still apply. */ | 5914 builtin and then its argument prototype would still apply. */ |
5900 char XauGetAuthByAddr(); | 5915 char XauGetAuthByAddr(); |
5901 | 5916 |
5902 int main() { | 5917 int main() { |
5903 XauGetAuthByAddr() | 5918 XauGetAuthByAddr() |
5904 ; return 0; } | 5919 ; return 0; } |
5905 EOF | 5920 EOF |
5906 if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5921 if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5907 rm -rf conftest* | 5922 rm -rf conftest* |
5908 eval "ac_cv_lib_$ac_lib_var=yes" | 5923 eval "ac_cv_lib_$ac_lib_var=yes" |
5909 else | 5924 else |
5910 echo "configure: failed program was:" >&5 | 5925 echo "configure: failed program was:" >&5 |
5911 cat conftest.$ac_ext >&5 | 5926 cat conftest.$ac_ext >&5 |
5965 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5980 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5966 if test "$with_tooltalk" != "no" ; then | 5981 if test "$with_tooltalk" != "no" ; then |
5967 for dir in "" "Tt/" "desktop/" ; do | 5982 for dir in "" "Tt/" "desktop/" ; do |
5968 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5983 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5969 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5984 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5970 echo "configure:5971: checking for ${dir}tt_c.h" >&5 | 5985 echo "configure:5986: checking for ${dir}tt_c.h" >&5 |
5971 | 5986 |
5972 cat > conftest.$ac_ext <<EOF | 5987 cat > conftest.$ac_ext <<EOF |
5973 #line 5974 "configure" | 5988 #line 5989 "configure" |
5974 #include "confdefs.h" | 5989 #include "confdefs.h" |
5975 #include <${dir}tt_c.h> | 5990 #include <${dir}tt_c.h> |
5976 EOF | 5991 EOF |
5977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5978 { (eval echo configure:5979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5993 { (eval echo configure:5994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5979 ac_err=`grep -v '^ *+' conftest.out` | 5994 ac_err=`grep -v '^ *+' conftest.out` |
5980 if test -z "$ac_err"; then | 5995 if test -z "$ac_err"; then |
5981 rm -rf conftest* | 5996 rm -rf conftest* |
5982 eval "ac_cv_header_$ac_safe=yes" | 5997 eval "ac_cv_header_$ac_safe=yes" |
5983 else | 5998 else |
6002 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6017 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6003 | 6018 |
6004 xe_msg_checking="for tt_message_create in -ltt" | 6019 xe_msg_checking="for tt_message_create in -ltt" |
6005 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6020 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6006 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6021 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6007 echo "configure:6008: checking "$xe_msg_checking"" >&5 | 6022 echo "configure:6023: checking "$xe_msg_checking"" >&5 |
6008 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6023 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6009 | 6024 |
6010 xe_check_libs=" -ltt $extra_libs" | 6025 xe_check_libs=" -ltt $extra_libs" |
6011 cat > conftest.$ac_ext <<EOF | 6026 cat > conftest.$ac_ext <<EOF |
6012 #line 6013 "configure" | 6027 #line 6028 "configure" |
6013 #include "confdefs.h" | 6028 #include "confdefs.h" |
6014 /* Override any gcc2 internal prototype to avoid an error. */ | 6029 /* Override any gcc2 internal prototype to avoid an error. */ |
6015 /* We use char because int might match the return type of a gcc2 | 6030 /* We use char because int might match the return type of a gcc2 |
6016 builtin and then its argument prototype would still apply. */ | 6031 builtin and then its argument prototype would still apply. */ |
6017 char tt_message_create(); | 6032 char tt_message_create(); |
6018 | 6033 |
6019 int main() { | 6034 int main() { |
6020 tt_message_create() | 6035 tt_message_create() |
6021 ; return 0; } | 6036 ; return 0; } |
6022 EOF | 6037 EOF |
6023 if { (eval echo configure:6024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6038 if { (eval echo configure:6039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6024 rm -rf conftest* | 6039 rm -rf conftest* |
6025 eval "ac_cv_lib_$ac_lib_var=yes" | 6040 eval "ac_cv_lib_$ac_lib_var=yes" |
6026 else | 6041 else |
6027 echo "configure: failed program was:" >&5 | 6042 echo "configure: failed program was:" >&5 |
6028 cat conftest.$ac_ext >&5 | 6043 cat conftest.$ac_ext >&5 |
6067 fi | 6082 fi |
6068 fi | 6083 fi |
6069 | 6084 |
6070 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6085 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6071 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6086 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6072 echo "configure:6073: checking for Dt/Dt.h" >&5 | 6087 echo "configure:6088: checking for Dt/Dt.h" >&5 |
6073 | 6088 |
6074 cat > conftest.$ac_ext <<EOF | 6089 cat > conftest.$ac_ext <<EOF |
6075 #line 6076 "configure" | 6090 #line 6091 "configure" |
6076 #include "confdefs.h" | 6091 #include "confdefs.h" |
6077 #include <Dt/Dt.h> | 6092 #include <Dt/Dt.h> |
6078 EOF | 6093 EOF |
6079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6080 { (eval echo configure:6081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6095 { (eval echo configure:6096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6081 ac_err=`grep -v '^ *+' conftest.out` | 6096 ac_err=`grep -v '^ *+' conftest.out` |
6082 if test -z "$ac_err"; then | 6097 if test -z "$ac_err"; then |
6083 rm -rf conftest* | 6098 rm -rf conftest* |
6084 eval "ac_cv_header_$ac_safe=yes" | 6099 eval "ac_cv_header_$ac_safe=yes" |
6085 else | 6100 else |
6098 with_cde=no | 6113 with_cde=no |
6099 fi | 6114 fi |
6100 } | 6115 } |
6101 test -z "$with_cde" && { | 6116 test -z "$with_cde" && { |
6102 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6117 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6103 echo "configure:6104: checking for DtDndDragStart in -lDtSvc" >&5 | 6118 echo "configure:6119: checking for DtDndDragStart in -lDtSvc" >&5 |
6104 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6119 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6105 | 6120 |
6106 xe_check_libs=" -lDtSvc " | 6121 xe_check_libs=" -lDtSvc " |
6107 cat > conftest.$ac_ext <<EOF | 6122 cat > conftest.$ac_ext <<EOF |
6108 #line 6109 "configure" | 6123 #line 6124 "configure" |
6109 #include "confdefs.h" | 6124 #include "confdefs.h" |
6110 /* Override any gcc2 internal prototype to avoid an error. */ | 6125 /* Override any gcc2 internal prototype to avoid an error. */ |
6111 /* We use char because int might match the return type of a gcc2 | 6126 /* We use char because int might match the return type of a gcc2 |
6112 builtin and then its argument prototype would still apply. */ | 6127 builtin and then its argument prototype would still apply. */ |
6113 char DtDndDragStart(); | 6128 char DtDndDragStart(); |
6114 | 6129 |
6115 int main() { | 6130 int main() { |
6116 DtDndDragStart() | 6131 DtDndDragStart() |
6117 ; return 0; } | 6132 ; return 0; } |
6118 EOF | 6133 EOF |
6119 if { (eval echo configure:6120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6120 rm -rf conftest* | 6135 rm -rf conftest* |
6121 eval "ac_cv_lib_$ac_lib_var=yes" | 6136 eval "ac_cv_lib_$ac_lib_var=yes" |
6122 else | 6137 else |
6123 echo "configure: failed program was:" >&5 | 6138 echo "configure: failed program was:" >&5 |
6124 cat conftest.$ac_ext >&5 | 6139 cat conftest.$ac_ext >&5 |
6151 with_tooltalk=yes # CDE requires Tooltalk | 6166 with_tooltalk=yes # CDE requires Tooltalk |
6152 need_motif=yes # CDE requires Motif | 6167 need_motif=yes # CDE requires Motif |
6153 fi | 6168 fi |
6154 | 6169 |
6155 echo "checking for LDAP" 1>&6 | 6170 echo "checking for LDAP" 1>&6 |
6156 echo "configure:6157: checking for LDAP" >&5 | 6171 echo "configure:6172: checking for LDAP" >&5 |
6157 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6172 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6158 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6173 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6159 echo "configure:6160: checking for ldap.h" >&5 | 6174 echo "configure:6175: checking for ldap.h" >&5 |
6160 | 6175 |
6161 cat > conftest.$ac_ext <<EOF | 6176 cat > conftest.$ac_ext <<EOF |
6162 #line 6163 "configure" | 6177 #line 6178 "configure" |
6163 #include "confdefs.h" | 6178 #include "confdefs.h" |
6164 #include <ldap.h> | 6179 #include <ldap.h> |
6165 EOF | 6180 EOF |
6166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6167 { (eval echo configure:6168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6182 { (eval echo configure:6183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6168 ac_err=`grep -v '^ *+' conftest.out` | 6183 ac_err=`grep -v '^ *+' conftest.out` |
6169 if test -z "$ac_err"; then | 6184 if test -z "$ac_err"; then |
6170 rm -rf conftest* | 6185 rm -rf conftest* |
6171 eval "ac_cv_header_$ac_safe=yes" | 6186 eval "ac_cv_header_$ac_safe=yes" |
6172 else | 6187 else |
6185 with_ldap=no | 6200 with_ldap=no |
6186 fi | 6201 fi |
6187 } | 6202 } |
6188 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6203 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6189 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6204 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6190 echo "configure:6191: checking for lber.h" >&5 | 6205 echo "configure:6206: checking for lber.h" >&5 |
6191 | 6206 |
6192 cat > conftest.$ac_ext <<EOF | 6207 cat > conftest.$ac_ext <<EOF |
6193 #line 6194 "configure" | 6208 #line 6209 "configure" |
6194 #include "confdefs.h" | 6209 #include "confdefs.h" |
6195 #include <lber.h> | 6210 #include <lber.h> |
6196 EOF | 6211 EOF |
6197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6198 { (eval echo configure:6199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6213 { (eval echo configure:6214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6199 ac_err=`grep -v '^ *+' conftest.out` | 6214 ac_err=`grep -v '^ *+' conftest.out` |
6200 if test -z "$ac_err"; then | 6215 if test -z "$ac_err"; then |
6201 rm -rf conftest* | 6216 rm -rf conftest* |
6202 eval "ac_cv_header_$ac_safe=yes" | 6217 eval "ac_cv_header_$ac_safe=yes" |
6203 else | 6218 else |
6219 if test "$with_ldap" != "no"; then | 6234 if test "$with_ldap" != "no"; then |
6220 test -z "$with_umich_ldap" && { | 6235 test -z "$with_umich_ldap" && { |
6221 xe_msg_checking="for ldap_open in -lldap" | 6236 xe_msg_checking="for ldap_open in -lldap" |
6222 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6237 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6223 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6238 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6224 echo "configure:6225: checking "$xe_msg_checking"" >&5 | 6239 echo "configure:6240: checking "$xe_msg_checking"" >&5 |
6225 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6240 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6226 | 6241 |
6227 xe_check_libs=" -lldap -llber" | 6242 xe_check_libs=" -lldap -llber" |
6228 cat > conftest.$ac_ext <<EOF | 6243 cat > conftest.$ac_ext <<EOF |
6229 #line 6230 "configure" | 6244 #line 6245 "configure" |
6230 #include "confdefs.h" | 6245 #include "confdefs.h" |
6231 /* Override any gcc2 internal prototype to avoid an error. */ | 6246 /* Override any gcc2 internal prototype to avoid an error. */ |
6232 /* We use char because int might match the return type of a gcc2 | 6247 /* We use char because int might match the return type of a gcc2 |
6233 builtin and then its argument prototype would still apply. */ | 6248 builtin and then its argument prototype would still apply. */ |
6234 char ldap_open(); | 6249 char ldap_open(); |
6235 | 6250 |
6236 int main() { | 6251 int main() { |
6237 ldap_open() | 6252 ldap_open() |
6238 ; return 0; } | 6253 ; return 0; } |
6239 EOF | 6254 EOF |
6240 if { (eval echo configure:6241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6255 if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6241 rm -rf conftest* | 6256 rm -rf conftest* |
6242 eval "ac_cv_lib_$ac_lib_var=yes" | 6257 eval "ac_cv_lib_$ac_lib_var=yes" |
6243 else | 6258 else |
6244 echo "configure: failed program was:" >&5 | 6259 echo "configure: failed program was:" >&5 |
6245 cat conftest.$ac_ext >&5 | 6260 cat conftest.$ac_ext >&5 |
6258 fi | 6273 fi |
6259 | 6274 |
6260 } | 6275 } |
6261 test "$with_umich_ldap" = "no" && { | 6276 test "$with_umich_ldap" = "no" && { |
6262 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6277 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6263 echo "configure:6264: checking for ldap_set_option in -lldap10" >&5 | 6278 echo "configure:6279: checking for ldap_set_option in -lldap10" >&5 |
6264 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6279 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6265 | 6280 |
6266 xe_check_libs=" -lldap10 " | 6281 xe_check_libs=" -lldap10 " |
6267 cat > conftest.$ac_ext <<EOF | 6282 cat > conftest.$ac_ext <<EOF |
6268 #line 6269 "configure" | 6283 #line 6284 "configure" |
6269 #include "confdefs.h" | 6284 #include "confdefs.h" |
6270 /* Override any gcc2 internal prototype to avoid an error. */ | 6285 /* Override any gcc2 internal prototype to avoid an error. */ |
6271 /* We use char because int might match the return type of a gcc2 | 6286 /* We use char because int might match the return type of a gcc2 |
6272 builtin and then its argument prototype would still apply. */ | 6287 builtin and then its argument prototype would still apply. */ |
6273 char ldap_set_option(); | 6288 char ldap_set_option(); |
6274 | 6289 |
6275 int main() { | 6290 int main() { |
6276 ldap_set_option() | 6291 ldap_set_option() |
6277 ; return 0; } | 6292 ; return 0; } |
6278 EOF | 6293 EOF |
6279 if { (eval echo configure:6280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6294 if { (eval echo configure:6295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6280 rm -rf conftest* | 6295 rm -rf conftest* |
6281 eval "ac_cv_lib_$ac_lib_var=yes" | 6296 eval "ac_cv_lib_$ac_lib_var=yes" |
6282 else | 6297 else |
6283 echo "configure: failed program was:" >&5 | 6298 echo "configure: failed program was:" >&5 |
6284 cat conftest.$ac_ext >&5 | 6299 cat conftest.$ac_ext >&5 |
6338 fi | 6353 fi |
6339 | 6354 |
6340 | 6355 |
6341 if test "$window_system" != "none"; then | 6356 if test "$window_system" != "none"; then |
6342 echo "checking for graphics libraries" 1>&6 | 6357 echo "checking for graphics libraries" 1>&6 |
6343 echo "configure:6344: checking for graphics libraries" >&5 | 6358 echo "configure:6359: checking for graphics libraries" >&5 |
6344 | 6359 |
6345 if test -z "$with_xpm"; then | 6360 if test -z "$with_xpm"; then |
6346 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6361 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6347 echo "configure:6348: checking for Xpm - no older than 3.4f" >&5 | 6362 echo "configure:6363: checking for Xpm - no older than 3.4f" >&5 |
6348 xe_check_libs=-lXpm | 6363 xe_check_libs=-lXpm |
6349 cat > conftest.$ac_ext <<EOF | 6364 cat > conftest.$ac_ext <<EOF |
6350 #line 6351 "configure" | 6365 #line 6366 "configure" |
6351 #include "confdefs.h" | 6366 #include "confdefs.h" |
6352 #include <X11/xpm.h> | 6367 #include <X11/xpm.h> |
6353 int main(int c, char **v) { | 6368 int main(int c, char **v) { |
6354 return c == 1 ? 0 : | 6369 return c == 1 ? 0 : |
6355 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6370 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6356 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6371 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6357 EOF | 6372 EOF |
6358 if { (eval echo configure:6359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6373 if { (eval echo configure:6374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6359 then | 6374 then |
6360 ./conftest dummy_arg; xpm_status=$?; | 6375 ./conftest dummy_arg; xpm_status=$?; |
6361 if test "$?" = "0"; then | 6376 if test "$?" = "0"; then |
6362 with_xpm=yes; | 6377 with_xpm=yes; |
6363 else | 6378 else |
6394 EOF | 6409 EOF |
6395 } | 6410 } |
6396 | 6411 |
6397 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6412 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6398 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6413 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6399 echo "configure:6400: checking for \"FOR_MSW\" xpm" >&5 | 6414 echo "configure:6415: checking for \"FOR_MSW\" xpm" >&5 |
6400 xe_check_libs=-lXpm | 6415 xe_check_libs=-lXpm |
6401 cat > conftest.$ac_ext <<EOF | 6416 cat > conftest.$ac_ext <<EOF |
6402 #line 6403 "configure" | 6417 #line 6418 "configure" |
6403 #include "confdefs.h" | 6418 #include "confdefs.h" |
6404 | 6419 |
6405 int main() { | 6420 int main() { |
6406 XpmCreatePixmapFromData() | 6421 XpmCreatePixmapFromData() |
6407 ; return 0; } | 6422 ; return 0; } |
6408 EOF | 6423 EOF |
6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6424 if { (eval echo configure:6425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6410 rm -rf conftest* | 6425 rm -rf conftest* |
6411 xpm_for_msw=no | 6426 xpm_for_msw=no |
6412 else | 6427 else |
6413 echo "configure: failed program was:" >&5 | 6428 echo "configure: failed program was:" >&5 |
6414 cat conftest.$ac_ext >&5 | 6429 cat conftest.$ac_ext >&5 |
6431 fi | 6446 fi |
6432 | 6447 |
6433 if test "$with_png $with_tiff" != "no no"; then | 6448 if test "$with_png $with_tiff" != "no no"; then |
6434 | 6449 |
6435 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6450 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6436 echo "configure:6437: checking for inflate in -lc" >&5 | 6451 echo "configure:6452: checking for inflate in -lc" >&5 |
6437 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6452 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6438 | 6453 |
6439 xe_check_libs=" -lc " | 6454 xe_check_libs=" -lc " |
6440 cat > conftest.$ac_ext <<EOF | 6455 cat > conftest.$ac_ext <<EOF |
6441 #line 6442 "configure" | 6456 #line 6457 "configure" |
6442 #include "confdefs.h" | 6457 #include "confdefs.h" |
6443 /* Override any gcc2 internal prototype to avoid an error. */ | 6458 /* Override any gcc2 internal prototype to avoid an error. */ |
6444 /* We use char because int might match the return type of a gcc2 | 6459 /* We use char because int might match the return type of a gcc2 |
6445 builtin and then its argument prototype would still apply. */ | 6460 builtin and then its argument prototype would still apply. */ |
6446 char inflate(); | 6461 char inflate(); |
6447 | 6462 |
6448 int main() { | 6463 int main() { |
6449 inflate() | 6464 inflate() |
6450 ; return 0; } | 6465 ; return 0; } |
6451 EOF | 6466 EOF |
6452 if { (eval echo configure:6453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6467 if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6453 rm -rf conftest* | 6468 rm -rf conftest* |
6454 eval "ac_cv_lib_$ac_lib_var=yes" | 6469 eval "ac_cv_lib_$ac_lib_var=yes" |
6455 else | 6470 else |
6456 echo "configure: failed program was:" >&5 | 6471 echo "configure: failed program was:" >&5 |
6457 cat conftest.$ac_ext >&5 | 6472 cat conftest.$ac_ext >&5 |
6466 : | 6481 : |
6467 else | 6482 else |
6468 echo "$ac_t""no" 1>&6 | 6483 echo "$ac_t""no" 1>&6 |
6469 | 6484 |
6470 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6485 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6471 echo "configure:6472: checking for inflate in -lz" >&5 | 6486 echo "configure:6487: checking for inflate in -lz" >&5 |
6472 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6487 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6473 | 6488 |
6474 xe_check_libs=" -lz " | 6489 xe_check_libs=" -lz " |
6475 cat > conftest.$ac_ext <<EOF | 6490 cat > conftest.$ac_ext <<EOF |
6476 #line 6477 "configure" | 6491 #line 6492 "configure" |
6477 #include "confdefs.h" | 6492 #include "confdefs.h" |
6478 /* Override any gcc2 internal prototype to avoid an error. */ | 6493 /* Override any gcc2 internal prototype to avoid an error. */ |
6479 /* We use char because int might match the return type of a gcc2 | 6494 /* We use char because int might match the return type of a gcc2 |
6480 builtin and then its argument prototype would still apply. */ | 6495 builtin and then its argument prototype would still apply. */ |
6481 char inflate(); | 6496 char inflate(); |
6482 | 6497 |
6483 int main() { | 6498 int main() { |
6484 inflate() | 6499 inflate() |
6485 ; return 0; } | 6500 ; return 0; } |
6486 EOF | 6501 EOF |
6487 if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6502 if { (eval echo configure:6503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6488 rm -rf conftest* | 6503 rm -rf conftest* |
6489 eval "ac_cv_lib_$ac_lib_var=yes" | 6504 eval "ac_cv_lib_$ac_lib_var=yes" |
6490 else | 6505 else |
6491 echo "configure: failed program was:" >&5 | 6506 echo "configure: failed program was:" >&5 |
6492 cat conftest.$ac_ext >&5 | 6507 cat conftest.$ac_ext >&5 |
6501 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6516 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6502 else | 6517 else |
6503 echo "$ac_t""no" 1>&6 | 6518 echo "$ac_t""no" 1>&6 |
6504 | 6519 |
6505 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6520 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6506 echo "configure:6507: checking for inflate in -lgz" >&5 | 6521 echo "configure:6522: checking for inflate in -lgz" >&5 |
6507 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6522 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6508 | 6523 |
6509 xe_check_libs=" -lgz " | 6524 xe_check_libs=" -lgz " |
6510 cat > conftest.$ac_ext <<EOF | 6525 cat > conftest.$ac_ext <<EOF |
6511 #line 6512 "configure" | 6526 #line 6527 "configure" |
6512 #include "confdefs.h" | 6527 #include "confdefs.h" |
6513 /* Override any gcc2 internal prototype to avoid an error. */ | 6528 /* Override any gcc2 internal prototype to avoid an error. */ |
6514 /* We use char because int might match the return type of a gcc2 | 6529 /* We use char because int might match the return type of a gcc2 |
6515 builtin and then its argument prototype would still apply. */ | 6530 builtin and then its argument prototype would still apply. */ |
6516 char inflate(); | 6531 char inflate(); |
6517 | 6532 |
6518 int main() { | 6533 int main() { |
6519 inflate() | 6534 inflate() |
6520 ; return 0; } | 6535 ; return 0; } |
6521 EOF | 6536 EOF |
6522 if { (eval echo configure:6523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6523 rm -rf conftest* | 6538 rm -rf conftest* |
6524 eval "ac_cv_lib_$ac_lib_var=yes" | 6539 eval "ac_cv_lib_$ac_lib_var=yes" |
6525 else | 6540 else |
6526 echo "configure: failed program was:" >&5 | 6541 echo "configure: failed program was:" >&5 |
6527 cat conftest.$ac_ext >&5 | 6542 cat conftest.$ac_ext >&5 |
6546 | 6561 |
6547 | 6562 |
6548 fi | 6563 fi |
6549 | 6564 |
6550 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | 6565 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 |
6551 echo "configure:6552: checking for giflib - no older than 3.1" >&5 | 6566 echo "configure:6567: checking for giflib - no older than 3.1" >&5 |
6552 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 6567 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
6553 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 6568 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
6554 echo "configure:6555: checking for gif_lib.h" >&5 | 6569 echo "configure:6570: checking for gif_lib.h" >&5 |
6555 | 6570 |
6556 cat > conftest.$ac_ext <<EOF | 6571 cat > conftest.$ac_ext <<EOF |
6557 #line 6558 "configure" | 6572 #line 6573 "configure" |
6558 #include "confdefs.h" | 6573 #include "confdefs.h" |
6559 #include <gif_lib.h> | 6574 #include <gif_lib.h> |
6560 EOF | 6575 EOF |
6561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6562 { (eval echo configure:6563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6577 { (eval echo configure:6578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6563 ac_err=`grep -v '^ *+' conftest.out` | 6578 ac_err=`grep -v '^ *+' conftest.out` |
6564 if test -z "$ac_err"; then | 6579 if test -z "$ac_err"; then |
6565 rm -rf conftest* | 6580 rm -rf conftest* |
6566 eval "ac_cv_header_$ac_safe=yes" | 6581 eval "ac_cv_header_$ac_safe=yes" |
6567 else | 6582 else |
6580 with_gif=no | 6595 with_gif=no |
6581 fi | 6596 fi |
6582 } | 6597 } |
6583 test -z "$with_gif" && { | 6598 test -z "$with_gif" && { |
6584 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 | 6599 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 |
6585 echo "configure:6586: checking for GetGifError in -lgif" >&5 | 6600 echo "configure:6601: checking for GetGifError in -lgif" >&5 |
6586 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` | 6601 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` |
6587 | 6602 |
6588 xe_check_libs=" -lgif " | 6603 xe_check_libs=" -lgif " |
6589 cat > conftest.$ac_ext <<EOF | 6604 cat > conftest.$ac_ext <<EOF |
6590 #line 6591 "configure" | 6605 #line 6606 "configure" |
6591 #include "confdefs.h" | 6606 #include "confdefs.h" |
6592 /* Override any gcc2 internal prototype to avoid an error. */ | 6607 /* Override any gcc2 internal prototype to avoid an error. */ |
6593 /* We use char because int might match the return type of a gcc2 | 6608 /* We use char because int might match the return type of a gcc2 |
6594 builtin and then its argument prototype would still apply. */ | 6609 builtin and then its argument prototype would still apply. */ |
6595 char GetGifError(); | 6610 char GetGifError(); |
6596 | 6611 |
6597 int main() { | 6612 int main() { |
6598 GetGifError() | 6613 GetGifError() |
6599 ; return 0; } | 6614 ; return 0; } |
6600 EOF | 6615 EOF |
6601 if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6616 if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6602 rm -rf conftest* | 6617 rm -rf conftest* |
6603 eval "ac_cv_lib_$ac_lib_var=yes" | 6618 eval "ac_cv_lib_$ac_lib_var=yes" |
6604 else | 6619 else |
6605 echo "configure: failed program was:" >&5 | 6620 echo "configure: failed program was:" >&5 |
6606 cat conftest.$ac_ext >&5 | 6621 cat conftest.$ac_ext >&5 |
6632 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi | 6647 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi |
6633 fi | 6648 fi |
6634 | 6649 |
6635 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6650 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6636 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6651 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6637 echo "configure:6638: checking for jpeglib.h" >&5 | 6652 echo "configure:6653: checking for jpeglib.h" >&5 |
6638 | 6653 |
6639 cat > conftest.$ac_ext <<EOF | 6654 cat > conftest.$ac_ext <<EOF |
6640 #line 6641 "configure" | 6655 #line 6656 "configure" |
6641 #include "confdefs.h" | 6656 #include "confdefs.h" |
6642 #include <jpeglib.h> | 6657 #include <jpeglib.h> |
6643 EOF | 6658 EOF |
6644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6645 { (eval echo configure:6646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6660 { (eval echo configure:6661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6646 ac_err=`grep -v '^ *+' conftest.out` | 6661 ac_err=`grep -v '^ *+' conftest.out` |
6647 if test -z "$ac_err"; then | 6662 if test -z "$ac_err"; then |
6648 rm -rf conftest* | 6663 rm -rf conftest* |
6649 eval "ac_cv_header_$ac_safe=yes" | 6664 eval "ac_cv_header_$ac_safe=yes" |
6650 else | 6665 else |
6663 with_jpeg=no | 6678 with_jpeg=no |
6664 fi | 6679 fi |
6665 } | 6680 } |
6666 test -z "$with_jpeg" && { | 6681 test -z "$with_jpeg" && { |
6667 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6682 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6668 echo "configure:6669: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6683 echo "configure:6684: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6669 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6684 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6670 | 6685 |
6671 xe_check_libs=" -ljpeg " | 6686 xe_check_libs=" -ljpeg " |
6672 cat > conftest.$ac_ext <<EOF | 6687 cat > conftest.$ac_ext <<EOF |
6673 #line 6674 "configure" | 6688 #line 6689 "configure" |
6674 #include "confdefs.h" | 6689 #include "confdefs.h" |
6675 /* Override any gcc2 internal prototype to avoid an error. */ | 6690 /* Override any gcc2 internal prototype to avoid an error. */ |
6676 /* We use char because int might match the return type of a gcc2 | 6691 /* We use char because int might match the return type of a gcc2 |
6677 builtin and then its argument prototype would still apply. */ | 6692 builtin and then its argument prototype would still apply. */ |
6678 char jpeg_destroy_decompress(); | 6693 char jpeg_destroy_decompress(); |
6679 | 6694 |
6680 int main() { | 6695 int main() { |
6681 jpeg_destroy_decompress() | 6696 jpeg_destroy_decompress() |
6682 ; return 0; } | 6697 ; return 0; } |
6683 EOF | 6698 EOF |
6684 if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6699 if { (eval echo configure:6700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6685 rm -rf conftest* | 6700 rm -rf conftest* |
6686 eval "ac_cv_lib_$ac_lib_var=yes" | 6701 eval "ac_cv_lib_$ac_lib_var=yes" |
6687 else | 6702 else |
6688 echo "configure: failed program was:" >&5 | 6703 echo "configure: failed program was:" >&5 |
6689 cat conftest.$ac_ext >&5 | 6704 cat conftest.$ac_ext >&5 |
6715 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6730 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6716 fi | 6731 fi |
6717 | 6732 |
6718 if test -z "$with_png"; then | 6733 if test -z "$with_png"; then |
6719 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 | 6734 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 |
6720 echo "configure:6721: checking for png.h - no older than 0.96" >&5 | 6735 echo "configure:6736: checking for png.h - no older than 0.96" >&5 |
6721 cat > conftest.$ac_ext <<EOF | 6736 cat > conftest.$ac_ext <<EOF |
6722 #line 6723 "configure" | 6737 #line 6738 "configure" |
6723 #include "confdefs.h" | 6738 #include "confdefs.h" |
6724 #include <png.h> | 6739 #include <png.h> |
6725 #if PNG_LIBPNG_VER >= 96 | 6740 #if PNG_LIBPNG_VER >= 96 |
6726 yes | 6741 yes |
6727 #endif | 6742 #endif |
6737 fi | 6752 fi |
6738 rm -f conftest* | 6753 rm -f conftest* |
6739 | 6754 |
6740 fi | 6755 fi |
6741 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6756 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6742 echo "configure:6743: checking for pow" >&5 | 6757 echo "configure:6758: checking for pow" >&5 |
6743 | 6758 |
6744 cat > conftest.$ac_ext <<EOF | 6759 cat > conftest.$ac_ext <<EOF |
6745 #line 6746 "configure" | 6760 #line 6761 "configure" |
6746 #include "confdefs.h" | 6761 #include "confdefs.h" |
6747 /* System header to define __stub macros and hopefully few prototypes, | 6762 /* System header to define __stub macros and hopefully few prototypes, |
6748 which can conflict with char pow(); below. */ | 6763 which can conflict with char pow(); below. */ |
6749 #include <assert.h> | 6764 #include <assert.h> |
6750 /* Override any gcc2 internal prototype to avoid an error. */ | 6765 /* Override any gcc2 internal prototype to avoid an error. */ |
6763 pow(); | 6778 pow(); |
6764 #endif | 6779 #endif |
6765 | 6780 |
6766 ; return 0; } | 6781 ; return 0; } |
6767 EOF | 6782 EOF |
6768 if { (eval echo configure:6769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6783 if { (eval echo configure:6784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6769 rm -rf conftest* | 6784 rm -rf conftest* |
6770 eval "ac_cv_func_pow=yes" | 6785 eval "ac_cv_func_pow=yes" |
6771 else | 6786 else |
6772 echo "configure: failed program was:" >&5 | 6787 echo "configure: failed program was:" >&5 |
6773 cat conftest.$ac_ext >&5 | 6788 cat conftest.$ac_ext >&5 |
6784 with_png=no | 6799 with_png=no |
6785 fi | 6800 fi |
6786 } | 6801 } |
6787 test -z "$with_png" && { | 6802 test -z "$with_png" && { |
6788 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6803 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6789 echo "configure:6790: checking for png_read_image in -lpng" >&5 | 6804 echo "configure:6805: checking for png_read_image in -lpng" >&5 |
6790 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6805 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6791 | 6806 |
6792 xe_check_libs=" -lpng " | 6807 xe_check_libs=" -lpng " |
6793 cat > conftest.$ac_ext <<EOF | 6808 cat > conftest.$ac_ext <<EOF |
6794 #line 6795 "configure" | 6809 #line 6810 "configure" |
6795 #include "confdefs.h" | 6810 #include "confdefs.h" |
6796 /* Override any gcc2 internal prototype to avoid an error. */ | 6811 /* Override any gcc2 internal prototype to avoid an error. */ |
6797 /* We use char because int might match the return type of a gcc2 | 6812 /* We use char because int might match the return type of a gcc2 |
6798 builtin and then its argument prototype would still apply. */ | 6813 builtin and then its argument prototype would still apply. */ |
6799 char png_read_image(); | 6814 char png_read_image(); |
6800 | 6815 |
6801 int main() { | 6816 int main() { |
6802 png_read_image() | 6817 png_read_image() |
6803 ; return 0; } | 6818 ; return 0; } |
6804 EOF | 6819 EOF |
6805 if { (eval echo configure:6806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6820 if { (eval echo configure:6821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6806 rm -rf conftest* | 6821 rm -rf conftest* |
6807 eval "ac_cv_lib_$ac_lib_var=yes" | 6822 eval "ac_cv_lib_$ac_lib_var=yes" |
6808 else | 6823 else |
6809 echo "configure: failed program was:" >&5 | 6824 echo "configure: failed program was:" >&5 |
6810 cat conftest.$ac_ext >&5 | 6825 cat conftest.$ac_ext >&5 |
6836 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6851 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6837 fi | 6852 fi |
6838 | 6853 |
6839 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6854 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6840 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6855 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6841 echo "configure:6842: checking for tiffio.h" >&5 | 6856 echo "configure:6857: checking for tiffio.h" >&5 |
6842 | 6857 |
6843 cat > conftest.$ac_ext <<EOF | 6858 cat > conftest.$ac_ext <<EOF |
6844 #line 6845 "configure" | 6859 #line 6860 "configure" |
6845 #include "confdefs.h" | 6860 #include "confdefs.h" |
6846 #include <tiffio.h> | 6861 #include <tiffio.h> |
6847 EOF | 6862 EOF |
6848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6849 { (eval echo configure:6850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6864 { (eval echo configure:6865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6850 ac_err=`grep -v '^ *+' conftest.out` | 6865 ac_err=`grep -v '^ *+' conftest.out` |
6851 if test -z "$ac_err"; then | 6866 if test -z "$ac_err"; then |
6852 rm -rf conftest* | 6867 rm -rf conftest* |
6853 eval "ac_cv_header_$ac_safe=yes" | 6868 eval "ac_cv_header_$ac_safe=yes" |
6854 else | 6869 else |
6867 with_tiff=no | 6882 with_tiff=no |
6868 fi | 6883 fi |
6869 } | 6884 } |
6870 test -z "$with_tiff" && { | 6885 test -z "$with_tiff" && { |
6871 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 | 6886 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 |
6872 echo "configure:6873: checking for TIFFReadScanline in -ltiff" >&5 | 6887 echo "configure:6888: checking for TIFFReadScanline in -ltiff" >&5 |
6873 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6888 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
6874 | 6889 |
6875 xe_check_libs=" -ltiff " | 6890 xe_check_libs=" -ltiff " |
6876 cat > conftest.$ac_ext <<EOF | 6891 cat > conftest.$ac_ext <<EOF |
6877 #line 6878 "configure" | 6892 #line 6893 "configure" |
6878 #include "confdefs.h" | 6893 #include "confdefs.h" |
6879 /* Override any gcc2 internal prototype to avoid an error. */ | 6894 /* Override any gcc2 internal prototype to avoid an error. */ |
6880 /* We use char because int might match the return type of a gcc2 | 6895 /* We use char because int might match the return type of a gcc2 |
6881 builtin and then its argument prototype would still apply. */ | 6896 builtin and then its argument prototype would still apply. */ |
6882 char TIFFReadScanline(); | 6897 char TIFFReadScanline(); |
6883 | 6898 |
6884 int main() { | 6899 int main() { |
6885 TIFFReadScanline() | 6900 TIFFReadScanline() |
6886 ; return 0; } | 6901 ; return 0; } |
6887 EOF | 6902 EOF |
6888 if { (eval echo configure:6889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6903 if { (eval echo configure:6904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6889 rm -rf conftest* | 6904 rm -rf conftest* |
6890 eval "ac_cv_lib_$ac_lib_var=yes" | 6905 eval "ac_cv_lib_$ac_lib_var=yes" |
6891 else | 6906 else |
6892 echo "configure: failed program was:" >&5 | 6907 echo "configure: failed program was:" >&5 |
6893 cat conftest.$ac_ext >&5 | 6908 cat conftest.$ac_ext >&5 |
6922 | 6937 |
6923 | 6938 |
6924 if test "$with_x11" = "yes"; then | 6939 if test "$with_x11" = "yes"; then |
6925 | 6940 |
6926 echo "checking for X11 graphics libraries" 1>&6 | 6941 echo "checking for X11 graphics libraries" 1>&6 |
6927 echo "configure:6928: checking for X11 graphics libraries" >&5 | 6942 echo "configure:6943: checking for X11 graphics libraries" >&5 |
6928 | 6943 |
6929 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6944 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6930 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6945 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6931 echo "configure:6932: checking for compface.h" >&5 | 6946 echo "configure:6947: checking for compface.h" >&5 |
6932 | 6947 |
6933 cat > conftest.$ac_ext <<EOF | 6948 cat > conftest.$ac_ext <<EOF |
6934 #line 6935 "configure" | 6949 #line 6950 "configure" |
6935 #include "confdefs.h" | 6950 #include "confdefs.h" |
6936 #include <compface.h> | 6951 #include <compface.h> |
6937 EOF | 6952 EOF |
6938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6939 { (eval echo configure:6940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6954 { (eval echo configure:6955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6940 ac_err=`grep -v '^ *+' conftest.out` | 6955 ac_err=`grep -v '^ *+' conftest.out` |
6941 if test -z "$ac_err"; then | 6956 if test -z "$ac_err"; then |
6942 rm -rf conftest* | 6957 rm -rf conftest* |
6943 eval "ac_cv_header_$ac_safe=yes" | 6958 eval "ac_cv_header_$ac_safe=yes" |
6944 else | 6959 else |
6957 with_xface=no | 6972 with_xface=no |
6958 fi | 6973 fi |
6959 } | 6974 } |
6960 test -z "$with_xface" && { | 6975 test -z "$with_xface" && { |
6961 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6976 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6962 echo "configure:6963: checking for UnGenFace in -lcompface" >&5 | 6977 echo "configure:6978: checking for UnGenFace in -lcompface" >&5 |
6963 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6978 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6964 | 6979 |
6965 xe_check_libs=" -lcompface " | 6980 xe_check_libs=" -lcompface " |
6966 cat > conftest.$ac_ext <<EOF | 6981 cat > conftest.$ac_ext <<EOF |
6967 #line 6968 "configure" | 6982 #line 6983 "configure" |
6968 #include "confdefs.h" | 6983 #include "confdefs.h" |
6969 /* Override any gcc2 internal prototype to avoid an error. */ | 6984 /* Override any gcc2 internal prototype to avoid an error. */ |
6970 /* We use char because int might match the return type of a gcc2 | 6985 /* We use char because int might match the return type of a gcc2 |
6971 builtin and then its argument prototype would still apply. */ | 6986 builtin and then its argument prototype would still apply. */ |
6972 char UnGenFace(); | 6987 char UnGenFace(); |
6973 | 6988 |
6974 int main() { | 6989 int main() { |
6975 UnGenFace() | 6990 UnGenFace() |
6976 ; return 0; } | 6991 ; return 0; } |
6977 EOF | 6992 EOF |
6978 if { (eval echo configure:6979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6993 if { (eval echo configure:6994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6979 rm -rf conftest* | 6994 rm -rf conftest* |
6980 eval "ac_cv_lib_$ac_lib_var=yes" | 6995 eval "ac_cv_lib_$ac_lib_var=yes" |
6981 else | 6996 else |
6982 echo "configure: failed program was:" >&5 | 6997 echo "configure: failed program was:" >&5 |
6983 cat conftest.$ac_ext >&5 | 6998 cat conftest.$ac_ext >&5 |
7009 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7024 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7010 fi | 7025 fi |
7011 | 7026 |
7012 | 7027 |
7013 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7028 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7014 echo "configure:7015: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7029 echo "configure:7030: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7015 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7030 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7016 | 7031 |
7017 xe_check_libs=" -lXaw " | 7032 xe_check_libs=" -lXaw " |
7018 cat > conftest.$ac_ext <<EOF | 7033 cat > conftest.$ac_ext <<EOF |
7019 #line 7020 "configure" | 7034 #line 7035 "configure" |
7020 #include "confdefs.h" | 7035 #include "confdefs.h" |
7021 /* Override any gcc2 internal prototype to avoid an error. */ | 7036 /* Override any gcc2 internal prototype to avoid an error. */ |
7022 /* We use char because int might match the return type of a gcc2 | 7037 /* We use char because int might match the return type of a gcc2 |
7023 builtin and then its argument prototype would still apply. */ | 7038 builtin and then its argument prototype would still apply. */ |
7024 char XawScrollbarSetThumb(); | 7039 char XawScrollbarSetThumb(); |
7025 | 7040 |
7026 int main() { | 7041 int main() { |
7027 XawScrollbarSetThumb() | 7042 XawScrollbarSetThumb() |
7028 ; return 0; } | 7043 ; return 0; } |
7029 EOF | 7044 EOF |
7030 if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7045 if { (eval echo configure:7046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7031 rm -rf conftest* | 7046 rm -rf conftest* |
7032 eval "ac_cv_lib_$ac_lib_var=yes" | 7047 eval "ac_cv_lib_$ac_lib_var=yes" |
7033 else | 7048 else |
7034 echo "configure: failed program was:" >&5 | 7049 echo "configure: failed program was:" >&5 |
7035 cat conftest.$ac_ext >&5 | 7050 cat conftest.$ac_ext >&5 |
7049 | 7064 |
7050 | 7065 |
7051 | 7066 |
7052 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7067 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7053 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7068 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7054 echo "configure:7055: checking for Xm/Xm.h" >&5 | 7069 echo "configure:7070: checking for Xm/Xm.h" >&5 |
7055 | 7070 |
7056 cat > conftest.$ac_ext <<EOF | 7071 cat > conftest.$ac_ext <<EOF |
7057 #line 7058 "configure" | 7072 #line 7073 "configure" |
7058 #include "confdefs.h" | 7073 #include "confdefs.h" |
7059 #include <Xm/Xm.h> | 7074 #include <Xm/Xm.h> |
7060 EOF | 7075 EOF |
7061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7062 { (eval echo configure:7063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7077 { (eval echo configure:7078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7063 ac_err=`grep -v '^ *+' conftest.out` | 7078 ac_err=`grep -v '^ *+' conftest.out` |
7064 if test -z "$ac_err"; then | 7079 if test -z "$ac_err"; then |
7065 rm -rf conftest* | 7080 rm -rf conftest* |
7066 eval "ac_cv_header_$ac_safe=yes" | 7081 eval "ac_cv_header_$ac_safe=yes" |
7067 else | 7082 else |
7074 rm -f conftest* | 7089 rm -f conftest* |
7075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7076 echo "$ac_t""yes" 1>&6 | 7091 echo "$ac_t""yes" 1>&6 |
7077 | 7092 |
7078 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7093 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7079 echo "configure:7080: checking for XmStringFree in -lXm" >&5 | 7094 echo "configure:7095: checking for XmStringFree in -lXm" >&5 |
7080 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7095 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7081 | 7096 |
7082 xe_check_libs=" -lXm " | 7097 xe_check_libs=" -lXm " |
7083 cat > conftest.$ac_ext <<EOF | 7098 cat > conftest.$ac_ext <<EOF |
7084 #line 7085 "configure" | 7099 #line 7100 "configure" |
7085 #include "confdefs.h" | 7100 #include "confdefs.h" |
7086 /* Override any gcc2 internal prototype to avoid an error. */ | 7101 /* Override any gcc2 internal prototype to avoid an error. */ |
7087 /* We use char because int might match the return type of a gcc2 | 7102 /* We use char because int might match the return type of a gcc2 |
7088 builtin and then its argument prototype would still apply. */ | 7103 builtin and then its argument prototype would still apply. */ |
7089 char XmStringFree(); | 7104 char XmStringFree(); |
7090 | 7105 |
7091 int main() { | 7106 int main() { |
7092 XmStringFree() | 7107 XmStringFree() |
7093 ; return 0; } | 7108 ; return 0; } |
7094 EOF | 7109 EOF |
7095 if { (eval echo configure:7096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7110 if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7096 rm -rf conftest* | 7111 rm -rf conftest* |
7097 eval "ac_cv_lib_$ac_lib_var=yes" | 7112 eval "ac_cv_lib_$ac_lib_var=yes" |
7098 else | 7113 else |
7099 echo "configure: failed program was:" >&5 | 7114 echo "configure: failed program was:" >&5 |
7100 cat conftest.$ac_ext >&5 | 7115 cat conftest.$ac_ext >&5 |
7119 fi | 7134 fi |
7120 | 7135 |
7121 | 7136 |
7122 if test "$have_motif" = "yes"; then | 7137 if test "$have_motif" = "yes"; then |
7123 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7138 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7124 echo "configure:7125: checking for Lesstif" >&5 | 7139 echo "configure:7140: checking for Lesstif" >&5 |
7125 cat > conftest.$ac_ext <<EOF | 7140 cat > conftest.$ac_ext <<EOF |
7126 #line 7127 "configure" | 7141 #line 7142 "configure" |
7127 #include "confdefs.h" | 7142 #include "confdefs.h" |
7128 #include <Xm/Xm.h> | 7143 #include <Xm/Xm.h> |
7129 #ifdef LESSTIF_VERSION | 7144 #ifdef LESSTIF_VERSION |
7130 yes | 7145 yes |
7131 #endif | 7146 #endif |
7405 fi | 7420 fi |
7406 fi | 7421 fi |
7407 | 7422 |
7408 if test "$with_mule" = "yes" ; then | 7423 if test "$with_mule" = "yes" ; then |
7409 echo "checking for Mule-related features" 1>&6 | 7424 echo "checking for Mule-related features" 1>&6 |
7410 echo "configure:7411: checking for Mule-related features" >&5 | 7425 echo "configure:7426: checking for Mule-related features" >&5 |
7411 { test "$extra_verbose" = "yes" && cat << \EOF | 7426 { test "$extra_verbose" = "yes" && cat << \EOF |
7412 Defining MULE | 7427 Defining MULE |
7413 EOF | 7428 EOF |
7414 cat >> confdefs.h <<\EOF | 7429 cat >> confdefs.h <<\EOF |
7415 #define MULE 1 | 7430 #define MULE 1 |
7430 | 7445 |
7431 for ac_hdr in libintl.h | 7446 for ac_hdr in libintl.h |
7432 do | 7447 do |
7433 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7448 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7434 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7449 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7435 echo "configure:7436: checking for $ac_hdr" >&5 | 7450 echo "configure:7451: checking for $ac_hdr" >&5 |
7436 | 7451 |
7437 cat > conftest.$ac_ext <<EOF | 7452 cat > conftest.$ac_ext <<EOF |
7438 #line 7439 "configure" | 7453 #line 7454 "configure" |
7439 #include "confdefs.h" | 7454 #include "confdefs.h" |
7440 #include <$ac_hdr> | 7455 #include <$ac_hdr> |
7441 EOF | 7456 EOF |
7442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7443 { (eval echo configure:7444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7458 { (eval echo configure:7459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7444 ac_err=`grep -v '^ *+' conftest.out` | 7459 ac_err=`grep -v '^ *+' conftest.out` |
7445 if test -z "$ac_err"; then | 7460 if test -z "$ac_err"; then |
7446 rm -rf conftest* | 7461 rm -rf conftest* |
7447 eval "ac_cv_header_$ac_safe=yes" | 7462 eval "ac_cv_header_$ac_safe=yes" |
7448 else | 7463 else |
7469 fi | 7484 fi |
7470 done | 7485 done |
7471 | 7486 |
7472 | 7487 |
7473 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7488 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7474 echo "configure:7475: checking for strerror in -lintl" >&5 | 7489 echo "configure:7490: checking for strerror in -lintl" >&5 |
7475 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7490 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7476 | 7491 |
7477 xe_check_libs=" -lintl " | 7492 xe_check_libs=" -lintl " |
7478 cat > conftest.$ac_ext <<EOF | 7493 cat > conftest.$ac_ext <<EOF |
7479 #line 7480 "configure" | 7494 #line 7495 "configure" |
7480 #include "confdefs.h" | 7495 #include "confdefs.h" |
7481 /* Override any gcc2 internal prototype to avoid an error. */ | 7496 /* Override any gcc2 internal prototype to avoid an error. */ |
7482 /* We use char because int might match the return type of a gcc2 | 7497 /* We use char because int might match the return type of a gcc2 |
7483 builtin and then its argument prototype would still apply. */ | 7498 builtin and then its argument prototype would still apply. */ |
7484 char strerror(); | 7499 char strerror(); |
7485 | 7500 |
7486 int main() { | 7501 int main() { |
7487 strerror() | 7502 strerror() |
7488 ; return 0; } | 7503 ; return 0; } |
7489 EOF | 7504 EOF |
7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7505 if { (eval echo configure:7506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7491 rm -rf conftest* | 7506 rm -rf conftest* |
7492 eval "ac_cv_lib_$ac_lib_var=yes" | 7507 eval "ac_cv_lib_$ac_lib_var=yes" |
7493 else | 7508 else |
7494 echo "configure: failed program was:" >&5 | 7509 echo "configure: failed program was:" >&5 |
7495 cat conftest.$ac_ext >&5 | 7510 cat conftest.$ac_ext >&5 |
7518 fi | 7533 fi |
7519 | 7534 |
7520 | 7535 |
7521 | 7536 |
7522 echo "checking for Mule input methods" 1>&6 | 7537 echo "checking for Mule input methods" 1>&6 |
7523 echo "configure:7524: checking for Mule input methods" >&5 | 7538 echo "configure:7539: checking for Mule input methods" >&5 |
7524 case "$with_xim" in "" | "yes" ) | 7539 case "$with_xim" in "" | "yes" ) |
7525 echo "checking for XIM" 1>&6 | 7540 echo "checking for XIM" 1>&6 |
7526 echo "configure:7527: checking for XIM" >&5 | 7541 echo "configure:7542: checking for XIM" >&5 |
7527 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7542 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7528 else | 7543 else |
7529 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7544 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7530 echo "configure:7531: checking for XmImMbLookupString in -lXm" >&5 | 7545 echo "configure:7546: checking for XmImMbLookupString in -lXm" >&5 |
7531 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7546 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7532 | 7547 |
7533 xe_check_libs=" -lXm " | 7548 xe_check_libs=" -lXm " |
7534 cat > conftest.$ac_ext <<EOF | 7549 cat > conftest.$ac_ext <<EOF |
7535 #line 7536 "configure" | 7550 #line 7551 "configure" |
7536 #include "confdefs.h" | 7551 #include "confdefs.h" |
7537 /* Override any gcc2 internal prototype to avoid an error. */ | 7552 /* Override any gcc2 internal prototype to avoid an error. */ |
7538 /* We use char because int might match the return type of a gcc2 | 7553 /* We use char because int might match the return type of a gcc2 |
7539 builtin and then its argument prototype would still apply. */ | 7554 builtin and then its argument prototype would still apply. */ |
7540 char XmImMbLookupString(); | 7555 char XmImMbLookupString(); |
7541 | 7556 |
7542 int main() { | 7557 int main() { |
7543 XmImMbLookupString() | 7558 XmImMbLookupString() |
7544 ; return 0; } | 7559 ; return 0; } |
7545 EOF | 7560 EOF |
7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7561 if { (eval echo configure:7562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7547 rm -rf conftest* | 7562 rm -rf conftest* |
7548 eval "ac_cv_lib_$ac_lib_var=yes" | 7563 eval "ac_cv_lib_$ac_lib_var=yes" |
7549 else | 7564 else |
7550 echo "configure: failed program was:" >&5 | 7565 echo "configure: failed program was:" >&5 |
7551 cat conftest.$ac_ext >&5 | 7566 cat conftest.$ac_ext >&5 |
7607 fi | 7622 fi |
7608 fi | 7623 fi |
7609 | 7624 |
7610 if test "$with_xfs" = "yes" ; then | 7625 if test "$with_xfs" = "yes" ; then |
7611 echo "checking for XFontSet" 1>&6 | 7626 echo "checking for XFontSet" 1>&6 |
7612 echo "configure:7613: checking for XFontSet" >&5 | 7627 echo "configure:7628: checking for XFontSet" >&5 |
7613 | 7628 |
7614 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7629 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7615 echo "configure:7616: checking for XmbDrawString in -lX11" >&5 | 7630 echo "configure:7631: checking for XmbDrawString in -lX11" >&5 |
7616 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7631 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7617 | 7632 |
7618 xe_check_libs=" -lX11 " | 7633 xe_check_libs=" -lX11 " |
7619 cat > conftest.$ac_ext <<EOF | 7634 cat > conftest.$ac_ext <<EOF |
7620 #line 7621 "configure" | 7635 #line 7636 "configure" |
7621 #include "confdefs.h" | 7636 #include "confdefs.h" |
7622 /* Override any gcc2 internal prototype to avoid an error. */ | 7637 /* Override any gcc2 internal prototype to avoid an error. */ |
7623 /* We use char because int might match the return type of a gcc2 | 7638 /* We use char because int might match the return type of a gcc2 |
7624 builtin and then its argument prototype would still apply. */ | 7639 builtin and then its argument prototype would still apply. */ |
7625 char XmbDrawString(); | 7640 char XmbDrawString(); |
7626 | 7641 |
7627 int main() { | 7642 int main() { |
7628 XmbDrawString() | 7643 XmbDrawString() |
7629 ; return 0; } | 7644 ; return 0; } |
7630 EOF | 7645 EOF |
7631 if { (eval echo configure:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7646 if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7632 rm -rf conftest* | 7647 rm -rf conftest* |
7633 eval "ac_cv_lib_$ac_lib_var=yes" | 7648 eval "ac_cv_lib_$ac_lib_var=yes" |
7634 else | 7649 else |
7635 echo "configure: failed program was:" >&5 | 7650 echo "configure: failed program was:" >&5 |
7636 cat conftest.$ac_ext >&5 | 7651 cat conftest.$ac_ext >&5 |
7666 fi | 7681 fi |
7667 fi | 7682 fi |
7668 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7683 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7669 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7684 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7670 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7685 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7671 echo "configure:7672: checking for wnn/jllib.h" >&5 | 7686 echo "configure:7687: checking for wnn/jllib.h" >&5 |
7672 | 7687 |
7673 cat > conftest.$ac_ext <<EOF | 7688 cat > conftest.$ac_ext <<EOF |
7674 #line 7675 "configure" | 7689 #line 7690 "configure" |
7675 #include "confdefs.h" | 7690 #include "confdefs.h" |
7676 #include <wnn/jllib.h> | 7691 #include <wnn/jllib.h> |
7677 EOF | 7692 EOF |
7678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7679 { (eval echo configure:7680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7694 { (eval echo configure:7695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7680 ac_err=`grep -v '^ *+' conftest.out` | 7695 ac_err=`grep -v '^ *+' conftest.out` |
7681 if test -z "$ac_err"; then | 7696 if test -z "$ac_err"; then |
7682 rm -rf conftest* | 7697 rm -rf conftest* |
7683 eval "ac_cv_header_$ac_safe=yes" | 7698 eval "ac_cv_header_$ac_safe=yes" |
7684 else | 7699 else |
7699 } | 7714 } |
7700 if test "$with_wnn" != "no"; then | 7715 if test "$with_wnn" != "no"; then |
7701 for ac_func in crypt | 7716 for ac_func in crypt |
7702 do | 7717 do |
7703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7704 echo "configure:7705: checking for $ac_func" >&5 | 7719 echo "configure:7720: checking for $ac_func" >&5 |
7705 | 7720 |
7706 cat > conftest.$ac_ext <<EOF | 7721 cat > conftest.$ac_ext <<EOF |
7707 #line 7708 "configure" | 7722 #line 7723 "configure" |
7708 #include "confdefs.h" | 7723 #include "confdefs.h" |
7709 /* System header to define __stub macros and hopefully few prototypes, | 7724 /* System header to define __stub macros and hopefully few prototypes, |
7710 which can conflict with char $ac_func(); below. */ | 7725 which can conflict with char $ac_func(); below. */ |
7711 #include <assert.h> | 7726 #include <assert.h> |
7712 /* Override any gcc2 internal prototype to avoid an error. */ | 7727 /* Override any gcc2 internal prototype to avoid an error. */ |
7725 $ac_func(); | 7740 $ac_func(); |
7726 #endif | 7741 #endif |
7727 | 7742 |
7728 ; return 0; } | 7743 ; return 0; } |
7729 EOF | 7744 EOF |
7730 if { (eval echo configure:7731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7745 if { (eval echo configure:7746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7731 rm -rf conftest* | 7746 rm -rf conftest* |
7732 eval "ac_cv_func_$ac_func=yes" | 7747 eval "ac_cv_func_$ac_func=yes" |
7733 else | 7748 else |
7734 echo "configure: failed program was:" >&5 | 7749 echo "configure: failed program was:" >&5 |
7735 cat conftest.$ac_ext >&5 | 7750 cat conftest.$ac_ext >&5 |
7754 fi | 7769 fi |
7755 done | 7770 done |
7756 | 7771 |
7757 test "$ac_cv_func_crypt" != "yes" && { | 7772 test "$ac_cv_func_crypt" != "yes" && { |
7758 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7773 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7759 echo "configure:7760: checking for crypt in -lcrypt" >&5 | 7774 echo "configure:7775: checking for crypt in -lcrypt" >&5 |
7760 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7775 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7761 | 7776 |
7762 xe_check_libs=" -lcrypt " | 7777 xe_check_libs=" -lcrypt " |
7763 cat > conftest.$ac_ext <<EOF | 7778 cat > conftest.$ac_ext <<EOF |
7764 #line 7765 "configure" | 7779 #line 7780 "configure" |
7765 #include "confdefs.h" | 7780 #include "confdefs.h" |
7766 /* Override any gcc2 internal prototype to avoid an error. */ | 7781 /* Override any gcc2 internal prototype to avoid an error. */ |
7767 /* We use char because int might match the return type of a gcc2 | 7782 /* We use char because int might match the return type of a gcc2 |
7768 builtin and then its argument prototype would still apply. */ | 7783 builtin and then its argument prototype would still apply. */ |
7769 char crypt(); | 7784 char crypt(); |
7770 | 7785 |
7771 int main() { | 7786 int main() { |
7772 crypt() | 7787 crypt() |
7773 ; return 0; } | 7788 ; return 0; } |
7774 EOF | 7789 EOF |
7775 if { (eval echo configure:7776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7790 if { (eval echo configure:7791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7776 rm -rf conftest* | 7791 rm -rf conftest* |
7777 eval "ac_cv_lib_$ac_lib_var=yes" | 7792 eval "ac_cv_lib_$ac_lib_var=yes" |
7778 else | 7793 else |
7779 echo "configure: failed program was:" >&5 | 7794 echo "configure: failed program was:" >&5 |
7780 cat conftest.$ac_ext >&5 | 7795 cat conftest.$ac_ext >&5 |
7804 | 7819 |
7805 } | 7820 } |
7806 fi | 7821 fi |
7807 test -z "$with_wnn" && { | 7822 test -z "$with_wnn" && { |
7808 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7823 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7809 echo "configure:7810: checking for jl_dic_list_e in -lwnn" >&5 | 7824 echo "configure:7825: checking for jl_dic_list_e in -lwnn" >&5 |
7810 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7825 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7811 | 7826 |
7812 xe_check_libs=" -lwnn " | 7827 xe_check_libs=" -lwnn " |
7813 cat > conftest.$ac_ext <<EOF | 7828 cat > conftest.$ac_ext <<EOF |
7814 #line 7815 "configure" | 7829 #line 7830 "configure" |
7815 #include "confdefs.h" | 7830 #include "confdefs.h" |
7816 /* Override any gcc2 internal prototype to avoid an error. */ | 7831 /* Override any gcc2 internal prototype to avoid an error. */ |
7817 /* We use char because int might match the return type of a gcc2 | 7832 /* We use char because int might match the return type of a gcc2 |
7818 builtin and then its argument prototype would still apply. */ | 7833 builtin and then its argument prototype would still apply. */ |
7819 char jl_dic_list_e(); | 7834 char jl_dic_list_e(); |
7820 | 7835 |
7821 int main() { | 7836 int main() { |
7822 jl_dic_list_e() | 7837 jl_dic_list_e() |
7823 ; return 0; } | 7838 ; return 0; } |
7824 EOF | 7839 EOF |
7825 if { (eval echo configure:7826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7840 if { (eval echo configure:7841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7826 rm -rf conftest* | 7841 rm -rf conftest* |
7827 eval "ac_cv_lib_$ac_lib_var=yes" | 7842 eval "ac_cv_lib_$ac_lib_var=yes" |
7828 else | 7843 else |
7829 echo "configure: failed program was:" >&5 | 7844 echo "configure: failed program was:" >&5 |
7830 cat conftest.$ac_ext >&5 | 7845 cat conftest.$ac_ext >&5 |
7857 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7872 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7858 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7873 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7859 fi | 7874 fi |
7860 | 7875 |
7861 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7876 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7862 echo "configure:7863: checking for jl_fi_dic_list in -lwnn" >&5 | 7877 echo "configure:7878: checking for jl_fi_dic_list in -lwnn" >&5 |
7863 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7878 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7864 | 7879 |
7865 xe_check_libs=" -lwnn " | 7880 xe_check_libs=" -lwnn " |
7866 cat > conftest.$ac_ext <<EOF | 7881 cat > conftest.$ac_ext <<EOF |
7867 #line 7868 "configure" | 7882 #line 7883 "configure" |
7868 #include "confdefs.h" | 7883 #include "confdefs.h" |
7869 /* Override any gcc2 internal prototype to avoid an error. */ | 7884 /* Override any gcc2 internal prototype to avoid an error. */ |
7870 /* We use char because int might match the return type of a gcc2 | 7885 /* We use char because int might match the return type of a gcc2 |
7871 builtin and then its argument prototype would still apply. */ | 7886 builtin and then its argument prototype would still apply. */ |
7872 char jl_fi_dic_list(); | 7887 char jl_fi_dic_list(); |
7873 | 7888 |
7874 int main() { | 7889 int main() { |
7875 jl_fi_dic_list() | 7890 jl_fi_dic_list() |
7876 ; return 0; } | 7891 ; return 0; } |
7877 EOF | 7892 EOF |
7878 if { (eval echo configure:7879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7893 if { (eval echo configure:7894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7879 rm -rf conftest* | 7894 rm -rf conftest* |
7880 eval "ac_cv_lib_$ac_lib_var=yes" | 7895 eval "ac_cv_lib_$ac_lib_var=yes" |
7881 else | 7896 else |
7882 echo "configure: failed program was:" >&5 | 7897 echo "configure: failed program was:" >&5 |
7883 cat conftest.$ac_ext >&5 | 7898 cat conftest.$ac_ext >&5 |
7907 | 7922 |
7908 canna_includes_found=no | 7923 canna_includes_found=no |
7909 if test "$with_canna" != "no"; then | 7924 if test "$with_canna" != "no"; then |
7910 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7925 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7911 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7926 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7912 echo "configure:7913: checking for canna/jrkanji.h" >&5 | 7927 echo "configure:7928: checking for canna/jrkanji.h" >&5 |
7913 | 7928 |
7914 cat > conftest.$ac_ext <<EOF | 7929 cat > conftest.$ac_ext <<EOF |
7915 #line 7916 "configure" | 7930 #line 7931 "configure" |
7916 #include "confdefs.h" | 7931 #include "confdefs.h" |
7917 #include <canna/jrkanji.h> | 7932 #include <canna/jrkanji.h> |
7918 EOF | 7933 EOF |
7919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7920 { (eval echo configure:7921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7935 { (eval echo configure:7936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7921 ac_err=`grep -v '^ *+' conftest.out` | 7936 ac_err=`grep -v '^ *+' conftest.out` |
7922 if test -z "$ac_err"; then | 7937 if test -z "$ac_err"; then |
7923 rm -rf conftest* | 7938 rm -rf conftest* |
7924 eval "ac_cv_header_$ac_safe=yes" | 7939 eval "ac_cv_header_$ac_safe=yes" |
7925 else | 7940 else |
7942 -d "/usr/local/canna/include"; then | 7957 -d "/usr/local/canna/include"; then |
7943 save_c_switch_site="$c_switch_site" | 7958 save_c_switch_site="$c_switch_site" |
7944 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 7959 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
7945 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7960 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7946 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7961 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7947 echo "configure:7948: checking for canna/jrkanji.h" >&5 | 7962 echo "configure:7963: checking for canna/jrkanji.h" >&5 |
7948 | 7963 |
7949 cat > conftest.$ac_ext <<EOF | 7964 cat > conftest.$ac_ext <<EOF |
7950 #line 7951 "configure" | 7965 #line 7966 "configure" |
7951 #include "confdefs.h" | 7966 #include "confdefs.h" |
7952 #include <canna/jrkanji.h> | 7967 #include <canna/jrkanji.h> |
7953 EOF | 7968 EOF |
7954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7955 { (eval echo configure:7956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7970 { (eval echo configure:7971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7956 ac_err=`grep -v '^ *+' conftest.out` | 7971 ac_err=`grep -v '^ *+' conftest.out` |
7957 if test -z "$ac_err"; then | 7972 if test -z "$ac_err"; then |
7958 rm -rf conftest* | 7973 rm -rf conftest* |
7959 eval "ac_cv_header_$ac_safe=yes" | 7974 eval "ac_cv_header_$ac_safe=yes" |
7960 else | 7975 else |
7978 fi | 7993 fi |
7979 fi | 7994 fi |
7980 | 7995 |
7981 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7996 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7982 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7997 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7983 echo "configure:7984: checking for canna/RK.h" >&5 | 7998 echo "configure:7999: checking for canna/RK.h" >&5 |
7984 | 7999 |
7985 cat > conftest.$ac_ext <<EOF | 8000 cat > conftest.$ac_ext <<EOF |
7986 #line 7987 "configure" | 8001 #line 8002 "configure" |
7987 #include "confdefs.h" | 8002 #include "confdefs.h" |
7988 #include <canna/RK.h> | 8003 #include <canna/RK.h> |
7989 EOF | 8004 EOF |
7990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7991 { (eval echo configure:7992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8006 { (eval echo configure:8007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7992 ac_err=`grep -v '^ *+' conftest.out` | 8007 ac_err=`grep -v '^ *+' conftest.out` |
7993 if test -z "$ac_err"; then | 8008 if test -z "$ac_err"; then |
7994 rm -rf conftest* | 8009 rm -rf conftest* |
7995 eval "ac_cv_header_$ac_safe=yes" | 8010 eval "ac_cv_header_$ac_safe=yes" |
7996 else | 8011 else |
8009 with_canna=no | 8024 with_canna=no |
8010 fi | 8025 fi |
8011 } | 8026 } |
8012 test -z "$with_canna" && { | 8027 test -z "$with_canna" && { |
8013 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8028 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8014 echo "configure:8015: checking for RkBgnBun in -lRKC" >&5 | 8029 echo "configure:8030: checking for RkBgnBun in -lRKC" >&5 |
8015 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8030 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8016 | 8031 |
8017 xe_check_libs=" -lRKC " | 8032 xe_check_libs=" -lRKC " |
8018 cat > conftest.$ac_ext <<EOF | 8033 cat > conftest.$ac_ext <<EOF |
8019 #line 8020 "configure" | 8034 #line 8035 "configure" |
8020 #include "confdefs.h" | 8035 #include "confdefs.h" |
8021 /* Override any gcc2 internal prototype to avoid an error. */ | 8036 /* Override any gcc2 internal prototype to avoid an error. */ |
8022 /* We use char because int might match the return type of a gcc2 | 8037 /* We use char because int might match the return type of a gcc2 |
8023 builtin and then its argument prototype would still apply. */ | 8038 builtin and then its argument prototype would still apply. */ |
8024 char RkBgnBun(); | 8039 char RkBgnBun(); |
8025 | 8040 |
8026 int main() { | 8041 int main() { |
8027 RkBgnBun() | 8042 RkBgnBun() |
8028 ; return 0; } | 8043 ; return 0; } |
8029 EOF | 8044 EOF |
8030 if { (eval echo configure:8031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8045 if { (eval echo configure:8046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8031 rm -rf conftest* | 8046 rm -rf conftest* |
8032 eval "ac_cv_lib_$ac_lib_var=yes" | 8047 eval "ac_cv_lib_$ac_lib_var=yes" |
8033 else | 8048 else |
8034 echo "configure: failed program was:" >&5 | 8049 echo "configure: failed program was:" >&5 |
8035 cat conftest.$ac_ext >&5 | 8050 cat conftest.$ac_ext >&5 |
8048 fi | 8063 fi |
8049 | 8064 |
8050 } | 8065 } |
8051 test -z "$with_canna" && { | 8066 test -z "$with_canna" && { |
8052 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8067 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8053 echo "configure:8054: checking for jrKanjiControl in -lcanna" >&5 | 8068 echo "configure:8069: checking for jrKanjiControl in -lcanna" >&5 |
8054 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8069 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8055 | 8070 |
8056 xe_check_libs=" -lcanna " | 8071 xe_check_libs=" -lcanna " |
8057 cat > conftest.$ac_ext <<EOF | 8072 cat > conftest.$ac_ext <<EOF |
8058 #line 8059 "configure" | 8073 #line 8074 "configure" |
8059 #include "confdefs.h" | 8074 #include "confdefs.h" |
8060 /* Override any gcc2 internal prototype to avoid an error. */ | 8075 /* Override any gcc2 internal prototype to avoid an error. */ |
8061 /* We use char because int might match the return type of a gcc2 | 8076 /* We use char because int might match the return type of a gcc2 |
8062 builtin and then its argument prototype would still apply. */ | 8077 builtin and then its argument prototype would still apply. */ |
8063 char jrKanjiControl(); | 8078 char jrKanjiControl(); |
8064 | 8079 |
8065 int main() { | 8080 int main() { |
8066 jrKanjiControl() | 8081 jrKanjiControl() |
8067 ; return 0; } | 8082 ; return 0; } |
8068 EOF | 8083 EOF |
8069 if { (eval echo configure:8070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8084 if { (eval echo configure:8085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8070 rm -rf conftest* | 8085 rm -rf conftest* |
8071 eval "ac_cv_lib_$ac_lib_var=yes" | 8086 eval "ac_cv_lib_$ac_lib_var=yes" |
8072 else | 8087 else |
8073 echo "configure: failed program was:" >&5 | 8088 echo "configure: failed program was:" >&5 |
8074 cat conftest.$ac_ext >&5 | 8089 cat conftest.$ac_ext >&5 |
8113 | 8128 |
8114 if test "$need_motif" = "yes" ; then | 8129 if test "$need_motif" = "yes" ; then |
8115 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8130 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8116 | 8131 |
8117 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8132 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8118 echo "configure:8119: checking for layout_object_getvalue in -li18n" >&5 | 8133 echo "configure:8134: checking for layout_object_getvalue in -li18n" >&5 |
8119 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8134 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8120 | 8135 |
8121 xe_check_libs=" -li18n " | 8136 xe_check_libs=" -li18n " |
8122 cat > conftest.$ac_ext <<EOF | 8137 cat > conftest.$ac_ext <<EOF |
8123 #line 8124 "configure" | 8138 #line 8139 "configure" |
8124 #include "confdefs.h" | 8139 #include "confdefs.h" |
8125 /* Override any gcc2 internal prototype to avoid an error. */ | 8140 /* Override any gcc2 internal prototype to avoid an error. */ |
8126 /* We use char because int might match the return type of a gcc2 | 8141 /* We use char because int might match the return type of a gcc2 |
8127 builtin and then its argument prototype would still apply. */ | 8142 builtin and then its argument prototype would still apply. */ |
8128 char layout_object_getvalue(); | 8143 char layout_object_getvalue(); |
8129 | 8144 |
8130 int main() { | 8145 int main() { |
8131 layout_object_getvalue() | 8146 layout_object_getvalue() |
8132 ; return 0; } | 8147 ; return 0; } |
8133 EOF | 8148 EOF |
8134 if { (eval echo configure:8135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8149 if { (eval echo configure:8150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8135 rm -rf conftest* | 8150 rm -rf conftest* |
8136 eval "ac_cv_lib_$ac_lib_var=yes" | 8151 eval "ac_cv_lib_$ac_lib_var=yes" |
8137 else | 8152 else |
8138 echo "configure: failed program was:" >&5 | 8153 echo "configure: failed program was:" >&5 |
8139 cat conftest.$ac_ext >&5 | 8154 cat conftest.$ac_ext >&5 |
8215 fi | 8230 fi |
8216 | 8231 |
8217 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8232 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8218 do | 8233 do |
8219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8220 echo "configure:8221: checking for $ac_func" >&5 | 8235 echo "configure:8236: checking for $ac_func" >&5 |
8221 | 8236 |
8222 cat > conftest.$ac_ext <<EOF | 8237 cat > conftest.$ac_ext <<EOF |
8223 #line 8224 "configure" | 8238 #line 8239 "configure" |
8224 #include "confdefs.h" | 8239 #include "confdefs.h" |
8225 /* System header to define __stub macros and hopefully few prototypes, | 8240 /* System header to define __stub macros and hopefully few prototypes, |
8226 which can conflict with char $ac_func(); below. */ | 8241 which can conflict with char $ac_func(); below. */ |
8227 #include <assert.h> | 8242 #include <assert.h> |
8228 /* Override any gcc2 internal prototype to avoid an error. */ | 8243 /* Override any gcc2 internal prototype to avoid an error. */ |
8241 $ac_func(); | 8256 $ac_func(); |
8242 #endif | 8257 #endif |
8243 | 8258 |
8244 ; return 0; } | 8259 ; return 0; } |
8245 EOF | 8260 EOF |
8246 if { (eval echo configure:8247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8247 rm -rf conftest* | 8262 rm -rf conftest* |
8248 eval "ac_cv_func_$ac_func=yes" | 8263 eval "ac_cv_func_$ac_func=yes" |
8249 else | 8264 else |
8250 echo "configure: failed program was:" >&5 | 8265 echo "configure: failed program was:" >&5 |
8251 cat conftest.$ac_ext >&5 | 8266 cat conftest.$ac_ext >&5 |
8278 fi ;; | 8293 fi ;; |
8279 * ) | 8294 * ) |
8280 for ac_func in realpath | 8295 for ac_func in realpath |
8281 do | 8296 do |
8282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8283 echo "configure:8284: checking for $ac_func" >&5 | 8298 echo "configure:8299: checking for $ac_func" >&5 |
8284 | 8299 |
8285 cat > conftest.$ac_ext <<EOF | 8300 cat > conftest.$ac_ext <<EOF |
8286 #line 8287 "configure" | 8301 #line 8302 "configure" |
8287 #include "confdefs.h" | 8302 #include "confdefs.h" |
8288 /* System header to define __stub macros and hopefully few prototypes, | 8303 /* System header to define __stub macros and hopefully few prototypes, |
8289 which can conflict with char $ac_func(); below. */ | 8304 which can conflict with char $ac_func(); below. */ |
8290 #include <assert.h> | 8305 #include <assert.h> |
8291 /* Override any gcc2 internal prototype to avoid an error. */ | 8306 /* Override any gcc2 internal prototype to avoid an error. */ |
8304 $ac_func(); | 8319 $ac_func(); |
8305 #endif | 8320 #endif |
8306 | 8321 |
8307 ; return 0; } | 8322 ; return 0; } |
8308 EOF | 8323 EOF |
8309 if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8324 if { (eval echo configure:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8310 rm -rf conftest* | 8325 rm -rf conftest* |
8311 eval "ac_cv_func_$ac_func=yes" | 8326 eval "ac_cv_func_$ac_func=yes" |
8312 else | 8327 else |
8313 echo "configure: failed program was:" >&5 | 8328 echo "configure: failed program was:" >&5 |
8314 cat conftest.$ac_ext >&5 | 8329 cat conftest.$ac_ext >&5 |
8337 echo " xemacs will be linked with \"realpath.o\"" | 8352 echo " xemacs will be linked with \"realpath.o\"" |
8338 fi ;; | 8353 fi ;; |
8339 esac | 8354 esac |
8340 | 8355 |
8341 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8356 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8342 echo "configure:8343: checking whether netdb declares h_errno" >&5 | 8357 echo "configure:8358: checking whether netdb declares h_errno" >&5 |
8343 cat > conftest.$ac_ext <<EOF | 8358 cat > conftest.$ac_ext <<EOF |
8344 #line 8345 "configure" | 8359 #line 8360 "configure" |
8345 #include "confdefs.h" | 8360 #include "confdefs.h" |
8346 #include <netdb.h> | 8361 #include <netdb.h> |
8347 int main() { | 8362 int main() { |
8348 return h_errno; | 8363 return h_errno; |
8349 ; return 0; } | 8364 ; return 0; } |
8350 EOF | 8365 EOF |
8351 if { (eval echo configure:8352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8366 if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8352 rm -rf conftest* | 8367 rm -rf conftest* |
8353 echo "$ac_t""yes" 1>&6 | 8368 echo "$ac_t""yes" 1>&6 |
8354 { test "$extra_verbose" = "yes" && cat << \EOF | 8369 { test "$extra_verbose" = "yes" && cat << \EOF |
8355 Defining HAVE_H_ERRNO | 8370 Defining HAVE_H_ERRNO |
8356 EOF | 8371 EOF |
8366 echo "$ac_t""no" 1>&6 | 8381 echo "$ac_t""no" 1>&6 |
8367 fi | 8382 fi |
8368 rm -f conftest* | 8383 rm -f conftest* |
8369 | 8384 |
8370 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8385 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8371 echo "configure:8372: checking for sigsetjmp" >&5 | 8386 echo "configure:8387: checking for sigsetjmp" >&5 |
8372 cat > conftest.$ac_ext <<EOF | 8387 cat > conftest.$ac_ext <<EOF |
8373 #line 8374 "configure" | 8388 #line 8389 "configure" |
8374 #include "confdefs.h" | 8389 #include "confdefs.h" |
8375 #include <setjmp.h> | 8390 #include <setjmp.h> |
8376 int main() { | 8391 int main() { |
8377 sigjmp_buf bar; sigsetjmp (bar, 0); | 8392 sigjmp_buf bar; sigsetjmp (bar, 0); |
8378 ; return 0; } | 8393 ; return 0; } |
8379 EOF | 8394 EOF |
8380 if { (eval echo configure:8381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8395 if { (eval echo configure:8396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8381 rm -rf conftest* | 8396 rm -rf conftest* |
8382 echo "$ac_t""yes" 1>&6 | 8397 echo "$ac_t""yes" 1>&6 |
8383 { test "$extra_verbose" = "yes" && cat << \EOF | 8398 { test "$extra_verbose" = "yes" && cat << \EOF |
8384 Defining HAVE_SIGSETJMP | 8399 Defining HAVE_SIGSETJMP |
8385 EOF | 8400 EOF |
8395 echo "$ac_t""no" 1>&6 | 8410 echo "$ac_t""no" 1>&6 |
8396 fi | 8411 fi |
8397 rm -f conftest* | 8412 rm -f conftest* |
8398 | 8413 |
8399 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8414 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8400 echo "configure:8401: checking whether localtime caches TZ" >&5 | 8415 echo "configure:8416: checking whether localtime caches TZ" >&5 |
8401 | 8416 |
8402 if test "$ac_cv_func_tzset" = "yes"; then | 8417 if test "$ac_cv_func_tzset" = "yes"; then |
8403 cat > conftest.$ac_ext <<EOF | 8418 cat > conftest.$ac_ext <<EOF |
8404 #line 8405 "configure" | 8419 #line 8420 "configure" |
8405 #include "confdefs.h" | 8420 #include "confdefs.h" |
8406 #include <time.h> | 8421 #include <time.h> |
8407 #if STDC_HEADERS | 8422 #if STDC_HEADERS |
8408 # include <stdlib.h> | 8423 # include <stdlib.h> |
8409 #endif | 8424 #endif |
8434 if (localtime (&now)->tm_hour != hour_unset) | 8449 if (localtime (&now)->tm_hour != hour_unset) |
8435 exit (1); | 8450 exit (1); |
8436 exit (0); | 8451 exit (0); |
8437 } | 8452 } |
8438 EOF | 8453 EOF |
8439 if { (eval echo configure:8440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8454 if { (eval echo configure:8455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8440 then | 8455 then |
8441 emacs_cv_localtime_cache=no | 8456 emacs_cv_localtime_cache=no |
8442 else | 8457 else |
8443 echo "configure: failed program was:" >&5 | 8458 echo "configure: failed program was:" >&5 |
8444 cat conftest.$ac_ext >&5 | 8459 cat conftest.$ac_ext >&5 |
8463 | 8478 |
8464 fi | 8479 fi |
8465 | 8480 |
8466 if test "$HAVE_TIMEVAL" = "yes"; then | 8481 if test "$HAVE_TIMEVAL" = "yes"; then |
8467 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8482 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8468 echo "configure:8469: checking whether gettimeofday accepts one or two arguments" >&5 | 8483 echo "configure:8484: checking whether gettimeofday accepts one or two arguments" >&5 |
8469 cat > conftest.$ac_ext <<EOF | 8484 cat > conftest.$ac_ext <<EOF |
8470 #line 8471 "configure" | 8485 #line 8486 "configure" |
8471 #include "confdefs.h" | 8486 #include "confdefs.h" |
8472 | 8487 |
8473 #ifdef TIME_WITH_SYS_TIME | 8488 #ifdef TIME_WITH_SYS_TIME |
8474 #include <sys/time.h> | 8489 #include <sys/time.h> |
8475 #include <time.h> | 8490 #include <time.h> |
8487 struct timezone dummy; | 8502 struct timezone dummy; |
8488 gettimeofday (&time, &dummy); | 8503 gettimeofday (&time, &dummy); |
8489 | 8504 |
8490 ; return 0; } | 8505 ; return 0; } |
8491 EOF | 8506 EOF |
8492 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8507 if { (eval echo configure:8508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8493 rm -rf conftest* | 8508 rm -rf conftest* |
8494 echo "$ac_t""two" 1>&6 | 8509 echo "$ac_t""two" 1>&6 |
8495 else | 8510 else |
8496 echo "configure: failed program was:" >&5 | 8511 echo "configure: failed program was:" >&5 |
8497 cat conftest.$ac_ext >&5 | 8512 cat conftest.$ac_ext >&5 |
8509 rm -f conftest* | 8524 rm -f conftest* |
8510 fi | 8525 fi |
8511 | 8526 |
8512 | 8527 |
8513 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8528 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8514 echo "configure:8515: checking for inline" >&5 | 8529 echo "configure:8530: checking for inline" >&5 |
8515 | 8530 |
8516 ac_cv_c_inline=no | 8531 ac_cv_c_inline=no |
8517 for ac_kw in inline __inline__ __inline; do | 8532 for ac_kw in inline __inline__ __inline; do |
8518 cat > conftest.$ac_ext <<EOF | 8533 cat > conftest.$ac_ext <<EOF |
8519 #line 8520 "configure" | 8534 #line 8535 "configure" |
8520 #include "confdefs.h" | 8535 #include "confdefs.h" |
8521 | 8536 |
8522 int main() { | 8537 int main() { |
8523 } $ac_kw foo() { | 8538 } $ac_kw foo() { |
8524 ; return 0; } | 8539 ; return 0; } |
8525 EOF | 8540 EOF |
8526 if { (eval echo configure:8527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8541 if { (eval echo configure:8542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8527 rm -rf conftest* | 8542 rm -rf conftest* |
8528 ac_cv_c_inline=$ac_kw; break | 8543 ac_cv_c_inline=$ac_kw; break |
8529 else | 8544 else |
8530 echo "configure: failed program was:" >&5 | 8545 echo "configure: failed program was:" >&5 |
8531 cat conftest.$ac_ext >&5 | 8546 cat conftest.$ac_ext >&5 |
8571 | 8586 |
8572 | 8587 |
8573 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8588 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8574 # for constant arguments. Useless! | 8589 # for constant arguments. Useless! |
8575 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8590 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8576 echo "configure:8577: checking for working alloca.h" >&5 | 8591 echo "configure:8592: checking for working alloca.h" >&5 |
8577 | 8592 |
8578 cat > conftest.$ac_ext <<EOF | 8593 cat > conftest.$ac_ext <<EOF |
8579 #line 8580 "configure" | 8594 #line 8595 "configure" |
8580 #include "confdefs.h" | 8595 #include "confdefs.h" |
8581 #include <alloca.h> | 8596 #include <alloca.h> |
8582 int main() { | 8597 int main() { |
8583 char *p = alloca(2 * sizeof(int)); | 8598 char *p = alloca(2 * sizeof(int)); |
8584 ; return 0; } | 8599 ; return 0; } |
8585 EOF | 8600 EOF |
8586 if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8587 rm -rf conftest* | 8602 rm -rf conftest* |
8588 ac_cv_header_alloca_h=yes | 8603 ac_cv_header_alloca_h=yes |
8589 else | 8604 else |
8590 echo "configure: failed program was:" >&5 | 8605 echo "configure: failed program was:" >&5 |
8591 cat conftest.$ac_ext >&5 | 8606 cat conftest.$ac_ext >&5 |
8605 } | 8620 } |
8606 | 8621 |
8607 fi | 8622 fi |
8608 | 8623 |
8609 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8624 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8610 echo "configure:8611: checking for alloca" >&5 | 8625 echo "configure:8626: checking for alloca" >&5 |
8611 | 8626 |
8612 cat > conftest.$ac_ext <<EOF | 8627 cat > conftest.$ac_ext <<EOF |
8613 #line 8614 "configure" | 8628 #line 8629 "configure" |
8614 #include "confdefs.h" | 8629 #include "confdefs.h" |
8615 | 8630 |
8616 #ifdef __GNUC__ | 8631 #ifdef __GNUC__ |
8617 # define alloca __builtin_alloca | 8632 # define alloca __builtin_alloca |
8618 #else | 8633 #else |
8631 | 8646 |
8632 int main() { | 8647 int main() { |
8633 char *p = (char *) alloca(1); | 8648 char *p = (char *) alloca(1); |
8634 ; return 0; } | 8649 ; return 0; } |
8635 EOF | 8650 EOF |
8636 if { (eval echo configure:8637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8651 if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8637 rm -rf conftest* | 8652 rm -rf conftest* |
8638 ac_cv_func_alloca_works=yes | 8653 ac_cv_func_alloca_works=yes |
8639 else | 8654 else |
8640 echo "configure: failed program was:" >&5 | 8655 echo "configure: failed program was:" >&5 |
8641 cat conftest.$ac_ext >&5 | 8656 cat conftest.$ac_ext >&5 |
8670 EOF | 8685 EOF |
8671 } | 8686 } |
8672 | 8687 |
8673 | 8688 |
8674 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8689 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8675 echo "configure:8676: checking whether alloca needs Cray hooks" >&5 | 8690 echo "configure:8691: checking whether alloca needs Cray hooks" >&5 |
8676 | 8691 |
8677 cat > conftest.$ac_ext <<EOF | 8692 cat > conftest.$ac_ext <<EOF |
8678 #line 8679 "configure" | 8693 #line 8694 "configure" |
8679 #include "confdefs.h" | 8694 #include "confdefs.h" |
8680 #if defined(CRAY) && ! defined(CRAY2) | 8695 #if defined(CRAY) && ! defined(CRAY2) |
8681 webecray | 8696 webecray |
8682 #else | 8697 #else |
8683 wenotbecray | 8698 wenotbecray |
8697 | 8712 |
8698 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8713 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8699 if test $ac_cv_os_cray = yes; then | 8714 if test $ac_cv_os_cray = yes; then |
8700 for ac_func in _getb67 GETB67 getb67; do | 8715 for ac_func in _getb67 GETB67 getb67; do |
8701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8702 echo "configure:8703: checking for $ac_func" >&5 | 8717 echo "configure:8718: checking for $ac_func" >&5 |
8703 | 8718 |
8704 cat > conftest.$ac_ext <<EOF | 8719 cat > conftest.$ac_ext <<EOF |
8705 #line 8706 "configure" | 8720 #line 8721 "configure" |
8706 #include "confdefs.h" | 8721 #include "confdefs.h" |
8707 /* System header to define __stub macros and hopefully few prototypes, | 8722 /* System header to define __stub macros and hopefully few prototypes, |
8708 which can conflict with char $ac_func(); below. */ | 8723 which can conflict with char $ac_func(); below. */ |
8709 #include <assert.h> | 8724 #include <assert.h> |
8710 /* Override any gcc2 internal prototype to avoid an error. */ | 8725 /* Override any gcc2 internal prototype to avoid an error. */ |
8723 $ac_func(); | 8738 $ac_func(); |
8724 #endif | 8739 #endif |
8725 | 8740 |
8726 ; return 0; } | 8741 ; return 0; } |
8727 EOF | 8742 EOF |
8728 if { (eval echo configure:8729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8743 if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8729 rm -rf conftest* | 8744 rm -rf conftest* |
8730 eval "ac_cv_func_$ac_func=yes" | 8745 eval "ac_cv_func_$ac_func=yes" |
8731 else | 8746 else |
8732 echo "configure: failed program was:" >&5 | 8747 echo "configure: failed program was:" >&5 |
8733 cat conftest.$ac_ext >&5 | 8748 cat conftest.$ac_ext >&5 |
8753 | 8768 |
8754 done | 8769 done |
8755 fi | 8770 fi |
8756 | 8771 |
8757 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8772 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8758 echo "configure:8759: checking stack direction for C alloca" >&5 | 8773 echo "configure:8774: checking stack direction for C alloca" >&5 |
8759 | 8774 |
8760 cat > conftest.$ac_ext <<EOF | 8775 cat > conftest.$ac_ext <<EOF |
8761 #line 8762 "configure" | 8776 #line 8777 "configure" |
8762 #include "confdefs.h" | 8777 #include "confdefs.h" |
8763 find_stack_direction () | 8778 find_stack_direction () |
8764 { | 8779 { |
8765 static char *addr = 0; | 8780 static char *addr = 0; |
8766 auto char dummy; | 8781 auto char dummy; |
8775 main () | 8790 main () |
8776 { | 8791 { |
8777 exit (find_stack_direction() < 0); | 8792 exit (find_stack_direction() < 0); |
8778 } | 8793 } |
8779 EOF | 8794 EOF |
8780 if { (eval echo configure:8781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8795 if { (eval echo configure:8796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8781 then | 8796 then |
8782 ac_cv_c_stack_direction=1 | 8797 ac_cv_c_stack_direction=1 |
8783 else | 8798 else |
8784 echo "configure: failed program was:" >&5 | 8799 echo "configure: failed program was:" >&5 |
8785 cat conftest.$ac_ext >&5 | 8800 cat conftest.$ac_ext >&5 |
8803 echo " xemacs will be linked with \"$ALLOCA\"" | 8818 echo " xemacs will be linked with \"$ALLOCA\"" |
8804 fi | 8819 fi |
8805 | 8820 |
8806 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8821 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8807 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8822 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8808 echo "configure:8809: checking for vfork.h" >&5 | 8823 echo "configure:8824: checking for vfork.h" >&5 |
8809 | 8824 |
8810 cat > conftest.$ac_ext <<EOF | 8825 cat > conftest.$ac_ext <<EOF |
8811 #line 8812 "configure" | 8826 #line 8827 "configure" |
8812 #include "confdefs.h" | 8827 #include "confdefs.h" |
8813 #include <vfork.h> | 8828 #include <vfork.h> |
8814 EOF | 8829 EOF |
8815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8816 { (eval echo configure:8817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8831 { (eval echo configure:8832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8817 ac_err=`grep -v '^ *+' conftest.out` | 8832 ac_err=`grep -v '^ *+' conftest.out` |
8818 if test -z "$ac_err"; then | 8833 if test -z "$ac_err"; then |
8819 rm -rf conftest* | 8834 rm -rf conftest* |
8820 eval "ac_cv_header_$ac_safe=yes" | 8835 eval "ac_cv_header_$ac_safe=yes" |
8821 else | 8836 else |
8839 else | 8854 else |
8840 echo "$ac_t""no" 1>&6 | 8855 echo "$ac_t""no" 1>&6 |
8841 fi | 8856 fi |
8842 | 8857 |
8843 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8858 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8844 echo "configure:8845: checking for working vfork" >&5 | 8859 echo "configure:8860: checking for working vfork" >&5 |
8845 | 8860 |
8846 cat > conftest.$ac_ext <<EOF | 8861 cat > conftest.$ac_ext <<EOF |
8847 #line 8848 "configure" | 8862 #line 8863 "configure" |
8848 #include "confdefs.h" | 8863 #include "confdefs.h" |
8849 /* Thanks to Paul Eggert for this test. */ | 8864 /* Thanks to Paul Eggert for this test. */ |
8850 #include <stdio.h> | 8865 #include <stdio.h> |
8851 #include <sys/types.h> | 8866 #include <sys/types.h> |
8852 #include <sys/stat.h> | 8867 #include <sys/stat.h> |
8937 || fstat(fileno(stdout), &st) != 0 | 8952 || fstat(fileno(stdout), &st) != 0 |
8938 ); | 8953 ); |
8939 } | 8954 } |
8940 } | 8955 } |
8941 EOF | 8956 EOF |
8942 if { (eval echo configure:8943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8957 if { (eval echo configure:8958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8943 then | 8958 then |
8944 ac_cv_func_vfork_works=yes | 8959 ac_cv_func_vfork_works=yes |
8945 else | 8960 else |
8946 echo "configure: failed program was:" >&5 | 8961 echo "configure: failed program was:" >&5 |
8947 cat conftest.$ac_ext >&5 | 8962 cat conftest.$ac_ext >&5 |
8962 | 8977 |
8963 fi | 8978 fi |
8964 | 8979 |
8965 | 8980 |
8966 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8981 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8967 echo "configure:8968: checking for working strcoll" >&5 | 8982 echo "configure:8983: checking for working strcoll" >&5 |
8968 | 8983 |
8969 cat > conftest.$ac_ext <<EOF | 8984 cat > conftest.$ac_ext <<EOF |
8970 #line 8971 "configure" | 8985 #line 8986 "configure" |
8971 #include "confdefs.h" | 8986 #include "confdefs.h" |
8972 #include <string.h> | 8987 #include <string.h> |
8973 main () | 8988 main () |
8974 { | 8989 { |
8975 exit (strcoll ("abc", "def") >= 0 || | 8990 exit (strcoll ("abc", "def") >= 0 || |
8976 strcoll ("ABC", "DEF") >= 0 || | 8991 strcoll ("ABC", "DEF") >= 0 || |
8977 strcoll ("123", "456") >= 0); | 8992 strcoll ("123", "456") >= 0); |
8978 } | 8993 } |
8979 EOF | 8994 EOF |
8980 if { (eval echo configure:8981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8995 if { (eval echo configure:8996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8981 then | 8996 then |
8982 ac_cv_func_strcoll_works=yes | 8997 ac_cv_func_strcoll_works=yes |
8983 else | 8998 else |
8984 echo "configure: failed program was:" >&5 | 8999 echo "configure: failed program was:" >&5 |
8985 cat conftest.$ac_ext >&5 | 9000 cat conftest.$ac_ext >&5 |
9002 | 9017 |
9003 | 9018 |
9004 for ac_func in getpgrp | 9019 for ac_func in getpgrp |
9005 do | 9020 do |
9006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9007 echo "configure:9008: checking for $ac_func" >&5 | 9022 echo "configure:9023: checking for $ac_func" >&5 |
9008 | 9023 |
9009 cat > conftest.$ac_ext <<EOF | 9024 cat > conftest.$ac_ext <<EOF |
9010 #line 9011 "configure" | 9025 #line 9026 "configure" |
9011 #include "confdefs.h" | 9026 #include "confdefs.h" |
9012 /* System header to define __stub macros and hopefully few prototypes, | 9027 /* System header to define __stub macros and hopefully few prototypes, |
9013 which can conflict with char $ac_func(); below. */ | 9028 which can conflict with char $ac_func(); below. */ |
9014 #include <assert.h> | 9029 #include <assert.h> |
9015 /* Override any gcc2 internal prototype to avoid an error. */ | 9030 /* Override any gcc2 internal prototype to avoid an error. */ |
9028 $ac_func(); | 9043 $ac_func(); |
9029 #endif | 9044 #endif |
9030 | 9045 |
9031 ; return 0; } | 9046 ; return 0; } |
9032 EOF | 9047 EOF |
9033 if { (eval echo configure:9034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9048 if { (eval echo configure:9049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9034 rm -rf conftest* | 9049 rm -rf conftest* |
9035 eval "ac_cv_func_$ac_func=yes" | 9050 eval "ac_cv_func_$ac_func=yes" |
9036 else | 9051 else |
9037 echo "configure: failed program was:" >&5 | 9052 echo "configure: failed program was:" >&5 |
9038 cat conftest.$ac_ext >&5 | 9053 cat conftest.$ac_ext >&5 |
9056 echo "$ac_t""no" 1>&6 | 9071 echo "$ac_t""no" 1>&6 |
9057 fi | 9072 fi |
9058 done | 9073 done |
9059 | 9074 |
9060 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9075 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9061 echo "configure:9062: checking whether getpgrp takes no argument" >&5 | 9076 echo "configure:9077: checking whether getpgrp takes no argument" >&5 |
9062 | 9077 |
9063 cat > conftest.$ac_ext <<EOF | 9078 cat > conftest.$ac_ext <<EOF |
9064 #line 9065 "configure" | 9079 #line 9080 "configure" |
9065 #include "confdefs.h" | 9080 #include "confdefs.h" |
9066 | 9081 |
9067 /* | 9082 /* |
9068 * If this system has a BSD-style getpgrp(), | 9083 * If this system has a BSD-style getpgrp(), |
9069 * which takes a pid argument, exit unsuccessfully. | 9084 * which takes a pid argument, exit unsuccessfully. |
9114 exit(s>>8); | 9129 exit(s>>8); |
9115 } | 9130 } |
9116 } | 9131 } |
9117 | 9132 |
9118 EOF | 9133 EOF |
9119 if { (eval echo configure:9120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9134 if { (eval echo configure:9135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9120 then | 9135 then |
9121 ac_cv_func_getpgrp_void=yes | 9136 ac_cv_func_getpgrp_void=yes |
9122 else | 9137 else |
9123 echo "configure: failed program was:" >&5 | 9138 echo "configure: failed program was:" >&5 |
9124 cat conftest.$ac_ext >&5 | 9139 cat conftest.$ac_ext >&5 |
9140 | 9155 |
9141 fi | 9156 fi |
9142 | 9157 |
9143 | 9158 |
9144 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9159 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9145 echo "configure:9146: checking for working mmap" >&5 | 9160 echo "configure:9161: checking for working mmap" >&5 |
9146 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9161 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9147 cat > conftest.$ac_ext <<EOF | 9162 cat > conftest.$ac_ext <<EOF |
9148 #line 9149 "configure" | 9163 #line 9164 "configure" |
9149 #include "confdefs.h" | 9164 #include "confdefs.h" |
9150 #include <stdio.h> | 9165 #include <stdio.h> |
9151 #include <unistd.h> | 9166 #include <unistd.h> |
9152 #include <fcntl.h> | 9167 #include <fcntl.h> |
9153 #include <sys/mman.h> | 9168 #include <sys/mman.h> |
9176 return 0; | 9191 return 0; |
9177 perror ("conftest: mmap failed"); | 9192 perror ("conftest: mmap failed"); |
9178 return 1; | 9193 return 1; |
9179 } | 9194 } |
9180 EOF | 9195 EOF |
9181 if { (eval echo configure:9182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9196 if { (eval echo configure:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9182 then | 9197 then |
9183 have_mmap=yes | 9198 have_mmap=yes |
9184 else | 9199 else |
9185 echo "configure: failed program was:" >&5 | 9200 echo "configure: failed program was:" >&5 |
9186 cat conftest.$ac_ext >&5 | 9201 cat conftest.$ac_ext >&5 |
9210 } | 9225 } |
9211 | 9226 |
9212 | 9227 |
9213 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9228 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9214 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9229 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9215 echo "configure:9216: checking for termios.h" >&5 | 9230 echo "configure:9231: checking for termios.h" >&5 |
9216 | 9231 |
9217 cat > conftest.$ac_ext <<EOF | 9232 cat > conftest.$ac_ext <<EOF |
9218 #line 9219 "configure" | 9233 #line 9234 "configure" |
9219 #include "confdefs.h" | 9234 #include "confdefs.h" |
9220 #include <termios.h> | 9235 #include <termios.h> |
9221 EOF | 9236 EOF |
9222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9223 { (eval echo configure:9224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9238 { (eval echo configure:9239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9224 ac_err=`grep -v '^ *+' conftest.out` | 9239 ac_err=`grep -v '^ *+' conftest.out` |
9225 if test -z "$ac_err"; then | 9240 if test -z "$ac_err"; then |
9226 rm -rf conftest* | 9241 rm -rf conftest* |
9227 eval "ac_cv_header_$ac_safe=yes" | 9242 eval "ac_cv_header_$ac_safe=yes" |
9228 else | 9243 else |
9261 | 9276 |
9262 else | 9277 else |
9263 echo "$ac_t""no" 1>&6 | 9278 echo "$ac_t""no" 1>&6 |
9264 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9279 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9265 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9280 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9266 echo "configure:9267: checking for termio.h" >&5 | 9281 echo "configure:9282: checking for termio.h" >&5 |
9267 | 9282 |
9268 cat > conftest.$ac_ext <<EOF | 9283 cat > conftest.$ac_ext <<EOF |
9269 #line 9270 "configure" | 9284 #line 9285 "configure" |
9270 #include "confdefs.h" | 9285 #include "confdefs.h" |
9271 #include <termio.h> | 9286 #include <termio.h> |
9272 EOF | 9287 EOF |
9273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9274 { (eval echo configure:9275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9289 { (eval echo configure:9290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9275 ac_err=`grep -v '^ *+' conftest.out` | 9290 ac_err=`grep -v '^ *+' conftest.out` |
9276 if test -z "$ac_err"; then | 9291 if test -z "$ac_err"; then |
9277 rm -rf conftest* | 9292 rm -rf conftest* |
9278 eval "ac_cv_header_$ac_safe=yes" | 9293 eval "ac_cv_header_$ac_safe=yes" |
9279 else | 9294 else |
9301 fi | 9316 fi |
9302 | 9317 |
9303 | 9318 |
9304 | 9319 |
9305 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9320 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9306 echo "configure:9307: checking for socket" >&5 | 9321 echo "configure:9322: checking for socket" >&5 |
9307 | 9322 |
9308 cat > conftest.$ac_ext <<EOF | 9323 cat > conftest.$ac_ext <<EOF |
9309 #line 9310 "configure" | 9324 #line 9325 "configure" |
9310 #include "confdefs.h" | 9325 #include "confdefs.h" |
9311 /* System header to define __stub macros and hopefully few prototypes, | 9326 /* System header to define __stub macros and hopefully few prototypes, |
9312 which can conflict with char socket(); below. */ | 9327 which can conflict with char socket(); below. */ |
9313 #include <assert.h> | 9328 #include <assert.h> |
9314 /* Override any gcc2 internal prototype to avoid an error. */ | 9329 /* Override any gcc2 internal prototype to avoid an error. */ |
9327 socket(); | 9342 socket(); |
9328 #endif | 9343 #endif |
9329 | 9344 |
9330 ; return 0; } | 9345 ; return 0; } |
9331 EOF | 9346 EOF |
9332 if { (eval echo configure:9333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9347 if { (eval echo configure:9348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9333 rm -rf conftest* | 9348 rm -rf conftest* |
9334 eval "ac_cv_func_socket=yes" | 9349 eval "ac_cv_func_socket=yes" |
9335 else | 9350 else |
9336 echo "configure: failed program was:" >&5 | 9351 echo "configure: failed program was:" >&5 |
9337 cat conftest.$ac_ext >&5 | 9352 cat conftest.$ac_ext >&5 |
9342 | 9357 |
9343 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9358 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9344 echo "$ac_t""yes" 1>&6 | 9359 echo "$ac_t""yes" 1>&6 |
9345 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9360 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9346 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9361 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9347 echo "configure:9348: checking for netinet/in.h" >&5 | 9362 echo "configure:9363: checking for netinet/in.h" >&5 |
9348 | 9363 |
9349 cat > conftest.$ac_ext <<EOF | 9364 cat > conftest.$ac_ext <<EOF |
9350 #line 9351 "configure" | 9365 #line 9366 "configure" |
9351 #include "confdefs.h" | 9366 #include "confdefs.h" |
9352 #include <netinet/in.h> | 9367 #include <netinet/in.h> |
9353 EOF | 9368 EOF |
9354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9355 { (eval echo configure:9356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9370 { (eval echo configure:9371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9356 ac_err=`grep -v '^ *+' conftest.out` | 9371 ac_err=`grep -v '^ *+' conftest.out` |
9357 if test -z "$ac_err"; then | 9372 if test -z "$ac_err"; then |
9358 rm -rf conftest* | 9373 rm -rf conftest* |
9359 eval "ac_cv_header_$ac_safe=yes" | 9374 eval "ac_cv_header_$ac_safe=yes" |
9360 else | 9375 else |
9367 rm -f conftest* | 9382 rm -f conftest* |
9368 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9383 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9369 echo "$ac_t""yes" 1>&6 | 9384 echo "$ac_t""yes" 1>&6 |
9370 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9385 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9371 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9386 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9372 echo "configure:9373: checking for arpa/inet.h" >&5 | 9387 echo "configure:9388: checking for arpa/inet.h" >&5 |
9373 | 9388 |
9374 cat > conftest.$ac_ext <<EOF | 9389 cat > conftest.$ac_ext <<EOF |
9375 #line 9376 "configure" | 9390 #line 9391 "configure" |
9376 #include "confdefs.h" | 9391 #include "confdefs.h" |
9377 #include <arpa/inet.h> | 9392 #include <arpa/inet.h> |
9378 EOF | 9393 EOF |
9379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9380 { (eval echo configure:9381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9395 { (eval echo configure:9396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9381 ac_err=`grep -v '^ *+' conftest.out` | 9396 ac_err=`grep -v '^ *+' conftest.out` |
9382 if test -z "$ac_err"; then | 9397 if test -z "$ac_err"; then |
9383 rm -rf conftest* | 9398 rm -rf conftest* |
9384 eval "ac_cv_header_$ac_safe=yes" | 9399 eval "ac_cv_header_$ac_safe=yes" |
9385 else | 9400 else |
9400 #define HAVE_SOCKETS 1 | 9415 #define HAVE_SOCKETS 1 |
9401 EOF | 9416 EOF |
9402 } | 9417 } |
9403 | 9418 |
9404 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9419 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9405 echo "configure:9406: checking "for sun_len member in struct sockaddr_un"" >&5 | 9420 echo "configure:9421: checking "for sun_len member in struct sockaddr_un"" >&5 |
9406 cat > conftest.$ac_ext <<EOF | 9421 cat > conftest.$ac_ext <<EOF |
9407 #line 9408 "configure" | 9422 #line 9423 "configure" |
9408 #include "confdefs.h" | 9423 #include "confdefs.h" |
9409 | 9424 |
9410 #include <sys/types.h> | 9425 #include <sys/types.h> |
9411 #include <sys/socket.h> | 9426 #include <sys/socket.h> |
9412 #include <sys/un.h> | 9427 #include <sys/un.h> |
9413 | 9428 |
9414 int main() { | 9429 int main() { |
9415 static struct sockaddr_un x; x.sun_len = 1; | 9430 static struct sockaddr_un x; x.sun_len = 1; |
9416 ; return 0; } | 9431 ; return 0; } |
9417 EOF | 9432 EOF |
9418 if { (eval echo configure:9419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9433 if { (eval echo configure:9434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9419 rm -rf conftest* | 9434 rm -rf conftest* |
9420 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9435 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9421 Defining HAVE_SOCKADDR_SUN_LEN | 9436 Defining HAVE_SOCKADDR_SUN_LEN |
9422 EOF | 9437 EOF |
9423 cat >> confdefs.h <<\EOF | 9438 cat >> confdefs.h <<\EOF |
9431 rm -rf conftest* | 9446 rm -rf conftest* |
9432 echo "$ac_t""no" 1>&6 | 9447 echo "$ac_t""no" 1>&6 |
9433 fi | 9448 fi |
9434 rm -f conftest* | 9449 rm -f conftest* |
9435 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9450 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9436 echo "configure:9437: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9451 echo "configure:9452: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9437 cat > conftest.$ac_ext <<EOF | 9452 cat > conftest.$ac_ext <<EOF |
9438 #line 9439 "configure" | 9453 #line 9454 "configure" |
9439 #include "confdefs.h" | 9454 #include "confdefs.h" |
9440 | 9455 |
9441 #include <netinet/in.h> | 9456 #include <netinet/in.h> |
9442 | 9457 |
9443 int main() { | 9458 int main() { |
9444 static struct ip_mreq x; | 9459 static struct ip_mreq x; |
9445 ; return 0; } | 9460 ; return 0; } |
9446 EOF | 9461 EOF |
9447 if { (eval echo configure:9448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9462 if { (eval echo configure:9463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9448 rm -rf conftest* | 9463 rm -rf conftest* |
9449 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9464 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9450 Defining HAVE_MULTICAST | 9465 Defining HAVE_MULTICAST |
9451 EOF | 9466 EOF |
9452 cat >> confdefs.h <<\EOF | 9467 cat >> confdefs.h <<\EOF |
9473 echo "$ac_t""no" 1>&6 | 9488 echo "$ac_t""no" 1>&6 |
9474 fi | 9489 fi |
9475 | 9490 |
9476 | 9491 |
9477 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9492 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9478 echo "configure:9479: checking for msgget" >&5 | 9493 echo "configure:9494: checking for msgget" >&5 |
9479 | 9494 |
9480 cat > conftest.$ac_ext <<EOF | 9495 cat > conftest.$ac_ext <<EOF |
9481 #line 9482 "configure" | 9496 #line 9497 "configure" |
9482 #include "confdefs.h" | 9497 #include "confdefs.h" |
9483 /* System header to define __stub macros and hopefully few prototypes, | 9498 /* System header to define __stub macros and hopefully few prototypes, |
9484 which can conflict with char msgget(); below. */ | 9499 which can conflict with char msgget(); below. */ |
9485 #include <assert.h> | 9500 #include <assert.h> |
9486 /* Override any gcc2 internal prototype to avoid an error. */ | 9501 /* Override any gcc2 internal prototype to avoid an error. */ |
9499 msgget(); | 9514 msgget(); |
9500 #endif | 9515 #endif |
9501 | 9516 |
9502 ; return 0; } | 9517 ; return 0; } |
9503 EOF | 9518 EOF |
9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9519 if { (eval echo configure:9520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9505 rm -rf conftest* | 9520 rm -rf conftest* |
9506 eval "ac_cv_func_msgget=yes" | 9521 eval "ac_cv_func_msgget=yes" |
9507 else | 9522 else |
9508 echo "configure: failed program was:" >&5 | 9523 echo "configure: failed program was:" >&5 |
9509 cat conftest.$ac_ext >&5 | 9524 cat conftest.$ac_ext >&5 |
9514 | 9529 |
9515 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9530 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9516 echo "$ac_t""yes" 1>&6 | 9531 echo "$ac_t""yes" 1>&6 |
9517 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9532 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9518 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9533 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9519 echo "configure:9520: checking for sys/ipc.h" >&5 | 9534 echo "configure:9535: checking for sys/ipc.h" >&5 |
9520 | 9535 |
9521 cat > conftest.$ac_ext <<EOF | 9536 cat > conftest.$ac_ext <<EOF |
9522 #line 9523 "configure" | 9537 #line 9538 "configure" |
9523 #include "confdefs.h" | 9538 #include "confdefs.h" |
9524 #include <sys/ipc.h> | 9539 #include <sys/ipc.h> |
9525 EOF | 9540 EOF |
9526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9527 { (eval echo configure:9528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9542 { (eval echo configure:9543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9528 ac_err=`grep -v '^ *+' conftest.out` | 9543 ac_err=`grep -v '^ *+' conftest.out` |
9529 if test -z "$ac_err"; then | 9544 if test -z "$ac_err"; then |
9530 rm -rf conftest* | 9545 rm -rf conftest* |
9531 eval "ac_cv_header_$ac_safe=yes" | 9546 eval "ac_cv_header_$ac_safe=yes" |
9532 else | 9547 else |
9539 rm -f conftest* | 9554 rm -f conftest* |
9540 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9541 echo "$ac_t""yes" 1>&6 | 9556 echo "$ac_t""yes" 1>&6 |
9542 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9557 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9543 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9558 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9544 echo "configure:9545: checking for sys/msg.h" >&5 | 9559 echo "configure:9560: checking for sys/msg.h" >&5 |
9545 | 9560 |
9546 cat > conftest.$ac_ext <<EOF | 9561 cat > conftest.$ac_ext <<EOF |
9547 #line 9548 "configure" | 9562 #line 9563 "configure" |
9548 #include "confdefs.h" | 9563 #include "confdefs.h" |
9549 #include <sys/msg.h> | 9564 #include <sys/msg.h> |
9550 EOF | 9565 EOF |
9551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9552 { (eval echo configure:9553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9567 { (eval echo configure:9568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9553 ac_err=`grep -v '^ *+' conftest.out` | 9568 ac_err=`grep -v '^ *+' conftest.out` |
9554 if test -z "$ac_err"; then | 9569 if test -z "$ac_err"; then |
9555 rm -rf conftest* | 9570 rm -rf conftest* |
9556 eval "ac_cv_header_$ac_safe=yes" | 9571 eval "ac_cv_header_$ac_safe=yes" |
9557 else | 9572 else |
9585 fi | 9600 fi |
9586 | 9601 |
9587 | 9602 |
9588 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9603 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9589 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9604 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9590 echo "configure:9591: checking for dirent.h" >&5 | 9605 echo "configure:9606: checking for dirent.h" >&5 |
9591 | 9606 |
9592 cat > conftest.$ac_ext <<EOF | 9607 cat > conftest.$ac_ext <<EOF |
9593 #line 9594 "configure" | 9608 #line 9609 "configure" |
9594 #include "confdefs.h" | 9609 #include "confdefs.h" |
9595 #include <dirent.h> | 9610 #include <dirent.h> |
9596 EOF | 9611 EOF |
9597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9598 { (eval echo configure:9599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9613 { (eval echo configure:9614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9599 ac_err=`grep -v '^ *+' conftest.out` | 9614 ac_err=`grep -v '^ *+' conftest.out` |
9600 if test -z "$ac_err"; then | 9615 if test -z "$ac_err"; then |
9601 rm -rf conftest* | 9616 rm -rf conftest* |
9602 eval "ac_cv_header_$ac_safe=yes" | 9617 eval "ac_cv_header_$ac_safe=yes" |
9603 else | 9618 else |
9620 | 9635 |
9621 else | 9636 else |
9622 echo "$ac_t""no" 1>&6 | 9637 echo "$ac_t""no" 1>&6 |
9623 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9638 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9624 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9639 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9625 echo "configure:9626: checking for sys/dir.h" >&5 | 9640 echo "configure:9641: checking for sys/dir.h" >&5 |
9626 | 9641 |
9627 cat > conftest.$ac_ext <<EOF | 9642 cat > conftest.$ac_ext <<EOF |
9628 #line 9629 "configure" | 9643 #line 9644 "configure" |
9629 #include "confdefs.h" | 9644 #include "confdefs.h" |
9630 #include <sys/dir.h> | 9645 #include <sys/dir.h> |
9631 EOF | 9646 EOF |
9632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9633 { (eval echo configure:9634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9648 { (eval echo configure:9649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9634 ac_err=`grep -v '^ *+' conftest.out` | 9649 ac_err=`grep -v '^ *+' conftest.out` |
9635 if test -z "$ac_err"; then | 9650 if test -z "$ac_err"; then |
9636 rm -rf conftest* | 9651 rm -rf conftest* |
9637 eval "ac_cv_header_$ac_safe=yes" | 9652 eval "ac_cv_header_$ac_safe=yes" |
9638 else | 9653 else |
9661 fi | 9676 fi |
9662 | 9677 |
9663 | 9678 |
9664 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9679 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9665 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9680 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9666 echo "configure:9667: checking for nlist.h" >&5 | 9681 echo "configure:9682: checking for nlist.h" >&5 |
9667 | 9682 |
9668 cat > conftest.$ac_ext <<EOF | 9683 cat > conftest.$ac_ext <<EOF |
9669 #line 9670 "configure" | 9684 #line 9685 "configure" |
9670 #include "confdefs.h" | 9685 #include "confdefs.h" |
9671 #include <nlist.h> | 9686 #include <nlist.h> |
9672 EOF | 9687 EOF |
9673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9674 { (eval echo configure:9675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9689 { (eval echo configure:9690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9675 ac_err=`grep -v '^ *+' conftest.out` | 9690 ac_err=`grep -v '^ *+' conftest.out` |
9676 if test -z "$ac_err"; then | 9691 if test -z "$ac_err"; then |
9677 rm -rf conftest* | 9692 rm -rf conftest* |
9678 eval "ac_cv_header_$ac_safe=yes" | 9693 eval "ac_cv_header_$ac_safe=yes" |
9679 else | 9694 else |
9699 fi | 9714 fi |
9700 | 9715 |
9701 | 9716 |
9702 | 9717 |
9703 echo "checking "for sound support"" 1>&6 | 9718 echo "checking "for sound support"" 1>&6 |
9704 echo "configure:9705: checking "for sound support"" >&5 | 9719 echo "configure:9720: checking "for sound support"" >&5 |
9705 case "$with_sound" in | 9720 case "$with_sound" in |
9706 native | both ) with_native_sound=yes;; | 9721 native | both ) with_native_sound=yes;; |
9707 nas | no ) with_native_sound=no;; | 9722 nas | no ) with_native_sound=no;; |
9708 esac | 9723 esac |
9709 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9724 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9710 | 9725 |
9711 if test "$with_native_sound" != "no"; then | 9726 if test "$with_native_sound" != "no"; then |
9712 if test -n "$native_sound_lib"; then | 9727 if test -n "$native_sound_lib"; then |
9713 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9728 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9714 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9729 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9715 echo "configure:9716: checking for multimedia/audio_device.h" >&5 | 9730 echo "configure:9731: checking for multimedia/audio_device.h" >&5 |
9716 | 9731 |
9717 cat > conftest.$ac_ext <<EOF | 9732 cat > conftest.$ac_ext <<EOF |
9718 #line 9719 "configure" | 9733 #line 9734 "configure" |
9719 #include "confdefs.h" | 9734 #include "confdefs.h" |
9720 #include <multimedia/audio_device.h> | 9735 #include <multimedia/audio_device.h> |
9721 EOF | 9736 EOF |
9722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9723 { (eval echo configure:9724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9738 { (eval echo configure:9739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9724 ac_err=`grep -v '^ *+' conftest.out` | 9739 ac_err=`grep -v '^ *+' conftest.out` |
9725 if test -z "$ac_err"; then | 9740 if test -z "$ac_err"; then |
9726 rm -rf conftest* | 9741 rm -rf conftest* |
9727 eval "ac_cv_header_$ac_safe=yes" | 9742 eval "ac_cv_header_$ac_safe=yes" |
9728 else | 9743 else |
9766 case "$canonical" in | 9781 case "$canonical" in |
9767 *-sgi-* ) | 9782 *-sgi-* ) |
9768 if test -z "$native_sound_lib"; then | 9783 if test -z "$native_sound_lib"; then |
9769 | 9784 |
9770 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9785 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9771 echo "configure:9772: checking for ALopenport in -laudio" >&5 | 9786 echo "configure:9787: checking for ALopenport in -laudio" >&5 |
9772 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9787 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9773 | 9788 |
9774 xe_check_libs=" -laudio " | 9789 xe_check_libs=" -laudio " |
9775 cat > conftest.$ac_ext <<EOF | 9790 cat > conftest.$ac_ext <<EOF |
9776 #line 9777 "configure" | 9791 #line 9792 "configure" |
9777 #include "confdefs.h" | 9792 #include "confdefs.h" |
9778 /* Override any gcc2 internal prototype to avoid an error. */ | 9793 /* Override any gcc2 internal prototype to avoid an error. */ |
9779 /* We use char because int might match the return type of a gcc2 | 9794 /* We use char because int might match the return type of a gcc2 |
9780 builtin and then its argument prototype would still apply. */ | 9795 builtin and then its argument prototype would still apply. */ |
9781 char ALopenport(); | 9796 char ALopenport(); |
9782 | 9797 |
9783 int main() { | 9798 int main() { |
9784 ALopenport() | 9799 ALopenport() |
9785 ; return 0; } | 9800 ; return 0; } |
9786 EOF | 9801 EOF |
9787 if { (eval echo configure:9788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9802 if { (eval echo configure:9803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9788 rm -rf conftest* | 9803 rm -rf conftest* |
9789 eval "ac_cv_lib_$ac_lib_var=yes" | 9804 eval "ac_cv_lib_$ac_lib_var=yes" |
9790 else | 9805 else |
9791 echo "configure: failed program was:" >&5 | 9806 echo "configure: failed program was:" >&5 |
9792 cat conftest.$ac_ext >&5 | 9807 cat conftest.$ac_ext >&5 |
9813 fi ;; | 9828 fi ;; |
9814 hppa*-hp-hpux* ) | 9829 hppa*-hp-hpux* ) |
9815 if test -z "$native_sound_lib"; then | 9830 if test -z "$native_sound_lib"; then |
9816 | 9831 |
9817 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9832 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9818 echo "configure:9819: checking for AOpenAudio in -lAlib" >&5 | 9833 echo "configure:9834: checking for AOpenAudio in -lAlib" >&5 |
9819 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9834 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9820 | 9835 |
9821 xe_check_libs=" -lAlib " | 9836 xe_check_libs=" -lAlib " |
9822 cat > conftest.$ac_ext <<EOF | 9837 cat > conftest.$ac_ext <<EOF |
9823 #line 9824 "configure" | 9838 #line 9839 "configure" |
9824 #include "confdefs.h" | 9839 #include "confdefs.h" |
9825 /* Override any gcc2 internal prototype to avoid an error. */ | 9840 /* Override any gcc2 internal prototype to avoid an error. */ |
9826 /* We use char because int might match the return type of a gcc2 | 9841 /* We use char because int might match the return type of a gcc2 |
9827 builtin and then its argument prototype would still apply. */ | 9842 builtin and then its argument prototype would still apply. */ |
9828 char AOpenAudio(); | 9843 char AOpenAudio(); |
9829 | 9844 |
9830 int main() { | 9845 int main() { |
9831 AOpenAudio() | 9846 AOpenAudio() |
9832 ; return 0; } | 9847 ; return 0; } |
9833 EOF | 9848 EOF |
9834 if { (eval echo configure:9835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9849 if { (eval echo configure:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9835 rm -rf conftest* | 9850 rm -rf conftest* |
9836 eval "ac_cv_lib_$ac_lib_var=yes" | 9851 eval "ac_cv_lib_$ac_lib_var=yes" |
9837 else | 9852 else |
9838 echo "configure: failed program was:" >&5 | 9853 echo "configure: failed program was:" >&5 |
9839 cat conftest.$ac_ext >&5 | 9854 cat conftest.$ac_ext >&5 |
9867 | 9882 |
9868 if test -z "$sound_found"; then | 9883 if test -z "$sound_found"; then |
9869 for dir in "machine" "sys" "linux"; do | 9884 for dir in "machine" "sys" "linux"; do |
9870 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9885 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9871 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9886 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9872 echo "configure:9873: checking for ${dir}/soundcard.h" >&5 | 9887 echo "configure:9888: checking for ${dir}/soundcard.h" >&5 |
9873 | 9888 |
9874 cat > conftest.$ac_ext <<EOF | 9889 cat > conftest.$ac_ext <<EOF |
9875 #line 9876 "configure" | 9890 #line 9891 "configure" |
9876 #include "confdefs.h" | 9891 #include "confdefs.h" |
9877 #include <${dir}/soundcard.h> | 9892 #include <${dir}/soundcard.h> |
9878 EOF | 9893 EOF |
9879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9880 { (eval echo configure:9881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9895 { (eval echo configure:9896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9881 ac_err=`grep -v '^ *+' conftest.out` | 9896 ac_err=`grep -v '^ *+' conftest.out` |
9882 if test -z "$ac_err"; then | 9897 if test -z "$ac_err"; then |
9883 rm -rf conftest* | 9898 rm -rf conftest* |
9884 eval "ac_cv_header_$ac_safe=yes" | 9899 eval "ac_cv_header_$ac_safe=yes" |
9885 else | 9900 else |
9945 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9960 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
9946 echo " xemacs will be linked with \"nas.o\"" | 9961 echo " xemacs will be linked with \"nas.o\"" |
9947 fi | 9962 fi |
9948 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9963 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
9949 cat > conftest.$ac_ext <<EOF | 9964 cat > conftest.$ac_ext <<EOF |
9950 #line 9951 "configure" | 9965 #line 9966 "configure" |
9951 #include "confdefs.h" | 9966 #include "confdefs.h" |
9952 #include <audio/Xtutil.h> | 9967 #include <audio/Xtutil.h> |
9953 EOF | 9968 EOF |
9954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9955 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9970 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9972 | 9987 |
9973 test -z "$with_tty" && with_tty=yes | 9988 test -z "$with_tty" && with_tty=yes |
9974 | 9989 |
9975 if test "$with_tty" = "yes" ; then | 9990 if test "$with_tty" = "yes" ; then |
9976 echo "checking for TTY-related features" 1>&6 | 9991 echo "checking for TTY-related features" 1>&6 |
9977 echo "configure:9978: checking for TTY-related features" >&5 | 9992 echo "configure:9993: checking for TTY-related features" >&5 |
9978 { test "$extra_verbose" = "yes" && cat << \EOF | 9993 { test "$extra_verbose" = "yes" && cat << \EOF |
9979 Defining HAVE_TTY | 9994 Defining HAVE_TTY |
9980 EOF | 9995 EOF |
9981 cat >> confdefs.h <<\EOF | 9996 cat >> confdefs.h <<\EOF |
9982 #define HAVE_TTY 1 | 9997 #define HAVE_TTY 1 |
9988 fi | 10003 fi |
9989 | 10004 |
9990 if test -z "$with_ncurses"; then | 10005 if test -z "$with_ncurses"; then |
9991 | 10006 |
9992 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10007 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9993 echo "configure:9994: checking for tgetent in -lncurses" >&5 | 10008 echo "configure:10009: checking for tgetent in -lncurses" >&5 |
9994 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10009 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9995 | 10010 |
9996 xe_check_libs=" -lncurses " | 10011 xe_check_libs=" -lncurses " |
9997 cat > conftest.$ac_ext <<EOF | 10012 cat > conftest.$ac_ext <<EOF |
9998 #line 9999 "configure" | 10013 #line 10014 "configure" |
9999 #include "confdefs.h" | 10014 #include "confdefs.h" |
10000 /* Override any gcc2 internal prototype to avoid an error. */ | 10015 /* Override any gcc2 internal prototype to avoid an error. */ |
10001 /* We use char because int might match the return type of a gcc2 | 10016 /* We use char because int might match the return type of a gcc2 |
10002 builtin and then its argument prototype would still apply. */ | 10017 builtin and then its argument prototype would still apply. */ |
10003 char tgetent(); | 10018 char tgetent(); |
10004 | 10019 |
10005 int main() { | 10020 int main() { |
10006 tgetent() | 10021 tgetent() |
10007 ; return 0; } | 10022 ; return 0; } |
10008 EOF | 10023 EOF |
10009 if { (eval echo configure:10010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10024 if { (eval echo configure:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10010 rm -rf conftest* | 10025 rm -rf conftest* |
10011 eval "ac_cv_lib_$ac_lib_var=yes" | 10026 eval "ac_cv_lib_$ac_lib_var=yes" |
10012 else | 10027 else |
10013 echo "configure: failed program was:" >&5 | 10028 echo "configure: failed program was:" >&5 |
10014 cat conftest.$ac_ext >&5 | 10029 cat conftest.$ac_ext >&5 |
10037 EOF | 10052 EOF |
10038 } | 10053 } |
10039 | 10054 |
10040 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10055 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10041 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10056 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10042 echo "configure:10043: checking for ncurses/curses.h" >&5 | 10057 echo "configure:10058: checking for ncurses/curses.h" >&5 |
10043 | 10058 |
10044 cat > conftest.$ac_ext <<EOF | 10059 cat > conftest.$ac_ext <<EOF |
10045 #line 10046 "configure" | 10060 #line 10061 "configure" |
10046 #include "confdefs.h" | 10061 #include "confdefs.h" |
10047 #include <ncurses/curses.h> | 10062 #include <ncurses/curses.h> |
10048 EOF | 10063 EOF |
10049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10050 { (eval echo configure:10051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10065 { (eval echo configure:10066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10051 ac_err=`grep -v '^ *+' conftest.out` | 10066 ac_err=`grep -v '^ *+' conftest.out` |
10052 if test -z "$ac_err"; then | 10067 if test -z "$ac_err"; then |
10053 rm -rf conftest* | 10068 rm -rf conftest* |
10054 eval "ac_cv_header_$ac_safe=yes" | 10069 eval "ac_cv_header_$ac_safe=yes" |
10055 else | 10070 else |
10067 echo "$ac_t""no" 1>&6 | 10082 echo "$ac_t""no" 1>&6 |
10068 fi | 10083 fi |
10069 | 10084 |
10070 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10085 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10071 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10086 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10072 echo "configure:10073: checking for ncurses/term.h" >&5 | 10087 echo "configure:10088: checking for ncurses/term.h" >&5 |
10073 | 10088 |
10074 cat > conftest.$ac_ext <<EOF | 10089 cat > conftest.$ac_ext <<EOF |
10075 #line 10076 "configure" | 10090 #line 10091 "configure" |
10076 #include "confdefs.h" | 10091 #include "confdefs.h" |
10077 #include <ncurses/term.h> | 10092 #include <ncurses/term.h> |
10078 EOF | 10093 EOF |
10079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10080 { (eval echo configure:10081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10095 { (eval echo configure:10096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10081 ac_err=`grep -v '^ *+' conftest.out` | 10096 ac_err=`grep -v '^ *+' conftest.out` |
10082 if test -z "$ac_err"; then | 10097 if test -z "$ac_err"; then |
10083 rm -rf conftest* | 10098 rm -rf conftest* |
10084 eval "ac_cv_header_$ac_safe=yes" | 10099 eval "ac_cv_header_$ac_safe=yes" |
10085 else | 10100 else |
10105 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10120 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10106 save_c_switch_site="$c_switch_site" | 10121 save_c_switch_site="$c_switch_site" |
10107 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10122 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10108 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10123 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10109 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10124 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10110 echo "configure:10111: checking for ncurses/curses.h" >&5 | 10125 echo "configure:10126: checking for ncurses/curses.h" >&5 |
10111 | 10126 |
10112 cat > conftest.$ac_ext <<EOF | 10127 cat > conftest.$ac_ext <<EOF |
10113 #line 10114 "configure" | 10128 #line 10129 "configure" |
10114 #include "confdefs.h" | 10129 #include "confdefs.h" |
10115 #include <ncurses/curses.h> | 10130 #include <ncurses/curses.h> |
10116 EOF | 10131 EOF |
10117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10118 { (eval echo configure:10119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10133 { (eval echo configure:10134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10119 ac_err=`grep -v '^ *+' conftest.out` | 10134 ac_err=`grep -v '^ *+' conftest.out` |
10120 if test -z "$ac_err"; then | 10135 if test -z "$ac_err"; then |
10121 rm -rf conftest* | 10136 rm -rf conftest* |
10122 eval "ac_cv_header_$ac_safe=yes" | 10137 eval "ac_cv_header_$ac_safe=yes" |
10123 else | 10138 else |
10148 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10163 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10149 else | 10164 else |
10150 for lib in curses termlib termcap; do | 10165 for lib in curses termlib termcap; do |
10151 | 10166 |
10152 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10167 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10153 echo "configure:10154: checking for tgetent in -l$lib" >&5 | 10168 echo "configure:10169: checking for tgetent in -l$lib" >&5 |
10154 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10169 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10155 | 10170 |
10156 xe_check_libs=" -l$lib " | 10171 xe_check_libs=" -l$lib " |
10157 cat > conftest.$ac_ext <<EOF | 10172 cat > conftest.$ac_ext <<EOF |
10158 #line 10159 "configure" | 10173 #line 10174 "configure" |
10159 #include "confdefs.h" | 10174 #include "confdefs.h" |
10160 /* Override any gcc2 internal prototype to avoid an error. */ | 10175 /* Override any gcc2 internal prototype to avoid an error. */ |
10161 /* We use char because int might match the return type of a gcc2 | 10176 /* We use char because int might match the return type of a gcc2 |
10162 builtin and then its argument prototype would still apply. */ | 10177 builtin and then its argument prototype would still apply. */ |
10163 char tgetent(); | 10178 char tgetent(); |
10164 | 10179 |
10165 int main() { | 10180 int main() { |
10166 tgetent() | 10181 tgetent() |
10167 ; return 0; } | 10182 ; return 0; } |
10168 EOF | 10183 EOF |
10169 if { (eval echo configure:10170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10184 if { (eval echo configure:10185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10170 rm -rf conftest* | 10185 rm -rf conftest* |
10171 eval "ac_cv_lib_$ac_lib_var=yes" | 10186 eval "ac_cv_lib_$ac_lib_var=yes" |
10172 else | 10187 else |
10173 echo "configure: failed program was:" >&5 | 10188 echo "configure: failed program was:" >&5 |
10174 cat conftest.$ac_ext >&5 | 10189 cat conftest.$ac_ext >&5 |
10195 if test -n "$libs_termcap"; then | 10210 if test -n "$libs_termcap"; then |
10196 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10211 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10197 else | 10212 else |
10198 | 10213 |
10199 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10214 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10200 echo "configure:10201: checking for tgetent in -lcurses" >&5 | 10215 echo "configure:10216: checking for tgetent in -lcurses" >&5 |
10201 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10216 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10202 | 10217 |
10203 xe_check_libs=" -lcurses " | 10218 xe_check_libs=" -lcurses " |
10204 cat > conftest.$ac_ext <<EOF | 10219 cat > conftest.$ac_ext <<EOF |
10205 #line 10206 "configure" | 10220 #line 10221 "configure" |
10206 #include "confdefs.h" | 10221 #include "confdefs.h" |
10207 /* Override any gcc2 internal prototype to avoid an error. */ | 10222 /* Override any gcc2 internal prototype to avoid an error. */ |
10208 /* We use char because int might match the return type of a gcc2 | 10223 /* We use char because int might match the return type of a gcc2 |
10209 builtin and then its argument prototype would still apply. */ | 10224 builtin and then its argument prototype would still apply. */ |
10210 char tgetent(); | 10225 char tgetent(); |
10211 | 10226 |
10212 int main() { | 10227 int main() { |
10213 tgetent() | 10228 tgetent() |
10214 ; return 0; } | 10229 ; return 0; } |
10215 EOF | 10230 EOF |
10216 if { (eval echo configure:10217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10231 if { (eval echo configure:10232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10217 rm -rf conftest* | 10232 rm -rf conftest* |
10218 eval "ac_cv_lib_$ac_lib_var=yes" | 10233 eval "ac_cv_lib_$ac_lib_var=yes" |
10219 else | 10234 else |
10220 echo "configure: failed program was:" >&5 | 10235 echo "configure: failed program was:" >&5 |
10221 cat conftest.$ac_ext >&5 | 10236 cat conftest.$ac_ext >&5 |
10229 echo "$ac_t""yes" 1>&6 | 10244 echo "$ac_t""yes" 1>&6 |
10230 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10245 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10231 else | 10246 else |
10232 echo "$ac_t""no" 1>&6 | 10247 echo "$ac_t""no" 1>&6 |
10233 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10248 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10234 echo "configure:10235: checking for tgetent in -ltermcap" >&5 | 10249 echo "configure:10250: checking for tgetent in -ltermcap" >&5 |
10235 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10250 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10236 | 10251 |
10237 xe_check_libs=" -ltermcap " | 10252 xe_check_libs=" -ltermcap " |
10238 cat > conftest.$ac_ext <<EOF | 10253 cat > conftest.$ac_ext <<EOF |
10239 #line 10240 "configure" | 10254 #line 10255 "configure" |
10240 #include "confdefs.h" | 10255 #include "confdefs.h" |
10241 /* Override any gcc2 internal prototype to avoid an error. */ | 10256 /* Override any gcc2 internal prototype to avoid an error. */ |
10242 /* We use char because int might match the return type of a gcc2 | 10257 /* We use char because int might match the return type of a gcc2 |
10243 builtin and then its argument prototype would still apply. */ | 10258 builtin and then its argument prototype would still apply. */ |
10244 char tgetent(); | 10259 char tgetent(); |
10245 | 10260 |
10246 int main() { | 10261 int main() { |
10247 tgetent() | 10262 tgetent() |
10248 ; return 0; } | 10263 ; return 0; } |
10249 EOF | 10264 EOF |
10250 if { (eval echo configure:10251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10265 if { (eval echo configure:10266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10251 rm -rf conftest* | 10266 rm -rf conftest* |
10252 eval "ac_cv_lib_$ac_lib_var=yes" | 10267 eval "ac_cv_lib_$ac_lib_var=yes" |
10253 else | 10268 else |
10254 echo "configure: failed program was:" >&5 | 10269 echo "configure: failed program was:" >&5 |
10255 cat conftest.$ac_ext >&5 | 10270 cat conftest.$ac_ext >&5 |
10293 } | 10308 } |
10294 | 10309 |
10295 | 10310 |
10296 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10311 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10297 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10312 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10298 echo "configure:10299: checking for gpm.h" >&5 | 10313 echo "configure:10314: checking for gpm.h" >&5 |
10299 | 10314 |
10300 cat > conftest.$ac_ext <<EOF | 10315 cat > conftest.$ac_ext <<EOF |
10301 #line 10302 "configure" | 10316 #line 10317 "configure" |
10302 #include "confdefs.h" | 10317 #include "confdefs.h" |
10303 #include <gpm.h> | 10318 #include <gpm.h> |
10304 EOF | 10319 EOF |
10305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10306 { (eval echo configure:10307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10321 { (eval echo configure:10322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10307 ac_err=`grep -v '^ *+' conftest.out` | 10322 ac_err=`grep -v '^ *+' conftest.out` |
10308 if test -z "$ac_err"; then | 10323 if test -z "$ac_err"; then |
10309 rm -rf conftest* | 10324 rm -rf conftest* |
10310 eval "ac_cv_header_$ac_safe=yes" | 10325 eval "ac_cv_header_$ac_safe=yes" |
10311 else | 10326 else |
10324 with_gpm=no | 10339 with_gpm=no |
10325 fi | 10340 fi |
10326 } | 10341 } |
10327 test -z "$with_gpm" && { | 10342 test -z "$with_gpm" && { |
10328 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10343 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10329 echo "configure:10330: checking for Gpm_Open in -lgpm" >&5 | 10344 echo "configure:10345: checking for Gpm_Open in -lgpm" >&5 |
10330 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10345 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10331 | 10346 |
10332 xe_check_libs=" -lgpm " | 10347 xe_check_libs=" -lgpm " |
10333 cat > conftest.$ac_ext <<EOF | 10348 cat > conftest.$ac_ext <<EOF |
10334 #line 10335 "configure" | 10349 #line 10350 "configure" |
10335 #include "confdefs.h" | 10350 #include "confdefs.h" |
10336 /* Override any gcc2 internal prototype to avoid an error. */ | 10351 /* Override any gcc2 internal prototype to avoid an error. */ |
10337 /* We use char because int might match the return type of a gcc2 | 10352 /* We use char because int might match the return type of a gcc2 |
10338 builtin and then its argument prototype would still apply. */ | 10353 builtin and then its argument prototype would still apply. */ |
10339 char Gpm_Open(); | 10354 char Gpm_Open(); |
10340 | 10355 |
10341 int main() { | 10356 int main() { |
10342 Gpm_Open() | 10357 Gpm_Open() |
10343 ; return 0; } | 10358 ; return 0; } |
10344 EOF | 10359 EOF |
10345 if { (eval echo configure:10346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10360 if { (eval echo configure:10361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10346 rm -rf conftest* | 10361 rm -rf conftest* |
10347 eval "ac_cv_lib_$ac_lib_var=yes" | 10362 eval "ac_cv_lib_$ac_lib_var=yes" |
10348 else | 10363 else |
10349 echo "configure: failed program was:" >&5 | 10364 echo "configure: failed program was:" >&5 |
10350 cat conftest.$ac_ext >&5 | 10365 cat conftest.$ac_ext >&5 |
10389 echo " xemacs will be linked with \"event-unixoid.o\"" | 10404 echo " xemacs will be linked with \"event-unixoid.o\"" |
10390 fi | 10405 fi |
10391 | 10406 |
10392 | 10407 |
10393 echo "checking for database support" 1>&6 | 10408 echo "checking for database support" 1>&6 |
10394 echo "configure:10395: checking for database support" >&5 | 10409 echo "configure:10410: checking for database support" >&5 |
10395 | 10410 |
10396 if test "$with_database_gnudbm" != "no"; then | 10411 if test "$with_database_gnudbm" != "no"; then |
10397 for ac_hdr in ndbm.h | 10412 for ac_hdr in ndbm.h |
10398 do | 10413 do |
10399 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10400 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10401 echo "configure:10402: checking for $ac_hdr" >&5 | 10416 echo "configure:10417: checking for $ac_hdr" >&5 |
10402 | 10417 |
10403 cat > conftest.$ac_ext <<EOF | 10418 cat > conftest.$ac_ext <<EOF |
10404 #line 10405 "configure" | 10419 #line 10420 "configure" |
10405 #include "confdefs.h" | 10420 #include "confdefs.h" |
10406 #include <$ac_hdr> | 10421 #include <$ac_hdr> |
10407 EOF | 10422 EOF |
10408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10423 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10409 { (eval echo configure:10410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10424 { (eval echo configure:10425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10410 ac_err=`grep -v '^ *+' conftest.out` | 10425 ac_err=`grep -v '^ *+' conftest.out` |
10411 if test -z "$ac_err"; then | 10426 if test -z "$ac_err"; then |
10412 rm -rf conftest* | 10427 rm -rf conftest* |
10413 eval "ac_cv_header_$ac_safe=yes" | 10428 eval "ac_cv_header_$ac_safe=yes" |
10414 else | 10429 else |
10436 done | 10451 done |
10437 | 10452 |
10438 if test "$have_ndbm_h" = "yes"; then | 10453 if test "$have_ndbm_h" = "yes"; then |
10439 | 10454 |
10440 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10455 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10441 echo "configure:10442: checking for dbm_open in -lgdbm" >&5 | 10456 echo "configure:10457: checking for dbm_open in -lgdbm" >&5 |
10442 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10457 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10443 | 10458 |
10444 xe_check_libs=" -lgdbm " | 10459 xe_check_libs=" -lgdbm " |
10445 cat > conftest.$ac_ext <<EOF | 10460 cat > conftest.$ac_ext <<EOF |
10446 #line 10447 "configure" | 10461 #line 10462 "configure" |
10447 #include "confdefs.h" | 10462 #include "confdefs.h" |
10448 /* Override any gcc2 internal prototype to avoid an error. */ | 10463 /* Override any gcc2 internal prototype to avoid an error. */ |
10449 /* We use char because int might match the return type of a gcc2 | 10464 /* We use char because int might match the return type of a gcc2 |
10450 builtin and then its argument prototype would still apply. */ | 10465 builtin and then its argument prototype would still apply. */ |
10451 char dbm_open(); | 10466 char dbm_open(); |
10452 | 10467 |
10453 int main() { | 10468 int main() { |
10454 dbm_open() | 10469 dbm_open() |
10455 ; return 0; } | 10470 ; return 0; } |
10456 EOF | 10471 EOF |
10457 if { (eval echo configure:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10458 rm -rf conftest* | 10473 rm -rf conftest* |
10459 eval "ac_cv_lib_$ac_lib_var=yes" | 10474 eval "ac_cv_lib_$ac_lib_var=yes" |
10460 else | 10475 else |
10461 echo "configure: failed program was:" >&5 | 10476 echo "configure: failed program was:" >&5 |
10462 cat conftest.$ac_ext >&5 | 10477 cat conftest.$ac_ext >&5 |
10475 | 10490 |
10476 | 10491 |
10477 fi | 10492 fi |
10478 if test "$with_database_gnudbm" != "yes"; then | 10493 if test "$with_database_gnudbm" != "yes"; then |
10479 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10494 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10480 echo "configure:10481: checking for dbm_open" >&5 | 10495 echo "configure:10496: checking for dbm_open" >&5 |
10481 | 10496 |
10482 cat > conftest.$ac_ext <<EOF | 10497 cat > conftest.$ac_ext <<EOF |
10483 #line 10484 "configure" | 10498 #line 10499 "configure" |
10484 #include "confdefs.h" | 10499 #include "confdefs.h" |
10485 /* System header to define __stub macros and hopefully few prototypes, | 10500 /* System header to define __stub macros and hopefully few prototypes, |
10486 which can conflict with char dbm_open(); below. */ | 10501 which can conflict with char dbm_open(); below. */ |
10487 #include <assert.h> | 10502 #include <assert.h> |
10488 /* Override any gcc2 internal prototype to avoid an error. */ | 10503 /* Override any gcc2 internal prototype to avoid an error. */ |
10501 dbm_open(); | 10516 dbm_open(); |
10502 #endif | 10517 #endif |
10503 | 10518 |
10504 ; return 0; } | 10519 ; return 0; } |
10505 EOF | 10520 EOF |
10506 if { (eval echo configure:10507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10521 if { (eval echo configure:10522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10507 rm -rf conftest* | 10522 rm -rf conftest* |
10508 eval "ac_cv_func_dbm_open=yes" | 10523 eval "ac_cv_func_dbm_open=yes" |
10509 else | 10524 else |
10510 echo "configure: failed program was:" >&5 | 10525 echo "configure: failed program was:" >&5 |
10511 cat conftest.$ac_ext >&5 | 10526 cat conftest.$ac_ext >&5 |
10537 fi | 10552 fi |
10538 fi | 10553 fi |
10539 | 10554 |
10540 if test "$with_database_dbm" != "no"; then | 10555 if test "$with_database_dbm" != "no"; then |
10541 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10556 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10542 echo "configure:10543: checking for dbm_open" >&5 | 10557 echo "configure:10558: checking for dbm_open" >&5 |
10543 | 10558 |
10544 cat > conftest.$ac_ext <<EOF | 10559 cat > conftest.$ac_ext <<EOF |
10545 #line 10546 "configure" | 10560 #line 10561 "configure" |
10546 #include "confdefs.h" | 10561 #include "confdefs.h" |
10547 /* System header to define __stub macros and hopefully few prototypes, | 10562 /* System header to define __stub macros and hopefully few prototypes, |
10548 which can conflict with char dbm_open(); below. */ | 10563 which can conflict with char dbm_open(); below. */ |
10549 #include <assert.h> | 10564 #include <assert.h> |
10550 /* Override any gcc2 internal prototype to avoid an error. */ | 10565 /* Override any gcc2 internal prototype to avoid an error. */ |
10563 dbm_open(); | 10578 dbm_open(); |
10564 #endif | 10579 #endif |
10565 | 10580 |
10566 ; return 0; } | 10581 ; return 0; } |
10567 EOF | 10582 EOF |
10568 if { (eval echo configure:10569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10583 if { (eval echo configure:10584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10569 rm -rf conftest* | 10584 rm -rf conftest* |
10570 eval "ac_cv_func_dbm_open=yes" | 10585 eval "ac_cv_func_dbm_open=yes" |
10571 else | 10586 else |
10572 echo "configure: failed program was:" >&5 | 10587 echo "configure: failed program was:" >&5 |
10573 cat conftest.$ac_ext >&5 | 10588 cat conftest.$ac_ext >&5 |
10584 fi | 10599 fi |
10585 | 10600 |
10586 if test "$need_libdbm" != "no"; then | 10601 if test "$need_libdbm" != "no"; then |
10587 | 10602 |
10588 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10603 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
10589 echo "configure:10590: checking for dbm_open in -ldbm" >&5 | 10604 echo "configure:10605: checking for dbm_open in -ldbm" >&5 |
10590 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10605 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10591 | 10606 |
10592 xe_check_libs=" -ldbm " | 10607 xe_check_libs=" -ldbm " |
10593 cat > conftest.$ac_ext <<EOF | 10608 cat > conftest.$ac_ext <<EOF |
10594 #line 10595 "configure" | 10609 #line 10610 "configure" |
10595 #include "confdefs.h" | 10610 #include "confdefs.h" |
10596 /* Override any gcc2 internal prototype to avoid an error. */ | 10611 /* Override any gcc2 internal prototype to avoid an error. */ |
10597 /* We use char because int might match the return type of a gcc2 | 10612 /* We use char because int might match the return type of a gcc2 |
10598 builtin and then its argument prototype would still apply. */ | 10613 builtin and then its argument prototype would still apply. */ |
10599 char dbm_open(); | 10614 char dbm_open(); |
10600 | 10615 |
10601 int main() { | 10616 int main() { |
10602 dbm_open() | 10617 dbm_open() |
10603 ; return 0; } | 10618 ; return 0; } |
10604 EOF | 10619 EOF |
10605 if { (eval echo configure:10606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10620 if { (eval echo configure:10621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10606 rm -rf conftest* | 10621 rm -rf conftest* |
10607 eval "ac_cv_lib_$ac_lib_var=yes" | 10622 eval "ac_cv_lib_$ac_lib_var=yes" |
10608 else | 10623 else |
10609 echo "configure: failed program was:" >&5 | 10624 echo "configure: failed program was:" >&5 |
10610 cat conftest.$ac_ext >&5 | 10625 cat conftest.$ac_ext >&5 |
10637 fi | 10652 fi |
10638 fi | 10653 fi |
10639 | 10654 |
10640 if test "$with_database_berkdb" != "no"; then | 10655 if test "$with_database_berkdb" != "no"; then |
10641 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10656 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
10642 echo "configure:10643: checking for dbopen" >&5 | 10657 echo "configure:10658: checking for dbopen" >&5 |
10643 | 10658 |
10644 cat > conftest.$ac_ext <<EOF | 10659 cat > conftest.$ac_ext <<EOF |
10645 #line 10646 "configure" | 10660 #line 10661 "configure" |
10646 #include "confdefs.h" | 10661 #include "confdefs.h" |
10647 /* System header to define __stub macros and hopefully few prototypes, | 10662 /* System header to define __stub macros and hopefully few prototypes, |
10648 which can conflict with char dbopen(); below. */ | 10663 which can conflict with char dbopen(); below. */ |
10649 #include <assert.h> | 10664 #include <assert.h> |
10650 /* Override any gcc2 internal prototype to avoid an error. */ | 10665 /* Override any gcc2 internal prototype to avoid an error. */ |
10663 dbopen(); | 10678 dbopen(); |
10664 #endif | 10679 #endif |
10665 | 10680 |
10666 ; return 0; } | 10681 ; return 0; } |
10667 EOF | 10682 EOF |
10668 if { (eval echo configure:10669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10683 if { (eval echo configure:10684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10669 rm -rf conftest* | 10684 rm -rf conftest* |
10670 eval "ac_cv_func_dbopen=yes" | 10685 eval "ac_cv_func_dbopen=yes" |
10671 else | 10686 else |
10672 echo "configure: failed program was:" >&5 | 10687 echo "configure: failed program was:" >&5 |
10673 cat conftest.$ac_ext >&5 | 10688 cat conftest.$ac_ext >&5 |
10684 fi | 10699 fi |
10685 | 10700 |
10686 if test "$need_libdb" != "no"; then | 10701 if test "$need_libdb" != "no"; then |
10687 | 10702 |
10688 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10703 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
10689 echo "configure:10690: checking for dbopen in -ldb" >&5 | 10704 echo "configure:10705: checking for dbopen in -ldb" >&5 |
10690 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10705 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
10691 | 10706 |
10692 xe_check_libs=" -ldb " | 10707 xe_check_libs=" -ldb " |
10693 cat > conftest.$ac_ext <<EOF | 10708 cat > conftest.$ac_ext <<EOF |
10694 #line 10695 "configure" | 10709 #line 10710 "configure" |
10695 #include "confdefs.h" | 10710 #include "confdefs.h" |
10696 /* Override any gcc2 internal prototype to avoid an error. */ | 10711 /* Override any gcc2 internal prototype to avoid an error. */ |
10697 /* We use char because int might match the return type of a gcc2 | 10712 /* We use char because int might match the return type of a gcc2 |
10698 builtin and then its argument prototype would still apply. */ | 10713 builtin and then its argument prototype would still apply. */ |
10699 char dbopen(); | 10714 char dbopen(); |
10700 | 10715 |
10701 int main() { | 10716 int main() { |
10702 dbopen() | 10717 dbopen() |
10703 ; return 0; } | 10718 ; return 0; } |
10704 EOF | 10719 EOF |
10705 if { (eval echo configure:10706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10720 if { (eval echo configure:10721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10706 rm -rf conftest* | 10721 rm -rf conftest* |
10707 eval "ac_cv_lib_$ac_lib_var=yes" | 10722 eval "ac_cv_lib_$ac_lib_var=yes" |
10708 else | 10723 else |
10709 echo "configure: failed program was:" >&5 | 10724 echo "configure: failed program was:" >&5 |
10710 cat conftest.$ac_ext >&5 | 10725 cat conftest.$ac_ext >&5 |
10724 | 10739 |
10725 fi | 10740 fi |
10726 if test "$with_database_berkdb" = "yes"; then | 10741 if test "$with_database_berkdb" = "yes"; then |
10727 for path in "db/db.h" "db.h"; do | 10742 for path in "db/db.h" "db.h"; do |
10728 cat > conftest.$ac_ext <<EOF | 10743 cat > conftest.$ac_ext <<EOF |
10729 #line 10730 "configure" | 10744 #line 10745 "configure" |
10730 #include "confdefs.h" | 10745 #include "confdefs.h" |
10731 #ifdef HAVE_INTTYPES_H | 10746 #ifdef HAVE_INTTYPES_H |
10732 #define __BIT_TYPES_DEFINED__ | 10747 #define __BIT_TYPES_DEFINED__ |
10733 #include <inttypes.h> | 10748 #include <inttypes.h> |
10734 typedef uint8_t u_int8_t; | 10749 typedef uint8_t u_int8_t; |
10742 | 10757 |
10743 int main() { | 10758 int main() { |
10744 | 10759 |
10745 ; return 0; } | 10760 ; return 0; } |
10746 EOF | 10761 EOF |
10747 if { (eval echo configure:10748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10762 if { (eval echo configure:10763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10748 rm -rf conftest* | 10763 rm -rf conftest* |
10749 db_h_path="$path"; break | 10764 db_h_path="$path"; break |
10750 else | 10765 else |
10751 echo "configure: failed program was:" >&5 | 10766 echo "configure: failed program was:" >&5 |
10752 cat conftest.$ac_ext >&5 | 10767 cat conftest.$ac_ext >&5 |
10793 fi | 10808 fi |
10794 | 10809 |
10795 if test "$with_socks" = "yes"; then | 10810 if test "$with_socks" = "yes"; then |
10796 | 10811 |
10797 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10812 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10798 echo "configure:10799: checking for SOCKSinit in -lsocks" >&5 | 10813 echo "configure:10814: checking for SOCKSinit in -lsocks" >&5 |
10799 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10814 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10800 | 10815 |
10801 xe_check_libs=" -lsocks " | 10816 xe_check_libs=" -lsocks " |
10802 cat > conftest.$ac_ext <<EOF | 10817 cat > conftest.$ac_ext <<EOF |
10803 #line 10804 "configure" | 10818 #line 10819 "configure" |
10804 #include "confdefs.h" | 10819 #include "confdefs.h" |
10805 /* Override any gcc2 internal prototype to avoid an error. */ | 10820 /* Override any gcc2 internal prototype to avoid an error. */ |
10806 /* We use char because int might match the return type of a gcc2 | 10821 /* We use char because int might match the return type of a gcc2 |
10807 builtin and then its argument prototype would still apply. */ | 10822 builtin and then its argument prototype would still apply. */ |
10808 char SOCKSinit(); | 10823 char SOCKSinit(); |
10809 | 10824 |
10810 int main() { | 10825 int main() { |
10811 SOCKSinit() | 10826 SOCKSinit() |
10812 ; return 0; } | 10827 ; return 0; } |
10813 EOF | 10828 EOF |
10814 if { (eval echo configure:10815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10829 if { (eval echo configure:10830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10815 rm -rf conftest* | 10830 rm -rf conftest* |
10816 eval "ac_cv_lib_$ac_lib_var=yes" | 10831 eval "ac_cv_lib_$ac_lib_var=yes" |
10817 else | 10832 else |
10818 echo "configure: failed program was:" >&5 | 10833 echo "configure: failed program was:" >&5 |
10819 cat conftest.$ac_ext >&5 | 10834 cat conftest.$ac_ext >&5 |
10866 | 10881 |
10867 for ac_hdr in dlfcn.h | 10882 for ac_hdr in dlfcn.h |
10868 do | 10883 do |
10869 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10884 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10870 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10885 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10871 echo "configure:10872: checking for $ac_hdr" >&5 | 10886 echo "configure:10887: checking for $ac_hdr" >&5 |
10872 | 10887 |
10873 cat > conftest.$ac_ext <<EOF | 10888 cat > conftest.$ac_ext <<EOF |
10874 #line 10875 "configure" | 10889 #line 10890 "configure" |
10875 #include "confdefs.h" | 10890 #include "confdefs.h" |
10876 #include <$ac_hdr> | 10891 #include <$ac_hdr> |
10877 EOF | 10892 EOF |
10878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10879 { (eval echo configure:10880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10894 { (eval echo configure:10895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10880 ac_err=`grep -v '^ *+' conftest.out` | 10895 ac_err=`grep -v '^ *+' conftest.out` |
10881 if test -z "$ac_err"; then | 10896 if test -z "$ac_err"; then |
10882 rm -rf conftest* | 10897 rm -rf conftest* |
10883 eval "ac_cv_header_$ac_safe=yes" | 10898 eval "ac_cv_header_$ac_safe=yes" |
10884 else | 10899 else |
10905 fi | 10920 fi |
10906 done | 10921 done |
10907 | 10922 |
10908 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10923 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10909 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10924 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
10910 echo "configure:10911: checking for dlopen in -ldl" >&5 | 10925 echo "configure:10926: checking for dlopen in -ldl" >&5 |
10911 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10926 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
10912 | 10927 |
10913 xe_check_libs=" -ldl " | 10928 xe_check_libs=" -ldl " |
10914 cat > conftest.$ac_ext <<EOF | 10929 cat > conftest.$ac_ext <<EOF |
10915 #line 10916 "configure" | 10930 #line 10931 "configure" |
10916 #include "confdefs.h" | 10931 #include "confdefs.h" |
10917 /* Override any gcc2 internal prototype to avoid an error. */ | 10932 /* Override any gcc2 internal prototype to avoid an error. */ |
10918 /* We use char because int might match the return type of a gcc2 | 10933 /* We use char because int might match the return type of a gcc2 |
10919 builtin and then its argument prototype would still apply. */ | 10934 builtin and then its argument prototype would still apply. */ |
10920 char dlopen(); | 10935 char dlopen(); |
10921 | 10936 |
10922 int main() { | 10937 int main() { |
10923 dlopen() | 10938 dlopen() |
10924 ; return 0; } | 10939 ; return 0; } |
10925 EOF | 10940 EOF |
10926 if { (eval echo configure:10927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10941 if { (eval echo configure:10942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10927 rm -rf conftest* | 10942 rm -rf conftest* |
10928 eval "ac_cv_lib_$ac_lib_var=yes" | 10943 eval "ac_cv_lib_$ac_lib_var=yes" |
10929 else | 10944 else |
10930 echo "configure: failed program was:" >&5 | 10945 echo "configure: failed program was:" >&5 |
10931 cat conftest.$ac_ext >&5 | 10946 cat conftest.$ac_ext >&5 |
10950 fi | 10965 fi |
10951 | 10966 |
10952 } | 10967 } |
10953 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10968 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10954 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 10969 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
10955 echo "configure:10956: checking for _dlopen in -lc" >&5 | 10970 echo "configure:10971: checking for _dlopen in -lc" >&5 |
10956 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 10971 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
10957 | 10972 |
10958 xe_check_libs=" -lc " | 10973 xe_check_libs=" -lc " |
10959 cat > conftest.$ac_ext <<EOF | 10974 cat > conftest.$ac_ext <<EOF |
10960 #line 10961 "configure" | 10975 #line 10976 "configure" |
10961 #include "confdefs.h" | 10976 #include "confdefs.h" |
10962 /* Override any gcc2 internal prototype to avoid an error. */ | 10977 /* Override any gcc2 internal prototype to avoid an error. */ |
10963 /* We use char because int might match the return type of a gcc2 | 10978 /* We use char because int might match the return type of a gcc2 |
10964 builtin and then its argument prototype would still apply. */ | 10979 builtin and then its argument prototype would still apply. */ |
10965 char _dlopen(); | 10980 char _dlopen(); |
10966 | 10981 |
10967 int main() { | 10982 int main() { |
10968 _dlopen() | 10983 _dlopen() |
10969 ; return 0; } | 10984 ; return 0; } |
10970 EOF | 10985 EOF |
10971 if { (eval echo configure:10972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10986 if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10972 rm -rf conftest* | 10987 rm -rf conftest* |
10973 eval "ac_cv_lib_$ac_lib_var=yes" | 10988 eval "ac_cv_lib_$ac_lib_var=yes" |
10974 else | 10989 else |
10975 echo "configure: failed program was:" >&5 | 10990 echo "configure: failed program was:" >&5 |
10976 cat conftest.$ac_ext >&5 | 10991 cat conftest.$ac_ext >&5 |
10995 fi | 11010 fi |
10996 | 11011 |
10997 } | 11012 } |
10998 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11013 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10999 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11014 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11000 echo "configure:11001: checking for dlopen in -lc" >&5 | 11015 echo "configure:11016: checking for dlopen in -lc" >&5 |
11001 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11016 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11002 | 11017 |
11003 xe_check_libs=" -lc " | 11018 xe_check_libs=" -lc " |
11004 cat > conftest.$ac_ext <<EOF | 11019 cat > conftest.$ac_ext <<EOF |
11005 #line 11006 "configure" | 11020 #line 11021 "configure" |
11006 #include "confdefs.h" | 11021 #include "confdefs.h" |
11007 /* Override any gcc2 internal prototype to avoid an error. */ | 11022 /* Override any gcc2 internal prototype to avoid an error. */ |
11008 /* We use char because int might match the return type of a gcc2 | 11023 /* We use char because int might match the return type of a gcc2 |
11009 builtin and then its argument prototype would still apply. */ | 11024 builtin and then its argument prototype would still apply. */ |
11010 char dlopen(); | 11025 char dlopen(); |
11011 | 11026 |
11012 int main() { | 11027 int main() { |
11013 dlopen() | 11028 dlopen() |
11014 ; return 0; } | 11029 ; return 0; } |
11015 EOF | 11030 EOF |
11016 if { (eval echo configure:11017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11031 if { (eval echo configure:11032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11017 rm -rf conftest* | 11032 rm -rf conftest* |
11018 eval "ac_cv_lib_$ac_lib_var=yes" | 11033 eval "ac_cv_lib_$ac_lib_var=yes" |
11019 else | 11034 else |
11020 echo "configure: failed program was:" >&5 | 11035 echo "configure: failed program was:" >&5 |
11021 cat conftest.$ac_ext >&5 | 11036 cat conftest.$ac_ext >&5 |
11040 fi | 11055 fi |
11041 | 11056 |
11042 } | 11057 } |
11043 test -z "$with_shlib" && { | 11058 test -z "$with_shlib" && { |
11044 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11059 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11045 echo "configure:11046: checking for shl_load in -ldld" >&5 | 11060 echo "configure:11061: checking for shl_load in -ldld" >&5 |
11046 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11061 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11047 | 11062 |
11048 xe_check_libs=" -ldld " | 11063 xe_check_libs=" -ldld " |
11049 cat > conftest.$ac_ext <<EOF | 11064 cat > conftest.$ac_ext <<EOF |
11050 #line 11051 "configure" | 11065 #line 11066 "configure" |
11051 #include "confdefs.h" | 11066 #include "confdefs.h" |
11052 /* Override any gcc2 internal prototype to avoid an error. */ | 11067 /* Override any gcc2 internal prototype to avoid an error. */ |
11053 /* We use char because int might match the return type of a gcc2 | 11068 /* We use char because int might match the return type of a gcc2 |
11054 builtin and then its argument prototype would still apply. */ | 11069 builtin and then its argument prototype would still apply. */ |
11055 char shl_load(); | 11070 char shl_load(); |
11056 | 11071 |
11057 int main() { | 11072 int main() { |
11058 shl_load() | 11073 shl_load() |
11059 ; return 0; } | 11074 ; return 0; } |
11060 EOF | 11075 EOF |
11061 if { (eval echo configure:11062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11076 if { (eval echo configure:11077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11062 rm -rf conftest* | 11077 rm -rf conftest* |
11063 eval "ac_cv_lib_$ac_lib_var=yes" | 11078 eval "ac_cv_lib_$ac_lib_var=yes" |
11064 else | 11079 else |
11065 echo "configure: failed program was:" >&5 | 11080 echo "configure: failed program was:" >&5 |
11066 cat conftest.$ac_ext >&5 | 11081 cat conftest.$ac_ext >&5 |
11085 fi | 11100 fi |
11086 | 11101 |
11087 } | 11102 } |
11088 test -z "$with_shlib" && { | 11103 test -z "$with_shlib" && { |
11089 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11104 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11090 echo "configure:11091: checking for dld_init in -ldld" >&5 | 11105 echo "configure:11106: checking for dld_init in -ldld" >&5 |
11091 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11106 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11092 | 11107 |
11093 xe_check_libs=" -ldld " | 11108 xe_check_libs=" -ldld " |
11094 cat > conftest.$ac_ext <<EOF | 11109 cat > conftest.$ac_ext <<EOF |
11095 #line 11096 "configure" | 11110 #line 11111 "configure" |
11096 #include "confdefs.h" | 11111 #include "confdefs.h" |
11097 /* Override any gcc2 internal prototype to avoid an error. */ | 11112 /* Override any gcc2 internal prototype to avoid an error. */ |
11098 /* We use char because int might match the return type of a gcc2 | 11113 /* We use char because int might match the return type of a gcc2 |
11099 builtin and then its argument prototype would still apply. */ | 11114 builtin and then its argument prototype would still apply. */ |
11100 char dld_init(); | 11115 char dld_init(); |
11101 | 11116 |
11102 int main() { | 11117 int main() { |
11103 dld_init() | 11118 dld_init() |
11104 ; return 0; } | 11119 ; return 0; } |
11105 EOF | 11120 EOF |
11106 if { (eval echo configure:11107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11121 if { (eval echo configure:11122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11107 rm -rf conftest* | 11122 rm -rf conftest* |
11108 eval "ac_cv_lib_$ac_lib_var=yes" | 11123 eval "ac_cv_lib_$ac_lib_var=yes" |
11109 else | 11124 else |
11110 echo "configure: failed program was:" >&5 | 11125 echo "configure: failed program was:" >&5 |
11111 cat conftest.$ac_ext >&5 | 11126 cat conftest.$ac_ext >&5 |
11151 dll_lflags="-shared" | 11166 dll_lflags="-shared" |
11152 dll_cflags="-r" | 11167 dll_cflags="-r" |
11153 dll_oflags="-o " | 11168 dll_oflags="-o " |
11154 | 11169 |
11155 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11170 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11156 echo "configure:11157: checking how to build a shared library" >&5 | 11171 echo "configure:11172: checking how to build a shared library" >&5 |
11157 case `uname -rs` in | 11172 case `uname -rs` in |
11158 UNIX_SV*|UNIX_System_V*) | 11173 UNIX_SV*|UNIX_System_V*) |
11159 dll_lflags="-G" | 11174 dll_lflags="-G" |
11160 dll_cflags=-Kpic | 11175 dll_cflags=-Kpic |
11161 dll_ld="ld" | 11176 dll_ld="ld" |
11242 | 11257 |
11243 | 11258 |
11244 for ac_func in dlerror | 11259 for ac_func in dlerror |
11245 do | 11260 do |
11246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11247 echo "configure:11248: checking for $ac_func" >&5 | 11262 echo "configure:11263: checking for $ac_func" >&5 |
11248 | 11263 |
11249 cat > conftest.$ac_ext <<EOF | 11264 cat > conftest.$ac_ext <<EOF |
11250 #line 11251 "configure" | 11265 #line 11266 "configure" |
11251 #include "confdefs.h" | 11266 #include "confdefs.h" |
11252 /* System header to define __stub macros and hopefully few prototypes, | 11267 /* System header to define __stub macros and hopefully few prototypes, |
11253 which can conflict with char $ac_func(); below. */ | 11268 which can conflict with char $ac_func(); below. */ |
11254 #include <assert.h> | 11269 #include <assert.h> |
11255 /* Override any gcc2 internal prototype to avoid an error. */ | 11270 /* Override any gcc2 internal prototype to avoid an error. */ |
11268 $ac_func(); | 11283 $ac_func(); |
11269 #endif | 11284 #endif |
11270 | 11285 |
11271 ; return 0; } | 11286 ; return 0; } |
11272 EOF | 11287 EOF |
11273 if { (eval echo configure:11274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11288 if { (eval echo configure:11289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11274 rm -rf conftest* | 11289 rm -rf conftest* |
11275 eval "ac_cv_func_$ac_func=yes" | 11290 eval "ac_cv_func_$ac_func=yes" |
11276 else | 11291 else |
11277 echo "configure: failed program was:" >&5 | 11292 echo "configure: failed program was:" >&5 |
11278 cat conftest.$ac_ext >&5 | 11293 cat conftest.$ac_ext >&5 |
11304 *) ;; | 11319 *) ;; |
11305 esac | 11320 esac |
11306 fi | 11321 fi |
11307 | 11322 |
11308 cat > conftest.$ac_ext <<EOF | 11323 cat > conftest.$ac_ext <<EOF |
11309 #line 11310 "configure" | 11324 #line 11325 "configure" |
11310 #include "confdefs.h" | 11325 #include "confdefs.h" |
11311 int main(int c,char *v[]){return 0;} | 11326 int main(int c,char *v[]){return 0;} |
11312 EOF | 11327 EOF |
11313 if { (eval echo configure:11314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 11328 if { (eval echo configure:11329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
11314 then | 11329 then |
11315 : | 11330 : |
11316 else | 11331 else |
11317 echo "configure: failed program was:" >&5 | 11332 echo "configure: failed program was:" >&5 |
11318 cat conftest.$ac_ext >&5 | 11333 cat conftest.$ac_ext >&5 |
11457 for dir in $MAKE_SUBDIR; do echo "import $dir"; done | 11472 for dir in $MAKE_SUBDIR; do echo "import $dir"; done |
11458 ) > .sbinit | 11473 ) > .sbinit |
11459 fi | 11474 fi |
11460 | 11475 |
11461 rm -f core | 11476 rm -f core |
11477 | |
11462 | 11478 |
11463 | 11479 |
11464 | 11480 |
11465 | 11481 |
11466 | 11482 |
12091 s%@dll_lflags@%$dll_lflags%g | 12107 s%@dll_lflags@%$dll_lflags%g |
12092 s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g | 12108 s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g |
12093 s%@INSTALL_ARCH_DEP_SUBDIR@%$INSTALL_ARCH_DEP_SUBDIR%g | 12109 s%@INSTALL_ARCH_DEP_SUBDIR@%$INSTALL_ARCH_DEP_SUBDIR%g |
12094 s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g | 12110 s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g |
12095 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g | 12111 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g |
12112 s%@PROGNAME@%$PROGNAME%g | |
12096 s%@version@%$version%g | 12113 s%@version@%$version%g |
12097 s%@configuration@%$configuration%g | 12114 s%@configuration@%$configuration%g |
12098 s%@canonical@%$canonical%g | 12115 s%@canonical@%$canonical%g |
12099 s%@srcdir@%$srcdir%g | 12116 s%@srcdir@%$srcdir%g |
12100 s%@pkgdir@%$pkgdir%g | 12117 s%@pkgdir@%$pkgdir%g |