Mercurial > hg > xemacs-beta
comparison configure @ 274:ca9a9ec9c1c1 r21-0b35
Import from CVS: tag r21-0b35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:29:42 +0200 |
parents | c5d627a313b1 |
children | 6330739388db |
comparison
equal
deleted
inserted
replaced
273:411aac7253ef | 274:ca9a9ec9c1c1 |
---|---|
216 datadir='${prefix}/lib' | 216 datadir='${prefix}/lib' |
217 statedir='${prefix}/lib' | 217 statedir='${prefix}/lib' |
218 libdir='${exec_prefix}/lib' | 218 libdir='${exec_prefix}/lib' |
219 mandir='${prefix}/man/man1' | 219 mandir='${prefix}/man/man1' |
220 infodir='${datadir}/xemacs-${version}/info' | 220 infodir='${datadir}/xemacs-${version}/info' |
221 infodir_user_defined='no' | 221 infopath='' |
222 infopath='/usr/local/lib/texmf/doc/info:/usr/local/lib/texmf/info:/usr/lib/texmf/doc/info:/usr/lib/texmf/info:/usr/local/info:/usr/info' | |
223 lispdir='${datadir}/xemacs-${version}/lisp' | 222 lispdir='${datadir}/xemacs-${version}/lisp' |
224 lispdir_user_defined='no' | |
225 sitelispdir='${datadir}/xemacs/site-lisp' | 223 sitelispdir='${datadir}/xemacs/site-lisp' |
226 sitelispdir_user_defined='no' | |
227 pkgdir='${datadir}/xemacs-${version}/lisp' | 224 pkgdir='${datadir}/xemacs-${version}/lisp' |
228 package_path='~/.xemacs::${datadir}/xemacs-${version}/mule-packages:${datadir}/xemacs/mule-packages:${datadir}/xemacs-${version}/packages:${datadir}/xemacs/packages' | 225 package_path='' |
229 package_path_user_defined='no' | |
230 etcdir='${datadir}/xemacs-${version}/etc' | 226 etcdir='${datadir}/xemacs-${version}/etc' |
231 etcdir_user_defined='no' | |
232 lockdir='${statedir}/xemacs/lock' | 227 lockdir='${statedir}/xemacs/lock' |
233 lockdir_user_defined='no' | |
234 archlibdir='${libdir}/xemacs-${version}/${configuration}' | 228 archlibdir='${libdir}/xemacs-${version}/${configuration}' |
235 archlibdir_user_defined='no' | |
236 with_site_lisp='no' | 229 with_site_lisp='no' |
237 with_menubars='' | 230 with_menubars='' |
238 with_scrollbars='' | 231 with_scrollbars='' |
239 with_dialogs='' | 232 with_dialogs='' |
240 with_file_coding='' | 233 with_file_coding='' |
287 opt=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*\(.*\)$:\1:'` | 280 opt=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*\(.*\)$:\1:'` |
288 val="yes" valomitted=yes | 281 val="yes" valomitted=yes |
289 ;; | 282 ;; |
290 esac | 283 esac |
291 | 284 |
285 optname="$opt" | |
286 opt="`echo '' $opt | sed -e 's:^ ::' | tr - _`" | |
287 | |
292 case "${valomitted}-${opt}" in yes-without_* ) | 288 case "${valomitted}-${opt}" in yes-without_* ) |
293 opt=`echo $opt | sed 's/without/with/'` | 289 opt=`echo $opt | sed 's/without/with/'` |
294 valomitted="no" val="no" ;; | 290 valomitted="no" val="no" ;; |
295 esac | 291 esac |
296 | |
297 optname="$opt" | |
298 opt="`echo '' $opt | sed -e 's:^ ::' | tr - _`" | |
299 | 292 |
300 case "$opt" in | 293 case "$opt" in |
301 | 294 |
302 run_in_place | \ | 295 run_in_place | \ |
303 with_site_lisp | \ | 296 with_site_lisp | \ |
550 val="$1"; shift | 543 val="$1"; shift |
551 fi | 544 fi |
552 eval "$opt=\"$val\"" | 545 eval "$opt=\"$val\"" |
553 | 546 |
554 case "$opt" in | 547 case "$opt" in |
555 lispdir ) lispdir_user_defined=yes ;; | 548 lispdir ) { test "$extra_verbose" = "yes" && cat << \EOF |
556 sitelispdir ) sitelispdir_user_defined=yes ;; | 549 Defining LISPDIR_USER_DEFINED |
557 etcdir ) etcdir_user_defined=yes ;; | 550 EOF |
558 infodir ) infodir_user_defined=yes ;; | 551 cat >> confdefs.h <<\EOF |
559 package_path ) package_path_user_defined=yes ;; | 552 #define LISPDIR_USER_DEFINED 1 |
560 datadir ) lispdir_user_defined=yes etcdir_user_defined=yes ;; | 553 EOF |
561 statedir | lockdir ) lockdir_user_defined=yes ;; | 554 } |
562 exec_prefix | libdir | archlibdir ) archlibdir_user_defined=yes ;; | 555 ;; |
556 sitelispdir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
557 Defining SITELISPDIR_USER_DEFINED | |
558 EOF | |
559 cat >> confdefs.h <<\EOF | |
560 #define SITELISPDIR_USER_DEFINED 1 | |
561 EOF | |
562 } | |
563 ;; | |
564 etcdir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
565 Defining ETCDIR_USER_DEFINED | |
566 EOF | |
567 cat >> confdefs.h <<\EOF | |
568 #define ETCDIR_USER_DEFINED 1 | |
569 EOF | |
570 } | |
571 ;; | |
572 infodir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
573 Defining INFODIR_USER_DEFINED | |
574 EOF | |
575 cat >> confdefs.h <<\EOF | |
576 #define INFODIR_USER_DEFINED 1 | |
577 EOF | |
578 } | |
579 ;; | |
580 infopath ) { test "$extra_verbose" = "yes" && cat << \EOF | |
581 Defining INFOPATH_USER_DEFINED | |
582 EOF | |
583 cat >> confdefs.h <<\EOF | |
584 #define INFOPATH_USER_DEFINED 1 | |
585 EOF | |
586 } | |
587 ;; | |
588 package_path ) { test "$extra_verbose" = "yes" && cat << \EOF | |
589 Defining PACKAGE_PATH_USER_DEFINED | |
590 EOF | |
591 cat >> confdefs.h <<\EOF | |
592 #define PACKAGE_PATH_USER_DEFINED 1 | |
593 EOF | |
594 } | |
595 ;; | |
596 datadir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
597 Defining ETCDIR_USER_DEFINED | |
598 EOF | |
599 cat >> confdefs.h <<\EOF | |
600 #define ETCDIR_USER_DEFINED 1 | |
601 EOF | |
602 } | |
603 ;; | |
604 statedir | lockdir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
605 Defining LOCKDIR_USER_DEFINED | |
606 EOF | |
607 cat >> confdefs.h <<\EOF | |
608 #define LOCKDIR_USER_DEFINED 1 | |
609 EOF | |
610 } | |
611 ;; | |
612 exec_prefix | libdir | archlibdir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
613 Defining ARCHLIBDIR_USER_DEFINED | |
614 EOF | |
615 cat >> confdefs.h <<\EOF | |
616 #define ARCHLIBDIR_USER_DEFINED 1 | |
617 EOF | |
618 } | |
619 ;; | |
563 esac | 620 esac |
564 ;; | 621 ;; |
565 | 622 |
566 "no_create" ) ;; | 623 "no_create" ) ;; |
567 | 624 |
601 | 658 |
602 test -n "$cpp" && CPP="$cpp" | 659 test -n "$cpp" && CPP="$cpp" |
603 test -n "$cppflags" && CPPFLAGS="$cppflags" | 660 test -n "$cppflags" && CPPFLAGS="$cppflags" |
604 test -n "$libs" && LIBS="$libs" | 661 test -n "$libs" && LIBS="$libs" |
605 test -n "$ldflags" && LDFLAGS="$ldflags" | 662 test -n "$ldflags" && LDFLAGS="$ldflags" |
606 | |
607 | 663 |
608 eval set x "$quoted_arguments"; shift | 664 eval set x "$quoted_arguments"; shift |
609 | 665 |
610 test "$extra_verbose" = "yes" && verbose=yes | 666 test "$extra_verbose" = "yes" && verbose=yes |
611 | 667 |
668 ;; | 724 ;; |
669 esac | 725 esac |
670 | 726 |
671 if test -z "$configuration"; then | 727 if test -z "$configuration"; then |
672 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 728 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
673 echo "configure:674: checking "host system type"" >&5 | 729 echo "configure:730: checking "host system type"" >&5 |
674 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 730 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
675 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 731 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
676 echo "$ac_t""$configuration" 1>&6 | 732 echo "$ac_t""$configuration" 1>&6 |
677 else | 733 else |
678 echo "$ac_t""unknown" 1>&6 | 734 echo "$ac_t""unknown" 1>&6 |
682 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 738 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
683 fi | 739 fi |
684 fi | 740 fi |
685 | 741 |
686 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 742 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
687 echo "configure:688: checking whether ln -s works" >&5 | 743 echo "configure:744: checking whether ln -s works" >&5 |
688 | 744 |
689 rm -f conftestdata | 745 rm -f conftestdata |
690 if ln -s X conftestdata 2>/dev/null | 746 if ln -s X conftestdata 2>/dev/null |
691 then | 747 then |
692 rm -f conftestdata | 748 rm -f conftestdata |
859 } | 915 } |
860 | 916 |
861 | 917 |
862 | 918 |
863 echo "checking "the configuration name"" 1>&6 | 919 echo "checking "the configuration name"" 1>&6 |
864 echo "configure:865: checking "the configuration name"" >&5 | 920 echo "configure:921: checking "the configuration name"" >&5 |
865 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 921 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
866 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 922 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
867 exit $? | 923 exit $? |
868 fi | 924 fi |
869 | 925 |
1323 xe_save_CFLAGS="$CFLAGS" | 1379 xe_save_CFLAGS="$CFLAGS" |
1324 | 1380 |
1325 # Extract the first word of "gcc", so it can be a program name with args. | 1381 # Extract the first word of "gcc", so it can be a program name with args. |
1326 set dummy gcc; ac_word=$2 | 1382 set dummy gcc; ac_word=$2 |
1327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1328 echo "configure:1329: checking for $ac_word" >&5 | 1384 echo "configure:1385: checking for $ac_word" >&5 |
1329 | 1385 |
1330 if test -n "$CC"; then | 1386 if test -n "$CC"; then |
1331 ac_cv_prog_CC="$CC" # Let the user override the test. | 1387 ac_cv_prog_CC="$CC" # Let the user override the test. |
1332 else | 1388 else |
1333 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1389 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1349 | 1405 |
1350 if test -z "$CC"; then | 1406 if test -z "$CC"; then |
1351 # Extract the first word of "cc", so it can be a program name with args. | 1407 # Extract the first word of "cc", so it can be a program name with args. |
1352 set dummy cc; ac_word=$2 | 1408 set dummy cc; ac_word=$2 |
1353 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1354 echo "configure:1355: checking for $ac_word" >&5 | 1410 echo "configure:1411: checking for $ac_word" >&5 |
1355 | 1411 |
1356 if test -n "$CC"; then | 1412 if test -n "$CC"; then |
1357 ac_cv_prog_CC="$CC" # Let the user override the test. | 1413 ac_cv_prog_CC="$CC" # Let the user override the test. |
1358 else | 1414 else |
1359 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1415 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1394 | 1450 |
1395 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1451 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1396 fi | 1452 fi |
1397 | 1453 |
1398 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1454 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1399 echo "configure:1400: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1455 echo "configure:1456: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1400 | 1456 |
1401 ac_ext=c | 1457 ac_ext=c |
1402 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1458 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1403 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1459 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1404 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1460 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1406 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1462 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1407 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1463 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1408 cross_compiling=no | 1464 cross_compiling=no |
1409 | 1465 |
1410 cat > conftest.$ac_ext <<EOF | 1466 cat > conftest.$ac_ext <<EOF |
1411 #line 1412 "configure" | 1467 #line 1468 "configure" |
1412 #include "confdefs.h" | 1468 #include "confdefs.h" |
1413 main(){return(0);} | 1469 main(){return(0);} |
1414 EOF | 1470 EOF |
1415 if { (eval echo configure:1416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1471 if { (eval echo configure:1472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1416 ac_cv_prog_cc_works=yes | 1472 ac_cv_prog_cc_works=yes |
1417 # If we can't run a trivial program, we are probably using a cross compiler. | 1473 # If we can't run a trivial program, we are probably using a cross compiler. |
1418 if (./conftest; exit) 2>/dev/null; then | 1474 if (./conftest; exit) 2>/dev/null; then |
1419 ac_cv_prog_cc_cross=no | 1475 ac_cv_prog_cc_cross=no |
1420 else | 1476 else |
1430 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1486 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1431 if test $ac_cv_prog_cc_works = no; then | 1487 if test $ac_cv_prog_cc_works = no; then |
1432 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1488 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1433 fi | 1489 fi |
1434 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1490 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1435 echo "configure:1436: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1491 echo "configure:1492: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1436 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1492 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1437 cross_compiling=$ac_cv_prog_cc_cross | 1493 cross_compiling=$ac_cv_prog_cc_cross |
1438 | 1494 |
1439 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1495 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1440 echo "configure:1441: checking whether we are using GNU C" >&5 | 1496 echo "configure:1497: checking whether we are using GNU C" >&5 |
1441 | 1497 |
1442 cat > conftest.c <<EOF | 1498 cat > conftest.c <<EOF |
1443 #ifdef __GNUC__ | 1499 #ifdef __GNUC__ |
1444 yes; | 1500 yes; |
1445 #endif | 1501 #endif |
1446 EOF | 1502 EOF |
1447 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1503 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1448 ac_cv_prog_gcc=yes | 1504 ac_cv_prog_gcc=yes |
1449 else | 1505 else |
1450 ac_cv_prog_gcc=no | 1506 ac_cv_prog_gcc=no |
1451 fi | 1507 fi |
1452 | 1508 |
1456 GCC=yes | 1512 GCC=yes |
1457 ac_test_CFLAGS="${CFLAGS+set}" | 1513 ac_test_CFLAGS="${CFLAGS+set}" |
1458 ac_save_CFLAGS="$CFLAGS" | 1514 ac_save_CFLAGS="$CFLAGS" |
1459 CFLAGS= | 1515 CFLAGS= |
1460 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1516 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1461 echo "configure:1462: checking whether ${CC-cc} accepts -g" >&5 | 1517 echo "configure:1518: checking whether ${CC-cc} accepts -g" >&5 |
1462 | 1518 |
1463 echo 'void f(){}' > conftest.c | 1519 echo 'void f(){}' > conftest.c |
1464 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1520 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1465 ac_cv_prog_cc_g=yes | 1521 ac_cv_prog_cc_g=yes |
1466 else | 1522 else |
1485 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1541 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1486 CC=${NON_GNU_CC-cc} | 1542 CC=${NON_GNU_CC-cc} |
1487 # Extract the first word of "gcc", so it can be a program name with args. | 1543 # Extract the first word of "gcc", so it can be a program name with args. |
1488 set dummy gcc; ac_word=$2 | 1544 set dummy gcc; ac_word=$2 |
1489 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1545 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1490 echo "configure:1491: checking for $ac_word" >&5 | 1546 echo "configure:1547: checking for $ac_word" >&5 |
1491 | 1547 |
1492 if test -n "$CC"; then | 1548 if test -n "$CC"; then |
1493 ac_cv_prog_CC="$CC" # Let the user override the test. | 1549 ac_cv_prog_CC="$CC" # Let the user override the test. |
1494 else | 1550 else |
1495 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1551 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1511 | 1567 |
1512 if test -z "$CC"; then | 1568 if test -z "$CC"; then |
1513 # Extract the first word of "cc", so it can be a program name with args. | 1569 # Extract the first word of "cc", so it can be a program name with args. |
1514 set dummy cc; ac_word=$2 | 1570 set dummy cc; ac_word=$2 |
1515 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1516 echo "configure:1517: checking for $ac_word" >&5 | 1572 echo "configure:1573: checking for $ac_word" >&5 |
1517 | 1573 |
1518 if test -n "$CC"; then | 1574 if test -n "$CC"; then |
1519 ac_cv_prog_CC="$CC" # Let the user override the test. | 1575 ac_cv_prog_CC="$CC" # Let the user override the test. |
1520 else | 1576 else |
1521 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1556 | 1612 |
1557 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1613 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1558 fi | 1614 fi |
1559 | 1615 |
1560 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1616 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1561 echo "configure:1562: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1617 echo "configure:1618: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1562 | 1618 |
1563 ac_ext=c | 1619 ac_ext=c |
1564 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1620 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1565 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1621 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1566 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1622 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1568 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1624 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1569 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1625 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1570 cross_compiling=no | 1626 cross_compiling=no |
1571 | 1627 |
1572 cat > conftest.$ac_ext <<EOF | 1628 cat > conftest.$ac_ext <<EOF |
1573 #line 1574 "configure" | 1629 #line 1630 "configure" |
1574 #include "confdefs.h" | 1630 #include "confdefs.h" |
1575 main(){return(0);} | 1631 main(){return(0);} |
1576 EOF | 1632 EOF |
1577 if { (eval echo configure:1578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1633 if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1578 ac_cv_prog_cc_works=yes | 1634 ac_cv_prog_cc_works=yes |
1579 # If we can't run a trivial program, we are probably using a cross compiler. | 1635 # If we can't run a trivial program, we are probably using a cross compiler. |
1580 if (./conftest; exit) 2>/dev/null; then | 1636 if (./conftest; exit) 2>/dev/null; then |
1581 ac_cv_prog_cc_cross=no | 1637 ac_cv_prog_cc_cross=no |
1582 else | 1638 else |
1592 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1648 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1593 if test $ac_cv_prog_cc_works = no; then | 1649 if test $ac_cv_prog_cc_works = no; then |
1594 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1650 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1595 fi | 1651 fi |
1596 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1652 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1597 echo "configure:1598: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1653 echo "configure:1654: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1598 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1654 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1599 cross_compiling=$ac_cv_prog_cc_cross | 1655 cross_compiling=$ac_cv_prog_cc_cross |
1600 | 1656 |
1601 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1657 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1602 echo "configure:1603: checking whether we are using GNU C" >&5 | 1658 echo "configure:1659: checking whether we are using GNU C" >&5 |
1603 | 1659 |
1604 cat > conftest.c <<EOF | 1660 cat > conftest.c <<EOF |
1605 #ifdef __GNUC__ | 1661 #ifdef __GNUC__ |
1606 yes; | 1662 yes; |
1607 #endif | 1663 #endif |
1608 EOF | 1664 EOF |
1609 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1665 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1610 ac_cv_prog_gcc=yes | 1666 ac_cv_prog_gcc=yes |
1611 else | 1667 else |
1612 ac_cv_prog_gcc=no | 1668 ac_cv_prog_gcc=no |
1613 fi | 1669 fi |
1614 | 1670 |
1618 GCC=yes | 1674 GCC=yes |
1619 ac_test_CFLAGS="${CFLAGS+set}" | 1675 ac_test_CFLAGS="${CFLAGS+set}" |
1620 ac_save_CFLAGS="$CFLAGS" | 1676 ac_save_CFLAGS="$CFLAGS" |
1621 CFLAGS= | 1677 CFLAGS= |
1622 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1678 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1623 echo "configure:1624: checking whether ${CC-cc} accepts -g" >&5 | 1679 echo "configure:1680: checking whether ${CC-cc} accepts -g" >&5 |
1624 | 1680 |
1625 echo 'void f(){}' > conftest.c | 1681 echo 'void f(){}' > conftest.c |
1626 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1682 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1627 ac_cv_prog_cc_g=yes | 1683 ac_cv_prog_cc_g=yes |
1628 else | 1684 else |
1647 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1703 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1648 CC=gcc | 1704 CC=gcc |
1649 # Extract the first word of "gcc", so it can be a program name with args. | 1705 # Extract the first word of "gcc", so it can be a program name with args. |
1650 set dummy gcc; ac_word=$2 | 1706 set dummy gcc; ac_word=$2 |
1651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1707 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1652 echo "configure:1653: checking for $ac_word" >&5 | 1708 echo "configure:1709: checking for $ac_word" >&5 |
1653 | 1709 |
1654 if test -n "$CC"; then | 1710 if test -n "$CC"; then |
1655 ac_cv_prog_CC="$CC" # Let the user override the test. | 1711 ac_cv_prog_CC="$CC" # Let the user override the test. |
1656 else | 1712 else |
1657 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1673 | 1729 |
1674 if test -z "$CC"; then | 1730 if test -z "$CC"; then |
1675 # Extract the first word of "cc", so it can be a program name with args. | 1731 # Extract the first word of "cc", so it can be a program name with args. |
1676 set dummy cc; ac_word=$2 | 1732 set dummy cc; ac_word=$2 |
1677 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1678 echo "configure:1679: checking for $ac_word" >&5 | 1734 echo "configure:1735: checking for $ac_word" >&5 |
1679 | 1735 |
1680 if test -n "$CC"; then | 1736 if test -n "$CC"; then |
1681 ac_cv_prog_CC="$CC" # Let the user override the test. | 1737 ac_cv_prog_CC="$CC" # Let the user override the test. |
1682 else | 1738 else |
1683 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1718 | 1774 |
1719 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1775 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1720 fi | 1776 fi |
1721 | 1777 |
1722 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1778 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1723 echo "configure:1724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1779 echo "configure:1780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1724 | 1780 |
1725 ac_ext=c | 1781 ac_ext=c |
1726 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1782 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1727 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1783 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1728 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1784 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1730 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1786 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1731 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1787 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1732 cross_compiling=no | 1788 cross_compiling=no |
1733 | 1789 |
1734 cat > conftest.$ac_ext <<EOF | 1790 cat > conftest.$ac_ext <<EOF |
1735 #line 1736 "configure" | 1791 #line 1792 "configure" |
1736 #include "confdefs.h" | 1792 #include "confdefs.h" |
1737 main(){return(0);} | 1793 main(){return(0);} |
1738 EOF | 1794 EOF |
1739 if { (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1795 if { (eval echo configure:1796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1740 ac_cv_prog_cc_works=yes | 1796 ac_cv_prog_cc_works=yes |
1741 # If we can't run a trivial program, we are probably using a cross compiler. | 1797 # If we can't run a trivial program, we are probably using a cross compiler. |
1742 if (./conftest; exit) 2>/dev/null; then | 1798 if (./conftest; exit) 2>/dev/null; then |
1743 ac_cv_prog_cc_cross=no | 1799 ac_cv_prog_cc_cross=no |
1744 else | 1800 else |
1754 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1810 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1755 if test $ac_cv_prog_cc_works = no; then | 1811 if test $ac_cv_prog_cc_works = no; then |
1756 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1812 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1757 fi | 1813 fi |
1758 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1814 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1759 echo "configure:1760: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1815 echo "configure:1816: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1760 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1816 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1761 cross_compiling=$ac_cv_prog_cc_cross | 1817 cross_compiling=$ac_cv_prog_cc_cross |
1762 | 1818 |
1763 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1819 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1764 echo "configure:1765: checking whether we are using GNU C" >&5 | 1820 echo "configure:1821: checking whether we are using GNU C" >&5 |
1765 | 1821 |
1766 cat > conftest.c <<EOF | 1822 cat > conftest.c <<EOF |
1767 #ifdef __GNUC__ | 1823 #ifdef __GNUC__ |
1768 yes; | 1824 yes; |
1769 #endif | 1825 #endif |
1770 EOF | 1826 EOF |
1771 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1827 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1772 ac_cv_prog_gcc=yes | 1828 ac_cv_prog_gcc=yes |
1773 else | 1829 else |
1774 ac_cv_prog_gcc=no | 1830 ac_cv_prog_gcc=no |
1775 fi | 1831 fi |
1776 | 1832 |
1780 GCC=yes | 1836 GCC=yes |
1781 ac_test_CFLAGS="${CFLAGS+set}" | 1837 ac_test_CFLAGS="${CFLAGS+set}" |
1782 ac_save_CFLAGS="$CFLAGS" | 1838 ac_save_CFLAGS="$CFLAGS" |
1783 CFLAGS= | 1839 CFLAGS= |
1784 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1840 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1785 echo "configure:1786: checking whether ${CC-cc} accepts -g" >&5 | 1841 echo "configure:1842: checking whether ${CC-cc} accepts -g" >&5 |
1786 | 1842 |
1787 echo 'void f(){}' > conftest.c | 1843 echo 'void f(){}' > conftest.c |
1788 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1844 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1789 ac_cv_prog_cc_g=yes | 1845 ac_cv_prog_cc_g=yes |
1790 else | 1846 else |
1813 test -n "$CPP" -a -d "$CPP" && CPP= | 1869 test -n "$CPP" -a -d "$CPP" && CPP= |
1814 | 1870 |
1815 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1871 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1816 | 1872 |
1817 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1873 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1818 echo "configure:1819: checking how to run the C preprocessor" >&5 | 1874 echo "configure:1875: checking how to run the C preprocessor" >&5 |
1819 # On Suns, sometimes $CPP names a directory. | 1875 # On Suns, sometimes $CPP names a directory. |
1820 if test -n "$CPP" && test -d "$CPP"; then | 1876 if test -n "$CPP" && test -d "$CPP"; then |
1821 CPP= | 1877 CPP= |
1822 fi | 1878 fi |
1823 if test -z "$CPP"; then | 1879 if test -z "$CPP"; then |
1826 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1882 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1827 CPP="${CC-cc} -E" | 1883 CPP="${CC-cc} -E" |
1828 # On the NeXT, cc -E runs the code through the compiler's parser, | 1884 # On the NeXT, cc -E runs the code through the compiler's parser, |
1829 # not just through cpp. | 1885 # not just through cpp. |
1830 cat > conftest.$ac_ext <<EOF | 1886 cat > conftest.$ac_ext <<EOF |
1831 #line 1832 "configure" | 1887 #line 1888 "configure" |
1832 #include "confdefs.h" | 1888 #include "confdefs.h" |
1833 #include <assert.h> | 1889 #include <assert.h> |
1834 Syntax Error | 1890 Syntax Error |
1835 EOF | 1891 EOF |
1836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1837 { (eval echo configure:1838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1893 { (eval echo configure:1894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1838 ac_err=`grep -v '^ *+' conftest.out` | 1894 ac_err=`grep -v '^ *+' conftest.out` |
1839 if test -z "$ac_err"; then | 1895 if test -z "$ac_err"; then |
1840 : | 1896 : |
1841 else | 1897 else |
1842 echo "$ac_err" >&5 | 1898 echo "$ac_err" >&5 |
1843 echo "configure: failed program was:" >&5 | 1899 echo "configure: failed program was:" >&5 |
1844 cat conftest.$ac_ext >&5 | 1900 cat conftest.$ac_ext >&5 |
1845 rm -rf conftest* | 1901 rm -rf conftest* |
1846 CPP="${CC-cc} -E -traditional-cpp" | 1902 CPP="${CC-cc} -E -traditional-cpp" |
1847 cat > conftest.$ac_ext <<EOF | 1903 cat > conftest.$ac_ext <<EOF |
1848 #line 1849 "configure" | 1904 #line 1905 "configure" |
1849 #include "confdefs.h" | 1905 #include "confdefs.h" |
1850 #include <assert.h> | 1906 #include <assert.h> |
1851 Syntax Error | 1907 Syntax Error |
1852 EOF | 1908 EOF |
1853 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1854 { (eval echo configure:1855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1910 { (eval echo configure:1911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1855 ac_err=`grep -v '^ *+' conftest.out` | 1911 ac_err=`grep -v '^ *+' conftest.out` |
1856 if test -z "$ac_err"; then | 1912 if test -z "$ac_err"; then |
1857 : | 1913 : |
1858 else | 1914 else |
1859 echo "$ac_err" >&5 | 1915 echo "$ac_err" >&5 |
1872 fi | 1928 fi |
1873 echo "$ac_t""$CPP" 1>&6 | 1929 echo "$ac_t""$CPP" 1>&6 |
1874 | 1930 |
1875 | 1931 |
1876 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1932 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1877 echo "configure:1878: checking for AIX" >&5 | 1933 echo "configure:1934: checking for AIX" >&5 |
1878 cat > conftest.$ac_ext <<EOF | 1934 cat > conftest.$ac_ext <<EOF |
1879 #line 1880 "configure" | 1935 #line 1936 "configure" |
1880 #include "confdefs.h" | 1936 #include "confdefs.h" |
1881 #ifdef _AIX | 1937 #ifdef _AIX |
1882 yes | 1938 yes |
1883 #endif | 1939 #endif |
1884 | 1940 |
1901 rm -f conftest* | 1957 rm -f conftest* |
1902 | 1958 |
1903 | 1959 |
1904 | 1960 |
1905 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 1961 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
1906 echo "configure:1907: checking for GNU libc" >&5 | 1962 echo "configure:1963: checking for GNU libc" >&5 |
1907 cat > conftest.$ac_ext <<EOF | 1963 cat > conftest.$ac_ext <<EOF |
1908 #line 1909 "configure" | 1964 #line 1965 "configure" |
1909 #include "confdefs.h" | 1965 #include "confdefs.h" |
1910 #include <features.h> | 1966 #include <features.h> |
1911 int main() { | 1967 int main() { |
1912 | 1968 |
1913 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 1969 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
1915 ******* ======= ******** &&&&&&&& | 1971 ******* ======= ******** &&&&&&&& |
1916 #endif | 1972 #endif |
1917 | 1973 |
1918 ; return 0; } | 1974 ; return 0; } |
1919 EOF | 1975 EOF |
1920 if { (eval echo configure:1921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1976 if { (eval echo configure:1977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1921 rm -rf conftest* | 1977 rm -rf conftest* |
1922 have_glibc=yes | 1978 have_glibc=yes |
1923 else | 1979 else |
1924 echo "configure: failed program was:" >&5 | 1980 echo "configure: failed program was:" >&5 |
1925 cat conftest.$ac_ext >&5 | 1981 cat conftest.$ac_ext >&5 |
1936 EOF | 1992 EOF |
1937 } | 1993 } |
1938 | 1994 |
1939 | 1995 |
1940 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1996 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
1941 echo "configure:1942: checking whether we are using SunPro C" >&5 | 1997 echo "configure:1998: checking whether we are using SunPro C" >&5 |
1942 cat > conftest.$ac_ext <<EOF | 1998 cat > conftest.$ac_ext <<EOF |
1943 #line 1944 "configure" | 1999 #line 2000 "configure" |
1944 #include "confdefs.h" | 2000 #include "confdefs.h" |
1945 | 2001 |
1946 int main() { | 2002 int main() { |
1947 #ifndef __SUNPRO_C | 2003 #ifndef __SUNPRO_C |
1948 #error Not a SunPro compiler :-( | 2004 #error Not a SunPro compiler :-( |
1949 ******* ======= ******** &&&&&&&& | 2005 ******* ======= ******** &&&&&&&& |
1950 #endif | 2006 #endif |
1951 | 2007 |
1952 ; return 0; } | 2008 ; return 0; } |
1953 EOF | 2009 EOF |
1954 if { (eval echo configure:1955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2010 if { (eval echo configure:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1955 rm -rf conftest* | 2011 rm -rf conftest* |
1956 __sunpro_c=yes | 2012 __sunpro_c=yes |
1957 else | 2013 else |
1958 echo "configure: failed program was:" >&5 | 2014 echo "configure: failed program was:" >&5 |
1959 cat conftest.$ac_ext >&5 | 2015 cat conftest.$ac_ext >&5 |
2212 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2268 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2213 echo " xemacs will be linked with \"$unexec\"" | 2269 echo " xemacs will be linked with \"$unexec\"" |
2214 fi | 2270 fi |
2215 | 2271 |
2216 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2272 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2217 echo "configure:2218: checking for dynodump" >&5 | 2273 echo "configure:2274: checking for dynodump" >&5 |
2218 if test "$unexec" != "unexsol2.o"; then | 2274 if test "$unexec" != "unexsol2.o"; then |
2219 echo "$ac_t""no" 1>&6 | 2275 echo "$ac_t""no" 1>&6 |
2220 else | 2276 else |
2221 echo "$ac_t""yes" 1>&6 | 2277 echo "$ac_t""yes" 1>&6 |
2222 { test "$extra_verbose" = "yes" && cat << \EOF | 2278 { test "$extra_verbose" = "yes" && cat << \EOF |
2236 esac | 2292 esac |
2237 test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$extra_verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi | 2293 test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$extra_verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi |
2238 fi | 2294 fi |
2239 | 2295 |
2240 | 2296 |
2241 test "$machine$opsys" = "powerpclinux" && start_flags="-T $srcdir/ppc.ldscript" | 2297 test "$machine$opsys" = "powerpclinux" && start_flags="-T $srcdir/src/ppc.ldscript" |
2242 | 2298 |
2243 if test "$unexec" = "unexaix.o"; then | 2299 if test "$unexec" = "unexaix.o"; then |
2244 if test "$dynamic" = "no"; then | 2300 if test "$dynamic" = "no"; then |
2245 start_flags="-Wl,-bnso,-bnodelcsect" | 2301 start_flags="-Wl,-bnso,-bnodelcsect" |
2246 test "$GCC" = "yes" && start_flags="-B/bin/ ${start_flags}" | 2302 test "$GCC" = "yes" && start_flags="-B/bin/ ${start_flags}" |
2312 esac | 2368 esac |
2313 fi | 2369 fi |
2314 | 2370 |
2315 if test "$add_runtime_path" = "yes"; then | 2371 if test "$add_runtime_path" = "yes"; then |
2316 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2372 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2317 echo "configure:2318: checking "for runtime libraries flag"" >&5 | 2373 echo "configure:2374: checking "for runtime libraries flag"" >&5 |
2318 dash_r="" | 2374 dash_r="" |
2319 for try_dash_r in "-R" "-R " "-rpath "; do | 2375 for try_dash_r in "-R" "-R " "-rpath "; do |
2320 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2376 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2321 | 2377 |
2322 if test "$GCC" = "yes"; then | 2378 if test "$GCC" = "yes"; then |
2330 esac | 2386 esac |
2331 shift | 2387 shift |
2332 done | 2388 done |
2333 fi | 2389 fi |
2334 cat > conftest.$ac_ext <<EOF | 2390 cat > conftest.$ac_ext <<EOF |
2335 #line 2336 "configure" | 2391 #line 2392 "configure" |
2336 #include "confdefs.h" | 2392 #include "confdefs.h" |
2337 | 2393 |
2338 int main() { | 2394 int main() { |
2339 | 2395 |
2340 ; return 0; } | 2396 ; return 0; } |
2341 EOF | 2397 EOF |
2342 if { (eval echo configure:2343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2398 if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2343 rm -rf conftest* | 2399 rm -rf conftest* |
2344 dash_r="$try_dash_r" | 2400 dash_r="$try_dash_r" |
2345 else | 2401 else |
2346 echo "configure: failed program was:" >&5 | 2402 echo "configure: failed program was:" >&5 |
2347 cat conftest.$ac_ext >&5 | 2403 cat conftest.$ac_ext >&5 |
2437 else | 2493 else |
2438 doug_lea_malloc=no | 2494 doug_lea_malloc=no |
2439 fi | 2495 fi |
2440 after_morecore_hook_exists=yes | 2496 after_morecore_hook_exists=yes |
2441 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2497 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2442 echo "configure:2443: checking for malloc_get_state" >&5 | 2498 echo "configure:2499: checking for malloc_get_state" >&5 |
2443 | 2499 |
2444 cat > conftest.$ac_ext <<EOF | 2500 cat > conftest.$ac_ext <<EOF |
2445 #line 2446 "configure" | 2501 #line 2502 "configure" |
2446 #include "confdefs.h" | 2502 #include "confdefs.h" |
2447 /* System header to define __stub macros and hopefully few prototypes, | 2503 /* System header to define __stub macros and hopefully few prototypes, |
2448 which can conflict with char malloc_get_state(); below. */ | 2504 which can conflict with char malloc_get_state(); below. */ |
2449 #include <assert.h> | 2505 #include <assert.h> |
2450 /* Override any gcc2 internal prototype to avoid an error. */ | 2506 /* Override any gcc2 internal prototype to avoid an error. */ |
2463 malloc_get_state(); | 2519 malloc_get_state(); |
2464 #endif | 2520 #endif |
2465 | 2521 |
2466 ; return 0; } | 2522 ; return 0; } |
2467 EOF | 2523 EOF |
2468 if { (eval echo configure:2469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2524 if { (eval echo configure:2525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2469 rm -rf conftest* | 2525 rm -rf conftest* |
2470 eval "ac_cv_func_malloc_get_state=yes" | 2526 eval "ac_cv_func_malloc_get_state=yes" |
2471 else | 2527 else |
2472 echo "configure: failed program was:" >&5 | 2528 echo "configure: failed program was:" >&5 |
2473 cat conftest.$ac_ext >&5 | 2529 cat conftest.$ac_ext >&5 |
2483 echo "$ac_t""no" 1>&6 | 2539 echo "$ac_t""no" 1>&6 |
2484 doug_lea_malloc=no | 2540 doug_lea_malloc=no |
2485 fi | 2541 fi |
2486 | 2542 |
2487 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2543 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2488 echo "configure:2489: checking for malloc_set_state" >&5 | 2544 echo "configure:2545: checking for malloc_set_state" >&5 |
2489 | 2545 |
2490 cat > conftest.$ac_ext <<EOF | 2546 cat > conftest.$ac_ext <<EOF |
2491 #line 2492 "configure" | 2547 #line 2548 "configure" |
2492 #include "confdefs.h" | 2548 #include "confdefs.h" |
2493 /* System header to define __stub macros and hopefully few prototypes, | 2549 /* System header to define __stub macros and hopefully few prototypes, |
2494 which can conflict with char malloc_set_state(); below. */ | 2550 which can conflict with char malloc_set_state(); below. */ |
2495 #include <assert.h> | 2551 #include <assert.h> |
2496 /* Override any gcc2 internal prototype to avoid an error. */ | 2552 /* Override any gcc2 internal prototype to avoid an error. */ |
2509 malloc_set_state(); | 2565 malloc_set_state(); |
2510 #endif | 2566 #endif |
2511 | 2567 |
2512 ; return 0; } | 2568 ; return 0; } |
2513 EOF | 2569 EOF |
2514 if { (eval echo configure:2515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2515 rm -rf conftest* | 2571 rm -rf conftest* |
2516 eval "ac_cv_func_malloc_set_state=yes" | 2572 eval "ac_cv_func_malloc_set_state=yes" |
2517 else | 2573 else |
2518 echo "configure: failed program was:" >&5 | 2574 echo "configure: failed program was:" >&5 |
2519 cat conftest.$ac_ext >&5 | 2575 cat conftest.$ac_ext >&5 |
2529 echo "$ac_t""no" 1>&6 | 2585 echo "$ac_t""no" 1>&6 |
2530 doug_lea_malloc=no | 2586 doug_lea_malloc=no |
2531 fi | 2587 fi |
2532 | 2588 |
2533 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2589 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2534 echo "configure:2535: checking whether __after_morecore_hook exists" >&5 | 2590 echo "configure:2591: checking whether __after_morecore_hook exists" >&5 |
2535 cat > conftest.$ac_ext <<EOF | 2591 cat > conftest.$ac_ext <<EOF |
2536 #line 2537 "configure" | 2592 #line 2593 "configure" |
2537 #include "confdefs.h" | 2593 #include "confdefs.h" |
2538 extern void (* __after_morecore_hook)(); | 2594 extern void (* __after_morecore_hook)(); |
2539 int main() { | 2595 int main() { |
2540 __after_morecore_hook = 0 | 2596 __after_morecore_hook = 0 |
2541 ; return 0; } | 2597 ; return 0; } |
2542 EOF | 2598 EOF |
2543 if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2599 if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2544 rm -rf conftest* | 2600 rm -rf conftest* |
2545 echo "$ac_t""yes" 1>&6 | 2601 echo "$ac_t""yes" 1>&6 |
2546 else | 2602 else |
2547 echo "configure: failed program was:" >&5 | 2603 echo "configure: failed program was:" >&5 |
2548 cat conftest.$ac_ext >&5 | 2604 cat conftest.$ac_ext >&5 |
2597 | 2653 |
2598 | 2654 |
2599 # Extract the first word of "ranlib", so it can be a program name with args. | 2655 # Extract the first word of "ranlib", so it can be a program name with args. |
2600 set dummy ranlib; ac_word=$2 | 2656 set dummy ranlib; ac_word=$2 |
2601 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2602 echo "configure:2603: checking for $ac_word" >&5 | 2658 echo "configure:2659: checking for $ac_word" >&5 |
2603 | 2659 |
2604 if test -n "$RANLIB"; then | 2660 if test -n "$RANLIB"; then |
2605 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2661 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2606 else | 2662 else |
2607 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2650 # AIX /bin/install | 2706 # AIX /bin/install |
2651 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2707 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2652 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2708 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2653 # ./install, which can be erroneously created by make from ./install.sh. | 2709 # ./install, which can be erroneously created by make from ./install.sh. |
2654 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2710 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2655 echo "configure:2656: checking for a BSD compatible install" >&5 | 2711 echo "configure:2712: checking for a BSD compatible install" >&5 |
2656 if test -z "$INSTALL"; then | 2712 if test -z "$INSTALL"; then |
2657 | 2713 |
2658 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2714 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2659 for ac_dir in $PATH; do | 2715 for ac_dir in $PATH; do |
2660 # Account for people who put trailing slashes in PATH elements. | 2716 # Account for people who put trailing slashes in PATH elements. |
2701 for ac_prog in 'bison -y' byacc | 2757 for ac_prog in 'bison -y' byacc |
2702 do | 2758 do |
2703 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2759 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2704 set dummy $ac_prog; ac_word=$2 | 2760 set dummy $ac_prog; ac_word=$2 |
2705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2706 echo "configure:2707: checking for $ac_word" >&5 | 2762 echo "configure:2763: checking for $ac_word" >&5 |
2707 | 2763 |
2708 if test -n "$YACC"; then | 2764 if test -n "$YACC"; then |
2709 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2765 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2710 else | 2766 else |
2711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2767 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2732 | 2788 |
2733 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2789 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2734 do | 2790 do |
2735 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2791 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2736 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2792 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2737 echo "configure:2738: checking for $ac_hdr" >&5 | 2793 echo "configure:2794: checking for $ac_hdr" >&5 |
2738 | 2794 |
2739 cat > conftest.$ac_ext <<EOF | 2795 cat > conftest.$ac_ext <<EOF |
2740 #line 2741 "configure" | 2796 #line 2797 "configure" |
2741 #include "confdefs.h" | 2797 #include "confdefs.h" |
2742 #include <$ac_hdr> | 2798 #include <$ac_hdr> |
2743 EOF | 2799 EOF |
2744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2745 { (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2801 { (eval echo configure:2802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2746 ac_err=`grep -v '^ *+' conftest.out` | 2802 ac_err=`grep -v '^ *+' conftest.out` |
2747 if test -z "$ac_err"; then | 2803 if test -z "$ac_err"; then |
2748 rm -rf conftest* | 2804 rm -rf conftest* |
2749 eval "ac_cv_header_$ac_safe=yes" | 2805 eval "ac_cv_header_$ac_safe=yes" |
2750 else | 2806 else |
2773 | 2829 |
2774 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2830 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2775 do | 2831 do |
2776 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2832 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2777 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2833 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2778 echo "configure:2779: checking for $ac_hdr" >&5 | 2834 echo "configure:2835: checking for $ac_hdr" >&5 |
2779 | 2835 |
2780 cat > conftest.$ac_ext <<EOF | 2836 cat > conftest.$ac_ext <<EOF |
2781 #line 2782 "configure" | 2837 #line 2838 "configure" |
2782 #include "confdefs.h" | 2838 #include "confdefs.h" |
2783 #include <$ac_hdr> | 2839 #include <$ac_hdr> |
2784 EOF | 2840 EOF |
2785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2786 { (eval echo configure:2787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2842 { (eval echo configure:2843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2787 ac_err=`grep -v '^ *+' conftest.out` | 2843 ac_err=`grep -v '^ *+' conftest.out` |
2788 if test -z "$ac_err"; then | 2844 if test -z "$ac_err"; then |
2789 rm -rf conftest* | 2845 rm -rf conftest* |
2790 eval "ac_cv_header_$ac_safe=yes" | 2846 eval "ac_cv_header_$ac_safe=yes" |
2791 else | 2847 else |
2814 | 2870 |
2815 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2871 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
2816 do | 2872 do |
2817 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2873 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2818 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2819 echo "configure:2820: checking for $ac_hdr" >&5 | 2875 echo "configure:2876: checking for $ac_hdr" >&5 |
2820 | 2876 |
2821 cat > conftest.$ac_ext <<EOF | 2877 cat > conftest.$ac_ext <<EOF |
2822 #line 2823 "configure" | 2878 #line 2879 "configure" |
2823 #include "confdefs.h" | 2879 #include "confdefs.h" |
2824 #include <$ac_hdr> | 2880 #include <$ac_hdr> |
2825 EOF | 2881 EOF |
2826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2827 { (eval echo configure:2828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2883 { (eval echo configure:2884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2828 ac_err=`grep -v '^ *+' conftest.out` | 2884 ac_err=`grep -v '^ *+' conftest.out` |
2829 if test -z "$ac_err"; then | 2885 if test -z "$ac_err"; then |
2830 rm -rf conftest* | 2886 rm -rf conftest* |
2831 eval "ac_cv_header_$ac_safe=yes" | 2887 eval "ac_cv_header_$ac_safe=yes" |
2832 else | 2888 else |
2852 echo "$ac_t""no" 1>&6 | 2908 echo "$ac_t""no" 1>&6 |
2853 fi | 2909 fi |
2854 done | 2910 done |
2855 | 2911 |
2856 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2912 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2857 echo "configure:2858: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2913 echo "configure:2914: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2858 | 2914 |
2859 cat > conftest.$ac_ext <<EOF | 2915 cat > conftest.$ac_ext <<EOF |
2860 #line 2861 "configure" | 2916 #line 2917 "configure" |
2861 #include "confdefs.h" | 2917 #include "confdefs.h" |
2862 #include <sys/types.h> | 2918 #include <sys/types.h> |
2863 #include <sys/wait.h> | 2919 #include <sys/wait.h> |
2864 #ifndef WEXITSTATUS | 2920 #ifndef WEXITSTATUS |
2865 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2921 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2871 int s; | 2927 int s; |
2872 wait (&s); | 2928 wait (&s); |
2873 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2929 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2874 ; return 0; } | 2930 ; return 0; } |
2875 EOF | 2931 EOF |
2876 if { (eval echo configure:2877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2932 if { (eval echo configure:2933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2877 rm -rf conftest* | 2933 rm -rf conftest* |
2878 ac_cv_header_sys_wait_h=yes | 2934 ac_cv_header_sys_wait_h=yes |
2879 else | 2935 else |
2880 echo "configure: failed program was:" >&5 | 2936 echo "configure: failed program was:" >&5 |
2881 cat conftest.$ac_ext >&5 | 2937 cat conftest.$ac_ext >&5 |
2895 } | 2951 } |
2896 | 2952 |
2897 fi | 2953 fi |
2898 | 2954 |
2899 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2955 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2900 echo "configure:2901: checking for ANSI C header files" >&5 | 2956 echo "configure:2957: checking for ANSI C header files" >&5 |
2901 | 2957 |
2902 cat > conftest.$ac_ext <<EOF | 2958 cat > conftest.$ac_ext <<EOF |
2903 #line 2904 "configure" | 2959 #line 2960 "configure" |
2904 #include "confdefs.h" | 2960 #include "confdefs.h" |
2905 #include <stdlib.h> | 2961 #include <stdlib.h> |
2906 #include <stdarg.h> | 2962 #include <stdarg.h> |
2907 #include <string.h> | 2963 #include <string.h> |
2908 #include <float.h> | 2964 #include <float.h> |
2909 EOF | 2965 EOF |
2910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2911 { (eval echo configure:2912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2967 { (eval echo configure:2968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2912 ac_err=`grep -v '^ *+' conftest.out` | 2968 ac_err=`grep -v '^ *+' conftest.out` |
2913 if test -z "$ac_err"; then | 2969 if test -z "$ac_err"; then |
2914 rm -rf conftest* | 2970 rm -rf conftest* |
2915 ac_cv_header_stdc=yes | 2971 ac_cv_header_stdc=yes |
2916 else | 2972 else |
2923 rm -f conftest* | 2979 rm -f conftest* |
2924 | 2980 |
2925 if test $ac_cv_header_stdc = yes; then | 2981 if test $ac_cv_header_stdc = yes; then |
2926 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2982 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2927 cat > conftest.$ac_ext <<EOF | 2983 cat > conftest.$ac_ext <<EOF |
2928 #line 2929 "configure" | 2984 #line 2985 "configure" |
2929 #include "confdefs.h" | 2985 #include "confdefs.h" |
2930 #include <string.h> | 2986 #include <string.h> |
2931 EOF | 2987 EOF |
2932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2933 egrep "memchr" >/dev/null 2>&1; then | 2989 egrep "memchr" >/dev/null 2>&1; then |
2941 fi | 2997 fi |
2942 | 2998 |
2943 if test $ac_cv_header_stdc = yes; then | 2999 if test $ac_cv_header_stdc = yes; then |
2944 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3000 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2945 cat > conftest.$ac_ext <<EOF | 3001 cat > conftest.$ac_ext <<EOF |
2946 #line 2947 "configure" | 3002 #line 3003 "configure" |
2947 #include "confdefs.h" | 3003 #include "confdefs.h" |
2948 #include <stdlib.h> | 3004 #include <stdlib.h> |
2949 EOF | 3005 EOF |
2950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2951 egrep "free" >/dev/null 2>&1; then | 3007 egrep "free" >/dev/null 2>&1; then |
2959 fi | 3015 fi |
2960 | 3016 |
2961 if test $ac_cv_header_stdc = yes; then | 3017 if test $ac_cv_header_stdc = yes; then |
2962 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3018 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2963 cat > conftest.$ac_ext <<EOF | 3019 cat > conftest.$ac_ext <<EOF |
2964 #line 2965 "configure" | 3020 #line 3021 "configure" |
2965 #include "confdefs.h" | 3021 #include "confdefs.h" |
2966 #include <ctype.h> | 3022 #include <ctype.h> |
2967 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3023 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2968 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3024 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2969 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3025 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2970 int main () { int i; for (i = 0; i < 256; i++) | 3026 int main () { int i; for (i = 0; i < 256; i++) |
2971 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3027 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2972 exit (0); } | 3028 exit (0); } |
2973 | 3029 |
2974 EOF | 3030 EOF |
2975 if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3031 if { (eval echo configure:3032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2976 then | 3032 then |
2977 : | 3033 : |
2978 else | 3034 else |
2979 echo "configure: failed program was:" >&5 | 3035 echo "configure: failed program was:" >&5 |
2980 cat conftest.$ac_ext >&5 | 3036 cat conftest.$ac_ext >&5 |
2995 } | 3051 } |
2996 | 3052 |
2997 fi | 3053 fi |
2998 | 3054 |
2999 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3055 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3000 echo "configure:3001: checking whether time.h and sys/time.h may both be included" >&5 | 3056 echo "configure:3057: checking whether time.h and sys/time.h may both be included" >&5 |
3001 | 3057 |
3002 cat > conftest.$ac_ext <<EOF | 3058 cat > conftest.$ac_ext <<EOF |
3003 #line 3004 "configure" | 3059 #line 3060 "configure" |
3004 #include "confdefs.h" | 3060 #include "confdefs.h" |
3005 #include <sys/types.h> | 3061 #include <sys/types.h> |
3006 #include <sys/time.h> | 3062 #include <sys/time.h> |
3007 #include <time.h> | 3063 #include <time.h> |
3008 int main() { | 3064 int main() { |
3009 struct tm *tp; | 3065 struct tm *tp; |
3010 ; return 0; } | 3066 ; return 0; } |
3011 EOF | 3067 EOF |
3012 if { (eval echo configure:3013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3068 if { (eval echo configure:3069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3013 rm -rf conftest* | 3069 rm -rf conftest* |
3014 ac_cv_header_time=yes | 3070 ac_cv_header_time=yes |
3015 else | 3071 else |
3016 echo "configure: failed program was:" >&5 | 3072 echo "configure: failed program was:" >&5 |
3017 cat conftest.$ac_ext >&5 | 3073 cat conftest.$ac_ext >&5 |
3031 } | 3087 } |
3032 | 3088 |
3033 fi | 3089 fi |
3034 | 3090 |
3035 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3091 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3036 echo "configure:3037: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3092 echo "configure:3093: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3037 | 3093 |
3038 cat > conftest.$ac_ext <<EOF | 3094 cat > conftest.$ac_ext <<EOF |
3039 #line 3040 "configure" | 3095 #line 3096 "configure" |
3040 #include "confdefs.h" | 3096 #include "confdefs.h" |
3041 #include <sys/types.h> | 3097 #include <sys/types.h> |
3042 #include <signal.h> | 3098 #include <signal.h> |
3043 /* NetBSD declares sys_siglist in unistd.h. */ | 3099 /* NetBSD declares sys_siglist in unistd.h. */ |
3044 #ifdef HAVE_UNISTD_H | 3100 #ifdef HAVE_UNISTD_H |
3046 #endif | 3102 #endif |
3047 int main() { | 3103 int main() { |
3048 char *msg = *(sys_siglist + 1); | 3104 char *msg = *(sys_siglist + 1); |
3049 ; return 0; } | 3105 ; return 0; } |
3050 EOF | 3106 EOF |
3051 if { (eval echo configure:3052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3107 if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3052 rm -rf conftest* | 3108 rm -rf conftest* |
3053 ac_cv_decl_sys_siglist=yes | 3109 ac_cv_decl_sys_siglist=yes |
3054 else | 3110 else |
3055 echo "configure: failed program was:" >&5 | 3111 echo "configure: failed program was:" >&5 |
3056 cat conftest.$ac_ext >&5 | 3112 cat conftest.$ac_ext >&5 |
3071 | 3127 |
3072 fi | 3128 fi |
3073 | 3129 |
3074 | 3130 |
3075 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3131 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3076 echo "configure:3077: checking for struct utimbuf" >&5 | 3132 echo "configure:3133: checking for struct utimbuf" >&5 |
3077 cat > conftest.$ac_ext <<EOF | 3133 cat > conftest.$ac_ext <<EOF |
3078 #line 3079 "configure" | 3134 #line 3135 "configure" |
3079 #include "confdefs.h" | 3135 #include "confdefs.h" |
3080 #ifdef TIME_WITH_SYS_TIME | 3136 #ifdef TIME_WITH_SYS_TIME |
3081 #include <sys/time.h> | 3137 #include <sys/time.h> |
3082 #include <time.h> | 3138 #include <time.h> |
3083 #else | 3139 #else |
3092 #endif | 3148 #endif |
3093 int main() { | 3149 int main() { |
3094 static struct utimbuf x; x.actime = x.modtime; | 3150 static struct utimbuf x; x.actime = x.modtime; |
3095 ; return 0; } | 3151 ; return 0; } |
3096 EOF | 3152 EOF |
3097 if { (eval echo configure:3098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3098 rm -rf conftest* | 3154 rm -rf conftest* |
3099 echo "$ac_t""yes" 1>&6 | 3155 echo "$ac_t""yes" 1>&6 |
3100 { test "$extra_verbose" = "yes" && cat << \EOF | 3156 { test "$extra_verbose" = "yes" && cat << \EOF |
3101 Defining HAVE_STRUCT_UTIMBUF | 3157 Defining HAVE_STRUCT_UTIMBUF |
3102 EOF | 3158 EOF |
3112 echo "$ac_t""no" 1>&6 | 3168 echo "$ac_t""no" 1>&6 |
3113 fi | 3169 fi |
3114 rm -f conftest* | 3170 rm -f conftest* |
3115 | 3171 |
3116 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3172 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3117 echo "configure:3118: checking return type of signal handlers" >&5 | 3173 echo "configure:3174: checking return type of signal handlers" >&5 |
3118 | 3174 |
3119 cat > conftest.$ac_ext <<EOF | 3175 cat > conftest.$ac_ext <<EOF |
3120 #line 3121 "configure" | 3176 #line 3177 "configure" |
3121 #include "confdefs.h" | 3177 #include "confdefs.h" |
3122 #include <sys/types.h> | 3178 #include <sys/types.h> |
3123 #include <signal.h> | 3179 #include <signal.h> |
3124 #ifdef signal | 3180 #ifdef signal |
3125 #undef signal | 3181 #undef signal |
3132 | 3188 |
3133 int main() { | 3189 int main() { |
3134 int i; | 3190 int i; |
3135 ; return 0; } | 3191 ; return 0; } |
3136 EOF | 3192 EOF |
3137 if { (eval echo configure:3138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3193 if { (eval echo configure:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3138 rm -rf conftest* | 3194 rm -rf conftest* |
3139 ac_cv_type_signal=void | 3195 ac_cv_type_signal=void |
3140 else | 3196 else |
3141 echo "configure: failed program was:" >&5 | 3197 echo "configure: failed program was:" >&5 |
3142 cat conftest.$ac_ext >&5 | 3198 cat conftest.$ac_ext >&5 |
3154 EOF | 3210 EOF |
3155 } | 3211 } |
3156 | 3212 |
3157 | 3213 |
3158 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3214 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3159 echo "configure:3160: checking for size_t" >&5 | 3215 echo "configure:3216: checking for size_t" >&5 |
3160 | 3216 |
3161 cat > conftest.$ac_ext <<EOF | 3217 cat > conftest.$ac_ext <<EOF |
3162 #line 3163 "configure" | 3218 #line 3219 "configure" |
3163 #include "confdefs.h" | 3219 #include "confdefs.h" |
3164 #include <sys/types.h> | 3220 #include <sys/types.h> |
3165 #if STDC_HEADERS | 3221 #if STDC_HEADERS |
3166 #include <stdlib.h> | 3222 #include <stdlib.h> |
3167 #include <stddef.h> | 3223 #include <stddef.h> |
3188 } | 3244 } |
3189 | 3245 |
3190 fi | 3246 fi |
3191 | 3247 |
3192 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3248 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3193 echo "configure:3194: checking for pid_t" >&5 | 3249 echo "configure:3250: checking for pid_t" >&5 |
3194 | 3250 |
3195 cat > conftest.$ac_ext <<EOF | 3251 cat > conftest.$ac_ext <<EOF |
3196 #line 3197 "configure" | 3252 #line 3253 "configure" |
3197 #include "confdefs.h" | 3253 #include "confdefs.h" |
3198 #include <sys/types.h> | 3254 #include <sys/types.h> |
3199 #if STDC_HEADERS | 3255 #if STDC_HEADERS |
3200 #include <stdlib.h> | 3256 #include <stdlib.h> |
3201 #include <stddef.h> | 3257 #include <stddef.h> |
3222 } | 3278 } |
3223 | 3279 |
3224 fi | 3280 fi |
3225 | 3281 |
3226 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3282 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3227 echo "configure:3228: checking for uid_t in sys/types.h" >&5 | 3283 echo "configure:3284: checking for uid_t in sys/types.h" >&5 |
3228 | 3284 |
3229 cat > conftest.$ac_ext <<EOF | 3285 cat > conftest.$ac_ext <<EOF |
3230 #line 3231 "configure" | 3286 #line 3287 "configure" |
3231 #include "confdefs.h" | 3287 #include "confdefs.h" |
3232 #include <sys/types.h> | 3288 #include <sys/types.h> |
3233 EOF | 3289 EOF |
3234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3235 egrep "uid_t" >/dev/null 2>&1; then | 3291 egrep "uid_t" >/dev/null 2>&1; then |
3261 } | 3317 } |
3262 | 3318 |
3263 fi | 3319 fi |
3264 | 3320 |
3265 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3321 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3266 echo "configure:3267: checking for mode_t" >&5 | 3322 echo "configure:3323: checking for mode_t" >&5 |
3267 | 3323 |
3268 cat > conftest.$ac_ext <<EOF | 3324 cat > conftest.$ac_ext <<EOF |
3269 #line 3270 "configure" | 3325 #line 3326 "configure" |
3270 #include "confdefs.h" | 3326 #include "confdefs.h" |
3271 #include <sys/types.h> | 3327 #include <sys/types.h> |
3272 #if STDC_HEADERS | 3328 #if STDC_HEADERS |
3273 #include <stdlib.h> | 3329 #include <stdlib.h> |
3274 #include <stddef.h> | 3330 #include <stddef.h> |
3295 } | 3351 } |
3296 | 3352 |
3297 fi | 3353 fi |
3298 | 3354 |
3299 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3355 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3300 echo "configure:3301: checking for off_t" >&5 | 3356 echo "configure:3357: checking for off_t" >&5 |
3301 | 3357 |
3302 cat > conftest.$ac_ext <<EOF | 3358 cat > conftest.$ac_ext <<EOF |
3303 #line 3304 "configure" | 3359 #line 3360 "configure" |
3304 #include "confdefs.h" | 3360 #include "confdefs.h" |
3305 #include <sys/types.h> | 3361 #include <sys/types.h> |
3306 #if STDC_HEADERS | 3362 #if STDC_HEADERS |
3307 #include <stdlib.h> | 3363 #include <stdlib.h> |
3308 #include <stddef.h> | 3364 #include <stddef.h> |
3330 | 3386 |
3331 fi | 3387 fi |
3332 | 3388 |
3333 | 3389 |
3334 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3390 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3335 echo "configure:3336: checking for struct timeval" >&5 | 3391 echo "configure:3392: checking for struct timeval" >&5 |
3336 cat > conftest.$ac_ext <<EOF | 3392 cat > conftest.$ac_ext <<EOF |
3337 #line 3338 "configure" | 3393 #line 3394 "configure" |
3338 #include "confdefs.h" | 3394 #include "confdefs.h" |
3339 #ifdef TIME_WITH_SYS_TIME | 3395 #ifdef TIME_WITH_SYS_TIME |
3340 #include <sys/time.h> | 3396 #include <sys/time.h> |
3341 #include <time.h> | 3397 #include <time.h> |
3342 #else | 3398 #else |
3348 #endif | 3404 #endif |
3349 int main() { | 3405 int main() { |
3350 static struct timeval x; x.tv_sec = x.tv_usec; | 3406 static struct timeval x; x.tv_sec = x.tv_usec; |
3351 ; return 0; } | 3407 ; return 0; } |
3352 EOF | 3408 EOF |
3353 if { (eval echo configure:3354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3409 if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3354 rm -rf conftest* | 3410 rm -rf conftest* |
3355 echo "$ac_t""yes" 1>&6 | 3411 echo "$ac_t""yes" 1>&6 |
3356 HAVE_TIMEVAL=yes | 3412 HAVE_TIMEVAL=yes |
3357 { test "$extra_verbose" = "yes" && cat << \EOF | 3413 { test "$extra_verbose" = "yes" && cat << \EOF |
3358 Defining HAVE_TIMEVAL | 3414 Defining HAVE_TIMEVAL |
3370 HAVE_TIMEVAL=no | 3426 HAVE_TIMEVAL=no |
3371 fi | 3427 fi |
3372 rm -f conftest* | 3428 rm -f conftest* |
3373 | 3429 |
3374 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3430 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3375 echo "configure:3376: checking whether struct tm is in sys/time.h or time.h" >&5 | 3431 echo "configure:3432: checking whether struct tm is in sys/time.h or time.h" >&5 |
3376 | 3432 |
3377 cat > conftest.$ac_ext <<EOF | 3433 cat > conftest.$ac_ext <<EOF |
3378 #line 3379 "configure" | 3434 #line 3435 "configure" |
3379 #include "confdefs.h" | 3435 #include "confdefs.h" |
3380 #include <sys/types.h> | 3436 #include <sys/types.h> |
3381 #include <time.h> | 3437 #include <time.h> |
3382 int main() { | 3438 int main() { |
3383 struct tm *tp; tp->tm_sec; | 3439 struct tm *tp; tp->tm_sec; |
3384 ; return 0; } | 3440 ; return 0; } |
3385 EOF | 3441 EOF |
3386 if { (eval echo configure:3387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3442 if { (eval echo configure:3443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3387 rm -rf conftest* | 3443 rm -rf conftest* |
3388 ac_cv_struct_tm=time.h | 3444 ac_cv_struct_tm=time.h |
3389 else | 3445 else |
3390 echo "configure: failed program was:" >&5 | 3446 echo "configure: failed program was:" >&5 |
3391 cat conftest.$ac_ext >&5 | 3447 cat conftest.$ac_ext >&5 |
3405 } | 3461 } |
3406 | 3462 |
3407 fi | 3463 fi |
3408 | 3464 |
3409 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3465 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3410 echo "configure:3411: checking for tm_zone in struct tm" >&5 | 3466 echo "configure:3467: checking for tm_zone in struct tm" >&5 |
3411 | 3467 |
3412 cat > conftest.$ac_ext <<EOF | 3468 cat > conftest.$ac_ext <<EOF |
3413 #line 3414 "configure" | 3469 #line 3470 "configure" |
3414 #include "confdefs.h" | 3470 #include "confdefs.h" |
3415 #include <sys/types.h> | 3471 #include <sys/types.h> |
3416 #include <$ac_cv_struct_tm> | 3472 #include <$ac_cv_struct_tm> |
3417 int main() { | 3473 int main() { |
3418 struct tm tm; tm.tm_zone; | 3474 struct tm tm; tm.tm_zone; |
3419 ; return 0; } | 3475 ; return 0; } |
3420 EOF | 3476 EOF |
3421 if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3477 if { (eval echo configure:3478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3422 rm -rf conftest* | 3478 rm -rf conftest* |
3423 ac_cv_struct_tm_zone=yes | 3479 ac_cv_struct_tm_zone=yes |
3424 else | 3480 else |
3425 echo "configure: failed program was:" >&5 | 3481 echo "configure: failed program was:" >&5 |
3426 cat conftest.$ac_ext >&5 | 3482 cat conftest.$ac_ext >&5 |
3439 EOF | 3495 EOF |
3440 } | 3496 } |
3441 | 3497 |
3442 else | 3498 else |
3443 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3499 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3444 echo "configure:3445: checking for tzname" >&5 | 3500 echo "configure:3501: checking for tzname" >&5 |
3445 | 3501 |
3446 cat > conftest.$ac_ext <<EOF | 3502 cat > conftest.$ac_ext <<EOF |
3447 #line 3448 "configure" | 3503 #line 3504 "configure" |
3448 #include "confdefs.h" | 3504 #include "confdefs.h" |
3449 #include <time.h> | 3505 #include <time.h> |
3450 #ifndef tzname /* For SGI. */ | 3506 #ifndef tzname /* For SGI. */ |
3451 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3507 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3452 #endif | 3508 #endif |
3453 int main() { | 3509 int main() { |
3454 atoi(*tzname); | 3510 atoi(*tzname); |
3455 ; return 0; } | 3511 ; return 0; } |
3456 EOF | 3512 EOF |
3457 if { (eval echo configure:3458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3513 if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3458 rm -rf conftest* | 3514 rm -rf conftest* |
3459 ac_cv_var_tzname=yes | 3515 ac_cv_var_tzname=yes |
3460 else | 3516 else |
3461 echo "configure: failed program was:" >&5 | 3517 echo "configure: failed program was:" >&5 |
3462 cat conftest.$ac_ext >&5 | 3518 cat conftest.$ac_ext >&5 |
3478 fi | 3534 fi |
3479 fi | 3535 fi |
3480 | 3536 |
3481 | 3537 |
3482 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3538 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3483 echo "configure:3484: checking for working const" >&5 | 3539 echo "configure:3540: checking for working const" >&5 |
3484 | 3540 |
3485 cat > conftest.$ac_ext <<EOF | 3541 cat > conftest.$ac_ext <<EOF |
3486 #line 3487 "configure" | 3542 #line 3543 "configure" |
3487 #include "confdefs.h" | 3543 #include "confdefs.h" |
3488 | 3544 |
3489 int main() { | 3545 int main() { |
3490 | 3546 |
3491 /* Ultrix mips cc rejects this. */ | 3547 /* Ultrix mips cc rejects this. */ |
3530 const int foo = 10; | 3586 const int foo = 10; |
3531 } | 3587 } |
3532 | 3588 |
3533 ; return 0; } | 3589 ; return 0; } |
3534 EOF | 3590 EOF |
3535 if { (eval echo configure:3536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3591 if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3536 rm -rf conftest* | 3592 rm -rf conftest* |
3537 ac_cv_c_const=yes | 3593 ac_cv_c_const=yes |
3538 else | 3594 else |
3539 echo "configure: failed program was:" >&5 | 3595 echo "configure: failed program was:" >&5 |
3540 cat conftest.$ac_ext >&5 | 3596 cat conftest.$ac_ext >&5 |
3555 | 3611 |
3556 fi | 3612 fi |
3557 | 3613 |
3558 | 3614 |
3559 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3615 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3560 echo "configure:3561: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3616 echo "configure:3617: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3561 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3617 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3562 | 3618 |
3563 cat > conftestmake <<\EOF | 3619 cat > conftestmake <<\EOF |
3564 all: | 3620 all: |
3565 @echo 'ac_maketemp="${MAKE}"' | 3621 @echo 'ac_maketemp="${MAKE}"' |
3580 SET_MAKE="MAKE=${MAKE-make}" | 3636 SET_MAKE="MAKE=${MAKE-make}" |
3581 fi | 3637 fi |
3582 | 3638 |
3583 | 3639 |
3584 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3640 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3585 echo "configure:3586: checking whether byte ordering is bigendian" >&5 | 3641 echo "configure:3642: checking whether byte ordering is bigendian" >&5 |
3586 | 3642 |
3587 ac_cv_c_bigendian=unknown | 3643 ac_cv_c_bigendian=unknown |
3588 # See if sys/param.h defines the BYTE_ORDER macro. | 3644 # See if sys/param.h defines the BYTE_ORDER macro. |
3589 cat > conftest.$ac_ext <<EOF | 3645 cat > conftest.$ac_ext <<EOF |
3590 #line 3591 "configure" | 3646 #line 3647 "configure" |
3591 #include "confdefs.h" | 3647 #include "confdefs.h" |
3592 #include <sys/types.h> | 3648 #include <sys/types.h> |
3593 #include <sys/param.h> | 3649 #include <sys/param.h> |
3594 int main() { | 3650 int main() { |
3595 | 3651 |
3596 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3652 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3597 bogus endian macros | 3653 bogus endian macros |
3598 #endif | 3654 #endif |
3599 ; return 0; } | 3655 ; return 0; } |
3600 EOF | 3656 EOF |
3601 if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3657 if { (eval echo configure:3658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3602 rm -rf conftest* | 3658 rm -rf conftest* |
3603 # It does; now see whether it defined to BIG_ENDIAN or not. | 3659 # It does; now see whether it defined to BIG_ENDIAN or not. |
3604 cat > conftest.$ac_ext <<EOF | 3660 cat > conftest.$ac_ext <<EOF |
3605 #line 3606 "configure" | 3661 #line 3662 "configure" |
3606 #include "confdefs.h" | 3662 #include "confdefs.h" |
3607 #include <sys/types.h> | 3663 #include <sys/types.h> |
3608 #include <sys/param.h> | 3664 #include <sys/param.h> |
3609 int main() { | 3665 int main() { |
3610 | 3666 |
3611 #if BYTE_ORDER != BIG_ENDIAN | 3667 #if BYTE_ORDER != BIG_ENDIAN |
3612 not big endian | 3668 not big endian |
3613 #endif | 3669 #endif |
3614 ; return 0; } | 3670 ; return 0; } |
3615 EOF | 3671 EOF |
3616 if { (eval echo configure:3617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3672 if { (eval echo configure:3673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3617 rm -rf conftest* | 3673 rm -rf conftest* |
3618 ac_cv_c_bigendian=yes | 3674 ac_cv_c_bigendian=yes |
3619 else | 3675 else |
3620 echo "configure: failed program was:" >&5 | 3676 echo "configure: failed program was:" >&5 |
3621 cat conftest.$ac_ext >&5 | 3677 cat conftest.$ac_ext >&5 |
3628 cat conftest.$ac_ext >&5 | 3684 cat conftest.$ac_ext >&5 |
3629 fi | 3685 fi |
3630 rm -f conftest* | 3686 rm -f conftest* |
3631 if test $ac_cv_c_bigendian = unknown; then | 3687 if test $ac_cv_c_bigendian = unknown; then |
3632 cat > conftest.$ac_ext <<EOF | 3688 cat > conftest.$ac_ext <<EOF |
3633 #line 3634 "configure" | 3689 #line 3690 "configure" |
3634 #include "confdefs.h" | 3690 #include "confdefs.h" |
3635 main () { | 3691 main () { |
3636 /* Are we little or big endian? From Harbison&Steele. */ | 3692 /* Are we little or big endian? From Harbison&Steele. */ |
3637 union | 3693 union |
3638 { | 3694 { |
3641 } u; | 3697 } u; |
3642 u.l = 1; | 3698 u.l = 1; |
3643 exit (u.c[sizeof (long) - 1] == 1); | 3699 exit (u.c[sizeof (long) - 1] == 1); |
3644 } | 3700 } |
3645 EOF | 3701 EOF |
3646 if { (eval echo configure:3647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3702 if { (eval echo configure:3703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3647 then | 3703 then |
3648 ac_cv_c_bigendian=no | 3704 ac_cv_c_bigendian=no |
3649 else | 3705 else |
3650 echo "configure: failed program was:" >&5 | 3706 echo "configure: failed program was:" >&5 |
3651 cat conftest.$ac_ext >&5 | 3707 cat conftest.$ac_ext >&5 |
3667 | 3723 |
3668 fi | 3724 fi |
3669 | 3725 |
3670 | 3726 |
3671 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3727 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3672 echo "configure:3673: checking size of short" >&5 | 3728 echo "configure:3729: checking size of short" >&5 |
3673 | 3729 |
3674 cat > conftest.$ac_ext <<EOF | 3730 cat > conftest.$ac_ext <<EOF |
3675 #line 3676 "configure" | 3731 #line 3732 "configure" |
3676 #include "confdefs.h" | 3732 #include "confdefs.h" |
3677 #include <stdio.h> | 3733 #include <stdio.h> |
3678 main() | 3734 main() |
3679 { | 3735 { |
3680 FILE *f=fopen("conftestval", "w"); | 3736 FILE *f=fopen("conftestval", "w"); |
3681 if (!f) exit(1); | 3737 if (!f) exit(1); |
3682 fprintf(f, "%d\n", sizeof(short)); | 3738 fprintf(f, "%d\n", sizeof(short)); |
3683 exit(0); | 3739 exit(0); |
3684 } | 3740 } |
3685 EOF | 3741 EOF |
3686 if { (eval echo configure:3687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3742 if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3687 then | 3743 then |
3688 ac_cv_sizeof_short=`cat conftestval` | 3744 ac_cv_sizeof_short=`cat conftestval` |
3689 else | 3745 else |
3690 echo "configure: failed program was:" >&5 | 3746 echo "configure: failed program was:" >&5 |
3691 cat conftest.$ac_ext >&5 | 3747 cat conftest.$ac_ext >&5 |
3708 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3764 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3709 echo "*** PANIC *** Please examine config.log for compilation errors." | 3765 echo "*** PANIC *** Please examine config.log for compilation errors." |
3710 exit 1 | 3766 exit 1 |
3711 fi | 3767 fi |
3712 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3768 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3713 echo "configure:3714: checking size of int" >&5 | 3769 echo "configure:3770: checking size of int" >&5 |
3714 | 3770 |
3715 cat > conftest.$ac_ext <<EOF | 3771 cat > conftest.$ac_ext <<EOF |
3716 #line 3717 "configure" | 3772 #line 3773 "configure" |
3717 #include "confdefs.h" | 3773 #include "confdefs.h" |
3718 #include <stdio.h> | 3774 #include <stdio.h> |
3719 main() | 3775 main() |
3720 { | 3776 { |
3721 FILE *f=fopen("conftestval", "w"); | 3777 FILE *f=fopen("conftestval", "w"); |
3722 if (!f) exit(1); | 3778 if (!f) exit(1); |
3723 fprintf(f, "%d\n", sizeof(int)); | 3779 fprintf(f, "%d\n", sizeof(int)); |
3724 exit(0); | 3780 exit(0); |
3725 } | 3781 } |
3726 EOF | 3782 EOF |
3727 if { (eval echo configure:3728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3783 if { (eval echo configure:3784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3728 then | 3784 then |
3729 ac_cv_sizeof_int=`cat conftestval` | 3785 ac_cv_sizeof_int=`cat conftestval` |
3730 else | 3786 else |
3731 echo "configure: failed program was:" >&5 | 3787 echo "configure: failed program was:" >&5 |
3732 cat conftest.$ac_ext >&5 | 3788 cat conftest.$ac_ext >&5 |
3743 EOF | 3799 EOF |
3744 } | 3800 } |
3745 | 3801 |
3746 | 3802 |
3747 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3803 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3748 echo "configure:3749: checking size of long" >&5 | 3804 echo "configure:3805: checking size of long" >&5 |
3749 | 3805 |
3750 cat > conftest.$ac_ext <<EOF | 3806 cat > conftest.$ac_ext <<EOF |
3751 #line 3752 "configure" | 3807 #line 3808 "configure" |
3752 #include "confdefs.h" | 3808 #include "confdefs.h" |
3753 #include <stdio.h> | 3809 #include <stdio.h> |
3754 main() | 3810 main() |
3755 { | 3811 { |
3756 FILE *f=fopen("conftestval", "w"); | 3812 FILE *f=fopen("conftestval", "w"); |
3757 if (!f) exit(1); | 3813 if (!f) exit(1); |
3758 fprintf(f, "%d\n", sizeof(long)); | 3814 fprintf(f, "%d\n", sizeof(long)); |
3759 exit(0); | 3815 exit(0); |
3760 } | 3816 } |
3761 EOF | 3817 EOF |
3762 if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3818 if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3763 then | 3819 then |
3764 ac_cv_sizeof_long=`cat conftestval` | 3820 ac_cv_sizeof_long=`cat conftestval` |
3765 else | 3821 else |
3766 echo "configure: failed program was:" >&5 | 3822 echo "configure: failed program was:" >&5 |
3767 cat conftest.$ac_ext >&5 | 3823 cat conftest.$ac_ext >&5 |
3778 EOF | 3834 EOF |
3779 } | 3835 } |
3780 | 3836 |
3781 | 3837 |
3782 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3838 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3783 echo "configure:3784: checking size of long long" >&5 | 3839 echo "configure:3840: checking size of long long" >&5 |
3784 | 3840 |
3785 cat > conftest.$ac_ext <<EOF | 3841 cat > conftest.$ac_ext <<EOF |
3786 #line 3787 "configure" | 3842 #line 3843 "configure" |
3787 #include "confdefs.h" | 3843 #include "confdefs.h" |
3788 #include <stdio.h> | 3844 #include <stdio.h> |
3789 main() | 3845 main() |
3790 { | 3846 { |
3791 FILE *f=fopen("conftestval", "w"); | 3847 FILE *f=fopen("conftestval", "w"); |
3792 if (!f) exit(1); | 3848 if (!f) exit(1); |
3793 fprintf(f, "%d\n", sizeof(long long)); | 3849 fprintf(f, "%d\n", sizeof(long long)); |
3794 exit(0); | 3850 exit(0); |
3795 } | 3851 } |
3796 EOF | 3852 EOF |
3797 if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3853 if { (eval echo configure:3854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3798 then | 3854 then |
3799 ac_cv_sizeof_long_long=`cat conftestval` | 3855 ac_cv_sizeof_long_long=`cat conftestval` |
3800 else | 3856 else |
3801 echo "configure: failed program was:" >&5 | 3857 echo "configure: failed program was:" >&5 |
3802 cat conftest.$ac_ext >&5 | 3858 cat conftest.$ac_ext >&5 |
3813 EOF | 3869 EOF |
3814 } | 3870 } |
3815 | 3871 |
3816 | 3872 |
3817 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3873 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3818 echo "configure:3819: checking size of void *" >&5 | 3874 echo "configure:3875: checking size of void *" >&5 |
3819 | 3875 |
3820 cat > conftest.$ac_ext <<EOF | 3876 cat > conftest.$ac_ext <<EOF |
3821 #line 3822 "configure" | 3877 #line 3878 "configure" |
3822 #include "confdefs.h" | 3878 #include "confdefs.h" |
3823 #include <stdio.h> | 3879 #include <stdio.h> |
3824 main() | 3880 main() |
3825 { | 3881 { |
3826 FILE *f=fopen("conftestval", "w"); | 3882 FILE *f=fopen("conftestval", "w"); |
3827 if (!f) exit(1); | 3883 if (!f) exit(1); |
3828 fprintf(f, "%d\n", sizeof(void *)); | 3884 fprintf(f, "%d\n", sizeof(void *)); |
3829 exit(0); | 3885 exit(0); |
3830 } | 3886 } |
3831 EOF | 3887 EOF |
3832 if { (eval echo configure:3833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3833 then | 3889 then |
3834 ac_cv_sizeof_void_p=`cat conftestval` | 3890 ac_cv_sizeof_void_p=`cat conftestval` |
3835 else | 3891 else |
3836 echo "configure: failed program was:" >&5 | 3892 echo "configure: failed program was:" >&5 |
3837 cat conftest.$ac_ext >&5 | 3893 cat conftest.$ac_ext >&5 |
3849 } | 3905 } |
3850 | 3906 |
3851 | 3907 |
3852 | 3908 |
3853 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3909 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3854 echo "configure:3855: checking for long file names" >&5 | 3910 echo "configure:3911: checking for long file names" >&5 |
3855 | 3911 |
3856 ac_cv_sys_long_file_names=yes | 3912 ac_cv_sys_long_file_names=yes |
3857 # Test for long file names in all the places we know might matter: | 3913 # Test for long file names in all the places we know might matter: |
3858 # . the current directory, where building will happen | 3914 # . the current directory, where building will happen |
3859 # $prefix/lib where we will be installing things | 3915 # $prefix/lib where we will be installing things |
3896 fi | 3952 fi |
3897 | 3953 |
3898 | 3954 |
3899 | 3955 |
3900 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3956 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3901 echo "configure:3902: checking for sin in -lm" >&5 | 3957 echo "configure:3958: checking for sin in -lm" >&5 |
3902 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3958 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3903 | 3959 |
3904 xe_check_libs=" -lm " | 3960 xe_check_libs=" -lm " |
3905 cat > conftest.$ac_ext <<EOF | 3961 cat > conftest.$ac_ext <<EOF |
3906 #line 3907 "configure" | 3962 #line 3963 "configure" |
3907 #include "confdefs.h" | 3963 #include "confdefs.h" |
3908 /* Override any gcc2 internal prototype to avoid an error. */ | 3964 /* Override any gcc2 internal prototype to avoid an error. */ |
3909 /* We use char because int might match the return type of a gcc2 | 3965 /* We use char because int might match the return type of a gcc2 |
3910 builtin and then its argument prototype would still apply. */ | 3966 builtin and then its argument prototype would still apply. */ |
3911 char sin(); | 3967 char sin(); |
3912 | 3968 |
3913 int main() { | 3969 int main() { |
3914 sin() | 3970 sin() |
3915 ; return 0; } | 3971 ; return 0; } |
3916 EOF | 3972 EOF |
3917 if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3973 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3918 rm -rf conftest* | 3974 rm -rf conftest* |
3919 eval "ac_cv_lib_$ac_lib_var=yes" | 3975 eval "ac_cv_lib_$ac_lib_var=yes" |
3920 else | 3976 else |
3921 echo "configure: failed program was:" >&5 | 3977 echo "configure: failed program was:" >&5 |
3922 cat conftest.$ac_ext >&5 | 3978 cat conftest.$ac_ext >&5 |
3954 EOF | 4010 EOF |
3955 } | 4011 } |
3956 | 4012 |
3957 | 4013 |
3958 cat > conftest.$ac_ext <<EOF | 4014 cat > conftest.$ac_ext <<EOF |
3959 #line 3960 "configure" | 4015 #line 4016 "configure" |
3960 #include "confdefs.h" | 4016 #include "confdefs.h" |
3961 #include <math.h> | 4017 #include <math.h> |
3962 int main() { | 4018 int main() { |
3963 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4019 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
3964 ; return 0; } | 4020 ; return 0; } |
3965 EOF | 4021 EOF |
3966 if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4022 if { (eval echo configure:4023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3967 rm -rf conftest* | 4023 rm -rf conftest* |
3968 { test "$extra_verbose" = "yes" && cat << \EOF | 4024 { test "$extra_verbose" = "yes" && cat << \EOF |
3969 Defining HAVE_INVERSE_HYPERBOLIC | 4025 Defining HAVE_INVERSE_HYPERBOLIC |
3970 EOF | 4026 EOF |
3971 cat >> confdefs.h <<\EOF | 4027 cat >> confdefs.h <<\EOF |
3978 cat conftest.$ac_ext >&5 | 4034 cat conftest.$ac_ext >&5 |
3979 fi | 4035 fi |
3980 rm -f conftest* | 4036 rm -f conftest* |
3981 | 4037 |
3982 echo "checking type of mail spool file locking" 1>&6 | 4038 echo "checking type of mail spool file locking" 1>&6 |
3983 echo "configure:3984: checking type of mail spool file locking" >&5 | 4039 echo "configure:4040: checking type of mail spool file locking" >&5 |
3984 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4040 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3985 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4041 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3986 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4042 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3987 Defining REAL_MAIL_USE_LOCKF | 4043 Defining REAL_MAIL_USE_LOCKF |
3988 EOF | 4044 EOF |
4002 else mail_locking="dot-locking" | 4058 else mail_locking="dot-locking" |
4003 fi | 4059 fi |
4004 | 4060 |
4005 | 4061 |
4006 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4062 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
4007 echo "configure:4008: checking for kstat_open in -lkstat" >&5 | 4063 echo "configure:4064: checking for kstat_open in -lkstat" >&5 |
4008 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4064 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
4009 | 4065 |
4010 xe_check_libs=" -lkstat " | 4066 xe_check_libs=" -lkstat " |
4011 cat > conftest.$ac_ext <<EOF | 4067 cat > conftest.$ac_ext <<EOF |
4012 #line 4013 "configure" | 4068 #line 4069 "configure" |
4013 #include "confdefs.h" | 4069 #include "confdefs.h" |
4014 /* Override any gcc2 internal prototype to avoid an error. */ | 4070 /* Override any gcc2 internal prototype to avoid an error. */ |
4015 /* We use char because int might match the return type of a gcc2 | 4071 /* We use char because int might match the return type of a gcc2 |
4016 builtin and then its argument prototype would still apply. */ | 4072 builtin and then its argument prototype would still apply. */ |
4017 char kstat_open(); | 4073 char kstat_open(); |
4018 | 4074 |
4019 int main() { | 4075 int main() { |
4020 kstat_open() | 4076 kstat_open() |
4021 ; return 0; } | 4077 ; return 0; } |
4022 EOF | 4078 EOF |
4023 if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4079 if { (eval echo configure:4080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4024 rm -rf conftest* | 4080 rm -rf conftest* |
4025 eval "ac_cv_lib_$ac_lib_var=yes" | 4081 eval "ac_cv_lib_$ac_lib_var=yes" |
4026 else | 4082 else |
4027 echo "configure: failed program was:" >&5 | 4083 echo "configure: failed program was:" >&5 |
4028 cat conftest.$ac_ext >&5 | 4084 cat conftest.$ac_ext >&5 |
4052 | 4108 |
4053 | 4109 |
4054 | 4110 |
4055 | 4111 |
4056 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4112 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4057 echo "configure:4058: checking for kvm_read in -lkvm" >&5 | 4113 echo "configure:4114: checking for kvm_read in -lkvm" >&5 |
4058 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4114 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4059 | 4115 |
4060 xe_check_libs=" -lkvm " | 4116 xe_check_libs=" -lkvm " |
4061 cat > conftest.$ac_ext <<EOF | 4117 cat > conftest.$ac_ext <<EOF |
4062 #line 4063 "configure" | 4118 #line 4119 "configure" |
4063 #include "confdefs.h" | 4119 #include "confdefs.h" |
4064 /* Override any gcc2 internal prototype to avoid an error. */ | 4120 /* Override any gcc2 internal prototype to avoid an error. */ |
4065 /* We use char because int might match the return type of a gcc2 | 4121 /* We use char because int might match the return type of a gcc2 |
4066 builtin and then its argument prototype would still apply. */ | 4122 builtin and then its argument prototype would still apply. */ |
4067 char kvm_read(); | 4123 char kvm_read(); |
4068 | 4124 |
4069 int main() { | 4125 int main() { |
4070 kvm_read() | 4126 kvm_read() |
4071 ; return 0; } | 4127 ; return 0; } |
4072 EOF | 4128 EOF |
4073 if { (eval echo configure:4074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4129 if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4074 rm -rf conftest* | 4130 rm -rf conftest* |
4075 eval "ac_cv_lib_$ac_lib_var=yes" | 4131 eval "ac_cv_lib_$ac_lib_var=yes" |
4076 else | 4132 else |
4077 echo "configure: failed program was:" >&5 | 4133 echo "configure: failed program was:" >&5 |
4078 cat conftest.$ac_ext >&5 | 4134 cat conftest.$ac_ext >&5 |
4102 | 4158 |
4103 | 4159 |
4104 | 4160 |
4105 | 4161 |
4106 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4162 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4107 echo "configure:4108: checking for cma_open in -lpthreads" >&5 | 4163 echo "configure:4164: checking for cma_open in -lpthreads" >&5 |
4108 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4164 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4109 | 4165 |
4110 xe_check_libs=" -lpthreads " | 4166 xe_check_libs=" -lpthreads " |
4111 cat > conftest.$ac_ext <<EOF | 4167 cat > conftest.$ac_ext <<EOF |
4112 #line 4113 "configure" | 4168 #line 4169 "configure" |
4113 #include "confdefs.h" | 4169 #include "confdefs.h" |
4114 /* Override any gcc2 internal prototype to avoid an error. */ | 4170 /* Override any gcc2 internal prototype to avoid an error. */ |
4115 /* We use char because int might match the return type of a gcc2 | 4171 /* We use char because int might match the return type of a gcc2 |
4116 builtin and then its argument prototype would still apply. */ | 4172 builtin and then its argument prototype would still apply. */ |
4117 char cma_open(); | 4173 char cma_open(); |
4118 | 4174 |
4119 int main() { | 4175 int main() { |
4120 cma_open() | 4176 cma_open() |
4121 ; return 0; } | 4177 ; return 0; } |
4122 EOF | 4178 EOF |
4123 if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4179 if { (eval echo configure:4180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4124 rm -rf conftest* | 4180 rm -rf conftest* |
4125 eval "ac_cv_lib_$ac_lib_var=yes" | 4181 eval "ac_cv_lib_$ac_lib_var=yes" |
4126 else | 4182 else |
4127 echo "configure: failed program was:" >&5 | 4183 echo "configure: failed program was:" >&5 |
4128 cat conftest.$ac_ext >&5 | 4184 cat conftest.$ac_ext >&5 |
4154 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4210 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
4155 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4211 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
4156 fi | 4212 fi |
4157 | 4213 |
4158 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4214 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4159 echo "configure:4160: checking whether the -xildoff compiler flag is required" >&5 | 4215 echo "configure:4216: checking whether the -xildoff compiler flag is required" >&5 |
4160 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4216 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4161 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4217 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4162 then echo "$ac_t""no" 1>&6; | 4218 then echo "$ac_t""no" 1>&6; |
4163 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 | 4219 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 |
4164 fi | 4220 fi |
4165 else echo "$ac_t""no" 1>&6 | 4221 else echo "$ac_t""no" 1>&6 |
4166 fi | 4222 fi |
4167 | 4223 |
4168 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4224 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4169 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4225 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4170 echo "configure:4171: checking for \"-z ignore\" linker flag" >&5 | 4226 echo "configure:4227: checking for \"-z ignore\" linker flag" >&5 |
4171 case "`ld -h 2>&1`" in | 4227 case "`ld -h 2>&1`" in |
4172 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4228 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4173 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4229 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4174 *) echo "$ac_t""no" 1>&6 ;; | 4230 *) echo "$ac_t""no" 1>&6 ;; |
4175 esac | 4231 esac |
4176 fi | 4232 fi |
4177 | 4233 |
4178 | 4234 |
4179 echo "checking "for specified window system"" 1>&6 | 4235 echo "checking "for specified window system"" 1>&6 |
4180 echo "configure:4181: checking "for specified window system"" >&5 | 4236 echo "configure:4237: checking "for specified window system"" >&5 |
4181 | 4237 |
4182 if test "$with_x11" != "no"; then | 4238 if test "$with_x11" != "no"; then |
4183 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4239 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4184 window_system=x11 with_x11=yes | 4240 window_system=x11 with_x11=yes |
4185 | 4241 |
4208 # If we find X, set shell vars x_includes and x_libraries to the | 4264 # If we find X, set shell vars x_includes and x_libraries to the |
4209 # paths, otherwise set no_x=yes. | 4265 # paths, otherwise set no_x=yes. |
4210 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4266 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4211 # --without-x overrides everything else, but does not touch the cache. | 4267 # --without-x overrides everything else, but does not touch the cache. |
4212 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4268 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4213 echo "configure:4214: checking for X" >&5 | 4269 echo "configure:4270: checking for X" >&5 |
4214 | 4270 |
4215 # Check whether --with-x or --without-x was given. | 4271 # Check whether --with-x or --without-x was given. |
4216 if test "${with_x+set}" = set; then | 4272 if test "${with_x+set}" = set; then |
4217 withval="$with_x" | 4273 withval="$with_x" |
4218 : | 4274 : |
4268 # Guess where to find include files, by looking for this one X11 .h file. | 4324 # Guess where to find include files, by looking for this one X11 .h file. |
4269 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4325 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4270 | 4326 |
4271 # First, try using that file with no special directory specified. | 4327 # First, try using that file with no special directory specified. |
4272 cat > conftest.$ac_ext <<EOF | 4328 cat > conftest.$ac_ext <<EOF |
4273 #line 4274 "configure" | 4329 #line 4330 "configure" |
4274 #include "confdefs.h" | 4330 #include "confdefs.h" |
4275 #include <$x_direct_test_include> | 4331 #include <$x_direct_test_include> |
4276 EOF | 4332 EOF |
4277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4278 { (eval echo configure:4279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4334 { (eval echo configure:4335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4279 ac_err=`grep -v '^ *+' conftest.out` | 4335 ac_err=`grep -v '^ *+' conftest.out` |
4280 if test -z "$ac_err"; then | 4336 if test -z "$ac_err"; then |
4281 rm -rf conftest* | 4337 rm -rf conftest* |
4282 # We can compile using X headers with no special include directory. | 4338 # We can compile using X headers with no special include directory. |
4283 ac_x_includes= | 4339 ac_x_includes= |
4342 # See if we find them without any special options. | 4398 # See if we find them without any special options. |
4343 # Don't add to $LIBS permanently. | 4399 # Don't add to $LIBS permanently. |
4344 ac_save_LIBS="$LIBS" | 4400 ac_save_LIBS="$LIBS" |
4345 LIBS="-l$x_direct_test_library $LIBS" | 4401 LIBS="-l$x_direct_test_library $LIBS" |
4346 cat > conftest.$ac_ext <<EOF | 4402 cat > conftest.$ac_ext <<EOF |
4347 #line 4348 "configure" | 4403 #line 4404 "configure" |
4348 #include "confdefs.h" | 4404 #include "confdefs.h" |
4349 | 4405 |
4350 int main() { | 4406 int main() { |
4351 ${x_direct_test_function}() | 4407 ${x_direct_test_function}() |
4352 ; return 0; } | 4408 ; return 0; } |
4353 EOF | 4409 EOF |
4354 if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4355 rm -rf conftest* | 4411 rm -rf conftest* |
4356 LIBS="$ac_save_LIBS" | 4412 LIBS="$ac_save_LIBS" |
4357 # We can link X programs with no special library path. | 4413 # We can link X programs with no special library path. |
4358 ac_x_libraries= | 4414 ac_x_libraries= |
4359 else | 4415 else |
4458 # For Solaris; some versions of Sun CC require a space after -R and | 4514 # For Solaris; some versions of Sun CC require a space after -R and |
4459 # others require no space. Words are not sufficient . . . . | 4515 # others require no space. Words are not sufficient . . . . |
4460 case "`(uname -sr) 2>/dev/null`" in | 4516 case "`(uname -sr) 2>/dev/null`" in |
4461 "SunOS 5"*) | 4517 "SunOS 5"*) |
4462 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4518 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4463 echo "configure:4464: checking whether -R must be followed by a space" >&5 | 4519 echo "configure:4520: checking whether -R must be followed by a space" >&5 |
4464 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4520 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4465 cat > conftest.$ac_ext <<EOF | 4521 cat > conftest.$ac_ext <<EOF |
4466 #line 4467 "configure" | 4522 #line 4523 "configure" |
4467 #include "confdefs.h" | 4523 #include "confdefs.h" |
4468 | 4524 |
4469 int main() { | 4525 int main() { |
4470 | 4526 |
4471 ; return 0; } | 4527 ; return 0; } |
4472 EOF | 4528 EOF |
4473 if { (eval echo configure:4474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4529 if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4474 rm -rf conftest* | 4530 rm -rf conftest* |
4475 ac_R_nospace=yes | 4531 ac_R_nospace=yes |
4476 else | 4532 else |
4477 echo "configure: failed program was:" >&5 | 4533 echo "configure: failed program was:" >&5 |
4478 cat conftest.$ac_ext >&5 | 4534 cat conftest.$ac_ext >&5 |
4484 echo "$ac_t""no" 1>&6 | 4540 echo "$ac_t""no" 1>&6 |
4485 X_LIBS="$X_LIBS -R$x_libraries" | 4541 X_LIBS="$X_LIBS -R$x_libraries" |
4486 else | 4542 else |
4487 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4543 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4488 cat > conftest.$ac_ext <<EOF | 4544 cat > conftest.$ac_ext <<EOF |
4489 #line 4490 "configure" | 4545 #line 4546 "configure" |
4490 #include "confdefs.h" | 4546 #include "confdefs.h" |
4491 | 4547 |
4492 int main() { | 4548 int main() { |
4493 | 4549 |
4494 ; return 0; } | 4550 ; return 0; } |
4495 EOF | 4551 EOF |
4496 if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4552 if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4497 rm -rf conftest* | 4553 rm -rf conftest* |
4498 ac_R_space=yes | 4554 ac_R_space=yes |
4499 else | 4555 else |
4500 echo "configure: failed program was:" >&5 | 4556 echo "configure: failed program was:" >&5 |
4501 cat conftest.$ac_ext >&5 | 4557 cat conftest.$ac_ext >&5 |
4527 if test "$with_dnet" = "no" ; then | 4583 if test "$with_dnet" = "no" ; then |
4528 ac_cv_lib_dnet_dnet_ntoa=no | 4584 ac_cv_lib_dnet_dnet_ntoa=no |
4529 else | 4585 else |
4530 | 4586 |
4531 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4587 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4532 echo "configure:4533: checking for dnet_ntoa in -ldnet" >&5 | 4588 echo "configure:4589: checking for dnet_ntoa in -ldnet" >&5 |
4533 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4589 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4534 | 4590 |
4535 xe_check_libs=" -ldnet " | 4591 xe_check_libs=" -ldnet " |
4536 cat > conftest.$ac_ext <<EOF | 4592 cat > conftest.$ac_ext <<EOF |
4537 #line 4538 "configure" | 4593 #line 4594 "configure" |
4538 #include "confdefs.h" | 4594 #include "confdefs.h" |
4539 /* Override any gcc2 internal prototype to avoid an error. */ | 4595 /* Override any gcc2 internal prototype to avoid an error. */ |
4540 /* We use char because int might match the return type of a gcc2 | 4596 /* We use char because int might match the return type of a gcc2 |
4541 builtin and then its argument prototype would still apply. */ | 4597 builtin and then its argument prototype would still apply. */ |
4542 char dnet_ntoa(); | 4598 char dnet_ntoa(); |
4543 | 4599 |
4544 int main() { | 4600 int main() { |
4545 dnet_ntoa() | 4601 dnet_ntoa() |
4546 ; return 0; } | 4602 ; return 0; } |
4547 EOF | 4603 EOF |
4548 if { (eval echo configure:4549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4604 if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4549 rm -rf conftest* | 4605 rm -rf conftest* |
4550 eval "ac_cv_lib_$ac_lib_var=yes" | 4606 eval "ac_cv_lib_$ac_lib_var=yes" |
4551 else | 4607 else |
4552 echo "configure: failed program was:" >&5 | 4608 echo "configure: failed program was:" >&5 |
4553 cat conftest.$ac_ext >&5 | 4609 cat conftest.$ac_ext >&5 |
4567 fi | 4623 fi |
4568 | 4624 |
4569 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4625 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4570 | 4626 |
4571 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4627 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4572 echo "configure:4573: checking for dnet_ntoa in -ldnet_stub" >&5 | 4628 echo "configure:4629: checking for dnet_ntoa in -ldnet_stub" >&5 |
4573 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4629 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4574 | 4630 |
4575 xe_check_libs=" -ldnet_stub " | 4631 xe_check_libs=" -ldnet_stub " |
4576 cat > conftest.$ac_ext <<EOF | 4632 cat > conftest.$ac_ext <<EOF |
4577 #line 4578 "configure" | 4633 #line 4634 "configure" |
4578 #include "confdefs.h" | 4634 #include "confdefs.h" |
4579 /* Override any gcc2 internal prototype to avoid an error. */ | 4635 /* Override any gcc2 internal prototype to avoid an error. */ |
4580 /* We use char because int might match the return type of a gcc2 | 4636 /* We use char because int might match the return type of a gcc2 |
4581 builtin and then its argument prototype would still apply. */ | 4637 builtin and then its argument prototype would still apply. */ |
4582 char dnet_ntoa(); | 4638 char dnet_ntoa(); |
4583 | 4639 |
4584 int main() { | 4640 int main() { |
4585 dnet_ntoa() | 4641 dnet_ntoa() |
4586 ; return 0; } | 4642 ; return 0; } |
4587 EOF | 4643 EOF |
4588 if { (eval echo configure:4589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4644 if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4589 rm -rf conftest* | 4645 rm -rf conftest* |
4590 eval "ac_cv_lib_$ac_lib_var=yes" | 4646 eval "ac_cv_lib_$ac_lib_var=yes" |
4591 else | 4647 else |
4592 echo "configure: failed program was:" >&5 | 4648 echo "configure: failed program was:" >&5 |
4593 cat conftest.$ac_ext >&5 | 4649 cat conftest.$ac_ext >&5 |
4612 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4668 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4613 # needs -lnsl. | 4669 # needs -lnsl. |
4614 # The nsl library prevents programs from opening the X display | 4670 # The nsl library prevents programs from opening the X display |
4615 # on Irix 5.2, according to dickey@clark.net. | 4671 # on Irix 5.2, according to dickey@clark.net. |
4616 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4672 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4617 echo "configure:4618: checking for gethostbyname" >&5 | 4673 echo "configure:4674: checking for gethostbyname" >&5 |
4618 | 4674 |
4619 cat > conftest.$ac_ext <<EOF | 4675 cat > conftest.$ac_ext <<EOF |
4620 #line 4621 "configure" | 4676 #line 4677 "configure" |
4621 #include "confdefs.h" | 4677 #include "confdefs.h" |
4622 /* System header to define __stub macros and hopefully few prototypes, | 4678 /* System header to define __stub macros and hopefully few prototypes, |
4623 which can conflict with char gethostbyname(); below. */ | 4679 which can conflict with char gethostbyname(); below. */ |
4624 #include <assert.h> | 4680 #include <assert.h> |
4625 /* Override any gcc2 internal prototype to avoid an error. */ | 4681 /* Override any gcc2 internal prototype to avoid an error. */ |
4638 gethostbyname(); | 4694 gethostbyname(); |
4639 #endif | 4695 #endif |
4640 | 4696 |
4641 ; return 0; } | 4697 ; return 0; } |
4642 EOF | 4698 EOF |
4643 if { (eval echo configure:4644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4699 if { (eval echo configure:4700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4644 rm -rf conftest* | 4700 rm -rf conftest* |
4645 eval "ac_cv_func_gethostbyname=yes" | 4701 eval "ac_cv_func_gethostbyname=yes" |
4646 else | 4702 else |
4647 echo "configure: failed program was:" >&5 | 4703 echo "configure: failed program was:" >&5 |
4648 cat conftest.$ac_ext >&5 | 4704 cat conftest.$ac_ext >&5 |
4659 fi | 4715 fi |
4660 | 4716 |
4661 if test $ac_cv_func_gethostbyname = no; then | 4717 if test $ac_cv_func_gethostbyname = no; then |
4662 | 4718 |
4663 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4719 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4664 echo "configure:4665: checking for gethostbyname in -lnsl" >&5 | 4720 echo "configure:4721: checking for gethostbyname in -lnsl" >&5 |
4665 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4721 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4666 | 4722 |
4667 xe_check_libs=" -lnsl " | 4723 xe_check_libs=" -lnsl " |
4668 cat > conftest.$ac_ext <<EOF | 4724 cat > conftest.$ac_ext <<EOF |
4669 #line 4670 "configure" | 4725 #line 4726 "configure" |
4670 #include "confdefs.h" | 4726 #include "confdefs.h" |
4671 /* Override any gcc2 internal prototype to avoid an error. */ | 4727 /* Override any gcc2 internal prototype to avoid an error. */ |
4672 /* We use char because int might match the return type of a gcc2 | 4728 /* We use char because int might match the return type of a gcc2 |
4673 builtin and then its argument prototype would still apply. */ | 4729 builtin and then its argument prototype would still apply. */ |
4674 char gethostbyname(); | 4730 char gethostbyname(); |
4675 | 4731 |
4676 int main() { | 4732 int main() { |
4677 gethostbyname() | 4733 gethostbyname() |
4678 ; return 0; } | 4734 ; return 0; } |
4679 EOF | 4735 EOF |
4680 if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4681 rm -rf conftest* | 4737 rm -rf conftest* |
4682 eval "ac_cv_lib_$ac_lib_var=yes" | 4738 eval "ac_cv_lib_$ac_lib_var=yes" |
4683 else | 4739 else |
4684 echo "configure: failed program was:" >&5 | 4740 echo "configure: failed program was:" >&5 |
4685 cat conftest.$ac_ext >&5 | 4741 cat conftest.$ac_ext >&5 |
4705 # on later versions), says simon@lia.di.epfl.ch: it contains | 4761 # on later versions), says simon@lia.di.epfl.ch: it contains |
4706 # gethostby* variants that don't use the nameserver (or something). | 4762 # gethostby* variants that don't use the nameserver (or something). |
4707 # -lsocket must be given before -lnsl if both are needed. | 4763 # -lsocket must be given before -lnsl if both are needed. |
4708 # We assume that if connect needs -lnsl, so does gethostbyname. | 4764 # We assume that if connect needs -lnsl, so does gethostbyname. |
4709 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4765 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4710 echo "configure:4711: checking for connect" >&5 | 4766 echo "configure:4767: checking for connect" >&5 |
4711 | 4767 |
4712 cat > conftest.$ac_ext <<EOF | 4768 cat > conftest.$ac_ext <<EOF |
4713 #line 4714 "configure" | 4769 #line 4770 "configure" |
4714 #include "confdefs.h" | 4770 #include "confdefs.h" |
4715 /* System header to define __stub macros and hopefully few prototypes, | 4771 /* System header to define __stub macros and hopefully few prototypes, |
4716 which can conflict with char connect(); below. */ | 4772 which can conflict with char connect(); below. */ |
4717 #include <assert.h> | 4773 #include <assert.h> |
4718 /* Override any gcc2 internal prototype to avoid an error. */ | 4774 /* Override any gcc2 internal prototype to avoid an error. */ |
4731 connect(); | 4787 connect(); |
4732 #endif | 4788 #endif |
4733 | 4789 |
4734 ; return 0; } | 4790 ; return 0; } |
4735 EOF | 4791 EOF |
4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4792 if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4737 rm -rf conftest* | 4793 rm -rf conftest* |
4738 eval "ac_cv_func_connect=yes" | 4794 eval "ac_cv_func_connect=yes" |
4739 else | 4795 else |
4740 echo "configure: failed program was:" >&5 | 4796 echo "configure: failed program was:" >&5 |
4741 cat conftest.$ac_ext >&5 | 4797 cat conftest.$ac_ext >&5 |
4754 if test $ac_cv_func_connect = no; then | 4810 if test $ac_cv_func_connect = no; then |
4755 | 4811 |
4756 xe_msg_checking="for connect in -lsocket" | 4812 xe_msg_checking="for connect in -lsocket" |
4757 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4813 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4758 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4814 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4759 echo "configure:4760: checking "$xe_msg_checking"" >&5 | 4815 echo "configure:4816: checking "$xe_msg_checking"" >&5 |
4760 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4816 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4761 | 4817 |
4762 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4818 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4763 cat > conftest.$ac_ext <<EOF | 4819 cat > conftest.$ac_ext <<EOF |
4764 #line 4765 "configure" | 4820 #line 4821 "configure" |
4765 #include "confdefs.h" | 4821 #include "confdefs.h" |
4766 /* Override any gcc2 internal prototype to avoid an error. */ | 4822 /* Override any gcc2 internal prototype to avoid an error. */ |
4767 /* We use char because int might match the return type of a gcc2 | 4823 /* We use char because int might match the return type of a gcc2 |
4768 builtin and then its argument prototype would still apply. */ | 4824 builtin and then its argument prototype would still apply. */ |
4769 char connect(); | 4825 char connect(); |
4770 | 4826 |
4771 int main() { | 4827 int main() { |
4772 connect() | 4828 connect() |
4773 ; return 0; } | 4829 ; return 0; } |
4774 EOF | 4830 EOF |
4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4831 if { (eval echo configure:4832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4776 rm -rf conftest* | 4832 rm -rf conftest* |
4777 eval "ac_cv_lib_$ac_lib_var=yes" | 4833 eval "ac_cv_lib_$ac_lib_var=yes" |
4778 else | 4834 else |
4779 echo "configure: failed program was:" >&5 | 4835 echo "configure: failed program was:" >&5 |
4780 cat conftest.$ac_ext >&5 | 4836 cat conftest.$ac_ext >&5 |
4794 | 4850 |
4795 fi | 4851 fi |
4796 | 4852 |
4797 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4853 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4798 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4854 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4799 echo "configure:4800: checking for remove" >&5 | 4855 echo "configure:4856: checking for remove" >&5 |
4800 | 4856 |
4801 cat > conftest.$ac_ext <<EOF | 4857 cat > conftest.$ac_ext <<EOF |
4802 #line 4803 "configure" | 4858 #line 4859 "configure" |
4803 #include "confdefs.h" | 4859 #include "confdefs.h" |
4804 /* System header to define __stub macros and hopefully few prototypes, | 4860 /* System header to define __stub macros and hopefully few prototypes, |
4805 which can conflict with char remove(); below. */ | 4861 which can conflict with char remove(); below. */ |
4806 #include <assert.h> | 4862 #include <assert.h> |
4807 /* Override any gcc2 internal prototype to avoid an error. */ | 4863 /* Override any gcc2 internal prototype to avoid an error. */ |
4820 remove(); | 4876 remove(); |
4821 #endif | 4877 #endif |
4822 | 4878 |
4823 ; return 0; } | 4879 ; return 0; } |
4824 EOF | 4880 EOF |
4825 if { (eval echo configure:4826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4881 if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4826 rm -rf conftest* | 4882 rm -rf conftest* |
4827 eval "ac_cv_func_remove=yes" | 4883 eval "ac_cv_func_remove=yes" |
4828 else | 4884 else |
4829 echo "configure: failed program was:" >&5 | 4885 echo "configure: failed program was:" >&5 |
4830 cat conftest.$ac_ext >&5 | 4886 cat conftest.$ac_ext >&5 |
4841 fi | 4897 fi |
4842 | 4898 |
4843 if test $ac_cv_func_remove = no; then | 4899 if test $ac_cv_func_remove = no; then |
4844 | 4900 |
4845 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4901 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4846 echo "configure:4847: checking for remove in -lposix" >&5 | 4902 echo "configure:4903: checking for remove in -lposix" >&5 |
4847 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4903 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4848 | 4904 |
4849 xe_check_libs=" -lposix " | 4905 xe_check_libs=" -lposix " |
4850 cat > conftest.$ac_ext <<EOF | 4906 cat > conftest.$ac_ext <<EOF |
4851 #line 4852 "configure" | 4907 #line 4908 "configure" |
4852 #include "confdefs.h" | 4908 #include "confdefs.h" |
4853 /* Override any gcc2 internal prototype to avoid an error. */ | 4909 /* Override any gcc2 internal prototype to avoid an error. */ |
4854 /* We use char because int might match the return type of a gcc2 | 4910 /* We use char because int might match the return type of a gcc2 |
4855 builtin and then its argument prototype would still apply. */ | 4911 builtin and then its argument prototype would still apply. */ |
4856 char remove(); | 4912 char remove(); |
4857 | 4913 |
4858 int main() { | 4914 int main() { |
4859 remove() | 4915 remove() |
4860 ; return 0; } | 4916 ; return 0; } |
4861 EOF | 4917 EOF |
4862 if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4863 rm -rf conftest* | 4919 rm -rf conftest* |
4864 eval "ac_cv_lib_$ac_lib_var=yes" | 4920 eval "ac_cv_lib_$ac_lib_var=yes" |
4865 else | 4921 else |
4866 echo "configure: failed program was:" >&5 | 4922 echo "configure: failed program was:" >&5 |
4867 cat conftest.$ac_ext >&5 | 4923 cat conftest.$ac_ext >&5 |
4881 | 4937 |
4882 fi | 4938 fi |
4883 | 4939 |
4884 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4940 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4885 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4941 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4886 echo "configure:4887: checking for shmat" >&5 | 4942 echo "configure:4943: checking for shmat" >&5 |
4887 | 4943 |
4888 cat > conftest.$ac_ext <<EOF | 4944 cat > conftest.$ac_ext <<EOF |
4889 #line 4890 "configure" | 4945 #line 4946 "configure" |
4890 #include "confdefs.h" | 4946 #include "confdefs.h" |
4891 /* System header to define __stub macros and hopefully few prototypes, | 4947 /* System header to define __stub macros and hopefully few prototypes, |
4892 which can conflict with char shmat(); below. */ | 4948 which can conflict with char shmat(); below. */ |
4893 #include <assert.h> | 4949 #include <assert.h> |
4894 /* Override any gcc2 internal prototype to avoid an error. */ | 4950 /* Override any gcc2 internal prototype to avoid an error. */ |
4907 shmat(); | 4963 shmat(); |
4908 #endif | 4964 #endif |
4909 | 4965 |
4910 ; return 0; } | 4966 ; return 0; } |
4911 EOF | 4967 EOF |
4912 if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4968 if { (eval echo configure:4969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4913 rm -rf conftest* | 4969 rm -rf conftest* |
4914 eval "ac_cv_func_shmat=yes" | 4970 eval "ac_cv_func_shmat=yes" |
4915 else | 4971 else |
4916 echo "configure: failed program was:" >&5 | 4972 echo "configure: failed program was:" >&5 |
4917 cat conftest.$ac_ext >&5 | 4973 cat conftest.$ac_ext >&5 |
4928 fi | 4984 fi |
4929 | 4985 |
4930 if test $ac_cv_func_shmat = no; then | 4986 if test $ac_cv_func_shmat = no; then |
4931 | 4987 |
4932 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4988 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4933 echo "configure:4934: checking for shmat in -lipc" >&5 | 4989 echo "configure:4990: checking for shmat in -lipc" >&5 |
4934 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4990 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4935 | 4991 |
4936 xe_check_libs=" -lipc " | 4992 xe_check_libs=" -lipc " |
4937 cat > conftest.$ac_ext <<EOF | 4993 cat > conftest.$ac_ext <<EOF |
4938 #line 4939 "configure" | 4994 #line 4995 "configure" |
4939 #include "confdefs.h" | 4995 #include "confdefs.h" |
4940 /* Override any gcc2 internal prototype to avoid an error. */ | 4996 /* Override any gcc2 internal prototype to avoid an error. */ |
4941 /* We use char because int might match the return type of a gcc2 | 4997 /* We use char because int might match the return type of a gcc2 |
4942 builtin and then its argument prototype would still apply. */ | 4998 builtin and then its argument prototype would still apply. */ |
4943 char shmat(); | 4999 char shmat(); |
4944 | 5000 |
4945 int main() { | 5001 int main() { |
4946 shmat() | 5002 shmat() |
4947 ; return 0; } | 5003 ; return 0; } |
4948 EOF | 5004 EOF |
4949 if { (eval echo configure:4950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5005 if { (eval echo configure:5006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4950 rm -rf conftest* | 5006 rm -rf conftest* |
4951 eval "ac_cv_lib_$ac_lib_var=yes" | 5007 eval "ac_cv_lib_$ac_lib_var=yes" |
4952 else | 5008 else |
4953 echo "configure: failed program was:" >&5 | 5009 echo "configure: failed program was:" >&5 |
4954 cat conftest.$ac_ext >&5 | 5010 cat conftest.$ac_ext >&5 |
4978 # These have to be linked with before -lX11, unlike the other | 5034 # These have to be linked with before -lX11, unlike the other |
4979 # libraries we check for below, so use a different variable. | 5035 # libraries we check for below, so use a different variable. |
4980 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5036 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4981 | 5037 |
4982 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5038 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4983 echo "configure:4984: checking for IceConnectionNumber in -lICE" >&5 | 5039 echo "configure:5040: checking for IceConnectionNumber in -lICE" >&5 |
4984 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5040 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4985 | 5041 |
4986 xe_check_libs=" -lICE " | 5042 xe_check_libs=" -lICE " |
4987 cat > conftest.$ac_ext <<EOF | 5043 cat > conftest.$ac_ext <<EOF |
4988 #line 4989 "configure" | 5044 #line 5045 "configure" |
4989 #include "confdefs.h" | 5045 #include "confdefs.h" |
4990 /* Override any gcc2 internal prototype to avoid an error. */ | 5046 /* Override any gcc2 internal prototype to avoid an error. */ |
4991 /* We use char because int might match the return type of a gcc2 | 5047 /* We use char because int might match the return type of a gcc2 |
4992 builtin and then its argument prototype would still apply. */ | 5048 builtin and then its argument prototype would still apply. */ |
4993 char IceConnectionNumber(); | 5049 char IceConnectionNumber(); |
4994 | 5050 |
4995 int main() { | 5051 int main() { |
4996 IceConnectionNumber() | 5052 IceConnectionNumber() |
4997 ; return 0; } | 5053 ; return 0; } |
4998 EOF | 5054 EOF |
4999 if { (eval echo configure:5000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5055 if { (eval echo configure:5056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5000 rm -rf conftest* | 5056 rm -rf conftest* |
5001 eval "ac_cv_lib_$ac_lib_var=yes" | 5057 eval "ac_cv_lib_$ac_lib_var=yes" |
5002 else | 5058 else |
5003 echo "configure: failed program was:" >&5 | 5059 echo "configure: failed program was:" >&5 |
5004 cat conftest.$ac_ext >&5 | 5060 cat conftest.$ac_ext >&5 |
5161 EOF | 5217 EOF |
5162 } | 5218 } |
5163 | 5219 |
5164 | 5220 |
5165 echo "checking for X defines extracted by xmkmf" 1>&6 | 5221 echo "checking for X defines extracted by xmkmf" 1>&6 |
5166 echo "configure:5167: checking for X defines extracted by xmkmf" >&5 | 5222 echo "configure:5223: checking for X defines extracted by xmkmf" >&5 |
5167 rm -fr conftestdir | 5223 rm -fr conftestdir |
5168 if mkdir conftestdir; then | 5224 if mkdir conftestdir; then |
5169 cd conftestdir | 5225 cd conftestdir |
5170 cat > Imakefile <<'EOF' | 5226 cat > Imakefile <<'EOF' |
5171 xetest: | 5227 xetest: |
5193 done | 5249 done |
5194 fi | 5250 fi |
5195 | 5251 |
5196 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5252 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5197 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5253 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5198 echo "configure:5199: checking for X11/Intrinsic.h" >&5 | 5254 echo "configure:5255: checking for X11/Intrinsic.h" >&5 |
5199 | 5255 |
5200 cat > conftest.$ac_ext <<EOF | 5256 cat > conftest.$ac_ext <<EOF |
5201 #line 5202 "configure" | 5257 #line 5258 "configure" |
5202 #include "confdefs.h" | 5258 #include "confdefs.h" |
5203 #include <X11/Intrinsic.h> | 5259 #include <X11/Intrinsic.h> |
5204 EOF | 5260 EOF |
5205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5261 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5206 { (eval echo configure:5207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5262 { (eval echo configure:5263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5207 ac_err=`grep -v '^ *+' conftest.out` | 5263 ac_err=`grep -v '^ *+' conftest.out` |
5208 if test -z "$ac_err"; then | 5264 if test -z "$ac_err"; then |
5209 rm -rf conftest* | 5265 rm -rf conftest* |
5210 eval "ac_cv_header_$ac_safe=yes" | 5266 eval "ac_cv_header_$ac_safe=yes" |
5211 else | 5267 else |
5225 fi | 5281 fi |
5226 | 5282 |
5227 | 5283 |
5228 | 5284 |
5229 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5285 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5230 echo "configure:5231: checking for XOpenDisplay in -lX11" >&5 | 5286 echo "configure:5287: checking for XOpenDisplay in -lX11" >&5 |
5231 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5287 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5232 | 5288 |
5233 xe_check_libs=" -lX11 " | 5289 xe_check_libs=" -lX11 " |
5234 cat > conftest.$ac_ext <<EOF | 5290 cat > conftest.$ac_ext <<EOF |
5235 #line 5236 "configure" | 5291 #line 5292 "configure" |
5236 #include "confdefs.h" | 5292 #include "confdefs.h" |
5237 /* Override any gcc2 internal prototype to avoid an error. */ | 5293 /* Override any gcc2 internal prototype to avoid an error. */ |
5238 /* We use char because int might match the return type of a gcc2 | 5294 /* We use char because int might match the return type of a gcc2 |
5239 builtin and then its argument prototype would still apply. */ | 5295 builtin and then its argument prototype would still apply. */ |
5240 char XOpenDisplay(); | 5296 char XOpenDisplay(); |
5241 | 5297 |
5242 int main() { | 5298 int main() { |
5243 XOpenDisplay() | 5299 XOpenDisplay() |
5244 ; return 0; } | 5300 ; return 0; } |
5245 EOF | 5301 EOF |
5246 if { (eval echo configure:5247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5302 if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5247 rm -rf conftest* | 5303 rm -rf conftest* |
5248 eval "ac_cv_lib_$ac_lib_var=yes" | 5304 eval "ac_cv_lib_$ac_lib_var=yes" |
5249 else | 5305 else |
5250 echo "configure: failed program was:" >&5 | 5306 echo "configure: failed program was:" >&5 |
5251 cat conftest.$ac_ext >&5 | 5307 cat conftest.$ac_ext >&5 |
5266 if test "$have_lib_x11" != "yes"; then | 5322 if test "$have_lib_x11" != "yes"; then |
5267 | 5323 |
5268 xe_msg_checking="for XGetFontProperty in -lX11" | 5324 xe_msg_checking="for XGetFontProperty in -lX11" |
5269 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5325 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5270 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5326 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5271 echo "configure:5272: checking "$xe_msg_checking"" >&5 | 5327 echo "configure:5328: checking "$xe_msg_checking"" >&5 |
5272 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5328 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5273 | 5329 |
5274 xe_check_libs=" -lX11 -b i486-linuxaout" | 5330 xe_check_libs=" -lX11 -b i486-linuxaout" |
5275 cat > conftest.$ac_ext <<EOF | 5331 cat > conftest.$ac_ext <<EOF |
5276 #line 5277 "configure" | 5332 #line 5333 "configure" |
5277 #include "confdefs.h" | 5333 #include "confdefs.h" |
5278 /* Override any gcc2 internal prototype to avoid an error. */ | 5334 /* Override any gcc2 internal prototype to avoid an error. */ |
5279 /* We use char because int might match the return type of a gcc2 | 5335 /* We use char because int might match the return type of a gcc2 |
5280 builtin and then its argument prototype would still apply. */ | 5336 builtin and then its argument prototype would still apply. */ |
5281 char XGetFontProperty(); | 5337 char XGetFontProperty(); |
5282 | 5338 |
5283 int main() { | 5339 int main() { |
5284 XGetFontProperty() | 5340 XGetFontProperty() |
5285 ; return 0; } | 5341 ; return 0; } |
5286 EOF | 5342 EOF |
5287 if { (eval echo configure:5288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5343 if { (eval echo configure:5344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5288 rm -rf conftest* | 5344 rm -rf conftest* |
5289 eval "ac_cv_lib_$ac_lib_var=yes" | 5345 eval "ac_cv_lib_$ac_lib_var=yes" |
5290 else | 5346 else |
5291 echo "configure: failed program was:" >&5 | 5347 echo "configure: failed program was:" >&5 |
5292 cat conftest.$ac_ext >&5 | 5348 cat conftest.$ac_ext >&5 |
5309 libs_x="-lX11" | 5365 libs_x="-lX11" |
5310 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5366 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5311 | 5367 |
5312 | 5368 |
5313 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5369 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5314 echo "configure:5315: checking for XShapeSelectInput in -lXext" >&5 | 5370 echo "configure:5371: checking for XShapeSelectInput in -lXext" >&5 |
5315 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5371 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5316 | 5372 |
5317 xe_check_libs=" -lXext " | 5373 xe_check_libs=" -lXext " |
5318 cat > conftest.$ac_ext <<EOF | 5374 cat > conftest.$ac_ext <<EOF |
5319 #line 5320 "configure" | 5375 #line 5376 "configure" |
5320 #include "confdefs.h" | 5376 #include "confdefs.h" |
5321 /* Override any gcc2 internal prototype to avoid an error. */ | 5377 /* Override any gcc2 internal prototype to avoid an error. */ |
5322 /* We use char because int might match the return type of a gcc2 | 5378 /* We use char because int might match the return type of a gcc2 |
5323 builtin and then its argument prototype would still apply. */ | 5379 builtin and then its argument prototype would still apply. */ |
5324 char XShapeSelectInput(); | 5380 char XShapeSelectInput(); |
5325 | 5381 |
5326 int main() { | 5382 int main() { |
5327 XShapeSelectInput() | 5383 XShapeSelectInput() |
5328 ; return 0; } | 5384 ; return 0; } |
5329 EOF | 5385 EOF |
5330 if { (eval echo configure:5331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5386 if { (eval echo configure:5387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5331 rm -rf conftest* | 5387 rm -rf conftest* |
5332 eval "ac_cv_lib_$ac_lib_var=yes" | 5388 eval "ac_cv_lib_$ac_lib_var=yes" |
5333 else | 5389 else |
5334 echo "configure: failed program was:" >&5 | 5390 echo "configure: failed program was:" >&5 |
5335 cat conftest.$ac_ext >&5 | 5391 cat conftest.$ac_ext >&5 |
5348 | 5404 |
5349 | 5405 |
5350 | 5406 |
5351 | 5407 |
5352 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5408 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5353 echo "configure:5354: checking for XtOpenDisplay in -lXt" >&5 | 5409 echo "configure:5410: checking for XtOpenDisplay in -lXt" >&5 |
5354 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5410 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5355 | 5411 |
5356 xe_check_libs=" -lXt " | 5412 xe_check_libs=" -lXt " |
5357 cat > conftest.$ac_ext <<EOF | 5413 cat > conftest.$ac_ext <<EOF |
5358 #line 5359 "configure" | 5414 #line 5415 "configure" |
5359 #include "confdefs.h" | 5415 #include "confdefs.h" |
5360 /* Override any gcc2 internal prototype to avoid an error. */ | 5416 /* Override any gcc2 internal prototype to avoid an error. */ |
5361 /* We use char because int might match the return type of a gcc2 | 5417 /* We use char because int might match the return type of a gcc2 |
5362 builtin and then its argument prototype would still apply. */ | 5418 builtin and then its argument prototype would still apply. */ |
5363 char XtOpenDisplay(); | 5419 char XtOpenDisplay(); |
5364 | 5420 |
5365 int main() { | 5421 int main() { |
5366 XtOpenDisplay() | 5422 XtOpenDisplay() |
5367 ; return 0; } | 5423 ; return 0; } |
5368 EOF | 5424 EOF |
5369 if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5425 if { (eval echo configure:5426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5370 rm -rf conftest* | 5426 rm -rf conftest* |
5371 eval "ac_cv_lib_$ac_lib_var=yes" | 5427 eval "ac_cv_lib_$ac_lib_var=yes" |
5372 else | 5428 else |
5373 echo "configure: failed program was:" >&5 | 5429 echo "configure: failed program was:" >&5 |
5374 cat conftest.$ac_ext >&5 | 5430 cat conftest.$ac_ext >&5 |
5387 fi | 5443 fi |
5388 | 5444 |
5389 | 5445 |
5390 | 5446 |
5391 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5447 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5392 echo "configure:5393: checking the version of X11 being used" >&5 | 5448 echo "configure:5449: checking the version of X11 being used" >&5 |
5393 cat > conftest.$ac_ext <<EOF | 5449 cat > conftest.$ac_ext <<EOF |
5394 #line 5395 "configure" | 5450 #line 5451 "configure" |
5395 #include "confdefs.h" | 5451 #include "confdefs.h" |
5396 #include <X11/Intrinsic.h> | 5452 #include <X11/Intrinsic.h> |
5397 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5453 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5398 EOF | 5454 EOF |
5399 if { (eval echo configure:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5455 if { (eval echo configure:5456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5400 then | 5456 then |
5401 ./conftest foobar; x11_release=$? | 5457 ./conftest foobar; x11_release=$? |
5402 else | 5458 else |
5403 echo "configure: failed program was:" >&5 | 5459 echo "configure: failed program was:" >&5 |
5404 cat conftest.$ac_ext >&5 | 5460 cat conftest.$ac_ext >&5 |
5418 | 5474 |
5419 for ac_hdr in X11/Xlocale.h | 5475 for ac_hdr in X11/Xlocale.h |
5420 do | 5476 do |
5421 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5477 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5422 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5423 echo "configure:5424: checking for $ac_hdr" >&5 | 5479 echo "configure:5480: checking for $ac_hdr" >&5 |
5424 | 5480 |
5425 cat > conftest.$ac_ext <<EOF | 5481 cat > conftest.$ac_ext <<EOF |
5426 #line 5427 "configure" | 5482 #line 5483 "configure" |
5427 #include "confdefs.h" | 5483 #include "confdefs.h" |
5428 #include <$ac_hdr> | 5484 #include <$ac_hdr> |
5429 EOF | 5485 EOF |
5430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5431 { (eval echo configure:5432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5487 { (eval echo configure:5488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5432 ac_err=`grep -v '^ *+' conftest.out` | 5488 ac_err=`grep -v '^ *+' conftest.out` |
5433 if test -z "$ac_err"; then | 5489 if test -z "$ac_err"; then |
5434 rm -rf conftest* | 5490 rm -rf conftest* |
5435 eval "ac_cv_header_$ac_safe=yes" | 5491 eval "ac_cv_header_$ac_safe=yes" |
5436 else | 5492 else |
5457 fi | 5513 fi |
5458 done | 5514 done |
5459 | 5515 |
5460 | 5516 |
5461 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5517 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5462 echo "configure:5463: checking for XFree86" >&5 | 5518 echo "configure:5519: checking for XFree86" >&5 |
5463 if test -d "/usr/X386/include" -o \ | 5519 if test -d "/usr/X386/include" -o \ |
5464 -f "/etc/XF86Config" -o \ | 5520 -f "/etc/XF86Config" -o \ |
5465 -f "/etc/X11/XF86Config" -o \ | 5521 -f "/etc/X11/XF86Config" -o \ |
5466 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5522 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5467 echo "$ac_t""yes" 1>&6 | 5523 echo "$ac_t""yes" 1>&6 |
5477 echo "$ac_t""no" 1>&6 | 5533 echo "$ac_t""no" 1>&6 |
5478 fi | 5534 fi |
5479 | 5535 |
5480 test -z "$with_xmu" && { | 5536 test -z "$with_xmu" && { |
5481 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5537 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5482 echo "configure:5483: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5538 echo "configure:5539: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5483 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5539 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5484 | 5540 |
5485 xe_check_libs=" -lXmu " | 5541 xe_check_libs=" -lXmu " |
5486 cat > conftest.$ac_ext <<EOF | 5542 cat > conftest.$ac_ext <<EOF |
5487 #line 5488 "configure" | 5543 #line 5544 "configure" |
5488 #include "confdefs.h" | 5544 #include "confdefs.h" |
5489 /* Override any gcc2 internal prototype to avoid an error. */ | 5545 /* Override any gcc2 internal prototype to avoid an error. */ |
5490 /* We use char because int might match the return type of a gcc2 | 5546 /* We use char because int might match the return type of a gcc2 |
5491 builtin and then its argument prototype would still apply. */ | 5547 builtin and then its argument prototype would still apply. */ |
5492 char XmuReadBitmapDataFromFile(); | 5548 char XmuReadBitmapDataFromFile(); |
5493 | 5549 |
5494 int main() { | 5550 int main() { |
5495 XmuReadBitmapDataFromFile() | 5551 XmuReadBitmapDataFromFile() |
5496 ; return 0; } | 5552 ; return 0; } |
5497 EOF | 5553 EOF |
5498 if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5554 if { (eval echo configure:5555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5499 rm -rf conftest* | 5555 rm -rf conftest* |
5500 eval "ac_cv_lib_$ac_lib_var=yes" | 5556 eval "ac_cv_lib_$ac_lib_var=yes" |
5501 else | 5557 else |
5502 echo "configure: failed program was:" >&5 | 5558 echo "configure: failed program was:" >&5 |
5503 cat conftest.$ac_ext >&5 | 5559 cat conftest.$ac_ext >&5 |
5532 | 5588 |
5533 fi | 5589 fi |
5534 | 5590 |
5535 | 5591 |
5536 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5592 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5537 echo "configure:5538: checking for main in -lXbsd" >&5 | 5593 echo "configure:5594: checking for main in -lXbsd" >&5 |
5538 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5594 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5539 | 5595 |
5540 xe_check_libs=" -lXbsd " | 5596 xe_check_libs=" -lXbsd " |
5541 cat > conftest.$ac_ext <<EOF | 5597 cat > conftest.$ac_ext <<EOF |
5542 #line 5543 "configure" | 5598 #line 5599 "configure" |
5543 #include "confdefs.h" | 5599 #include "confdefs.h" |
5544 | 5600 |
5545 int main() { | 5601 int main() { |
5546 main() | 5602 main() |
5547 ; return 0; } | 5603 ; return 0; } |
5548 EOF | 5604 EOF |
5549 if { (eval echo configure:5550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5605 if { (eval echo configure:5606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5550 rm -rf conftest* | 5606 rm -rf conftest* |
5551 eval "ac_cv_lib_$ac_lib_var=yes" | 5607 eval "ac_cv_lib_$ac_lib_var=yes" |
5552 else | 5608 else |
5553 echo "configure: failed program was:" >&5 | 5609 echo "configure: failed program was:" >&5 |
5554 cat conftest.$ac_ext >&5 | 5610 cat conftest.$ac_ext >&5 |
5566 fi | 5622 fi |
5567 | 5623 |
5568 | 5624 |
5569 | 5625 |
5570 if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then | 5626 if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then |
5571 case "$CC" in | 5627 if test "$GCC" = "yes"; then |
5572 "xlc" ) CC="xlc_r" ;; | 5628 X_CFLAGS="-mthreads $X_CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-mthreads\" to \$X_CFLAGS"; fi |
5573 "xlC" ) CC="xlC_r" ;; | 5629 libs_x="-mthreads $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-mthreads\" to \$libs_x"; fi |
5574 "cc" ) CC="cc_r" ;; | 5630 else |
5575 "gcc" ) | 5631 case "$CC" in |
5576 X_CFLAGS="-mthreads $X_CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-mthreads\" to \$X_CFLAGS"; fi | 5632 "xlc" ) CC="xlc_r" ;; |
5577 libs_x="-mthreads $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-mthreads\" to \$libs_x"; fi | 5633 "xlC" ) CC="xlC_r" ;; |
5578 ;; | 5634 "cc" ) CC="cc_r" ;; |
5579 esac | 5635 esac |
5636 fi | |
5580 fi | 5637 fi |
5581 | 5638 |
5582 fi | 5639 fi |
5583 if test "$with_msw" != "no"; then | 5640 if test "$with_msw" != "no"; then |
5584 echo "checking for MS-Windows" 1>&6 | 5641 echo "checking for MS-Windows" 1>&6 |
5585 echo "configure:5586: checking for MS-Windows" >&5 | 5642 echo "configure:5643: checking for MS-Windows" >&5 |
5586 | 5643 |
5587 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5644 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5588 echo "configure:5589: checking for main in -lgdi32" >&5 | 5645 echo "configure:5646: checking for main in -lgdi32" >&5 |
5589 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5646 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5590 | 5647 |
5591 xe_check_libs=" -lgdi32 " | 5648 xe_check_libs=" -lgdi32 " |
5592 cat > conftest.$ac_ext <<EOF | 5649 cat > conftest.$ac_ext <<EOF |
5593 #line 5594 "configure" | 5650 #line 5651 "configure" |
5594 #include "confdefs.h" | 5651 #include "confdefs.h" |
5595 | 5652 |
5596 int main() { | 5653 int main() { |
5597 main() | 5654 main() |
5598 ; return 0; } | 5655 ; return 0; } |
5599 EOF | 5656 EOF |
5600 if { (eval echo configure:5601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5657 if { (eval echo configure:5658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5601 rm -rf conftest* | 5658 rm -rf conftest* |
5602 eval "ac_cv_lib_$ac_lib_var=yes" | 5659 eval "ac_cv_lib_$ac_lib_var=yes" |
5603 else | 5660 else |
5604 echo "configure: failed program was:" >&5 | 5661 echo "configure: failed program was:" >&5 |
5605 cat conftest.$ac_ext >&5 | 5662 cat conftest.$ac_ext >&5 |
5704 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5761 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5705 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5762 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5706 esac | 5763 esac |
5707 | 5764 |
5708 echo "checking for session-management option" 1>&6 | 5765 echo "checking for session-management option" 1>&6 |
5709 echo "configure:5710: checking for session-management option" >&5; | 5766 echo "configure:5767: checking for session-management option" >&5; |
5710 if test "$with_session" != "no"; then | 5767 if test "$with_session" != "no"; then |
5711 { test "$extra_verbose" = "yes" && cat << \EOF | 5768 { test "$extra_verbose" = "yes" && cat << \EOF |
5712 Defining HAVE_SESSION | 5769 Defining HAVE_SESSION |
5713 EOF | 5770 EOF |
5714 cat >> confdefs.h <<\EOF | 5771 cat >> confdefs.h <<\EOF |
5719 fi | 5776 fi |
5720 | 5777 |
5721 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5778 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5722 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5779 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5723 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5780 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5724 echo "configure:5725: checking for X11/Xauth.h" >&5 | 5781 echo "configure:5782: checking for X11/Xauth.h" >&5 |
5725 | 5782 |
5726 cat > conftest.$ac_ext <<EOF | 5783 cat > conftest.$ac_ext <<EOF |
5727 #line 5728 "configure" | 5784 #line 5785 "configure" |
5728 #include "confdefs.h" | 5785 #include "confdefs.h" |
5729 #include <X11/Xauth.h> | 5786 #include <X11/Xauth.h> |
5730 EOF | 5787 EOF |
5731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5732 { (eval echo configure:5733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5789 { (eval echo configure:5790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5733 ac_err=`grep -v '^ *+' conftest.out` | 5790 ac_err=`grep -v '^ *+' conftest.out` |
5734 if test -z "$ac_err"; then | 5791 if test -z "$ac_err"; then |
5735 rm -rf conftest* | 5792 rm -rf conftest* |
5736 eval "ac_cv_header_$ac_safe=yes" | 5793 eval "ac_cv_header_$ac_safe=yes" |
5737 else | 5794 else |
5750 with_xauth=no | 5807 with_xauth=no |
5751 fi | 5808 fi |
5752 } | 5809 } |
5753 test -z "$with_xauth" && { | 5810 test -z "$with_xauth" && { |
5754 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5811 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5755 echo "configure:5756: checking for XauGetAuthByAddr in -lXau" >&5 | 5812 echo "configure:5813: checking for XauGetAuthByAddr in -lXau" >&5 |
5756 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5813 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5757 | 5814 |
5758 xe_check_libs=" -lXau " | 5815 xe_check_libs=" -lXau " |
5759 cat > conftest.$ac_ext <<EOF | 5816 cat > conftest.$ac_ext <<EOF |
5760 #line 5761 "configure" | 5817 #line 5818 "configure" |
5761 #include "confdefs.h" | 5818 #include "confdefs.h" |
5762 /* Override any gcc2 internal prototype to avoid an error. */ | 5819 /* Override any gcc2 internal prototype to avoid an error. */ |
5763 /* We use char because int might match the return type of a gcc2 | 5820 /* We use char because int might match the return type of a gcc2 |
5764 builtin and then its argument prototype would still apply. */ | 5821 builtin and then its argument prototype would still apply. */ |
5765 char XauGetAuthByAddr(); | 5822 char XauGetAuthByAddr(); |
5766 | 5823 |
5767 int main() { | 5824 int main() { |
5768 XauGetAuthByAddr() | 5825 XauGetAuthByAddr() |
5769 ; return 0; } | 5826 ; return 0; } |
5770 EOF | 5827 EOF |
5771 if { (eval echo configure:5772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5828 if { (eval echo configure:5829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5772 rm -rf conftest* | 5829 rm -rf conftest* |
5773 eval "ac_cv_lib_$ac_lib_var=yes" | 5830 eval "ac_cv_lib_$ac_lib_var=yes" |
5774 else | 5831 else |
5775 echo "configure: failed program was:" >&5 | 5832 echo "configure: failed program was:" >&5 |
5776 cat conftest.$ac_ext >&5 | 5833 cat conftest.$ac_ext >&5 |
5820 cat >> confdefs.h <<\EOF | 5877 cat >> confdefs.h <<\EOF |
5821 #define HAVE_OFFIX_DND 1 | 5878 #define HAVE_OFFIX_DND 1 |
5822 EOF | 5879 EOF |
5823 } | 5880 } |
5824 | 5881 |
5825 extra_objs="$extra_objs offix.o" && if test "$extra_verbose" = "yes"; then | 5882 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
5826 echo " xemacs will be linked with \"offix.o\"" | 5883 fi |
5827 fi | 5884 |
5828 fi | 5885 |
5829 | 5886 |
5830 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5887 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5831 if test "$with_tooltalk" != "no" ; then | 5888 if test "$with_tooltalk" != "no" ; then |
5832 for dir in "" "Tt/" "desktop/" ; do | 5889 for dir in "" "Tt/" "desktop/" ; do |
5833 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5890 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5834 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5891 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5835 echo "configure:5836: checking for ${dir}tt_c.h" >&5 | 5892 echo "configure:5893: checking for ${dir}tt_c.h" >&5 |
5836 | 5893 |
5837 cat > conftest.$ac_ext <<EOF | 5894 cat > conftest.$ac_ext <<EOF |
5838 #line 5839 "configure" | 5895 #line 5896 "configure" |
5839 #include "confdefs.h" | 5896 #include "confdefs.h" |
5840 #include <${dir}tt_c.h> | 5897 #include <${dir}tt_c.h> |
5841 EOF | 5898 EOF |
5842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5899 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5843 { (eval echo configure:5844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5900 { (eval echo configure:5901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5844 ac_err=`grep -v '^ *+' conftest.out` | 5901 ac_err=`grep -v '^ *+' conftest.out` |
5845 if test -z "$ac_err"; then | 5902 if test -z "$ac_err"; then |
5846 rm -rf conftest* | 5903 rm -rf conftest* |
5847 eval "ac_cv_header_$ac_safe=yes" | 5904 eval "ac_cv_header_$ac_safe=yes" |
5848 else | 5905 else |
5867 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5924 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5868 | 5925 |
5869 xe_msg_checking="for tt_message_create in -ltt" | 5926 xe_msg_checking="for tt_message_create in -ltt" |
5870 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5927 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5871 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5928 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5872 echo "configure:5873: checking "$xe_msg_checking"" >&5 | 5929 echo "configure:5930: checking "$xe_msg_checking"" >&5 |
5873 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5930 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5874 | 5931 |
5875 xe_check_libs=" -ltt $extra_libs" | 5932 xe_check_libs=" -ltt $extra_libs" |
5876 cat > conftest.$ac_ext <<EOF | 5933 cat > conftest.$ac_ext <<EOF |
5877 #line 5878 "configure" | 5934 #line 5935 "configure" |
5878 #include "confdefs.h" | 5935 #include "confdefs.h" |
5879 /* Override any gcc2 internal prototype to avoid an error. */ | 5936 /* Override any gcc2 internal prototype to avoid an error. */ |
5880 /* We use char because int might match the return type of a gcc2 | 5937 /* We use char because int might match the return type of a gcc2 |
5881 builtin and then its argument prototype would still apply. */ | 5938 builtin and then its argument prototype would still apply. */ |
5882 char tt_message_create(); | 5939 char tt_message_create(); |
5883 | 5940 |
5884 int main() { | 5941 int main() { |
5885 tt_message_create() | 5942 tt_message_create() |
5886 ; return 0; } | 5943 ; return 0; } |
5887 EOF | 5944 EOF |
5888 if { (eval echo configure:5889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5945 if { (eval echo configure:5946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5889 rm -rf conftest* | 5946 rm -rf conftest* |
5890 eval "ac_cv_lib_$ac_lib_var=yes" | 5947 eval "ac_cv_lib_$ac_lib_var=yes" |
5891 else | 5948 else |
5892 echo "configure: failed program was:" >&5 | 5949 echo "configure: failed program was:" >&5 |
5893 cat conftest.$ac_ext >&5 | 5950 cat conftest.$ac_ext >&5 |
5932 fi | 5989 fi |
5933 fi | 5990 fi |
5934 | 5991 |
5935 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5992 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5936 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5993 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5937 echo "configure:5938: checking for Dt/Dt.h" >&5 | 5994 echo "configure:5995: checking for Dt/Dt.h" >&5 |
5938 | 5995 |
5939 cat > conftest.$ac_ext <<EOF | 5996 cat > conftest.$ac_ext <<EOF |
5940 #line 5941 "configure" | 5997 #line 5998 "configure" |
5941 #include "confdefs.h" | 5998 #include "confdefs.h" |
5942 #include <Dt/Dt.h> | 5999 #include <Dt/Dt.h> |
5943 EOF | 6000 EOF |
5944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5945 { (eval echo configure:5946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6002 { (eval echo configure:6003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5946 ac_err=`grep -v '^ *+' conftest.out` | 6003 ac_err=`grep -v '^ *+' conftest.out` |
5947 if test -z "$ac_err"; then | 6004 if test -z "$ac_err"; then |
5948 rm -rf conftest* | 6005 rm -rf conftest* |
5949 eval "ac_cv_header_$ac_safe=yes" | 6006 eval "ac_cv_header_$ac_safe=yes" |
5950 else | 6007 else |
5963 with_cde=no | 6020 with_cde=no |
5964 fi | 6021 fi |
5965 } | 6022 } |
5966 test -z "$with_cde" && { | 6023 test -z "$with_cde" && { |
5967 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6024 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5968 echo "configure:5969: checking for DtDndDragStart in -lDtSvc" >&5 | 6025 echo "configure:6026: checking for DtDndDragStart in -lDtSvc" >&5 |
5969 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6026 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5970 | 6027 |
5971 xe_check_libs=" -lDtSvc " | 6028 xe_check_libs=" -lDtSvc " |
5972 cat > conftest.$ac_ext <<EOF | 6029 cat > conftest.$ac_ext <<EOF |
5973 #line 5974 "configure" | 6030 #line 6031 "configure" |
5974 #include "confdefs.h" | 6031 #include "confdefs.h" |
5975 /* Override any gcc2 internal prototype to avoid an error. */ | 6032 /* Override any gcc2 internal prototype to avoid an error. */ |
5976 /* We use char because int might match the return type of a gcc2 | 6033 /* We use char because int might match the return type of a gcc2 |
5977 builtin and then its argument prototype would still apply. */ | 6034 builtin and then its argument prototype would still apply. */ |
5978 char DtDndDragStart(); | 6035 char DtDndDragStart(); |
5979 | 6036 |
5980 int main() { | 6037 int main() { |
5981 DtDndDragStart() | 6038 DtDndDragStart() |
5982 ; return 0; } | 6039 ; return 0; } |
5983 EOF | 6040 EOF |
5984 if { (eval echo configure:5985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6041 if { (eval echo configure:6042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5985 rm -rf conftest* | 6042 rm -rf conftest* |
5986 eval "ac_cv_lib_$ac_lib_var=yes" | 6043 eval "ac_cv_lib_$ac_lib_var=yes" |
5987 else | 6044 else |
5988 echo "configure: failed program was:" >&5 | 6045 echo "configure: failed program was:" >&5 |
5989 cat conftest.$ac_ext >&5 | 6046 cat conftest.$ac_ext >&5 |
6016 with_tooltalk=yes # CDE requires Tooltalk | 6073 with_tooltalk=yes # CDE requires Tooltalk |
6017 need_motif=yes # CDE requires Motif | 6074 need_motif=yes # CDE requires Motif |
6018 fi | 6075 fi |
6019 | 6076 |
6020 echo "checking for LDAP" 1>&6 | 6077 echo "checking for LDAP" 1>&6 |
6021 echo "configure:6022: checking for LDAP" >&5 | 6078 echo "configure:6079: checking for LDAP" >&5 |
6022 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6079 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6023 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6080 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6024 echo "configure:6025: checking for ldap.h" >&5 | 6081 echo "configure:6082: checking for ldap.h" >&5 |
6025 | 6082 |
6026 cat > conftest.$ac_ext <<EOF | 6083 cat > conftest.$ac_ext <<EOF |
6027 #line 6028 "configure" | 6084 #line 6085 "configure" |
6028 #include "confdefs.h" | 6085 #include "confdefs.h" |
6029 #include <ldap.h> | 6086 #include <ldap.h> |
6030 EOF | 6087 EOF |
6031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6032 { (eval echo configure:6033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6089 { (eval echo configure:6090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6033 ac_err=`grep -v '^ *+' conftest.out` | 6090 ac_err=`grep -v '^ *+' conftest.out` |
6034 if test -z "$ac_err"; then | 6091 if test -z "$ac_err"; then |
6035 rm -rf conftest* | 6092 rm -rf conftest* |
6036 eval "ac_cv_header_$ac_safe=yes" | 6093 eval "ac_cv_header_$ac_safe=yes" |
6037 else | 6094 else |
6050 with_ldap=no | 6107 with_ldap=no |
6051 fi | 6108 fi |
6052 } | 6109 } |
6053 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6110 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6054 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6111 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6055 echo "configure:6056: checking for lber.h" >&5 | 6112 echo "configure:6113: checking for lber.h" >&5 |
6056 | 6113 |
6057 cat > conftest.$ac_ext <<EOF | 6114 cat > conftest.$ac_ext <<EOF |
6058 #line 6059 "configure" | 6115 #line 6116 "configure" |
6059 #include "confdefs.h" | 6116 #include "confdefs.h" |
6060 #include <lber.h> | 6117 #include <lber.h> |
6061 EOF | 6118 EOF |
6062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6063 { (eval echo configure:6064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6120 { (eval echo configure:6121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6064 ac_err=`grep -v '^ *+' conftest.out` | 6121 ac_err=`grep -v '^ *+' conftest.out` |
6065 if test -z "$ac_err"; then | 6122 if test -z "$ac_err"; then |
6066 rm -rf conftest* | 6123 rm -rf conftest* |
6067 eval "ac_cv_header_$ac_safe=yes" | 6124 eval "ac_cv_header_$ac_safe=yes" |
6068 else | 6125 else |
6084 if test "$with_ldap" != "no"; then | 6141 if test "$with_ldap" != "no"; then |
6085 test -z "$with_umich_ldap" && { | 6142 test -z "$with_umich_ldap" && { |
6086 xe_msg_checking="for ldap_open in -lldap" | 6143 xe_msg_checking="for ldap_open in -lldap" |
6087 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6144 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6088 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6145 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6089 echo "configure:6090: checking "$xe_msg_checking"" >&5 | 6146 echo "configure:6147: checking "$xe_msg_checking"" >&5 |
6090 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6147 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6091 | 6148 |
6092 xe_check_libs=" -lldap -llber" | 6149 xe_check_libs=" -lldap -llber" |
6093 cat > conftest.$ac_ext <<EOF | 6150 cat > conftest.$ac_ext <<EOF |
6094 #line 6095 "configure" | 6151 #line 6152 "configure" |
6095 #include "confdefs.h" | 6152 #include "confdefs.h" |
6096 /* Override any gcc2 internal prototype to avoid an error. */ | 6153 /* Override any gcc2 internal prototype to avoid an error. */ |
6097 /* We use char because int might match the return type of a gcc2 | 6154 /* We use char because int might match the return type of a gcc2 |
6098 builtin and then its argument prototype would still apply. */ | 6155 builtin and then its argument prototype would still apply. */ |
6099 char ldap_open(); | 6156 char ldap_open(); |
6100 | 6157 |
6101 int main() { | 6158 int main() { |
6102 ldap_open() | 6159 ldap_open() |
6103 ; return 0; } | 6160 ; return 0; } |
6104 EOF | 6161 EOF |
6105 if { (eval echo configure:6106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6162 if { (eval echo configure:6163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6106 rm -rf conftest* | 6163 rm -rf conftest* |
6107 eval "ac_cv_lib_$ac_lib_var=yes" | 6164 eval "ac_cv_lib_$ac_lib_var=yes" |
6108 else | 6165 else |
6109 echo "configure: failed program was:" >&5 | 6166 echo "configure: failed program was:" >&5 |
6110 cat conftest.$ac_ext >&5 | 6167 cat conftest.$ac_ext >&5 |
6123 fi | 6180 fi |
6124 | 6181 |
6125 } | 6182 } |
6126 test "$with_umich_ldap" = "no" && { | 6183 test "$with_umich_ldap" = "no" && { |
6127 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6184 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6128 echo "configure:6129: checking for ldap_set_option in -lldap10" >&5 | 6185 echo "configure:6186: checking for ldap_set_option in -lldap10" >&5 |
6129 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6186 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6130 | 6187 |
6131 xe_check_libs=" -lldap10 " | 6188 xe_check_libs=" -lldap10 " |
6132 cat > conftest.$ac_ext <<EOF | 6189 cat > conftest.$ac_ext <<EOF |
6133 #line 6134 "configure" | 6190 #line 6191 "configure" |
6134 #include "confdefs.h" | 6191 #include "confdefs.h" |
6135 /* Override any gcc2 internal prototype to avoid an error. */ | 6192 /* Override any gcc2 internal prototype to avoid an error. */ |
6136 /* We use char because int might match the return type of a gcc2 | 6193 /* We use char because int might match the return type of a gcc2 |
6137 builtin and then its argument prototype would still apply. */ | 6194 builtin and then its argument prototype would still apply. */ |
6138 char ldap_set_option(); | 6195 char ldap_set_option(); |
6139 | 6196 |
6140 int main() { | 6197 int main() { |
6141 ldap_set_option() | 6198 ldap_set_option() |
6142 ; return 0; } | 6199 ; return 0; } |
6143 EOF | 6200 EOF |
6144 if { (eval echo configure:6145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6145 rm -rf conftest* | 6202 rm -rf conftest* |
6146 eval "ac_cv_lib_$ac_lib_var=yes" | 6203 eval "ac_cv_lib_$ac_lib_var=yes" |
6147 else | 6204 else |
6148 echo "configure: failed program was:" >&5 | 6205 echo "configure: failed program was:" >&5 |
6149 cat conftest.$ac_ext >&5 | 6206 cat conftest.$ac_ext >&5 |
6204 | 6261 |
6205 | 6262 |
6206 if test "$with_x11" = "yes"; then | 6263 if test "$with_x11" = "yes"; then |
6207 | 6264 |
6208 echo "checking for X11 graphics libraries" 1>&6 | 6265 echo "checking for X11 graphics libraries" 1>&6 |
6209 echo "configure:6210: checking for X11 graphics libraries" >&5 | 6266 echo "configure:6267: checking for X11 graphics libraries" >&5 |
6210 | 6267 |
6211 if test "$with_png $with_tiff" != "no no"; then | 6268 if test "$with_png $with_tiff" != "no no"; then |
6212 | 6269 |
6213 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6270 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6214 echo "configure:6215: checking for inflate in -lc" >&5 | 6271 echo "configure:6272: checking for inflate in -lc" >&5 |
6215 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6272 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6216 | 6273 |
6217 xe_check_libs=" -lc " | 6274 xe_check_libs=" -lc " |
6218 cat > conftest.$ac_ext <<EOF | 6275 cat > conftest.$ac_ext <<EOF |
6219 #line 6220 "configure" | 6276 #line 6277 "configure" |
6220 #include "confdefs.h" | 6277 #include "confdefs.h" |
6221 /* Override any gcc2 internal prototype to avoid an error. */ | 6278 /* Override any gcc2 internal prototype to avoid an error. */ |
6222 /* We use char because int might match the return type of a gcc2 | 6279 /* We use char because int might match the return type of a gcc2 |
6223 builtin and then its argument prototype would still apply. */ | 6280 builtin and then its argument prototype would still apply. */ |
6224 char inflate(); | 6281 char inflate(); |
6225 | 6282 |
6226 int main() { | 6283 int main() { |
6227 inflate() | 6284 inflate() |
6228 ; return 0; } | 6285 ; return 0; } |
6229 EOF | 6286 EOF |
6230 if { (eval echo configure:6231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6287 if { (eval echo configure:6288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6231 rm -rf conftest* | 6288 rm -rf conftest* |
6232 eval "ac_cv_lib_$ac_lib_var=yes" | 6289 eval "ac_cv_lib_$ac_lib_var=yes" |
6233 else | 6290 else |
6234 echo "configure: failed program was:" >&5 | 6291 echo "configure: failed program was:" >&5 |
6235 cat conftest.$ac_ext >&5 | 6292 cat conftest.$ac_ext >&5 |
6244 : | 6301 : |
6245 else | 6302 else |
6246 echo "$ac_t""no" 1>&6 | 6303 echo "$ac_t""no" 1>&6 |
6247 | 6304 |
6248 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6305 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6249 echo "configure:6250: checking for inflate in -lz" >&5 | 6306 echo "configure:6307: checking for inflate in -lz" >&5 |
6250 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6307 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6251 | 6308 |
6252 xe_check_libs=" -lz " | 6309 xe_check_libs=" -lz " |
6253 cat > conftest.$ac_ext <<EOF | 6310 cat > conftest.$ac_ext <<EOF |
6254 #line 6255 "configure" | 6311 #line 6312 "configure" |
6255 #include "confdefs.h" | 6312 #include "confdefs.h" |
6256 /* Override any gcc2 internal prototype to avoid an error. */ | 6313 /* Override any gcc2 internal prototype to avoid an error. */ |
6257 /* We use char because int might match the return type of a gcc2 | 6314 /* We use char because int might match the return type of a gcc2 |
6258 builtin and then its argument prototype would still apply. */ | 6315 builtin and then its argument prototype would still apply. */ |
6259 char inflate(); | 6316 char inflate(); |
6260 | 6317 |
6261 int main() { | 6318 int main() { |
6262 inflate() | 6319 inflate() |
6263 ; return 0; } | 6320 ; return 0; } |
6264 EOF | 6321 EOF |
6265 if { (eval echo configure:6266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6266 rm -rf conftest* | 6323 rm -rf conftest* |
6267 eval "ac_cv_lib_$ac_lib_var=yes" | 6324 eval "ac_cv_lib_$ac_lib_var=yes" |
6268 else | 6325 else |
6269 echo "configure: failed program was:" >&5 | 6326 echo "configure: failed program was:" >&5 |
6270 cat conftest.$ac_ext >&5 | 6327 cat conftest.$ac_ext >&5 |
6279 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6336 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6280 else | 6337 else |
6281 echo "$ac_t""no" 1>&6 | 6338 echo "$ac_t""no" 1>&6 |
6282 | 6339 |
6283 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6340 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6284 echo "configure:6285: checking for inflate in -lgz" >&5 | 6341 echo "configure:6342: checking for inflate in -lgz" >&5 |
6285 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6342 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6286 | 6343 |
6287 xe_check_libs=" -lgz " | 6344 xe_check_libs=" -lgz " |
6288 cat > conftest.$ac_ext <<EOF | 6345 cat > conftest.$ac_ext <<EOF |
6289 #line 6290 "configure" | 6346 #line 6347 "configure" |
6290 #include "confdefs.h" | 6347 #include "confdefs.h" |
6291 /* Override any gcc2 internal prototype to avoid an error. */ | 6348 /* Override any gcc2 internal prototype to avoid an error. */ |
6292 /* We use char because int might match the return type of a gcc2 | 6349 /* We use char because int might match the return type of a gcc2 |
6293 builtin and then its argument prototype would still apply. */ | 6350 builtin and then its argument prototype would still apply. */ |
6294 char inflate(); | 6351 char inflate(); |
6295 | 6352 |
6296 int main() { | 6353 int main() { |
6297 inflate() | 6354 inflate() |
6298 ; return 0; } | 6355 ; return 0; } |
6299 EOF | 6356 EOF |
6300 if { (eval echo configure:6301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6357 if { (eval echo configure:6358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6301 rm -rf conftest* | 6358 rm -rf conftest* |
6302 eval "ac_cv_lib_$ac_lib_var=yes" | 6359 eval "ac_cv_lib_$ac_lib_var=yes" |
6303 else | 6360 else |
6304 echo "configure: failed program was:" >&5 | 6361 echo "configure: failed program was:" >&5 |
6305 cat conftest.$ac_ext >&5 | 6362 cat conftest.$ac_ext >&5 |
6325 | 6382 |
6326 fi | 6383 fi |
6327 | 6384 |
6328 if test -z "$with_xpm"; then | 6385 if test -z "$with_xpm"; then |
6329 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6386 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6330 echo "configure:6331: checking for Xpm - no older than 3.4f" >&5 | 6387 echo "configure:6388: checking for Xpm - no older than 3.4f" >&5 |
6331 xe_check_libs=-lXpm | 6388 xe_check_libs=-lXpm |
6332 cat > conftest.$ac_ext <<EOF | 6389 cat > conftest.$ac_ext <<EOF |
6333 #line 6334 "configure" | 6390 #line 6391 "configure" |
6334 #include "confdefs.h" | 6391 #include "confdefs.h" |
6335 #include <X11/xpm.h> | 6392 #include <X11/xpm.h> |
6336 int main(int c, char **v) { | 6393 int main(int c, char **v) { |
6337 return c == 1 ? 0 : | 6394 return c == 1 ? 0 : |
6338 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6395 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6339 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6396 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6340 EOF | 6397 EOF |
6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6342 then | 6399 then |
6343 ./conftest dummy_arg; xpm_status=$?; | 6400 ./conftest dummy_arg; xpm_status=$?; |
6344 if test "$?" = "0"; then | 6401 if test "$?" = "0"; then |
6345 with_xpm=yes; | 6402 with_xpm=yes; |
6346 else | 6403 else |
6380 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6437 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6381 fi | 6438 fi |
6382 | 6439 |
6383 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6440 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6384 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6441 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6385 echo "configure:6386: checking for compface.h" >&5 | 6442 echo "configure:6443: checking for compface.h" >&5 |
6386 | 6443 |
6387 cat > conftest.$ac_ext <<EOF | 6444 cat > conftest.$ac_ext <<EOF |
6388 #line 6389 "configure" | 6445 #line 6446 "configure" |
6389 #include "confdefs.h" | 6446 #include "confdefs.h" |
6390 #include <compface.h> | 6447 #include <compface.h> |
6391 EOF | 6448 EOF |
6392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6393 { (eval echo configure:6394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6450 { (eval echo configure:6451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6394 ac_err=`grep -v '^ *+' conftest.out` | 6451 ac_err=`grep -v '^ *+' conftest.out` |
6395 if test -z "$ac_err"; then | 6452 if test -z "$ac_err"; then |
6396 rm -rf conftest* | 6453 rm -rf conftest* |
6397 eval "ac_cv_header_$ac_safe=yes" | 6454 eval "ac_cv_header_$ac_safe=yes" |
6398 else | 6455 else |
6411 with_xface=no | 6468 with_xface=no |
6412 fi | 6469 fi |
6413 } | 6470 } |
6414 test -z "$with_xface" && { | 6471 test -z "$with_xface" && { |
6415 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6472 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6416 echo "configure:6417: checking for UnGenFace in -lcompface" >&5 | 6473 echo "configure:6474: checking for UnGenFace in -lcompface" >&5 |
6417 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6474 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6418 | 6475 |
6419 xe_check_libs=" -lcompface " | 6476 xe_check_libs=" -lcompface " |
6420 cat > conftest.$ac_ext <<EOF | 6477 cat > conftest.$ac_ext <<EOF |
6421 #line 6422 "configure" | 6478 #line 6479 "configure" |
6422 #include "confdefs.h" | 6479 #include "confdefs.h" |
6423 /* Override any gcc2 internal prototype to avoid an error. */ | 6480 /* Override any gcc2 internal prototype to avoid an error. */ |
6424 /* We use char because int might match the return type of a gcc2 | 6481 /* We use char because int might match the return type of a gcc2 |
6425 builtin and then its argument prototype would still apply. */ | 6482 builtin and then its argument prototype would still apply. */ |
6426 char UnGenFace(); | 6483 char UnGenFace(); |
6427 | 6484 |
6428 int main() { | 6485 int main() { |
6429 UnGenFace() | 6486 UnGenFace() |
6430 ; return 0; } | 6487 ; return 0; } |
6431 EOF | 6488 EOF |
6432 if { (eval echo configure:6433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6489 if { (eval echo configure:6490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6433 rm -rf conftest* | 6490 rm -rf conftest* |
6434 eval "ac_cv_lib_$ac_lib_var=yes" | 6491 eval "ac_cv_lib_$ac_lib_var=yes" |
6435 else | 6492 else |
6436 echo "configure: failed program was:" >&5 | 6493 echo "configure: failed program was:" >&5 |
6437 cat conftest.$ac_ext >&5 | 6494 cat conftest.$ac_ext >&5 |
6462 | 6519 |
6463 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6520 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
6464 fi | 6521 fi |
6465 | 6522 |
6466 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | 6523 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 |
6467 echo "configure:6468: checking for giflib - no older than 3.1" >&5 | 6524 echo "configure:6525: checking for giflib - no older than 3.1" >&5 |
6468 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 6525 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
6469 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 6526 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
6470 echo "configure:6471: checking for gif_lib.h" >&5 | 6527 echo "configure:6528: checking for gif_lib.h" >&5 |
6471 | 6528 |
6472 cat > conftest.$ac_ext <<EOF | 6529 cat > conftest.$ac_ext <<EOF |
6473 #line 6474 "configure" | 6530 #line 6531 "configure" |
6474 #include "confdefs.h" | 6531 #include "confdefs.h" |
6475 #include <gif_lib.h> | 6532 #include <gif_lib.h> |
6476 EOF | 6533 EOF |
6477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6478 { (eval echo configure:6479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6535 { (eval echo configure:6536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6479 ac_err=`grep -v '^ *+' conftest.out` | 6536 ac_err=`grep -v '^ *+' conftest.out` |
6480 if test -z "$ac_err"; then | 6537 if test -z "$ac_err"; then |
6481 rm -rf conftest* | 6538 rm -rf conftest* |
6482 eval "ac_cv_header_$ac_safe=yes" | 6539 eval "ac_cv_header_$ac_safe=yes" |
6483 else | 6540 else |
6496 with_gif=no | 6553 with_gif=no |
6497 fi | 6554 fi |
6498 } | 6555 } |
6499 test -z "$with_gif" && { | 6556 test -z "$with_gif" && { |
6500 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 | 6557 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 |
6501 echo "configure:6502: checking for GetGifError in -lgif" >&5 | 6558 echo "configure:6559: checking for GetGifError in -lgif" >&5 |
6502 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` | 6559 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` |
6503 | 6560 |
6504 xe_check_libs=" -lgif " | 6561 xe_check_libs=" -lgif " |
6505 cat > conftest.$ac_ext <<EOF | 6562 cat > conftest.$ac_ext <<EOF |
6506 #line 6507 "configure" | 6563 #line 6564 "configure" |
6507 #include "confdefs.h" | 6564 #include "confdefs.h" |
6508 /* Override any gcc2 internal prototype to avoid an error. */ | 6565 /* Override any gcc2 internal prototype to avoid an error. */ |
6509 /* We use char because int might match the return type of a gcc2 | 6566 /* We use char because int might match the return type of a gcc2 |
6510 builtin and then its argument prototype would still apply. */ | 6567 builtin and then its argument prototype would still apply. */ |
6511 char GetGifError(); | 6568 char GetGifError(); |
6512 | 6569 |
6513 int main() { | 6570 int main() { |
6514 GetGifError() | 6571 GetGifError() |
6515 ; return 0; } | 6572 ; return 0; } |
6516 EOF | 6573 EOF |
6517 if { (eval echo configure:6518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6574 if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6518 rm -rf conftest* | 6575 rm -rf conftest* |
6519 eval "ac_cv_lib_$ac_lib_var=yes" | 6576 eval "ac_cv_lib_$ac_lib_var=yes" |
6520 else | 6577 else |
6521 echo "configure: failed program was:" >&5 | 6578 echo "configure: failed program was:" >&5 |
6522 cat conftest.$ac_ext >&5 | 6579 cat conftest.$ac_ext >&5 |
6548 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi | 6605 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi |
6549 fi | 6606 fi |
6550 | 6607 |
6551 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6608 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6552 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6609 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6553 echo "configure:6554: checking for jpeglib.h" >&5 | 6610 echo "configure:6611: checking for jpeglib.h" >&5 |
6554 | 6611 |
6555 cat > conftest.$ac_ext <<EOF | 6612 cat > conftest.$ac_ext <<EOF |
6556 #line 6557 "configure" | 6613 #line 6614 "configure" |
6557 #include "confdefs.h" | 6614 #include "confdefs.h" |
6558 #include <jpeglib.h> | 6615 #include <jpeglib.h> |
6559 EOF | 6616 EOF |
6560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6561 { (eval echo configure:6562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6618 { (eval echo configure:6619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6562 ac_err=`grep -v '^ *+' conftest.out` | 6619 ac_err=`grep -v '^ *+' conftest.out` |
6563 if test -z "$ac_err"; then | 6620 if test -z "$ac_err"; then |
6564 rm -rf conftest* | 6621 rm -rf conftest* |
6565 eval "ac_cv_header_$ac_safe=yes" | 6622 eval "ac_cv_header_$ac_safe=yes" |
6566 else | 6623 else |
6579 with_jpeg=no | 6636 with_jpeg=no |
6580 fi | 6637 fi |
6581 } | 6638 } |
6582 test -z "$with_jpeg" && { | 6639 test -z "$with_jpeg" && { |
6583 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6640 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6584 echo "configure:6585: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6641 echo "configure:6642: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6585 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6642 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6586 | 6643 |
6587 xe_check_libs=" -ljpeg " | 6644 xe_check_libs=" -ljpeg " |
6588 cat > conftest.$ac_ext <<EOF | 6645 cat > conftest.$ac_ext <<EOF |
6589 #line 6590 "configure" | 6646 #line 6647 "configure" |
6590 #include "confdefs.h" | 6647 #include "confdefs.h" |
6591 /* Override any gcc2 internal prototype to avoid an error. */ | 6648 /* Override any gcc2 internal prototype to avoid an error. */ |
6592 /* We use char because int might match the return type of a gcc2 | 6649 /* We use char because int might match the return type of a gcc2 |
6593 builtin and then its argument prototype would still apply. */ | 6650 builtin and then its argument prototype would still apply. */ |
6594 char jpeg_destroy_decompress(); | 6651 char jpeg_destroy_decompress(); |
6595 | 6652 |
6596 int main() { | 6653 int main() { |
6597 jpeg_destroy_decompress() | 6654 jpeg_destroy_decompress() |
6598 ; return 0; } | 6655 ; return 0; } |
6599 EOF | 6656 EOF |
6600 if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6657 if { (eval echo configure:6658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6601 rm -rf conftest* | 6658 rm -rf conftest* |
6602 eval "ac_cv_lib_$ac_lib_var=yes" | 6659 eval "ac_cv_lib_$ac_lib_var=yes" |
6603 else | 6660 else |
6604 echo "configure: failed program was:" >&5 | 6661 echo "configure: failed program was:" >&5 |
6605 cat conftest.$ac_ext >&5 | 6662 cat conftest.$ac_ext >&5 |
6631 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6688 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6632 fi | 6689 fi |
6633 | 6690 |
6634 if test -z "$with_png"; then | 6691 if test -z "$with_png"; then |
6635 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 | 6692 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 |
6636 echo "configure:6637: checking for png.h - no older than 0.96" >&5 | 6693 echo "configure:6694: checking for png.h - no older than 0.96" >&5 |
6637 cat > conftest.$ac_ext <<EOF | 6694 cat > conftest.$ac_ext <<EOF |
6638 #line 6639 "configure" | 6695 #line 6696 "configure" |
6639 #include "confdefs.h" | 6696 #include "confdefs.h" |
6640 #include <png.h> | 6697 #include <png.h> |
6641 #if PNG_LIBPNG_VER >= 96 | 6698 #if PNG_LIBPNG_VER >= 96 |
6642 yes | 6699 yes |
6643 #endif | 6700 #endif |
6647 egrep "yes" >/dev/null 2>&1; then | 6704 egrep "yes" >/dev/null 2>&1; then |
6648 rm -rf conftest* | 6705 rm -rf conftest* |
6649 echo "$ac_t""yes" 1>&6 | 6706 echo "$ac_t""yes" 1>&6 |
6650 else | 6707 else |
6651 rm -rf conftest* | 6708 rm -rf conftest* |
6652 echo "$ac_t""no" 1>&6; have_png=no | 6709 echo "$ac_t""no" 1>&6; with_png=no |
6653 fi | 6710 fi |
6654 rm -f conftest* | 6711 rm -f conftest* |
6655 | 6712 |
6656 fi | 6713 fi |
6657 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6714 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6658 echo "configure:6659: checking for pow" >&5 | 6715 echo "configure:6716: checking for pow" >&5 |
6659 | 6716 |
6660 cat > conftest.$ac_ext <<EOF | 6717 cat > conftest.$ac_ext <<EOF |
6661 #line 6662 "configure" | 6718 #line 6719 "configure" |
6662 #include "confdefs.h" | 6719 #include "confdefs.h" |
6663 /* System header to define __stub macros and hopefully few prototypes, | 6720 /* System header to define __stub macros and hopefully few prototypes, |
6664 which can conflict with char pow(); below. */ | 6721 which can conflict with char pow(); below. */ |
6665 #include <assert.h> | 6722 #include <assert.h> |
6666 /* Override any gcc2 internal prototype to avoid an error. */ | 6723 /* Override any gcc2 internal prototype to avoid an error. */ |
6679 pow(); | 6736 pow(); |
6680 #endif | 6737 #endif |
6681 | 6738 |
6682 ; return 0; } | 6739 ; return 0; } |
6683 EOF | 6740 EOF |
6684 if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6741 if { (eval echo configure:6742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6685 rm -rf conftest* | 6742 rm -rf conftest* |
6686 eval "ac_cv_func_pow=yes" | 6743 eval "ac_cv_func_pow=yes" |
6687 else | 6744 else |
6688 echo "configure: failed program was:" >&5 | 6745 echo "configure: failed program was:" >&5 |
6689 cat conftest.$ac_ext >&5 | 6746 cat conftest.$ac_ext >&5 |
6700 with_png=no | 6757 with_png=no |
6701 fi | 6758 fi |
6702 } | 6759 } |
6703 test -z "$with_png" && { | 6760 test -z "$with_png" && { |
6704 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6761 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6705 echo "configure:6706: checking for png_read_image in -lpng" >&5 | 6762 echo "configure:6763: checking for png_read_image in -lpng" >&5 |
6706 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6763 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6707 | 6764 |
6708 xe_check_libs=" -lpng " | 6765 xe_check_libs=" -lpng " |
6709 cat > conftest.$ac_ext <<EOF | 6766 cat > conftest.$ac_ext <<EOF |
6710 #line 6711 "configure" | 6767 #line 6768 "configure" |
6711 #include "confdefs.h" | 6768 #include "confdefs.h" |
6712 /* Override any gcc2 internal prototype to avoid an error. */ | 6769 /* Override any gcc2 internal prototype to avoid an error. */ |
6713 /* We use char because int might match the return type of a gcc2 | 6770 /* We use char because int might match the return type of a gcc2 |
6714 builtin and then its argument prototype would still apply. */ | 6771 builtin and then its argument prototype would still apply. */ |
6715 char png_read_image(); | 6772 char png_read_image(); |
6716 | 6773 |
6717 int main() { | 6774 int main() { |
6718 png_read_image() | 6775 png_read_image() |
6719 ; return 0; } | 6776 ; return 0; } |
6720 EOF | 6777 EOF |
6721 if { (eval echo configure:6722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6778 if { (eval echo configure:6779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6722 rm -rf conftest* | 6779 rm -rf conftest* |
6723 eval "ac_cv_lib_$ac_lib_var=yes" | 6780 eval "ac_cv_lib_$ac_lib_var=yes" |
6724 else | 6781 else |
6725 echo "configure: failed program was:" >&5 | 6782 echo "configure: failed program was:" >&5 |
6726 cat conftest.$ac_ext >&5 | 6783 cat conftest.$ac_ext >&5 |
6752 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6809 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6753 fi | 6810 fi |
6754 | 6811 |
6755 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6812 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6756 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6813 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6757 echo "configure:6758: checking for tiffio.h" >&5 | 6814 echo "configure:6815: checking for tiffio.h" >&5 |
6758 | 6815 |
6759 cat > conftest.$ac_ext <<EOF | 6816 cat > conftest.$ac_ext <<EOF |
6760 #line 6761 "configure" | 6817 #line 6818 "configure" |
6761 #include "confdefs.h" | 6818 #include "confdefs.h" |
6762 #include <tiffio.h> | 6819 #include <tiffio.h> |
6763 EOF | 6820 EOF |
6764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6765 { (eval echo configure:6766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6822 { (eval echo configure:6823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6766 ac_err=`grep -v '^ *+' conftest.out` | 6823 ac_err=`grep -v '^ *+' conftest.out` |
6767 if test -z "$ac_err"; then | 6824 if test -z "$ac_err"; then |
6768 rm -rf conftest* | 6825 rm -rf conftest* |
6769 eval "ac_cv_header_$ac_safe=yes" | 6826 eval "ac_cv_header_$ac_safe=yes" |
6770 else | 6827 else |
6783 with_tiff=no | 6840 with_tiff=no |
6784 fi | 6841 fi |
6785 } | 6842 } |
6786 test -z "$with_tiff" && { | 6843 test -z "$with_tiff" && { |
6787 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 | 6844 echo $ac_n "checking for TIFFReadScanline in -ltiff""... $ac_c" 1>&6 |
6788 echo "configure:6789: checking for TIFFReadScanline in -ltiff" >&5 | 6845 echo "configure:6846: checking for TIFFReadScanline in -ltiff" >&5 |
6789 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6846 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
6790 | 6847 |
6791 xe_check_libs=" -ltiff " | 6848 xe_check_libs=" -ltiff " |
6792 cat > conftest.$ac_ext <<EOF | 6849 cat > conftest.$ac_ext <<EOF |
6793 #line 6794 "configure" | 6850 #line 6851 "configure" |
6794 #include "confdefs.h" | 6851 #include "confdefs.h" |
6795 /* Override any gcc2 internal prototype to avoid an error. */ | 6852 /* Override any gcc2 internal prototype to avoid an error. */ |
6796 /* We use char because int might match the return type of a gcc2 | 6853 /* We use char because int might match the return type of a gcc2 |
6797 builtin and then its argument prototype would still apply. */ | 6854 builtin and then its argument prototype would still apply. */ |
6798 char TIFFReadScanline(); | 6855 char TIFFReadScanline(); |
6799 | 6856 |
6800 int main() { | 6857 int main() { |
6801 TIFFReadScanline() | 6858 TIFFReadScanline() |
6802 ; return 0; } | 6859 ; return 0; } |
6803 EOF | 6860 EOF |
6804 if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6861 if { (eval echo configure:6862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6805 rm -rf conftest* | 6862 rm -rf conftest* |
6806 eval "ac_cv_lib_$ac_lib_var=yes" | 6863 eval "ac_cv_lib_$ac_lib_var=yes" |
6807 else | 6864 else |
6808 echo "configure: failed program was:" >&5 | 6865 echo "configure: failed program was:" >&5 |
6809 cat conftest.$ac_ext >&5 | 6866 cat conftest.$ac_ext >&5 |
6835 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6892 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
6836 fi | 6893 fi |
6837 | 6894 |
6838 | 6895 |
6839 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6896 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
6840 echo "configure:6841: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6897 echo "configure:6898: checking for XawScrollbarSetThumb in -lXaw" >&5 |
6841 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6898 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
6842 | 6899 |
6843 xe_check_libs=" -lXaw " | 6900 xe_check_libs=" -lXaw " |
6844 cat > conftest.$ac_ext <<EOF | 6901 cat > conftest.$ac_ext <<EOF |
6845 #line 6846 "configure" | 6902 #line 6903 "configure" |
6846 #include "confdefs.h" | 6903 #include "confdefs.h" |
6847 /* Override any gcc2 internal prototype to avoid an error. */ | 6904 /* Override any gcc2 internal prototype to avoid an error. */ |
6848 /* We use char because int might match the return type of a gcc2 | 6905 /* We use char because int might match the return type of a gcc2 |
6849 builtin and then its argument prototype would still apply. */ | 6906 builtin and then its argument prototype would still apply. */ |
6850 char XawScrollbarSetThumb(); | 6907 char XawScrollbarSetThumb(); |
6851 | 6908 |
6852 int main() { | 6909 int main() { |
6853 XawScrollbarSetThumb() | 6910 XawScrollbarSetThumb() |
6854 ; return 0; } | 6911 ; return 0; } |
6855 EOF | 6912 EOF |
6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6913 if { (eval echo configure:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6857 rm -rf conftest* | 6914 rm -rf conftest* |
6858 eval "ac_cv_lib_$ac_lib_var=yes" | 6915 eval "ac_cv_lib_$ac_lib_var=yes" |
6859 else | 6916 else |
6860 echo "configure: failed program was:" >&5 | 6917 echo "configure: failed program was:" >&5 |
6861 cat conftest.$ac_ext >&5 | 6918 cat conftest.$ac_ext >&5 |
6875 | 6932 |
6876 | 6933 |
6877 | 6934 |
6878 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6935 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6879 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6936 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6880 echo "configure:6881: checking for Xm/Xm.h" >&5 | 6937 echo "configure:6938: checking for Xm/Xm.h" >&5 |
6881 | 6938 |
6882 cat > conftest.$ac_ext <<EOF | 6939 cat > conftest.$ac_ext <<EOF |
6883 #line 6884 "configure" | 6940 #line 6941 "configure" |
6884 #include "confdefs.h" | 6941 #include "confdefs.h" |
6885 #include <Xm/Xm.h> | 6942 #include <Xm/Xm.h> |
6886 EOF | 6943 EOF |
6887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6888 { (eval echo configure:6889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6945 { (eval echo configure:6946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6889 ac_err=`grep -v '^ *+' conftest.out` | 6946 ac_err=`grep -v '^ *+' conftest.out` |
6890 if test -z "$ac_err"; then | 6947 if test -z "$ac_err"; then |
6891 rm -rf conftest* | 6948 rm -rf conftest* |
6892 eval "ac_cv_header_$ac_safe=yes" | 6949 eval "ac_cv_header_$ac_safe=yes" |
6893 else | 6950 else |
6900 rm -f conftest* | 6957 rm -f conftest* |
6901 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6958 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6902 echo "$ac_t""yes" 1>&6 | 6959 echo "$ac_t""yes" 1>&6 |
6903 | 6960 |
6904 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6961 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6905 echo "configure:6906: checking for XmStringFree in -lXm" >&5 | 6962 echo "configure:6963: checking for XmStringFree in -lXm" >&5 |
6906 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6963 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6907 | 6964 |
6908 xe_check_libs=" -lXm " | 6965 xe_check_libs=" -lXm " |
6909 cat > conftest.$ac_ext <<EOF | 6966 cat > conftest.$ac_ext <<EOF |
6910 #line 6911 "configure" | 6967 #line 6968 "configure" |
6911 #include "confdefs.h" | 6968 #include "confdefs.h" |
6912 /* Override any gcc2 internal prototype to avoid an error. */ | 6969 /* Override any gcc2 internal prototype to avoid an error. */ |
6913 /* We use char because int might match the return type of a gcc2 | 6970 /* We use char because int might match the return type of a gcc2 |
6914 builtin and then its argument prototype would still apply. */ | 6971 builtin and then its argument prototype would still apply. */ |
6915 char XmStringFree(); | 6972 char XmStringFree(); |
6916 | 6973 |
6917 int main() { | 6974 int main() { |
6918 XmStringFree() | 6975 XmStringFree() |
6919 ; return 0; } | 6976 ; return 0; } |
6920 EOF | 6977 EOF |
6921 if { (eval echo configure:6922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6978 if { (eval echo configure:6979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6922 rm -rf conftest* | 6979 rm -rf conftest* |
6923 eval "ac_cv_lib_$ac_lib_var=yes" | 6980 eval "ac_cv_lib_$ac_lib_var=yes" |
6924 else | 6981 else |
6925 echo "configure: failed program was:" >&5 | 6982 echo "configure: failed program was:" >&5 |
6926 cat conftest.$ac_ext >&5 | 6983 cat conftest.$ac_ext >&5 |
6945 fi | 7002 fi |
6946 | 7003 |
6947 | 7004 |
6948 if test "$have_motif" = "yes"; then | 7005 if test "$have_motif" = "yes"; then |
6949 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7006 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
6950 echo "configure:6951: checking for Lesstif" >&5 | 7007 echo "configure:7008: checking for Lesstif" >&5 |
6951 cat > conftest.$ac_ext <<EOF | 7008 cat > conftest.$ac_ext <<EOF |
6952 #line 6953 "configure" | 7009 #line 7010 "configure" |
6953 #include "confdefs.h" | 7010 #include "confdefs.h" |
6954 #include <Xm/Xm.h> | 7011 #include <Xm/Xm.h> |
6955 #ifdef LESSTIF_VERSION | 7012 #ifdef LESSTIF_VERSION |
6956 yes | 7013 yes |
6957 #endif | 7014 #endif |
7231 fi | 7288 fi |
7232 fi | 7289 fi |
7233 | 7290 |
7234 if test "$with_mule" = "yes" ; then | 7291 if test "$with_mule" = "yes" ; then |
7235 echo "checking for Mule-related features" 1>&6 | 7292 echo "checking for Mule-related features" 1>&6 |
7236 echo "configure:7237: checking for Mule-related features" >&5 | 7293 echo "configure:7294: checking for Mule-related features" >&5 |
7237 { test "$extra_verbose" = "yes" && cat << \EOF | 7294 { test "$extra_verbose" = "yes" && cat << \EOF |
7238 Defining MULE | 7295 Defining MULE |
7239 EOF | 7296 EOF |
7240 cat >> confdefs.h <<\EOF | 7297 cat >> confdefs.h <<\EOF |
7241 #define MULE 1 | 7298 #define MULE 1 |
7256 | 7313 |
7257 for ac_hdr in libintl.h | 7314 for ac_hdr in libintl.h |
7258 do | 7315 do |
7259 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7316 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7260 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7317 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7261 echo "configure:7262: checking for $ac_hdr" >&5 | 7318 echo "configure:7319: checking for $ac_hdr" >&5 |
7262 | 7319 |
7263 cat > conftest.$ac_ext <<EOF | 7320 cat > conftest.$ac_ext <<EOF |
7264 #line 7265 "configure" | 7321 #line 7322 "configure" |
7265 #include "confdefs.h" | 7322 #include "confdefs.h" |
7266 #include <$ac_hdr> | 7323 #include <$ac_hdr> |
7267 EOF | 7324 EOF |
7268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7269 { (eval echo configure:7270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7326 { (eval echo configure:7327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7270 ac_err=`grep -v '^ *+' conftest.out` | 7327 ac_err=`grep -v '^ *+' conftest.out` |
7271 if test -z "$ac_err"; then | 7328 if test -z "$ac_err"; then |
7272 rm -rf conftest* | 7329 rm -rf conftest* |
7273 eval "ac_cv_header_$ac_safe=yes" | 7330 eval "ac_cv_header_$ac_safe=yes" |
7274 else | 7331 else |
7295 fi | 7352 fi |
7296 done | 7353 done |
7297 | 7354 |
7298 | 7355 |
7299 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7356 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7300 echo "configure:7301: checking for strerror in -lintl" >&5 | 7357 echo "configure:7358: checking for strerror in -lintl" >&5 |
7301 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7358 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7302 | 7359 |
7303 xe_check_libs=" -lintl " | 7360 xe_check_libs=" -lintl " |
7304 cat > conftest.$ac_ext <<EOF | 7361 cat > conftest.$ac_ext <<EOF |
7305 #line 7306 "configure" | 7362 #line 7363 "configure" |
7306 #include "confdefs.h" | 7363 #include "confdefs.h" |
7307 /* Override any gcc2 internal prototype to avoid an error. */ | 7364 /* Override any gcc2 internal prototype to avoid an error. */ |
7308 /* We use char because int might match the return type of a gcc2 | 7365 /* We use char because int might match the return type of a gcc2 |
7309 builtin and then its argument prototype would still apply. */ | 7366 builtin and then its argument prototype would still apply. */ |
7310 char strerror(); | 7367 char strerror(); |
7311 | 7368 |
7312 int main() { | 7369 int main() { |
7313 strerror() | 7370 strerror() |
7314 ; return 0; } | 7371 ; return 0; } |
7315 EOF | 7372 EOF |
7316 if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7373 if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7317 rm -rf conftest* | 7374 rm -rf conftest* |
7318 eval "ac_cv_lib_$ac_lib_var=yes" | 7375 eval "ac_cv_lib_$ac_lib_var=yes" |
7319 else | 7376 else |
7320 echo "configure: failed program was:" >&5 | 7377 echo "configure: failed program was:" >&5 |
7321 cat conftest.$ac_ext >&5 | 7378 cat conftest.$ac_ext >&5 |
7344 fi | 7401 fi |
7345 | 7402 |
7346 | 7403 |
7347 | 7404 |
7348 echo "checking for Mule input methods" 1>&6 | 7405 echo "checking for Mule input methods" 1>&6 |
7349 echo "configure:7350: checking for Mule input methods" >&5 | 7406 echo "configure:7407: checking for Mule input methods" >&5 |
7350 case "$with_xim" in "" | "yes" ) | 7407 case "$with_xim" in "" | "yes" ) |
7351 echo "checking for XIM" 1>&6 | 7408 echo "checking for XIM" 1>&6 |
7352 echo "configure:7353: checking for XIM" >&5 | 7409 echo "configure:7410: checking for XIM" >&5 |
7353 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7410 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7354 else | 7411 else |
7355 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7412 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7356 echo "configure:7357: checking for XmImMbLookupString in -lXm" >&5 | 7413 echo "configure:7414: checking for XmImMbLookupString in -lXm" >&5 |
7357 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7414 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7358 | 7415 |
7359 xe_check_libs=" -lXm " | 7416 xe_check_libs=" -lXm " |
7360 cat > conftest.$ac_ext <<EOF | 7417 cat > conftest.$ac_ext <<EOF |
7361 #line 7362 "configure" | 7418 #line 7419 "configure" |
7362 #include "confdefs.h" | 7419 #include "confdefs.h" |
7363 /* Override any gcc2 internal prototype to avoid an error. */ | 7420 /* Override any gcc2 internal prototype to avoid an error. */ |
7364 /* We use char because int might match the return type of a gcc2 | 7421 /* We use char because int might match the return type of a gcc2 |
7365 builtin and then its argument prototype would still apply. */ | 7422 builtin and then its argument prototype would still apply. */ |
7366 char XmImMbLookupString(); | 7423 char XmImMbLookupString(); |
7367 | 7424 |
7368 int main() { | 7425 int main() { |
7369 XmImMbLookupString() | 7426 XmImMbLookupString() |
7370 ; return 0; } | 7427 ; return 0; } |
7371 EOF | 7428 EOF |
7372 if { (eval echo configure:7373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7373 rm -rf conftest* | 7430 rm -rf conftest* |
7374 eval "ac_cv_lib_$ac_lib_var=yes" | 7431 eval "ac_cv_lib_$ac_lib_var=yes" |
7375 else | 7432 else |
7376 echo "configure: failed program was:" >&5 | 7433 echo "configure: failed program was:" >&5 |
7377 cat conftest.$ac_ext >&5 | 7434 cat conftest.$ac_ext >&5 |
7433 fi | 7490 fi |
7434 fi | 7491 fi |
7435 | 7492 |
7436 if test "$with_xfs" = "yes" ; then | 7493 if test "$with_xfs" = "yes" ; then |
7437 echo "checking for XFontSet" 1>&6 | 7494 echo "checking for XFontSet" 1>&6 |
7438 echo "configure:7439: checking for XFontSet" >&5 | 7495 echo "configure:7496: checking for XFontSet" >&5 |
7439 | 7496 |
7440 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7497 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7441 echo "configure:7442: checking for XmbDrawString in -lX11" >&5 | 7498 echo "configure:7499: checking for XmbDrawString in -lX11" >&5 |
7442 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7499 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7443 | 7500 |
7444 xe_check_libs=" -lX11 " | 7501 xe_check_libs=" -lX11 " |
7445 cat > conftest.$ac_ext <<EOF | 7502 cat > conftest.$ac_ext <<EOF |
7446 #line 7447 "configure" | 7503 #line 7504 "configure" |
7447 #include "confdefs.h" | 7504 #include "confdefs.h" |
7448 /* Override any gcc2 internal prototype to avoid an error. */ | 7505 /* Override any gcc2 internal prototype to avoid an error. */ |
7449 /* We use char because int might match the return type of a gcc2 | 7506 /* We use char because int might match the return type of a gcc2 |
7450 builtin and then its argument prototype would still apply. */ | 7507 builtin and then its argument prototype would still apply. */ |
7451 char XmbDrawString(); | 7508 char XmbDrawString(); |
7452 | 7509 |
7453 int main() { | 7510 int main() { |
7454 XmbDrawString() | 7511 XmbDrawString() |
7455 ; return 0; } | 7512 ; return 0; } |
7456 EOF | 7513 EOF |
7457 if { (eval echo configure:7458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7514 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7458 rm -rf conftest* | 7515 rm -rf conftest* |
7459 eval "ac_cv_lib_$ac_lib_var=yes" | 7516 eval "ac_cv_lib_$ac_lib_var=yes" |
7460 else | 7517 else |
7461 echo "configure: failed program was:" >&5 | 7518 echo "configure: failed program was:" >&5 |
7462 cat conftest.$ac_ext >&5 | 7519 cat conftest.$ac_ext >&5 |
7492 fi | 7549 fi |
7493 fi | 7550 fi |
7494 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7551 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7495 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7552 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7496 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7553 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7497 echo "configure:7498: checking for wnn/jllib.h" >&5 | 7554 echo "configure:7555: checking for wnn/jllib.h" >&5 |
7498 | 7555 |
7499 cat > conftest.$ac_ext <<EOF | 7556 cat > conftest.$ac_ext <<EOF |
7500 #line 7501 "configure" | 7557 #line 7558 "configure" |
7501 #include "confdefs.h" | 7558 #include "confdefs.h" |
7502 #include <wnn/jllib.h> | 7559 #include <wnn/jllib.h> |
7503 EOF | 7560 EOF |
7504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7505 { (eval echo configure:7506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7562 { (eval echo configure:7563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7506 ac_err=`grep -v '^ *+' conftest.out` | 7563 ac_err=`grep -v '^ *+' conftest.out` |
7507 if test -z "$ac_err"; then | 7564 if test -z "$ac_err"; then |
7508 rm -rf conftest* | 7565 rm -rf conftest* |
7509 eval "ac_cv_header_$ac_safe=yes" | 7566 eval "ac_cv_header_$ac_safe=yes" |
7510 else | 7567 else |
7525 } | 7582 } |
7526 if test "$with_wnn" != "no"; then | 7583 if test "$with_wnn" != "no"; then |
7527 for ac_func in crypt | 7584 for ac_func in crypt |
7528 do | 7585 do |
7529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7530 echo "configure:7531: checking for $ac_func" >&5 | 7587 echo "configure:7588: checking for $ac_func" >&5 |
7531 | 7588 |
7532 cat > conftest.$ac_ext <<EOF | 7589 cat > conftest.$ac_ext <<EOF |
7533 #line 7534 "configure" | 7590 #line 7591 "configure" |
7534 #include "confdefs.h" | 7591 #include "confdefs.h" |
7535 /* System header to define __stub macros and hopefully few prototypes, | 7592 /* System header to define __stub macros and hopefully few prototypes, |
7536 which can conflict with char $ac_func(); below. */ | 7593 which can conflict with char $ac_func(); below. */ |
7537 #include <assert.h> | 7594 #include <assert.h> |
7538 /* Override any gcc2 internal prototype to avoid an error. */ | 7595 /* Override any gcc2 internal prototype to avoid an error. */ |
7551 $ac_func(); | 7608 $ac_func(); |
7552 #endif | 7609 #endif |
7553 | 7610 |
7554 ; return 0; } | 7611 ; return 0; } |
7555 EOF | 7612 EOF |
7556 if { (eval echo configure:7557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7613 if { (eval echo configure:7614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7557 rm -rf conftest* | 7614 rm -rf conftest* |
7558 eval "ac_cv_func_$ac_func=yes" | 7615 eval "ac_cv_func_$ac_func=yes" |
7559 else | 7616 else |
7560 echo "configure: failed program was:" >&5 | 7617 echo "configure: failed program was:" >&5 |
7561 cat conftest.$ac_ext >&5 | 7618 cat conftest.$ac_ext >&5 |
7580 fi | 7637 fi |
7581 done | 7638 done |
7582 | 7639 |
7583 test "$ac_cv_func_crypt" != "yes" && { | 7640 test "$ac_cv_func_crypt" != "yes" && { |
7584 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7641 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7585 echo "configure:7586: checking for crypt in -lcrypt" >&5 | 7642 echo "configure:7643: checking for crypt in -lcrypt" >&5 |
7586 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7643 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7587 | 7644 |
7588 xe_check_libs=" -lcrypt " | 7645 xe_check_libs=" -lcrypt " |
7589 cat > conftest.$ac_ext <<EOF | 7646 cat > conftest.$ac_ext <<EOF |
7590 #line 7591 "configure" | 7647 #line 7648 "configure" |
7591 #include "confdefs.h" | 7648 #include "confdefs.h" |
7592 /* Override any gcc2 internal prototype to avoid an error. */ | 7649 /* Override any gcc2 internal prototype to avoid an error. */ |
7593 /* We use char because int might match the return type of a gcc2 | 7650 /* We use char because int might match the return type of a gcc2 |
7594 builtin and then its argument prototype would still apply. */ | 7651 builtin and then its argument prototype would still apply. */ |
7595 char crypt(); | 7652 char crypt(); |
7596 | 7653 |
7597 int main() { | 7654 int main() { |
7598 crypt() | 7655 crypt() |
7599 ; return 0; } | 7656 ; return 0; } |
7600 EOF | 7657 EOF |
7601 if { (eval echo configure:7602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7658 if { (eval echo configure:7659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7602 rm -rf conftest* | 7659 rm -rf conftest* |
7603 eval "ac_cv_lib_$ac_lib_var=yes" | 7660 eval "ac_cv_lib_$ac_lib_var=yes" |
7604 else | 7661 else |
7605 echo "configure: failed program was:" >&5 | 7662 echo "configure: failed program was:" >&5 |
7606 cat conftest.$ac_ext >&5 | 7663 cat conftest.$ac_ext >&5 |
7630 | 7687 |
7631 } | 7688 } |
7632 fi | 7689 fi |
7633 test -z "$with_wnn" && { | 7690 test -z "$with_wnn" && { |
7634 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7691 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7635 echo "configure:7636: checking for jl_dic_list_e in -lwnn" >&5 | 7692 echo "configure:7693: checking for jl_dic_list_e in -lwnn" >&5 |
7636 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7693 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7637 | 7694 |
7638 xe_check_libs=" -lwnn " | 7695 xe_check_libs=" -lwnn " |
7639 cat > conftest.$ac_ext <<EOF | 7696 cat > conftest.$ac_ext <<EOF |
7640 #line 7641 "configure" | 7697 #line 7698 "configure" |
7641 #include "confdefs.h" | 7698 #include "confdefs.h" |
7642 /* Override any gcc2 internal prototype to avoid an error. */ | 7699 /* Override any gcc2 internal prototype to avoid an error. */ |
7643 /* We use char because int might match the return type of a gcc2 | 7700 /* We use char because int might match the return type of a gcc2 |
7644 builtin and then its argument prototype would still apply. */ | 7701 builtin and then its argument prototype would still apply. */ |
7645 char jl_dic_list_e(); | 7702 char jl_dic_list_e(); |
7646 | 7703 |
7647 int main() { | 7704 int main() { |
7648 jl_dic_list_e() | 7705 jl_dic_list_e() |
7649 ; return 0; } | 7706 ; return 0; } |
7650 EOF | 7707 EOF |
7651 if { (eval echo configure:7652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7708 if { (eval echo configure:7709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7652 rm -rf conftest* | 7709 rm -rf conftest* |
7653 eval "ac_cv_lib_$ac_lib_var=yes" | 7710 eval "ac_cv_lib_$ac_lib_var=yes" |
7654 else | 7711 else |
7655 echo "configure: failed program was:" >&5 | 7712 echo "configure: failed program was:" >&5 |
7656 cat conftest.$ac_ext >&5 | 7713 cat conftest.$ac_ext >&5 |
7683 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7740 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7684 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7741 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7685 fi | 7742 fi |
7686 | 7743 |
7687 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7744 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7688 echo "configure:7689: checking for jl_fi_dic_list in -lwnn" >&5 | 7745 echo "configure:7746: checking for jl_fi_dic_list in -lwnn" >&5 |
7689 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7746 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7690 | 7747 |
7691 xe_check_libs=" -lwnn " | 7748 xe_check_libs=" -lwnn " |
7692 cat > conftest.$ac_ext <<EOF | 7749 cat > conftest.$ac_ext <<EOF |
7693 #line 7694 "configure" | 7750 #line 7751 "configure" |
7694 #include "confdefs.h" | 7751 #include "confdefs.h" |
7695 /* Override any gcc2 internal prototype to avoid an error. */ | 7752 /* Override any gcc2 internal prototype to avoid an error. */ |
7696 /* We use char because int might match the return type of a gcc2 | 7753 /* We use char because int might match the return type of a gcc2 |
7697 builtin and then its argument prototype would still apply. */ | 7754 builtin and then its argument prototype would still apply. */ |
7698 char jl_fi_dic_list(); | 7755 char jl_fi_dic_list(); |
7699 | 7756 |
7700 int main() { | 7757 int main() { |
7701 jl_fi_dic_list() | 7758 jl_fi_dic_list() |
7702 ; return 0; } | 7759 ; return 0; } |
7703 EOF | 7760 EOF |
7704 if { (eval echo configure:7705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7761 if { (eval echo configure:7762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7705 rm -rf conftest* | 7762 rm -rf conftest* |
7706 eval "ac_cv_lib_$ac_lib_var=yes" | 7763 eval "ac_cv_lib_$ac_lib_var=yes" |
7707 else | 7764 else |
7708 echo "configure: failed program was:" >&5 | 7765 echo "configure: failed program was:" >&5 |
7709 cat conftest.$ac_ext >&5 | 7766 cat conftest.$ac_ext >&5 |
7733 | 7790 |
7734 canna_includes_found=no | 7791 canna_includes_found=no |
7735 if test "$with_canna" != "no"; then | 7792 if test "$with_canna" != "no"; then |
7736 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7793 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7737 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7794 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7738 echo "configure:7739: checking for canna/jrkanji.h" >&5 | 7795 echo "configure:7796: checking for canna/jrkanji.h" >&5 |
7739 | 7796 |
7740 cat > conftest.$ac_ext <<EOF | 7797 cat > conftest.$ac_ext <<EOF |
7741 #line 7742 "configure" | 7798 #line 7799 "configure" |
7742 #include "confdefs.h" | 7799 #include "confdefs.h" |
7743 #include <canna/jrkanji.h> | 7800 #include <canna/jrkanji.h> |
7744 EOF | 7801 EOF |
7745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7746 { (eval echo configure:7747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7803 { (eval echo configure:7804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7747 ac_err=`grep -v '^ *+' conftest.out` | 7804 ac_err=`grep -v '^ *+' conftest.out` |
7748 if test -z "$ac_err"; then | 7805 if test -z "$ac_err"; then |
7749 rm -rf conftest* | 7806 rm -rf conftest* |
7750 eval "ac_cv_header_$ac_safe=yes" | 7807 eval "ac_cv_header_$ac_safe=yes" |
7751 else | 7808 else |
7768 -d "/usr/local/canna/include"; then | 7825 -d "/usr/local/canna/include"; then |
7769 save_c_switch_site="$c_switch_site" | 7826 save_c_switch_site="$c_switch_site" |
7770 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 7827 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
7771 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 7828 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
7772 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 7829 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
7773 echo "configure:7774: checking for canna/jrkanji.h" >&5 | 7830 echo "configure:7831: checking for canna/jrkanji.h" >&5 |
7774 | 7831 |
7775 cat > conftest.$ac_ext <<EOF | 7832 cat > conftest.$ac_ext <<EOF |
7776 #line 7777 "configure" | 7833 #line 7834 "configure" |
7777 #include "confdefs.h" | 7834 #include "confdefs.h" |
7778 #include <canna/jrkanji.h> | 7835 #include <canna/jrkanji.h> |
7779 EOF | 7836 EOF |
7780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7781 { (eval echo configure:7782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7838 { (eval echo configure:7839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7782 ac_err=`grep -v '^ *+' conftest.out` | 7839 ac_err=`grep -v '^ *+' conftest.out` |
7783 if test -z "$ac_err"; then | 7840 if test -z "$ac_err"; then |
7784 rm -rf conftest* | 7841 rm -rf conftest* |
7785 eval "ac_cv_header_$ac_safe=yes" | 7842 eval "ac_cv_header_$ac_safe=yes" |
7786 else | 7843 else |
7804 fi | 7861 fi |
7805 fi | 7862 fi |
7806 | 7863 |
7807 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7864 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7808 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7865 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7809 echo "configure:7810: checking for canna/RK.h" >&5 | 7866 echo "configure:7867: checking for canna/RK.h" >&5 |
7810 | 7867 |
7811 cat > conftest.$ac_ext <<EOF | 7868 cat > conftest.$ac_ext <<EOF |
7812 #line 7813 "configure" | 7869 #line 7870 "configure" |
7813 #include "confdefs.h" | 7870 #include "confdefs.h" |
7814 #include <canna/RK.h> | 7871 #include <canna/RK.h> |
7815 EOF | 7872 EOF |
7816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7817 { (eval echo configure:7818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7874 { (eval echo configure:7875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7818 ac_err=`grep -v '^ *+' conftest.out` | 7875 ac_err=`grep -v '^ *+' conftest.out` |
7819 if test -z "$ac_err"; then | 7876 if test -z "$ac_err"; then |
7820 rm -rf conftest* | 7877 rm -rf conftest* |
7821 eval "ac_cv_header_$ac_safe=yes" | 7878 eval "ac_cv_header_$ac_safe=yes" |
7822 else | 7879 else |
7835 with_canna=no | 7892 with_canna=no |
7836 fi | 7893 fi |
7837 } | 7894 } |
7838 test -z "$with_canna" && { | 7895 test -z "$with_canna" && { |
7839 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7896 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7840 echo "configure:7841: checking for RkBgnBun in -lRKC" >&5 | 7897 echo "configure:7898: checking for RkBgnBun in -lRKC" >&5 |
7841 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7898 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7842 | 7899 |
7843 xe_check_libs=" -lRKC " | 7900 xe_check_libs=" -lRKC " |
7844 cat > conftest.$ac_ext <<EOF | 7901 cat > conftest.$ac_ext <<EOF |
7845 #line 7846 "configure" | 7902 #line 7903 "configure" |
7846 #include "confdefs.h" | 7903 #include "confdefs.h" |
7847 /* Override any gcc2 internal prototype to avoid an error. */ | 7904 /* Override any gcc2 internal prototype to avoid an error. */ |
7848 /* We use char because int might match the return type of a gcc2 | 7905 /* We use char because int might match the return type of a gcc2 |
7849 builtin and then its argument prototype would still apply. */ | 7906 builtin and then its argument prototype would still apply. */ |
7850 char RkBgnBun(); | 7907 char RkBgnBun(); |
7851 | 7908 |
7852 int main() { | 7909 int main() { |
7853 RkBgnBun() | 7910 RkBgnBun() |
7854 ; return 0; } | 7911 ; return 0; } |
7855 EOF | 7912 EOF |
7856 if { (eval echo configure:7857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7913 if { (eval echo configure:7914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7857 rm -rf conftest* | 7914 rm -rf conftest* |
7858 eval "ac_cv_lib_$ac_lib_var=yes" | 7915 eval "ac_cv_lib_$ac_lib_var=yes" |
7859 else | 7916 else |
7860 echo "configure: failed program was:" >&5 | 7917 echo "configure: failed program was:" >&5 |
7861 cat conftest.$ac_ext >&5 | 7918 cat conftest.$ac_ext >&5 |
7874 fi | 7931 fi |
7875 | 7932 |
7876 } | 7933 } |
7877 test -z "$with_canna" && { | 7934 test -z "$with_canna" && { |
7878 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7935 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7879 echo "configure:7880: checking for jrKanjiControl in -lcanna" >&5 | 7936 echo "configure:7937: checking for jrKanjiControl in -lcanna" >&5 |
7880 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7937 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7881 | 7938 |
7882 xe_check_libs=" -lcanna " | 7939 xe_check_libs=" -lcanna " |
7883 cat > conftest.$ac_ext <<EOF | 7940 cat > conftest.$ac_ext <<EOF |
7884 #line 7885 "configure" | 7941 #line 7942 "configure" |
7885 #include "confdefs.h" | 7942 #include "confdefs.h" |
7886 /* Override any gcc2 internal prototype to avoid an error. */ | 7943 /* Override any gcc2 internal prototype to avoid an error. */ |
7887 /* We use char because int might match the return type of a gcc2 | 7944 /* We use char because int might match the return type of a gcc2 |
7888 builtin and then its argument prototype would still apply. */ | 7945 builtin and then its argument prototype would still apply. */ |
7889 char jrKanjiControl(); | 7946 char jrKanjiControl(); |
7890 | 7947 |
7891 int main() { | 7948 int main() { |
7892 jrKanjiControl() | 7949 jrKanjiControl() |
7893 ; return 0; } | 7950 ; return 0; } |
7894 EOF | 7951 EOF |
7895 if { (eval echo configure:7896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7952 if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7896 rm -rf conftest* | 7953 rm -rf conftest* |
7897 eval "ac_cv_lib_$ac_lib_var=yes" | 7954 eval "ac_cv_lib_$ac_lib_var=yes" |
7898 else | 7955 else |
7899 echo "configure: failed program was:" >&5 | 7956 echo "configure: failed program was:" >&5 |
7900 cat conftest.$ac_ext >&5 | 7957 cat conftest.$ac_ext >&5 |
7939 | 7996 |
7940 if test "$need_motif" = "yes" ; then | 7997 if test "$need_motif" = "yes" ; then |
7941 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7998 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
7942 | 7999 |
7943 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8000 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
7944 echo "configure:7945: checking for layout_object_getvalue in -li18n" >&5 | 8001 echo "configure:8002: checking for layout_object_getvalue in -li18n" >&5 |
7945 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8002 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
7946 | 8003 |
7947 xe_check_libs=" -li18n " | 8004 xe_check_libs=" -li18n " |
7948 cat > conftest.$ac_ext <<EOF | 8005 cat > conftest.$ac_ext <<EOF |
7949 #line 7950 "configure" | 8006 #line 8007 "configure" |
7950 #include "confdefs.h" | 8007 #include "confdefs.h" |
7951 /* Override any gcc2 internal prototype to avoid an error. */ | 8008 /* Override any gcc2 internal prototype to avoid an error. */ |
7952 /* We use char because int might match the return type of a gcc2 | 8009 /* We use char because int might match the return type of a gcc2 |
7953 builtin and then its argument prototype would still apply. */ | 8010 builtin and then its argument prototype would still apply. */ |
7954 char layout_object_getvalue(); | 8011 char layout_object_getvalue(); |
7955 | 8012 |
7956 int main() { | 8013 int main() { |
7957 layout_object_getvalue() | 8014 layout_object_getvalue() |
7958 ; return 0; } | 8015 ; return 0; } |
7959 EOF | 8016 EOF |
7960 if { (eval echo configure:7961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8017 if { (eval echo configure:8018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7961 rm -rf conftest* | 8018 rm -rf conftest* |
7962 eval "ac_cv_lib_$ac_lib_var=yes" | 8019 eval "ac_cv_lib_$ac_lib_var=yes" |
7963 else | 8020 else |
7964 echo "configure: failed program was:" >&5 | 8021 echo "configure: failed program was:" >&5 |
7965 cat conftest.$ac_ext >&5 | 8022 cat conftest.$ac_ext >&5 |
8041 fi | 8098 fi |
8042 | 8099 |
8043 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8100 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8044 do | 8101 do |
8045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8046 echo "configure:8047: checking for $ac_func" >&5 | 8103 echo "configure:8104: checking for $ac_func" >&5 |
8047 | 8104 |
8048 cat > conftest.$ac_ext <<EOF | 8105 cat > conftest.$ac_ext <<EOF |
8049 #line 8050 "configure" | 8106 #line 8107 "configure" |
8050 #include "confdefs.h" | 8107 #include "confdefs.h" |
8051 /* System header to define __stub macros and hopefully few prototypes, | 8108 /* System header to define __stub macros and hopefully few prototypes, |
8052 which can conflict with char $ac_func(); below. */ | 8109 which can conflict with char $ac_func(); below. */ |
8053 #include <assert.h> | 8110 #include <assert.h> |
8054 /* Override any gcc2 internal prototype to avoid an error. */ | 8111 /* Override any gcc2 internal prototype to avoid an error. */ |
8067 $ac_func(); | 8124 $ac_func(); |
8068 #endif | 8125 #endif |
8069 | 8126 |
8070 ; return 0; } | 8127 ; return 0; } |
8071 EOF | 8128 EOF |
8072 if { (eval echo configure:8073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8129 if { (eval echo configure:8130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8073 rm -rf conftest* | 8130 rm -rf conftest* |
8074 eval "ac_cv_func_$ac_func=yes" | 8131 eval "ac_cv_func_$ac_func=yes" |
8075 else | 8132 else |
8076 echo "configure: failed program was:" >&5 | 8133 echo "configure: failed program was:" >&5 |
8077 cat conftest.$ac_ext >&5 | 8134 cat conftest.$ac_ext >&5 |
8104 fi ;; | 8161 fi ;; |
8105 * ) | 8162 * ) |
8106 for ac_func in realpath | 8163 for ac_func in realpath |
8107 do | 8164 do |
8108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8109 echo "configure:8110: checking for $ac_func" >&5 | 8166 echo "configure:8167: checking for $ac_func" >&5 |
8110 | 8167 |
8111 cat > conftest.$ac_ext <<EOF | 8168 cat > conftest.$ac_ext <<EOF |
8112 #line 8113 "configure" | 8169 #line 8170 "configure" |
8113 #include "confdefs.h" | 8170 #include "confdefs.h" |
8114 /* System header to define __stub macros and hopefully few prototypes, | 8171 /* System header to define __stub macros and hopefully few prototypes, |
8115 which can conflict with char $ac_func(); below. */ | 8172 which can conflict with char $ac_func(); below. */ |
8116 #include <assert.h> | 8173 #include <assert.h> |
8117 /* Override any gcc2 internal prototype to avoid an error. */ | 8174 /* Override any gcc2 internal prototype to avoid an error. */ |
8130 $ac_func(); | 8187 $ac_func(); |
8131 #endif | 8188 #endif |
8132 | 8189 |
8133 ; return 0; } | 8190 ; return 0; } |
8134 EOF | 8191 EOF |
8135 if { (eval echo configure:8136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8192 if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8136 rm -rf conftest* | 8193 rm -rf conftest* |
8137 eval "ac_cv_func_$ac_func=yes" | 8194 eval "ac_cv_func_$ac_func=yes" |
8138 else | 8195 else |
8139 echo "configure: failed program was:" >&5 | 8196 echo "configure: failed program was:" >&5 |
8140 cat conftest.$ac_ext >&5 | 8197 cat conftest.$ac_ext >&5 |
8163 echo " xemacs will be linked with \"realpath.o\"" | 8220 echo " xemacs will be linked with \"realpath.o\"" |
8164 fi ;; | 8221 fi ;; |
8165 esac | 8222 esac |
8166 | 8223 |
8167 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8224 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8168 echo "configure:8169: checking whether netdb declares h_errno" >&5 | 8225 echo "configure:8226: checking whether netdb declares h_errno" >&5 |
8169 cat > conftest.$ac_ext <<EOF | 8226 cat > conftest.$ac_ext <<EOF |
8170 #line 8171 "configure" | 8227 #line 8228 "configure" |
8171 #include "confdefs.h" | 8228 #include "confdefs.h" |
8172 #include <netdb.h> | 8229 #include <netdb.h> |
8173 int main() { | 8230 int main() { |
8174 return h_errno; | 8231 return h_errno; |
8175 ; return 0; } | 8232 ; return 0; } |
8176 EOF | 8233 EOF |
8177 if { (eval echo configure:8178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8234 if { (eval echo configure:8235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8178 rm -rf conftest* | 8235 rm -rf conftest* |
8179 echo "$ac_t""yes" 1>&6 | 8236 echo "$ac_t""yes" 1>&6 |
8180 { test "$extra_verbose" = "yes" && cat << \EOF | 8237 { test "$extra_verbose" = "yes" && cat << \EOF |
8181 Defining HAVE_H_ERRNO | 8238 Defining HAVE_H_ERRNO |
8182 EOF | 8239 EOF |
8192 echo "$ac_t""no" 1>&6 | 8249 echo "$ac_t""no" 1>&6 |
8193 fi | 8250 fi |
8194 rm -f conftest* | 8251 rm -f conftest* |
8195 | 8252 |
8196 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8253 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8197 echo "configure:8198: checking for sigsetjmp" >&5 | 8254 echo "configure:8255: checking for sigsetjmp" >&5 |
8198 cat > conftest.$ac_ext <<EOF | 8255 cat > conftest.$ac_ext <<EOF |
8199 #line 8200 "configure" | 8256 #line 8257 "configure" |
8200 #include "confdefs.h" | 8257 #include "confdefs.h" |
8201 #include <setjmp.h> | 8258 #include <setjmp.h> |
8202 int main() { | 8259 int main() { |
8203 sigjmp_buf bar; sigsetjmp (bar, 0); | 8260 sigjmp_buf bar; sigsetjmp (bar, 0); |
8204 ; return 0; } | 8261 ; return 0; } |
8205 EOF | 8262 EOF |
8206 if { (eval echo configure:8207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8263 if { (eval echo configure:8264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8207 rm -rf conftest* | 8264 rm -rf conftest* |
8208 echo "$ac_t""yes" 1>&6 | 8265 echo "$ac_t""yes" 1>&6 |
8209 { test "$extra_verbose" = "yes" && cat << \EOF | 8266 { test "$extra_verbose" = "yes" && cat << \EOF |
8210 Defining HAVE_SIGSETJMP | 8267 Defining HAVE_SIGSETJMP |
8211 EOF | 8268 EOF |
8221 echo "$ac_t""no" 1>&6 | 8278 echo "$ac_t""no" 1>&6 |
8222 fi | 8279 fi |
8223 rm -f conftest* | 8280 rm -f conftest* |
8224 | 8281 |
8225 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8282 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8226 echo "configure:8227: checking whether localtime caches TZ" >&5 | 8283 echo "configure:8284: checking whether localtime caches TZ" >&5 |
8227 | 8284 |
8228 if test "$ac_cv_func_tzset" = "yes"; then | 8285 if test "$ac_cv_func_tzset" = "yes"; then |
8229 cat > conftest.$ac_ext <<EOF | 8286 cat > conftest.$ac_ext <<EOF |
8230 #line 8231 "configure" | 8287 #line 8288 "configure" |
8231 #include "confdefs.h" | 8288 #include "confdefs.h" |
8232 #include <time.h> | 8289 #include <time.h> |
8233 #if STDC_HEADERS | 8290 #if STDC_HEADERS |
8234 # include <stdlib.h> | 8291 # include <stdlib.h> |
8235 #endif | 8292 #endif |
8260 if (localtime (&now)->tm_hour != hour_unset) | 8317 if (localtime (&now)->tm_hour != hour_unset) |
8261 exit (1); | 8318 exit (1); |
8262 exit (0); | 8319 exit (0); |
8263 } | 8320 } |
8264 EOF | 8321 EOF |
8265 if { (eval echo configure:8266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8322 if { (eval echo configure:8323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8266 then | 8323 then |
8267 emacs_cv_localtime_cache=no | 8324 emacs_cv_localtime_cache=no |
8268 else | 8325 else |
8269 echo "configure: failed program was:" >&5 | 8326 echo "configure: failed program was:" >&5 |
8270 cat conftest.$ac_ext >&5 | 8327 cat conftest.$ac_ext >&5 |
8288 } | 8345 } |
8289 | 8346 |
8290 fi | 8347 fi |
8291 | 8348 |
8292 if test "$HAVE_TIMEVAL" = "yes"; then | 8349 if test "$HAVE_TIMEVAL" = "yes"; then |
8293 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 8350 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8294 echo "configure:8295: checking whether gettimeofday cannot accept two arguments" >&5 | 8351 echo "configure:8352: checking whether gettimeofday accepts one or two arguments" >&5 |
8295 cat > conftest.$ac_ext <<EOF | 8352 cat > conftest.$ac_ext <<EOF |
8296 #line 8297 "configure" | 8353 #line 8354 "configure" |
8297 #include "confdefs.h" | 8354 #include "confdefs.h" |
8298 | 8355 |
8299 #ifdef TIME_WITH_SYS_TIME | 8356 #ifdef TIME_WITH_SYS_TIME |
8300 #include <sys/time.h> | 8357 #include <sys/time.h> |
8301 #include <time.h> | 8358 #include <time.h> |
8313 struct timezone dummy; | 8370 struct timezone dummy; |
8314 gettimeofday (&time, &dummy); | 8371 gettimeofday (&time, &dummy); |
8315 | 8372 |
8316 ; return 0; } | 8373 ; return 0; } |
8317 EOF | 8374 EOF |
8318 if { (eval echo configure:8319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8375 if { (eval echo configure:8376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8319 rm -rf conftest* | 8376 rm -rf conftest* |
8320 echo "$ac_t""no" 1>&6 | 8377 echo "$ac_t""two" 1>&6 |
8321 else | 8378 else |
8322 echo "configure: failed program was:" >&5 | 8379 echo "configure: failed program was:" >&5 |
8323 cat conftest.$ac_ext >&5 | 8380 cat conftest.$ac_ext >&5 |
8324 rm -rf conftest* | 8381 rm -rf conftest* |
8325 echo "$ac_t""yes" 1>&6 | 8382 echo "$ac_t""one" 1>&6 |
8326 { test "$extra_verbose" = "yes" && cat << \EOF | 8383 { test "$extra_verbose" = "yes" && cat << \EOF |
8327 Defining GETTIMEOFDAY_ONE_ARGUMENT | 8384 Defining GETTIMEOFDAY_ONE_ARGUMENT |
8328 EOF | 8385 EOF |
8329 cat >> confdefs.h <<\EOF | 8386 cat >> confdefs.h <<\EOF |
8330 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | 8387 #define GETTIMEOFDAY_ONE_ARGUMENT 1 |
8335 rm -f conftest* | 8392 rm -f conftest* |
8336 fi | 8393 fi |
8337 | 8394 |
8338 | 8395 |
8339 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8396 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8340 echo "configure:8341: checking for inline" >&5 | 8397 echo "configure:8398: checking for inline" >&5 |
8341 | 8398 |
8342 ac_cv_c_inline=no | 8399 ac_cv_c_inline=no |
8343 for ac_kw in inline __inline__ __inline; do | 8400 for ac_kw in inline __inline__ __inline; do |
8344 cat > conftest.$ac_ext <<EOF | 8401 cat > conftest.$ac_ext <<EOF |
8345 #line 8346 "configure" | 8402 #line 8403 "configure" |
8346 #include "confdefs.h" | 8403 #include "confdefs.h" |
8347 | 8404 |
8348 int main() { | 8405 int main() { |
8349 } $ac_kw foo() { | 8406 } $ac_kw foo() { |
8350 ; return 0; } | 8407 ; return 0; } |
8351 EOF | 8408 EOF |
8352 if { (eval echo configure:8353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8409 if { (eval echo configure:8410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8353 rm -rf conftest* | 8410 rm -rf conftest* |
8354 ac_cv_c_inline=$ac_kw; break | 8411 ac_cv_c_inline=$ac_kw; break |
8355 else | 8412 else |
8356 echo "configure: failed program was:" >&5 | 8413 echo "configure: failed program was:" >&5 |
8357 cat conftest.$ac_ext >&5 | 8414 cat conftest.$ac_ext >&5 |
8397 | 8454 |
8398 | 8455 |
8399 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8456 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8400 # for constant arguments. Useless! | 8457 # for constant arguments. Useless! |
8401 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8458 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8402 echo "configure:8403: checking for working alloca.h" >&5 | 8459 echo "configure:8460: checking for working alloca.h" >&5 |
8403 | 8460 |
8404 cat > conftest.$ac_ext <<EOF | 8461 cat > conftest.$ac_ext <<EOF |
8405 #line 8406 "configure" | 8462 #line 8463 "configure" |
8406 #include "confdefs.h" | 8463 #include "confdefs.h" |
8407 #include <alloca.h> | 8464 #include <alloca.h> |
8408 int main() { | 8465 int main() { |
8409 char *p = alloca(2 * sizeof(int)); | 8466 char *p = alloca(2 * sizeof(int)); |
8410 ; return 0; } | 8467 ; return 0; } |
8411 EOF | 8468 EOF |
8412 if { (eval echo configure:8413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8469 if { (eval echo configure:8470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8413 rm -rf conftest* | 8470 rm -rf conftest* |
8414 ac_cv_header_alloca_h=yes | 8471 ac_cv_header_alloca_h=yes |
8415 else | 8472 else |
8416 echo "configure: failed program was:" >&5 | 8473 echo "configure: failed program was:" >&5 |
8417 cat conftest.$ac_ext >&5 | 8474 cat conftest.$ac_ext >&5 |
8431 } | 8488 } |
8432 | 8489 |
8433 fi | 8490 fi |
8434 | 8491 |
8435 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8492 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8436 echo "configure:8437: checking for alloca" >&5 | 8493 echo "configure:8494: checking for alloca" >&5 |
8437 | 8494 |
8438 cat > conftest.$ac_ext <<EOF | 8495 cat > conftest.$ac_ext <<EOF |
8439 #line 8440 "configure" | 8496 #line 8497 "configure" |
8440 #include "confdefs.h" | 8497 #include "confdefs.h" |
8441 | 8498 |
8442 #ifdef __GNUC__ | 8499 #ifdef __GNUC__ |
8443 # define alloca __builtin_alloca | 8500 # define alloca __builtin_alloca |
8444 #else | 8501 #else |
8457 | 8514 |
8458 int main() { | 8515 int main() { |
8459 char *p = (char *) alloca(1); | 8516 char *p = (char *) alloca(1); |
8460 ; return 0; } | 8517 ; return 0; } |
8461 EOF | 8518 EOF |
8462 if { (eval echo configure:8463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8519 if { (eval echo configure:8520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8463 rm -rf conftest* | 8520 rm -rf conftest* |
8464 ac_cv_func_alloca_works=yes | 8521 ac_cv_func_alloca_works=yes |
8465 else | 8522 else |
8466 echo "configure: failed program was:" >&5 | 8523 echo "configure: failed program was:" >&5 |
8467 cat conftest.$ac_ext >&5 | 8524 cat conftest.$ac_ext >&5 |
8496 EOF | 8553 EOF |
8497 } | 8554 } |
8498 | 8555 |
8499 | 8556 |
8500 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8557 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8501 echo "configure:8502: checking whether alloca needs Cray hooks" >&5 | 8558 echo "configure:8559: checking whether alloca needs Cray hooks" >&5 |
8502 | 8559 |
8503 cat > conftest.$ac_ext <<EOF | 8560 cat > conftest.$ac_ext <<EOF |
8504 #line 8505 "configure" | 8561 #line 8562 "configure" |
8505 #include "confdefs.h" | 8562 #include "confdefs.h" |
8506 #if defined(CRAY) && ! defined(CRAY2) | 8563 #if defined(CRAY) && ! defined(CRAY2) |
8507 webecray | 8564 webecray |
8508 #else | 8565 #else |
8509 wenotbecray | 8566 wenotbecray |
8523 | 8580 |
8524 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8581 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8525 if test $ac_cv_os_cray = yes; then | 8582 if test $ac_cv_os_cray = yes; then |
8526 for ac_func in _getb67 GETB67 getb67; do | 8583 for ac_func in _getb67 GETB67 getb67; do |
8527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8528 echo "configure:8529: checking for $ac_func" >&5 | 8585 echo "configure:8586: checking for $ac_func" >&5 |
8529 | 8586 |
8530 cat > conftest.$ac_ext <<EOF | 8587 cat > conftest.$ac_ext <<EOF |
8531 #line 8532 "configure" | 8588 #line 8589 "configure" |
8532 #include "confdefs.h" | 8589 #include "confdefs.h" |
8533 /* System header to define __stub macros and hopefully few prototypes, | 8590 /* System header to define __stub macros and hopefully few prototypes, |
8534 which can conflict with char $ac_func(); below. */ | 8591 which can conflict with char $ac_func(); below. */ |
8535 #include <assert.h> | 8592 #include <assert.h> |
8536 /* Override any gcc2 internal prototype to avoid an error. */ | 8593 /* Override any gcc2 internal prototype to avoid an error. */ |
8549 $ac_func(); | 8606 $ac_func(); |
8550 #endif | 8607 #endif |
8551 | 8608 |
8552 ; return 0; } | 8609 ; return 0; } |
8553 EOF | 8610 EOF |
8554 if { (eval echo configure:8555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8611 if { (eval echo configure:8612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8555 rm -rf conftest* | 8612 rm -rf conftest* |
8556 eval "ac_cv_func_$ac_func=yes" | 8613 eval "ac_cv_func_$ac_func=yes" |
8557 else | 8614 else |
8558 echo "configure: failed program was:" >&5 | 8615 echo "configure: failed program was:" >&5 |
8559 cat conftest.$ac_ext >&5 | 8616 cat conftest.$ac_ext >&5 |
8579 | 8636 |
8580 done | 8637 done |
8581 fi | 8638 fi |
8582 | 8639 |
8583 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8640 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8584 echo "configure:8585: checking stack direction for C alloca" >&5 | 8641 echo "configure:8642: checking stack direction for C alloca" >&5 |
8585 | 8642 |
8586 cat > conftest.$ac_ext <<EOF | 8643 cat > conftest.$ac_ext <<EOF |
8587 #line 8588 "configure" | 8644 #line 8645 "configure" |
8588 #include "confdefs.h" | 8645 #include "confdefs.h" |
8589 find_stack_direction () | 8646 find_stack_direction () |
8590 { | 8647 { |
8591 static char *addr = 0; | 8648 static char *addr = 0; |
8592 auto char dummy; | 8649 auto char dummy; |
8601 main () | 8658 main () |
8602 { | 8659 { |
8603 exit (find_stack_direction() < 0); | 8660 exit (find_stack_direction() < 0); |
8604 } | 8661 } |
8605 EOF | 8662 EOF |
8606 if { (eval echo configure:8607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8663 if { (eval echo configure:8664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8607 then | 8664 then |
8608 ac_cv_c_stack_direction=1 | 8665 ac_cv_c_stack_direction=1 |
8609 else | 8666 else |
8610 echo "configure: failed program was:" >&5 | 8667 echo "configure: failed program was:" >&5 |
8611 cat conftest.$ac_ext >&5 | 8668 cat conftest.$ac_ext >&5 |
8629 echo " xemacs will be linked with \"$ALLOCA\"" | 8686 echo " xemacs will be linked with \"$ALLOCA\"" |
8630 fi | 8687 fi |
8631 | 8688 |
8632 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8689 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8633 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8690 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8634 echo "configure:8635: checking for vfork.h" >&5 | 8691 echo "configure:8692: checking for vfork.h" >&5 |
8635 | 8692 |
8636 cat > conftest.$ac_ext <<EOF | 8693 cat > conftest.$ac_ext <<EOF |
8637 #line 8638 "configure" | 8694 #line 8695 "configure" |
8638 #include "confdefs.h" | 8695 #include "confdefs.h" |
8639 #include <vfork.h> | 8696 #include <vfork.h> |
8640 EOF | 8697 EOF |
8641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8642 { (eval echo configure:8643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8699 { (eval echo configure:8700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8643 ac_err=`grep -v '^ *+' conftest.out` | 8700 ac_err=`grep -v '^ *+' conftest.out` |
8644 if test -z "$ac_err"; then | 8701 if test -z "$ac_err"; then |
8645 rm -rf conftest* | 8702 rm -rf conftest* |
8646 eval "ac_cv_header_$ac_safe=yes" | 8703 eval "ac_cv_header_$ac_safe=yes" |
8647 else | 8704 else |
8665 else | 8722 else |
8666 echo "$ac_t""no" 1>&6 | 8723 echo "$ac_t""no" 1>&6 |
8667 fi | 8724 fi |
8668 | 8725 |
8669 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8726 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8670 echo "configure:8671: checking for working vfork" >&5 | 8727 echo "configure:8728: checking for working vfork" >&5 |
8671 | 8728 |
8672 cat > conftest.$ac_ext <<EOF | 8729 cat > conftest.$ac_ext <<EOF |
8673 #line 8674 "configure" | 8730 #line 8731 "configure" |
8674 #include "confdefs.h" | 8731 #include "confdefs.h" |
8675 /* Thanks to Paul Eggert for this test. */ | 8732 /* Thanks to Paul Eggert for this test. */ |
8676 #include <stdio.h> | 8733 #include <stdio.h> |
8677 #include <sys/types.h> | 8734 #include <sys/types.h> |
8678 #include <sys/stat.h> | 8735 #include <sys/stat.h> |
8763 || fstat(fileno(stdout), &st) != 0 | 8820 || fstat(fileno(stdout), &st) != 0 |
8764 ); | 8821 ); |
8765 } | 8822 } |
8766 } | 8823 } |
8767 EOF | 8824 EOF |
8768 if { (eval echo configure:8769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8825 if { (eval echo configure:8826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8769 then | 8826 then |
8770 ac_cv_func_vfork_works=yes | 8827 ac_cv_func_vfork_works=yes |
8771 else | 8828 else |
8772 echo "configure: failed program was:" >&5 | 8829 echo "configure: failed program was:" >&5 |
8773 cat conftest.$ac_ext >&5 | 8830 cat conftest.$ac_ext >&5 |
8788 | 8845 |
8789 fi | 8846 fi |
8790 | 8847 |
8791 | 8848 |
8792 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8849 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8793 echo "configure:8794: checking for working strcoll" >&5 | 8850 echo "configure:8851: checking for working strcoll" >&5 |
8794 | 8851 |
8795 cat > conftest.$ac_ext <<EOF | 8852 cat > conftest.$ac_ext <<EOF |
8796 #line 8797 "configure" | 8853 #line 8854 "configure" |
8797 #include "confdefs.h" | 8854 #include "confdefs.h" |
8798 #include <string.h> | 8855 #include <string.h> |
8799 main () | 8856 main () |
8800 { | 8857 { |
8801 exit (strcoll ("abc", "def") >= 0 || | 8858 exit (strcoll ("abc", "def") >= 0 || |
8802 strcoll ("ABC", "DEF") >= 0 || | 8859 strcoll ("ABC", "DEF") >= 0 || |
8803 strcoll ("123", "456") >= 0); | 8860 strcoll ("123", "456") >= 0); |
8804 } | 8861 } |
8805 EOF | 8862 EOF |
8806 if { (eval echo configure:8807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8863 if { (eval echo configure:8864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8807 then | 8864 then |
8808 ac_cv_func_strcoll_works=yes | 8865 ac_cv_func_strcoll_works=yes |
8809 else | 8866 else |
8810 echo "configure: failed program was:" >&5 | 8867 echo "configure: failed program was:" >&5 |
8811 cat conftest.$ac_ext >&5 | 8868 cat conftest.$ac_ext >&5 |
8828 | 8885 |
8829 | 8886 |
8830 for ac_func in getpgrp | 8887 for ac_func in getpgrp |
8831 do | 8888 do |
8832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8833 echo "configure:8834: checking for $ac_func" >&5 | 8890 echo "configure:8891: checking for $ac_func" >&5 |
8834 | 8891 |
8835 cat > conftest.$ac_ext <<EOF | 8892 cat > conftest.$ac_ext <<EOF |
8836 #line 8837 "configure" | 8893 #line 8894 "configure" |
8837 #include "confdefs.h" | 8894 #include "confdefs.h" |
8838 /* System header to define __stub macros and hopefully few prototypes, | 8895 /* System header to define __stub macros and hopefully few prototypes, |
8839 which can conflict with char $ac_func(); below. */ | 8896 which can conflict with char $ac_func(); below. */ |
8840 #include <assert.h> | 8897 #include <assert.h> |
8841 /* Override any gcc2 internal prototype to avoid an error. */ | 8898 /* Override any gcc2 internal prototype to avoid an error. */ |
8854 $ac_func(); | 8911 $ac_func(); |
8855 #endif | 8912 #endif |
8856 | 8913 |
8857 ; return 0; } | 8914 ; return 0; } |
8858 EOF | 8915 EOF |
8859 if { (eval echo configure:8860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8860 rm -rf conftest* | 8917 rm -rf conftest* |
8861 eval "ac_cv_func_$ac_func=yes" | 8918 eval "ac_cv_func_$ac_func=yes" |
8862 else | 8919 else |
8863 echo "configure: failed program was:" >&5 | 8920 echo "configure: failed program was:" >&5 |
8864 cat conftest.$ac_ext >&5 | 8921 cat conftest.$ac_ext >&5 |
8882 echo "$ac_t""no" 1>&6 | 8939 echo "$ac_t""no" 1>&6 |
8883 fi | 8940 fi |
8884 done | 8941 done |
8885 | 8942 |
8886 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8943 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8887 echo "configure:8888: checking whether getpgrp takes no argument" >&5 | 8944 echo "configure:8945: checking whether getpgrp takes no argument" >&5 |
8888 | 8945 |
8889 cat > conftest.$ac_ext <<EOF | 8946 cat > conftest.$ac_ext <<EOF |
8890 #line 8891 "configure" | 8947 #line 8948 "configure" |
8891 #include "confdefs.h" | 8948 #include "confdefs.h" |
8892 | 8949 |
8893 /* | 8950 /* |
8894 * If this system has a BSD-style getpgrp(), | 8951 * If this system has a BSD-style getpgrp(), |
8895 * which takes a pid argument, exit unsuccessfully. | 8952 * which takes a pid argument, exit unsuccessfully. |
8940 exit(s>>8); | 8997 exit(s>>8); |
8941 } | 8998 } |
8942 } | 8999 } |
8943 | 9000 |
8944 EOF | 9001 EOF |
8945 if { (eval echo configure:8946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8946 then | 9003 then |
8947 ac_cv_func_getpgrp_void=yes | 9004 ac_cv_func_getpgrp_void=yes |
8948 else | 9005 else |
8949 echo "configure: failed program was:" >&5 | 9006 echo "configure: failed program was:" >&5 |
8950 cat conftest.$ac_ext >&5 | 9007 cat conftest.$ac_ext >&5 |
8966 | 9023 |
8967 fi | 9024 fi |
8968 | 9025 |
8969 | 9026 |
8970 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9027 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8971 echo "configure:8972: checking for working mmap" >&5 | 9028 echo "configure:9029: checking for working mmap" >&5 |
8972 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9029 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8973 cat > conftest.$ac_ext <<EOF | 9030 cat > conftest.$ac_ext <<EOF |
8974 #line 8975 "configure" | 9031 #line 9032 "configure" |
8975 #include "confdefs.h" | 9032 #include "confdefs.h" |
8976 #include <stdio.h> | 9033 #include <stdio.h> |
8977 #include <unistd.h> | 9034 #include <unistd.h> |
8978 #include <fcntl.h> | 9035 #include <fcntl.h> |
8979 #include <sys/mman.h> | 9036 #include <sys/mman.h> |
9002 return 0; | 9059 return 0; |
9003 perror ("conftest: mmap failed"); | 9060 perror ("conftest: mmap failed"); |
9004 return 1; | 9061 return 1; |
9005 } | 9062 } |
9006 EOF | 9063 EOF |
9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 9064 if { (eval echo configure:9065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
9008 then | 9065 then |
9009 have_mmap=yes | 9066 have_mmap=yes |
9010 else | 9067 else |
9011 echo "configure: failed program was:" >&5 | 9068 echo "configure: failed program was:" >&5 |
9012 cat conftest.$ac_ext >&5 | 9069 cat conftest.$ac_ext >&5 |
9036 } | 9093 } |
9037 | 9094 |
9038 | 9095 |
9039 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9096 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9040 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9097 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9041 echo "configure:9042: checking for termios.h" >&5 | 9098 echo "configure:9099: checking for termios.h" >&5 |
9042 | 9099 |
9043 cat > conftest.$ac_ext <<EOF | 9100 cat > conftest.$ac_ext <<EOF |
9044 #line 9045 "configure" | 9101 #line 9102 "configure" |
9045 #include "confdefs.h" | 9102 #include "confdefs.h" |
9046 #include <termios.h> | 9103 #include <termios.h> |
9047 EOF | 9104 EOF |
9048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9049 { (eval echo configure:9050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9106 { (eval echo configure:9107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9050 ac_err=`grep -v '^ *+' conftest.out` | 9107 ac_err=`grep -v '^ *+' conftest.out` |
9051 if test -z "$ac_err"; then | 9108 if test -z "$ac_err"; then |
9052 rm -rf conftest* | 9109 rm -rf conftest* |
9053 eval "ac_cv_header_$ac_safe=yes" | 9110 eval "ac_cv_header_$ac_safe=yes" |
9054 else | 9111 else |
9087 | 9144 |
9088 else | 9145 else |
9089 echo "$ac_t""no" 1>&6 | 9146 echo "$ac_t""no" 1>&6 |
9090 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9147 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9091 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9148 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9092 echo "configure:9093: checking for termio.h" >&5 | 9149 echo "configure:9150: checking for termio.h" >&5 |
9093 | 9150 |
9094 cat > conftest.$ac_ext <<EOF | 9151 cat > conftest.$ac_ext <<EOF |
9095 #line 9096 "configure" | 9152 #line 9153 "configure" |
9096 #include "confdefs.h" | 9153 #include "confdefs.h" |
9097 #include <termio.h> | 9154 #include <termio.h> |
9098 EOF | 9155 EOF |
9099 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9100 { (eval echo configure:9101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9157 { (eval echo configure:9158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9101 ac_err=`grep -v '^ *+' conftest.out` | 9158 ac_err=`grep -v '^ *+' conftest.out` |
9102 if test -z "$ac_err"; then | 9159 if test -z "$ac_err"; then |
9103 rm -rf conftest* | 9160 rm -rf conftest* |
9104 eval "ac_cv_header_$ac_safe=yes" | 9161 eval "ac_cv_header_$ac_safe=yes" |
9105 else | 9162 else |
9127 fi | 9184 fi |
9128 | 9185 |
9129 | 9186 |
9130 | 9187 |
9131 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9188 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9132 echo "configure:9133: checking for socket" >&5 | 9189 echo "configure:9190: checking for socket" >&5 |
9133 | 9190 |
9134 cat > conftest.$ac_ext <<EOF | 9191 cat > conftest.$ac_ext <<EOF |
9135 #line 9136 "configure" | 9192 #line 9193 "configure" |
9136 #include "confdefs.h" | 9193 #include "confdefs.h" |
9137 /* System header to define __stub macros and hopefully few prototypes, | 9194 /* System header to define __stub macros and hopefully few prototypes, |
9138 which can conflict with char socket(); below. */ | 9195 which can conflict with char socket(); below. */ |
9139 #include <assert.h> | 9196 #include <assert.h> |
9140 /* Override any gcc2 internal prototype to avoid an error. */ | 9197 /* Override any gcc2 internal prototype to avoid an error. */ |
9153 socket(); | 9210 socket(); |
9154 #endif | 9211 #endif |
9155 | 9212 |
9156 ; return 0; } | 9213 ; return 0; } |
9157 EOF | 9214 EOF |
9158 if { (eval echo configure:9159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9215 if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9159 rm -rf conftest* | 9216 rm -rf conftest* |
9160 eval "ac_cv_func_socket=yes" | 9217 eval "ac_cv_func_socket=yes" |
9161 else | 9218 else |
9162 echo "configure: failed program was:" >&5 | 9219 echo "configure: failed program was:" >&5 |
9163 cat conftest.$ac_ext >&5 | 9220 cat conftest.$ac_ext >&5 |
9168 | 9225 |
9169 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9226 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9170 echo "$ac_t""yes" 1>&6 | 9227 echo "$ac_t""yes" 1>&6 |
9171 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9228 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9172 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9229 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9173 echo "configure:9174: checking for netinet/in.h" >&5 | 9230 echo "configure:9231: checking for netinet/in.h" >&5 |
9174 | 9231 |
9175 cat > conftest.$ac_ext <<EOF | 9232 cat > conftest.$ac_ext <<EOF |
9176 #line 9177 "configure" | 9233 #line 9234 "configure" |
9177 #include "confdefs.h" | 9234 #include "confdefs.h" |
9178 #include <netinet/in.h> | 9235 #include <netinet/in.h> |
9179 EOF | 9236 EOF |
9180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9181 { (eval echo configure:9182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9238 { (eval echo configure:9239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9182 ac_err=`grep -v '^ *+' conftest.out` | 9239 ac_err=`grep -v '^ *+' conftest.out` |
9183 if test -z "$ac_err"; then | 9240 if test -z "$ac_err"; then |
9184 rm -rf conftest* | 9241 rm -rf conftest* |
9185 eval "ac_cv_header_$ac_safe=yes" | 9242 eval "ac_cv_header_$ac_safe=yes" |
9186 else | 9243 else |
9193 rm -f conftest* | 9250 rm -f conftest* |
9194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9195 echo "$ac_t""yes" 1>&6 | 9252 echo "$ac_t""yes" 1>&6 |
9196 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9253 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9197 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9254 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9198 echo "configure:9199: checking for arpa/inet.h" >&5 | 9255 echo "configure:9256: checking for arpa/inet.h" >&5 |
9199 | 9256 |
9200 cat > conftest.$ac_ext <<EOF | 9257 cat > conftest.$ac_ext <<EOF |
9201 #line 9202 "configure" | 9258 #line 9259 "configure" |
9202 #include "confdefs.h" | 9259 #include "confdefs.h" |
9203 #include <arpa/inet.h> | 9260 #include <arpa/inet.h> |
9204 EOF | 9261 EOF |
9205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9206 { (eval echo configure:9207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9263 { (eval echo configure:9264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9207 ac_err=`grep -v '^ *+' conftest.out` | 9264 ac_err=`grep -v '^ *+' conftest.out` |
9208 if test -z "$ac_err"; then | 9265 if test -z "$ac_err"; then |
9209 rm -rf conftest* | 9266 rm -rf conftest* |
9210 eval "ac_cv_header_$ac_safe=yes" | 9267 eval "ac_cv_header_$ac_safe=yes" |
9211 else | 9268 else |
9226 #define HAVE_SOCKETS 1 | 9283 #define HAVE_SOCKETS 1 |
9227 EOF | 9284 EOF |
9228 } | 9285 } |
9229 | 9286 |
9230 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9287 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9231 echo "configure:9232: checking "for sun_len member in struct sockaddr_un"" >&5 | 9288 echo "configure:9289: checking "for sun_len member in struct sockaddr_un"" >&5 |
9232 cat > conftest.$ac_ext <<EOF | 9289 cat > conftest.$ac_ext <<EOF |
9233 #line 9234 "configure" | 9290 #line 9291 "configure" |
9234 #include "confdefs.h" | 9291 #include "confdefs.h" |
9235 | 9292 |
9236 #include <sys/types.h> | 9293 #include <sys/types.h> |
9237 #include <sys/socket.h> | 9294 #include <sys/socket.h> |
9238 #include <sys/un.h> | 9295 #include <sys/un.h> |
9239 | 9296 |
9240 int main() { | 9297 int main() { |
9241 static struct sockaddr_un x; x.sun_len = 1; | 9298 static struct sockaddr_un x; x.sun_len = 1; |
9242 ; return 0; } | 9299 ; return 0; } |
9243 EOF | 9300 EOF |
9244 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9301 if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9245 rm -rf conftest* | 9302 rm -rf conftest* |
9246 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9303 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9247 Defining HAVE_SOCKADDR_SUN_LEN | 9304 Defining HAVE_SOCKADDR_SUN_LEN |
9248 EOF | 9305 EOF |
9249 cat >> confdefs.h <<\EOF | 9306 cat >> confdefs.h <<\EOF |
9257 rm -rf conftest* | 9314 rm -rf conftest* |
9258 echo "$ac_t""no" 1>&6 | 9315 echo "$ac_t""no" 1>&6 |
9259 fi | 9316 fi |
9260 rm -f conftest* | 9317 rm -f conftest* |
9261 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9318 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9262 echo "configure:9263: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9319 echo "configure:9320: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9263 cat > conftest.$ac_ext <<EOF | 9320 cat > conftest.$ac_ext <<EOF |
9264 #line 9265 "configure" | 9321 #line 9322 "configure" |
9265 #include "confdefs.h" | 9322 #include "confdefs.h" |
9266 | 9323 |
9267 #include <netinet/in.h> | 9324 #include <netinet/in.h> |
9268 | 9325 |
9269 int main() { | 9326 int main() { |
9270 static struct ip_mreq x; | 9327 static struct ip_mreq x; |
9271 ; return 0; } | 9328 ; return 0; } |
9272 EOF | 9329 EOF |
9273 if { (eval echo configure:9274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9330 if { (eval echo configure:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9274 rm -rf conftest* | 9331 rm -rf conftest* |
9275 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9332 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9276 Defining HAVE_MULTICAST | 9333 Defining HAVE_MULTICAST |
9277 EOF | 9334 EOF |
9278 cat >> confdefs.h <<\EOF | 9335 cat >> confdefs.h <<\EOF |
9299 echo "$ac_t""no" 1>&6 | 9356 echo "$ac_t""no" 1>&6 |
9300 fi | 9357 fi |
9301 | 9358 |
9302 | 9359 |
9303 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9360 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9304 echo "configure:9305: checking for msgget" >&5 | 9361 echo "configure:9362: checking for msgget" >&5 |
9305 | 9362 |
9306 cat > conftest.$ac_ext <<EOF | 9363 cat > conftest.$ac_ext <<EOF |
9307 #line 9308 "configure" | 9364 #line 9365 "configure" |
9308 #include "confdefs.h" | 9365 #include "confdefs.h" |
9309 /* System header to define __stub macros and hopefully few prototypes, | 9366 /* System header to define __stub macros and hopefully few prototypes, |
9310 which can conflict with char msgget(); below. */ | 9367 which can conflict with char msgget(); below. */ |
9311 #include <assert.h> | 9368 #include <assert.h> |
9312 /* Override any gcc2 internal prototype to avoid an error. */ | 9369 /* Override any gcc2 internal prototype to avoid an error. */ |
9325 msgget(); | 9382 msgget(); |
9326 #endif | 9383 #endif |
9327 | 9384 |
9328 ; return 0; } | 9385 ; return 0; } |
9329 EOF | 9386 EOF |
9330 if { (eval echo configure:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9331 rm -rf conftest* | 9388 rm -rf conftest* |
9332 eval "ac_cv_func_msgget=yes" | 9389 eval "ac_cv_func_msgget=yes" |
9333 else | 9390 else |
9334 echo "configure: failed program was:" >&5 | 9391 echo "configure: failed program was:" >&5 |
9335 cat conftest.$ac_ext >&5 | 9392 cat conftest.$ac_ext >&5 |
9340 | 9397 |
9341 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9398 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9342 echo "$ac_t""yes" 1>&6 | 9399 echo "$ac_t""yes" 1>&6 |
9343 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9400 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9344 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9401 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9345 echo "configure:9346: checking for sys/ipc.h" >&5 | 9402 echo "configure:9403: checking for sys/ipc.h" >&5 |
9346 | 9403 |
9347 cat > conftest.$ac_ext <<EOF | 9404 cat > conftest.$ac_ext <<EOF |
9348 #line 9349 "configure" | 9405 #line 9406 "configure" |
9349 #include "confdefs.h" | 9406 #include "confdefs.h" |
9350 #include <sys/ipc.h> | 9407 #include <sys/ipc.h> |
9351 EOF | 9408 EOF |
9352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9353 { (eval echo configure:9354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9410 { (eval echo configure:9411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9354 ac_err=`grep -v '^ *+' conftest.out` | 9411 ac_err=`grep -v '^ *+' conftest.out` |
9355 if test -z "$ac_err"; then | 9412 if test -z "$ac_err"; then |
9356 rm -rf conftest* | 9413 rm -rf conftest* |
9357 eval "ac_cv_header_$ac_safe=yes" | 9414 eval "ac_cv_header_$ac_safe=yes" |
9358 else | 9415 else |
9365 rm -f conftest* | 9422 rm -f conftest* |
9366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9367 echo "$ac_t""yes" 1>&6 | 9424 echo "$ac_t""yes" 1>&6 |
9368 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9425 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9369 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9426 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9370 echo "configure:9371: checking for sys/msg.h" >&5 | 9427 echo "configure:9428: checking for sys/msg.h" >&5 |
9371 | 9428 |
9372 cat > conftest.$ac_ext <<EOF | 9429 cat > conftest.$ac_ext <<EOF |
9373 #line 9374 "configure" | 9430 #line 9431 "configure" |
9374 #include "confdefs.h" | 9431 #include "confdefs.h" |
9375 #include <sys/msg.h> | 9432 #include <sys/msg.h> |
9376 EOF | 9433 EOF |
9377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9378 { (eval echo configure:9379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9435 { (eval echo configure:9436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9379 ac_err=`grep -v '^ *+' conftest.out` | 9436 ac_err=`grep -v '^ *+' conftest.out` |
9380 if test -z "$ac_err"; then | 9437 if test -z "$ac_err"; then |
9381 rm -rf conftest* | 9438 rm -rf conftest* |
9382 eval "ac_cv_header_$ac_safe=yes" | 9439 eval "ac_cv_header_$ac_safe=yes" |
9383 else | 9440 else |
9411 fi | 9468 fi |
9412 | 9469 |
9413 | 9470 |
9414 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9471 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9415 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9472 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9416 echo "configure:9417: checking for dirent.h" >&5 | 9473 echo "configure:9474: checking for dirent.h" >&5 |
9417 | 9474 |
9418 cat > conftest.$ac_ext <<EOF | 9475 cat > conftest.$ac_ext <<EOF |
9419 #line 9420 "configure" | 9476 #line 9477 "configure" |
9420 #include "confdefs.h" | 9477 #include "confdefs.h" |
9421 #include <dirent.h> | 9478 #include <dirent.h> |
9422 EOF | 9479 EOF |
9423 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9424 { (eval echo configure:9425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9481 { (eval echo configure:9482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9425 ac_err=`grep -v '^ *+' conftest.out` | 9482 ac_err=`grep -v '^ *+' conftest.out` |
9426 if test -z "$ac_err"; then | 9483 if test -z "$ac_err"; then |
9427 rm -rf conftest* | 9484 rm -rf conftest* |
9428 eval "ac_cv_header_$ac_safe=yes" | 9485 eval "ac_cv_header_$ac_safe=yes" |
9429 else | 9486 else |
9446 | 9503 |
9447 else | 9504 else |
9448 echo "$ac_t""no" 1>&6 | 9505 echo "$ac_t""no" 1>&6 |
9449 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9506 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9450 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9507 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9451 echo "configure:9452: checking for sys/dir.h" >&5 | 9508 echo "configure:9509: checking for sys/dir.h" >&5 |
9452 | 9509 |
9453 cat > conftest.$ac_ext <<EOF | 9510 cat > conftest.$ac_ext <<EOF |
9454 #line 9455 "configure" | 9511 #line 9512 "configure" |
9455 #include "confdefs.h" | 9512 #include "confdefs.h" |
9456 #include <sys/dir.h> | 9513 #include <sys/dir.h> |
9457 EOF | 9514 EOF |
9458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9459 { (eval echo configure:9460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9516 { (eval echo configure:9517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9460 ac_err=`grep -v '^ *+' conftest.out` | 9517 ac_err=`grep -v '^ *+' conftest.out` |
9461 if test -z "$ac_err"; then | 9518 if test -z "$ac_err"; then |
9462 rm -rf conftest* | 9519 rm -rf conftest* |
9463 eval "ac_cv_header_$ac_safe=yes" | 9520 eval "ac_cv_header_$ac_safe=yes" |
9464 else | 9521 else |
9487 fi | 9544 fi |
9488 | 9545 |
9489 | 9546 |
9490 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9547 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9491 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9548 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9492 echo "configure:9493: checking for nlist.h" >&5 | 9549 echo "configure:9550: checking for nlist.h" >&5 |
9493 | 9550 |
9494 cat > conftest.$ac_ext <<EOF | 9551 cat > conftest.$ac_ext <<EOF |
9495 #line 9496 "configure" | 9552 #line 9553 "configure" |
9496 #include "confdefs.h" | 9553 #include "confdefs.h" |
9497 #include <nlist.h> | 9554 #include <nlist.h> |
9498 EOF | 9555 EOF |
9499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9500 { (eval echo configure:9501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9557 { (eval echo configure:9558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9501 ac_err=`grep -v '^ *+' conftest.out` | 9558 ac_err=`grep -v '^ *+' conftest.out` |
9502 if test -z "$ac_err"; then | 9559 if test -z "$ac_err"; then |
9503 rm -rf conftest* | 9560 rm -rf conftest* |
9504 eval "ac_cv_header_$ac_safe=yes" | 9561 eval "ac_cv_header_$ac_safe=yes" |
9505 else | 9562 else |
9525 fi | 9582 fi |
9526 | 9583 |
9527 | 9584 |
9528 | 9585 |
9529 echo "checking "for sound support"" 1>&6 | 9586 echo "checking "for sound support"" 1>&6 |
9530 echo "configure:9531: checking "for sound support"" >&5 | 9587 echo "configure:9588: checking "for sound support"" >&5 |
9531 case "$with_sound" in | 9588 case "$with_sound" in |
9532 native | both ) with_native_sound=yes;; | 9589 native | both ) with_native_sound=yes;; |
9533 nas | no ) with_native_sound=no;; | 9590 nas | no ) with_native_sound=no;; |
9534 esac | 9591 esac |
9535 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9592 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9536 | 9593 |
9537 if test "$with_native_sound" != "no"; then | 9594 if test "$with_native_sound" != "no"; then |
9538 if test -n "$native_sound_lib"; then | 9595 if test -n "$native_sound_lib"; then |
9539 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9596 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9540 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9597 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9541 echo "configure:9542: checking for multimedia/audio_device.h" >&5 | 9598 echo "configure:9599: checking for multimedia/audio_device.h" >&5 |
9542 | 9599 |
9543 cat > conftest.$ac_ext <<EOF | 9600 cat > conftest.$ac_ext <<EOF |
9544 #line 9545 "configure" | 9601 #line 9602 "configure" |
9545 #include "confdefs.h" | 9602 #include "confdefs.h" |
9546 #include <multimedia/audio_device.h> | 9603 #include <multimedia/audio_device.h> |
9547 EOF | 9604 EOF |
9548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9549 { (eval echo configure:9550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9606 { (eval echo configure:9607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9550 ac_err=`grep -v '^ *+' conftest.out` | 9607 ac_err=`grep -v '^ *+' conftest.out` |
9551 if test -z "$ac_err"; then | 9608 if test -z "$ac_err"; then |
9552 rm -rf conftest* | 9609 rm -rf conftest* |
9553 eval "ac_cv_header_$ac_safe=yes" | 9610 eval "ac_cv_header_$ac_safe=yes" |
9554 else | 9611 else |
9592 case "$canonical" in | 9649 case "$canonical" in |
9593 *-sgi-* ) | 9650 *-sgi-* ) |
9594 if test -z "$native_sound_lib"; then | 9651 if test -z "$native_sound_lib"; then |
9595 | 9652 |
9596 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9653 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9597 echo "configure:9598: checking for ALopenport in -laudio" >&5 | 9654 echo "configure:9655: checking for ALopenport in -laudio" >&5 |
9598 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9655 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9599 | 9656 |
9600 xe_check_libs=" -laudio " | 9657 xe_check_libs=" -laudio " |
9601 cat > conftest.$ac_ext <<EOF | 9658 cat > conftest.$ac_ext <<EOF |
9602 #line 9603 "configure" | 9659 #line 9660 "configure" |
9603 #include "confdefs.h" | 9660 #include "confdefs.h" |
9604 /* Override any gcc2 internal prototype to avoid an error. */ | 9661 /* Override any gcc2 internal prototype to avoid an error. */ |
9605 /* We use char because int might match the return type of a gcc2 | 9662 /* We use char because int might match the return type of a gcc2 |
9606 builtin and then its argument prototype would still apply. */ | 9663 builtin and then its argument prototype would still apply. */ |
9607 char ALopenport(); | 9664 char ALopenport(); |
9608 | 9665 |
9609 int main() { | 9666 int main() { |
9610 ALopenport() | 9667 ALopenport() |
9611 ; return 0; } | 9668 ; return 0; } |
9612 EOF | 9669 EOF |
9613 if { (eval echo configure:9614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9670 if { (eval echo configure:9671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9614 rm -rf conftest* | 9671 rm -rf conftest* |
9615 eval "ac_cv_lib_$ac_lib_var=yes" | 9672 eval "ac_cv_lib_$ac_lib_var=yes" |
9616 else | 9673 else |
9617 echo "configure: failed program was:" >&5 | 9674 echo "configure: failed program was:" >&5 |
9618 cat conftest.$ac_ext >&5 | 9675 cat conftest.$ac_ext >&5 |
9639 fi ;; | 9696 fi ;; |
9640 hppa*-hp-hpux* ) | 9697 hppa*-hp-hpux* ) |
9641 if test -z "$native_sound_lib"; then | 9698 if test -z "$native_sound_lib"; then |
9642 | 9699 |
9643 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9700 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9644 echo "configure:9645: checking for AOpenAudio in -lAlib" >&5 | 9701 echo "configure:9702: checking for AOpenAudio in -lAlib" >&5 |
9645 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9702 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9646 | 9703 |
9647 xe_check_libs=" -lAlib " | 9704 xe_check_libs=" -lAlib " |
9648 cat > conftest.$ac_ext <<EOF | 9705 cat > conftest.$ac_ext <<EOF |
9649 #line 9650 "configure" | 9706 #line 9707 "configure" |
9650 #include "confdefs.h" | 9707 #include "confdefs.h" |
9651 /* Override any gcc2 internal prototype to avoid an error. */ | 9708 /* Override any gcc2 internal prototype to avoid an error. */ |
9652 /* We use char because int might match the return type of a gcc2 | 9709 /* We use char because int might match the return type of a gcc2 |
9653 builtin and then its argument prototype would still apply. */ | 9710 builtin and then its argument prototype would still apply. */ |
9654 char AOpenAudio(); | 9711 char AOpenAudio(); |
9655 | 9712 |
9656 int main() { | 9713 int main() { |
9657 AOpenAudio() | 9714 AOpenAudio() |
9658 ; return 0; } | 9715 ; return 0; } |
9659 EOF | 9716 EOF |
9660 if { (eval echo configure:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9717 if { (eval echo configure:9718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9661 rm -rf conftest* | 9718 rm -rf conftest* |
9662 eval "ac_cv_lib_$ac_lib_var=yes" | 9719 eval "ac_cv_lib_$ac_lib_var=yes" |
9663 else | 9720 else |
9664 echo "configure: failed program was:" >&5 | 9721 echo "configure: failed program was:" >&5 |
9665 cat conftest.$ac_ext >&5 | 9722 cat conftest.$ac_ext >&5 |
9693 | 9750 |
9694 if test -z "$sound_found"; then | 9751 if test -z "$sound_found"; then |
9695 for dir in "machine" "sys" "linux"; do | 9752 for dir in "machine" "sys" "linux"; do |
9696 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9753 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9697 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9754 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9698 echo "configure:9699: checking for ${dir}/soundcard.h" >&5 | 9755 echo "configure:9756: checking for ${dir}/soundcard.h" >&5 |
9699 | 9756 |
9700 cat > conftest.$ac_ext <<EOF | 9757 cat > conftest.$ac_ext <<EOF |
9701 #line 9702 "configure" | 9758 #line 9759 "configure" |
9702 #include "confdefs.h" | 9759 #include "confdefs.h" |
9703 #include <${dir}/soundcard.h> | 9760 #include <${dir}/soundcard.h> |
9704 EOF | 9761 EOF |
9705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9706 { (eval echo configure:9707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9707 ac_err=`grep -v '^ *+' conftest.out` | 9764 ac_err=`grep -v '^ *+' conftest.out` |
9708 if test -z "$ac_err"; then | 9765 if test -z "$ac_err"; then |
9709 rm -rf conftest* | 9766 rm -rf conftest* |
9710 eval "ac_cv_header_$ac_safe=yes" | 9767 eval "ac_cv_header_$ac_safe=yes" |
9711 else | 9768 else |
9771 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9828 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
9772 echo " xemacs will be linked with \"nas.o\"" | 9829 echo " xemacs will be linked with \"nas.o\"" |
9773 fi | 9830 fi |
9774 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9831 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
9775 cat > conftest.$ac_ext <<EOF | 9832 cat > conftest.$ac_ext <<EOF |
9776 #line 9777 "configure" | 9833 #line 9834 "configure" |
9777 #include "confdefs.h" | 9834 #include "confdefs.h" |
9778 #include <audio/Xtutil.h> | 9835 #include <audio/Xtutil.h> |
9779 EOF | 9836 EOF |
9780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9781 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9838 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9798 | 9855 |
9799 test -z "$with_tty" && with_tty=yes | 9856 test -z "$with_tty" && with_tty=yes |
9800 | 9857 |
9801 if test "$with_tty" = "yes" ; then | 9858 if test "$with_tty" = "yes" ; then |
9802 echo "checking for TTY-related features" 1>&6 | 9859 echo "checking for TTY-related features" 1>&6 |
9803 echo "configure:9804: checking for TTY-related features" >&5 | 9860 echo "configure:9861: checking for TTY-related features" >&5 |
9804 { test "$extra_verbose" = "yes" && cat << \EOF | 9861 { test "$extra_verbose" = "yes" && cat << \EOF |
9805 Defining HAVE_TTY | 9862 Defining HAVE_TTY |
9806 EOF | 9863 EOF |
9807 cat >> confdefs.h <<\EOF | 9864 cat >> confdefs.h <<\EOF |
9808 #define HAVE_TTY 1 | 9865 #define HAVE_TTY 1 |
9814 fi | 9871 fi |
9815 | 9872 |
9816 if test -z "$with_ncurses"; then | 9873 if test -z "$with_ncurses"; then |
9817 | 9874 |
9818 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9875 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9819 echo "configure:9820: checking for tgetent in -lncurses" >&5 | 9876 echo "configure:9877: checking for tgetent in -lncurses" >&5 |
9820 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9877 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9821 | 9878 |
9822 xe_check_libs=" -lncurses " | 9879 xe_check_libs=" -lncurses " |
9823 cat > conftest.$ac_ext <<EOF | 9880 cat > conftest.$ac_ext <<EOF |
9824 #line 9825 "configure" | 9881 #line 9882 "configure" |
9825 #include "confdefs.h" | 9882 #include "confdefs.h" |
9826 /* Override any gcc2 internal prototype to avoid an error. */ | 9883 /* Override any gcc2 internal prototype to avoid an error. */ |
9827 /* We use char because int might match the return type of a gcc2 | 9884 /* We use char because int might match the return type of a gcc2 |
9828 builtin and then its argument prototype would still apply. */ | 9885 builtin and then its argument prototype would still apply. */ |
9829 char tgetent(); | 9886 char tgetent(); |
9830 | 9887 |
9831 int main() { | 9888 int main() { |
9832 tgetent() | 9889 tgetent() |
9833 ; return 0; } | 9890 ; return 0; } |
9834 EOF | 9891 EOF |
9835 if { (eval echo configure:9836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9892 if { (eval echo configure:9893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9836 rm -rf conftest* | 9893 rm -rf conftest* |
9837 eval "ac_cv_lib_$ac_lib_var=yes" | 9894 eval "ac_cv_lib_$ac_lib_var=yes" |
9838 else | 9895 else |
9839 echo "configure: failed program was:" >&5 | 9896 echo "configure: failed program was:" >&5 |
9840 cat conftest.$ac_ext >&5 | 9897 cat conftest.$ac_ext >&5 |
9863 EOF | 9920 EOF |
9864 } | 9921 } |
9865 | 9922 |
9866 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9923 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9867 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9924 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9868 echo "configure:9869: checking for ncurses/curses.h" >&5 | 9925 echo "configure:9926: checking for ncurses/curses.h" >&5 |
9869 | 9926 |
9870 cat > conftest.$ac_ext <<EOF | 9927 cat > conftest.$ac_ext <<EOF |
9871 #line 9872 "configure" | 9928 #line 9929 "configure" |
9872 #include "confdefs.h" | 9929 #include "confdefs.h" |
9873 #include <ncurses/curses.h> | 9930 #include <ncurses/curses.h> |
9874 EOF | 9931 EOF |
9875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9876 { (eval echo configure:9877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9933 { (eval echo configure:9934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9877 ac_err=`grep -v '^ *+' conftest.out` | 9934 ac_err=`grep -v '^ *+' conftest.out` |
9878 if test -z "$ac_err"; then | 9935 if test -z "$ac_err"; then |
9879 rm -rf conftest* | 9936 rm -rf conftest* |
9880 eval "ac_cv_header_$ac_safe=yes" | 9937 eval "ac_cv_header_$ac_safe=yes" |
9881 else | 9938 else |
9893 echo "$ac_t""no" 1>&6 | 9950 echo "$ac_t""no" 1>&6 |
9894 fi | 9951 fi |
9895 | 9952 |
9896 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9953 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9897 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9954 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9898 echo "configure:9899: checking for ncurses/term.h" >&5 | 9955 echo "configure:9956: checking for ncurses/term.h" >&5 |
9899 | 9956 |
9900 cat > conftest.$ac_ext <<EOF | 9957 cat > conftest.$ac_ext <<EOF |
9901 #line 9902 "configure" | 9958 #line 9959 "configure" |
9902 #include "confdefs.h" | 9959 #include "confdefs.h" |
9903 #include <ncurses/term.h> | 9960 #include <ncurses/term.h> |
9904 EOF | 9961 EOF |
9905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9962 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9906 { (eval echo configure:9907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9963 { (eval echo configure:9964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9907 ac_err=`grep -v '^ *+' conftest.out` | 9964 ac_err=`grep -v '^ *+' conftest.out` |
9908 if test -z "$ac_err"; then | 9965 if test -z "$ac_err"; then |
9909 rm -rf conftest* | 9966 rm -rf conftest* |
9910 eval "ac_cv_header_$ac_safe=yes" | 9967 eval "ac_cv_header_$ac_safe=yes" |
9911 else | 9968 else |
9931 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9988 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9932 save_c_switch_site="$c_switch_site" | 9989 save_c_switch_site="$c_switch_site" |
9933 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9990 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9934 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9991 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9935 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9992 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9936 echo "configure:9937: checking for ncurses/curses.h" >&5 | 9993 echo "configure:9994: checking for ncurses/curses.h" >&5 |
9937 | 9994 |
9938 cat > conftest.$ac_ext <<EOF | 9995 cat > conftest.$ac_ext <<EOF |
9939 #line 9940 "configure" | 9996 #line 9997 "configure" |
9940 #include "confdefs.h" | 9997 #include "confdefs.h" |
9941 #include <ncurses/curses.h> | 9998 #include <ncurses/curses.h> |
9942 EOF | 9999 EOF |
9943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10000 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9944 { (eval echo configure:9945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10001 { (eval echo configure:10002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9945 ac_err=`grep -v '^ *+' conftest.out` | 10002 ac_err=`grep -v '^ *+' conftest.out` |
9946 if test -z "$ac_err"; then | 10003 if test -z "$ac_err"; then |
9947 rm -rf conftest* | 10004 rm -rf conftest* |
9948 eval "ac_cv_header_$ac_safe=yes" | 10005 eval "ac_cv_header_$ac_safe=yes" |
9949 else | 10006 else |
9974 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10031 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9975 else | 10032 else |
9976 for lib in curses termlib termcap; do | 10033 for lib in curses termlib termcap; do |
9977 | 10034 |
9978 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10035 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9979 echo "configure:9980: checking for tgetent in -l$lib" >&5 | 10036 echo "configure:10037: checking for tgetent in -l$lib" >&5 |
9980 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10037 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9981 | 10038 |
9982 xe_check_libs=" -l$lib " | 10039 xe_check_libs=" -l$lib " |
9983 cat > conftest.$ac_ext <<EOF | 10040 cat > conftest.$ac_ext <<EOF |
9984 #line 9985 "configure" | 10041 #line 10042 "configure" |
9985 #include "confdefs.h" | 10042 #include "confdefs.h" |
9986 /* Override any gcc2 internal prototype to avoid an error. */ | 10043 /* Override any gcc2 internal prototype to avoid an error. */ |
9987 /* We use char because int might match the return type of a gcc2 | 10044 /* We use char because int might match the return type of a gcc2 |
9988 builtin and then its argument prototype would still apply. */ | 10045 builtin and then its argument prototype would still apply. */ |
9989 char tgetent(); | 10046 char tgetent(); |
9990 | 10047 |
9991 int main() { | 10048 int main() { |
9992 tgetent() | 10049 tgetent() |
9993 ; return 0; } | 10050 ; return 0; } |
9994 EOF | 10051 EOF |
9995 if { (eval echo configure:9996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10052 if { (eval echo configure:10053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9996 rm -rf conftest* | 10053 rm -rf conftest* |
9997 eval "ac_cv_lib_$ac_lib_var=yes" | 10054 eval "ac_cv_lib_$ac_lib_var=yes" |
9998 else | 10055 else |
9999 echo "configure: failed program was:" >&5 | 10056 echo "configure: failed program was:" >&5 |
10000 cat conftest.$ac_ext >&5 | 10057 cat conftest.$ac_ext >&5 |
10021 if test -n "$libs_termcap"; then | 10078 if test -n "$libs_termcap"; then |
10022 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10079 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10023 else | 10080 else |
10024 | 10081 |
10025 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10082 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10026 echo "configure:10027: checking for tgetent in -lcurses" >&5 | 10083 echo "configure:10084: checking for tgetent in -lcurses" >&5 |
10027 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10084 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10028 | 10085 |
10029 xe_check_libs=" -lcurses " | 10086 xe_check_libs=" -lcurses " |
10030 cat > conftest.$ac_ext <<EOF | 10087 cat > conftest.$ac_ext <<EOF |
10031 #line 10032 "configure" | 10088 #line 10089 "configure" |
10032 #include "confdefs.h" | 10089 #include "confdefs.h" |
10033 /* Override any gcc2 internal prototype to avoid an error. */ | 10090 /* Override any gcc2 internal prototype to avoid an error. */ |
10034 /* We use char because int might match the return type of a gcc2 | 10091 /* We use char because int might match the return type of a gcc2 |
10035 builtin and then its argument prototype would still apply. */ | 10092 builtin and then its argument prototype would still apply. */ |
10036 char tgetent(); | 10093 char tgetent(); |
10037 | 10094 |
10038 int main() { | 10095 int main() { |
10039 tgetent() | 10096 tgetent() |
10040 ; return 0; } | 10097 ; return 0; } |
10041 EOF | 10098 EOF |
10042 if { (eval echo configure:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10099 if { (eval echo configure:10100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10043 rm -rf conftest* | 10100 rm -rf conftest* |
10044 eval "ac_cv_lib_$ac_lib_var=yes" | 10101 eval "ac_cv_lib_$ac_lib_var=yes" |
10045 else | 10102 else |
10046 echo "configure: failed program was:" >&5 | 10103 echo "configure: failed program was:" >&5 |
10047 cat conftest.$ac_ext >&5 | 10104 cat conftest.$ac_ext >&5 |
10055 echo "$ac_t""yes" 1>&6 | 10112 echo "$ac_t""yes" 1>&6 |
10056 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10113 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10057 else | 10114 else |
10058 echo "$ac_t""no" 1>&6 | 10115 echo "$ac_t""no" 1>&6 |
10059 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10116 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10060 echo "configure:10061: checking for tgetent in -ltermcap" >&5 | 10117 echo "configure:10118: checking for tgetent in -ltermcap" >&5 |
10061 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10118 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10062 | 10119 |
10063 xe_check_libs=" -ltermcap " | 10120 xe_check_libs=" -ltermcap " |
10064 cat > conftest.$ac_ext <<EOF | 10121 cat > conftest.$ac_ext <<EOF |
10065 #line 10066 "configure" | 10122 #line 10123 "configure" |
10066 #include "confdefs.h" | 10123 #include "confdefs.h" |
10067 /* Override any gcc2 internal prototype to avoid an error. */ | 10124 /* Override any gcc2 internal prototype to avoid an error. */ |
10068 /* We use char because int might match the return type of a gcc2 | 10125 /* We use char because int might match the return type of a gcc2 |
10069 builtin and then its argument prototype would still apply. */ | 10126 builtin and then its argument prototype would still apply. */ |
10070 char tgetent(); | 10127 char tgetent(); |
10071 | 10128 |
10072 int main() { | 10129 int main() { |
10073 tgetent() | 10130 tgetent() |
10074 ; return 0; } | 10131 ; return 0; } |
10075 EOF | 10132 EOF |
10076 if { (eval echo configure:10077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10133 if { (eval echo configure:10134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10077 rm -rf conftest* | 10134 rm -rf conftest* |
10078 eval "ac_cv_lib_$ac_lib_var=yes" | 10135 eval "ac_cv_lib_$ac_lib_var=yes" |
10079 else | 10136 else |
10080 echo "configure: failed program was:" >&5 | 10137 echo "configure: failed program was:" >&5 |
10081 cat conftest.$ac_ext >&5 | 10138 cat conftest.$ac_ext >&5 |
10119 } | 10176 } |
10120 | 10177 |
10121 | 10178 |
10122 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10179 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10123 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10180 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10124 echo "configure:10125: checking for gpm.h" >&5 | 10181 echo "configure:10182: checking for gpm.h" >&5 |
10125 | 10182 |
10126 cat > conftest.$ac_ext <<EOF | 10183 cat > conftest.$ac_ext <<EOF |
10127 #line 10128 "configure" | 10184 #line 10185 "configure" |
10128 #include "confdefs.h" | 10185 #include "confdefs.h" |
10129 #include <gpm.h> | 10186 #include <gpm.h> |
10130 EOF | 10187 EOF |
10131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10132 { (eval echo configure:10133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10189 { (eval echo configure:10190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10133 ac_err=`grep -v '^ *+' conftest.out` | 10190 ac_err=`grep -v '^ *+' conftest.out` |
10134 if test -z "$ac_err"; then | 10191 if test -z "$ac_err"; then |
10135 rm -rf conftest* | 10192 rm -rf conftest* |
10136 eval "ac_cv_header_$ac_safe=yes" | 10193 eval "ac_cv_header_$ac_safe=yes" |
10137 else | 10194 else |
10150 with_gpm=no | 10207 with_gpm=no |
10151 fi | 10208 fi |
10152 } | 10209 } |
10153 test -z "$with_gpm" && { | 10210 test -z "$with_gpm" && { |
10154 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10211 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10155 echo "configure:10156: checking for Gpm_Open in -lgpm" >&5 | 10212 echo "configure:10213: checking for Gpm_Open in -lgpm" >&5 |
10156 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10213 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10157 | 10214 |
10158 xe_check_libs=" -lgpm " | 10215 xe_check_libs=" -lgpm " |
10159 cat > conftest.$ac_ext <<EOF | 10216 cat > conftest.$ac_ext <<EOF |
10160 #line 10161 "configure" | 10217 #line 10218 "configure" |
10161 #include "confdefs.h" | 10218 #include "confdefs.h" |
10162 /* Override any gcc2 internal prototype to avoid an error. */ | 10219 /* Override any gcc2 internal prototype to avoid an error. */ |
10163 /* We use char because int might match the return type of a gcc2 | 10220 /* We use char because int might match the return type of a gcc2 |
10164 builtin and then its argument prototype would still apply. */ | 10221 builtin and then its argument prototype would still apply. */ |
10165 char Gpm_Open(); | 10222 char Gpm_Open(); |
10166 | 10223 |
10167 int main() { | 10224 int main() { |
10168 Gpm_Open() | 10225 Gpm_Open() |
10169 ; return 0; } | 10226 ; return 0; } |
10170 EOF | 10227 EOF |
10171 if { (eval echo configure:10172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10228 if { (eval echo configure:10229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10172 rm -rf conftest* | 10229 rm -rf conftest* |
10173 eval "ac_cv_lib_$ac_lib_var=yes" | 10230 eval "ac_cv_lib_$ac_lib_var=yes" |
10174 else | 10231 else |
10175 echo "configure: failed program was:" >&5 | 10232 echo "configure: failed program was:" >&5 |
10176 cat conftest.$ac_ext >&5 | 10233 cat conftest.$ac_ext >&5 |
10215 echo " xemacs will be linked with \"event-unixoid.o\"" | 10272 echo " xemacs will be linked with \"event-unixoid.o\"" |
10216 fi | 10273 fi |
10217 | 10274 |
10218 | 10275 |
10219 echo "checking for database support" 1>&6 | 10276 echo "checking for database support" 1>&6 |
10220 echo "configure:10221: checking for database support" >&5 | 10277 echo "configure:10278: checking for database support" >&5 |
10221 | 10278 |
10222 if test "$with_database_gnudbm" != "no"; then | 10279 if test "$with_database_gnudbm" != "no"; then |
10223 for ac_hdr in ndbm.h | 10280 for ac_hdr in ndbm.h |
10224 do | 10281 do |
10225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10282 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10283 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10227 echo "configure:10228: checking for $ac_hdr" >&5 | 10284 echo "configure:10285: checking for $ac_hdr" >&5 |
10228 | 10285 |
10229 cat > conftest.$ac_ext <<EOF | 10286 cat > conftest.$ac_ext <<EOF |
10230 #line 10231 "configure" | 10287 #line 10288 "configure" |
10231 #include "confdefs.h" | 10288 #include "confdefs.h" |
10232 #include <$ac_hdr> | 10289 #include <$ac_hdr> |
10233 EOF | 10290 EOF |
10234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10235 { (eval echo configure:10236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10236 ac_err=`grep -v '^ *+' conftest.out` | 10293 ac_err=`grep -v '^ *+' conftest.out` |
10237 if test -z "$ac_err"; then | 10294 if test -z "$ac_err"; then |
10238 rm -rf conftest* | 10295 rm -rf conftest* |
10239 eval "ac_cv_header_$ac_safe=yes" | 10296 eval "ac_cv_header_$ac_safe=yes" |
10240 else | 10297 else |
10262 done | 10319 done |
10263 | 10320 |
10264 if test "$have_ndbm_h" = "yes"; then | 10321 if test "$have_ndbm_h" = "yes"; then |
10265 | 10322 |
10266 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10323 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10267 echo "configure:10268: checking for dbm_open in -lgdbm" >&5 | 10324 echo "configure:10325: checking for dbm_open in -lgdbm" >&5 |
10268 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10325 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10269 | 10326 |
10270 xe_check_libs=" -lgdbm " | 10327 xe_check_libs=" -lgdbm " |
10271 cat > conftest.$ac_ext <<EOF | 10328 cat > conftest.$ac_ext <<EOF |
10272 #line 10273 "configure" | 10329 #line 10330 "configure" |
10273 #include "confdefs.h" | 10330 #include "confdefs.h" |
10274 /* Override any gcc2 internal prototype to avoid an error. */ | 10331 /* Override any gcc2 internal prototype to avoid an error. */ |
10275 /* We use char because int might match the return type of a gcc2 | 10332 /* We use char because int might match the return type of a gcc2 |
10276 builtin and then its argument prototype would still apply. */ | 10333 builtin and then its argument prototype would still apply. */ |
10277 char dbm_open(); | 10334 char dbm_open(); |
10278 | 10335 |
10279 int main() { | 10336 int main() { |
10280 dbm_open() | 10337 dbm_open() |
10281 ; return 0; } | 10338 ; return 0; } |
10282 EOF | 10339 EOF |
10283 if { (eval echo configure:10284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10340 if { (eval echo configure:10341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10284 rm -rf conftest* | 10341 rm -rf conftest* |
10285 eval "ac_cv_lib_$ac_lib_var=yes" | 10342 eval "ac_cv_lib_$ac_lib_var=yes" |
10286 else | 10343 else |
10287 echo "configure: failed program was:" >&5 | 10344 echo "configure: failed program was:" >&5 |
10288 cat conftest.$ac_ext >&5 | 10345 cat conftest.$ac_ext >&5 |
10301 | 10358 |
10302 | 10359 |
10303 fi | 10360 fi |
10304 if test "$with_database_gnudbm" != "yes"; then | 10361 if test "$with_database_gnudbm" != "yes"; then |
10305 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10362 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10306 echo "configure:10307: checking for dbm_open" >&5 | 10363 echo "configure:10364: checking for dbm_open" >&5 |
10307 | 10364 |
10308 cat > conftest.$ac_ext <<EOF | 10365 cat > conftest.$ac_ext <<EOF |
10309 #line 10310 "configure" | 10366 #line 10367 "configure" |
10310 #include "confdefs.h" | 10367 #include "confdefs.h" |
10311 /* System header to define __stub macros and hopefully few prototypes, | 10368 /* System header to define __stub macros and hopefully few prototypes, |
10312 which can conflict with char dbm_open(); below. */ | 10369 which can conflict with char dbm_open(); below. */ |
10313 #include <assert.h> | 10370 #include <assert.h> |
10314 /* Override any gcc2 internal prototype to avoid an error. */ | 10371 /* Override any gcc2 internal prototype to avoid an error. */ |
10327 dbm_open(); | 10384 dbm_open(); |
10328 #endif | 10385 #endif |
10329 | 10386 |
10330 ; return 0; } | 10387 ; return 0; } |
10331 EOF | 10388 EOF |
10332 if { (eval echo configure:10333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10389 if { (eval echo configure:10390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10333 rm -rf conftest* | 10390 rm -rf conftest* |
10334 eval "ac_cv_func_dbm_open=yes" | 10391 eval "ac_cv_func_dbm_open=yes" |
10335 else | 10392 else |
10336 echo "configure: failed program was:" >&5 | 10393 echo "configure: failed program was:" >&5 |
10337 cat conftest.$ac_ext >&5 | 10394 cat conftest.$ac_ext >&5 |
10363 fi | 10420 fi |
10364 fi | 10421 fi |
10365 | 10422 |
10366 if test "$with_database_dbm" != "no"; then | 10423 if test "$with_database_dbm" != "no"; then |
10367 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10424 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10368 echo "configure:10369: checking for dbm_open" >&5 | 10425 echo "configure:10426: checking for dbm_open" >&5 |
10369 | 10426 |
10370 cat > conftest.$ac_ext <<EOF | 10427 cat > conftest.$ac_ext <<EOF |
10371 #line 10372 "configure" | 10428 #line 10429 "configure" |
10372 #include "confdefs.h" | 10429 #include "confdefs.h" |
10373 /* System header to define __stub macros and hopefully few prototypes, | 10430 /* System header to define __stub macros and hopefully few prototypes, |
10374 which can conflict with char dbm_open(); below. */ | 10431 which can conflict with char dbm_open(); below. */ |
10375 #include <assert.h> | 10432 #include <assert.h> |
10376 /* Override any gcc2 internal prototype to avoid an error. */ | 10433 /* Override any gcc2 internal prototype to avoid an error. */ |
10389 dbm_open(); | 10446 dbm_open(); |
10390 #endif | 10447 #endif |
10391 | 10448 |
10392 ; return 0; } | 10449 ; return 0; } |
10393 EOF | 10450 EOF |
10394 if { (eval echo configure:10395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10451 if { (eval echo configure:10452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10395 rm -rf conftest* | 10452 rm -rf conftest* |
10396 eval "ac_cv_func_dbm_open=yes" | 10453 eval "ac_cv_func_dbm_open=yes" |
10397 else | 10454 else |
10398 echo "configure: failed program was:" >&5 | 10455 echo "configure: failed program was:" >&5 |
10399 cat conftest.$ac_ext >&5 | 10456 cat conftest.$ac_ext >&5 |
10410 fi | 10467 fi |
10411 | 10468 |
10412 if test "$need_libdbm" != "no"; then | 10469 if test "$need_libdbm" != "no"; then |
10413 | 10470 |
10414 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10471 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
10415 echo "configure:10416: checking for dbm_open in -ldbm" >&5 | 10472 echo "configure:10473: checking for dbm_open in -ldbm" >&5 |
10416 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10473 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10417 | 10474 |
10418 xe_check_libs=" -ldbm " | 10475 xe_check_libs=" -ldbm " |
10419 cat > conftest.$ac_ext <<EOF | 10476 cat > conftest.$ac_ext <<EOF |
10420 #line 10421 "configure" | 10477 #line 10478 "configure" |
10421 #include "confdefs.h" | 10478 #include "confdefs.h" |
10422 /* Override any gcc2 internal prototype to avoid an error. */ | 10479 /* Override any gcc2 internal prototype to avoid an error. */ |
10423 /* We use char because int might match the return type of a gcc2 | 10480 /* We use char because int might match the return type of a gcc2 |
10424 builtin and then its argument prototype would still apply. */ | 10481 builtin and then its argument prototype would still apply. */ |
10425 char dbm_open(); | 10482 char dbm_open(); |
10426 | 10483 |
10427 int main() { | 10484 int main() { |
10428 dbm_open() | 10485 dbm_open() |
10429 ; return 0; } | 10486 ; return 0; } |
10430 EOF | 10487 EOF |
10431 if { (eval echo configure:10432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10488 if { (eval echo configure:10489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10432 rm -rf conftest* | 10489 rm -rf conftest* |
10433 eval "ac_cv_lib_$ac_lib_var=yes" | 10490 eval "ac_cv_lib_$ac_lib_var=yes" |
10434 else | 10491 else |
10435 echo "configure: failed program was:" >&5 | 10492 echo "configure: failed program was:" >&5 |
10436 cat conftest.$ac_ext >&5 | 10493 cat conftest.$ac_ext >&5 |
10463 fi | 10520 fi |
10464 fi | 10521 fi |
10465 | 10522 |
10466 if test "$with_database_berkdb" != "no"; then | 10523 if test "$with_database_berkdb" != "no"; then |
10467 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10524 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
10468 echo "configure:10469: checking for dbopen" >&5 | 10525 echo "configure:10526: checking for dbopen" >&5 |
10469 | 10526 |
10470 cat > conftest.$ac_ext <<EOF | 10527 cat > conftest.$ac_ext <<EOF |
10471 #line 10472 "configure" | 10528 #line 10529 "configure" |
10472 #include "confdefs.h" | 10529 #include "confdefs.h" |
10473 /* System header to define __stub macros and hopefully few prototypes, | 10530 /* System header to define __stub macros and hopefully few prototypes, |
10474 which can conflict with char dbopen(); below. */ | 10531 which can conflict with char dbopen(); below. */ |
10475 #include <assert.h> | 10532 #include <assert.h> |
10476 /* Override any gcc2 internal prototype to avoid an error. */ | 10533 /* Override any gcc2 internal prototype to avoid an error. */ |
10489 dbopen(); | 10546 dbopen(); |
10490 #endif | 10547 #endif |
10491 | 10548 |
10492 ; return 0; } | 10549 ; return 0; } |
10493 EOF | 10550 EOF |
10494 if { (eval echo configure:10495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10551 if { (eval echo configure:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10495 rm -rf conftest* | 10552 rm -rf conftest* |
10496 eval "ac_cv_func_dbopen=yes" | 10553 eval "ac_cv_func_dbopen=yes" |
10497 else | 10554 else |
10498 echo "configure: failed program was:" >&5 | 10555 echo "configure: failed program was:" >&5 |
10499 cat conftest.$ac_ext >&5 | 10556 cat conftest.$ac_ext >&5 |
10510 fi | 10567 fi |
10511 | 10568 |
10512 if test "$need_libdb" != "no"; then | 10569 if test "$need_libdb" != "no"; then |
10513 | 10570 |
10514 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10571 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
10515 echo "configure:10516: checking for dbopen in -ldb" >&5 | 10572 echo "configure:10573: checking for dbopen in -ldb" >&5 |
10516 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10573 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
10517 | 10574 |
10518 xe_check_libs=" -ldb " | 10575 xe_check_libs=" -ldb " |
10519 cat > conftest.$ac_ext <<EOF | 10576 cat > conftest.$ac_ext <<EOF |
10520 #line 10521 "configure" | 10577 #line 10578 "configure" |
10521 #include "confdefs.h" | 10578 #include "confdefs.h" |
10522 /* Override any gcc2 internal prototype to avoid an error. */ | 10579 /* Override any gcc2 internal prototype to avoid an error. */ |
10523 /* We use char because int might match the return type of a gcc2 | 10580 /* We use char because int might match the return type of a gcc2 |
10524 builtin and then its argument prototype would still apply. */ | 10581 builtin and then its argument prototype would still apply. */ |
10525 char dbopen(); | 10582 char dbopen(); |
10526 | 10583 |
10527 int main() { | 10584 int main() { |
10528 dbopen() | 10585 dbopen() |
10529 ; return 0; } | 10586 ; return 0; } |
10530 EOF | 10587 EOF |
10531 if { (eval echo configure:10532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10588 if { (eval echo configure:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10532 rm -rf conftest* | 10589 rm -rf conftest* |
10533 eval "ac_cv_lib_$ac_lib_var=yes" | 10590 eval "ac_cv_lib_$ac_lib_var=yes" |
10534 else | 10591 else |
10535 echo "configure: failed program was:" >&5 | 10592 echo "configure: failed program was:" >&5 |
10536 cat conftest.$ac_ext >&5 | 10593 cat conftest.$ac_ext >&5 |
10550 | 10607 |
10551 fi | 10608 fi |
10552 if test "$with_database_berkdb" = "yes"; then | 10609 if test "$with_database_berkdb" = "yes"; then |
10553 for path in "db/db.h" "db.h"; do | 10610 for path in "db/db.h" "db.h"; do |
10554 cat > conftest.$ac_ext <<EOF | 10611 cat > conftest.$ac_ext <<EOF |
10555 #line 10556 "configure" | 10612 #line 10613 "configure" |
10556 #include "confdefs.h" | 10613 #include "confdefs.h" |
10557 #ifdef HAVE_INTTYPES_H | 10614 #ifdef HAVE_INTTYPES_H |
10558 #define __BIT_TYPES_DEFINED__ | 10615 #define __BIT_TYPES_DEFINED__ |
10559 #include <inttypes.h> | 10616 #include <inttypes.h> |
10560 typedef uint8_t u_int8_t; | 10617 typedef uint8_t u_int8_t; |
10568 | 10625 |
10569 int main() { | 10626 int main() { |
10570 | 10627 |
10571 ; return 0; } | 10628 ; return 0; } |
10572 EOF | 10629 EOF |
10573 if { (eval echo configure:10574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10630 if { (eval echo configure:10631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10574 rm -rf conftest* | 10631 rm -rf conftest* |
10575 db_h_path="$path"; break | 10632 db_h_path="$path"; break |
10576 else | 10633 else |
10577 echo "configure: failed program was:" >&5 | 10634 echo "configure: failed program was:" >&5 |
10578 cat conftest.$ac_ext >&5 | 10635 cat conftest.$ac_ext >&5 |
10619 fi | 10676 fi |
10620 | 10677 |
10621 if test "$with_socks" = "yes"; then | 10678 if test "$with_socks" = "yes"; then |
10622 | 10679 |
10623 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10680 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10624 echo "configure:10625: checking for SOCKSinit in -lsocks" >&5 | 10681 echo "configure:10682: checking for SOCKSinit in -lsocks" >&5 |
10625 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10682 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10626 | 10683 |
10627 xe_check_libs=" -lsocks " | 10684 xe_check_libs=" -lsocks " |
10628 cat > conftest.$ac_ext <<EOF | 10685 cat > conftest.$ac_ext <<EOF |
10629 #line 10630 "configure" | 10686 #line 10687 "configure" |
10630 #include "confdefs.h" | 10687 #include "confdefs.h" |
10631 /* Override any gcc2 internal prototype to avoid an error. */ | 10688 /* Override any gcc2 internal prototype to avoid an error. */ |
10632 /* We use char because int might match the return type of a gcc2 | 10689 /* We use char because int might match the return type of a gcc2 |
10633 builtin and then its argument prototype would still apply. */ | 10690 builtin and then its argument prototype would still apply. */ |
10634 char SOCKSinit(); | 10691 char SOCKSinit(); |
10635 | 10692 |
10636 int main() { | 10693 int main() { |
10637 SOCKSinit() | 10694 SOCKSinit() |
10638 ; return 0; } | 10695 ; return 0; } |
10639 EOF | 10696 EOF |
10640 if { (eval echo configure:10641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10697 if { (eval echo configure:10698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10641 rm -rf conftest* | 10698 rm -rf conftest* |
10642 eval "ac_cv_lib_$ac_lib_var=yes" | 10699 eval "ac_cv_lib_$ac_lib_var=yes" |
10643 else | 10700 else |
10644 echo "configure: failed program was:" >&5 | 10701 echo "configure: failed program was:" >&5 |
10645 cat conftest.$ac_ext >&5 | 10702 cat conftest.$ac_ext >&5 |
10692 | 10749 |
10693 for ac_hdr in dlfcn.h | 10750 for ac_hdr in dlfcn.h |
10694 do | 10751 do |
10695 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10752 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10696 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10753 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10697 echo "configure:10698: checking for $ac_hdr" >&5 | 10754 echo "configure:10755: checking for $ac_hdr" >&5 |
10698 | 10755 |
10699 cat > conftest.$ac_ext <<EOF | 10756 cat > conftest.$ac_ext <<EOF |
10700 #line 10701 "configure" | 10757 #line 10758 "configure" |
10701 #include "confdefs.h" | 10758 #include "confdefs.h" |
10702 #include <$ac_hdr> | 10759 #include <$ac_hdr> |
10703 EOF | 10760 EOF |
10704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10705 { (eval echo configure:10706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10762 { (eval echo configure:10763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10706 ac_err=`grep -v '^ *+' conftest.out` | 10763 ac_err=`grep -v '^ *+' conftest.out` |
10707 if test -z "$ac_err"; then | 10764 if test -z "$ac_err"; then |
10708 rm -rf conftest* | 10765 rm -rf conftest* |
10709 eval "ac_cv_header_$ac_safe=yes" | 10766 eval "ac_cv_header_$ac_safe=yes" |
10710 else | 10767 else |
10731 fi | 10788 fi |
10732 done | 10789 done |
10733 | 10790 |
10734 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10791 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10735 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10792 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
10736 echo "configure:10737: checking for dlopen in -ldl" >&5 | 10793 echo "configure:10794: checking for dlopen in -ldl" >&5 |
10737 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10794 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
10738 | 10795 |
10739 xe_check_libs=" -ldl " | 10796 xe_check_libs=" -ldl " |
10740 cat > conftest.$ac_ext <<EOF | 10797 cat > conftest.$ac_ext <<EOF |
10741 #line 10742 "configure" | 10798 #line 10799 "configure" |
10742 #include "confdefs.h" | 10799 #include "confdefs.h" |
10743 /* Override any gcc2 internal prototype to avoid an error. */ | 10800 /* Override any gcc2 internal prototype to avoid an error. */ |
10744 /* We use char because int might match the return type of a gcc2 | 10801 /* We use char because int might match the return type of a gcc2 |
10745 builtin and then its argument prototype would still apply. */ | 10802 builtin and then its argument prototype would still apply. */ |
10746 char dlopen(); | 10803 char dlopen(); |
10747 | 10804 |
10748 int main() { | 10805 int main() { |
10749 dlopen() | 10806 dlopen() |
10750 ; return 0; } | 10807 ; return 0; } |
10751 EOF | 10808 EOF |
10752 if { (eval echo configure:10753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10809 if { (eval echo configure:10810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10753 rm -rf conftest* | 10810 rm -rf conftest* |
10754 eval "ac_cv_lib_$ac_lib_var=yes" | 10811 eval "ac_cv_lib_$ac_lib_var=yes" |
10755 else | 10812 else |
10756 echo "configure: failed program was:" >&5 | 10813 echo "configure: failed program was:" >&5 |
10757 cat conftest.$ac_ext >&5 | 10814 cat conftest.$ac_ext >&5 |
10776 fi | 10833 fi |
10777 | 10834 |
10778 } | 10835 } |
10779 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10836 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10780 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 10837 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
10781 echo "configure:10782: checking for _dlopen in -lc" >&5 | 10838 echo "configure:10839: checking for _dlopen in -lc" >&5 |
10782 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 10839 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
10783 | 10840 |
10784 xe_check_libs=" -lc " | 10841 xe_check_libs=" -lc " |
10785 cat > conftest.$ac_ext <<EOF | 10842 cat > conftest.$ac_ext <<EOF |
10786 #line 10787 "configure" | 10843 #line 10844 "configure" |
10787 #include "confdefs.h" | 10844 #include "confdefs.h" |
10788 /* Override any gcc2 internal prototype to avoid an error. */ | 10845 /* Override any gcc2 internal prototype to avoid an error. */ |
10789 /* We use char because int might match the return type of a gcc2 | 10846 /* We use char because int might match the return type of a gcc2 |
10790 builtin and then its argument prototype would still apply. */ | 10847 builtin and then its argument prototype would still apply. */ |
10791 char _dlopen(); | 10848 char _dlopen(); |
10792 | 10849 |
10793 int main() { | 10850 int main() { |
10794 _dlopen() | 10851 _dlopen() |
10795 ; return 0; } | 10852 ; return 0; } |
10796 EOF | 10853 EOF |
10797 if { (eval echo configure:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10854 if { (eval echo configure:10855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10798 rm -rf conftest* | 10855 rm -rf conftest* |
10799 eval "ac_cv_lib_$ac_lib_var=yes" | 10856 eval "ac_cv_lib_$ac_lib_var=yes" |
10800 else | 10857 else |
10801 echo "configure: failed program was:" >&5 | 10858 echo "configure: failed program was:" >&5 |
10802 cat conftest.$ac_ext >&5 | 10859 cat conftest.$ac_ext >&5 |
10821 fi | 10878 fi |
10822 | 10879 |
10823 } | 10880 } |
10824 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10881 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10825 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 10882 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
10826 echo "configure:10827: checking for dlopen in -lc" >&5 | 10883 echo "configure:10884: checking for dlopen in -lc" >&5 |
10827 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 10884 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
10828 | 10885 |
10829 xe_check_libs=" -lc " | 10886 xe_check_libs=" -lc " |
10830 cat > conftest.$ac_ext <<EOF | 10887 cat > conftest.$ac_ext <<EOF |
10831 #line 10832 "configure" | 10888 #line 10889 "configure" |
10832 #include "confdefs.h" | 10889 #include "confdefs.h" |
10833 /* Override any gcc2 internal prototype to avoid an error. */ | 10890 /* Override any gcc2 internal prototype to avoid an error. */ |
10834 /* We use char because int might match the return type of a gcc2 | 10891 /* We use char because int might match the return type of a gcc2 |
10835 builtin and then its argument prototype would still apply. */ | 10892 builtin and then its argument prototype would still apply. */ |
10836 char dlopen(); | 10893 char dlopen(); |
10837 | 10894 |
10838 int main() { | 10895 int main() { |
10839 dlopen() | 10896 dlopen() |
10840 ; return 0; } | 10897 ; return 0; } |
10841 EOF | 10898 EOF |
10842 if { (eval echo configure:10843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10899 if { (eval echo configure:10900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10843 rm -rf conftest* | 10900 rm -rf conftest* |
10844 eval "ac_cv_lib_$ac_lib_var=yes" | 10901 eval "ac_cv_lib_$ac_lib_var=yes" |
10845 else | 10902 else |
10846 echo "configure: failed program was:" >&5 | 10903 echo "configure: failed program was:" >&5 |
10847 cat conftest.$ac_ext >&5 | 10904 cat conftest.$ac_ext >&5 |
10866 fi | 10923 fi |
10867 | 10924 |
10868 } | 10925 } |
10869 test -z "$with_shlib" && { | 10926 test -z "$with_shlib" && { |
10870 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 10927 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
10871 echo "configure:10872: checking for shl_load in -ldld" >&5 | 10928 echo "configure:10929: checking for shl_load in -ldld" >&5 |
10872 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 10929 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
10873 | 10930 |
10874 xe_check_libs=" -ldld " | 10931 xe_check_libs=" -ldld " |
10875 cat > conftest.$ac_ext <<EOF | 10932 cat > conftest.$ac_ext <<EOF |
10876 #line 10877 "configure" | 10933 #line 10934 "configure" |
10877 #include "confdefs.h" | 10934 #include "confdefs.h" |
10878 /* Override any gcc2 internal prototype to avoid an error. */ | 10935 /* Override any gcc2 internal prototype to avoid an error. */ |
10879 /* We use char because int might match the return type of a gcc2 | 10936 /* We use char because int might match the return type of a gcc2 |
10880 builtin and then its argument prototype would still apply. */ | 10937 builtin and then its argument prototype would still apply. */ |
10881 char shl_load(); | 10938 char shl_load(); |
10882 | 10939 |
10883 int main() { | 10940 int main() { |
10884 shl_load() | 10941 shl_load() |
10885 ; return 0; } | 10942 ; return 0; } |
10886 EOF | 10943 EOF |
10887 if { (eval echo configure:10888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10944 if { (eval echo configure:10945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10888 rm -rf conftest* | 10945 rm -rf conftest* |
10889 eval "ac_cv_lib_$ac_lib_var=yes" | 10946 eval "ac_cv_lib_$ac_lib_var=yes" |
10890 else | 10947 else |
10891 echo "configure: failed program was:" >&5 | 10948 echo "configure: failed program was:" >&5 |
10892 cat conftest.$ac_ext >&5 | 10949 cat conftest.$ac_ext >&5 |
10911 fi | 10968 fi |
10912 | 10969 |
10913 } | 10970 } |
10914 test -z "$with_shlib" && { | 10971 test -z "$with_shlib" && { |
10915 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 10972 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
10916 echo "configure:10917: checking for dld_init in -ldld" >&5 | 10973 echo "configure:10974: checking for dld_init in -ldld" >&5 |
10917 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 10974 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
10918 | 10975 |
10919 xe_check_libs=" -ldld " | 10976 xe_check_libs=" -ldld " |
10920 cat > conftest.$ac_ext <<EOF | 10977 cat > conftest.$ac_ext <<EOF |
10921 #line 10922 "configure" | 10978 #line 10979 "configure" |
10922 #include "confdefs.h" | 10979 #include "confdefs.h" |
10923 /* Override any gcc2 internal prototype to avoid an error. */ | 10980 /* Override any gcc2 internal prototype to avoid an error. */ |
10924 /* We use char because int might match the return type of a gcc2 | 10981 /* We use char because int might match the return type of a gcc2 |
10925 builtin and then its argument prototype would still apply. */ | 10982 builtin and then its argument prototype would still apply. */ |
10926 char dld_init(); | 10983 char dld_init(); |
10927 | 10984 |
10928 int main() { | 10985 int main() { |
10929 dld_init() | 10986 dld_init() |
10930 ; return 0; } | 10987 ; return 0; } |
10931 EOF | 10988 EOF |
10932 if { (eval echo configure:10933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10989 if { (eval echo configure:10990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10933 rm -rf conftest* | 10990 rm -rf conftest* |
10934 eval "ac_cv_lib_$ac_lib_var=yes" | 10991 eval "ac_cv_lib_$ac_lib_var=yes" |
10935 else | 10992 else |
10936 echo "configure: failed program was:" >&5 | 10993 echo "configure: failed program was:" >&5 |
10937 cat conftest.$ac_ext >&5 | 10994 cat conftest.$ac_ext >&5 |
10977 dll_lflags="-shared" | 11034 dll_lflags="-shared" |
10978 dll_cflags="-r" | 11035 dll_cflags="-r" |
10979 dll_oflags="-o " | 11036 dll_oflags="-o " |
10980 | 11037 |
10981 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11038 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
10982 echo "configure:10983: checking how to build a shared library" >&5 | 11039 echo "configure:11040: checking how to build a shared library" >&5 |
10983 case `uname -rs` in | 11040 case `uname -rs` in |
10984 UNIX_SV*|UNIX_System_V*) | 11041 UNIX_SV*|UNIX_System_V*) |
10985 dll_lflags="-G" | 11042 dll_lflags="-G" |
10986 dll_cflags=-Kpic | 11043 dll_cflags=-Kpic |
10987 dll_ld="ld" | 11044 dll_ld="ld" |
11074 *) ;; | 11131 *) ;; |
11075 esac | 11132 esac |
11076 fi | 11133 fi |
11077 | 11134 |
11078 cat > conftest.$ac_ext <<EOF | 11135 cat > conftest.$ac_ext <<EOF |
11079 #line 11080 "configure" | 11136 #line 11137 "configure" |
11080 #include "confdefs.h" | 11137 #include "confdefs.h" |
11081 int main(int c,char *v[]){return 0;} | 11138 int main(int c,char *v[]){return 0;} |
11082 EOF | 11139 EOF |
11083 if { (eval echo configure:11084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 11140 if { (eval echo configure:11141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
11084 then | 11141 then |
11085 : | 11142 : |
11086 else | 11143 else |
11087 echo "configure: failed program was:" >&5 | 11144 echo "configure: failed program was:" >&5 |
11088 cat conftest.$ac_ext >&5 | 11145 cat conftest.$ac_ext >&5 |
11245 | 11302 |
11246 | 11303 |
11247 | 11304 |
11248 | 11305 |
11249 | 11306 |
11250 | 11307 INFODIR=$infodir |
11251 | 11308 while true; do |
11252 | 11309 case "$INFODIR" in |
11253 | 11310 *\$* ) eval "INFODIR=$INFODIR" ;; |
11254 | 11311 *) break ;; |
11255 | 11312 esac |
11256 | 11313 done |
11257 | 11314 |
11258 | 11315 |
11259 | 11316 |
11317 | |
11318 INFOPATH=$infopath | |
11319 while true; do | |
11320 case "$INFOPATH" in | |
11321 *\$* ) eval "INFOPATH=$INFOPATH" ;; | |
11322 *) break ;; | |
11323 esac | |
11324 done | |
11325 | |
11326 | |
11327 | |
11328 | |
11329 PACKAGE_PATH=$package_path | |
11330 while true; do | |
11331 case "$PACKAGE_PATH" in | |
11332 *\$* ) eval "PACKAGE_PATH=$PACKAGE_PATH" ;; | |
11333 *) break ;; | |
11334 esac | |
11335 done | |
11336 | |
11337 | |
11338 | |
11339 | |
11340 LISPDIR=$lispdir | |
11341 while true; do | |
11342 case "$LISPDIR" in | |
11343 *\$* ) eval "LISPDIR=$LISPDIR" ;; | |
11344 *) break ;; | |
11345 esac | |
11346 done | |
11347 | |
11348 | |
11349 | |
11350 | |
11351 SITELISPDIR=$sitelispdir | |
11352 while true; do | |
11353 case "$SITELISPDIR" in | |
11354 *\$* ) eval "SITELISPDIR=$SITELISPDIR" ;; | |
11355 *) break ;; | |
11356 esac | |
11357 done | |
11358 | |
11359 | |
11360 | |
11361 | |
11362 ETCDIR=$etcdir | |
11363 while true; do | |
11364 case "$ETCDIR" in | |
11365 *\$* ) eval "ETCDIR=$ETCDIR" ;; | |
11366 *) break ;; | |
11367 esac | |
11368 done | |
11369 | |
11370 | |
11371 | |
11372 | |
11373 LOCKDIR=$lockdir | |
11374 while true; do | |
11375 case "$LOCKDIR" in | |
11376 *\$* ) eval "LOCKDIR=$LOCKDIR" ;; | |
11377 *) break ;; | |
11378 esac | |
11379 done | |
11380 | |
11381 | |
11382 | |
11383 | |
11384 ARCHLIBDIR=$archlibdir | |
11385 while true; do | |
11386 case "$ARCHLIBDIR" in | |
11387 *\$* ) eval "ARCHLIBDIR=$ARCHLIBDIR" ;; | |
11388 *) break ;; | |
11389 esac | |
11390 done | |
11260 | 11391 |
11261 | 11392 |
11262 | 11393 |
11263 | 11394 |
11264 | 11395 |
11661 for file in $internal_makefile_list; do | 11792 for file in $internal_makefile_list; do |
11662 test "$file" = src/Makefile.in && \ | 11793 test "$file" = src/Makefile.in && \ |
11663 file="src/Makefile.in:src/Makefile.in.in:src/depend" | 11794 file="src/Makefile.in:src/Makefile.in.in:src/depend" |
11664 ac_output_files="${ac_output_files+$ac_output_files }$file" | 11795 ac_output_files="${ac_output_files+$ac_output_files }$file" |
11665 done | 11796 done |
11666 ac_output_files="$ac_output_files lib-src/config.values" | 11797 ac_output_files="$ac_output_files src/paths.h.in lib-src/config.values" |
11667 | 11798 |
11668 trap '' 1 2 15 | 11799 trap '' 1 2 15 |
11669 | 11800 |
11670 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 11801 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
11671 | 11802 |
11718 done | 11849 done |
11719 | 11850 |
11720 ac_given_srcdir=$srcdir | 11851 ac_given_srcdir=$srcdir |
11721 ac_given_INSTALL="$INSTALL" | 11852 ac_given_INSTALL="$INSTALL" |
11722 | 11853 |
11723 trap 'rm -fr `echo "$ac_output_files src/config.h lwlib/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | 11854 trap 'rm -fr `echo "$ac_output_files src/config.h src/paths.h lwlib/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
11724 EOF | 11855 EOF |
11725 cat >> $CONFIG_STATUS <<EOF | 11856 cat >> $CONFIG_STATUS <<EOF |
11726 | 11857 |
11727 # Protect against being on the right side of a sed subst in config.status. | 11858 # Protect against being on the right side of a sed subst in config.status. |
11728 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 11859 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
11767 s%@X_CFLAGS@%$X_CFLAGS%g | 11898 s%@X_CFLAGS@%$X_CFLAGS%g |
11768 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 11899 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
11769 s%@X_LIBS@%$X_LIBS%g | 11900 s%@X_LIBS@%$X_LIBS%g |
11770 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | 11901 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
11771 s%@libs_xauth@%$libs_xauth%g | 11902 s%@libs_xauth@%$libs_xauth%g |
11903 s%@dnd_objs@%$dnd_objs%g | |
11772 s%@lwlib_objs@%$lwlib_objs%g | 11904 s%@lwlib_objs@%$lwlib_objs%g |
11773 s%@ALLOCA@%$ALLOCA%g | 11905 s%@ALLOCA@%$ALLOCA%g |
11774 s%@dll_ld@%$dll_ld%g | 11906 s%@dll_ld@%$dll_ld%g |
11775 s%@dll_cflags@%$dll_cflags%g | 11907 s%@dll_cflags@%$dll_cflags%g |
11776 s%@dll_oflags@%$dll_oflags%g | 11908 s%@dll_oflags@%$dll_oflags%g |
11783 s%@configuration@%$configuration%g | 11915 s%@configuration@%$configuration%g |
11784 s%@canonical@%$canonical%g | 11916 s%@canonical@%$canonical%g |
11785 s%@srcdir@%$srcdir%g | 11917 s%@srcdir@%$srcdir%g |
11786 s%@pkgdir@%$pkgdir%g | 11918 s%@pkgdir@%$pkgdir%g |
11787 s%@statedir@%$statedir%g | 11919 s%@statedir@%$statedir%g |
11788 s%@infodir_user_defined@%$infodir_user_defined%g | 11920 s%@INFODIR_USER_DEFINED@%$INFODIR_USER_DEFINED%g |
11921 s%@INFODIR@%$INFODIR%g | |
11789 s%@infopath@%$infopath%g | 11922 s%@infopath@%$infopath%g |
11923 s%@INFOPATH_USER_DEFINED@%$INFOPATH_USER_DEFINED%g | |
11924 s%@INFOPATH@%$INFOPATH%g | |
11790 s%@package_path@%$package_path%g | 11925 s%@package_path@%$package_path%g |
11791 s%@package_path_user_defined@%$package_path_user_defined%g | 11926 s%@PACKAGE_PATH_USER_DEFINED@%$PACKAGE_PATH_USER_DEFINED%g |
11927 s%@PACKAGE_PATH@%$PACKAGE_PATH%g | |
11792 s%@lispdir@%$lispdir%g | 11928 s%@lispdir@%$lispdir%g |
11793 s%@lispdir_user_defined@%$lispdir_user_defined%g | 11929 s%@LISPDIR_USER_DEFINED@%$LISPDIR_USER_DEFINED%g |
11930 s%@LISPDIR@%$LISPDIR%g | |
11794 s%@sitelispdir@%$sitelispdir%g | 11931 s%@sitelispdir@%$sitelispdir%g |
11795 s%@sitelispdir_user_defined@%$sitelispdir_user_defined%g | 11932 s%@SITELISPDIR_USER_DEFINED@%$SITELISPDIR_USER_DEFINED%g |
11933 s%@SITELISPDIR@%$SITELISPDIR%g | |
11796 s%@etcdir@%$etcdir%g | 11934 s%@etcdir@%$etcdir%g |
11797 s%@etcdir_user_defined@%$etcdir_user_defined%g | 11935 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g |
11936 s%@ETCDIR@%$ETCDIR%g | |
11798 s%@lockdir@%$lockdir%g | 11937 s%@lockdir@%$lockdir%g |
11799 s%@lockdir_user_defined@%$lockdir_user_defined%g | 11938 s%@LOCKDIR_USER_DEFINED@%$LOCKDIR_USER_DEFINED%g |
11939 s%@LOCKDIR@%$LOCKDIR%g | |
11800 s%@archlibdir@%$archlibdir%g | 11940 s%@archlibdir@%$archlibdir%g |
11801 s%@archlibdir_user_defined@%$archlibdir_user_defined%g | 11941 s%@ARCHLIBDIR_USER_DEFINED@%$ARCHLIBDIR_USER_DEFINED%g |
11942 s%@ARCHLIBDIR@%$ARCHLIBDIR%g | |
11802 s%@docdir@%$docdir%g | 11943 s%@docdir@%$docdir%g |
11803 s%@bitmapdir@%$bitmapdir%g | 11944 s%@bitmapdir@%$bitmapdir%g |
11804 s%@extra_objs@%$extra_objs%g | 11945 s%@extra_objs@%$extra_objs%g |
11805 s%@ld_dynamic_link_flags@%$ld_dynamic_link_flags%g | 11946 s%@ld_dynamic_link_flags@%$ld_dynamic_link_flags%g |
11806 s%@machfile@%$machfile%g | 11947 s%@machfile@%$machfile%g |
11939 ac_eD='%g' | 12080 ac_eD='%g' |
11940 | 12081 |
11941 if test "${CONFIG_HEADERS+set}" != set; then | 12082 if test "${CONFIG_HEADERS+set}" != set; then |
11942 EOF | 12083 EOF |
11943 cat >> $CONFIG_STATUS <<EOF | 12084 cat >> $CONFIG_STATUS <<EOF |
11944 CONFIG_HEADERS="src/config.h lwlib/config.h" | 12085 CONFIG_HEADERS="src/config.h src/paths.h lwlib/config.h" |
11945 EOF | 12086 EOF |
11946 cat >> $CONFIG_STATUS <<\EOF | 12087 cat >> $CONFIG_STATUS <<\EOF |
11947 fi | 12088 fi |
11948 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then | 12089 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
11949 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 12090 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |