comparison configure @ 259:11cf20601dec r20-5b28

Import from CVS: tag r20-5b28
author cvs
date Mon, 13 Aug 2007 10:23:02 +0200
parents 65c19d2020f7
children 405dd6d1825b
comparison
equal deleted inserted replaced
258:58424f6abf56 259:11cf20601dec
232 archlibdir='${libdir}/xemacs-${version}/${configuration}' 232 archlibdir='${libdir}/xemacs-${version}/${configuration}'
233 archlibdir_user_defined='no' 233 archlibdir_user_defined='no'
234 with_menubars='' 234 with_menubars=''
235 with_scrollbars='' 235 with_scrollbars=''
236 with_dialogs='' 236 with_dialogs=''
237 with_mule_coding='' 237 with_file_coding=''
238 const_is_losing='yes' 238 const_is_losing='yes'
239 puresize='' 239 puresize=''
240 cflags='UNSPECIFIED' 240 cflags='UNSPECIFIED'
241 dynamic='' 241 dynamic=''
242 with_x11='' 242 with_x11=''
323 with_toolbars | \ 323 with_toolbars | \
324 with_tty | \ 324 with_tty | \
325 with_xfs | \ 325 with_xfs | \
326 with_i18n3 | \ 326 with_i18n3 | \
327 with_mule | \ 327 with_mule | \
328 with_mule_coding | \ 328 with_file_coding | \
329 with_canna | \ 329 with_canna | \
330 with_wnn | \ 330 with_wnn | \
331 with_wnn6 | \ 331 with_wnn6 | \
332 with_workshop | \ 332 with_workshop | \
333 with_sparcworks | \ 333 with_sparcworks | \
334 with_tooltalk | \ 334 with_tooltalk | \
335 with_ldap | \
335 with_pop | \ 336 with_pop | \
336 with_kerberos | \ 337 with_kerberos | \
337 with_hesiod | \ 338 with_hesiod | \
338 with_dnet | \ 339 with_dnet | \
339 external_widget | \ 340 external_widget | \
636 ;; 637 ;;
637 esac 638 esac
638 639
639 if test -z "$configuration"; then 640 if test -z "$configuration"; then
640 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 641 echo $ac_n "checking "host system type"""... $ac_c" 1>&6
641 echo "configure:642: checking "host system type"" >&5 642 echo "configure:643: checking "host system type"" >&5
642 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ 643 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \
643 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then 644 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then
644 echo "$ac_t""$configuration" 1>&6 645 echo "$ac_t""$configuration" 1>&6
645 else 646 else
646 echo "$ac_t""unknown" 1>&6 647 echo "$ac_t""unknown" 1>&6
650 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 651 echo " Use \`$progname --help' to show usage.") >&2 && exit 1
651 fi 652 fi
652 fi 653 fi
653 654
654 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 655 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
655 echo "configure:656: checking whether ln -s works" >&5 656 echo "configure:657: checking whether ln -s works" >&5
656 657
657 rm -f conftestdata 658 rm -f conftestdata
658 if ln -s X conftestdata 2>/dev/null 659 if ln -s X conftestdata 2>/dev/null
659 then 660 then
660 rm -f conftestdata 661 rm -f conftestdata
827 } 828 }
828 829
829 830
830 831
831 echo "checking "the configuration name"" 1>&6 832 echo "checking "the configuration name"" 1>&6
832 echo "configure:833: checking "the configuration name"" >&5 833 echo "configure:834: checking "the configuration name"" >&5
833 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` 834 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'`
834 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else 835 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else
835 exit $? 836 exit $?
836 fi 837 fi
837 838
1298 xe_save_CFLAGS="$CFLAGS" 1299 xe_save_CFLAGS="$CFLAGS"
1299 1300
1300 # Extract the first word of "gcc", so it can be a program name with args. 1301 # Extract the first word of "gcc", so it can be a program name with args.
1301 set dummy gcc; ac_word=$2 1302 set dummy gcc; ac_word=$2
1302 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1303 echo "configure:1304: checking for $ac_word" >&5 1304 echo "configure:1305: checking for $ac_word" >&5
1304 1305
1305 if test -n "$CC"; then 1306 if test -n "$CC"; then
1306 ac_cv_prog_CC="$CC" # Let the user override the test. 1307 ac_cv_prog_CC="$CC" # Let the user override the test.
1307 else 1308 else
1308 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1309 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1324 1325
1325 if test -z "$CC"; then 1326 if test -z "$CC"; then
1326 # Extract the first word of "cc", so it can be a program name with args. 1327 # Extract the first word of "cc", so it can be a program name with args.
1327 set dummy cc; ac_word=$2 1328 set dummy cc; ac_word=$2
1328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1329 echo "configure:1330: checking for $ac_word" >&5 1330 echo "configure:1331: checking for $ac_word" >&5
1330 1331
1331 if test -n "$CC"; then 1332 if test -n "$CC"; then
1332 ac_cv_prog_CC="$CC" # Let the user override the test. 1333 ac_cv_prog_CC="$CC" # Let the user override the test.
1333 else 1334 else
1334 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1335 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1369 1370
1370 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1371 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1371 fi 1372 fi
1372 1373
1373 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1374 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1374 echo "configure:1375: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1375 echo "configure:1376: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1375 1376
1376 ac_ext=c 1377 ac_ext=c
1377 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1378 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1378 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1379 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1379 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1380 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1381 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1382 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1382 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1383 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1383 cross_compiling=no 1384 cross_compiling=no
1384 1385
1385 cat > conftest.$ac_ext <<EOF 1386 cat > conftest.$ac_ext <<EOF
1386 #line 1387 "configure" 1387 #line 1388 "configure"
1387 #include "confdefs.h" 1388 #include "confdefs.h"
1388 main(){return(0);} 1389 main(){return(0);}
1389 EOF 1390 EOF
1390 if { (eval echo configure:1391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1391 if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1391 ac_cv_prog_cc_works=yes 1392 ac_cv_prog_cc_works=yes
1392 # If we can't run a trivial program, we are probably using a cross compiler. 1393 # If we can't run a trivial program, we are probably using a cross compiler.
1393 if (./conftest; exit) 2>/dev/null; then 1394 if (./conftest; exit) 2>/dev/null; then
1394 ac_cv_prog_cc_cross=no 1395 ac_cv_prog_cc_cross=no
1395 else 1396 else
1405 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1406 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1406 if test $ac_cv_prog_cc_works = no; then 1407 if test $ac_cv_prog_cc_works = no; then
1407 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1408 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1408 fi 1409 fi
1409 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1410 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1410 echo "configure:1411: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1411 echo "configure:1412: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1411 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1412 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1412 cross_compiling=$ac_cv_prog_cc_cross 1413 cross_compiling=$ac_cv_prog_cc_cross
1413 1414
1414 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1415 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1415 echo "configure:1416: checking whether we are using GNU C" >&5 1416 echo "configure:1417: checking whether we are using GNU C" >&5
1416 1417
1417 cat > conftest.c <<EOF 1418 cat > conftest.c <<EOF
1418 #ifdef __GNUC__ 1419 #ifdef __GNUC__
1419 yes; 1420 yes;
1420 #endif 1421 #endif
1421 EOF 1422 EOF
1422 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1423 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1423 ac_cv_prog_gcc=yes 1424 ac_cv_prog_gcc=yes
1424 else 1425 else
1425 ac_cv_prog_gcc=no 1426 ac_cv_prog_gcc=no
1426 fi 1427 fi
1427 1428
1431 GCC=yes 1432 GCC=yes
1432 ac_test_CFLAGS="${CFLAGS+set}" 1433 ac_test_CFLAGS="${CFLAGS+set}"
1433 ac_save_CFLAGS="$CFLAGS" 1434 ac_save_CFLAGS="$CFLAGS"
1434 CFLAGS= 1435 CFLAGS=
1435 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1436 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1436 echo "configure:1437: checking whether ${CC-cc} accepts -g" >&5 1437 echo "configure:1438: checking whether ${CC-cc} accepts -g" >&5
1437 1438
1438 echo 'void f(){}' > conftest.c 1439 echo 'void f(){}' > conftest.c
1439 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1440 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1440 ac_cv_prog_cc_g=yes 1441 ac_cv_prog_cc_g=yes
1441 else 1442 else
1460 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then 1461 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then
1461 CC=${NON_GNU_CC-cc} 1462 CC=${NON_GNU_CC-cc}
1462 # Extract the first word of "gcc", so it can be a program name with args. 1463 # Extract the first word of "gcc", so it can be a program name with args.
1463 set dummy gcc; ac_word=$2 1464 set dummy gcc; ac_word=$2
1464 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1465 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1465 echo "configure:1466: checking for $ac_word" >&5 1466 echo "configure:1467: checking for $ac_word" >&5
1466 1467
1467 if test -n "$CC"; then 1468 if test -n "$CC"; then
1468 ac_cv_prog_CC="$CC" # Let the user override the test. 1469 ac_cv_prog_CC="$CC" # Let the user override the test.
1469 else 1470 else
1470 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1471 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1486 1487
1487 if test -z "$CC"; then 1488 if test -z "$CC"; then
1488 # Extract the first word of "cc", so it can be a program name with args. 1489 # Extract the first word of "cc", so it can be a program name with args.
1489 set dummy cc; ac_word=$2 1490 set dummy cc; ac_word=$2
1490 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1491 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1491 echo "configure:1492: checking for $ac_word" >&5 1492 echo "configure:1493: checking for $ac_word" >&5
1492 1493
1493 if test -n "$CC"; then 1494 if test -n "$CC"; then
1494 ac_cv_prog_CC="$CC" # Let the user override the test. 1495 ac_cv_prog_CC="$CC" # Let the user override the test.
1495 else 1496 else
1496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1497 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1531 1532
1532 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1533 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1533 fi 1534 fi
1534 1535
1535 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1536 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1536 echo "configure:1537: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1537 echo "configure:1538: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1537 1538
1538 ac_ext=c 1539 ac_ext=c
1539 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1540 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1540 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1541 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1541 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1542 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1543 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1544 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1544 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1545 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1545 cross_compiling=no 1546 cross_compiling=no
1546 1547
1547 cat > conftest.$ac_ext <<EOF 1548 cat > conftest.$ac_ext <<EOF
1548 #line 1549 "configure" 1549 #line 1550 "configure"
1549 #include "confdefs.h" 1550 #include "confdefs.h"
1550 main(){return(0);} 1551 main(){return(0);}
1551 EOF 1552 EOF
1552 if { (eval echo configure:1553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1553 if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1553 ac_cv_prog_cc_works=yes 1554 ac_cv_prog_cc_works=yes
1554 # If we can't run a trivial program, we are probably using a cross compiler. 1555 # If we can't run a trivial program, we are probably using a cross compiler.
1555 if (./conftest; exit) 2>/dev/null; then 1556 if (./conftest; exit) 2>/dev/null; then
1556 ac_cv_prog_cc_cross=no 1557 ac_cv_prog_cc_cross=no
1557 else 1558 else
1567 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1568 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1568 if test $ac_cv_prog_cc_works = no; then 1569 if test $ac_cv_prog_cc_works = no; then
1569 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1570 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1570 fi 1571 fi
1571 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1572 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1572 echo "configure:1573: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1573 echo "configure:1574: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1573 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1574 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1574 cross_compiling=$ac_cv_prog_cc_cross 1575 cross_compiling=$ac_cv_prog_cc_cross
1575 1576
1576 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1577 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1577 echo "configure:1578: checking whether we are using GNU C" >&5 1578 echo "configure:1579: checking whether we are using GNU C" >&5
1578 1579
1579 cat > conftest.c <<EOF 1580 cat > conftest.c <<EOF
1580 #ifdef __GNUC__ 1581 #ifdef __GNUC__
1581 yes; 1582 yes;
1582 #endif 1583 #endif
1583 EOF 1584 EOF
1584 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1585 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1585 ac_cv_prog_gcc=yes 1586 ac_cv_prog_gcc=yes
1586 else 1587 else
1587 ac_cv_prog_gcc=no 1588 ac_cv_prog_gcc=no
1588 fi 1589 fi
1589 1590
1593 GCC=yes 1594 GCC=yes
1594 ac_test_CFLAGS="${CFLAGS+set}" 1595 ac_test_CFLAGS="${CFLAGS+set}"
1595 ac_save_CFLAGS="$CFLAGS" 1596 ac_save_CFLAGS="$CFLAGS"
1596 CFLAGS= 1597 CFLAGS=
1597 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1598 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1598 echo "configure:1599: checking whether ${CC-cc} accepts -g" >&5 1599 echo "configure:1600: checking whether ${CC-cc} accepts -g" >&5
1599 1600
1600 echo 'void f(){}' > conftest.c 1601 echo 'void f(){}' > conftest.c
1601 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1602 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1602 ac_cv_prog_cc_g=yes 1603 ac_cv_prog_cc_g=yes
1603 else 1604 else
1622 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then 1623 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then
1623 CC=gcc 1624 CC=gcc
1624 # Extract the first word of "gcc", so it can be a program name with args. 1625 # Extract the first word of "gcc", so it can be a program name with args.
1625 set dummy gcc; ac_word=$2 1626 set dummy gcc; ac_word=$2
1626 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1627 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1627 echo "configure:1628: checking for $ac_word" >&5 1628 echo "configure:1629: checking for $ac_word" >&5
1628 1629
1629 if test -n "$CC"; then 1630 if test -n "$CC"; then
1630 ac_cv_prog_CC="$CC" # Let the user override the test. 1631 ac_cv_prog_CC="$CC" # Let the user override the test.
1631 else 1632 else
1632 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1633 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1648 1649
1649 if test -z "$CC"; then 1650 if test -z "$CC"; then
1650 # Extract the first word of "cc", so it can be a program name with args. 1651 # Extract the first word of "cc", so it can be a program name with args.
1651 set dummy cc; ac_word=$2 1652 set dummy cc; ac_word=$2
1652 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1653 echo "configure:1654: checking for $ac_word" >&5 1654 echo "configure:1655: checking for $ac_word" >&5
1654 1655
1655 if test -n "$CC"; then 1656 if test -n "$CC"; then
1656 ac_cv_prog_CC="$CC" # Let the user override the test. 1657 ac_cv_prog_CC="$CC" # Let the user override the test.
1657 else 1658 else
1658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1693 1694
1694 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1695 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1695 fi 1696 fi
1696 1697
1697 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1698 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1698 echo "configure:1699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1699 echo "configure:1700: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1699 1700
1700 ac_ext=c 1701 ac_ext=c
1701 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1702 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1702 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1703 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1703 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1704 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1705 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1706 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1706 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1707 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1707 cross_compiling=no 1708 cross_compiling=no
1708 1709
1709 cat > conftest.$ac_ext <<EOF 1710 cat > conftest.$ac_ext <<EOF
1710 #line 1711 "configure" 1711 #line 1712 "configure"
1711 #include "confdefs.h" 1712 #include "confdefs.h"
1712 main(){return(0);} 1713 main(){return(0);}
1713 EOF 1714 EOF
1714 if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1715 if { (eval echo configure:1716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1715 ac_cv_prog_cc_works=yes 1716 ac_cv_prog_cc_works=yes
1716 # If we can't run a trivial program, we are probably using a cross compiler. 1717 # If we can't run a trivial program, we are probably using a cross compiler.
1717 if (./conftest; exit) 2>/dev/null; then 1718 if (./conftest; exit) 2>/dev/null; then
1718 ac_cv_prog_cc_cross=no 1719 ac_cv_prog_cc_cross=no
1719 else 1720 else
1729 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1730 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1730 if test $ac_cv_prog_cc_works = no; then 1731 if test $ac_cv_prog_cc_works = no; then
1731 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1732 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1732 fi 1733 fi
1733 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1734 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1734 echo "configure:1735: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1735 echo "configure:1736: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1735 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1736 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1736 cross_compiling=$ac_cv_prog_cc_cross 1737 cross_compiling=$ac_cv_prog_cc_cross
1737 1738
1738 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1739 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1739 echo "configure:1740: checking whether we are using GNU C" >&5 1740 echo "configure:1741: checking whether we are using GNU C" >&5
1740 1741
1741 cat > conftest.c <<EOF 1742 cat > conftest.c <<EOF
1742 #ifdef __GNUC__ 1743 #ifdef __GNUC__
1743 yes; 1744 yes;
1744 #endif 1745 #endif
1745 EOF 1746 EOF
1746 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1747 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1747 ac_cv_prog_gcc=yes 1748 ac_cv_prog_gcc=yes
1748 else 1749 else
1749 ac_cv_prog_gcc=no 1750 ac_cv_prog_gcc=no
1750 fi 1751 fi
1751 1752
1755 GCC=yes 1756 GCC=yes
1756 ac_test_CFLAGS="${CFLAGS+set}" 1757 ac_test_CFLAGS="${CFLAGS+set}"
1757 ac_save_CFLAGS="$CFLAGS" 1758 ac_save_CFLAGS="$CFLAGS"
1758 CFLAGS= 1759 CFLAGS=
1759 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1760 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1760 echo "configure:1761: checking whether ${CC-cc} accepts -g" >&5 1761 echo "configure:1762: checking whether ${CC-cc} accepts -g" >&5
1761 1762
1762 echo 'void f(){}' > conftest.c 1763 echo 'void f(){}' > conftest.c
1763 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1764 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1764 ac_cv_prog_cc_g=yes 1765 ac_cv_prog_cc_g=yes
1765 else 1766 else
1788 test -n "$CPP" -a -d "$CPP" && CPP= 1789 test -n "$CPP" -a -d "$CPP" && CPP=
1789 1790
1790 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" 1791 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP"
1791 1792
1792 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1793 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1793 echo "configure:1794: checking how to run the C preprocessor" >&5 1794 echo "configure:1795: checking how to run the C preprocessor" >&5
1794 # On Suns, sometimes $CPP names a directory. 1795 # On Suns, sometimes $CPP names a directory.
1795 if test -n "$CPP" && test -d "$CPP"; then 1796 if test -n "$CPP" && test -d "$CPP"; then
1796 CPP= 1797 CPP=
1797 fi 1798 fi
1798 if test -z "$CPP"; then 1799 if test -z "$CPP"; then
1801 # substituted into the Makefile and "${CC-cc}" will confuse make. 1802 # substituted into the Makefile and "${CC-cc}" will confuse make.
1802 CPP="${CC-cc} -E" 1803 CPP="${CC-cc} -E"
1803 # On the NeXT, cc -E runs the code through the compiler's parser, 1804 # On the NeXT, cc -E runs the code through the compiler's parser,
1804 # not just through cpp. 1805 # not just through cpp.
1805 cat > conftest.$ac_ext <<EOF 1806 cat > conftest.$ac_ext <<EOF
1806 #line 1807 "configure" 1807 #line 1808 "configure"
1807 #include "confdefs.h" 1808 #include "confdefs.h"
1808 #include <assert.h> 1809 #include <assert.h>
1809 Syntax Error 1810 Syntax Error
1810 EOF 1811 EOF
1811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1812 { (eval echo configure:1813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1813 { (eval echo configure:1814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1813 ac_err=`grep -v '^ *+' conftest.out` 1814 ac_err=`grep -v '^ *+' conftest.out`
1814 if test -z "$ac_err"; then 1815 if test -z "$ac_err"; then
1815 : 1816 :
1816 else 1817 else
1817 echo "$ac_err" >&5 1818 echo "$ac_err" >&5
1818 echo "configure: failed program was:" >&5 1819 echo "configure: failed program was:" >&5
1819 cat conftest.$ac_ext >&5 1820 cat conftest.$ac_ext >&5
1820 rm -rf conftest* 1821 rm -rf conftest*
1821 CPP="${CC-cc} -E -traditional-cpp" 1822 CPP="${CC-cc} -E -traditional-cpp"
1822 cat > conftest.$ac_ext <<EOF 1823 cat > conftest.$ac_ext <<EOF
1823 #line 1824 "configure" 1824 #line 1825 "configure"
1824 #include "confdefs.h" 1825 #include "confdefs.h"
1825 #include <assert.h> 1826 #include <assert.h>
1826 Syntax Error 1827 Syntax Error
1827 EOF 1828 EOF
1828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1829 { (eval echo configure:1830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1830 { (eval echo configure:1831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1830 ac_err=`grep -v '^ *+' conftest.out` 1831 ac_err=`grep -v '^ *+' conftest.out`
1831 if test -z "$ac_err"; then 1832 if test -z "$ac_err"; then
1832 : 1833 :
1833 else 1834 else
1834 echo "$ac_err" >&5 1835 echo "$ac_err" >&5
1847 fi 1848 fi
1848 echo "$ac_t""$CPP" 1>&6 1849 echo "$ac_t""$CPP" 1>&6
1849 1850
1850 1851
1851 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1852 echo $ac_n "checking for AIX""... $ac_c" 1>&6
1852 echo "configure:1853: checking for AIX" >&5 1853 echo "configure:1854: checking for AIX" >&5
1853 cat > conftest.$ac_ext <<EOF 1854 cat > conftest.$ac_ext <<EOF
1854 #line 1855 "configure" 1855 #line 1856 "configure"
1855 #include "confdefs.h" 1856 #include "confdefs.h"
1856 #ifdef _AIX 1857 #ifdef _AIX
1857 yes 1858 yes
1858 #endif 1859 #endif
1859 1860
1876 rm -f conftest* 1877 rm -f conftest*
1877 1878
1878 1879
1879 1880
1880 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 1881 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6
1881 echo "configure:1882: checking for GNU libc" >&5 1882 echo "configure:1883: checking for GNU libc" >&5
1882 cat > conftest.$ac_ext <<EOF 1883 cat > conftest.$ac_ext <<EOF
1883 #line 1884 "configure" 1884 #line 1885 "configure"
1884 #include "confdefs.h" 1885 #include "confdefs.h"
1885 #include <features.h> 1886 #include <features.h>
1886 int main() { 1887 int main() {
1887 1888
1888 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) 1889 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)
1890 ******* ======= ******** &&&&&&&& 1891 ******* ======= ******** &&&&&&&&
1891 #endif 1892 #endif
1892 1893
1893 ; return 0; } 1894 ; return 0; }
1894 EOF 1895 EOF
1895 if { (eval echo configure:1896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1896 if { (eval echo configure:1897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1896 rm -rf conftest* 1897 rm -rf conftest*
1897 have_glibc=yes 1898 have_glibc=yes
1898 else 1899 else
1899 echo "configure: failed program was:" >&5 1900 echo "configure: failed program was:" >&5
1900 cat conftest.$ac_ext >&5 1901 cat conftest.$ac_ext >&5
1911 EOF 1912 EOF
1912 } 1913 }
1913 1914
1914 1915
1915 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 1916 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6
1916 echo "configure:1917: checking whether we are using SunPro C" >&5 1917 echo "configure:1918: checking whether we are using SunPro C" >&5
1917 cat > conftest.$ac_ext <<EOF 1918 cat > conftest.$ac_ext <<EOF
1918 #line 1919 "configure" 1919 #line 1920 "configure"
1919 #include "confdefs.h" 1920 #include "confdefs.h"
1920 1921
1921 int main() { 1922 int main() {
1922 #ifndef __SUNPRO_C 1923 #ifndef __SUNPRO_C
1923 #error Not a SunPro compiler :-( 1924 #error Not a SunPro compiler :-(
1924 ******* ======= ******** &&&&&&&& 1925 ******* ======= ******** &&&&&&&&
1925 #endif 1926 #endif
1926 1927
1927 ; return 0; } 1928 ; return 0; }
1928 EOF 1929 EOF
1929 if { (eval echo configure:1930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1930 if { (eval echo configure:1931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1930 rm -rf conftest* 1931 rm -rf conftest*
1931 __sunpro_c=yes 1932 __sunpro_c=yes
1932 else 1933 else
1933 echo "configure: failed program was:" >&5 1934 echo "configure: failed program was:" >&5
1934 cat conftest.$ac_ext >&5 1935 cat conftest.$ac_ext >&5
2200 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then 2201 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then
2201 echo " xemacs will be linked with \"$unexec\"" 2202 echo " xemacs will be linked with \"$unexec\""
2202 fi 2203 fi
2203 2204
2204 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 2205 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
2205 echo "configure:2206: checking for dynodump" >&5 2206 echo "configure:2207: checking for dynodump" >&5
2206 if test "$unexec" != "unexsol2.o"; then 2207 if test "$unexec" != "unexsol2.o"; then
2207 echo "$ac_t""no" 1>&6 2208 echo "$ac_t""no" 1>&6
2208 else 2209 else
2209 echo "$ac_t""yes" 1>&6 2210 echo "$ac_t""yes" 1>&6
2210 { test "$extra_verbose" = "yes" && cat << \EOF 2211 { test "$extra_verbose" = "yes" && cat << \EOF
2298 esac 2299 esac
2299 fi 2300 fi
2300 2301
2301 if test "$add_runtime_path" = "yes"; then 2302 if test "$add_runtime_path" = "yes"; then
2302 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 2303 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
2303 echo "configure:2304: checking "for runtime libraries flag"" >&5 2304 echo "configure:2305: checking "for runtime libraries flag"" >&5
2304 dash_r="" 2305 dash_r=""
2305 for try_dash_r in "-R" "-R " "-rpath "; do 2306 for try_dash_r in "-R" "-R " "-rpath "; do
2306 xe_check_libs="${try_dash_r}/no/such/file-or-directory" 2307 xe_check_libs="${try_dash_r}/no/such/file-or-directory"
2307 cat > conftest.$ac_ext <<EOF 2308 cat > conftest.$ac_ext <<EOF
2308 #line 2309 "configure" 2309 #line 2310 "configure"
2309 #include "confdefs.h" 2310 #include "confdefs.h"
2310 2311
2311 int main() { 2312 int main() {
2312 2313
2313 ; return 0; } 2314 ; return 0; }
2314 EOF 2315 EOF
2315 if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2316 if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2316 rm -rf conftest* 2317 rm -rf conftest*
2317 dash_r="$try_dash_r" 2318 dash_r="$try_dash_r"
2318 else 2319 else
2319 echo "configure: failed program was:" >&5 2320 echo "configure: failed program was:" >&5
2320 cat conftest.$ac_ext >&5 2321 cat conftest.$ac_ext >&5
2391 2392
2392 2393
2393 2394
2394 GNU_MALLOC=yes 2395 GNU_MALLOC=yes
2395 doug_lea_malloc=yes 2396 doug_lea_malloc=yes
2397 after_morecore_hook_exists=yes
2396 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 2398 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
2397 echo "configure:2398: checking for malloc_get_state" >&5 2399 echo "configure:2400: checking for malloc_get_state" >&5
2398 2400
2399 cat > conftest.$ac_ext <<EOF 2401 cat > conftest.$ac_ext <<EOF
2400 #line 2401 "configure" 2402 #line 2403 "configure"
2401 #include "confdefs.h" 2403 #include "confdefs.h"
2402 /* System header to define __stub macros and hopefully few prototypes, 2404 /* System header to define __stub macros and hopefully few prototypes,
2403 which can conflict with char malloc_get_state(); below. */ 2405 which can conflict with char malloc_get_state(); below. */
2404 #include <assert.h> 2406 #include <assert.h>
2405 /* Override any gcc2 internal prototype to avoid an error. */ 2407 /* Override any gcc2 internal prototype to avoid an error. */
2418 malloc_get_state(); 2420 malloc_get_state();
2419 #endif 2421 #endif
2420 2422
2421 ; return 0; } 2423 ; return 0; }
2422 EOF 2424 EOF
2423 if { (eval echo configure:2424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2425 if { (eval echo configure:2426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2424 rm -rf conftest* 2426 rm -rf conftest*
2425 eval "ac_cv_func_malloc_get_state=yes" 2427 eval "ac_cv_func_malloc_get_state=yes"
2426 else 2428 else
2427 echo "configure: failed program was:" >&5 2429 echo "configure: failed program was:" >&5
2428 cat conftest.$ac_ext >&5 2430 cat conftest.$ac_ext >&5
2438 echo "$ac_t""no" 1>&6 2440 echo "$ac_t""no" 1>&6
2439 doug_lea_malloc=no 2441 doug_lea_malloc=no
2440 fi 2442 fi
2441 2443
2442 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 2444 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
2443 echo "configure:2444: checking for malloc_set_state" >&5 2445 echo "configure:2446: checking for malloc_set_state" >&5
2444 2446
2445 cat > conftest.$ac_ext <<EOF 2447 cat > conftest.$ac_ext <<EOF
2446 #line 2447 "configure" 2448 #line 2449 "configure"
2447 #include "confdefs.h" 2449 #include "confdefs.h"
2448 /* System header to define __stub macros and hopefully few prototypes, 2450 /* System header to define __stub macros and hopefully few prototypes,
2449 which can conflict with char malloc_set_state(); below. */ 2451 which can conflict with char malloc_set_state(); below. */
2450 #include <assert.h> 2452 #include <assert.h>
2451 /* Override any gcc2 internal prototype to avoid an error. */ 2453 /* Override any gcc2 internal prototype to avoid an error. */
2464 malloc_set_state(); 2466 malloc_set_state();
2465 #endif 2467 #endif
2466 2468
2467 ; return 0; } 2469 ; return 0; }
2468 EOF 2470 EOF
2469 if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2471 if { (eval echo configure:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2470 rm -rf conftest* 2472 rm -rf conftest*
2471 eval "ac_cv_func_malloc_set_state=yes" 2473 eval "ac_cv_func_malloc_set_state=yes"
2472 else 2474 else
2473 echo "configure: failed program was:" >&5 2475 echo "configure: failed program was:" >&5
2474 cat conftest.$ac_ext >&5 2476 cat conftest.$ac_ext >&5
2484 echo "$ac_t""no" 1>&6 2486 echo "$ac_t""no" 1>&6
2485 doug_lea_malloc=no 2487 doug_lea_malloc=no
2486 fi 2488 fi
2487 2489
2488 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 2490 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
2489 echo "configure:2490: checking whether __after_morecore_hook exists" >&5 2491 echo "configure:2492: checking whether __after_morecore_hook exists" >&5
2490 cat > conftest.$ac_ext <<EOF 2492 cat > conftest.$ac_ext <<EOF
2491 #line 2492 "configure" 2493 #line 2494 "configure"
2492 #include "confdefs.h" 2494 #include "confdefs.h"
2493 extern void (* __after_morecore_hook)(); 2495 extern void (* __after_morecore_hook)();
2494 int main() { 2496 int main() {
2495 __after_morecore_hook = 0 2497 __after_morecore_hook = 0
2496 ; return 0; } 2498 ; return 0; }
2497 EOF 2499 EOF
2498 if { (eval echo configure:2499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2500 if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2499 rm -rf conftest* 2501 rm -rf conftest*
2500 echo "$ac_t""yes" 1>&6 2502 echo "$ac_t""yes" 1>&6
2501 else 2503 else
2502 echo "configure: failed program was:" >&5 2504 echo "configure: failed program was:" >&5
2503 cat conftest.$ac_ext >&5 2505 cat conftest.$ac_ext >&5
2504 rm -rf conftest* 2506 rm -rf conftest*
2505 echo "$ac_t""no" 1>&6 2507 echo "$ac_t""no" 1>&6
2506 doug_lea_malloc=no 2508 after_morecore_hook_exists=no
2507 fi 2509 fi
2508 rm -f conftest* 2510 rm -f conftest*
2509 if test "$system_malloc" = "yes" ; then 2511 if test "$system_malloc" = "yes" ; then
2510 GNU_MALLOC=no 2512 GNU_MALLOC=no
2511 GNU_MALLOC_reason=" 2513 GNU_MALLOC_reason="
2521 fi 2523 fi
2522 2524
2523 if test "$doug_lea_malloc" = "yes" ; then 2525 if test "$doug_lea_malloc" = "yes" ; then
2524 if test "$GNU_MALLOC" = yes ; then 2526 if test "$GNU_MALLOC" = yes ; then
2525 GNU_MALLOC_reason=" 2527 GNU_MALLOC_reason="
2526 (Using Doug Lea's new malloc from the GNU C Library.)" 2528 (Using Doug Lea's new malloc from the GNU C Library.)"
2527 fi 2529 fi
2528 { test "$extra_verbose" = "yes" && cat << \EOF 2530 { test "$extra_verbose" = "yes" && cat << \EOF
2529 Defining DOUG_LEA_MALLOC 2531 Defining DOUG_LEA_MALLOC
2530 EOF 2532 EOF
2531 cat >> confdefs.h <<\EOF 2533 cat >> confdefs.h <<\EOF
2539 cat >> confdefs.h <<\EOF 2541 cat >> confdefs.h <<\EOF
2540 #define USE_MINIMAL_TAGBITS 1 2542 #define USE_MINIMAL_TAGBITS 1
2541 EOF 2543 EOF
2542 } 2544 }
2543 2545
2546 if test "$after_morecore_hook_exists" = "no" ; then
2547 GNU_MALLOC_reason="
2548 (Using Doug Lea's new malloc from the Linux C Library.)"
2549 { test "$extra_verbose" = "yes" && cat << \EOF
2550 Defining _NO_MALLOC_WARNING_
2551 EOF
2552 cat >> confdefs.h <<\EOF
2553 #define _NO_MALLOC_WARNING_ 1
2554 EOF
2555 }
2556
2557 fi
2544 with_minimal_tagbits=yes 2558 with_minimal_tagbits=yes
2545 fi 2559 fi
2546 2560
2547 2561
2548 # Extract the first word of "ranlib", so it can be a program name with args. 2562 # Extract the first word of "ranlib", so it can be a program name with args.
2549 set dummy ranlib; ac_word=$2 2563 set dummy ranlib; ac_word=$2
2550 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2564 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2551 echo "configure:2552: checking for $ac_word" >&5 2565 echo "configure:2566: checking for $ac_word" >&5
2552 2566
2553 if test -n "$RANLIB"; then 2567 if test -n "$RANLIB"; then
2554 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2568 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2555 else 2569 else
2556 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2570 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2599 # AIX /bin/install 2613 # AIX /bin/install
2600 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2614 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2601 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2615 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2602 # ./install, which can be erroneously created by make from ./install.sh. 2616 # ./install, which can be erroneously created by make from ./install.sh.
2603 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2617 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2604 echo "configure:2605: checking for a BSD compatible install" >&5 2618 echo "configure:2619: checking for a BSD compatible install" >&5
2605 if test -z "$INSTALL"; then 2619 if test -z "$INSTALL"; then
2606 2620
2607 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 2621 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
2608 for ac_dir in $PATH; do 2622 for ac_dir in $PATH; do
2609 # Account for people who put trailing slashes in PATH elements. 2623 # Account for people who put trailing slashes in PATH elements.
2650 for ac_prog in 'bison -y' byacc 2664 for ac_prog in 'bison -y' byacc
2651 do 2665 do
2652 # Extract the first word of "$ac_prog", so it can be a program name with args. 2666 # Extract the first word of "$ac_prog", so it can be a program name with args.
2653 set dummy $ac_prog; ac_word=$2 2667 set dummy $ac_prog; ac_word=$2
2654 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2655 echo "configure:2656: checking for $ac_word" >&5 2669 echo "configure:2670: checking for $ac_word" >&5
2656 2670
2657 if test -n "$YACC"; then 2671 if test -n "$YACC"; then
2658 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2672 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2659 else 2673 else
2660 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2681 2695
2682 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h 2696 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h
2683 do 2697 do
2684 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2685 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2686 echo "configure:2687: checking for $ac_hdr" >&5 2700 echo "configure:2701: checking for $ac_hdr" >&5
2687 2701
2688 cat > conftest.$ac_ext <<EOF 2702 cat > conftest.$ac_ext <<EOF
2689 #line 2690 "configure" 2703 #line 2704 "configure"
2690 #include "confdefs.h" 2704 #include "confdefs.h"
2691 #include <$ac_hdr> 2705 #include <$ac_hdr>
2692 EOF 2706 EOF
2693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2694 { (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2708 { (eval echo configure:2709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2695 ac_err=`grep -v '^ *+' conftest.out` 2709 ac_err=`grep -v '^ *+' conftest.out`
2696 if test -z "$ac_err"; then 2710 if test -z "$ac_err"; then
2697 rm -rf conftest* 2711 rm -rf conftest*
2698 eval "ac_cv_header_$ac_safe=yes" 2712 eval "ac_cv_header_$ac_safe=yes"
2699 else 2713 else
2722 2736
2723 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h 2737 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h
2724 do 2738 do
2725 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2739 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2726 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2740 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2727 echo "configure:2728: checking for $ac_hdr" >&5 2741 echo "configure:2742: checking for $ac_hdr" >&5
2728 2742
2729 cat > conftest.$ac_ext <<EOF 2743 cat > conftest.$ac_ext <<EOF
2730 #line 2731 "configure" 2744 #line 2745 "configure"
2731 #include "confdefs.h" 2745 #include "confdefs.h"
2732 #include <$ac_hdr> 2746 #include <$ac_hdr>
2733 EOF 2747 EOF
2734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2735 { (eval echo configure:2736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2749 { (eval echo configure:2750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2736 ac_err=`grep -v '^ *+' conftest.out` 2750 ac_err=`grep -v '^ *+' conftest.out`
2737 if test -z "$ac_err"; then 2751 if test -z "$ac_err"; then
2738 rm -rf conftest* 2752 rm -rf conftest*
2739 eval "ac_cv_header_$ac_safe=yes" 2753 eval "ac_cv_header_$ac_safe=yes"
2740 else 2754 else
2763 2777
2764 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h 2778 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h
2765 do 2779 do
2766 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2780 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2767 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2781 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2768 echo "configure:2769: checking for $ac_hdr" >&5 2782 echo "configure:2783: checking for $ac_hdr" >&5
2769 2783
2770 cat > conftest.$ac_ext <<EOF 2784 cat > conftest.$ac_ext <<EOF
2771 #line 2772 "configure" 2785 #line 2786 "configure"
2772 #include "confdefs.h" 2786 #include "confdefs.h"
2773 #include <$ac_hdr> 2787 #include <$ac_hdr>
2774 EOF 2788 EOF
2775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2776 { (eval echo configure:2777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2790 { (eval echo configure:2791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2777 ac_err=`grep -v '^ *+' conftest.out` 2791 ac_err=`grep -v '^ *+' conftest.out`
2778 if test -z "$ac_err"; then 2792 if test -z "$ac_err"; then
2779 rm -rf conftest* 2793 rm -rf conftest*
2780 eval "ac_cv_header_$ac_safe=yes" 2794 eval "ac_cv_header_$ac_safe=yes"
2781 else 2795 else
2801 echo "$ac_t""no" 1>&6 2815 echo "$ac_t""no" 1>&6
2802 fi 2816 fi
2803 done 2817 done
2804 2818
2805 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 2819 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2806 echo "configure:2807: checking for sys/wait.h that is POSIX.1 compatible" >&5 2820 echo "configure:2821: checking for sys/wait.h that is POSIX.1 compatible" >&5
2807 2821
2808 cat > conftest.$ac_ext <<EOF 2822 cat > conftest.$ac_ext <<EOF
2809 #line 2810 "configure" 2823 #line 2824 "configure"
2810 #include "confdefs.h" 2824 #include "confdefs.h"
2811 #include <sys/types.h> 2825 #include <sys/types.h>
2812 #include <sys/wait.h> 2826 #include <sys/wait.h>
2813 #ifndef WEXITSTATUS 2827 #ifndef WEXITSTATUS
2814 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 2828 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2820 int s; 2834 int s;
2821 wait (&s); 2835 wait (&s);
2822 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 2836 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2823 ; return 0; } 2837 ; return 0; }
2824 EOF 2838 EOF
2825 if { (eval echo configure:2826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2839 if { (eval echo configure:2840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2826 rm -rf conftest* 2840 rm -rf conftest*
2827 ac_cv_header_sys_wait_h=yes 2841 ac_cv_header_sys_wait_h=yes
2828 else 2842 else
2829 echo "configure: failed program was:" >&5 2843 echo "configure: failed program was:" >&5
2830 cat conftest.$ac_ext >&5 2844 cat conftest.$ac_ext >&5
2844 } 2858 }
2845 2859
2846 fi 2860 fi
2847 2861
2848 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2862 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2849 echo "configure:2850: checking for ANSI C header files" >&5 2863 echo "configure:2864: checking for ANSI C header files" >&5
2850 2864
2851 cat > conftest.$ac_ext <<EOF 2865 cat > conftest.$ac_ext <<EOF
2852 #line 2853 "configure" 2866 #line 2867 "configure"
2853 #include "confdefs.h" 2867 #include "confdefs.h"
2854 #include <stdlib.h> 2868 #include <stdlib.h>
2855 #include <stdarg.h> 2869 #include <stdarg.h>
2856 #include <string.h> 2870 #include <string.h>
2857 #include <float.h> 2871 #include <float.h>
2858 EOF 2872 EOF
2859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2860 { (eval echo configure:2861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2874 { (eval echo configure:2875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2861 ac_err=`grep -v '^ *+' conftest.out` 2875 ac_err=`grep -v '^ *+' conftest.out`
2862 if test -z "$ac_err"; then 2876 if test -z "$ac_err"; then
2863 rm -rf conftest* 2877 rm -rf conftest*
2864 ac_cv_header_stdc=yes 2878 ac_cv_header_stdc=yes
2865 else 2879 else
2872 rm -f conftest* 2886 rm -f conftest*
2873 2887
2874 if test $ac_cv_header_stdc = yes; then 2888 if test $ac_cv_header_stdc = yes; then
2875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2876 cat > conftest.$ac_ext <<EOF 2890 cat > conftest.$ac_ext <<EOF
2877 #line 2878 "configure" 2891 #line 2892 "configure"
2878 #include "confdefs.h" 2892 #include "confdefs.h"
2879 #include <string.h> 2893 #include <string.h>
2880 EOF 2894 EOF
2881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2882 egrep "memchr" >/dev/null 2>&1; then 2896 egrep "memchr" >/dev/null 2>&1; then
2890 fi 2904 fi
2891 2905
2892 if test $ac_cv_header_stdc = yes; then 2906 if test $ac_cv_header_stdc = yes; then
2893 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2907 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2894 cat > conftest.$ac_ext <<EOF 2908 cat > conftest.$ac_ext <<EOF
2895 #line 2896 "configure" 2909 #line 2910 "configure"
2896 #include "confdefs.h" 2910 #include "confdefs.h"
2897 #include <stdlib.h> 2911 #include <stdlib.h>
2898 EOF 2912 EOF
2899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2900 egrep "free" >/dev/null 2>&1; then 2914 egrep "free" >/dev/null 2>&1; then
2908 fi 2922 fi
2909 2923
2910 if test $ac_cv_header_stdc = yes; then 2924 if test $ac_cv_header_stdc = yes; then
2911 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2912 cat > conftest.$ac_ext <<EOF 2926 cat > conftest.$ac_ext <<EOF
2913 #line 2914 "configure" 2927 #line 2928 "configure"
2914 #include "confdefs.h" 2928 #include "confdefs.h"
2915 #include <ctype.h> 2929 #include <ctype.h>
2916 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2930 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2917 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2931 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2918 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2932 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2919 int main () { int i; for (i = 0; i < 256; i++) 2933 int main () { int i; for (i = 0; i < 256; i++)
2920 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2934 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2921 exit (0); } 2935 exit (0); }
2922 2936
2923 EOF 2937 EOF
2924 if { (eval echo configure:2925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 2938 if { (eval echo configure:2939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
2925 then 2939 then
2926 : 2940 :
2927 else 2941 else
2928 echo "configure: failed program was:" >&5 2942 echo "configure: failed program was:" >&5
2929 cat conftest.$ac_ext >&5 2943 cat conftest.$ac_ext >&5
2944 } 2958 }
2945 2959
2946 fi 2960 fi
2947 2961
2948 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2962 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2949 echo "configure:2950: checking whether time.h and sys/time.h may both be included" >&5 2963 echo "configure:2964: checking whether time.h and sys/time.h may both be included" >&5
2950 2964
2951 cat > conftest.$ac_ext <<EOF 2965 cat > conftest.$ac_ext <<EOF
2952 #line 2953 "configure" 2966 #line 2967 "configure"
2953 #include "confdefs.h" 2967 #include "confdefs.h"
2954 #include <sys/types.h> 2968 #include <sys/types.h>
2955 #include <sys/time.h> 2969 #include <sys/time.h>
2956 #include <time.h> 2970 #include <time.h>
2957 int main() { 2971 int main() {
2958 struct tm *tp; 2972 struct tm *tp;
2959 ; return 0; } 2973 ; return 0; }
2960 EOF 2974 EOF
2961 if { (eval echo configure:2962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2975 if { (eval echo configure:2976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2962 rm -rf conftest* 2976 rm -rf conftest*
2963 ac_cv_header_time=yes 2977 ac_cv_header_time=yes
2964 else 2978 else
2965 echo "configure: failed program was:" >&5 2979 echo "configure: failed program was:" >&5
2966 cat conftest.$ac_ext >&5 2980 cat conftest.$ac_ext >&5
2980 } 2994 }
2981 2995
2982 fi 2996 fi
2983 2997
2984 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2998 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2985 echo "configure:2986: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2999 echo "configure:3000: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2986 3000
2987 cat > conftest.$ac_ext <<EOF 3001 cat > conftest.$ac_ext <<EOF
2988 #line 2989 "configure" 3002 #line 3003 "configure"
2989 #include "confdefs.h" 3003 #include "confdefs.h"
2990 #include <sys/types.h> 3004 #include <sys/types.h>
2991 #include <signal.h> 3005 #include <signal.h>
2992 /* NetBSD declares sys_siglist in unistd.h. */ 3006 /* NetBSD declares sys_siglist in unistd.h. */
2993 #ifdef HAVE_UNISTD_H 3007 #ifdef HAVE_UNISTD_H
2995 #endif 3009 #endif
2996 int main() { 3010 int main() {
2997 char *msg = *(sys_siglist + 1); 3011 char *msg = *(sys_siglist + 1);
2998 ; return 0; } 3012 ; return 0; }
2999 EOF 3013 EOF
3000 if { (eval echo configure:3001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3014 if { (eval echo configure:3015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3001 rm -rf conftest* 3015 rm -rf conftest*
3002 ac_cv_decl_sys_siglist=yes 3016 ac_cv_decl_sys_siglist=yes
3003 else 3017 else
3004 echo "configure: failed program was:" >&5 3018 echo "configure: failed program was:" >&5
3005 cat conftest.$ac_ext >&5 3019 cat conftest.$ac_ext >&5
3020 3034
3021 fi 3035 fi
3022 3036
3023 3037
3024 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 3038 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
3025 echo "configure:3026: checking for struct utimbuf" >&5 3039 echo "configure:3040: checking for struct utimbuf" >&5
3026 cat > conftest.$ac_ext <<EOF 3040 cat > conftest.$ac_ext <<EOF
3027 #line 3028 "configure" 3041 #line 3042 "configure"
3028 #include "confdefs.h" 3042 #include "confdefs.h"
3029 #ifdef TIME_WITH_SYS_TIME 3043 #ifdef TIME_WITH_SYS_TIME
3030 #include <sys/time.h> 3044 #include <sys/time.h>
3031 #include <time.h> 3045 #include <time.h>
3032 #else 3046 #else
3041 #endif 3055 #endif
3042 int main() { 3056 int main() {
3043 static struct utimbuf x; x.actime = x.modtime; 3057 static struct utimbuf x; x.actime = x.modtime;
3044 ; return 0; } 3058 ; return 0; }
3045 EOF 3059 EOF
3046 if { (eval echo configure:3047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3060 if { (eval echo configure:3061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3047 rm -rf conftest* 3061 rm -rf conftest*
3048 echo "$ac_t""yes" 1>&6 3062 echo "$ac_t""yes" 1>&6
3049 { test "$extra_verbose" = "yes" && cat << \EOF 3063 { test "$extra_verbose" = "yes" && cat << \EOF
3050 Defining HAVE_STRUCT_UTIMBUF 3064 Defining HAVE_STRUCT_UTIMBUF
3051 EOF 3065 EOF
3061 echo "$ac_t""no" 1>&6 3075 echo "$ac_t""no" 1>&6
3062 fi 3076 fi
3063 rm -f conftest* 3077 rm -f conftest*
3064 3078
3065 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3079 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3066 echo "configure:3067: checking return type of signal handlers" >&5 3080 echo "configure:3081: checking return type of signal handlers" >&5
3067 3081
3068 cat > conftest.$ac_ext <<EOF 3082 cat > conftest.$ac_ext <<EOF
3069 #line 3070 "configure" 3083 #line 3084 "configure"
3070 #include "confdefs.h" 3084 #include "confdefs.h"
3071 #include <sys/types.h> 3085 #include <sys/types.h>
3072 #include <signal.h> 3086 #include <signal.h>
3073 #ifdef signal 3087 #ifdef signal
3074 #undef signal 3088 #undef signal
3081 3095
3082 int main() { 3096 int main() {
3083 int i; 3097 int i;
3084 ; return 0; } 3098 ; return 0; }
3085 EOF 3099 EOF
3086 if { (eval echo configure:3087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3100 if { (eval echo configure:3101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3087 rm -rf conftest* 3101 rm -rf conftest*
3088 ac_cv_type_signal=void 3102 ac_cv_type_signal=void
3089 else 3103 else
3090 echo "configure: failed program was:" >&5 3104 echo "configure: failed program was:" >&5
3091 cat conftest.$ac_ext >&5 3105 cat conftest.$ac_ext >&5
3103 EOF 3117 EOF
3104 } 3118 }
3105 3119
3106 3120
3107 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3121 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3108 echo "configure:3109: checking for size_t" >&5 3122 echo "configure:3123: checking for size_t" >&5
3109 3123
3110 cat > conftest.$ac_ext <<EOF 3124 cat > conftest.$ac_ext <<EOF
3111 #line 3112 "configure" 3125 #line 3126 "configure"
3112 #include "confdefs.h" 3126 #include "confdefs.h"
3113 #include <sys/types.h> 3127 #include <sys/types.h>
3114 #if STDC_HEADERS 3128 #if STDC_HEADERS
3115 #include <stdlib.h> 3129 #include <stdlib.h>
3116 #include <stddef.h> 3130 #include <stddef.h>
3137 } 3151 }
3138 3152
3139 fi 3153 fi
3140 3154
3141 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 3155 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3142 echo "configure:3143: checking for pid_t" >&5 3156 echo "configure:3157: checking for pid_t" >&5
3143 3157
3144 cat > conftest.$ac_ext <<EOF 3158 cat > conftest.$ac_ext <<EOF
3145 #line 3146 "configure" 3159 #line 3160 "configure"
3146 #include "confdefs.h" 3160 #include "confdefs.h"
3147 #include <sys/types.h> 3161 #include <sys/types.h>
3148 #if STDC_HEADERS 3162 #if STDC_HEADERS
3149 #include <stdlib.h> 3163 #include <stdlib.h>
3150 #include <stddef.h> 3164 #include <stddef.h>
3171 } 3185 }
3172 3186
3173 fi 3187 fi
3174 3188
3175 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 3189 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3176 echo "configure:3177: checking for uid_t in sys/types.h" >&5 3190 echo "configure:3191: checking for uid_t in sys/types.h" >&5
3177 3191
3178 cat > conftest.$ac_ext <<EOF 3192 cat > conftest.$ac_ext <<EOF
3179 #line 3180 "configure" 3193 #line 3194 "configure"
3180 #include "confdefs.h" 3194 #include "confdefs.h"
3181 #include <sys/types.h> 3195 #include <sys/types.h>
3182 EOF 3196 EOF
3183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3184 egrep "uid_t" >/dev/null 2>&1; then 3198 egrep "uid_t" >/dev/null 2>&1; then
3210 } 3224 }
3211 3225
3212 fi 3226 fi
3213 3227
3214 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 3228 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3215 echo "configure:3216: checking for mode_t" >&5 3229 echo "configure:3230: checking for mode_t" >&5
3216 3230
3217 cat > conftest.$ac_ext <<EOF 3231 cat > conftest.$ac_ext <<EOF
3218 #line 3219 "configure" 3232 #line 3233 "configure"
3219 #include "confdefs.h" 3233 #include "confdefs.h"
3220 #include <sys/types.h> 3234 #include <sys/types.h>
3221 #if STDC_HEADERS 3235 #if STDC_HEADERS
3222 #include <stdlib.h> 3236 #include <stdlib.h>
3223 #include <stddef.h> 3237 #include <stddef.h>
3244 } 3258 }
3245 3259
3246 fi 3260 fi
3247 3261
3248 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3262 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3249 echo "configure:3250: checking for off_t" >&5 3263 echo "configure:3264: checking for off_t" >&5
3250 3264
3251 cat > conftest.$ac_ext <<EOF 3265 cat > conftest.$ac_ext <<EOF
3252 #line 3253 "configure" 3266 #line 3267 "configure"
3253 #include "confdefs.h" 3267 #include "confdefs.h"
3254 #include <sys/types.h> 3268 #include <sys/types.h>
3255 #if STDC_HEADERS 3269 #if STDC_HEADERS
3256 #include <stdlib.h> 3270 #include <stdlib.h>
3257 #include <stddef.h> 3271 #include <stddef.h>
3279 3293
3280 fi 3294 fi
3281 3295
3282 3296
3283 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 3297 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
3284 echo "configure:3285: checking for struct timeval" >&5 3298 echo "configure:3299: checking for struct timeval" >&5
3285 cat > conftest.$ac_ext <<EOF 3299 cat > conftest.$ac_ext <<EOF
3286 #line 3287 "configure" 3300 #line 3301 "configure"
3287 #include "confdefs.h" 3301 #include "confdefs.h"
3288 #ifdef TIME_WITH_SYS_TIME 3302 #ifdef TIME_WITH_SYS_TIME
3289 #include <sys/time.h> 3303 #include <sys/time.h>
3290 #include <time.h> 3304 #include <time.h>
3291 #else 3305 #else
3297 #endif 3311 #endif
3298 int main() { 3312 int main() {
3299 static struct timeval x; x.tv_sec = x.tv_usec; 3313 static struct timeval x; x.tv_sec = x.tv_usec;
3300 ; return 0; } 3314 ; return 0; }
3301 EOF 3315 EOF
3302 if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3316 if { (eval echo configure:3317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3303 rm -rf conftest* 3317 rm -rf conftest*
3304 echo "$ac_t""yes" 1>&6 3318 echo "$ac_t""yes" 1>&6
3305 HAVE_TIMEVAL=yes 3319 HAVE_TIMEVAL=yes
3306 { test "$extra_verbose" = "yes" && cat << \EOF 3320 { test "$extra_verbose" = "yes" && cat << \EOF
3307 Defining HAVE_TIMEVAL 3321 Defining HAVE_TIMEVAL
3319 HAVE_TIMEVAL=no 3333 HAVE_TIMEVAL=no
3320 fi 3334 fi
3321 rm -f conftest* 3335 rm -f conftest*
3322 3336
3323 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 3337 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3324 echo "configure:3325: checking whether struct tm is in sys/time.h or time.h" >&5 3338 echo "configure:3339: checking whether struct tm is in sys/time.h or time.h" >&5
3325 3339
3326 cat > conftest.$ac_ext <<EOF 3340 cat > conftest.$ac_ext <<EOF
3327 #line 3328 "configure" 3341 #line 3342 "configure"
3328 #include "confdefs.h" 3342 #include "confdefs.h"
3329 #include <sys/types.h> 3343 #include <sys/types.h>
3330 #include <time.h> 3344 #include <time.h>
3331 int main() { 3345 int main() {
3332 struct tm *tp; tp->tm_sec; 3346 struct tm *tp; tp->tm_sec;
3333 ; return 0; } 3347 ; return 0; }
3334 EOF 3348 EOF
3335 if { (eval echo configure:3336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3349 if { (eval echo configure:3350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3336 rm -rf conftest* 3350 rm -rf conftest*
3337 ac_cv_struct_tm=time.h 3351 ac_cv_struct_tm=time.h
3338 else 3352 else
3339 echo "configure: failed program was:" >&5 3353 echo "configure: failed program was:" >&5
3340 cat conftest.$ac_ext >&5 3354 cat conftest.$ac_ext >&5
3354 } 3368 }
3355 3369
3356 fi 3370 fi
3357 3371
3358 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 3372 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3359 echo "configure:3360: checking for tm_zone in struct tm" >&5 3373 echo "configure:3374: checking for tm_zone in struct tm" >&5
3360 3374
3361 cat > conftest.$ac_ext <<EOF 3375 cat > conftest.$ac_ext <<EOF
3362 #line 3363 "configure" 3376 #line 3377 "configure"
3363 #include "confdefs.h" 3377 #include "confdefs.h"
3364 #include <sys/types.h> 3378 #include <sys/types.h>
3365 #include <$ac_cv_struct_tm> 3379 #include <$ac_cv_struct_tm>
3366 int main() { 3380 int main() {
3367 struct tm tm; tm.tm_zone; 3381 struct tm tm; tm.tm_zone;
3368 ; return 0; } 3382 ; return 0; }
3369 EOF 3383 EOF
3370 if { (eval echo configure:3371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3384 if { (eval echo configure:3385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3371 rm -rf conftest* 3385 rm -rf conftest*
3372 ac_cv_struct_tm_zone=yes 3386 ac_cv_struct_tm_zone=yes
3373 else 3387 else
3374 echo "configure: failed program was:" >&5 3388 echo "configure: failed program was:" >&5
3375 cat conftest.$ac_ext >&5 3389 cat conftest.$ac_ext >&5
3388 EOF 3402 EOF
3389 } 3403 }
3390 3404
3391 else 3405 else
3392 echo $ac_n "checking for tzname""... $ac_c" 1>&6 3406 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3393 echo "configure:3394: checking for tzname" >&5 3407 echo "configure:3408: checking for tzname" >&5
3394 3408
3395 cat > conftest.$ac_ext <<EOF 3409 cat > conftest.$ac_ext <<EOF
3396 #line 3397 "configure" 3410 #line 3411 "configure"
3397 #include "confdefs.h" 3411 #include "confdefs.h"
3398 #include <time.h> 3412 #include <time.h>
3399 #ifndef tzname /* For SGI. */ 3413 #ifndef tzname /* For SGI. */
3400 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 3414 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3401 #endif 3415 #endif
3402 int main() { 3416 int main() {
3403 atoi(*tzname); 3417 atoi(*tzname);
3404 ; return 0; } 3418 ; return 0; }
3405 EOF 3419 EOF
3406 if { (eval echo configure:3407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3420 if { (eval echo configure:3421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3407 rm -rf conftest* 3421 rm -rf conftest*
3408 ac_cv_var_tzname=yes 3422 ac_cv_var_tzname=yes
3409 else 3423 else
3410 echo "configure: failed program was:" >&5 3424 echo "configure: failed program was:" >&5
3411 cat conftest.$ac_ext >&5 3425 cat conftest.$ac_ext >&5
3427 fi 3441 fi
3428 fi 3442 fi
3429 3443
3430 3444
3431 echo $ac_n "checking for working const""... $ac_c" 1>&6 3445 echo $ac_n "checking for working const""... $ac_c" 1>&6
3432 echo "configure:3433: checking for working const" >&5 3446 echo "configure:3447: checking for working const" >&5
3433 3447
3434 cat > conftest.$ac_ext <<EOF 3448 cat > conftest.$ac_ext <<EOF
3435 #line 3436 "configure" 3449 #line 3450 "configure"
3436 #include "confdefs.h" 3450 #include "confdefs.h"
3437 3451
3438 int main() { 3452 int main() {
3439 3453
3440 /* Ultrix mips cc rejects this. */ 3454 /* Ultrix mips cc rejects this. */
3479 const int foo = 10; 3493 const int foo = 10;
3480 } 3494 }
3481 3495
3482 ; return 0; } 3496 ; return 0; }
3483 EOF 3497 EOF
3484 if { (eval echo configure:3485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3498 if { (eval echo configure:3499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3485 rm -rf conftest* 3499 rm -rf conftest*
3486 ac_cv_c_const=yes 3500 ac_cv_c_const=yes
3487 else 3501 else
3488 echo "configure: failed program was:" >&5 3502 echo "configure: failed program was:" >&5
3489 cat conftest.$ac_ext >&5 3503 cat conftest.$ac_ext >&5
3504 3518
3505 fi 3519 fi
3506 3520
3507 3521
3508 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3522 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3509 echo "configure:3510: checking whether ${MAKE-make} sets \${MAKE}" >&5 3523 echo "configure:3524: checking whether ${MAKE-make} sets \${MAKE}" >&5
3510 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3524 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3511 3525
3512 cat > conftestmake <<\EOF 3526 cat > conftestmake <<\EOF
3513 all: 3527 all:
3514 @echo 'ac_maketemp="${MAKE}"' 3528 @echo 'ac_maketemp="${MAKE}"'
3529 SET_MAKE="MAKE=${MAKE-make}" 3543 SET_MAKE="MAKE=${MAKE-make}"
3530 fi 3544 fi
3531 3545
3532 3546
3533 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3547 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3534 echo "configure:3535: checking whether byte ordering is bigendian" >&5 3548 echo "configure:3549: checking whether byte ordering is bigendian" >&5
3535 3549
3536 ac_cv_c_bigendian=unknown 3550 ac_cv_c_bigendian=unknown
3537 # See if sys/param.h defines the BYTE_ORDER macro. 3551 # See if sys/param.h defines the BYTE_ORDER macro.
3538 cat > conftest.$ac_ext <<EOF 3552 cat > conftest.$ac_ext <<EOF
3539 #line 3540 "configure" 3553 #line 3554 "configure"
3540 #include "confdefs.h" 3554 #include "confdefs.h"
3541 #include <sys/types.h> 3555 #include <sys/types.h>
3542 #include <sys/param.h> 3556 #include <sys/param.h>
3543 int main() { 3557 int main() {
3544 3558
3545 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3559 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3546 bogus endian macros 3560 bogus endian macros
3547 #endif 3561 #endif
3548 ; return 0; } 3562 ; return 0; }
3549 EOF 3563 EOF
3550 if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3564 if { (eval echo configure:3565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3551 rm -rf conftest* 3565 rm -rf conftest*
3552 # It does; now see whether it defined to BIG_ENDIAN or not. 3566 # It does; now see whether it defined to BIG_ENDIAN or not.
3553 cat > conftest.$ac_ext <<EOF 3567 cat > conftest.$ac_ext <<EOF
3554 #line 3555 "configure" 3568 #line 3569 "configure"
3555 #include "confdefs.h" 3569 #include "confdefs.h"
3556 #include <sys/types.h> 3570 #include <sys/types.h>
3557 #include <sys/param.h> 3571 #include <sys/param.h>
3558 int main() { 3572 int main() {
3559 3573
3560 #if BYTE_ORDER != BIG_ENDIAN 3574 #if BYTE_ORDER != BIG_ENDIAN
3561 not big endian 3575 not big endian
3562 #endif 3576 #endif
3563 ; return 0; } 3577 ; return 0; }
3564 EOF 3578 EOF
3565 if { (eval echo configure:3566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3579 if { (eval echo configure:3580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3566 rm -rf conftest* 3580 rm -rf conftest*
3567 ac_cv_c_bigendian=yes 3581 ac_cv_c_bigendian=yes
3568 else 3582 else
3569 echo "configure: failed program was:" >&5 3583 echo "configure: failed program was:" >&5
3570 cat conftest.$ac_ext >&5 3584 cat conftest.$ac_ext >&5
3577 cat conftest.$ac_ext >&5 3591 cat conftest.$ac_ext >&5
3578 fi 3592 fi
3579 rm -f conftest* 3593 rm -f conftest*
3580 if test $ac_cv_c_bigendian = unknown; then 3594 if test $ac_cv_c_bigendian = unknown; then
3581 cat > conftest.$ac_ext <<EOF 3595 cat > conftest.$ac_ext <<EOF
3582 #line 3583 "configure" 3596 #line 3597 "configure"
3583 #include "confdefs.h" 3597 #include "confdefs.h"
3584 main () { 3598 main () {
3585 /* Are we little or big endian? From Harbison&Steele. */ 3599 /* Are we little or big endian? From Harbison&Steele. */
3586 union 3600 union
3587 { 3601 {
3590 } u; 3604 } u;
3591 u.l = 1; 3605 u.l = 1;
3592 exit (u.c[sizeof (long) - 1] == 1); 3606 exit (u.c[sizeof (long) - 1] == 1);
3593 } 3607 }
3594 EOF 3608 EOF
3595 if { (eval echo configure:3596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3609 if { (eval echo configure:3610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3596 then 3610 then
3597 ac_cv_c_bigendian=no 3611 ac_cv_c_bigendian=no
3598 else 3612 else
3599 echo "configure: failed program was:" >&5 3613 echo "configure: failed program was:" >&5
3600 cat conftest.$ac_ext >&5 3614 cat conftest.$ac_ext >&5
3616 3630
3617 fi 3631 fi
3618 3632
3619 3633
3620 echo $ac_n "checking size of short""... $ac_c" 1>&6 3634 echo $ac_n "checking size of short""... $ac_c" 1>&6
3621 echo "configure:3622: checking size of short" >&5 3635 echo "configure:3636: checking size of short" >&5
3622 3636
3623 cat > conftest.$ac_ext <<EOF 3637 cat > conftest.$ac_ext <<EOF
3624 #line 3625 "configure" 3638 #line 3639 "configure"
3625 #include "confdefs.h" 3639 #include "confdefs.h"
3626 #include <stdio.h> 3640 #include <stdio.h>
3627 main() 3641 main()
3628 { 3642 {
3629 FILE *f=fopen("conftestval", "w"); 3643 FILE *f=fopen("conftestval", "w");
3630 if (!f) exit(1); 3644 if (!f) exit(1);
3631 fprintf(f, "%d\n", sizeof(short)); 3645 fprintf(f, "%d\n", sizeof(short));
3632 exit(0); 3646 exit(0);
3633 } 3647 }
3634 EOF 3648 EOF
3635 if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3649 if { (eval echo configure:3650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3636 then 3650 then
3637 ac_cv_sizeof_short=`cat conftestval` 3651 ac_cv_sizeof_short=`cat conftestval`
3638 else 3652 else
3639 echo "configure: failed program was:" >&5 3653 echo "configure: failed program was:" >&5
3640 cat conftest.$ac_ext >&5 3654 cat conftest.$ac_ext >&5
3657 echo "*** PANIC *** Configure tests are not working - compiler is broken." 3671 echo "*** PANIC *** Configure tests are not working - compiler is broken."
3658 echo "*** PANIC *** Please examine config.log for compilation errors." 3672 echo "*** PANIC *** Please examine config.log for compilation errors."
3659 exit 1 3673 exit 1
3660 fi 3674 fi
3661 echo $ac_n "checking size of int""... $ac_c" 1>&6 3675 echo $ac_n "checking size of int""... $ac_c" 1>&6
3662 echo "configure:3663: checking size of int" >&5 3676 echo "configure:3677: checking size of int" >&5
3663 3677
3664 cat > conftest.$ac_ext <<EOF 3678 cat > conftest.$ac_ext <<EOF
3665 #line 3666 "configure" 3679 #line 3680 "configure"
3666 #include "confdefs.h" 3680 #include "confdefs.h"
3667 #include <stdio.h> 3681 #include <stdio.h>
3668 main() 3682 main()
3669 { 3683 {
3670 FILE *f=fopen("conftestval", "w"); 3684 FILE *f=fopen("conftestval", "w");
3671 if (!f) exit(1); 3685 if (!f) exit(1);
3672 fprintf(f, "%d\n", sizeof(int)); 3686 fprintf(f, "%d\n", sizeof(int));
3673 exit(0); 3687 exit(0);
3674 } 3688 }
3675 EOF 3689 EOF
3676 if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3690 if { (eval echo configure:3691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3677 then 3691 then
3678 ac_cv_sizeof_int=`cat conftestval` 3692 ac_cv_sizeof_int=`cat conftestval`
3679 else 3693 else
3680 echo "configure: failed program was:" >&5 3694 echo "configure: failed program was:" >&5
3681 cat conftest.$ac_ext >&5 3695 cat conftest.$ac_ext >&5
3692 EOF 3706 EOF
3693 } 3707 }
3694 3708
3695 3709
3696 echo $ac_n "checking size of long""... $ac_c" 1>&6 3710 echo $ac_n "checking size of long""... $ac_c" 1>&6
3697 echo "configure:3698: checking size of long" >&5 3711 echo "configure:3712: checking size of long" >&5
3698 3712
3699 cat > conftest.$ac_ext <<EOF 3713 cat > conftest.$ac_ext <<EOF
3700 #line 3701 "configure" 3714 #line 3715 "configure"
3701 #include "confdefs.h" 3715 #include "confdefs.h"
3702 #include <stdio.h> 3716 #include <stdio.h>
3703 main() 3717 main()
3704 { 3718 {
3705 FILE *f=fopen("conftestval", "w"); 3719 FILE *f=fopen("conftestval", "w");
3706 if (!f) exit(1); 3720 if (!f) exit(1);
3707 fprintf(f, "%d\n", sizeof(long)); 3721 fprintf(f, "%d\n", sizeof(long));
3708 exit(0); 3722 exit(0);
3709 } 3723 }
3710 EOF 3724 EOF
3711 if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3725 if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3712 then 3726 then
3713 ac_cv_sizeof_long=`cat conftestval` 3727 ac_cv_sizeof_long=`cat conftestval`
3714 else 3728 else
3715 echo "configure: failed program was:" >&5 3729 echo "configure: failed program was:" >&5
3716 cat conftest.$ac_ext >&5 3730 cat conftest.$ac_ext >&5
3727 EOF 3741 EOF
3728 } 3742 }
3729 3743
3730 3744
3731 echo $ac_n "checking size of long long""... $ac_c" 1>&6 3745 echo $ac_n "checking size of long long""... $ac_c" 1>&6
3732 echo "configure:3733: checking size of long long" >&5 3746 echo "configure:3747: checking size of long long" >&5
3733 3747
3734 cat > conftest.$ac_ext <<EOF 3748 cat > conftest.$ac_ext <<EOF
3735 #line 3736 "configure" 3749 #line 3750 "configure"
3736 #include "confdefs.h" 3750 #include "confdefs.h"
3737 #include <stdio.h> 3751 #include <stdio.h>
3738 main() 3752 main()
3739 { 3753 {
3740 FILE *f=fopen("conftestval", "w"); 3754 FILE *f=fopen("conftestval", "w");
3741 if (!f) exit(1); 3755 if (!f) exit(1);
3742 fprintf(f, "%d\n", sizeof(long long)); 3756 fprintf(f, "%d\n", sizeof(long long));
3743 exit(0); 3757 exit(0);
3744 } 3758 }
3745 EOF 3759 EOF
3746 if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3747 then 3761 then
3748 ac_cv_sizeof_long_long=`cat conftestval` 3762 ac_cv_sizeof_long_long=`cat conftestval`
3749 else 3763 else
3750 echo "configure: failed program was:" >&5 3764 echo "configure: failed program was:" >&5
3751 cat conftest.$ac_ext >&5 3765 cat conftest.$ac_ext >&5
3762 EOF 3776 EOF
3763 } 3777 }
3764 3778
3765 3779
3766 echo $ac_n "checking size of void *""... $ac_c" 1>&6 3780 echo $ac_n "checking size of void *""... $ac_c" 1>&6
3767 echo "configure:3768: checking size of void *" >&5 3781 echo "configure:3782: checking size of void *" >&5
3768 3782
3769 cat > conftest.$ac_ext <<EOF 3783 cat > conftest.$ac_ext <<EOF
3770 #line 3771 "configure" 3784 #line 3785 "configure"
3771 #include "confdefs.h" 3785 #include "confdefs.h"
3772 #include <stdio.h> 3786 #include <stdio.h>
3773 main() 3787 main()
3774 { 3788 {
3775 FILE *f=fopen("conftestval", "w"); 3789 FILE *f=fopen("conftestval", "w");
3776 if (!f) exit(1); 3790 if (!f) exit(1);
3777 fprintf(f, "%d\n", sizeof(void *)); 3791 fprintf(f, "%d\n", sizeof(void *));
3778 exit(0); 3792 exit(0);
3779 } 3793 }
3780 EOF 3794 EOF
3781 if { (eval echo configure:3782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3795 if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3782 then 3796 then
3783 ac_cv_sizeof_void_p=`cat conftestval` 3797 ac_cv_sizeof_void_p=`cat conftestval`
3784 else 3798 else
3785 echo "configure: failed program was:" >&5 3799 echo "configure: failed program was:" >&5
3786 cat conftest.$ac_ext >&5 3800 cat conftest.$ac_ext >&5
3798 } 3812 }
3799 3813
3800 3814
3801 3815
3802 echo $ac_n "checking for long file names""... $ac_c" 1>&6 3816 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3803 echo "configure:3804: checking for long file names" >&5 3817 echo "configure:3818: checking for long file names" >&5
3804 3818
3805 ac_cv_sys_long_file_names=yes 3819 ac_cv_sys_long_file_names=yes
3806 # Test for long file names in all the places we know might matter: 3820 # Test for long file names in all the places we know might matter:
3807 # . the current directory, where building will happen 3821 # . the current directory, where building will happen
3808 # $prefix/lib where we will be installing things 3822 # $prefix/lib where we will be installing things
3845 fi 3859 fi
3846 3860
3847 3861
3848 3862
3849 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 3863 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
3850 echo "configure:3851: checking for sin in -lm" >&5 3864 echo "configure:3865: checking for sin in -lm" >&5
3851 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 3865 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
3852 3866
3853 xe_check_libs=" -lm " 3867 xe_check_libs=" -lm "
3854 cat > conftest.$ac_ext <<EOF 3868 cat > conftest.$ac_ext <<EOF
3855 #line 3856 "configure" 3869 #line 3870 "configure"
3856 #include "confdefs.h" 3870 #include "confdefs.h"
3857 /* Override any gcc2 internal prototype to avoid an error. */ 3871 /* Override any gcc2 internal prototype to avoid an error. */
3858 /* We use char because int might match the return type of a gcc2 3872 /* We use char because int might match the return type of a gcc2
3859 builtin and then its argument prototype would still apply. */ 3873 builtin and then its argument prototype would still apply. */
3860 char sin(); 3874 char sin();
3861 3875
3862 int main() { 3876 int main() {
3863 sin() 3877 sin()
3864 ; return 0; } 3878 ; return 0; }
3865 EOF 3879 EOF
3866 if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3880 if { (eval echo configure:3881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3867 rm -rf conftest* 3881 rm -rf conftest*
3868 eval "ac_cv_lib_$ac_lib_var=yes" 3882 eval "ac_cv_lib_$ac_lib_var=yes"
3869 else 3883 else
3870 echo "configure: failed program was:" >&5 3884 echo "configure: failed program was:" >&5
3871 cat conftest.$ac_ext >&5 3885 cat conftest.$ac_ext >&5
3903 EOF 3917 EOF
3904 } 3918 }
3905 3919
3906 3920
3907 cat > conftest.$ac_ext <<EOF 3921 cat > conftest.$ac_ext <<EOF
3908 #line 3909 "configure" 3922 #line 3923 "configure"
3909 #include "confdefs.h" 3923 #include "confdefs.h"
3910 #include <math.h> 3924 #include <math.h>
3911 int main() { 3925 int main() {
3912 return atanh(1.0) + asinh(1.0) + acosh(1.0); 3926 return atanh(1.0) + asinh(1.0) + acosh(1.0);
3913 ; return 0; } 3927 ; return 0; }
3914 EOF 3928 EOF
3915 if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3929 if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3916 rm -rf conftest* 3930 rm -rf conftest*
3917 { test "$extra_verbose" = "yes" && cat << \EOF 3931 { test "$extra_verbose" = "yes" && cat << \EOF
3918 Defining HAVE_INVERSE_HYPERBOLIC 3932 Defining HAVE_INVERSE_HYPERBOLIC
3919 EOF 3933 EOF
3920 cat >> confdefs.h <<\EOF 3934 cat >> confdefs.h <<\EOF
3927 cat conftest.$ac_ext >&5 3941 cat conftest.$ac_ext >&5
3928 fi 3942 fi
3929 rm -f conftest* 3943 rm -f conftest*
3930 3944
3931 echo "checking type of mail spool file locking" 1>&6 3945 echo "checking type of mail spool file locking" 1>&6
3932 echo "configure:3933: checking type of mail spool file locking" >&5 3946 echo "configure:3947: checking type of mail spool file locking" >&5
3933 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock 3947 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock
3934 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf 3948 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf
3935 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF 3949 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF
3936 Defining REAL_MAIL_USE_LOCKF 3950 Defining REAL_MAIL_USE_LOCKF
3937 EOF 3951 EOF
3951 else mail_locking="dot-locking" 3965 else mail_locking="dot-locking"
3952 fi 3966 fi
3953 3967
3954 3968
3955 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 3969 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
3956 echo "configure:3957: checking for kstat_open in -lkstat" >&5 3970 echo "configure:3971: checking for kstat_open in -lkstat" >&5
3957 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 3971 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
3958 3972
3959 xe_check_libs=" -lkstat " 3973 xe_check_libs=" -lkstat "
3960 cat > conftest.$ac_ext <<EOF 3974 cat > conftest.$ac_ext <<EOF
3961 #line 3962 "configure" 3975 #line 3976 "configure"
3962 #include "confdefs.h" 3976 #include "confdefs.h"
3963 /* Override any gcc2 internal prototype to avoid an error. */ 3977 /* Override any gcc2 internal prototype to avoid an error. */
3964 /* We use char because int might match the return type of a gcc2 3978 /* We use char because int might match the return type of a gcc2
3965 builtin and then its argument prototype would still apply. */ 3979 builtin and then its argument prototype would still apply. */
3966 char kstat_open(); 3980 char kstat_open();
3967 3981
3968 int main() { 3982 int main() {
3969 kstat_open() 3983 kstat_open()
3970 ; return 0; } 3984 ; return 0; }
3971 EOF 3985 EOF
3972 if { (eval echo configure:3973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3986 if { (eval echo configure:3987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3973 rm -rf conftest* 3987 rm -rf conftest*
3974 eval "ac_cv_lib_$ac_lib_var=yes" 3988 eval "ac_cv_lib_$ac_lib_var=yes"
3975 else 3989 else
3976 echo "configure: failed program was:" >&5 3990 echo "configure: failed program was:" >&5
3977 cat conftest.$ac_ext >&5 3991 cat conftest.$ac_ext >&5
4001 4015
4002 4016
4003 4017
4004 4018
4005 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 4019 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
4006 echo "configure:4007: checking for kvm_read in -lkvm" >&5 4020 echo "configure:4021: checking for kvm_read in -lkvm" >&5
4007 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 4021 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
4008 4022
4009 xe_check_libs=" -lkvm " 4023 xe_check_libs=" -lkvm "
4010 cat > conftest.$ac_ext <<EOF 4024 cat > conftest.$ac_ext <<EOF
4011 #line 4012 "configure" 4025 #line 4026 "configure"
4012 #include "confdefs.h" 4026 #include "confdefs.h"
4013 /* Override any gcc2 internal prototype to avoid an error. */ 4027 /* Override any gcc2 internal prototype to avoid an error. */
4014 /* We use char because int might match the return type of a gcc2 4028 /* We use char because int might match the return type of a gcc2
4015 builtin and then its argument prototype would still apply. */ 4029 builtin and then its argument prototype would still apply. */
4016 char kvm_read(); 4030 char kvm_read();
4017 4031
4018 int main() { 4032 int main() {
4019 kvm_read() 4033 kvm_read()
4020 ; return 0; } 4034 ; return 0; }
4021 EOF 4035 EOF
4022 if { (eval echo configure:4023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4036 if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4023 rm -rf conftest* 4037 rm -rf conftest*
4024 eval "ac_cv_lib_$ac_lib_var=yes" 4038 eval "ac_cv_lib_$ac_lib_var=yes"
4025 else 4039 else
4026 echo "configure: failed program was:" >&5 4040 echo "configure: failed program was:" >&5
4027 cat conftest.$ac_ext >&5 4041 cat conftest.$ac_ext >&5
4051 4065
4052 4066
4053 4067
4054 4068
4055 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 4069 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4056 echo "configure:4057: checking for cma_open in -lpthreads" >&5 4070 echo "configure:4071: checking for cma_open in -lpthreads" >&5
4057 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 4071 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
4058 4072
4059 xe_check_libs=" -lpthreads " 4073 xe_check_libs=" -lpthreads "
4060 cat > conftest.$ac_ext <<EOF 4074 cat > conftest.$ac_ext <<EOF
4061 #line 4062 "configure" 4075 #line 4076 "configure"
4062 #include "confdefs.h" 4076 #include "confdefs.h"
4063 /* Override any gcc2 internal prototype to avoid an error. */ 4077 /* Override any gcc2 internal prototype to avoid an error. */
4064 /* We use char because int might match the return type of a gcc2 4078 /* We use char because int might match the return type of a gcc2
4065 builtin and then its argument prototype would still apply. */ 4079 builtin and then its argument prototype would still apply. */
4066 char cma_open(); 4080 char cma_open();
4067 4081
4068 int main() { 4082 int main() {
4069 cma_open() 4083 cma_open()
4070 ; return 0; } 4084 ; return 0; }
4071 EOF 4085 EOF
4072 if { (eval echo configure:4073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4086 if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4073 rm -rf conftest* 4087 rm -rf conftest*
4074 eval "ac_cv_lib_$ac_lib_var=yes" 4088 eval "ac_cv_lib_$ac_lib_var=yes"
4075 else 4089 else
4076 echo "configure: failed program was:" >&5 4090 echo "configure: failed program was:" >&5
4077 cat conftest.$ac_ext >&5 4091 cat conftest.$ac_ext >&5
4103 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then 4117 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then
4104 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac 4118 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac
4105 fi 4119 fi
4106 4120
4107 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 4121 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
4108 echo "configure:4109: checking whether the -xildoff compiler flag is required" >&5 4122 echo "configure:4123: checking whether the -xildoff compiler flag is required" >&5
4109 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 4123 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
4110 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 4124 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
4111 then echo "$ac_t""no" 1>&6; 4125 then echo "$ac_t""no" 1>&6;
4112 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 4126 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
4113 fi 4127 fi
4114 else echo "$ac_t""no" 1>&6 4128 else echo "$ac_t""no" 1>&6
4115 fi 4129 fi
4116 4130
4117 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then 4131 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then
4118 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 4132 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
4119 echo "configure:4120: checking for \"-z ignore\" linker flag" >&5 4133 echo "configure:4134: checking for \"-z ignore\" linker flag" >&5
4120 case "`ld -h 2>&1`" in 4134 case "`ld -h 2>&1`" in
4121 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 4135 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
4122 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 4136 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
4123 *) echo "$ac_t""no" 1>&6 ;; 4137 *) echo "$ac_t""no" 1>&6 ;;
4124 esac 4138 esac
4125 fi 4139 fi
4126 4140
4127 4141
4128 echo "checking "for specified window system"" 1>&6 4142 echo "checking "for specified window system"" 1>&6
4129 echo "configure:4130: checking "for specified window system"" >&5 4143 echo "configure:4144: checking "for specified window system"" >&5
4130 4144
4131 if test "$with_x11" != "no"; then 4145 if test "$with_x11" != "no"; then
4132 test "$x_includes $x_libraries" != "NONE NONE" && \ 4146 test "$x_includes $x_libraries" != "NONE NONE" && \
4133 window_system=x11 with_x11=yes 4147 window_system=x11 with_x11=yes
4134 4148
4154 # If we find X, set shell vars x_includes and x_libraries to the 4168 # If we find X, set shell vars x_includes and x_libraries to the
4155 # paths, otherwise set no_x=yes. 4169 # paths, otherwise set no_x=yes.
4156 # Uses ac_ vars as temps to allow command line to override cache and checks. 4170 # Uses ac_ vars as temps to allow command line to override cache and checks.
4157 # --without-x overrides everything else, but does not touch the cache. 4171 # --without-x overrides everything else, but does not touch the cache.
4158 echo $ac_n "checking for X""... $ac_c" 1>&6 4172 echo $ac_n "checking for X""... $ac_c" 1>&6
4159 echo "configure:4160: checking for X" >&5 4173 echo "configure:4174: checking for X" >&5
4160 4174
4161 # Check whether --with-x or --without-x was given. 4175 # Check whether --with-x or --without-x was given.
4162 if test "${with_x+set}" = set; then 4176 if test "${with_x+set}" = set; then
4163 withval="$with_x" 4177 withval="$with_x"
4164 : 4178 :
4214 # Guess where to find include files, by looking for this one X11 .h file. 4228 # Guess where to find include files, by looking for this one X11 .h file.
4215 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 4229 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
4216 4230
4217 # First, try using that file with no special directory specified. 4231 # First, try using that file with no special directory specified.
4218 cat > conftest.$ac_ext <<EOF 4232 cat > conftest.$ac_ext <<EOF
4219 #line 4220 "configure" 4233 #line 4234 "configure"
4220 #include "confdefs.h" 4234 #include "confdefs.h"
4221 #include <$x_direct_test_include> 4235 #include <$x_direct_test_include>
4222 EOF 4236 EOF
4223 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4224 { (eval echo configure:4225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4238 { (eval echo configure:4239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4225 ac_err=`grep -v '^ *+' conftest.out` 4239 ac_err=`grep -v '^ *+' conftest.out`
4226 if test -z "$ac_err"; then 4240 if test -z "$ac_err"; then
4227 rm -rf conftest* 4241 rm -rf conftest*
4228 # We can compile using X headers with no special include directory. 4242 # We can compile using X headers with no special include directory.
4229 ac_x_includes= 4243 ac_x_includes=
4288 # See if we find them without any special options. 4302 # See if we find them without any special options.
4289 # Don't add to $LIBS permanently. 4303 # Don't add to $LIBS permanently.
4290 ac_save_LIBS="$LIBS" 4304 ac_save_LIBS="$LIBS"
4291 LIBS="-l$x_direct_test_library $LIBS" 4305 LIBS="-l$x_direct_test_library $LIBS"
4292 cat > conftest.$ac_ext <<EOF 4306 cat > conftest.$ac_ext <<EOF
4293 #line 4294 "configure" 4307 #line 4308 "configure"
4294 #include "confdefs.h" 4308 #include "confdefs.h"
4295 4309
4296 int main() { 4310 int main() {
4297 ${x_direct_test_function}() 4311 ${x_direct_test_function}()
4298 ; return 0; } 4312 ; return 0; }
4299 EOF 4313 EOF
4300 if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4314 if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4301 rm -rf conftest* 4315 rm -rf conftest*
4302 LIBS="$ac_save_LIBS" 4316 LIBS="$ac_save_LIBS"
4303 # We can link X programs with no special library path. 4317 # We can link X programs with no special library path.
4304 ac_x_libraries= 4318 ac_x_libraries=
4305 else 4319 else
4404 # For Solaris; some versions of Sun CC require a space after -R and 4418 # For Solaris; some versions of Sun CC require a space after -R and
4405 # others require no space. Words are not sufficient . . . . 4419 # others require no space. Words are not sufficient . . . .
4406 case "`(uname -sr) 2>/dev/null`" in 4420 case "`(uname -sr) 2>/dev/null`" in
4407 "SunOS 5"*) 4421 "SunOS 5"*)
4408 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 4422 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
4409 echo "configure:4410: checking whether -R must be followed by a space" >&5 4423 echo "configure:4424: checking whether -R must be followed by a space" >&5
4410 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 4424 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
4411 cat > conftest.$ac_ext <<EOF 4425 cat > conftest.$ac_ext <<EOF
4412 #line 4413 "configure" 4426 #line 4427 "configure"
4413 #include "confdefs.h" 4427 #include "confdefs.h"
4414 4428
4415 int main() { 4429 int main() {
4416 4430
4417 ; return 0; } 4431 ; return 0; }
4418 EOF 4432 EOF
4419 if { (eval echo configure:4420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4433 if { (eval echo configure:4434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4420 rm -rf conftest* 4434 rm -rf conftest*
4421 ac_R_nospace=yes 4435 ac_R_nospace=yes
4422 else 4436 else
4423 echo "configure: failed program was:" >&5 4437 echo "configure: failed program was:" >&5
4424 cat conftest.$ac_ext >&5 4438 cat conftest.$ac_ext >&5
4430 echo "$ac_t""no" 1>&6 4444 echo "$ac_t""no" 1>&6
4431 X_LIBS="$X_LIBS -R$x_libraries" 4445 X_LIBS="$X_LIBS -R$x_libraries"
4432 else 4446 else
4433 LIBS="$ac_xsave_LIBS -R $x_libraries" 4447 LIBS="$ac_xsave_LIBS -R $x_libraries"
4434 cat > conftest.$ac_ext <<EOF 4448 cat > conftest.$ac_ext <<EOF
4435 #line 4436 "configure" 4449 #line 4450 "configure"
4436 #include "confdefs.h" 4450 #include "confdefs.h"
4437 4451
4438 int main() { 4452 int main() {
4439 4453
4440 ; return 0; } 4454 ; return 0; }
4441 EOF 4455 EOF
4442 if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4443 rm -rf conftest* 4457 rm -rf conftest*
4444 ac_R_space=yes 4458 ac_R_space=yes
4445 else 4459 else
4446 echo "configure: failed program was:" >&5 4460 echo "configure: failed program was:" >&5
4447 cat conftest.$ac_ext >&5 4461 cat conftest.$ac_ext >&5
4473 if test "$with_dnet" = "no" ; then 4487 if test "$with_dnet" = "no" ; then
4474 ac_cv_lib_dnet_dnet_ntoa=no 4488 ac_cv_lib_dnet_dnet_ntoa=no
4475 else 4489 else
4476 4490
4477 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4491 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4478 echo "configure:4479: checking for dnet_ntoa in -ldnet" >&5 4492 echo "configure:4493: checking for dnet_ntoa in -ldnet" >&5
4479 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4493 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4480 4494
4481 xe_check_libs=" -ldnet " 4495 xe_check_libs=" -ldnet "
4482 cat > conftest.$ac_ext <<EOF 4496 cat > conftest.$ac_ext <<EOF
4483 #line 4484 "configure" 4497 #line 4498 "configure"
4484 #include "confdefs.h" 4498 #include "confdefs.h"
4485 /* Override any gcc2 internal prototype to avoid an error. */ 4499 /* Override any gcc2 internal prototype to avoid an error. */
4486 /* We use char because int might match the return type of a gcc2 4500 /* We use char because int might match the return type of a gcc2
4487 builtin and then its argument prototype would still apply. */ 4501 builtin and then its argument prototype would still apply. */
4488 char dnet_ntoa(); 4502 char dnet_ntoa();
4489 4503
4490 int main() { 4504 int main() {
4491 dnet_ntoa() 4505 dnet_ntoa()
4492 ; return 0; } 4506 ; return 0; }
4493 EOF 4507 EOF
4494 if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4508 if { (eval echo configure:4509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4495 rm -rf conftest* 4509 rm -rf conftest*
4496 eval "ac_cv_lib_$ac_lib_var=yes" 4510 eval "ac_cv_lib_$ac_lib_var=yes"
4497 else 4511 else
4498 echo "configure: failed program was:" >&5 4512 echo "configure: failed program was:" >&5
4499 cat conftest.$ac_ext >&5 4513 cat conftest.$ac_ext >&5
4513 fi 4527 fi
4514 4528
4515 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 4529 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4516 4530
4517 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 4531 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
4518 echo "configure:4519: checking for dnet_ntoa in -ldnet_stub" >&5 4532 echo "configure:4533: checking for dnet_ntoa in -ldnet_stub" >&5
4519 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4533 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4520 4534
4521 xe_check_libs=" -ldnet_stub " 4535 xe_check_libs=" -ldnet_stub "
4522 cat > conftest.$ac_ext <<EOF 4536 cat > conftest.$ac_ext <<EOF
4523 #line 4524 "configure" 4537 #line 4538 "configure"
4524 #include "confdefs.h" 4538 #include "confdefs.h"
4525 /* Override any gcc2 internal prototype to avoid an error. */ 4539 /* Override any gcc2 internal prototype to avoid an error. */
4526 /* We use char because int might match the return type of a gcc2 4540 /* We use char because int might match the return type of a gcc2
4527 builtin and then its argument prototype would still apply. */ 4541 builtin and then its argument prototype would still apply. */
4528 char dnet_ntoa(); 4542 char dnet_ntoa();
4529 4543
4530 int main() { 4544 int main() {
4531 dnet_ntoa() 4545 dnet_ntoa()
4532 ; return 0; } 4546 ; return 0; }
4533 EOF 4547 EOF
4534 if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4548 if { (eval echo configure:4549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4535 rm -rf conftest* 4549 rm -rf conftest*
4536 eval "ac_cv_lib_$ac_lib_var=yes" 4550 eval "ac_cv_lib_$ac_lib_var=yes"
4537 else 4551 else
4538 echo "configure: failed program was:" >&5 4552 echo "configure: failed program was:" >&5
4539 cat conftest.$ac_ext >&5 4553 cat conftest.$ac_ext >&5
4558 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 4572 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
4559 # needs -lnsl. 4573 # needs -lnsl.
4560 # The nsl library prevents programs from opening the X display 4574 # The nsl library prevents programs from opening the X display
4561 # on Irix 5.2, according to dickey@clark.net. 4575 # on Irix 5.2, according to dickey@clark.net.
4562 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 4576 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4563 echo "configure:4564: checking for gethostbyname" >&5 4577 echo "configure:4578: checking for gethostbyname" >&5
4564 4578
4565 cat > conftest.$ac_ext <<EOF 4579 cat > conftest.$ac_ext <<EOF
4566 #line 4567 "configure" 4580 #line 4581 "configure"
4567 #include "confdefs.h" 4581 #include "confdefs.h"
4568 /* System header to define __stub macros and hopefully few prototypes, 4582 /* System header to define __stub macros and hopefully few prototypes,
4569 which can conflict with char gethostbyname(); below. */ 4583 which can conflict with char gethostbyname(); below. */
4570 #include <assert.h> 4584 #include <assert.h>
4571 /* Override any gcc2 internal prototype to avoid an error. */ 4585 /* Override any gcc2 internal prototype to avoid an error. */
4584 gethostbyname(); 4598 gethostbyname();
4585 #endif 4599 #endif
4586 4600
4587 ; return 0; } 4601 ; return 0; }
4588 EOF 4602 EOF
4589 if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4603 if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4590 rm -rf conftest* 4604 rm -rf conftest*
4591 eval "ac_cv_func_gethostbyname=yes" 4605 eval "ac_cv_func_gethostbyname=yes"
4592 else 4606 else
4593 echo "configure: failed program was:" >&5 4607 echo "configure: failed program was:" >&5
4594 cat conftest.$ac_ext >&5 4608 cat conftest.$ac_ext >&5
4605 fi 4619 fi
4606 4620
4607 if test $ac_cv_func_gethostbyname = no; then 4621 if test $ac_cv_func_gethostbyname = no; then
4608 4622
4609 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 4623 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
4610 echo "configure:4611: checking for gethostbyname in -lnsl" >&5 4624 echo "configure:4625: checking for gethostbyname in -lnsl" >&5
4611 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 4625 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
4612 4626
4613 xe_check_libs=" -lnsl " 4627 xe_check_libs=" -lnsl "
4614 cat > conftest.$ac_ext <<EOF 4628 cat > conftest.$ac_ext <<EOF
4615 #line 4616 "configure" 4629 #line 4630 "configure"
4616 #include "confdefs.h" 4630 #include "confdefs.h"
4617 /* Override any gcc2 internal prototype to avoid an error. */ 4631 /* Override any gcc2 internal prototype to avoid an error. */
4618 /* We use char because int might match the return type of a gcc2 4632 /* We use char because int might match the return type of a gcc2
4619 builtin and then its argument prototype would still apply. */ 4633 builtin and then its argument prototype would still apply. */
4620 char gethostbyname(); 4634 char gethostbyname();
4621 4635
4622 int main() { 4636 int main() {
4623 gethostbyname() 4637 gethostbyname()
4624 ; return 0; } 4638 ; return 0; }
4625 EOF 4639 EOF
4626 if { (eval echo configure:4627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4640 if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4627 rm -rf conftest* 4641 rm -rf conftest*
4628 eval "ac_cv_lib_$ac_lib_var=yes" 4642 eval "ac_cv_lib_$ac_lib_var=yes"
4629 else 4643 else
4630 echo "configure: failed program was:" >&5 4644 echo "configure: failed program was:" >&5
4631 cat conftest.$ac_ext >&5 4645 cat conftest.$ac_ext >&5
4651 # on later versions), says simon@lia.di.epfl.ch: it contains 4665 # on later versions), says simon@lia.di.epfl.ch: it contains
4652 # gethostby* variants that don't use the nameserver (or something). 4666 # gethostby* variants that don't use the nameserver (or something).
4653 # -lsocket must be given before -lnsl if both are needed. 4667 # -lsocket must be given before -lnsl if both are needed.
4654 # We assume that if connect needs -lnsl, so does gethostbyname. 4668 # We assume that if connect needs -lnsl, so does gethostbyname.
4655 echo $ac_n "checking for connect""... $ac_c" 1>&6 4669 echo $ac_n "checking for connect""... $ac_c" 1>&6
4656 echo "configure:4657: checking for connect" >&5 4670 echo "configure:4671: checking for connect" >&5
4657 4671
4658 cat > conftest.$ac_ext <<EOF 4672 cat > conftest.$ac_ext <<EOF
4659 #line 4660 "configure" 4673 #line 4674 "configure"
4660 #include "confdefs.h" 4674 #include "confdefs.h"
4661 /* System header to define __stub macros and hopefully few prototypes, 4675 /* System header to define __stub macros and hopefully few prototypes,
4662 which can conflict with char connect(); below. */ 4676 which can conflict with char connect(); below. */
4663 #include <assert.h> 4677 #include <assert.h>
4664 /* Override any gcc2 internal prototype to avoid an error. */ 4678 /* Override any gcc2 internal prototype to avoid an error. */
4677 connect(); 4691 connect();
4678 #endif 4692 #endif
4679 4693
4680 ; return 0; } 4694 ; return 0; }
4681 EOF 4695 EOF
4682 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4696 if { (eval echo configure:4697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4683 rm -rf conftest* 4697 rm -rf conftest*
4684 eval "ac_cv_func_connect=yes" 4698 eval "ac_cv_func_connect=yes"
4685 else 4699 else
4686 echo "configure: failed program was:" >&5 4700 echo "configure: failed program was:" >&5
4687 cat conftest.$ac_ext >&5 4701 cat conftest.$ac_ext >&5
4700 if test $ac_cv_func_connect = no; then 4714 if test $ac_cv_func_connect = no; then
4701 4715
4702 xe_msg_checking="for connect in -lsocket" 4716 xe_msg_checking="for connect in -lsocket"
4703 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 4717 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
4704 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 4718 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
4705 echo "configure:4706: checking "$xe_msg_checking"" >&5 4719 echo "configure:4720: checking "$xe_msg_checking"" >&5
4706 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 4720 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
4707 4721
4708 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 4722 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
4709 cat > conftest.$ac_ext <<EOF 4723 cat > conftest.$ac_ext <<EOF
4710 #line 4711 "configure" 4724 #line 4725 "configure"
4711 #include "confdefs.h" 4725 #include "confdefs.h"
4712 /* Override any gcc2 internal prototype to avoid an error. */ 4726 /* Override any gcc2 internal prototype to avoid an error. */
4713 /* We use char because int might match the return type of a gcc2 4727 /* We use char because int might match the return type of a gcc2
4714 builtin and then its argument prototype would still apply. */ 4728 builtin and then its argument prototype would still apply. */
4715 char connect(); 4729 char connect();
4716 4730
4717 int main() { 4731 int main() {
4718 connect() 4732 connect()
4719 ; return 0; } 4733 ; return 0; }
4720 EOF 4734 EOF
4721 if { (eval echo configure:4722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4735 if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4722 rm -rf conftest* 4736 rm -rf conftest*
4723 eval "ac_cv_lib_$ac_lib_var=yes" 4737 eval "ac_cv_lib_$ac_lib_var=yes"
4724 else 4738 else
4725 echo "configure: failed program was:" >&5 4739 echo "configure: failed program was:" >&5
4726 cat conftest.$ac_ext >&5 4740 cat conftest.$ac_ext >&5
4740 4754
4741 fi 4755 fi
4742 4756
4743 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 4757 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
4744 echo $ac_n "checking for remove""... $ac_c" 1>&6 4758 echo $ac_n "checking for remove""... $ac_c" 1>&6
4745 echo "configure:4746: checking for remove" >&5 4759 echo "configure:4760: checking for remove" >&5
4746 4760
4747 cat > conftest.$ac_ext <<EOF 4761 cat > conftest.$ac_ext <<EOF
4748 #line 4749 "configure" 4762 #line 4763 "configure"
4749 #include "confdefs.h" 4763 #include "confdefs.h"
4750 /* System header to define __stub macros and hopefully few prototypes, 4764 /* System header to define __stub macros and hopefully few prototypes,
4751 which can conflict with char remove(); below. */ 4765 which can conflict with char remove(); below. */
4752 #include <assert.h> 4766 #include <assert.h>
4753 /* Override any gcc2 internal prototype to avoid an error. */ 4767 /* Override any gcc2 internal prototype to avoid an error. */
4766 remove(); 4780 remove();
4767 #endif 4781 #endif
4768 4782
4769 ; return 0; } 4783 ; return 0; }
4770 EOF 4784 EOF
4771 if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4785 if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4772 rm -rf conftest* 4786 rm -rf conftest*
4773 eval "ac_cv_func_remove=yes" 4787 eval "ac_cv_func_remove=yes"
4774 else 4788 else
4775 echo "configure: failed program was:" >&5 4789 echo "configure: failed program was:" >&5
4776 cat conftest.$ac_ext >&5 4790 cat conftest.$ac_ext >&5
4787 fi 4801 fi
4788 4802
4789 if test $ac_cv_func_remove = no; then 4803 if test $ac_cv_func_remove = no; then
4790 4804
4791 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 4805 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
4792 echo "configure:4793: checking for remove in -lposix" >&5 4806 echo "configure:4807: checking for remove in -lposix" >&5
4793 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 4807 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
4794 4808
4795 xe_check_libs=" -lposix " 4809 xe_check_libs=" -lposix "
4796 cat > conftest.$ac_ext <<EOF 4810 cat > conftest.$ac_ext <<EOF
4797 #line 4798 "configure" 4811 #line 4812 "configure"
4798 #include "confdefs.h" 4812 #include "confdefs.h"
4799 /* Override any gcc2 internal prototype to avoid an error. */ 4813 /* Override any gcc2 internal prototype to avoid an error. */
4800 /* We use char because int might match the return type of a gcc2 4814 /* We use char because int might match the return type of a gcc2
4801 builtin and then its argument prototype would still apply. */ 4815 builtin and then its argument prototype would still apply. */
4802 char remove(); 4816 char remove();
4803 4817
4804 int main() { 4818 int main() {
4805 remove() 4819 remove()
4806 ; return 0; } 4820 ; return 0; }
4807 EOF 4821 EOF
4808 if { (eval echo configure:4809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4822 if { (eval echo configure:4823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4809 rm -rf conftest* 4823 rm -rf conftest*
4810 eval "ac_cv_lib_$ac_lib_var=yes" 4824 eval "ac_cv_lib_$ac_lib_var=yes"
4811 else 4825 else
4812 echo "configure: failed program was:" >&5 4826 echo "configure: failed program was:" >&5
4813 cat conftest.$ac_ext >&5 4827 cat conftest.$ac_ext >&5
4827 4841
4828 fi 4842 fi
4829 4843
4830 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 4844 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4831 echo $ac_n "checking for shmat""... $ac_c" 1>&6 4845 echo $ac_n "checking for shmat""... $ac_c" 1>&6
4832 echo "configure:4833: checking for shmat" >&5 4846 echo "configure:4847: checking for shmat" >&5
4833 4847
4834 cat > conftest.$ac_ext <<EOF 4848 cat > conftest.$ac_ext <<EOF
4835 #line 4836 "configure" 4849 #line 4850 "configure"
4836 #include "confdefs.h" 4850 #include "confdefs.h"
4837 /* System header to define __stub macros and hopefully few prototypes, 4851 /* System header to define __stub macros and hopefully few prototypes,
4838 which can conflict with char shmat(); below. */ 4852 which can conflict with char shmat(); below. */
4839 #include <assert.h> 4853 #include <assert.h>
4840 /* Override any gcc2 internal prototype to avoid an error. */ 4854 /* Override any gcc2 internal prototype to avoid an error. */
4853 shmat(); 4867 shmat();
4854 #endif 4868 #endif
4855 4869
4856 ; return 0; } 4870 ; return 0; }
4857 EOF 4871 EOF
4858 if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4872 if { (eval echo configure:4873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4859 rm -rf conftest* 4873 rm -rf conftest*
4860 eval "ac_cv_func_shmat=yes" 4874 eval "ac_cv_func_shmat=yes"
4861 else 4875 else
4862 echo "configure: failed program was:" >&5 4876 echo "configure: failed program was:" >&5
4863 cat conftest.$ac_ext >&5 4877 cat conftest.$ac_ext >&5
4874 fi 4888 fi
4875 4889
4876 if test $ac_cv_func_shmat = no; then 4890 if test $ac_cv_func_shmat = no; then
4877 4891
4878 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 4892 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
4879 echo "configure:4880: checking for shmat in -lipc" >&5 4893 echo "configure:4894: checking for shmat in -lipc" >&5
4880 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 4894 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
4881 4895
4882 xe_check_libs=" -lipc " 4896 xe_check_libs=" -lipc "
4883 cat > conftest.$ac_ext <<EOF 4897 cat > conftest.$ac_ext <<EOF
4884 #line 4885 "configure" 4898 #line 4899 "configure"
4885 #include "confdefs.h" 4899 #include "confdefs.h"
4886 /* Override any gcc2 internal prototype to avoid an error. */ 4900 /* Override any gcc2 internal prototype to avoid an error. */
4887 /* We use char because int might match the return type of a gcc2 4901 /* We use char because int might match the return type of a gcc2
4888 builtin and then its argument prototype would still apply. */ 4902 builtin and then its argument prototype would still apply. */
4889 char shmat(); 4903 char shmat();
4890 4904
4891 int main() { 4905 int main() {
4892 shmat() 4906 shmat()
4893 ; return 0; } 4907 ; return 0; }
4894 EOF 4908 EOF
4895 if { (eval echo configure:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4896 rm -rf conftest* 4910 rm -rf conftest*
4897 eval "ac_cv_lib_$ac_lib_var=yes" 4911 eval "ac_cv_lib_$ac_lib_var=yes"
4898 else 4912 else
4899 echo "configure: failed program was:" >&5 4913 echo "configure: failed program was:" >&5
4900 cat conftest.$ac_ext >&5 4914 cat conftest.$ac_ext >&5
4924 # These have to be linked with before -lX11, unlike the other 4938 # These have to be linked with before -lX11, unlike the other
4925 # libraries we check for below, so use a different variable. 4939 # libraries we check for below, so use a different variable.
4926 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 4940 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
4927 4941
4928 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 4942 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
4929 echo "configure:4930: checking for IceConnectionNumber in -lICE" >&5 4943 echo "configure:4944: checking for IceConnectionNumber in -lICE" >&5
4930 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 4944 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
4931 4945
4932 xe_check_libs=" -lICE " 4946 xe_check_libs=" -lICE "
4933 cat > conftest.$ac_ext <<EOF 4947 cat > conftest.$ac_ext <<EOF
4934 #line 4935 "configure" 4948 #line 4949 "configure"
4935 #include "confdefs.h" 4949 #include "confdefs.h"
4936 /* Override any gcc2 internal prototype to avoid an error. */ 4950 /* Override any gcc2 internal prototype to avoid an error. */
4937 /* We use char because int might match the return type of a gcc2 4951 /* We use char because int might match the return type of a gcc2
4938 builtin and then its argument prototype would still apply. */ 4952 builtin and then its argument prototype would still apply. */
4939 char IceConnectionNumber(); 4953 char IceConnectionNumber();
4940 4954
4941 int main() { 4955 int main() {
4942 IceConnectionNumber() 4956 IceConnectionNumber()
4943 ; return 0; } 4957 ; return 0; }
4944 EOF 4958 EOF
4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4959 if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4946 rm -rf conftest* 4960 rm -rf conftest*
4947 eval "ac_cv_lib_$ac_lib_var=yes" 4961 eval "ac_cv_lib_$ac_lib_var=yes"
4948 else 4962 else
4949 echo "configure: failed program was:" >&5 4963 echo "configure: failed program was:" >&5
4950 cat conftest.$ac_ext >&5 4964 cat conftest.$ac_ext >&5
4977 no ) window_system=none HAVE_X_WINDOWS=no ;; 4991 no ) window_system=none HAVE_X_WINDOWS=no ;;
4978 esac 4992 esac
4979 4993
4980 if test "$window_system" = "none" && test -z "$with_tty"; then 4994 if test "$window_system" = "none" && test -z "$with_tty"; then
4981 echo "checking for MS-Windows" 1>&6 4995 echo "checking for MS-Windows" 1>&6
4982 echo "configure:4983: checking for MS-Windows" >&5 4996 echo "configure:4997: checking for MS-Windows" >&5
4983 4997
4984 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 4998 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
4985 echo "configure:4986: checking for main in -lgdi32" >&5 4999 echo "configure:5000: checking for main in -lgdi32" >&5
4986 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 5000 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
4987 5001
4988 xe_check_libs=" -lgdi32 " 5002 xe_check_libs=" -lgdi32 "
4989 cat > conftest.$ac_ext <<EOF 5003 cat > conftest.$ac_ext <<EOF
4990 #line 4991 "configure" 5004 #line 5005 "configure"
4991 #include "confdefs.h" 5005 #include "confdefs.h"
4992 5006
4993 int main() { 5007 int main() {
4994 main() 5008 main()
4995 ; return 0; } 5009 ; return 0; }
4996 EOF 5010 EOF
4997 if { (eval echo configure:4998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5011 if { (eval echo configure:5012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4998 rm -rf conftest* 5012 rm -rf conftest*
4999 eval "ac_cv_lib_$ac_lib_var=yes" 5013 eval "ac_cv_lib_$ac_lib_var=yes"
5000 else 5014 else
5001 echo "configure: failed program was:" >&5 5015 echo "configure: failed program was:" >&5
5002 cat conftest.$ac_ext >&5 5016 cat conftest.$ac_ext >&5
5033 fi 5047 fi
5034 with_dialogs=msw 5048 with_dialogs=msw
5035 with_toolbars=no 5049 with_toolbars=no
5036 with_tty=no 5050 with_tty=no
5037 const_is_losing=no 5051 const_is_losing=no
5038 #with_mule_coding=yes 5052 with_file_coding=yes
5039 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o gif_err.o gifalloc.o dgif_lib.o" && if test "$extra_verbose" = "yes"; then 5053 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o gif_err.o gifalloc.o dgif_lib.o" && if test "$extra_verbose" = "yes"; then
5040 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o gif_err.o gifalloc.o dgif_lib.o\"" 5054 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o gif_err.o gifalloc.o dgif_lib.o\""
5041 fi 5055 fi
5042 fi 5056 fi
5043 fi 5057 fi
5138 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done 5152 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done
5139 echo 5153 echo
5140 fi 5154 fi
5141 5155
5142 echo "checking for X defines extracted by xmkmf" 1>&6 5156 echo "checking for X defines extracted by xmkmf" 1>&6
5143 echo "configure:5144: checking for X defines extracted by xmkmf" >&5 5157 echo "configure:5158: checking for X defines extracted by xmkmf" >&5
5144 rm -fr conftestdir 5158 rm -fr conftestdir
5145 if mkdir conftestdir; then 5159 if mkdir conftestdir; then
5146 cd conftestdir 5160 cd conftestdir
5147 cat > Imakefile <<'EOF' 5161 cat > Imakefile <<'EOF'
5148 xetest: 5162 xetest:
5170 done 5184 done
5171 fi 5185 fi
5172 5186
5173 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 5187 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
5174 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 5188 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
5175 echo "configure:5176: checking for X11/Intrinsic.h" >&5 5189 echo "configure:5190: checking for X11/Intrinsic.h" >&5
5176 5190
5177 cat > conftest.$ac_ext <<EOF 5191 cat > conftest.$ac_ext <<EOF
5178 #line 5179 "configure" 5192 #line 5193 "configure"
5179 #include "confdefs.h" 5193 #include "confdefs.h"
5180 #include <X11/Intrinsic.h> 5194 #include <X11/Intrinsic.h>
5181 EOF 5195 EOF
5182 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5183 { (eval echo configure:5184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5197 { (eval echo configure:5198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5184 ac_err=`grep -v '^ *+' conftest.out` 5198 ac_err=`grep -v '^ *+' conftest.out`
5185 if test -z "$ac_err"; then 5199 if test -z "$ac_err"; then
5186 rm -rf conftest* 5200 rm -rf conftest*
5187 eval "ac_cv_header_$ac_safe=yes" 5201 eval "ac_cv_header_$ac_safe=yes"
5188 else 5202 else
5202 fi 5216 fi
5203 5217
5204 5218
5205 5219
5206 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 5220 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
5207 echo "configure:5208: checking for XOpenDisplay in -lX11" >&5 5221 echo "configure:5222: checking for XOpenDisplay in -lX11" >&5
5208 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 5222 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
5209 5223
5210 xe_check_libs=" -lX11 " 5224 xe_check_libs=" -lX11 "
5211 cat > conftest.$ac_ext <<EOF 5225 cat > conftest.$ac_ext <<EOF
5212 #line 5213 "configure" 5226 #line 5227 "configure"
5213 #include "confdefs.h" 5227 #include "confdefs.h"
5214 /* Override any gcc2 internal prototype to avoid an error. */ 5228 /* Override any gcc2 internal prototype to avoid an error. */
5215 /* We use char because int might match the return type of a gcc2 5229 /* We use char because int might match the return type of a gcc2
5216 builtin and then its argument prototype would still apply. */ 5230 builtin and then its argument prototype would still apply. */
5217 char XOpenDisplay(); 5231 char XOpenDisplay();
5218 5232
5219 int main() { 5233 int main() {
5220 XOpenDisplay() 5234 XOpenDisplay()
5221 ; return 0; } 5235 ; return 0; }
5222 EOF 5236 EOF
5223 if { (eval echo configure:5224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5237 if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5224 rm -rf conftest* 5238 rm -rf conftest*
5225 eval "ac_cv_lib_$ac_lib_var=yes" 5239 eval "ac_cv_lib_$ac_lib_var=yes"
5226 else 5240 else
5227 echo "configure: failed program was:" >&5 5241 echo "configure: failed program was:" >&5
5228 cat conftest.$ac_ext >&5 5242 cat conftest.$ac_ext >&5
5243 if test "$have_lib_x11" != "yes"; then 5257 if test "$have_lib_x11" != "yes"; then
5244 5258
5245 xe_msg_checking="for XGetFontProperty in -lX11" 5259 xe_msg_checking="for XGetFontProperty in -lX11"
5246 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 5260 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
5247 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5261 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5248 echo "configure:5249: checking "$xe_msg_checking"" >&5 5262 echo "configure:5263: checking "$xe_msg_checking"" >&5
5249 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 5263 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
5250 5264
5251 xe_check_libs=" -lX11 -b i486-linuxaout" 5265 xe_check_libs=" -lX11 -b i486-linuxaout"
5252 cat > conftest.$ac_ext <<EOF 5266 cat > conftest.$ac_ext <<EOF
5253 #line 5254 "configure" 5267 #line 5268 "configure"
5254 #include "confdefs.h" 5268 #include "confdefs.h"
5255 /* Override any gcc2 internal prototype to avoid an error. */ 5269 /* Override any gcc2 internal prototype to avoid an error. */
5256 /* We use char because int might match the return type of a gcc2 5270 /* We use char because int might match the return type of a gcc2
5257 builtin and then its argument prototype would still apply. */ 5271 builtin and then its argument prototype would still apply. */
5258 char XGetFontProperty(); 5272 char XGetFontProperty();
5259 5273
5260 int main() { 5274 int main() {
5261 XGetFontProperty() 5275 XGetFontProperty()
5262 ; return 0; } 5276 ; return 0; }
5263 EOF 5277 EOF
5264 if { (eval echo configure:5265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5278 if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5265 rm -rf conftest* 5279 rm -rf conftest*
5266 eval "ac_cv_lib_$ac_lib_var=yes" 5280 eval "ac_cv_lib_$ac_lib_var=yes"
5267 else 5281 else
5268 echo "configure: failed program was:" >&5 5282 echo "configure: failed program was:" >&5
5269 cat conftest.$ac_ext >&5 5283 cat conftest.$ac_ext >&5
5286 libs_x="-lX11" 5300 libs_x="-lX11"
5287 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 5301 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
5288 5302
5289 5303
5290 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 5304 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
5291 echo "configure:5292: checking for XShapeSelectInput in -lXext" >&5 5305 echo "configure:5306: checking for XShapeSelectInput in -lXext" >&5
5292 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 5306 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
5293 5307
5294 xe_check_libs=" -lXext " 5308 xe_check_libs=" -lXext "
5295 cat > conftest.$ac_ext <<EOF 5309 cat > conftest.$ac_ext <<EOF
5296 #line 5297 "configure" 5310 #line 5311 "configure"
5297 #include "confdefs.h" 5311 #include "confdefs.h"
5298 /* Override any gcc2 internal prototype to avoid an error. */ 5312 /* Override any gcc2 internal prototype to avoid an error. */
5299 /* We use char because int might match the return type of a gcc2 5313 /* We use char because int might match the return type of a gcc2
5300 builtin and then its argument prototype would still apply. */ 5314 builtin and then its argument prototype would still apply. */
5301 char XShapeSelectInput(); 5315 char XShapeSelectInput();
5302 5316
5303 int main() { 5317 int main() {
5304 XShapeSelectInput() 5318 XShapeSelectInput()
5305 ; return 0; } 5319 ; return 0; }
5306 EOF 5320 EOF
5307 if { (eval echo configure:5308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5321 if { (eval echo configure:5322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5308 rm -rf conftest* 5322 rm -rf conftest*
5309 eval "ac_cv_lib_$ac_lib_var=yes" 5323 eval "ac_cv_lib_$ac_lib_var=yes"
5310 else 5324 else
5311 echo "configure: failed program was:" >&5 5325 echo "configure: failed program was:" >&5
5312 cat conftest.$ac_ext >&5 5326 cat conftest.$ac_ext >&5
5325 5339
5326 5340
5327 5341
5328 5342
5329 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 5343 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
5330 echo "configure:5331: checking for XtOpenDisplay in -lXt" >&5 5344 echo "configure:5345: checking for XtOpenDisplay in -lXt" >&5
5331 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 5345 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
5332 5346
5333 xe_check_libs=" -lXt " 5347 xe_check_libs=" -lXt "
5334 cat > conftest.$ac_ext <<EOF 5348 cat > conftest.$ac_ext <<EOF
5335 #line 5336 "configure" 5349 #line 5350 "configure"
5336 #include "confdefs.h" 5350 #include "confdefs.h"
5337 /* Override any gcc2 internal prototype to avoid an error. */ 5351 /* Override any gcc2 internal prototype to avoid an error. */
5338 /* We use char because int might match the return type of a gcc2 5352 /* We use char because int might match the return type of a gcc2
5339 builtin and then its argument prototype would still apply. */ 5353 builtin and then its argument prototype would still apply. */
5340 char XtOpenDisplay(); 5354 char XtOpenDisplay();
5341 5355
5342 int main() { 5356 int main() {
5343 XtOpenDisplay() 5357 XtOpenDisplay()
5344 ; return 0; } 5358 ; return 0; }
5345 EOF 5359 EOF
5346 if { (eval echo configure:5347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5360 if { (eval echo configure:5361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5347 rm -rf conftest* 5361 rm -rf conftest*
5348 eval "ac_cv_lib_$ac_lib_var=yes" 5362 eval "ac_cv_lib_$ac_lib_var=yes"
5349 else 5363 else
5350 echo "configure: failed program was:" >&5 5364 echo "configure: failed program was:" >&5
5351 cat conftest.$ac_ext >&5 5365 cat conftest.$ac_ext >&5
5364 fi 5378 fi
5365 5379
5366 5380
5367 5381
5368 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 5382 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
5369 echo "configure:5370: checking the version of X11 being used" >&5 5383 echo "configure:5384: checking the version of X11 being used" >&5
5370 cat > conftest.$ac_ext <<EOF 5384 cat > conftest.$ac_ext <<EOF
5371 #line 5372 "configure" 5385 #line 5386 "configure"
5372 #include "confdefs.h" 5386 #include "confdefs.h"
5373 #include <X11/Intrinsic.h> 5387 #include <X11/Intrinsic.h>
5374 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } 5388 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; }
5375 EOF 5389 EOF
5376 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 5390 if { (eval echo configure:5391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
5377 then 5391 then
5378 ./conftest foobar; x11_release=$? 5392 ./conftest foobar; x11_release=$?
5379 else 5393 else
5380 echo "configure: failed program was:" >&5 5394 echo "configure: failed program was:" >&5
5381 cat conftest.$ac_ext >&5 5395 cat conftest.$ac_ext >&5
5395 5409
5396 for ac_hdr in X11/Xlocale.h 5410 for ac_hdr in X11/Xlocale.h
5397 do 5411 do
5398 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5412 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5399 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5413 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5400 echo "configure:5401: checking for $ac_hdr" >&5 5414 echo "configure:5415: checking for $ac_hdr" >&5
5401 5415
5402 cat > conftest.$ac_ext <<EOF 5416 cat > conftest.$ac_ext <<EOF
5403 #line 5404 "configure" 5417 #line 5418 "configure"
5404 #include "confdefs.h" 5418 #include "confdefs.h"
5405 #include <$ac_hdr> 5419 #include <$ac_hdr>
5406 EOF 5420 EOF
5407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5408 { (eval echo configure:5409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5422 { (eval echo configure:5423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5409 ac_err=`grep -v '^ *+' conftest.out` 5423 ac_err=`grep -v '^ *+' conftest.out`
5410 if test -z "$ac_err"; then 5424 if test -z "$ac_err"; then
5411 rm -rf conftest* 5425 rm -rf conftest*
5412 eval "ac_cv_header_$ac_safe=yes" 5426 eval "ac_cv_header_$ac_safe=yes"
5413 else 5427 else
5434 fi 5448 fi
5435 done 5449 done
5436 5450
5437 5451
5438 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 5452 echo $ac_n "checking for XFree86""... $ac_c" 1>&6
5439 echo "configure:5440: checking for XFree86" >&5 5453 echo "configure:5454: checking for XFree86" >&5
5440 if test -d "/usr/X386/include" -o \ 5454 if test -d "/usr/X386/include" -o \
5441 -f "/etc/XF86Config" -o \ 5455 -f "/etc/XF86Config" -o \
5442 -f "/etc/X11/XF86Config" -o \ 5456 -f "/etc/X11/XF86Config" -o \
5443 -f "/usr/X11R6/lib/X11/XF86Config"; then 5457 -f "/usr/X11R6/lib/X11/XF86Config"; then
5444 echo "$ac_t""yes" 1>&6 5458 echo "$ac_t""yes" 1>&6
5454 echo "$ac_t""no" 1>&6 5468 echo "$ac_t""no" 1>&6
5455 fi 5469 fi
5456 5470
5457 test -z "$with_xmu" && { 5471 test -z "$with_xmu" && {
5458 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 5472 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
5459 echo "configure:5460: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 5473 echo "configure:5474: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
5460 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 5474 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
5461 5475
5462 xe_check_libs=" -lXmu " 5476 xe_check_libs=" -lXmu "
5463 cat > conftest.$ac_ext <<EOF 5477 cat > conftest.$ac_ext <<EOF
5464 #line 5465 "configure" 5478 #line 5479 "configure"
5465 #include "confdefs.h" 5479 #include "confdefs.h"
5466 /* Override any gcc2 internal prototype to avoid an error. */ 5480 /* Override any gcc2 internal prototype to avoid an error. */
5467 /* We use char because int might match the return type of a gcc2 5481 /* We use char because int might match the return type of a gcc2
5468 builtin and then its argument prototype would still apply. */ 5482 builtin and then its argument prototype would still apply. */
5469 char XmuReadBitmapDataFromFile(); 5483 char XmuReadBitmapDataFromFile();
5470 5484
5471 int main() { 5485 int main() {
5472 XmuReadBitmapDataFromFile() 5486 XmuReadBitmapDataFromFile()
5473 ; return 0; } 5487 ; return 0; }
5474 EOF 5488 EOF
5475 if { (eval echo configure:5476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5489 if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5476 rm -rf conftest* 5490 rm -rf conftest*
5477 eval "ac_cv_lib_$ac_lib_var=yes" 5491 eval "ac_cv_lib_$ac_lib_var=yes"
5478 else 5492 else
5479 echo "configure: failed program was:" >&5 5493 echo "configure: failed program was:" >&5
5480 cat conftest.$ac_ext >&5 5494 cat conftest.$ac_ext >&5
5509 5523
5510 fi 5524 fi
5511 5525
5512 5526
5513 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 5527 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
5514 echo "configure:5515: checking for main in -lXbsd" >&5 5528 echo "configure:5529: checking for main in -lXbsd" >&5
5515 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 5529 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
5516 5530
5517 xe_check_libs=" -lXbsd " 5531 xe_check_libs=" -lXbsd "
5518 cat > conftest.$ac_ext <<EOF 5532 cat > conftest.$ac_ext <<EOF
5519 #line 5520 "configure" 5533 #line 5534 "configure"
5520 #include "confdefs.h" 5534 #include "confdefs.h"
5521 5535
5522 int main() { 5536 int main() {
5523 main() 5537 main()
5524 ; return 0; } 5538 ; return 0; }
5525 EOF 5539 EOF
5526 if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5540 if { (eval echo configure:5541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5527 rm -rf conftest* 5541 rm -rf conftest*
5528 eval "ac_cv_lib_$ac_lib_var=yes" 5542 eval "ac_cv_lib_$ac_lib_var=yes"
5529 else 5543 else
5530 echo "configure: failed program was:" >&5 5544 echo "configure: failed program was:" >&5
5531 cat conftest.$ac_ext >&5 5545 cat conftest.$ac_ext >&5
5580 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 5594 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
5581 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 5595 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
5582 esac 5596 esac
5583 5597
5584 echo "checking for session-management option" 1>&6 5598 echo "checking for session-management option" 1>&6
5585 echo "configure:5586: checking for session-management option" >&5; 5599 echo "configure:5600: checking for session-management option" >&5;
5586 if test "$with_session" != "no"; then 5600 if test "$with_session" != "no"; then
5587 { test "$extra_verbose" = "yes" && cat << \EOF 5601 { test "$extra_verbose" = "yes" && cat << \EOF
5588 Defining HAVE_SESSION 5602 Defining HAVE_SESSION
5589 EOF 5603 EOF
5590 cat >> confdefs.h <<\EOF 5604 cat >> confdefs.h <<\EOF
5595 fi 5609 fi
5596 5610
5597 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 5611 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
5598 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 5612 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
5599 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 5613 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
5600 echo "configure:5601: checking for X11/Xauth.h" >&5 5614 echo "configure:5615: checking for X11/Xauth.h" >&5
5601 5615
5602 cat > conftest.$ac_ext <<EOF 5616 cat > conftest.$ac_ext <<EOF
5603 #line 5604 "configure" 5617 #line 5618 "configure"
5604 #include "confdefs.h" 5618 #include "confdefs.h"
5605 #include <X11/Xauth.h> 5619 #include <X11/Xauth.h>
5606 EOF 5620 EOF
5607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5608 { (eval echo configure:5609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5622 { (eval echo configure:5623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5609 ac_err=`grep -v '^ *+' conftest.out` 5623 ac_err=`grep -v '^ *+' conftest.out`
5610 if test -z "$ac_err"; then 5624 if test -z "$ac_err"; then
5611 rm -rf conftest* 5625 rm -rf conftest*
5612 eval "ac_cv_header_$ac_safe=yes" 5626 eval "ac_cv_header_$ac_safe=yes"
5613 else 5627 else
5626 with_xauth=no 5640 with_xauth=no
5627 fi 5641 fi
5628 } 5642 }
5629 test -z "$with_xauth" && { 5643 test -z "$with_xauth" && {
5630 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 5644 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
5631 echo "configure:5632: checking for XauGetAuthByAddr in -lXau" >&5 5645 echo "configure:5646: checking for XauGetAuthByAddr in -lXau" >&5
5632 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 5646 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
5633 5647
5634 xe_check_libs=" -lXau " 5648 xe_check_libs=" -lXau "
5635 cat > conftest.$ac_ext <<EOF 5649 cat > conftest.$ac_ext <<EOF
5636 #line 5637 "configure" 5650 #line 5651 "configure"
5637 #include "confdefs.h" 5651 #include "confdefs.h"
5638 /* Override any gcc2 internal prototype to avoid an error. */ 5652 /* Override any gcc2 internal prototype to avoid an error. */
5639 /* We use char because int might match the return type of a gcc2 5653 /* We use char because int might match the return type of a gcc2
5640 builtin and then its argument prototype would still apply. */ 5654 builtin and then its argument prototype would still apply. */
5641 char XauGetAuthByAddr(); 5655 char XauGetAuthByAddr();
5642 5656
5643 int main() { 5657 int main() {
5644 XauGetAuthByAddr() 5658 XauGetAuthByAddr()
5645 ; return 0; } 5659 ; return 0; }
5646 EOF 5660 EOF
5647 if { (eval echo configure:5648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5648 rm -rf conftest* 5662 rm -rf conftest*
5649 eval "ac_cv_lib_$ac_lib_var=yes" 5663 eval "ac_cv_lib_$ac_lib_var=yes"
5650 else 5664 else
5651 echo "configure: failed program was:" >&5 5665 echo "configure: failed program was:" >&5
5652 cat conftest.$ac_ext >&5 5666 cat conftest.$ac_ext >&5
5706 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk 5720 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk
5707 if test "$with_tooltalk" != "no" ; then 5721 if test "$with_tooltalk" != "no" ; then
5708 for dir in "" "Tt/" "desktop/" ; do 5722 for dir in "" "Tt/" "desktop/" ; do
5709 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 5723 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
5710 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 5724 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
5711 echo "configure:5712: checking for ${dir}tt_c.h" >&5 5725 echo "configure:5726: checking for ${dir}tt_c.h" >&5
5712 5726
5713 cat > conftest.$ac_ext <<EOF 5727 cat > conftest.$ac_ext <<EOF
5714 #line 5715 "configure" 5728 #line 5729 "configure"
5715 #include "confdefs.h" 5729 #include "confdefs.h"
5716 #include <${dir}tt_c.h> 5730 #include <${dir}tt_c.h>
5717 EOF 5731 EOF
5718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5719 { (eval echo configure:5720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5733 { (eval echo configure:5734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5720 ac_err=`grep -v '^ *+' conftest.out` 5734 ac_err=`grep -v '^ *+' conftest.out`
5721 if test -z "$ac_err"; then 5735 if test -z "$ac_err"; then
5722 rm -rf conftest* 5736 rm -rf conftest*
5723 eval "ac_cv_header_$ac_safe=yes" 5737 eval "ac_cv_header_$ac_safe=yes"
5724 else 5738 else
5743 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 5757 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
5744 5758
5745 xe_msg_checking="for tt_message_create in -ltt" 5759 xe_msg_checking="for tt_message_create in -ltt"
5746 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 5760 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
5747 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5761 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5748 echo "configure:5749: checking "$xe_msg_checking"" >&5 5762 echo "configure:5763: checking "$xe_msg_checking"" >&5
5749 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 5763 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
5750 5764
5751 xe_check_libs=" -ltt $extra_libs" 5765 xe_check_libs=" -ltt $extra_libs"
5752 cat > conftest.$ac_ext <<EOF 5766 cat > conftest.$ac_ext <<EOF
5753 #line 5754 "configure" 5767 #line 5768 "configure"
5754 #include "confdefs.h" 5768 #include "confdefs.h"
5755 /* Override any gcc2 internal prototype to avoid an error. */ 5769 /* Override any gcc2 internal prototype to avoid an error. */
5756 /* We use char because int might match the return type of a gcc2 5770 /* We use char because int might match the return type of a gcc2
5757 builtin and then its argument prototype would still apply. */ 5771 builtin and then its argument prototype would still apply. */
5758 char tt_message_create(); 5772 char tt_message_create();
5759 5773
5760 int main() { 5774 int main() {
5761 tt_message_create() 5775 tt_message_create()
5762 ; return 0; } 5776 ; return 0; }
5763 EOF 5777 EOF
5764 if { (eval echo configure:5765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5778 if { (eval echo configure:5779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5765 rm -rf conftest* 5779 rm -rf conftest*
5766 eval "ac_cv_lib_$ac_lib_var=yes" 5780 eval "ac_cv_lib_$ac_lib_var=yes"
5767 else 5781 else
5768 echo "configure: failed program was:" >&5 5782 echo "configure: failed program was:" >&5
5769 cat conftest.$ac_ext >&5 5783 cat conftest.$ac_ext >&5
5808 fi 5822 fi
5809 fi 5823 fi
5810 5824
5811 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 5825 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
5812 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 5826 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
5813 echo "configure:5814: checking for Dt/Dt.h" >&5 5827 echo "configure:5828: checking for Dt/Dt.h" >&5
5814 5828
5815 cat > conftest.$ac_ext <<EOF 5829 cat > conftest.$ac_ext <<EOF
5816 #line 5817 "configure" 5830 #line 5831 "configure"
5817 #include "confdefs.h" 5831 #include "confdefs.h"
5818 #include <Dt/Dt.h> 5832 #include <Dt/Dt.h>
5819 EOF 5833 EOF
5820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5821 { (eval echo configure:5822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5835 { (eval echo configure:5836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5822 ac_err=`grep -v '^ *+' conftest.out` 5836 ac_err=`grep -v '^ *+' conftest.out`
5823 if test -z "$ac_err"; then 5837 if test -z "$ac_err"; then
5824 rm -rf conftest* 5838 rm -rf conftest*
5825 eval "ac_cv_header_$ac_safe=yes" 5839 eval "ac_cv_header_$ac_safe=yes"
5826 else 5840 else
5839 with_cde=no 5853 with_cde=no
5840 fi 5854 fi
5841 } 5855 }
5842 test -z "$with_cde" && { 5856 test -z "$with_cde" && {
5843 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 5857 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
5844 echo "configure:5845: checking for DtDndDragStart in -lDtSvc" >&5 5858 echo "configure:5859: checking for DtDndDragStart in -lDtSvc" >&5
5845 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 5859 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
5846 5860
5847 xe_check_libs=" -lDtSvc " 5861 xe_check_libs=" -lDtSvc "
5848 cat > conftest.$ac_ext <<EOF 5862 cat > conftest.$ac_ext <<EOF
5849 #line 5850 "configure" 5863 #line 5864 "configure"
5850 #include "confdefs.h" 5864 #include "confdefs.h"
5851 /* Override any gcc2 internal prototype to avoid an error. */ 5865 /* Override any gcc2 internal prototype to avoid an error. */
5852 /* We use char because int might match the return type of a gcc2 5866 /* We use char because int might match the return type of a gcc2
5853 builtin and then its argument prototype would still apply. */ 5867 builtin and then its argument prototype would still apply. */
5854 char DtDndDragStart(); 5868 char DtDndDragStart();
5855 5869
5856 int main() { 5870 int main() {
5857 DtDndDragStart() 5871 DtDndDragStart()
5858 ; return 0; } 5872 ; return 0; }
5859 EOF 5873 EOF
5860 if { (eval echo configure:5861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5874 if { (eval echo configure:5875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5861 rm -rf conftest* 5875 rm -rf conftest*
5862 eval "ac_cv_lib_$ac_lib_var=yes" 5876 eval "ac_cv_lib_$ac_lib_var=yes"
5863 else 5877 else
5864 echo "configure: failed program was:" >&5 5878 echo "configure: failed program was:" >&5
5865 cat conftest.$ac_ext >&5 5879 cat conftest.$ac_ext >&5
5891 libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi 5905 libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi
5892 with_tooltalk=yes # CDE requires Tooltalk 5906 with_tooltalk=yes # CDE requires Tooltalk
5893 need_motif=yes # CDE requires Motif 5907 need_motif=yes # CDE requires Motif
5894 fi 5908 fi
5895 5909
5910 echo "checking for LDAP" 1>&6
5911 echo "configure:5912: checking for LDAP" >&5
5912 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
5913 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
5914 echo "configure:5915: checking for ldap.h" >&5
5915
5916 cat > conftest.$ac_ext <<EOF
5917 #line 5918 "configure"
5918 #include "confdefs.h"
5919 #include <ldap.h>
5920 EOF
5921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5922 { (eval echo configure:5923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5923 ac_err=`grep -v '^ *+' conftest.out`
5924 if test -z "$ac_err"; then
5925 rm -rf conftest*
5926 eval "ac_cv_header_$ac_safe=yes"
5927 else
5928 echo "$ac_err" >&5
5929 echo "configure: failed program was:" >&5
5930 cat conftest.$ac_ext >&5
5931 rm -rf conftest*
5932 eval "ac_cv_header_$ac_safe=no"
5933 fi
5934 rm -f conftest*
5935 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5936 echo "$ac_t""yes" 1>&6
5937 :
5938 else
5939 echo "$ac_t""no" 1>&6
5940 with_ldap=no
5941 fi
5942 }
5943 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
5944 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
5945 echo "configure:5946: checking for lber.h" >&5
5946
5947 cat > conftest.$ac_ext <<EOF
5948 #line 5949 "configure"
5949 #include "confdefs.h"
5950 #include <lber.h>
5951 EOF
5952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5953 { (eval echo configure:5954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5954 ac_err=`grep -v '^ *+' conftest.out`
5955 if test -z "$ac_err"; then
5956 rm -rf conftest*
5957 eval "ac_cv_header_$ac_safe=yes"
5958 else
5959 echo "$ac_err" >&5
5960 echo "configure: failed program was:" >&5
5961 cat conftest.$ac_ext >&5
5962 rm -rf conftest*
5963 eval "ac_cv_header_$ac_safe=no"
5964 fi
5965 rm -f conftest*
5966 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5967 echo "$ac_t""yes" 1>&6
5968 :
5969 else
5970 echo "$ac_t""no" 1>&6
5971 with_ldap=no
5972 fi
5973 }
5974 test -z "$with_ldap" -o "$with_ldap" = "yes" && {
5975 xe_msg_checking="for ldap_open in -lldap"
5976 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
5977 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5978 echo "configure:5979: checking "$xe_msg_checking"" >&5
5979 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
5980
5981 xe_check_libs=" -lldap -llber"
5982 cat > conftest.$ac_ext <<EOF
5983 #line 5984 "configure"
5984 #include "confdefs.h"
5985 /* Override any gcc2 internal prototype to avoid an error. */
5986 /* We use char because int might match the return type of a gcc2
5987 builtin and then its argument prototype would still apply. */
5988 char ldap_open();
5989
5990 int main() {
5991 ldap_open()
5992 ; return 0; }
5993 EOF
5994 if { (eval echo configure:5995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5995 rm -rf conftest*
5996 eval "ac_cv_lib_$ac_lib_var=yes"
5997 else
5998 echo "configure: failed program was:" >&5
5999 cat conftest.$ac_ext >&5
6000 rm -rf conftest*
6001 eval "ac_cv_lib_$ac_lib_var=no"
6002 fi
6003 rm -f conftest*
6004 xe_check_libs=""
6005
6006 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
6007 echo "$ac_t""yes" 1>&6
6008 with_umich_ldap=yes
6009 else
6010 echo "$ac_t""no" 1>&6
6011 with_umich_ldap=no
6012 fi
6013
6014 }
6015 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && {
6016 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6
6017 echo "configure:6018: checking for ldap_set_option in -lldap10" >&5
6018 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'`
6019
6020 xe_check_libs=" -lldap10 "
6021 cat > conftest.$ac_ext <<EOF
6022 #line 6023 "configure"
6023 #include "confdefs.h"
6024 /* Override any gcc2 internal prototype to avoid an error. */
6025 /* We use char because int might match the return type of a gcc2
6026 builtin and then its argument prototype would still apply. */
6027 char ldap_set_option();
6028
6029 int main() {
6030 ldap_set_option()
6031 ; return 0; }
6032 EOF
6033 if { (eval echo configure:6034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6034 rm -rf conftest*
6035 eval "ac_cv_lib_$ac_lib_var=yes"
6036 else
6037 echo "configure: failed program was:" >&5
6038 cat conftest.$ac_ext >&5
6039 rm -rf conftest*
6040 eval "ac_cv_lib_$ac_lib_var=no"
6041 fi
6042 rm -f conftest*
6043 xe_check_libs=""
6044
6045 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
6046 echo "$ac_t""yes" 1>&6
6047 with_ns_ldap=yes
6048 else
6049 echo "$ac_t""no" 1>&6
6050 with_ns_ldap=no
6051 fi
6052
6053 }
6054 test -z "$with_ldap" -a \( "$with_umich_ldap" = "yes" -o "$with_ns_ldap" = "yes" \) && with_ldap=yes
6055 if test "$with_ldap" = "yes" -a "$with_umich_ldap" = "yes" ; then
6056 { test "$extra_verbose" = "yes" && cat << \EOF
6057 Defining HAVE_LDAP
6058 EOF
6059 cat >> confdefs.h <<\EOF
6060 #define HAVE_LDAP 1
6061 EOF
6062 }
6063
6064 { test "$extra_verbose" = "yes" && cat << \EOF
6065 Defining HAVE_UMICH_LDAP
6066 EOF
6067 cat >> confdefs.h <<\EOF
6068 #define HAVE_UMICH_LDAP 1
6069 EOF
6070 }
6071
6072 LIBS="-llber $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$LIBS"; fi
6073 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi
6074 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then
6075 echo " xemacs will be linked with \"eldap.o\""
6076 fi
6077 elif test "$with_ldap" = "yes" -a "$with_ns_ldap" = "yes" ; then
6078 { test "$extra_verbose" = "yes" && cat << \EOF
6079 Defining HAVE_LDAP
6080 EOF
6081 cat >> confdefs.h <<\EOF
6082 #define HAVE_LDAP 1
6083 EOF
6084 }
6085
6086 { test "$extra_verbose" = "yes" && cat << \EOF
6087 Defining HAVE_NS_LDAP
6088 EOF
6089 cat >> confdefs.h <<\EOF
6090 #define HAVE_NS_LDAP 1
6091 EOF
6092 }
6093
6094 LIBS="-lldap10 $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap10\" to \$LIBS"; fi
6095 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then
6096 echo " xemacs will be linked with \"eldap.o\""
6097 fi
6098 fi
6099
5896 6100
5897 if test "$with_x11" = "yes"; then 6101 if test "$with_x11" = "yes"; then
5898 6102
5899 echo "checking for X11 graphics libraries" 1>&6 6103 echo "checking for X11 graphics libraries" 1>&6
5900 echo "configure:5901: checking for X11 graphics libraries" >&5 6104 echo "configure:6105: checking for X11 graphics libraries" >&5
5901 6105
5902 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 6106 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
5903 echo "configure:5904: checking for Xpm - no older than 3.4f" >&5 6107 echo "configure:6108: checking for Xpm - no older than 3.4f" >&5
5904 xe_check_libs=-lXpm 6108 xe_check_libs=-lXpm
5905 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF 6109 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF
5906 #line 5907 "configure" 6110 #line 6111 "configure"
5907 #include "confdefs.h" 6111 #include "confdefs.h"
5908 #include <X11/xpm.h> 6112 #include <X11/xpm.h>
5909 int main(int c, char **v) { 6113 int main(int c, char **v) {
5910 return c == 1 ? 0 : 6114 return c == 1 ? 0 :
5911 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 6115 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
5912 XpmIncludeVersion < 30406 ? 2 : 6116 XpmIncludeVersion < 30406 ? 2 :
5913 0 ; 6117 0 ;
5914 } 6118 }
5915 EOF 6119 EOF
5916 if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
5917 then 6121 then
5918 ./conftest foobar; xpm_status=$?; 6122 ./conftest foobar; xpm_status=$?;
5919 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; 6123 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi;
5920 else 6124 else
5921 echo "configure: failed program was:" >&5 6125 echo "configure: failed program was:" >&5
5949 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 6153 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
5950 fi 6154 fi
5951 6155
5952 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 6156 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
5953 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 6157 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
5954 echo "configure:5955: checking for compface.h" >&5 6158 echo "configure:6159: checking for compface.h" >&5
5955 6159
5956 cat > conftest.$ac_ext <<EOF 6160 cat > conftest.$ac_ext <<EOF
5957 #line 5958 "configure" 6161 #line 6162 "configure"
5958 #include "confdefs.h" 6162 #include "confdefs.h"
5959 #include <compface.h> 6163 #include <compface.h>
5960 EOF 6164 EOF
5961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5962 { (eval echo configure:5963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6166 { (eval echo configure:6167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5963 ac_err=`grep -v '^ *+' conftest.out` 6167 ac_err=`grep -v '^ *+' conftest.out`
5964 if test -z "$ac_err"; then 6168 if test -z "$ac_err"; then
5965 rm -rf conftest* 6169 rm -rf conftest*
5966 eval "ac_cv_header_$ac_safe=yes" 6170 eval "ac_cv_header_$ac_safe=yes"
5967 else 6171 else
5980 with_xface=no 6184 with_xface=no
5981 fi 6185 fi
5982 } 6186 }
5983 test -z "$with_xface" && { 6187 test -z "$with_xface" && {
5984 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 6188 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
5985 echo "configure:5986: checking for UnGenFace in -lcompface" >&5 6189 echo "configure:6190: checking for UnGenFace in -lcompface" >&5
5986 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 6190 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
5987 6191
5988 xe_check_libs=" -lcompface " 6192 xe_check_libs=" -lcompface "
5989 cat > conftest.$ac_ext <<EOF 6193 cat > conftest.$ac_ext <<EOF
5990 #line 5991 "configure" 6194 #line 6195 "configure"
5991 #include "confdefs.h" 6195 #include "confdefs.h"
5992 /* Override any gcc2 internal prototype to avoid an error. */ 6196 /* Override any gcc2 internal prototype to avoid an error. */
5993 /* We use char because int might match the return type of a gcc2 6197 /* We use char because int might match the return type of a gcc2
5994 builtin and then its argument prototype would still apply. */ 6198 builtin and then its argument prototype would still apply. */
5995 char UnGenFace(); 6199 char UnGenFace();
5996 6200
5997 int main() { 6201 int main() {
5998 UnGenFace() 6202 UnGenFace()
5999 ; return 0; } 6203 ; return 0; }
6000 EOF 6204 EOF
6001 if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6205 if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6002 rm -rf conftest* 6206 rm -rf conftest*
6003 eval "ac_cv_lib_$ac_lib_var=yes" 6207 eval "ac_cv_lib_$ac_lib_var=yes"
6004 else 6208 else
6005 echo "configure: failed program was:" >&5 6209 echo "configure: failed program was:" >&5
6006 cat conftest.$ac_ext >&5 6210 cat conftest.$ac_ext >&5
6047 fi 6251 fi
6048 fi 6252 fi
6049 6253
6050 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 6254 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
6051 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 6255 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
6052 echo "configure:6053: checking for jpeglib.h" >&5 6256 echo "configure:6257: checking for jpeglib.h" >&5
6053 6257
6054 cat > conftest.$ac_ext <<EOF 6258 cat > conftest.$ac_ext <<EOF
6055 #line 6056 "configure" 6259 #line 6260 "configure"
6056 #include "confdefs.h" 6260 #include "confdefs.h"
6057 #include <jpeglib.h> 6261 #include <jpeglib.h>
6058 EOF 6262 EOF
6059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6060 { (eval echo configure:6061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6264 { (eval echo configure:6265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6061 ac_err=`grep -v '^ *+' conftest.out` 6265 ac_err=`grep -v '^ *+' conftest.out`
6062 if test -z "$ac_err"; then 6266 if test -z "$ac_err"; then
6063 rm -rf conftest* 6267 rm -rf conftest*
6064 eval "ac_cv_header_$ac_safe=yes" 6268 eval "ac_cv_header_$ac_safe=yes"
6065 else 6269 else
6078 with_jpeg=no 6282 with_jpeg=no
6079 fi 6283 fi
6080 } 6284 }
6081 test -z "$with_jpeg" && { 6285 test -z "$with_jpeg" && {
6082 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 6286 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
6083 echo "configure:6084: checking for jpeg_destroy_decompress in -ljpeg" >&5 6287 echo "configure:6288: checking for jpeg_destroy_decompress in -ljpeg" >&5
6084 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 6288 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
6085 6289
6086 xe_check_libs=" -ljpeg " 6290 xe_check_libs=" -ljpeg "
6087 cat > conftest.$ac_ext <<EOF 6291 cat > conftest.$ac_ext <<EOF
6088 #line 6089 "configure" 6292 #line 6293 "configure"
6089 #include "confdefs.h" 6293 #include "confdefs.h"
6090 /* Override any gcc2 internal prototype to avoid an error. */ 6294 /* Override any gcc2 internal prototype to avoid an error. */
6091 /* We use char because int might match the return type of a gcc2 6295 /* We use char because int might match the return type of a gcc2
6092 builtin and then its argument prototype would still apply. */ 6296 builtin and then its argument prototype would still apply. */
6093 char jpeg_destroy_decompress(); 6297 char jpeg_destroy_decompress();
6094 6298
6095 int main() { 6299 int main() {
6096 jpeg_destroy_decompress() 6300 jpeg_destroy_decompress()
6097 ; return 0; } 6301 ; return 0; }
6098 EOF 6302 EOF
6099 if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6100 rm -rf conftest* 6304 rm -rf conftest*
6101 eval "ac_cv_lib_$ac_lib_var=yes" 6305 eval "ac_cv_lib_$ac_lib_var=yes"
6102 else 6306 else
6103 echo "configure: failed program was:" >&5 6307 echo "configure: failed program was:" >&5
6104 cat conftest.$ac_ext >&5 6308 cat conftest.$ac_ext >&5
6130 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 6334 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
6131 fi 6335 fi
6132 6336
6133 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 6337 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
6134 echo $ac_n "checking for png.h""... $ac_c" 1>&6 6338 echo $ac_n "checking for png.h""... $ac_c" 1>&6
6135 echo "configure:6136: checking for png.h" >&5 6339 echo "configure:6340: checking for png.h" >&5
6136 6340
6137 cat > conftest.$ac_ext <<EOF 6341 cat > conftest.$ac_ext <<EOF
6138 #line 6139 "configure" 6342 #line 6343 "configure"
6139 #include "confdefs.h" 6343 #include "confdefs.h"
6140 #include <png.h> 6344 #include <png.h>
6141 EOF 6345 EOF
6142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6143 { (eval echo configure:6144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6347 { (eval echo configure:6348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6144 ac_err=`grep -v '^ *+' conftest.out` 6348 ac_err=`grep -v '^ *+' conftest.out`
6145 if test -z "$ac_err"; then 6349 if test -z "$ac_err"; then
6146 rm -rf conftest* 6350 rm -rf conftest*
6147 eval "ac_cv_header_$ac_safe=yes" 6351 eval "ac_cv_header_$ac_safe=yes"
6148 else 6352 else
6160 echo "$ac_t""no" 1>&6 6364 echo "$ac_t""no" 1>&6
6161 with_png=no 6365 with_png=no
6162 fi 6366 fi
6163 } 6367 }
6164 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 6368 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
6165 echo "configure:6166: checking for pow" >&5 6369 echo "configure:6370: checking for pow" >&5
6166 6370
6167 cat > conftest.$ac_ext <<EOF 6371 cat > conftest.$ac_ext <<EOF
6168 #line 6169 "configure" 6372 #line 6373 "configure"
6169 #include "confdefs.h" 6373 #include "confdefs.h"
6170 /* System header to define __stub macros and hopefully few prototypes, 6374 /* System header to define __stub macros and hopefully few prototypes,
6171 which can conflict with char pow(); below. */ 6375 which can conflict with char pow(); below. */
6172 #include <assert.h> 6376 #include <assert.h>
6173 /* Override any gcc2 internal prototype to avoid an error. */ 6377 /* Override any gcc2 internal prototype to avoid an error. */
6186 pow(); 6390 pow();
6187 #endif 6391 #endif
6188 6392
6189 ; return 0; } 6393 ; return 0; }
6190 EOF 6394 EOF
6191 if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6395 if { (eval echo configure:6396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6192 rm -rf conftest* 6396 rm -rf conftest*
6193 eval "ac_cv_func_pow=yes" 6397 eval "ac_cv_func_pow=yes"
6194 else 6398 else
6195 echo "configure: failed program was:" >&5 6399 echo "configure: failed program was:" >&5
6196 cat conftest.$ac_ext >&5 6400 cat conftest.$ac_ext >&5
6211 for extra_libs in "" "-lz" "-lgz"; do 6415 for extra_libs in "" "-lz" "-lgz"; do
6212 6416
6213 xe_msg_checking="for png_read_image in -lpng" 6417 xe_msg_checking="for png_read_image in -lpng"
6214 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6418 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6215 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6419 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6216 echo "configure:6217: checking "$xe_msg_checking"" >&5 6420 echo "configure:6421: checking "$xe_msg_checking"" >&5
6217 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 6421 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
6218 6422
6219 xe_check_libs=" -lpng $extra_libs" 6423 xe_check_libs=" -lpng $extra_libs"
6220 cat > conftest.$ac_ext <<EOF 6424 cat > conftest.$ac_ext <<EOF
6221 #line 6222 "configure" 6425 #line 6426 "configure"
6222 #include "confdefs.h" 6426 #include "confdefs.h"
6223 /* Override any gcc2 internal prototype to avoid an error. */ 6427 /* Override any gcc2 internal prototype to avoid an error. */
6224 /* We use char because int might match the return type of a gcc2 6428 /* We use char because int might match the return type of a gcc2
6225 builtin and then its argument prototype would still apply. */ 6429 builtin and then its argument prototype would still apply. */
6226 char png_read_image(); 6430 char png_read_image();
6227 6431
6228 int main() { 6432 int main() {
6229 png_read_image() 6433 png_read_image()
6230 ; return 0; } 6434 ; return 0; }
6231 EOF 6435 EOF
6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6233 rm -rf conftest* 6437 rm -rf conftest*
6234 eval "ac_cv_lib_$ac_lib_var=yes" 6438 eval "ac_cv_lib_$ac_lib_var=yes"
6235 else 6439 else
6236 echo "configure: failed program was:" >&5 6440 echo "configure: failed program was:" >&5
6237 cat conftest.$ac_ext >&5 6441 cat conftest.$ac_ext >&5
6269 for extra_libs in "" "-lz" "-lgz"; do 6473 for extra_libs in "" "-lz" "-lgz"; do
6270 6474
6271 xe_msg_checking="for TIFFReadScanline in -ltiff" 6475 xe_msg_checking="for TIFFReadScanline in -ltiff"
6272 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6476 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6273 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6477 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6274 echo "configure:6275: checking "$xe_msg_checking"" >&5 6478 echo "configure:6479: checking "$xe_msg_checking"" >&5
6275 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` 6479 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'`
6276 6480
6277 xe_check_libs=" -ltiff $extra_libs" 6481 xe_check_libs=" -ltiff $extra_libs"
6278 cat > conftest.$ac_ext <<EOF 6482 cat > conftest.$ac_ext <<EOF
6279 #line 6280 "configure" 6483 #line 6484 "configure"
6280 #include "confdefs.h" 6484 #include "confdefs.h"
6281 /* Override any gcc2 internal prototype to avoid an error. */ 6485 /* Override any gcc2 internal prototype to avoid an error. */
6282 /* We use char because int might match the return type of a gcc2 6486 /* We use char because int might match the return type of a gcc2
6283 builtin and then its argument prototype would still apply. */ 6487 builtin and then its argument prototype would still apply. */
6284 char TIFFReadScanline(); 6488 char TIFFReadScanline();
6285 6489
6286 int main() { 6490 int main() {
6287 TIFFReadScanline() 6491 TIFFReadScanline()
6288 ; return 0; } 6492 ; return 0; }
6289 EOF 6493 EOF
6290 if { (eval echo configure:6291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6494 if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6291 rm -rf conftest* 6495 rm -rf conftest*
6292 eval "ac_cv_lib_$ac_lib_var=yes" 6496 eval "ac_cv_lib_$ac_lib_var=yes"
6293 else 6497 else
6294 echo "configure: failed program was:" >&5 6498 echo "configure: failed program was:" >&5
6295 cat conftest.$ac_ext >&5 6499 cat conftest.$ac_ext >&5
6323 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi 6527 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi
6324 fi 6528 fi
6325 6529
6326 6530
6327 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 6531 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6
6328 echo "configure:6329: checking for XawScrollbarSetThumb in -lXaw" >&5 6532 echo "configure:6533: checking for XawScrollbarSetThumb in -lXaw" >&5
6329 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 6533 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
6330 6534
6331 xe_check_libs=" -lXaw " 6535 xe_check_libs=" -lXaw "
6332 cat > conftest.$ac_ext <<EOF 6536 cat > conftest.$ac_ext <<EOF
6333 #line 6334 "configure" 6537 #line 6538 "configure"
6334 #include "confdefs.h" 6538 #include "confdefs.h"
6335 /* Override any gcc2 internal prototype to avoid an error. */ 6539 /* Override any gcc2 internal prototype to avoid an error. */
6336 /* We use char because int might match the return type of a gcc2 6540 /* We use char because int might match the return type of a gcc2
6337 builtin and then its argument prototype would still apply. */ 6541 builtin and then its argument prototype would still apply. */
6338 char XawScrollbarSetThumb(); 6542 char XawScrollbarSetThumb();
6339 6543
6340 int main() { 6544 int main() {
6341 XawScrollbarSetThumb() 6545 XawScrollbarSetThumb()
6342 ; return 0; } 6546 ; return 0; }
6343 EOF 6547 EOF
6344 if { (eval echo configure:6345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6548 if { (eval echo configure:6549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6345 rm -rf conftest* 6549 rm -rf conftest*
6346 eval "ac_cv_lib_$ac_lib_var=yes" 6550 eval "ac_cv_lib_$ac_lib_var=yes"
6347 else 6551 else
6348 echo "configure: failed program was:" >&5 6552 echo "configure: failed program was:" >&5
6349 cat conftest.$ac_ext >&5 6553 cat conftest.$ac_ext >&5
6363 6567
6364 6568
6365 6569
6366 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6570 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6367 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6571 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6368 echo "configure:6369: checking for Xm/Xm.h" >&5 6572 echo "configure:6573: checking for Xm/Xm.h" >&5
6369 6573
6370 cat > conftest.$ac_ext <<EOF 6574 cat > conftest.$ac_ext <<EOF
6371 #line 6372 "configure" 6575 #line 6576 "configure"
6372 #include "confdefs.h" 6576 #include "confdefs.h"
6373 #include <Xm/Xm.h> 6577 #include <Xm/Xm.h>
6374 EOF 6578 EOF
6375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6376 { (eval echo configure:6377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6580 { (eval echo configure:6581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6377 ac_err=`grep -v '^ *+' conftest.out` 6581 ac_err=`grep -v '^ *+' conftest.out`
6378 if test -z "$ac_err"; then 6582 if test -z "$ac_err"; then
6379 rm -rf conftest* 6583 rm -rf conftest*
6380 eval "ac_cv_header_$ac_safe=yes" 6584 eval "ac_cv_header_$ac_safe=yes"
6381 else 6585 else
6388 rm -f conftest* 6592 rm -f conftest*
6389 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6593 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6390 echo "$ac_t""yes" 1>&6 6594 echo "$ac_t""yes" 1>&6
6391 6595
6392 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6596 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6393 echo "configure:6394: checking for XmStringFree in -lXm" >&5 6597 echo "configure:6598: checking for XmStringFree in -lXm" >&5
6394 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6598 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6395 6599
6396 xe_check_libs=" -lXm " 6600 xe_check_libs=" -lXm "
6397 cat > conftest.$ac_ext <<EOF 6601 cat > conftest.$ac_ext <<EOF
6398 #line 6399 "configure" 6602 #line 6603 "configure"
6399 #include "confdefs.h" 6603 #include "confdefs.h"
6400 /* Override any gcc2 internal prototype to avoid an error. */ 6604 /* Override any gcc2 internal prototype to avoid an error. */
6401 /* We use char because int might match the return type of a gcc2 6605 /* We use char because int might match the return type of a gcc2
6402 builtin and then its argument prototype would still apply. */ 6606 builtin and then its argument prototype would still apply. */
6403 char XmStringFree(); 6607 char XmStringFree();
6404 6608
6405 int main() { 6609 int main() {
6406 XmStringFree() 6610 XmStringFree()
6407 ; return 0; } 6611 ; return 0; }
6408 EOF 6612 EOF
6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6613 if { (eval echo configure:6614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6410 rm -rf conftest* 6614 rm -rf conftest*
6411 eval "ac_cv_lib_$ac_lib_var=yes" 6615 eval "ac_cv_lib_$ac_lib_var=yes"
6412 else 6616 else
6413 echo "configure: failed program was:" >&5 6617 echo "configure: failed program was:" >&5
6414 cat conftest.$ac_ext >&5 6618 cat conftest.$ac_ext >&5
6676 6880
6677 fi 6881 fi
6678 6882
6679 6883
6680 test -z "$with_mule" && with_mule=no 6884 test -z "$with_mule" && with_mule=no
6681 test -z "$with_mule_coding" && with_mule_coding=no 6885 test -z "$with_file_coding" && with_file_coding=no
6682 6886
6683 6887
6684 if test "$with_mule_coding" = "yes" && test "$with_mule" = "no"; then 6888 if test "$with_file_coding" = "yes" && test "$with_mule" = "no"; then
6685 { test "$extra_verbose" = "yes" && cat << \EOF 6889 { test "$extra_verbose" = "yes" && cat << \EOF
6686 Defining MULE_CODING 6890 Defining FILE_CODING
6687 EOF 6891 EOF
6688 cat >> confdefs.h <<\EOF 6892 cat >> confdefs.h <<\EOF
6689 #define MULE_CODING 1 6893 #define FILE_CODING 1
6690 EOF 6894 EOF
6691 } 6895 }
6692 6896
6693 extra_objs="$extra_objs mule-coding.o" && if test "$extra_verbose" = "yes"; then 6897 extra_objs="$extra_objs file-coding.o" && if test "$extra_verbose" = "yes"; then
6694 echo " xemacs will be linked with \"mule-coding.o\"" 6898 echo " xemacs will be linked with \"file-coding.o\""
6695 fi 6899 fi
6696 fi 6900 fi
6697 6901
6698 if test "$with_mule" = "yes" ; then 6902 if test "$with_mule" = "yes" ; then
6699 echo "checking for Mule-related features" 1>&6 6903 echo "checking for Mule-related features" 1>&6
6700 echo "configure:6701: checking for Mule-related features" >&5 6904 echo "configure:6905: checking for Mule-related features" >&5
6701 { test "$extra_verbose" = "yes" && cat << \EOF 6905 { test "$extra_verbose" = "yes" && cat << \EOF
6702 Defining MULE 6906 Defining MULE
6703 EOF 6907 EOF
6704 cat >> confdefs.h <<\EOF 6908 cat >> confdefs.h <<\EOF
6705 #define MULE 1 6909 #define MULE 1
6706 EOF 6910 EOF
6707 } 6911 }
6708 6912
6709 { test "$extra_verbose" = "yes" && cat << \EOF 6913 { test "$extra_verbose" = "yes" && cat << \EOF
6710 Defining MULE_CODING 6914 Defining FILE_CODING
6711 EOF 6915 EOF
6712 cat >> confdefs.h <<\EOF 6916 cat >> confdefs.h <<\EOF
6713 #define MULE_CODING 1 6917 #define FILE_CODING 1
6714 EOF 6918 EOF
6715 } 6919 }
6716 6920
6717 extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o mule-coding.o" && if test "$extra_verbose" = "yes"; then 6921 extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o mule-coding.o file-coding.o" && if test "$extra_verbose" = "yes"; then
6718 echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o mule-coding.o\"" 6922 echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o mule-coding.o file-coding.o\""
6719 fi 6923 fi
6720 6924
6721 for ac_hdr in libintl.h 6925 for ac_hdr in libintl.h
6722 do 6926 do
6723 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6927 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6724 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6928 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6725 echo "configure:6726: checking for $ac_hdr" >&5 6929 echo "configure:6930: checking for $ac_hdr" >&5
6726 6930
6727 cat > conftest.$ac_ext <<EOF 6931 cat > conftest.$ac_ext <<EOF
6728 #line 6729 "configure" 6932 #line 6933 "configure"
6729 #include "confdefs.h" 6933 #include "confdefs.h"
6730 #include <$ac_hdr> 6934 #include <$ac_hdr>
6731 EOF 6935 EOF
6732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6733 { (eval echo configure:6734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6937 { (eval echo configure:6938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6734 ac_err=`grep -v '^ *+' conftest.out` 6938 ac_err=`grep -v '^ *+' conftest.out`
6735 if test -z "$ac_err"; then 6939 if test -z "$ac_err"; then
6736 rm -rf conftest* 6940 rm -rf conftest*
6737 eval "ac_cv_header_$ac_safe=yes" 6941 eval "ac_cv_header_$ac_safe=yes"
6738 else 6942 else
6759 fi 6963 fi
6760 done 6964 done
6761 6965
6762 6966
6763 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 6967 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
6764 echo "configure:6765: checking for strerror in -lintl" >&5 6968 echo "configure:6969: checking for strerror in -lintl" >&5
6765 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 6969 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
6766 6970
6767 xe_check_libs=" -lintl " 6971 xe_check_libs=" -lintl "
6768 cat > conftest.$ac_ext <<EOF 6972 cat > conftest.$ac_ext <<EOF
6769 #line 6770 "configure" 6973 #line 6974 "configure"
6770 #include "confdefs.h" 6974 #include "confdefs.h"
6771 /* Override any gcc2 internal prototype to avoid an error. */ 6975 /* Override any gcc2 internal prototype to avoid an error. */
6772 /* We use char because int might match the return type of a gcc2 6976 /* We use char because int might match the return type of a gcc2
6773 builtin and then its argument prototype would still apply. */ 6977 builtin and then its argument prototype would still apply. */
6774 char strerror(); 6978 char strerror();
6775 6979
6776 int main() { 6980 int main() {
6777 strerror() 6981 strerror()
6778 ; return 0; } 6982 ; return 0; }
6779 EOF 6983 EOF
6780 if { (eval echo configure:6781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6781 rm -rf conftest* 6985 rm -rf conftest*
6782 eval "ac_cv_lib_$ac_lib_var=yes" 6986 eval "ac_cv_lib_$ac_lib_var=yes"
6783 else 6987 else
6784 echo "configure: failed program was:" >&5 6988 echo "configure: failed program was:" >&5
6785 cat conftest.$ac_ext >&5 6989 cat conftest.$ac_ext >&5
6808 fi 7012 fi
6809 7013
6810 7014
6811 7015
6812 echo "checking for Mule input methods" 1>&6 7016 echo "checking for Mule input methods" 1>&6
6813 echo "configure:6814: checking for Mule input methods" >&5 7017 echo "configure:7018: checking for Mule input methods" >&5
6814 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no 7018 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no
6815 case "$with_xim" in "" | "yes" ) 7019 case "$with_xim" in "" | "yes" )
6816 echo "checking for XIM" 1>&6 7020 echo "checking for XIM" 1>&6
6817 echo "configure:6818: checking for XIM" >&5 7021 echo "configure:7022: checking for XIM" >&5
6818 7022
6819 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 7023 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
6820 echo "configure:6821: checking for XmImMbLookupString in -lXm" >&5 7024 echo "configure:7025: checking for XmImMbLookupString in -lXm" >&5
6821 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 7025 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
6822 7026
6823 xe_check_libs=" -lXm " 7027 xe_check_libs=" -lXm "
6824 cat > conftest.$ac_ext <<EOF 7028 cat > conftest.$ac_ext <<EOF
6825 #line 6826 "configure" 7029 #line 7030 "configure"
6826 #include "confdefs.h" 7030 #include "confdefs.h"
6827 /* Override any gcc2 internal prototype to avoid an error. */ 7031 /* Override any gcc2 internal prototype to avoid an error. */
6828 /* We use char because int might match the return type of a gcc2 7032 /* We use char because int might match the return type of a gcc2
6829 builtin and then its argument prototype would still apply. */ 7033 builtin and then its argument prototype would still apply. */
6830 char XmImMbLookupString(); 7034 char XmImMbLookupString();
6831 7035
6832 int main() { 7036 int main() {
6833 XmImMbLookupString() 7037 XmImMbLookupString()
6834 ; return 0; } 7038 ; return 0; }
6835 EOF 7039 EOF
6836 if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6837 rm -rf conftest* 7041 rm -rf conftest*
6838 eval "ac_cv_lib_$ac_lib_var=yes" 7042 eval "ac_cv_lib_$ac_lib_var=yes"
6839 else 7043 else
6840 echo "configure: failed program was:" >&5 7044 echo "configure: failed program was:" >&5
6841 cat conftest.$ac_ext >&5 7045 cat conftest.$ac_ext >&5
6896 fi 7100 fi
6897 fi 7101 fi
6898 7102
6899 if test "$with_xfs" = "yes" ; then 7103 if test "$with_xfs" = "yes" ; then
6900 echo "checking for XFontSet" 1>&6 7104 echo "checking for XFontSet" 1>&6
6901 echo "configure:6902: checking for XFontSet" >&5 7105 echo "configure:7106: checking for XFontSet" >&5
6902 7106
6903 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 7107 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
6904 echo "configure:6905: checking for XmbDrawString in -lX11" >&5 7108 echo "configure:7109: checking for XmbDrawString in -lX11" >&5
6905 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 7109 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
6906 7110
6907 xe_check_libs=" -lX11 " 7111 xe_check_libs=" -lX11 "
6908 cat > conftest.$ac_ext <<EOF 7112 cat > conftest.$ac_ext <<EOF
6909 #line 6910 "configure" 7113 #line 7114 "configure"
6910 #include "confdefs.h" 7114 #include "confdefs.h"
6911 /* Override any gcc2 internal prototype to avoid an error. */ 7115 /* Override any gcc2 internal prototype to avoid an error. */
6912 /* We use char because int might match the return type of a gcc2 7116 /* We use char because int might match the return type of a gcc2
6913 builtin and then its argument prototype would still apply. */ 7117 builtin and then its argument prototype would still apply. */
6914 char XmbDrawString(); 7118 char XmbDrawString();
6915 7119
6916 int main() { 7120 int main() {
6917 XmbDrawString() 7121 XmbDrawString()
6918 ; return 0; } 7122 ; return 0; }
6919 EOF 7123 EOF
6920 if { (eval echo configure:6921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7124 if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6921 rm -rf conftest* 7125 rm -rf conftest*
6922 eval "ac_cv_lib_$ac_lib_var=yes" 7126 eval "ac_cv_lib_$ac_lib_var=yes"
6923 else 7127 else
6924 echo "configure: failed program was:" >&5 7128 echo "configure: failed program was:" >&5
6925 cat conftest.$ac_ext >&5 7129 cat conftest.$ac_ext >&5
6955 fi 7159 fi
6956 fi 7160 fi
6957 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 7161 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
6958 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 7162 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
6959 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 7163 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
6960 echo "configure:6961: checking for wnn/jllib.h" >&5 7164 echo "configure:7165: checking for wnn/jllib.h" >&5
6961 7165
6962 cat > conftest.$ac_ext <<EOF 7166 cat > conftest.$ac_ext <<EOF
6963 #line 6964 "configure" 7167 #line 7168 "configure"
6964 #include "confdefs.h" 7168 #include "confdefs.h"
6965 #include <wnn/jllib.h> 7169 #include <wnn/jllib.h>
6966 EOF 7170 EOF
6967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6968 { (eval echo configure:6969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7172 { (eval echo configure:7173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6969 ac_err=`grep -v '^ *+' conftest.out` 7173 ac_err=`grep -v '^ *+' conftest.out`
6970 if test -z "$ac_err"; then 7174 if test -z "$ac_err"; then
6971 rm -rf conftest* 7175 rm -rf conftest*
6972 eval "ac_cv_header_$ac_safe=yes" 7176 eval "ac_cv_header_$ac_safe=yes"
6973 else 7177 else
6988 } 7192 }
6989 if test "$with_wnn" != "no"; then 7193 if test "$with_wnn" != "no"; then
6990 for ac_func in crypt 7194 for ac_func in crypt
6991 do 7195 do
6992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6993 echo "configure:6994: checking for $ac_func" >&5 7197 echo "configure:7198: checking for $ac_func" >&5
6994 7198
6995 cat > conftest.$ac_ext <<EOF 7199 cat > conftest.$ac_ext <<EOF
6996 #line 6997 "configure" 7200 #line 7201 "configure"
6997 #include "confdefs.h" 7201 #include "confdefs.h"
6998 /* System header to define __stub macros and hopefully few prototypes, 7202 /* System header to define __stub macros and hopefully few prototypes,
6999 which can conflict with char $ac_func(); below. */ 7203 which can conflict with char $ac_func(); below. */
7000 #include <assert.h> 7204 #include <assert.h>
7001 /* Override any gcc2 internal prototype to avoid an error. */ 7205 /* Override any gcc2 internal prototype to avoid an error. */
7014 $ac_func(); 7218 $ac_func();
7015 #endif 7219 #endif
7016 7220
7017 ; return 0; } 7221 ; return 0; }
7018 EOF 7222 EOF
7019 if { (eval echo configure:7020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7223 if { (eval echo configure:7224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7020 rm -rf conftest* 7224 rm -rf conftest*
7021 eval "ac_cv_func_$ac_func=yes" 7225 eval "ac_cv_func_$ac_func=yes"
7022 else 7226 else
7023 echo "configure: failed program was:" >&5 7227 echo "configure: failed program was:" >&5
7024 cat conftest.$ac_ext >&5 7228 cat conftest.$ac_ext >&5
7043 fi 7247 fi
7044 done 7248 done
7045 7249
7046 test "$ac_cv_func_crypt" != "yes" && { 7250 test "$ac_cv_func_crypt" != "yes" && {
7047 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 7251 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
7048 echo "configure:7049: checking for crypt in -lcrypt" >&5 7252 echo "configure:7253: checking for crypt in -lcrypt" >&5
7049 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 7253 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
7050 7254
7051 xe_check_libs=" -lcrypt " 7255 xe_check_libs=" -lcrypt "
7052 cat > conftest.$ac_ext <<EOF 7256 cat > conftest.$ac_ext <<EOF
7053 #line 7054 "configure" 7257 #line 7258 "configure"
7054 #include "confdefs.h" 7258 #include "confdefs.h"
7055 /* Override any gcc2 internal prototype to avoid an error. */ 7259 /* Override any gcc2 internal prototype to avoid an error. */
7056 /* We use char because int might match the return type of a gcc2 7260 /* We use char because int might match the return type of a gcc2
7057 builtin and then its argument prototype would still apply. */ 7261 builtin and then its argument prototype would still apply. */
7058 char crypt(); 7262 char crypt();
7059 7263
7060 int main() { 7264 int main() {
7061 crypt() 7265 crypt()
7062 ; return 0; } 7266 ; return 0; }
7063 EOF 7267 EOF
7064 if { (eval echo configure:7065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7268 if { (eval echo configure:7269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7065 rm -rf conftest* 7269 rm -rf conftest*
7066 eval "ac_cv_lib_$ac_lib_var=yes" 7270 eval "ac_cv_lib_$ac_lib_var=yes"
7067 else 7271 else
7068 echo "configure: failed program was:" >&5 7272 echo "configure: failed program was:" >&5
7069 cat conftest.$ac_ext >&5 7273 cat conftest.$ac_ext >&5
7093 7297
7094 } 7298 }
7095 fi 7299 fi
7096 test -z "$with_wnn" && { 7300 test -z "$with_wnn" && {
7097 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 7301 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
7098 echo "configure:7099: checking for jl_dic_list_e in -lwnn" >&5 7302 echo "configure:7303: checking for jl_dic_list_e in -lwnn" >&5
7099 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 7303 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
7100 7304
7101 xe_check_libs=" -lwnn " 7305 xe_check_libs=" -lwnn "
7102 cat > conftest.$ac_ext <<EOF 7306 cat > conftest.$ac_ext <<EOF
7103 #line 7104 "configure" 7307 #line 7308 "configure"
7104 #include "confdefs.h" 7308 #include "confdefs.h"
7105 /* Override any gcc2 internal prototype to avoid an error. */ 7309 /* Override any gcc2 internal prototype to avoid an error. */
7106 /* We use char because int might match the return type of a gcc2 7310 /* We use char because int might match the return type of a gcc2
7107 builtin and then its argument prototype would still apply. */ 7311 builtin and then its argument prototype would still apply. */
7108 char jl_dic_list_e(); 7312 char jl_dic_list_e();
7109 7313
7110 int main() { 7314 int main() {
7111 jl_dic_list_e() 7315 jl_dic_list_e()
7112 ; return 0; } 7316 ; return 0; }
7113 EOF 7317 EOF
7114 if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7318 if { (eval echo configure:7319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7115 rm -rf conftest* 7319 rm -rf conftest*
7116 eval "ac_cv_lib_$ac_lib_var=yes" 7320 eval "ac_cv_lib_$ac_lib_var=yes"
7117 else 7321 else
7118 echo "configure: failed program was:" >&5 7322 echo "configure: failed program was:" >&5
7119 cat conftest.$ac_ext >&5 7323 cat conftest.$ac_ext >&5
7146 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then 7350 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then
7147 echo " xemacs will be linked with \"mule-wnnfns.o\"" 7351 echo " xemacs will be linked with \"mule-wnnfns.o\""
7148 fi 7352 fi
7149 7353
7150 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 7354 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6
7151 echo "configure:7152: checking for jl_fi_dic_list in -lwnn" >&5 7355 echo "configure:7356: checking for jl_fi_dic_list in -lwnn" >&5
7152 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 7356 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
7153 7357
7154 xe_check_libs=" -lwnn " 7358 xe_check_libs=" -lwnn "
7155 cat > conftest.$ac_ext <<EOF 7359 cat > conftest.$ac_ext <<EOF
7156 #line 7157 "configure" 7360 #line 7361 "configure"
7157 #include "confdefs.h" 7361 #include "confdefs.h"
7158 /* Override any gcc2 internal prototype to avoid an error. */ 7362 /* Override any gcc2 internal prototype to avoid an error. */
7159 /* We use char because int might match the return type of a gcc2 7363 /* We use char because int might match the return type of a gcc2
7160 builtin and then its argument prototype would still apply. */ 7364 builtin and then its argument prototype would still apply. */
7161 char jl_fi_dic_list(); 7365 char jl_fi_dic_list();
7162 7366
7163 int main() { 7367 int main() {
7164 jl_fi_dic_list() 7368 jl_fi_dic_list()
7165 ; return 0; } 7369 ; return 0; }
7166 EOF 7370 EOF
7167 if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7371 if { (eval echo configure:7372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7168 rm -rf conftest* 7372 rm -rf conftest*
7169 eval "ac_cv_lib_$ac_lib_var=yes" 7373 eval "ac_cv_lib_$ac_lib_var=yes"
7170 else 7374 else
7171 echo "configure: failed program was:" >&5 7375 echo "configure: failed program was:" >&5
7172 cat conftest.$ac_ext >&5 7376 cat conftest.$ac_ext >&5
7194 7398
7195 fi 7399 fi
7196 7400
7197 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 7401 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
7198 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 7402 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
7199 echo "configure:7200: checking for canna/RK.h" >&5 7403 echo "configure:7404: checking for canna/RK.h" >&5
7200 7404
7201 cat > conftest.$ac_ext <<EOF 7405 cat > conftest.$ac_ext <<EOF
7202 #line 7203 "configure" 7406 #line 7407 "configure"
7203 #include "confdefs.h" 7407 #include "confdefs.h"
7204 #include <canna/RK.h> 7408 #include <canna/RK.h>
7205 EOF 7409 EOF
7206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7207 { (eval echo configure:7208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7411 { (eval echo configure:7412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7208 ac_err=`grep -v '^ *+' conftest.out` 7412 ac_err=`grep -v '^ *+' conftest.out`
7209 if test -z "$ac_err"; then 7413 if test -z "$ac_err"; then
7210 rm -rf conftest* 7414 rm -rf conftest*
7211 eval "ac_cv_header_$ac_safe=yes" 7415 eval "ac_cv_header_$ac_safe=yes"
7212 else 7416 else
7225 with_canna=no 7429 with_canna=no
7226 fi 7430 fi
7227 } 7431 }
7228 test -z "$with_canna" && { 7432 test -z "$with_canna" && {
7229 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 7433 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
7230 echo "configure:7231: checking for RkBgnBun in -lRKC" >&5 7434 echo "configure:7435: checking for RkBgnBun in -lRKC" >&5
7231 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 7435 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
7232 7436
7233 xe_check_libs=" -lRKC " 7437 xe_check_libs=" -lRKC "
7234 cat > conftest.$ac_ext <<EOF 7438 cat > conftest.$ac_ext <<EOF
7235 #line 7236 "configure" 7439 #line 7440 "configure"
7236 #include "confdefs.h" 7440 #include "confdefs.h"
7237 /* Override any gcc2 internal prototype to avoid an error. */ 7441 /* Override any gcc2 internal prototype to avoid an error. */
7238 /* We use char because int might match the return type of a gcc2 7442 /* We use char because int might match the return type of a gcc2
7239 builtin and then its argument prototype would still apply. */ 7443 builtin and then its argument prototype would still apply. */
7240 char RkBgnBun(); 7444 char RkBgnBun();
7241 7445
7242 int main() { 7446 int main() {
7243 RkBgnBun() 7447 RkBgnBun()
7244 ; return 0; } 7448 ; return 0; }
7245 EOF 7449 EOF
7246 if { (eval echo configure:7247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7450 if { (eval echo configure:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7247 rm -rf conftest* 7451 rm -rf conftest*
7248 eval "ac_cv_lib_$ac_lib_var=yes" 7452 eval "ac_cv_lib_$ac_lib_var=yes"
7249 else 7453 else
7250 echo "configure: failed program was:" >&5 7454 echo "configure: failed program was:" >&5
7251 cat conftest.$ac_ext >&5 7455 cat conftest.$ac_ext >&5
7264 fi 7468 fi
7265 7469
7266 } 7470 }
7267 test -z "$with_canna" && { 7471 test -z "$with_canna" && {
7268 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 7472 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
7269 echo "configure:7270: checking for jrKanjiControl in -lcanna" >&5 7473 echo "configure:7474: checking for jrKanjiControl in -lcanna" >&5
7270 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 7474 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
7271 7475
7272 xe_check_libs=" -lcanna " 7476 xe_check_libs=" -lcanna "
7273 cat > conftest.$ac_ext <<EOF 7477 cat > conftest.$ac_ext <<EOF
7274 #line 7275 "configure" 7478 #line 7479 "configure"
7275 #include "confdefs.h" 7479 #include "confdefs.h"
7276 /* Override any gcc2 internal prototype to avoid an error. */ 7480 /* Override any gcc2 internal prototype to avoid an error. */
7277 /* We use char because int might match the return type of a gcc2 7481 /* We use char because int might match the return type of a gcc2
7278 builtin and then its argument prototype would still apply. */ 7482 builtin and then its argument prototype would still apply. */
7279 char jrKanjiControl(); 7483 char jrKanjiControl();
7280 7484
7281 int main() { 7485 int main() {
7282 jrKanjiControl() 7486 jrKanjiControl()
7283 ; return 0; } 7487 ; return 0; }
7284 EOF 7488 EOF
7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7489 if { (eval echo configure:7490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7286 rm -rf conftest* 7490 rm -rf conftest*
7287 eval "ac_cv_lib_$ac_lib_var=yes" 7491 eval "ac_cv_lib_$ac_lib_var=yes"
7288 else 7492 else
7289 echo "configure: failed program was:" >&5 7493 echo "configure: failed program was:" >&5
7290 cat conftest.$ac_ext >&5 7494 cat conftest.$ac_ext >&5
7329 7533
7330 if test "$need_motif" = "yes" ; then 7534 if test "$need_motif" = "yes" ; then
7331 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 7535 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
7332 7536
7333 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 7537 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
7334 echo "configure:7335: checking for layout_object_getvalue in -li18n" >&5 7538 echo "configure:7539: checking for layout_object_getvalue in -li18n" >&5
7335 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 7539 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
7336 7540
7337 xe_check_libs=" -li18n " 7541 xe_check_libs=" -li18n "
7338 cat > conftest.$ac_ext <<EOF 7542 cat > conftest.$ac_ext <<EOF
7339 #line 7340 "configure" 7543 #line 7544 "configure"
7340 #include "confdefs.h" 7544 #include "confdefs.h"
7341 /* Override any gcc2 internal prototype to avoid an error. */ 7545 /* Override any gcc2 internal prototype to avoid an error. */
7342 /* We use char because int might match the return type of a gcc2 7546 /* We use char because int might match the return type of a gcc2
7343 builtin and then its argument prototype would still apply. */ 7547 builtin and then its argument prototype would still apply. */
7344 char layout_object_getvalue(); 7548 char layout_object_getvalue();
7345 7549
7346 int main() { 7550 int main() {
7347 layout_object_getvalue() 7551 layout_object_getvalue()
7348 ; return 0; } 7552 ; return 0; }
7349 EOF 7553 EOF
7350 if { (eval echo configure:7351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7554 if { (eval echo configure:7555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7351 rm -rf conftest* 7555 rm -rf conftest*
7352 eval "ac_cv_lib_$ac_lib_var=yes" 7556 eval "ac_cv_lib_$ac_lib_var=yes"
7353 else 7557 else
7354 echo "configure: failed program was:" >&5 7558 echo "configure: failed program was:" >&5
7355 cat conftest.$ac_ext >&5 7559 cat conftest.$ac_ext >&5
7418 fi 7622 fi
7419 7623
7420 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 strcasecmp strerror tzset ulimit usleep utimes waitpid 7624 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 strcasecmp strerror tzset ulimit usleep utimes waitpid
7421 do 7625 do
7422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7423 echo "configure:7424: checking for $ac_func" >&5 7627 echo "configure:7628: checking for $ac_func" >&5
7424 7628
7425 cat > conftest.$ac_ext <<EOF 7629 cat > conftest.$ac_ext <<EOF
7426 #line 7427 "configure" 7630 #line 7631 "configure"
7427 #include "confdefs.h" 7631 #include "confdefs.h"
7428 /* System header to define __stub macros and hopefully few prototypes, 7632 /* System header to define __stub macros and hopefully few prototypes,
7429 which can conflict with char $ac_func(); below. */ 7633 which can conflict with char $ac_func(); below. */
7430 #include <assert.h> 7634 #include <assert.h>
7431 /* Override any gcc2 internal prototype to avoid an error. */ 7635 /* Override any gcc2 internal prototype to avoid an error. */
7444 $ac_func(); 7648 $ac_func();
7445 #endif 7649 #endif
7446 7650
7447 ; return 0; } 7651 ; return 0; }
7448 EOF 7652 EOF
7449 if { (eval echo configure:7450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7653 if { (eval echo configure:7654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7450 rm -rf conftest* 7654 rm -rf conftest*
7451 eval "ac_cv_func_$ac_func=yes" 7655 eval "ac_cv_func_$ac_func=yes"
7452 else 7656 else
7453 echo "configure: failed program was:" >&5 7657 echo "configure: failed program was:" >&5
7454 cat conftest.$ac_ext >&5 7658 cat conftest.$ac_ext >&5
7481 fi ;; 7685 fi ;;
7482 * ) 7686 * )
7483 for ac_func in realpath 7687 for ac_func in realpath
7484 do 7688 do
7485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7486 echo "configure:7487: checking for $ac_func" >&5 7690 echo "configure:7691: checking for $ac_func" >&5
7487 7691
7488 cat > conftest.$ac_ext <<EOF 7692 cat > conftest.$ac_ext <<EOF
7489 #line 7490 "configure" 7693 #line 7694 "configure"
7490 #include "confdefs.h" 7694 #include "confdefs.h"
7491 /* System header to define __stub macros and hopefully few prototypes, 7695 /* System header to define __stub macros and hopefully few prototypes,
7492 which can conflict with char $ac_func(); below. */ 7696 which can conflict with char $ac_func(); below. */
7493 #include <assert.h> 7697 #include <assert.h>
7494 /* Override any gcc2 internal prototype to avoid an error. */ 7698 /* Override any gcc2 internal prototype to avoid an error. */
7507 $ac_func(); 7711 $ac_func();
7508 #endif 7712 #endif
7509 7713
7510 ; return 0; } 7714 ; return 0; }
7511 EOF 7715 EOF
7512 if { (eval echo configure:7513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7716 if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7513 rm -rf conftest* 7717 rm -rf conftest*
7514 eval "ac_cv_func_$ac_func=yes" 7718 eval "ac_cv_func_$ac_func=yes"
7515 else 7719 else
7516 echo "configure: failed program was:" >&5 7720 echo "configure: failed program was:" >&5
7517 cat conftest.$ac_ext >&5 7721 cat conftest.$ac_ext >&5
7540 echo " xemacs will be linked with \"realpath.o\"" 7744 echo " xemacs will be linked with \"realpath.o\""
7541 fi ;; 7745 fi ;;
7542 esac 7746 esac
7543 7747
7544 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 7748 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
7545 echo "configure:7546: checking whether netdb declares h_errno" >&5 7749 echo "configure:7750: checking whether netdb declares h_errno" >&5
7546 cat > conftest.$ac_ext <<EOF 7750 cat > conftest.$ac_ext <<EOF
7547 #line 7548 "configure" 7751 #line 7752 "configure"
7548 #include "confdefs.h" 7752 #include "confdefs.h"
7549 #include <netdb.h> 7753 #include <netdb.h>
7550 int main() { 7754 int main() {
7551 return h_errno; 7755 return h_errno;
7552 ; return 0; } 7756 ; return 0; }
7553 EOF 7757 EOF
7554 if { (eval echo configure:7555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7758 if { (eval echo configure:7759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7555 rm -rf conftest* 7759 rm -rf conftest*
7556 echo "$ac_t""yes" 1>&6 7760 echo "$ac_t""yes" 1>&6
7557 { test "$extra_verbose" = "yes" && cat << \EOF 7761 { test "$extra_verbose" = "yes" && cat << \EOF
7558 Defining HAVE_H_ERRNO 7762 Defining HAVE_H_ERRNO
7559 EOF 7763 EOF
7569 echo "$ac_t""no" 1>&6 7773 echo "$ac_t""no" 1>&6
7570 fi 7774 fi
7571 rm -f conftest* 7775 rm -f conftest*
7572 7776
7573 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 7777 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
7574 echo "configure:7575: checking for sigsetjmp" >&5 7778 echo "configure:7779: checking for sigsetjmp" >&5
7575 cat > conftest.$ac_ext <<EOF 7779 cat > conftest.$ac_ext <<EOF
7576 #line 7577 "configure" 7780 #line 7781 "configure"
7577 #include "confdefs.h" 7781 #include "confdefs.h"
7578 #include <setjmp.h> 7782 #include <setjmp.h>
7579 int main() { 7783 int main() {
7580 sigjmp_buf bar; sigsetjmp (bar, 0); 7784 sigjmp_buf bar; sigsetjmp (bar, 0);
7581 ; return 0; } 7785 ; return 0; }
7582 EOF 7786 EOF
7583 if { (eval echo configure:7584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7787 if { (eval echo configure:7788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7584 rm -rf conftest* 7788 rm -rf conftest*
7585 echo "$ac_t""yes" 1>&6 7789 echo "$ac_t""yes" 1>&6
7586 { test "$extra_verbose" = "yes" && cat << \EOF 7790 { test "$extra_verbose" = "yes" && cat << \EOF
7587 Defining HAVE_SIGSETJMP 7791 Defining HAVE_SIGSETJMP
7588 EOF 7792 EOF
7598 echo "$ac_t""no" 1>&6 7802 echo "$ac_t""no" 1>&6
7599 fi 7803 fi
7600 rm -f conftest* 7804 rm -f conftest*
7601 7805
7602 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7806 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7603 echo "configure:7604: checking whether localtime caches TZ" >&5 7807 echo "configure:7808: checking whether localtime caches TZ" >&5
7604 7808
7605 if test "$ac_cv_func_tzset" = "yes"; then 7809 if test "$ac_cv_func_tzset" = "yes"; then
7606 cat > conftest.$ac_ext <<EOF 7810 cat > conftest.$ac_ext <<EOF
7607 #line 7608 "configure" 7811 #line 7812 "configure"
7608 #include "confdefs.h" 7812 #include "confdefs.h"
7609 #include <time.h> 7813 #include <time.h>
7610 #if STDC_HEADERS 7814 #if STDC_HEADERS
7611 # include <stdlib.h> 7815 # include <stdlib.h>
7612 #endif 7816 #endif
7637 if (localtime (&now)->tm_hour != hour_unset) 7841 if (localtime (&now)->tm_hour != hour_unset)
7638 exit (1); 7842 exit (1);
7639 exit (0); 7843 exit (0);
7640 } 7844 }
7641 EOF 7845 EOF
7642 if { (eval echo configure:7643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7846 if { (eval echo configure:7847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7643 then 7847 then
7644 emacs_cv_localtime_cache=no 7848 emacs_cv_localtime_cache=no
7645 else 7849 else
7646 echo "configure: failed program was:" >&5 7850 echo "configure: failed program was:" >&5
7647 cat conftest.$ac_ext >&5 7851 cat conftest.$ac_ext >&5
7666 7870
7667 fi 7871 fi
7668 7872
7669 if test "$HAVE_TIMEVAL" = "yes"; then 7873 if test "$HAVE_TIMEVAL" = "yes"; then
7670 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 7874 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6
7671 echo "configure:7672: checking whether gettimeofday cannot accept two arguments" >&5 7875 echo "configure:7876: checking whether gettimeofday cannot accept two arguments" >&5
7672 cat > conftest.$ac_ext <<EOF 7876 cat > conftest.$ac_ext <<EOF
7673 #line 7674 "configure" 7877 #line 7878 "configure"
7674 #include "confdefs.h" 7878 #include "confdefs.h"
7675 7879
7676 #ifdef TIME_WITH_SYS_TIME 7880 #ifdef TIME_WITH_SYS_TIME
7677 #include <sys/time.h> 7881 #include <sys/time.h>
7678 #include <time.h> 7882 #include <time.h>
7690 struct timezone dummy; 7894 struct timezone dummy;
7691 gettimeofday (&time, &dummy); 7895 gettimeofday (&time, &dummy);
7692 7896
7693 ; return 0; } 7897 ; return 0; }
7694 EOF 7898 EOF
7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7899 if { (eval echo configure:7900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7696 rm -rf conftest* 7900 rm -rf conftest*
7697 echo "$ac_t""no" 1>&6 7901 echo "$ac_t""no" 1>&6
7698 else 7902 else
7699 echo "configure: failed program was:" >&5 7903 echo "configure: failed program was:" >&5
7700 cat conftest.$ac_ext >&5 7904 cat conftest.$ac_ext >&5
7712 rm -f conftest* 7916 rm -f conftest*
7713 fi 7917 fi
7714 7918
7715 7919
7716 echo $ac_n "checking for inline""... $ac_c" 1>&6 7920 echo $ac_n "checking for inline""... $ac_c" 1>&6
7717 echo "configure:7718: checking for inline" >&5 7921 echo "configure:7922: checking for inline" >&5
7718 7922
7719 ac_cv_c_inline=no 7923 ac_cv_c_inline=no
7720 for ac_kw in inline __inline__ __inline; do 7924 for ac_kw in inline __inline__ __inline; do
7721 cat > conftest.$ac_ext <<EOF 7925 cat > conftest.$ac_ext <<EOF
7722 #line 7723 "configure" 7926 #line 7927 "configure"
7723 #include "confdefs.h" 7927 #include "confdefs.h"
7724 7928
7725 int main() { 7929 int main() {
7726 } $ac_kw foo() { 7930 } $ac_kw foo() {
7727 ; return 0; } 7931 ; return 0; }
7728 EOF 7932 EOF
7729 if { (eval echo configure:7730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7933 if { (eval echo configure:7934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7730 rm -rf conftest* 7934 rm -rf conftest*
7731 ac_cv_c_inline=$ac_kw; break 7935 ac_cv_c_inline=$ac_kw; break
7732 else 7936 else
7733 echo "configure: failed program was:" >&5 7937 echo "configure: failed program was:" >&5
7734 cat conftest.$ac_ext >&5 7938 cat conftest.$ac_ext >&5
7774 7978
7775 7979
7776 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7980 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7777 # for constant arguments. Useless! 7981 # for constant arguments. Useless!
7778 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 7982 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
7779 echo "configure:7780: checking for working alloca.h" >&5 7983 echo "configure:7984: checking for working alloca.h" >&5
7780 7984
7781 cat > conftest.$ac_ext <<EOF 7985 cat > conftest.$ac_ext <<EOF
7782 #line 7783 "configure" 7986 #line 7987 "configure"
7783 #include "confdefs.h" 7987 #include "confdefs.h"
7784 #include <alloca.h> 7988 #include <alloca.h>
7785 int main() { 7989 int main() {
7786 char *p = alloca(2 * sizeof(int)); 7990 char *p = alloca(2 * sizeof(int));
7787 ; return 0; } 7991 ; return 0; }
7788 EOF 7992 EOF
7789 if { (eval echo configure:7790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7993 if { (eval echo configure:7994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7790 rm -rf conftest* 7994 rm -rf conftest*
7791 ac_cv_header_alloca_h=yes 7995 ac_cv_header_alloca_h=yes
7792 else 7996 else
7793 echo "configure: failed program was:" >&5 7997 echo "configure: failed program was:" >&5
7794 cat conftest.$ac_ext >&5 7998 cat conftest.$ac_ext >&5
7808 } 8012 }
7809 8013
7810 fi 8014 fi
7811 8015
7812 echo $ac_n "checking for alloca""... $ac_c" 1>&6 8016 echo $ac_n "checking for alloca""... $ac_c" 1>&6
7813 echo "configure:7814: checking for alloca" >&5 8017 echo "configure:8018: checking for alloca" >&5
7814 8018
7815 cat > conftest.$ac_ext <<EOF 8019 cat > conftest.$ac_ext <<EOF
7816 #line 7817 "configure" 8020 #line 8021 "configure"
7817 #include "confdefs.h" 8021 #include "confdefs.h"
7818 8022
7819 #ifdef __GNUC__ 8023 #ifdef __GNUC__
7820 # define alloca __builtin_alloca 8024 # define alloca __builtin_alloca
7821 #else 8025 #else
7834 8038
7835 int main() { 8039 int main() {
7836 char *p = (char *) alloca(1); 8040 char *p = (char *) alloca(1);
7837 ; return 0; } 8041 ; return 0; }
7838 EOF 8042 EOF
7839 if { (eval echo configure:7840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7840 rm -rf conftest* 8044 rm -rf conftest*
7841 ac_cv_func_alloca_works=yes 8045 ac_cv_func_alloca_works=yes
7842 else 8046 else
7843 echo "configure: failed program was:" >&5 8047 echo "configure: failed program was:" >&5
7844 cat conftest.$ac_ext >&5 8048 cat conftest.$ac_ext >&5
7873 EOF 8077 EOF
7874 } 8078 }
7875 8079
7876 8080
7877 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 8081 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
7878 echo "configure:7879: checking whether alloca needs Cray hooks" >&5 8082 echo "configure:8083: checking whether alloca needs Cray hooks" >&5
7879 8083
7880 cat > conftest.$ac_ext <<EOF 8084 cat > conftest.$ac_ext <<EOF
7881 #line 7882 "configure" 8085 #line 8086 "configure"
7882 #include "confdefs.h" 8086 #include "confdefs.h"
7883 #if defined(CRAY) && ! defined(CRAY2) 8087 #if defined(CRAY) && ! defined(CRAY2)
7884 webecray 8088 webecray
7885 #else 8089 #else
7886 wenotbecray 8090 wenotbecray
7900 8104
7901 echo "$ac_t""$ac_cv_os_cray" 1>&6 8105 echo "$ac_t""$ac_cv_os_cray" 1>&6
7902 if test $ac_cv_os_cray = yes; then 8106 if test $ac_cv_os_cray = yes; then
7903 for ac_func in _getb67 GETB67 getb67; do 8107 for ac_func in _getb67 GETB67 getb67; do
7904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7905 echo "configure:7906: checking for $ac_func" >&5 8109 echo "configure:8110: checking for $ac_func" >&5
7906 8110
7907 cat > conftest.$ac_ext <<EOF 8111 cat > conftest.$ac_ext <<EOF
7908 #line 7909 "configure" 8112 #line 8113 "configure"
7909 #include "confdefs.h" 8113 #include "confdefs.h"
7910 /* System header to define __stub macros and hopefully few prototypes, 8114 /* System header to define __stub macros and hopefully few prototypes,
7911 which can conflict with char $ac_func(); below. */ 8115 which can conflict with char $ac_func(); below. */
7912 #include <assert.h> 8116 #include <assert.h>
7913 /* Override any gcc2 internal prototype to avoid an error. */ 8117 /* Override any gcc2 internal prototype to avoid an error. */
7926 $ac_func(); 8130 $ac_func();
7927 #endif 8131 #endif
7928 8132
7929 ; return 0; } 8133 ; return 0; }
7930 EOF 8134 EOF
7931 if { (eval echo configure:7932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8135 if { (eval echo configure:8136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7932 rm -rf conftest* 8136 rm -rf conftest*
7933 eval "ac_cv_func_$ac_func=yes" 8137 eval "ac_cv_func_$ac_func=yes"
7934 else 8138 else
7935 echo "configure: failed program was:" >&5 8139 echo "configure: failed program was:" >&5
7936 cat conftest.$ac_ext >&5 8140 cat conftest.$ac_ext >&5
7956 8160
7957 done 8161 done
7958 fi 8162 fi
7959 8163
7960 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 8164 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
7961 echo "configure:7962: checking stack direction for C alloca" >&5 8165 echo "configure:8166: checking stack direction for C alloca" >&5
7962 8166
7963 cat > conftest.$ac_ext <<EOF 8167 cat > conftest.$ac_ext <<EOF
7964 #line 7965 "configure" 8168 #line 8169 "configure"
7965 #include "confdefs.h" 8169 #include "confdefs.h"
7966 find_stack_direction () 8170 find_stack_direction ()
7967 { 8171 {
7968 static char *addr = 0; 8172 static char *addr = 0;
7969 auto char dummy; 8173 auto char dummy;
7978 main () 8182 main ()
7979 { 8183 {
7980 exit (find_stack_direction() < 0); 8184 exit (find_stack_direction() < 0);
7981 } 8185 }
7982 EOF 8186 EOF
7983 if { (eval echo configure:7984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8187 if { (eval echo configure:8188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7984 then 8188 then
7985 ac_cv_c_stack_direction=1 8189 ac_cv_c_stack_direction=1
7986 else 8190 else
7987 echo "configure: failed program was:" >&5 8191 echo "configure: failed program was:" >&5
7988 cat conftest.$ac_ext >&5 8192 cat conftest.$ac_ext >&5
8006 echo " xemacs will be linked with \"$ALLOCA\"" 8210 echo " xemacs will be linked with \"$ALLOCA\""
8007 fi 8211 fi
8008 8212
8009 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8213 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8010 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8214 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8011 echo "configure:8012: checking for vfork.h" >&5 8215 echo "configure:8216: checking for vfork.h" >&5
8012 8216
8013 cat > conftest.$ac_ext <<EOF 8217 cat > conftest.$ac_ext <<EOF
8014 #line 8015 "configure" 8218 #line 8219 "configure"
8015 #include "confdefs.h" 8219 #include "confdefs.h"
8016 #include <vfork.h> 8220 #include <vfork.h>
8017 EOF 8221 EOF
8018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8019 { (eval echo configure:8020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8223 { (eval echo configure:8224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8020 ac_err=`grep -v '^ *+' conftest.out` 8224 ac_err=`grep -v '^ *+' conftest.out`
8021 if test -z "$ac_err"; then 8225 if test -z "$ac_err"; then
8022 rm -rf conftest* 8226 rm -rf conftest*
8023 eval "ac_cv_header_$ac_safe=yes" 8227 eval "ac_cv_header_$ac_safe=yes"
8024 else 8228 else
8042 else 8246 else
8043 echo "$ac_t""no" 1>&6 8247 echo "$ac_t""no" 1>&6
8044 fi 8248 fi
8045 8249
8046 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8250 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8047 echo "configure:8048: checking for working vfork" >&5 8251 echo "configure:8252: checking for working vfork" >&5
8048 8252
8049 cat > conftest.$ac_ext <<EOF 8253 cat > conftest.$ac_ext <<EOF
8050 #line 8051 "configure" 8254 #line 8255 "configure"
8051 #include "confdefs.h" 8255 #include "confdefs.h"
8052 /* Thanks to Paul Eggert for this test. */ 8256 /* Thanks to Paul Eggert for this test. */
8053 #include <stdio.h> 8257 #include <stdio.h>
8054 #include <sys/types.h> 8258 #include <sys/types.h>
8055 #include <sys/stat.h> 8259 #include <sys/stat.h>
8140 || fstat(fileno(stdout), &st) != 0 8344 || fstat(fileno(stdout), &st) != 0
8141 ); 8345 );
8142 } 8346 }
8143 } 8347 }
8144 EOF 8348 EOF
8145 if { (eval echo configure:8146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8349 if { (eval echo configure:8350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8146 then 8350 then
8147 ac_cv_func_vfork_works=yes 8351 ac_cv_func_vfork_works=yes
8148 else 8352 else
8149 echo "configure: failed program was:" >&5 8353 echo "configure: failed program was:" >&5
8150 cat conftest.$ac_ext >&5 8354 cat conftest.$ac_ext >&5
8165 8369
8166 fi 8370 fi
8167 8371
8168 8372
8169 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 8373 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
8170 echo "configure:8171: checking for working strcoll" >&5 8374 echo "configure:8375: checking for working strcoll" >&5
8171 8375
8172 cat > conftest.$ac_ext <<EOF 8376 cat > conftest.$ac_ext <<EOF
8173 #line 8174 "configure" 8377 #line 8378 "configure"
8174 #include "confdefs.h" 8378 #include "confdefs.h"
8175 #include <string.h> 8379 #include <string.h>
8176 main () 8380 main ()
8177 { 8381 {
8178 exit (strcoll ("abc", "def") >= 0 || 8382 exit (strcoll ("abc", "def") >= 0 ||
8179 strcoll ("ABC", "DEF") >= 0 || 8383 strcoll ("ABC", "DEF") >= 0 ||
8180 strcoll ("123", "456") >= 0); 8384 strcoll ("123", "456") >= 0);
8181 } 8385 }
8182 EOF 8386 EOF
8183 if { (eval echo configure:8184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8387 if { (eval echo configure:8388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8184 then 8388 then
8185 ac_cv_func_strcoll_works=yes 8389 ac_cv_func_strcoll_works=yes
8186 else 8390 else
8187 echo "configure: failed program was:" >&5 8391 echo "configure: failed program was:" >&5
8188 cat conftest.$ac_ext >&5 8392 cat conftest.$ac_ext >&5
8205 8409
8206 8410
8207 for ac_func in getpgrp 8411 for ac_func in getpgrp
8208 do 8412 do
8209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8210 echo "configure:8211: checking for $ac_func" >&5 8414 echo "configure:8415: checking for $ac_func" >&5
8211 8415
8212 cat > conftest.$ac_ext <<EOF 8416 cat > conftest.$ac_ext <<EOF
8213 #line 8214 "configure" 8417 #line 8418 "configure"
8214 #include "confdefs.h" 8418 #include "confdefs.h"
8215 /* System header to define __stub macros and hopefully few prototypes, 8419 /* System header to define __stub macros and hopefully few prototypes,
8216 which can conflict with char $ac_func(); below. */ 8420 which can conflict with char $ac_func(); below. */
8217 #include <assert.h> 8421 #include <assert.h>
8218 /* Override any gcc2 internal prototype to avoid an error. */ 8422 /* Override any gcc2 internal prototype to avoid an error. */
8231 $ac_func(); 8435 $ac_func();
8232 #endif 8436 #endif
8233 8437
8234 ; return 0; } 8438 ; return 0; }
8235 EOF 8439 EOF
8236 if { (eval echo configure:8237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8440 if { (eval echo configure:8441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8237 rm -rf conftest* 8441 rm -rf conftest*
8238 eval "ac_cv_func_$ac_func=yes" 8442 eval "ac_cv_func_$ac_func=yes"
8239 else 8443 else
8240 echo "configure: failed program was:" >&5 8444 echo "configure: failed program was:" >&5
8241 cat conftest.$ac_ext >&5 8445 cat conftest.$ac_ext >&5
8259 echo "$ac_t""no" 1>&6 8463 echo "$ac_t""no" 1>&6
8260 fi 8464 fi
8261 done 8465 done
8262 8466
8263 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 8467 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
8264 echo "configure:8265: checking whether getpgrp takes no argument" >&5 8468 echo "configure:8469: checking whether getpgrp takes no argument" >&5
8265 8469
8266 cat > conftest.$ac_ext <<EOF 8470 cat > conftest.$ac_ext <<EOF
8267 #line 8268 "configure" 8471 #line 8472 "configure"
8268 #include "confdefs.h" 8472 #include "confdefs.h"
8269 8473
8270 /* 8474 /*
8271 * If this system has a BSD-style getpgrp(), 8475 * If this system has a BSD-style getpgrp(),
8272 * which takes a pid argument, exit unsuccessfully. 8476 * which takes a pid argument, exit unsuccessfully.
8317 exit(s>>8); 8521 exit(s>>8);
8318 } 8522 }
8319 } 8523 }
8320 8524
8321 EOF 8525 EOF
8322 if { (eval echo configure:8323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8323 then 8527 then
8324 ac_cv_func_getpgrp_void=yes 8528 ac_cv_func_getpgrp_void=yes
8325 else 8529 else
8326 echo "configure: failed program was:" >&5 8530 echo "configure: failed program was:" >&5
8327 cat conftest.$ac_ext >&5 8531 cat conftest.$ac_ext >&5
8343 8547
8344 fi 8548 fi
8345 8549
8346 8550
8347 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 8551 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
8348 echo "configure:8349: checking for working mmap" >&5 8552 echo "configure:8553: checking for working mmap" >&5
8349 case "$opsys" in ultrix* ) have_mmap=no ;; *) 8553 case "$opsys" in ultrix* ) have_mmap=no ;; *)
8350 cat > conftest.$ac_ext <<EOF 8554 cat > conftest.$ac_ext <<EOF
8351 #line 8352 "configure" 8555 #line 8556 "configure"
8352 #include "confdefs.h" 8556 #include "confdefs.h"
8353 #include <stdio.h> 8557 #include <stdio.h>
8354 #include <unistd.h> 8558 #include <unistd.h>
8355 #include <fcntl.h> 8559 #include <fcntl.h>
8356 #include <sys/mman.h> 8560 #include <sys/mman.h>
8379 return 0; 8583 return 0;
8380 perror ("conftest: mmap failed"); 8584 perror ("conftest: mmap failed");
8381 return 1; 8585 return 1;
8382 } 8586 }
8383 EOF 8587 EOF
8384 if { (eval echo configure:8385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8588 if { (eval echo configure:8589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8385 then 8589 then
8386 have_mmap=yes 8590 have_mmap=yes
8387 else 8591 else
8388 echo "configure: failed program was:" >&5 8592 echo "configure: failed program was:" >&5
8389 cat conftest.$ac_ext >&5 8593 cat conftest.$ac_ext >&5
8413 } 8617 }
8414 8618
8415 8619
8416 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 8620 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
8417 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 8621 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
8418 echo "configure:8419: checking for termios.h" >&5 8622 echo "configure:8623: checking for termios.h" >&5
8419 8623
8420 cat > conftest.$ac_ext <<EOF 8624 cat > conftest.$ac_ext <<EOF
8421 #line 8422 "configure" 8625 #line 8626 "configure"
8422 #include "confdefs.h" 8626 #include "confdefs.h"
8423 #include <termios.h> 8627 #include <termios.h>
8424 EOF 8628 EOF
8425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8426 { (eval echo configure:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8630 { (eval echo configure:8631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8427 ac_err=`grep -v '^ *+' conftest.out` 8631 ac_err=`grep -v '^ *+' conftest.out`
8428 if test -z "$ac_err"; then 8632 if test -z "$ac_err"; then
8429 rm -rf conftest* 8633 rm -rf conftest*
8430 eval "ac_cv_header_$ac_safe=yes" 8634 eval "ac_cv_header_$ac_safe=yes"
8431 else 8635 else
8464 8668
8465 else 8669 else
8466 echo "$ac_t""no" 1>&6 8670 echo "$ac_t""no" 1>&6
8467 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 8671 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
8468 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 8672 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
8469 echo "configure:8470: checking for termio.h" >&5 8673 echo "configure:8674: checking for termio.h" >&5
8470 8674
8471 cat > conftest.$ac_ext <<EOF 8675 cat > conftest.$ac_ext <<EOF
8472 #line 8473 "configure" 8676 #line 8677 "configure"
8473 #include "confdefs.h" 8677 #include "confdefs.h"
8474 #include <termio.h> 8678 #include <termio.h>
8475 EOF 8679 EOF
8476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8477 { (eval echo configure:8478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8681 { (eval echo configure:8682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8478 ac_err=`grep -v '^ *+' conftest.out` 8682 ac_err=`grep -v '^ *+' conftest.out`
8479 if test -z "$ac_err"; then 8683 if test -z "$ac_err"; then
8480 rm -rf conftest* 8684 rm -rf conftest*
8481 eval "ac_cv_header_$ac_safe=yes" 8685 eval "ac_cv_header_$ac_safe=yes"
8482 else 8686 else
8504 fi 8708 fi
8505 8709
8506 8710
8507 8711
8508 echo $ac_n "checking for socket""... $ac_c" 1>&6 8712 echo $ac_n "checking for socket""... $ac_c" 1>&6
8509 echo "configure:8510: checking for socket" >&5 8713 echo "configure:8714: checking for socket" >&5
8510 8714
8511 cat > conftest.$ac_ext <<EOF 8715 cat > conftest.$ac_ext <<EOF
8512 #line 8513 "configure" 8716 #line 8717 "configure"
8513 #include "confdefs.h" 8717 #include "confdefs.h"
8514 /* System header to define __stub macros and hopefully few prototypes, 8718 /* System header to define __stub macros and hopefully few prototypes,
8515 which can conflict with char socket(); below. */ 8719 which can conflict with char socket(); below. */
8516 #include <assert.h> 8720 #include <assert.h>
8517 /* Override any gcc2 internal prototype to avoid an error. */ 8721 /* Override any gcc2 internal prototype to avoid an error. */
8530 socket(); 8734 socket();
8531 #endif 8735 #endif
8532 8736
8533 ; return 0; } 8737 ; return 0; }
8534 EOF 8738 EOF
8535 if { (eval echo configure:8536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8739 if { (eval echo configure:8740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8536 rm -rf conftest* 8740 rm -rf conftest*
8537 eval "ac_cv_func_socket=yes" 8741 eval "ac_cv_func_socket=yes"
8538 else 8742 else
8539 echo "configure: failed program was:" >&5 8743 echo "configure: failed program was:" >&5
8540 cat conftest.$ac_ext >&5 8744 cat conftest.$ac_ext >&5
8545 8749
8546 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 8750 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
8547 echo "$ac_t""yes" 1>&6 8751 echo "$ac_t""yes" 1>&6
8548 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8752 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8549 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8753 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8550 echo "configure:8551: checking for netinet/in.h" >&5 8754 echo "configure:8755: checking for netinet/in.h" >&5
8551 8755
8552 cat > conftest.$ac_ext <<EOF 8756 cat > conftest.$ac_ext <<EOF
8553 #line 8554 "configure" 8757 #line 8758 "configure"
8554 #include "confdefs.h" 8758 #include "confdefs.h"
8555 #include <netinet/in.h> 8759 #include <netinet/in.h>
8556 EOF 8760 EOF
8557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8558 { (eval echo configure:8559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8762 { (eval echo configure:8763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8559 ac_err=`grep -v '^ *+' conftest.out` 8763 ac_err=`grep -v '^ *+' conftest.out`
8560 if test -z "$ac_err"; then 8764 if test -z "$ac_err"; then
8561 rm -rf conftest* 8765 rm -rf conftest*
8562 eval "ac_cv_header_$ac_safe=yes" 8766 eval "ac_cv_header_$ac_safe=yes"
8563 else 8767 else
8570 rm -f conftest* 8774 rm -f conftest*
8571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8572 echo "$ac_t""yes" 1>&6 8776 echo "$ac_t""yes" 1>&6
8573 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8777 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8574 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8778 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8575 echo "configure:8576: checking for arpa/inet.h" >&5 8779 echo "configure:8780: checking for arpa/inet.h" >&5
8576 8780
8577 cat > conftest.$ac_ext <<EOF 8781 cat > conftest.$ac_ext <<EOF
8578 #line 8579 "configure" 8782 #line 8783 "configure"
8579 #include "confdefs.h" 8783 #include "confdefs.h"
8580 #include <arpa/inet.h> 8784 #include <arpa/inet.h>
8581 EOF 8785 EOF
8582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8583 { (eval echo configure:8584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8787 { (eval echo configure:8788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8584 ac_err=`grep -v '^ *+' conftest.out` 8788 ac_err=`grep -v '^ *+' conftest.out`
8585 if test -z "$ac_err"; then 8789 if test -z "$ac_err"; then
8586 rm -rf conftest* 8790 rm -rf conftest*
8587 eval "ac_cv_header_$ac_safe=yes" 8791 eval "ac_cv_header_$ac_safe=yes"
8588 else 8792 else
8603 #define HAVE_SOCKETS 1 8807 #define HAVE_SOCKETS 1
8604 EOF 8808 EOF
8605 } 8809 }
8606 8810
8607 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 8811 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
8608 echo "configure:8609: checking "for sun_len member in struct sockaddr_un"" >&5 8812 echo "configure:8813: checking "for sun_len member in struct sockaddr_un"" >&5
8609 cat > conftest.$ac_ext <<EOF 8813 cat > conftest.$ac_ext <<EOF
8610 #line 8611 "configure" 8814 #line 8815 "configure"
8611 #include "confdefs.h" 8815 #include "confdefs.h"
8612 8816
8613 #include <sys/types.h> 8817 #include <sys/types.h>
8614 #include <sys/socket.h> 8818 #include <sys/socket.h>
8615 #include <sys/un.h> 8819 #include <sys/un.h>
8616 8820
8617 int main() { 8821 int main() {
8618 static struct sockaddr_un x; x.sun_len = 1; 8822 static struct sockaddr_un x; x.sun_len = 1;
8619 ; return 0; } 8823 ; return 0; }
8620 EOF 8824 EOF
8621 if { (eval echo configure:8622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8825 if { (eval echo configure:8826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8622 rm -rf conftest* 8826 rm -rf conftest*
8623 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 8827 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
8624 Defining HAVE_SOCKADDR_SUN_LEN 8828 Defining HAVE_SOCKADDR_SUN_LEN
8625 EOF 8829 EOF
8626 cat >> confdefs.h <<\EOF 8830 cat >> confdefs.h <<\EOF
8633 cat conftest.$ac_ext >&5 8837 cat conftest.$ac_ext >&5
8634 rm -rf conftest* 8838 rm -rf conftest*
8635 echo "$ac_t""no" 1>&6 8839 echo "$ac_t""no" 1>&6
8636 fi 8840 fi
8637 rm -f conftest* 8841 rm -f conftest*
8842 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
8843 echo "configure:8844: checking "for ip_mreq struct in netinet/in.h"" >&5
8844 cat > conftest.$ac_ext <<EOF
8845 #line 8846 "configure"
8846 #include "confdefs.h"
8847
8848 #include <netinet/in.h>
8849
8850 int main() {
8851 static struct ip_mreq x;
8852 ; return 0; }
8853 EOF
8854 if { (eval echo configure:8855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8855 rm -rf conftest*
8856 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
8857 Defining HAVE_MULTICAST
8858 EOF
8859 cat >> confdefs.h <<\EOF
8860 #define HAVE_MULTICAST 1
8861 EOF
8862 }
8863
8864 else
8865 echo "configure: failed program was:" >&5
8866 cat conftest.$ac_ext >&5
8867 rm -rf conftest*
8868 echo "$ac_t""no" 1>&6
8869 fi
8870 rm -f conftest*
8638 else 8871 else
8639 echo "$ac_t""no" 1>&6 8872 echo "$ac_t""no" 1>&6
8640 fi 8873 fi
8641 8874
8642 else 8875 else
8647 echo "$ac_t""no" 1>&6 8880 echo "$ac_t""no" 1>&6
8648 fi 8881 fi
8649 8882
8650 8883
8651 echo $ac_n "checking for msgget""... $ac_c" 1>&6 8884 echo $ac_n "checking for msgget""... $ac_c" 1>&6
8652 echo "configure:8653: checking for msgget" >&5 8885 echo "configure:8886: checking for msgget" >&5
8653 8886
8654 cat > conftest.$ac_ext <<EOF 8887 cat > conftest.$ac_ext <<EOF
8655 #line 8656 "configure" 8888 #line 8889 "configure"
8656 #include "confdefs.h" 8889 #include "confdefs.h"
8657 /* System header to define __stub macros and hopefully few prototypes, 8890 /* System header to define __stub macros and hopefully few prototypes,
8658 which can conflict with char msgget(); below. */ 8891 which can conflict with char msgget(); below. */
8659 #include <assert.h> 8892 #include <assert.h>
8660 /* Override any gcc2 internal prototype to avoid an error. */ 8893 /* Override any gcc2 internal prototype to avoid an error. */
8673 msgget(); 8906 msgget();
8674 #endif 8907 #endif
8675 8908
8676 ; return 0; } 8909 ; return 0; }
8677 EOF 8910 EOF
8678 if { (eval echo configure:8679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8911 if { (eval echo configure:8912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8679 rm -rf conftest* 8912 rm -rf conftest*
8680 eval "ac_cv_func_msgget=yes" 8913 eval "ac_cv_func_msgget=yes"
8681 else 8914 else
8682 echo "configure: failed program was:" >&5 8915 echo "configure: failed program was:" >&5
8683 cat conftest.$ac_ext >&5 8916 cat conftest.$ac_ext >&5
8688 8921
8689 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 8922 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
8690 echo "$ac_t""yes" 1>&6 8923 echo "$ac_t""yes" 1>&6
8691 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 8924 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
8692 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 8925 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
8693 echo "configure:8694: checking for sys/ipc.h" >&5 8926 echo "configure:8927: checking for sys/ipc.h" >&5
8694 8927
8695 cat > conftest.$ac_ext <<EOF 8928 cat > conftest.$ac_ext <<EOF
8696 #line 8697 "configure" 8929 #line 8930 "configure"
8697 #include "confdefs.h" 8930 #include "confdefs.h"
8698 #include <sys/ipc.h> 8931 #include <sys/ipc.h>
8699 EOF 8932 EOF
8700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8701 { (eval echo configure:8702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8934 { (eval echo configure:8935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8702 ac_err=`grep -v '^ *+' conftest.out` 8935 ac_err=`grep -v '^ *+' conftest.out`
8703 if test -z "$ac_err"; then 8936 if test -z "$ac_err"; then
8704 rm -rf conftest* 8937 rm -rf conftest*
8705 eval "ac_cv_header_$ac_safe=yes" 8938 eval "ac_cv_header_$ac_safe=yes"
8706 else 8939 else
8713 rm -f conftest* 8946 rm -f conftest*
8714 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8715 echo "$ac_t""yes" 1>&6 8948 echo "$ac_t""yes" 1>&6
8716 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 8949 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
8717 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 8950 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
8718 echo "configure:8719: checking for sys/msg.h" >&5 8951 echo "configure:8952: checking for sys/msg.h" >&5
8719 8952
8720 cat > conftest.$ac_ext <<EOF 8953 cat > conftest.$ac_ext <<EOF
8721 #line 8722 "configure" 8954 #line 8955 "configure"
8722 #include "confdefs.h" 8955 #include "confdefs.h"
8723 #include <sys/msg.h> 8956 #include <sys/msg.h>
8724 EOF 8957 EOF
8725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8726 { (eval echo configure:8727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8959 { (eval echo configure:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8727 ac_err=`grep -v '^ *+' conftest.out` 8960 ac_err=`grep -v '^ *+' conftest.out`
8728 if test -z "$ac_err"; then 8961 if test -z "$ac_err"; then
8729 rm -rf conftest* 8962 rm -rf conftest*
8730 eval "ac_cv_header_$ac_safe=yes" 8963 eval "ac_cv_header_$ac_safe=yes"
8731 else 8964 else
8759 fi 8992 fi
8760 8993
8761 8994
8762 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 8995 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
8763 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 8996 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
8764 echo "configure:8765: checking for dirent.h" >&5 8997 echo "configure:8998: checking for dirent.h" >&5
8765 8998
8766 cat > conftest.$ac_ext <<EOF 8999 cat > conftest.$ac_ext <<EOF
8767 #line 8768 "configure" 9000 #line 9001 "configure"
8768 #include "confdefs.h" 9001 #include "confdefs.h"
8769 #include <dirent.h> 9002 #include <dirent.h>
8770 EOF 9003 EOF
8771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8772 { (eval echo configure:8773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9005 { (eval echo configure:9006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8773 ac_err=`grep -v '^ *+' conftest.out` 9006 ac_err=`grep -v '^ *+' conftest.out`
8774 if test -z "$ac_err"; then 9007 if test -z "$ac_err"; then
8775 rm -rf conftest* 9008 rm -rf conftest*
8776 eval "ac_cv_header_$ac_safe=yes" 9009 eval "ac_cv_header_$ac_safe=yes"
8777 else 9010 else
8794 9027
8795 else 9028 else
8796 echo "$ac_t""no" 1>&6 9029 echo "$ac_t""no" 1>&6
8797 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 9030 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
8798 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 9031 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
8799 echo "configure:8800: checking for sys/dir.h" >&5 9032 echo "configure:9033: checking for sys/dir.h" >&5
8800 9033
8801 cat > conftest.$ac_ext <<EOF 9034 cat > conftest.$ac_ext <<EOF
8802 #line 8803 "configure" 9035 #line 9036 "configure"
8803 #include "confdefs.h" 9036 #include "confdefs.h"
8804 #include <sys/dir.h> 9037 #include <sys/dir.h>
8805 EOF 9038 EOF
8806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8807 { (eval echo configure:8808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9040 { (eval echo configure:9041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8808 ac_err=`grep -v '^ *+' conftest.out` 9041 ac_err=`grep -v '^ *+' conftest.out`
8809 if test -z "$ac_err"; then 9042 if test -z "$ac_err"; then
8810 rm -rf conftest* 9043 rm -rf conftest*
8811 eval "ac_cv_header_$ac_safe=yes" 9044 eval "ac_cv_header_$ac_safe=yes"
8812 else 9045 else
8835 fi 9068 fi
8836 9069
8837 9070
8838 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 9071 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
8839 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 9072 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
8840 echo "configure:8841: checking for nlist.h" >&5 9073 echo "configure:9074: checking for nlist.h" >&5
8841 9074
8842 cat > conftest.$ac_ext <<EOF 9075 cat > conftest.$ac_ext <<EOF
8843 #line 8844 "configure" 9076 #line 9077 "configure"
8844 #include "confdefs.h" 9077 #include "confdefs.h"
8845 #include <nlist.h> 9078 #include <nlist.h>
8846 EOF 9079 EOF
8847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8848 { (eval echo configure:8849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9081 { (eval echo configure:9082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8849 ac_err=`grep -v '^ *+' conftest.out` 9082 ac_err=`grep -v '^ *+' conftest.out`
8850 if test -z "$ac_err"; then 9083 if test -z "$ac_err"; then
8851 rm -rf conftest* 9084 rm -rf conftest*
8852 eval "ac_cv_header_$ac_safe=yes" 9085 eval "ac_cv_header_$ac_safe=yes"
8853 else 9086 else
8873 fi 9106 fi
8874 9107
8875 9108
8876 9109
8877 echo "checking "for sound support"" 1>&6 9110 echo "checking "for sound support"" 1>&6
8878 echo "configure:8879: checking "for sound support"" >&5 9111 echo "configure:9112: checking "for sound support"" >&5
8879 case "$with_sound" in 9112 case "$with_sound" in
8880 native | both ) with_native_sound=yes;; 9113 native | both ) with_native_sound=yes;;
8881 nas | no ) with_native_sound=no;; 9114 nas | no ) with_native_sound=no;;
8882 esac 9115 esac
8883 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 9116 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
8884 9117
8885 if test "$with_native_sound" != "no"; then 9118 if test "$with_native_sound" != "no"; then
8886 if test -n "$native_sound_lib"; then 9119 if test -n "$native_sound_lib"; then
8887 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 9120 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
8888 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 9121 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
8889 echo "configure:8890: checking for multimedia/audio_device.h" >&5 9122 echo "configure:9123: checking for multimedia/audio_device.h" >&5
8890 9123
8891 cat > conftest.$ac_ext <<EOF 9124 cat > conftest.$ac_ext <<EOF
8892 #line 8893 "configure" 9125 #line 9126 "configure"
8893 #include "confdefs.h" 9126 #include "confdefs.h"
8894 #include <multimedia/audio_device.h> 9127 #include <multimedia/audio_device.h>
8895 EOF 9128 EOF
8896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9129 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8897 { (eval echo configure:8898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9130 { (eval echo configure:9131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8898 ac_err=`grep -v '^ *+' conftest.out` 9131 ac_err=`grep -v '^ *+' conftest.out`
8899 if test -z "$ac_err"; then 9132 if test -z "$ac_err"; then
8900 rm -rf conftest* 9133 rm -rf conftest*
8901 eval "ac_cv_header_$ac_safe=yes" 9134 eval "ac_cv_header_$ac_safe=yes"
8902 else 9135 else
8940 case "$canonical" in 9173 case "$canonical" in
8941 *-sgi-* ) 9174 *-sgi-* )
8942 if test -z "$native_sound_lib"; then 9175 if test -z "$native_sound_lib"; then
8943 9176
8944 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 9177 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
8945 echo "configure:8946: checking for ALopenport in -laudio" >&5 9178 echo "configure:9179: checking for ALopenport in -laudio" >&5
8946 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 9179 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
8947 9180
8948 xe_check_libs=" -laudio " 9181 xe_check_libs=" -laudio "
8949 cat > conftest.$ac_ext <<EOF 9182 cat > conftest.$ac_ext <<EOF
8950 #line 8951 "configure" 9183 #line 9184 "configure"
8951 #include "confdefs.h" 9184 #include "confdefs.h"
8952 /* Override any gcc2 internal prototype to avoid an error. */ 9185 /* Override any gcc2 internal prototype to avoid an error. */
8953 /* We use char because int might match the return type of a gcc2 9186 /* We use char because int might match the return type of a gcc2
8954 builtin and then its argument prototype would still apply. */ 9187 builtin and then its argument prototype would still apply. */
8955 char ALopenport(); 9188 char ALopenport();
8956 9189
8957 int main() { 9190 int main() {
8958 ALopenport() 9191 ALopenport()
8959 ; return 0; } 9192 ; return 0; }
8960 EOF 9193 EOF
8961 if { (eval echo configure:8962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9194 if { (eval echo configure:9195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8962 rm -rf conftest* 9195 rm -rf conftest*
8963 eval "ac_cv_lib_$ac_lib_var=yes" 9196 eval "ac_cv_lib_$ac_lib_var=yes"
8964 else 9197 else
8965 echo "configure: failed program was:" >&5 9198 echo "configure: failed program was:" >&5
8966 cat conftest.$ac_ext >&5 9199 cat conftest.$ac_ext >&5
8987 fi ;; 9220 fi ;;
8988 hppa*-hp-hpux* ) 9221 hppa*-hp-hpux* )
8989 if test -z "$native_sound_lib"; then 9222 if test -z "$native_sound_lib"; then
8990 9223
8991 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 9224 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
8992 echo "configure:8993: checking for AOpenAudio in -lAlib" >&5 9225 echo "configure:9226: checking for AOpenAudio in -lAlib" >&5
8993 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 9226 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
8994 9227
8995 xe_check_libs=" -lAlib " 9228 xe_check_libs=" -lAlib "
8996 cat > conftest.$ac_ext <<EOF 9229 cat > conftest.$ac_ext <<EOF
8997 #line 8998 "configure" 9230 #line 9231 "configure"
8998 #include "confdefs.h" 9231 #include "confdefs.h"
8999 /* Override any gcc2 internal prototype to avoid an error. */ 9232 /* Override any gcc2 internal prototype to avoid an error. */
9000 /* We use char because int might match the return type of a gcc2 9233 /* We use char because int might match the return type of a gcc2
9001 builtin and then its argument prototype would still apply. */ 9234 builtin and then its argument prototype would still apply. */
9002 char AOpenAudio(); 9235 char AOpenAudio();
9003 9236
9004 int main() { 9237 int main() {
9005 AOpenAudio() 9238 AOpenAudio()
9006 ; return 0; } 9239 ; return 0; }
9007 EOF 9240 EOF
9008 if { (eval echo configure:9009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9241 if { (eval echo configure:9242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9009 rm -rf conftest* 9242 rm -rf conftest*
9010 eval "ac_cv_lib_$ac_lib_var=yes" 9243 eval "ac_cv_lib_$ac_lib_var=yes"
9011 else 9244 else
9012 echo "configure: failed program was:" >&5 9245 echo "configure: failed program was:" >&5
9013 cat conftest.$ac_ext >&5 9246 cat conftest.$ac_ext >&5
9041 9274
9042 if test -z "$sound_found"; then 9275 if test -z "$sound_found"; then
9043 for dir in "machine" "sys" "linux"; do 9276 for dir in "machine" "sys" "linux"; do
9044 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 9277 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
9045 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 9278 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
9046 echo "configure:9047: checking for ${dir}/soundcard.h" >&5 9279 echo "configure:9280: checking for ${dir}/soundcard.h" >&5
9047 9280
9048 cat > conftest.$ac_ext <<EOF 9281 cat > conftest.$ac_ext <<EOF
9049 #line 9050 "configure" 9282 #line 9283 "configure"
9050 #include "confdefs.h" 9283 #include "confdefs.h"
9051 #include <${dir}/soundcard.h> 9284 #include <${dir}/soundcard.h>
9052 EOF 9285 EOF
9053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9054 { (eval echo configure:9055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9287 { (eval echo configure:9288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9055 ac_err=`grep -v '^ *+' conftest.out` 9288 ac_err=`grep -v '^ *+' conftest.out`
9056 if test -z "$ac_err"; then 9289 if test -z "$ac_err"; then
9057 rm -rf conftest* 9290 rm -rf conftest*
9058 eval "ac_cv_header_$ac_safe=yes" 9291 eval "ac_cv_header_$ac_safe=yes"
9059 else 9292 else
9119 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 9352 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
9120 echo " xemacs will be linked with \"nas.o\"" 9353 echo " xemacs will be linked with \"nas.o\""
9121 fi 9354 fi
9122 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 9355 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
9123 cat > conftest.$ac_ext <<EOF 9356 cat > conftest.$ac_ext <<EOF
9124 #line 9125 "configure" 9357 #line 9358 "configure"
9125 #include "confdefs.h" 9358 #include "confdefs.h"
9126 #include <audio/Xtutil.h> 9359 #include <audio/Xtutil.h>
9127 EOF 9360 EOF
9128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9129 egrep "AuXtErrorJump" >/dev/null 2>&1; then 9362 egrep "AuXtErrorJump" >/dev/null 2>&1; then
9146 9379
9147 test -z "$with_tty" && with_tty=yes 9380 test -z "$with_tty" && with_tty=yes
9148 9381
9149 if test "$with_tty" = "yes" ; then 9382 if test "$with_tty" = "yes" ; then
9150 echo "checking for TTY-related features" 1>&6 9383 echo "checking for TTY-related features" 1>&6
9151 echo "configure:9152: checking for TTY-related features" >&5 9384 echo "configure:9385: checking for TTY-related features" >&5
9152 { test "$extra_verbose" = "yes" && cat << \EOF 9385 { test "$extra_verbose" = "yes" && cat << \EOF
9153 Defining HAVE_TTY 9386 Defining HAVE_TTY
9154 EOF 9387 EOF
9155 cat >> confdefs.h <<\EOF 9388 cat >> confdefs.h <<\EOF
9156 #define HAVE_TTY 1 9389 #define HAVE_TTY 1
9162 fi 9395 fi
9163 9396
9164 if test -z "$with_ncurses"; then 9397 if test -z "$with_ncurses"; then
9165 9398
9166 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 9399 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
9167 echo "configure:9168: checking for tgetent in -lncurses" >&5 9400 echo "configure:9401: checking for tgetent in -lncurses" >&5
9168 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 9401 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
9169 9402
9170 xe_check_libs=" -lncurses " 9403 xe_check_libs=" -lncurses "
9171 cat > conftest.$ac_ext <<EOF 9404 cat > conftest.$ac_ext <<EOF
9172 #line 9173 "configure" 9405 #line 9406 "configure"
9173 #include "confdefs.h" 9406 #include "confdefs.h"
9174 /* Override any gcc2 internal prototype to avoid an error. */ 9407 /* Override any gcc2 internal prototype to avoid an error. */
9175 /* We use char because int might match the return type of a gcc2 9408 /* We use char because int might match the return type of a gcc2
9176 builtin and then its argument prototype would still apply. */ 9409 builtin and then its argument prototype would still apply. */
9177 char tgetent(); 9410 char tgetent();
9178 9411
9179 int main() { 9412 int main() {
9180 tgetent() 9413 tgetent()
9181 ; return 0; } 9414 ; return 0; }
9182 EOF 9415 EOF
9183 if { (eval echo configure:9184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9416 if { (eval echo configure:9417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9184 rm -rf conftest* 9417 rm -rf conftest*
9185 eval "ac_cv_lib_$ac_lib_var=yes" 9418 eval "ac_cv_lib_$ac_lib_var=yes"
9186 else 9419 else
9187 echo "configure: failed program was:" >&5 9420 echo "configure: failed program was:" >&5
9188 cat conftest.$ac_ext >&5 9421 cat conftest.$ac_ext >&5
9211 EOF 9444 EOF
9212 } 9445 }
9213 9446
9214 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 9447 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
9215 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 9448 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
9216 echo "configure:9217: checking for ncurses/curses.h" >&5 9449 echo "configure:9450: checking for ncurses/curses.h" >&5
9217 9450
9218 cat > conftest.$ac_ext <<EOF 9451 cat > conftest.$ac_ext <<EOF
9219 #line 9220 "configure" 9452 #line 9453 "configure"
9220 #include "confdefs.h" 9453 #include "confdefs.h"
9221 #include <ncurses/curses.h> 9454 #include <ncurses/curses.h>
9222 EOF 9455 EOF
9223 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9224 { (eval echo configure:9225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9457 { (eval echo configure:9458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9225 ac_err=`grep -v '^ *+' conftest.out` 9458 ac_err=`grep -v '^ *+' conftest.out`
9226 if test -z "$ac_err"; then 9459 if test -z "$ac_err"; then
9227 rm -rf conftest* 9460 rm -rf conftest*
9228 eval "ac_cv_header_$ac_safe=yes" 9461 eval "ac_cv_header_$ac_safe=yes"
9229 else 9462 else
9241 echo "$ac_t""no" 1>&6 9474 echo "$ac_t""no" 1>&6
9242 fi 9475 fi
9243 9476
9244 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 9477 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
9245 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 9478 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
9246 echo "configure:9247: checking for ncurses/term.h" >&5 9479 echo "configure:9480: checking for ncurses/term.h" >&5
9247 9480
9248 cat > conftest.$ac_ext <<EOF 9481 cat > conftest.$ac_ext <<EOF
9249 #line 9250 "configure" 9482 #line 9483 "configure"
9250 #include "confdefs.h" 9483 #include "confdefs.h"
9251 #include <ncurses/term.h> 9484 #include <ncurses/term.h>
9252 EOF 9485 EOF
9253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9254 { (eval echo configure:9255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9487 { (eval echo configure:9488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9255 ac_err=`grep -v '^ *+' conftest.out` 9488 ac_err=`grep -v '^ *+' conftest.out`
9256 if test -z "$ac_err"; then 9489 if test -z "$ac_err"; then
9257 rm -rf conftest* 9490 rm -rf conftest*
9258 eval "ac_cv_header_$ac_safe=yes" 9491 eval "ac_cv_header_$ac_safe=yes"
9259 else 9492 else
9279 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 9512 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
9280 save_c_switch_site="$c_switch_site" 9513 save_c_switch_site="$c_switch_site"
9281 c_switch_site="$c_switch_site -I/usr/include/ncurses" 9514 c_switch_site="$c_switch_site -I/usr/include/ncurses"
9282 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 9515 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
9283 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 9516 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
9284 echo "configure:9285: checking for ncurses/curses.h" >&5 9517 echo "configure:9518: checking for ncurses/curses.h" >&5
9285 9518
9286 cat > conftest.$ac_ext <<EOF 9519 cat > conftest.$ac_ext <<EOF
9287 #line 9288 "configure" 9520 #line 9521 "configure"
9288 #include "confdefs.h" 9521 #include "confdefs.h"
9289 #include <ncurses/curses.h> 9522 #include <ncurses/curses.h>
9290 EOF 9523 EOF
9291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9292 { (eval echo configure:9293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9525 { (eval echo configure:9526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9293 ac_err=`grep -v '^ *+' conftest.out` 9526 ac_err=`grep -v '^ *+' conftest.out`
9294 if test -z "$ac_err"; then 9527 if test -z "$ac_err"; then
9295 rm -rf conftest* 9528 rm -rf conftest*
9296 eval "ac_cv_header_$ac_safe=yes" 9529 eval "ac_cv_header_$ac_safe=yes"
9297 else 9530 else
9322 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 9555 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
9323 else 9556 else
9324 for lib in curses termlib termcap; do 9557 for lib in curses termlib termcap; do
9325 9558
9326 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 9559 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
9327 echo "configure:9328: checking for tgetent in -l$lib" >&5 9560 echo "configure:9561: checking for tgetent in -l$lib" >&5
9328 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 9561 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
9329 9562
9330 xe_check_libs=" -l$lib " 9563 xe_check_libs=" -l$lib "
9331 cat > conftest.$ac_ext <<EOF 9564 cat > conftest.$ac_ext <<EOF
9332 #line 9333 "configure" 9565 #line 9566 "configure"
9333 #include "confdefs.h" 9566 #include "confdefs.h"
9334 /* Override any gcc2 internal prototype to avoid an error. */ 9567 /* Override any gcc2 internal prototype to avoid an error. */
9335 /* We use char because int might match the return type of a gcc2 9568 /* We use char because int might match the return type of a gcc2
9336 builtin and then its argument prototype would still apply. */ 9569 builtin and then its argument prototype would still apply. */
9337 char tgetent(); 9570 char tgetent();
9338 9571
9339 int main() { 9572 int main() {
9340 tgetent() 9573 tgetent()
9341 ; return 0; } 9574 ; return 0; }
9342 EOF 9575 EOF
9343 if { (eval echo configure:9344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9576 if { (eval echo configure:9577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9344 rm -rf conftest* 9577 rm -rf conftest*
9345 eval "ac_cv_lib_$ac_lib_var=yes" 9578 eval "ac_cv_lib_$ac_lib_var=yes"
9346 else 9579 else
9347 echo "configure: failed program was:" >&5 9580 echo "configure: failed program was:" >&5
9348 cat conftest.$ac_ext >&5 9581 cat conftest.$ac_ext >&5
9369 if test -n "$libs_termcap"; then 9602 if test -n "$libs_termcap"; then
9370 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 9603 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
9371 else 9604 else
9372 9605
9373 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 9606 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
9374 echo "configure:9375: checking for tgetent in -lcurses" >&5 9607 echo "configure:9608: checking for tgetent in -lcurses" >&5
9375 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 9608 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
9376 9609
9377 xe_check_libs=" -lcurses " 9610 xe_check_libs=" -lcurses "
9378 cat > conftest.$ac_ext <<EOF 9611 cat > conftest.$ac_ext <<EOF
9379 #line 9380 "configure" 9612 #line 9613 "configure"
9380 #include "confdefs.h" 9613 #include "confdefs.h"
9381 /* Override any gcc2 internal prototype to avoid an error. */ 9614 /* Override any gcc2 internal prototype to avoid an error. */
9382 /* We use char because int might match the return type of a gcc2 9615 /* We use char because int might match the return type of a gcc2
9383 builtin and then its argument prototype would still apply. */ 9616 builtin and then its argument prototype would still apply. */
9384 char tgetent(); 9617 char tgetent();
9385 9618
9386 int main() { 9619 int main() {
9387 tgetent() 9620 tgetent()
9388 ; return 0; } 9621 ; return 0; }
9389 EOF 9622 EOF
9390 if { (eval echo configure:9391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9623 if { (eval echo configure:9624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9391 rm -rf conftest* 9624 rm -rf conftest*
9392 eval "ac_cv_lib_$ac_lib_var=yes" 9625 eval "ac_cv_lib_$ac_lib_var=yes"
9393 else 9626 else
9394 echo "configure: failed program was:" >&5 9627 echo "configure: failed program was:" >&5
9395 cat conftest.$ac_ext >&5 9628 cat conftest.$ac_ext >&5
9403 echo "$ac_t""yes" 1>&6 9636 echo "$ac_t""yes" 1>&6
9404 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 9637 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
9405 else 9638 else
9406 echo "$ac_t""no" 1>&6 9639 echo "$ac_t""no" 1>&6
9407 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 9640 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
9408 echo "configure:9409: checking for tgetent in -ltermcap" >&5 9641 echo "configure:9642: checking for tgetent in -ltermcap" >&5
9409 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 9642 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
9410 9643
9411 xe_check_libs=" -ltermcap " 9644 xe_check_libs=" -ltermcap "
9412 cat > conftest.$ac_ext <<EOF 9645 cat > conftest.$ac_ext <<EOF
9413 #line 9414 "configure" 9646 #line 9647 "configure"
9414 #include "confdefs.h" 9647 #include "confdefs.h"
9415 /* Override any gcc2 internal prototype to avoid an error. */ 9648 /* Override any gcc2 internal prototype to avoid an error. */
9416 /* We use char because int might match the return type of a gcc2 9649 /* We use char because int might match the return type of a gcc2
9417 builtin and then its argument prototype would still apply. */ 9650 builtin and then its argument prototype would still apply. */
9418 char tgetent(); 9651 char tgetent();
9419 9652
9420 int main() { 9653 int main() {
9421 tgetent() 9654 tgetent()
9422 ; return 0; } 9655 ; return 0; }
9423 EOF 9656 EOF
9424 if { (eval echo configure:9425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9657 if { (eval echo configure:9658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9425 rm -rf conftest* 9658 rm -rf conftest*
9426 eval "ac_cv_lib_$ac_lib_var=yes" 9659 eval "ac_cv_lib_$ac_lib_var=yes"
9427 else 9660 else
9428 echo "configure: failed program was:" >&5 9661 echo "configure: failed program was:" >&5
9429 cat conftest.$ac_ext >&5 9662 cat conftest.$ac_ext >&5
9467 } 9700 }
9468 9701
9469 9702
9470 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 9703 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
9471 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 9704 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
9472 echo "configure:9473: checking for gpm.h" >&5 9705 echo "configure:9706: checking for gpm.h" >&5
9473 9706
9474 cat > conftest.$ac_ext <<EOF 9707 cat > conftest.$ac_ext <<EOF
9475 #line 9476 "configure" 9708 #line 9709 "configure"
9476 #include "confdefs.h" 9709 #include "confdefs.h"
9477 #include <gpm.h> 9710 #include <gpm.h>
9478 EOF 9711 EOF
9479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9480 { (eval echo configure:9481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9713 { (eval echo configure:9714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9481 ac_err=`grep -v '^ *+' conftest.out` 9714 ac_err=`grep -v '^ *+' conftest.out`
9482 if test -z "$ac_err"; then 9715 if test -z "$ac_err"; then
9483 rm -rf conftest* 9716 rm -rf conftest*
9484 eval "ac_cv_header_$ac_safe=yes" 9717 eval "ac_cv_header_$ac_safe=yes"
9485 else 9718 else
9498 with_gpm=no 9731 with_gpm=no
9499 fi 9732 fi
9500 } 9733 }
9501 test -z "$with_gpm" && { 9734 test -z "$with_gpm" && {
9502 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 9735 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
9503 echo "configure:9504: checking for Gpm_Open in -lgpm" >&5 9736 echo "configure:9737: checking for Gpm_Open in -lgpm" >&5
9504 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 9737 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
9505 9738
9506 xe_check_libs=" -lgpm " 9739 xe_check_libs=" -lgpm "
9507 cat > conftest.$ac_ext <<EOF 9740 cat > conftest.$ac_ext <<EOF
9508 #line 9509 "configure" 9741 #line 9742 "configure"
9509 #include "confdefs.h" 9742 #include "confdefs.h"
9510 /* Override any gcc2 internal prototype to avoid an error. */ 9743 /* Override any gcc2 internal prototype to avoid an error. */
9511 /* We use char because int might match the return type of a gcc2 9744 /* We use char because int might match the return type of a gcc2
9512 builtin and then its argument prototype would still apply. */ 9745 builtin and then its argument prototype would still apply. */
9513 char Gpm_Open(); 9746 char Gpm_Open();
9514 9747
9515 int main() { 9748 int main() {
9516 Gpm_Open() 9749 Gpm_Open()
9517 ; return 0; } 9750 ; return 0; }
9518 EOF 9751 EOF
9519 if { (eval echo configure:9520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9752 if { (eval echo configure:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9520 rm -rf conftest* 9753 rm -rf conftest*
9521 eval "ac_cv_lib_$ac_lib_var=yes" 9754 eval "ac_cv_lib_$ac_lib_var=yes"
9522 else 9755 else
9523 echo "configure: failed program was:" >&5 9756 echo "configure: failed program was:" >&5
9524 cat conftest.$ac_ext >&5 9757 cat conftest.$ac_ext >&5
9563 echo " xemacs will be linked with \"event-unixoid.o\"" 9796 echo " xemacs will be linked with \"event-unixoid.o\""
9564 fi 9797 fi
9565 9798
9566 9799
9567 echo "checking for database support" 1>&6 9800 echo "checking for database support" 1>&6
9568 echo "configure:9569: checking for database support" >&5 9801 echo "configure:9802: checking for database support" >&5
9569 9802
9570 if test "$with_database_gnudbm" != "no"; then 9803 if test "$with_database_gnudbm" != "no"; then
9571 9804
9572 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 9805 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
9573 echo "configure:9574: checking for dbm_open in -lgdbm" >&5 9806 echo "configure:9807: checking for dbm_open in -lgdbm" >&5
9574 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 9807 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
9575 9808
9576 xe_check_libs=" -lgdbm " 9809 xe_check_libs=" -lgdbm "
9577 cat > conftest.$ac_ext <<EOF 9810 cat > conftest.$ac_ext <<EOF
9578 #line 9579 "configure" 9811 #line 9812 "configure"
9579 #include "confdefs.h" 9812 #include "confdefs.h"
9580 /* Override any gcc2 internal prototype to avoid an error. */ 9813 /* Override any gcc2 internal prototype to avoid an error. */
9581 /* We use char because int might match the return type of a gcc2 9814 /* We use char because int might match the return type of a gcc2
9582 builtin and then its argument prototype would still apply. */ 9815 builtin and then its argument prototype would still apply. */
9583 char dbm_open(); 9816 char dbm_open();
9584 9817
9585 int main() { 9818 int main() {
9586 dbm_open() 9819 dbm_open()
9587 ; return 0; } 9820 ; return 0; }
9588 EOF 9821 EOF
9589 if { (eval echo configure:9590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9822 if { (eval echo configure:9823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9590 rm -rf conftest* 9823 rm -rf conftest*
9591 eval "ac_cv_lib_$ac_lib_var=yes" 9824 eval "ac_cv_lib_$ac_lib_var=yes"
9592 else 9825 else
9593 echo "configure: failed program was:" >&5 9826 echo "configure: failed program was:" >&5
9594 cat conftest.$ac_ext >&5 9827 cat conftest.$ac_ext >&5
9606 fi 9839 fi
9607 9840
9608 9841
9609 if test "$with_database_gnudbm" != "yes"; then 9842 if test "$with_database_gnudbm" != "yes"; then
9610 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 9843 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
9611 echo "configure:9612: checking for dbm_open" >&5 9844 echo "configure:9845: checking for dbm_open" >&5
9612 9845
9613 cat > conftest.$ac_ext <<EOF 9846 cat > conftest.$ac_ext <<EOF
9614 #line 9615 "configure" 9847 #line 9848 "configure"
9615 #include "confdefs.h" 9848 #include "confdefs.h"
9616 /* System header to define __stub macros and hopefully few prototypes, 9849 /* System header to define __stub macros and hopefully few prototypes,
9617 which can conflict with char dbm_open(); below. */ 9850 which can conflict with char dbm_open(); below. */
9618 #include <assert.h> 9851 #include <assert.h>
9619 /* Override any gcc2 internal prototype to avoid an error. */ 9852 /* Override any gcc2 internal prototype to avoid an error. */
9632 dbm_open(); 9865 dbm_open();
9633 #endif 9866 #endif
9634 9867
9635 ; return 0; } 9868 ; return 0; }
9636 EOF 9869 EOF
9637 if { (eval echo configure:9638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9870 if { (eval echo configure:9871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9638 rm -rf conftest* 9871 rm -rf conftest*
9639 eval "ac_cv_func_dbm_open=yes" 9872 eval "ac_cv_func_dbm_open=yes"
9640 else 9873 else
9641 echo "configure: failed program was:" >&5 9874 echo "configure: failed program was:" >&5
9642 cat conftest.$ac_ext >&5 9875 cat conftest.$ac_ext >&5
9668 fi 9901 fi
9669 fi 9902 fi
9670 9903
9671 if test "$with_database_dbm" != "no"; then 9904 if test "$with_database_dbm" != "no"; then
9672 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 9905 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
9673 echo "configure:9674: checking for dbm_open" >&5 9906 echo "configure:9907: checking for dbm_open" >&5
9674 9907
9675 cat > conftest.$ac_ext <<EOF 9908 cat > conftest.$ac_ext <<EOF
9676 #line 9677 "configure" 9909 #line 9910 "configure"
9677 #include "confdefs.h" 9910 #include "confdefs.h"
9678 /* System header to define __stub macros and hopefully few prototypes, 9911 /* System header to define __stub macros and hopefully few prototypes,
9679 which can conflict with char dbm_open(); below. */ 9912 which can conflict with char dbm_open(); below. */
9680 #include <assert.h> 9913 #include <assert.h>
9681 /* Override any gcc2 internal prototype to avoid an error. */ 9914 /* Override any gcc2 internal prototype to avoid an error. */
9694 dbm_open(); 9927 dbm_open();
9695 #endif 9928 #endif
9696 9929
9697 ; return 0; } 9930 ; return 0; }
9698 EOF 9931 EOF
9699 if { (eval echo configure:9700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9932 if { (eval echo configure:9933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9700 rm -rf conftest* 9933 rm -rf conftest*
9701 eval "ac_cv_func_dbm_open=yes" 9934 eval "ac_cv_func_dbm_open=yes"
9702 else 9935 else
9703 echo "configure: failed program was:" >&5 9936 echo "configure: failed program was:" >&5
9704 cat conftest.$ac_ext >&5 9937 cat conftest.$ac_ext >&5
9715 fi 9948 fi
9716 9949
9717 if test "$need_libdbm" != "no"; then 9950 if test "$need_libdbm" != "no"; then
9718 9951
9719 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 9952 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
9720 echo "configure:9721: checking for dbm_open in -ldbm" >&5 9953 echo "configure:9954: checking for dbm_open in -ldbm" >&5
9721 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 9954 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
9722 9955
9723 xe_check_libs=" -ldbm " 9956 xe_check_libs=" -ldbm "
9724 cat > conftest.$ac_ext <<EOF 9957 cat > conftest.$ac_ext <<EOF
9725 #line 9726 "configure" 9958 #line 9959 "configure"
9726 #include "confdefs.h" 9959 #include "confdefs.h"
9727 /* Override any gcc2 internal prototype to avoid an error. */ 9960 /* Override any gcc2 internal prototype to avoid an error. */
9728 /* We use char because int might match the return type of a gcc2 9961 /* We use char because int might match the return type of a gcc2
9729 builtin and then its argument prototype would still apply. */ 9962 builtin and then its argument prototype would still apply. */
9730 char dbm_open(); 9963 char dbm_open();
9731 9964
9732 int main() { 9965 int main() {
9733 dbm_open() 9966 dbm_open()
9734 ; return 0; } 9967 ; return 0; }
9735 EOF 9968 EOF
9736 if { (eval echo configure:9737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9969 if { (eval echo configure:9970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9737 rm -rf conftest* 9970 rm -rf conftest*
9738 eval "ac_cv_lib_$ac_lib_var=yes" 9971 eval "ac_cv_lib_$ac_lib_var=yes"
9739 else 9972 else
9740 echo "configure: failed program was:" >&5 9973 echo "configure: failed program was:" >&5
9741 cat conftest.$ac_ext >&5 9974 cat conftest.$ac_ext >&5
9768 fi 10001 fi
9769 fi 10002 fi
9770 10003
9771 if test "$with_database_berkdb" != "no"; then 10004 if test "$with_database_berkdb" != "no"; then
9772 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 10005 echo $ac_n "checking for dbopen""... $ac_c" 1>&6
9773 echo "configure:9774: checking for dbopen" >&5 10006 echo "configure:10007: checking for dbopen" >&5
9774 10007
9775 cat > conftest.$ac_ext <<EOF 10008 cat > conftest.$ac_ext <<EOF
9776 #line 9777 "configure" 10009 #line 10010 "configure"
9777 #include "confdefs.h" 10010 #include "confdefs.h"
9778 /* System header to define __stub macros and hopefully few prototypes, 10011 /* System header to define __stub macros and hopefully few prototypes,
9779 which can conflict with char dbopen(); below. */ 10012 which can conflict with char dbopen(); below. */
9780 #include <assert.h> 10013 #include <assert.h>
9781 /* Override any gcc2 internal prototype to avoid an error. */ 10014 /* Override any gcc2 internal prototype to avoid an error. */
9794 dbopen(); 10027 dbopen();
9795 #endif 10028 #endif
9796 10029
9797 ; return 0; } 10030 ; return 0; }
9798 EOF 10031 EOF
9799 if { (eval echo configure:9800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10032 if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9800 rm -rf conftest* 10033 rm -rf conftest*
9801 eval "ac_cv_func_dbopen=yes" 10034 eval "ac_cv_func_dbopen=yes"
9802 else 10035 else
9803 echo "configure: failed program was:" >&5 10036 echo "configure: failed program was:" >&5
9804 cat conftest.$ac_ext >&5 10037 cat conftest.$ac_ext >&5
9815 fi 10048 fi
9816 10049
9817 if test "$need_libdb" != "no"; then 10050 if test "$need_libdb" != "no"; then
9818 10051
9819 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 10052 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
9820 echo "configure:9821: checking for dbopen in -ldb" >&5 10053 echo "configure:10054: checking for dbopen in -ldb" >&5
9821 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` 10054 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'`
9822 10055
9823 xe_check_libs=" -ldb " 10056 xe_check_libs=" -ldb "
9824 cat > conftest.$ac_ext <<EOF 10057 cat > conftest.$ac_ext <<EOF
9825 #line 9826 "configure" 10058 #line 10059 "configure"
9826 #include "confdefs.h" 10059 #include "confdefs.h"
9827 /* Override any gcc2 internal prototype to avoid an error. */ 10060 /* Override any gcc2 internal prototype to avoid an error. */
9828 /* We use char because int might match the return type of a gcc2 10061 /* We use char because int might match the return type of a gcc2
9829 builtin and then its argument prototype would still apply. */ 10062 builtin and then its argument prototype would still apply. */
9830 char dbopen(); 10063 char dbopen();
9831 10064
9832 int main() { 10065 int main() {
9833 dbopen() 10066 dbopen()
9834 ; return 0; } 10067 ; return 0; }
9835 EOF 10068 EOF
9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10069 if { (eval echo configure:10070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9837 rm -rf conftest* 10070 rm -rf conftest*
9838 eval "ac_cv_lib_$ac_lib_var=yes" 10071 eval "ac_cv_lib_$ac_lib_var=yes"
9839 else 10072 else
9840 echo "configure: failed program was:" >&5 10073 echo "configure: failed program was:" >&5
9841 cat conftest.$ac_ext >&5 10074 cat conftest.$ac_ext >&5
9855 10088
9856 fi 10089 fi
9857 if test "$with_database_berkdb" = "yes"; then 10090 if test "$with_database_berkdb" = "yes"; then
9858 for path in "db/db.h" "db.h"; do 10091 for path in "db/db.h" "db.h"; do
9859 cat > conftest.$ac_ext <<EOF 10092 cat > conftest.$ac_ext <<EOF
9860 #line 9861 "configure" 10093 #line 10094 "configure"
9861 #include "confdefs.h" 10094 #include "confdefs.h"
9862 #ifdef HAVE_INTTYPES_H 10095 #ifdef HAVE_INTTYPES_H
9863 #define __BIT_TYPES_DEFINED__ 10096 #define __BIT_TYPES_DEFINED__
9864 #include <inttypes.h> 10097 #include <inttypes.h>
9865 typedef uint8_t u_int8_t; 10098 typedef uint8_t u_int8_t;
9873 10106
9874 int main() { 10107 int main() {
9875 10108
9876 ; return 0; } 10109 ; return 0; }
9877 EOF 10110 EOF
9878 if { (eval echo configure:9879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 10111 if { (eval echo configure:10112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9879 rm -rf conftest* 10112 rm -rf conftest*
9880 db_h_path="$path"; break 10113 db_h_path="$path"; break
9881 else 10114 else
9882 echo "configure: failed program was:" >&5 10115 echo "configure: failed program was:" >&5
9883 cat conftest.$ac_ext >&5 10116 cat conftest.$ac_ext >&5
9925 fi 10158 fi
9926 10159
9927 if test "$with_socks" = "yes"; then 10160 if test "$with_socks" = "yes"; then
9928 10161
9929 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 10162 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
9930 echo "configure:9931: checking for SOCKSinit in -lsocks" >&5 10163 echo "configure:10164: checking for SOCKSinit in -lsocks" >&5
9931 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 10164 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
9932 10165
9933 xe_check_libs=" -lsocks " 10166 xe_check_libs=" -lsocks "
9934 cat > conftest.$ac_ext <<EOF 10167 cat > conftest.$ac_ext <<EOF
9935 #line 9936 "configure" 10168 #line 10169 "configure"
9936 #include "confdefs.h" 10169 #include "confdefs.h"
9937 /* Override any gcc2 internal prototype to avoid an error. */ 10170 /* Override any gcc2 internal prototype to avoid an error. */
9938 /* We use char because int might match the return type of a gcc2 10171 /* We use char because int might match the return type of a gcc2
9939 builtin and then its argument prototype would still apply. */ 10172 builtin and then its argument prototype would still apply. */
9940 char SOCKSinit(); 10173 char SOCKSinit();
9941 10174
9942 int main() { 10175 int main() {
9943 SOCKSinit() 10176 SOCKSinit()
9944 ; return 0; } 10177 ; return 0; }
9945 EOF 10178 EOF
9946 if { (eval echo configure:9947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10179 if { (eval echo configure:10180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9947 rm -rf conftest* 10180 rm -rf conftest*
9948 eval "ac_cv_lib_$ac_lib_var=yes" 10181 eval "ac_cv_lib_$ac_lib_var=yes"
9949 else 10182 else
9950 echo "configure: failed program was:" >&5 10183 echo "configure: failed program was:" >&5
9951 cat conftest.$ac_ext >&5 10184 cat conftest.$ac_ext >&5
10455 esac 10688 esac
10456 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously" 10689 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously"
10457 10690
10458 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." 10691 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB."
10459 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." 10692 test "$with_database_dbm" = yes && echo " Compiling in support for DBM."
10460 test "$with_database_gnudbm" = yes && echo " Compiling in support for DBM." 10693 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM."
10694
10695 test "$with_umich_ldap" = yes && echo " Compiling in support for LDAP (UMich libs)."
10696 test "$with_ns_ldap" = yes && echo " Compiling in support for LDAP (Netscape SDK)."
10697 test "$with_ldap" = yes -a "$with_umich_ldap" = no -a "$with_ns_ldap" = no && echo " Compiling in support for LDAP (Generic)."
10461 10698
10462 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." 10699 test "$with_ncurses" = yes && echo " Compiling in support for ncurses."
10463 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." 10700 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)."
10464 10701
10465 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." 10702 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support."
10466 test "$with_mule_coding" = yes && echo " Compiling in Mule coding support." 10703 test "$with_file_coding" = yes && echo " Compiling in File coding support."
10467 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." 10704 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support."
10468 test "$with_xim" = motif && echo " Using Motif to provide XIM support." 10705 test "$with_xim" = motif && echo " Using Motif to provide XIM support."
10469 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." 10706 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support."
10470 test "$with_xfs" = yes && echo " Using XFontSet to provide bilingual menubar." 10707 test "$with_xfs" = yes && echo " Using XFontSet to provide bilingual menubar."
10471 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." 10708 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule."
10477 10714
10478 test "$with_cde" = yes && echo " Compiling in support for CDE." 10715 test "$with_cde" = yes && echo " Compiling in support for CDE."
10479 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." 10716 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk."
10480 test "$with_offix" = yes && echo " Compiling in support for OffiX." 10717 test "$with_offix" = yes && echo " Compiling in support for OffiX."
10481 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." 10718 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop."
10482 test "$with_session" = yes && echo " Compiling in support for proper session-management." 10719 test "$with_session" != no && echo " Compiling in support for proper session-management."
10483 case "$with_menubars" in 10720 case "$with_menubars" in
10484 lucid ) echo " Using Lucid menubars." ;; 10721 lucid ) echo " Using Lucid menubars." ;;
10485 motif ) echo " Using Motif menubars." 10722 motif ) echo " Using Motif menubars."
10486 echo " *WARNING* The Motif menubar implementation is currently buggy." 10723 echo " *WARNING* The Motif menubar implementation is currently buggy."
10487 echo " We recommend using the Lucid menubar instead." 10724 echo " We recommend using the Lucid menubar instead."