comparison configure @ 269:b2472a1930f2 r20-5b33

Import from CVS: tag r20-5b33
author cvs
date Mon, 13 Aug 2007 10:27:19 +0200
parents 966663fcf606
children c5d627a313b1
comparison
equal deleted inserted replaced
268:6ced69ccd85f 269:b2472a1930f2
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 infodir_user_defined='no'
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' 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 infopath_user_defined='no'
224 lispdir='${datadir}/xemacs-${version}/lisp' 223 lispdir='${datadir}/xemacs-${version}/lisp'
225 lispdir_user_defined='no' 224 lispdir_user_defined='no'
226 sitelispdir='${datadir}/xemacs/site-lisp' 225 sitelispdir='${datadir}/xemacs/site-lisp'
227 sitelispdir_user_defined='no' 226 sitelispdir_user_defined='no'
228 packagepath='~/.xemacs::${datadir}/xemacs/mule-packages:${datadir}/xemacs-${version}/mule-packages:${datadir}/xemacs/packages:${datadir}/xemacs-${version}/packages' 227 pkgdir='${datadir}/xemacs-${version}/lisp'
229 packagepath_user_defined='no' 228 package_path='~/.xemacs::${datadir}/xemacs-${version}/mule-packages:${datadir}/xemacs/mule-packages:${datadir}/xemacs-${version}/packages:${datadir}/xemacs/packages'
229 package_path_user_defined='no'
230 etcdir='${datadir}/xemacs-${version}/etc' 230 etcdir='${datadir}/xemacs-${version}/etc'
231 etcdir_user_defined='no' 231 etcdir_user_defined='no'
232 lockdir='${statedir}/xemacs/lock' 232 lockdir='${statedir}/xemacs/lock'
233 lockdir_user_defined='no' 233 lockdir_user_defined='no'
234 archlibdir='${libdir}/xemacs-${version}/${configuration}' 234 archlibdir='${libdir}/xemacs-${version}/${configuration}'
235 archlibdir_user_defined='no' 235 archlibdir_user_defined='no'
236 with_site_lisp='yes' 236 with_site_lisp='no'
237 with_menubars='' 237 with_menubars=''
238 with_scrollbars='' 238 with_scrollbars=''
239 with_dialogs='' 239 with_dialogs=''
240 with_file_coding='' 240 with_file_coding=''
241 const_is_losing='yes' 241 const_is_losing='yes'
301 opt="`echo '' $opt | sed -e 's:^ ::' | tr - _`" 301 opt="`echo '' $opt | sed -e 's:^ ::' | tr - _`"
302 302
303 case "$opt" in 303 case "$opt" in
304 304
305 run_in_place | \ 305 run_in_place | \
306 with_site_lisp | \
306 with_x | \ 307 with_x | \
307 with_x11 | \ 308 with_x11 | \
308 with_msw | \ 309 with_msw | \
309 with_gcc | \ 310 with_gcc | \
310 with_gnu_make | \ 311 with_gnu_make | \
533 ;; 534 ;;
534 535
535 536
536 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ 537 prefix | exec_prefix | bindir | datadir | statedir | libdir | \
537 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ 538 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \
538 archlibdir | sitelispdir | docdir | packagepath ) 539 archlibdir | sitelispdir | docdir | package_path )
539 if test "$valomitted" = "yes"; then 540 if test "$valomitted" = "yes"; then
540 if test "$#" = 0; then 541 if test "$#" = 0; then
541 (echo "$progname: Usage error:" 542 (echo "$progname: Usage error:"
542 echo " " "The \`--$optname' option requires a value." 543 echo " " "The \`--$optname' option requires a value."
543 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; 544 echo " Use \`$progname --help' to show usage.") >&2 && exit 1;
549 case "$opt" in 550 case "$opt" in
550 lispdir ) lispdir_user_defined=yes ;; 551 lispdir ) lispdir_user_defined=yes ;;
551 sitelispdir ) sitelispdir_user_defined=yes ;; 552 sitelispdir ) sitelispdir_user_defined=yes ;;
552 etcdir ) etcdir_user_defined=yes ;; 553 etcdir ) etcdir_user_defined=yes ;;
553 infodir ) infodir_user_defined=yes ;; 554 infodir ) infodir_user_defined=yes ;;
554 infopath ) infopath_user_defined=yes ;; 555 package_path ) package_path_user_defined=yes ;;
555 packagepath ) packagepath_user_defined=yes ;;
556 datadir ) lispdir_user_defined=yes etcdir_user_defined=yes ;; 556 datadir ) lispdir_user_defined=yes etcdir_user_defined=yes ;;
557 statedir | lockdir ) lockdir_user_defined=yes ;; 557 statedir | lockdir ) lockdir_user_defined=yes ;;
558 exec_prefix | libdir | archlibdir ) archlibdir_user_defined=yes ;; 558 exec_prefix | libdir | archlibdir ) archlibdir_user_defined=yes ;;
559 esac 559 esac
560 ;; 560 ;;
591 echo " " "Unrecognized argument: $arg" 591 echo " " "Unrecognized argument: $arg"
592 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; 592 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;;
593 593
594 esac 594 esac
595 done 595 done
596
597 596
598 597
599 eval set x "$quoted_arguments"; shift 598 eval set x "$quoted_arguments"; shift
600 599
601 test "$extra_verbose" = "yes" && verbose=yes 600 test "$extra_verbose" = "yes" && verbose=yes
645 ;; 644 ;;
646 esac 645 esac
647 646
648 if test -z "$configuration"; then 647 if test -z "$configuration"; then
649 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 648 echo $ac_n "checking "host system type"""... $ac_c" 1>&6
650 echo "configure:651: checking "host system type"" >&5 649 echo "configure:650: checking "host system type"" >&5
651 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ 650 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \
652 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then 651 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then
653 echo "$ac_t""$configuration" 1>&6 652 echo "$ac_t""$configuration" 1>&6
654 else 653 else
655 echo "$ac_t""unknown" 1>&6 654 echo "$ac_t""unknown" 1>&6
659 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 658 echo " Use \`$progname --help' to show usage.") >&2 && exit 1
660 fi 659 fi
661 fi 660 fi
662 661
663 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 662 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
664 echo "configure:665: checking whether ln -s works" >&5 663 echo "configure:664: checking whether ln -s works" >&5
665 664
666 rm -f conftestdata 665 rm -f conftestdata
667 if ln -s X conftestdata 2>/dev/null 666 if ln -s X conftestdata 2>/dev/null
668 then 667 then
669 rm -f conftestdata 668 rm -f conftestdata
836 } 835 }
837 836
838 837
839 838
840 echo "checking "the configuration name"" 1>&6 839 echo "checking "the configuration name"" 1>&6
841 echo "configure:842: checking "the configuration name"" >&5 840 echo "configure:841: checking "the configuration name"" >&5
842 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` 841 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'`
843 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else 842 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else
844 exit $? 843 exit $?
845 fi 844 fi
846 845
997 case "$canonical" in 996 case "$canonical" in
998 *-hp-hpux7* ) opsys=hpux ;; 997 *-hp-hpux7* ) opsys=hpux ;;
999 *-hp-hpux8* ) opsys=hpux8 ;; 998 *-hp-hpux8* ) opsys=hpux8 ;;
1000 *-hp-hpux9* ) opsys=hpux9 ;; 999 *-hp-hpux9* ) opsys=hpux9 ;;
1001 *-hp-hpux10* ) opsys=hpux10 ;; 1000 *-hp-hpux10* ) opsys=hpux10 ;;
1001 *-hp-hpux11* ) opsys=hpux11 ;;
1002 * ) opsys=hpux ;; 1002 * ) opsys=hpux ;;
1003 esac 1003 esac
1004 1004
1005 case "$opsys" in hpux9 | hpux10 ) extra_objs="$extra_objs strcat.o" && if test "$extra_verbose" = "yes"; then 1005 case "$opsys" in hpux9 | hpux10 ) extra_objs="$extra_objs strcat.o" && if test "$extra_verbose" = "yes"; then
1006 echo " xemacs will be linked with \"strcat.o\"" 1006 echo " xemacs will be linked with \"strcat.o\""
1007 fi ;; esac 1007 fi ;; esac
1008 1008
1009 if test "$opsys" = "hpux10"; then ansi_flag="-Ae"; else ansi_flag="-Aa"; fi 1009 if test "$opsys" = "hpux10" -o "$opsys" = "hpux11"; then \
1010 ansi_flag="-Ae"; else ansi_flag="-Aa"; fi
1010 NON_GNU_CC="cc $ansi_flag" NON_GNU_CPP="cc $ansi_flag -E" 1011 NON_GNU_CC="cc $ansi_flag" NON_GNU_CPP="cc $ansi_flag -E"
1011 1012
1012 case "$canonical" in *-hp-hpux*shr* ) opsys="${opsys}-shr" ;; esac 1013 case "$canonical" in *-hp-hpux*shr* ) opsys="${opsys}-shr" ;; esac
1013 ;; 1014 ;;
1014 1015
1293 xe_save_CFLAGS="$CFLAGS" 1294 xe_save_CFLAGS="$CFLAGS"
1294 1295
1295 # Extract the first word of "gcc", so it can be a program name with args. 1296 # Extract the first word of "gcc", so it can be a program name with args.
1296 set dummy gcc; ac_word=$2 1297 set dummy gcc; ac_word=$2
1297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1298 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1298 echo "configure:1299: checking for $ac_word" >&5 1299 echo "configure:1300: checking for $ac_word" >&5
1299 1300
1300 if test -n "$CC"; then 1301 if test -n "$CC"; then
1301 ac_cv_prog_CC="$CC" # Let the user override the test. 1302 ac_cv_prog_CC="$CC" # Let the user override the test.
1302 else 1303 else
1303 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1319 1320
1320 if test -z "$CC"; then 1321 if test -z "$CC"; then
1321 # Extract the first word of "cc", so it can be a program name with args. 1322 # Extract the first word of "cc", so it can be a program name with args.
1322 set dummy cc; ac_word=$2 1323 set dummy cc; ac_word=$2
1323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1324 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1324 echo "configure:1325: checking for $ac_word" >&5 1325 echo "configure:1326: checking for $ac_word" >&5
1325 1326
1326 if test -n "$CC"; then 1327 if test -n "$CC"; then
1327 ac_cv_prog_CC="$CC" # Let the user override the test. 1328 ac_cv_prog_CC="$CC" # Let the user override the test.
1328 else 1329 else
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1330 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1364 1365
1365 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1366 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1366 fi 1367 fi
1367 1368
1368 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1369 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1369 echo "configure:1370: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1370 echo "configure:1371: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1370 1371
1371 ac_ext=c 1372 ac_ext=c
1372 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1373 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1373 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1374 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1374 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1375 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1376 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1377 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1377 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1378 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1378 cross_compiling=no 1379 cross_compiling=no
1379 1380
1380 cat > conftest.$ac_ext <<EOF 1381 cat > conftest.$ac_ext <<EOF
1381 #line 1382 "configure" 1382 #line 1383 "configure"
1382 #include "confdefs.h" 1383 #include "confdefs.h"
1383 main(){return(0);} 1384 main(){return(0);}
1384 EOF 1385 EOF
1385 if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1386 if { (eval echo configure:1387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1386 ac_cv_prog_cc_works=yes 1387 ac_cv_prog_cc_works=yes
1387 # If we can't run a trivial program, we are probably using a cross compiler. 1388 # If we can't run a trivial program, we are probably using a cross compiler.
1388 if (./conftest; exit) 2>/dev/null; then 1389 if (./conftest; exit) 2>/dev/null; then
1389 ac_cv_prog_cc_cross=no 1390 ac_cv_prog_cc_cross=no
1390 else 1391 else
1400 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1401 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1401 if test $ac_cv_prog_cc_works = no; then 1402 if test $ac_cv_prog_cc_works = no; then
1402 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1403 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1403 fi 1404 fi
1404 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1405 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1405 echo "configure:1406: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1406 echo "configure:1407: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1406 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1407 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1407 cross_compiling=$ac_cv_prog_cc_cross 1408 cross_compiling=$ac_cv_prog_cc_cross
1408 1409
1409 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1410 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1410 echo "configure:1411: checking whether we are using GNU C" >&5 1411 echo "configure:1412: checking whether we are using GNU C" >&5
1411 1412
1412 cat > conftest.c <<EOF 1413 cat > conftest.c <<EOF
1413 #ifdef __GNUC__ 1414 #ifdef __GNUC__
1414 yes; 1415 yes;
1415 #endif 1416 #endif
1416 EOF 1417 EOF
1417 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1418 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1418 ac_cv_prog_gcc=yes 1419 ac_cv_prog_gcc=yes
1419 else 1420 else
1420 ac_cv_prog_gcc=no 1421 ac_cv_prog_gcc=no
1421 fi 1422 fi
1422 1423
1426 GCC=yes 1427 GCC=yes
1427 ac_test_CFLAGS="${CFLAGS+set}" 1428 ac_test_CFLAGS="${CFLAGS+set}"
1428 ac_save_CFLAGS="$CFLAGS" 1429 ac_save_CFLAGS="$CFLAGS"
1429 CFLAGS= 1430 CFLAGS=
1430 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1431 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1431 echo "configure:1432: checking whether ${CC-cc} accepts -g" >&5 1432 echo "configure:1433: checking whether ${CC-cc} accepts -g" >&5
1432 1433
1433 echo 'void f(){}' > conftest.c 1434 echo 'void f(){}' > conftest.c
1434 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1435 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1435 ac_cv_prog_cc_g=yes 1436 ac_cv_prog_cc_g=yes
1436 else 1437 else
1455 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then 1456 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then
1456 CC=${NON_GNU_CC-cc} 1457 CC=${NON_GNU_CC-cc}
1457 # Extract the first word of "gcc", so it can be a program name with args. 1458 # Extract the first word of "gcc", so it can be a program name with args.
1458 set dummy gcc; ac_word=$2 1459 set dummy gcc; ac_word=$2
1459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1460 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1460 echo "configure:1461: checking for $ac_word" >&5 1461 echo "configure:1462: checking for $ac_word" >&5
1461 1462
1462 if test -n "$CC"; then 1463 if test -n "$CC"; then
1463 ac_cv_prog_CC="$CC" # Let the user override the test. 1464 ac_cv_prog_CC="$CC" # Let the user override the test.
1464 else 1465 else
1465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1466 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1481 1482
1482 if test -z "$CC"; then 1483 if test -z "$CC"; then
1483 # Extract the first word of "cc", so it can be a program name with args. 1484 # Extract the first word of "cc", so it can be a program name with args.
1484 set dummy cc; ac_word=$2 1485 set dummy cc; ac_word=$2
1485 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1486 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1486 echo "configure:1487: checking for $ac_word" >&5 1487 echo "configure:1488: checking for $ac_word" >&5
1487 1488
1488 if test -n "$CC"; then 1489 if test -n "$CC"; then
1489 ac_cv_prog_CC="$CC" # Let the user override the test. 1490 ac_cv_prog_CC="$CC" # Let the user override the test.
1490 else 1491 else
1491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1492 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1526 1527
1527 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1528 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1528 fi 1529 fi
1529 1530
1530 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1531 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1531 echo "configure:1532: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1532 echo "configure:1533: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1532 1533
1533 ac_ext=c 1534 ac_ext=c
1534 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1535 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1535 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1536 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1536 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1537 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1538 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1539 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1539 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1540 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1540 cross_compiling=no 1541 cross_compiling=no
1541 1542
1542 cat > conftest.$ac_ext <<EOF 1543 cat > conftest.$ac_ext <<EOF
1543 #line 1544 "configure" 1544 #line 1545 "configure"
1544 #include "confdefs.h" 1545 #include "confdefs.h"
1545 main(){return(0);} 1546 main(){return(0);}
1546 EOF 1547 EOF
1547 if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1548 if { (eval echo configure:1549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1548 ac_cv_prog_cc_works=yes 1549 ac_cv_prog_cc_works=yes
1549 # If we can't run a trivial program, we are probably using a cross compiler. 1550 # If we can't run a trivial program, we are probably using a cross compiler.
1550 if (./conftest; exit) 2>/dev/null; then 1551 if (./conftest; exit) 2>/dev/null; then
1551 ac_cv_prog_cc_cross=no 1552 ac_cv_prog_cc_cross=no
1552 else 1553 else
1562 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1563 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1563 if test $ac_cv_prog_cc_works = no; then 1564 if test $ac_cv_prog_cc_works = no; then
1564 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1565 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1565 fi 1566 fi
1566 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1567 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1567 echo "configure:1568: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1568 echo "configure:1569: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1568 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1569 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1569 cross_compiling=$ac_cv_prog_cc_cross 1570 cross_compiling=$ac_cv_prog_cc_cross
1570 1571
1571 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1572 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1572 echo "configure:1573: checking whether we are using GNU C" >&5 1573 echo "configure:1574: checking whether we are using GNU C" >&5
1573 1574
1574 cat > conftest.c <<EOF 1575 cat > conftest.c <<EOF
1575 #ifdef __GNUC__ 1576 #ifdef __GNUC__
1576 yes; 1577 yes;
1577 #endif 1578 #endif
1578 EOF 1579 EOF
1579 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1580 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1580 ac_cv_prog_gcc=yes 1581 ac_cv_prog_gcc=yes
1581 else 1582 else
1582 ac_cv_prog_gcc=no 1583 ac_cv_prog_gcc=no
1583 fi 1584 fi
1584 1585
1588 GCC=yes 1589 GCC=yes
1589 ac_test_CFLAGS="${CFLAGS+set}" 1590 ac_test_CFLAGS="${CFLAGS+set}"
1590 ac_save_CFLAGS="$CFLAGS" 1591 ac_save_CFLAGS="$CFLAGS"
1591 CFLAGS= 1592 CFLAGS=
1592 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1593 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1593 echo "configure:1594: checking whether ${CC-cc} accepts -g" >&5 1594 echo "configure:1595: checking whether ${CC-cc} accepts -g" >&5
1594 1595
1595 echo 'void f(){}' > conftest.c 1596 echo 'void f(){}' > conftest.c
1596 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1597 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1597 ac_cv_prog_cc_g=yes 1598 ac_cv_prog_cc_g=yes
1598 else 1599 else
1617 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then 1618 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then
1618 CC=gcc 1619 CC=gcc
1619 # Extract the first word of "gcc", so it can be a program name with args. 1620 # Extract the first word of "gcc", so it can be a program name with args.
1620 set dummy gcc; ac_word=$2 1621 set dummy gcc; ac_word=$2
1621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1622 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1622 echo "configure:1623: checking for $ac_word" >&5 1623 echo "configure:1624: checking for $ac_word" >&5
1623 1624
1624 if test -n "$CC"; then 1625 if test -n "$CC"; then
1625 ac_cv_prog_CC="$CC" # Let the user override the test. 1626 ac_cv_prog_CC="$CC" # Let the user override the test.
1626 else 1627 else
1627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1628 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1643 1644
1644 if test -z "$CC"; then 1645 if test -z "$CC"; then
1645 # Extract the first word of "cc", so it can be a program name with args. 1646 # Extract the first word of "cc", so it can be a program name with args.
1646 set dummy cc; ac_word=$2 1647 set dummy cc; ac_word=$2
1647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1648 echo "configure:1649: checking for $ac_word" >&5 1649 echo "configure:1650: checking for $ac_word" >&5
1649 1650
1650 if test -n "$CC"; then 1651 if test -n "$CC"; then
1651 ac_cv_prog_CC="$CC" # Let the user override the test. 1652 ac_cv_prog_CC="$CC" # Let the user override the test.
1652 else 1653 else
1653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1688 1689
1689 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1690 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1690 fi 1691 fi
1691 1692
1692 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1693 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1693 echo "configure:1694: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1694 echo "configure:1695: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1694 1695
1695 ac_ext=c 1696 ac_ext=c
1696 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1697 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1697 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1698 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1698 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1699 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1700 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' 1701 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
1701 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1702 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1702 cross_compiling=no 1703 cross_compiling=no
1703 1704
1704 cat > conftest.$ac_ext <<EOF 1705 cat > conftest.$ac_ext <<EOF
1705 #line 1706 "configure" 1706 #line 1707 "configure"
1706 #include "confdefs.h" 1707 #include "confdefs.h"
1707 main(){return(0);} 1708 main(){return(0);}
1708 EOF 1709 EOF
1709 if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1710 if { (eval echo configure:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1710 ac_cv_prog_cc_works=yes 1711 ac_cv_prog_cc_works=yes
1711 # If we can't run a trivial program, we are probably using a cross compiler. 1712 # If we can't run a trivial program, we are probably using a cross compiler.
1712 if (./conftest; exit) 2>/dev/null; then 1713 if (./conftest; exit) 2>/dev/null; then
1713 ac_cv_prog_cc_cross=no 1714 ac_cv_prog_cc_cross=no
1714 else 1715 else
1724 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1725 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1725 if test $ac_cv_prog_cc_works = no; then 1726 if test $ac_cv_prog_cc_works = no; then
1726 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1727 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1727 fi 1728 fi
1728 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1729 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1729 echo "configure:1730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1730 echo "configure:1731: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1730 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1731 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1731 cross_compiling=$ac_cv_prog_cc_cross 1732 cross_compiling=$ac_cv_prog_cc_cross
1732 1733
1733 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1734 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1734 echo "configure:1735: checking whether we are using GNU C" >&5 1735 echo "configure:1736: checking whether we are using GNU C" >&5
1735 1736
1736 cat > conftest.c <<EOF 1737 cat > conftest.c <<EOF
1737 #ifdef __GNUC__ 1738 #ifdef __GNUC__
1738 yes; 1739 yes;
1739 #endif 1740 #endif
1740 EOF 1741 EOF
1741 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1742 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1742 ac_cv_prog_gcc=yes 1743 ac_cv_prog_gcc=yes
1743 else 1744 else
1744 ac_cv_prog_gcc=no 1745 ac_cv_prog_gcc=no
1745 fi 1746 fi
1746 1747
1750 GCC=yes 1751 GCC=yes
1751 ac_test_CFLAGS="${CFLAGS+set}" 1752 ac_test_CFLAGS="${CFLAGS+set}"
1752 ac_save_CFLAGS="$CFLAGS" 1753 ac_save_CFLAGS="$CFLAGS"
1753 CFLAGS= 1754 CFLAGS=
1754 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1755 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1755 echo "configure:1756: checking whether ${CC-cc} accepts -g" >&5 1756 echo "configure:1757: checking whether ${CC-cc} accepts -g" >&5
1756 1757
1757 echo 'void f(){}' > conftest.c 1758 echo 'void f(){}' > conftest.c
1758 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1759 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1759 ac_cv_prog_cc_g=yes 1760 ac_cv_prog_cc_g=yes
1760 else 1761 else
1783 test -n "$CPP" -a -d "$CPP" && CPP= 1784 test -n "$CPP" -a -d "$CPP" && CPP=
1784 1785
1785 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" 1786 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP"
1786 1787
1787 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1788 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1788 echo "configure:1789: checking how to run the C preprocessor" >&5 1789 echo "configure:1790: checking how to run the C preprocessor" >&5
1789 # On Suns, sometimes $CPP names a directory. 1790 # On Suns, sometimes $CPP names a directory.
1790 if test -n "$CPP" && test -d "$CPP"; then 1791 if test -n "$CPP" && test -d "$CPP"; then
1791 CPP= 1792 CPP=
1792 fi 1793 fi
1793 if test -z "$CPP"; then 1794 if test -z "$CPP"; then
1796 # substituted into the Makefile and "${CC-cc}" will confuse make. 1797 # substituted into the Makefile and "${CC-cc}" will confuse make.
1797 CPP="${CC-cc} -E" 1798 CPP="${CC-cc} -E"
1798 # On the NeXT, cc -E runs the code through the compiler's parser, 1799 # On the NeXT, cc -E runs the code through the compiler's parser,
1799 # not just through cpp. 1800 # not just through cpp.
1800 cat > conftest.$ac_ext <<EOF 1801 cat > conftest.$ac_ext <<EOF
1801 #line 1802 "configure" 1802 #line 1803 "configure"
1802 #include "confdefs.h" 1803 #include "confdefs.h"
1803 #include <assert.h> 1804 #include <assert.h>
1804 Syntax Error 1805 Syntax Error
1805 EOF 1806 EOF
1806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1807 { (eval echo configure:1808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1808 { (eval echo configure:1809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1808 ac_err=`grep -v '^ *+' conftest.out` 1809 ac_err=`grep -v '^ *+' conftest.out`
1809 if test -z "$ac_err"; then 1810 if test -z "$ac_err"; then
1810 : 1811 :
1811 else 1812 else
1812 echo "$ac_err" >&5 1813 echo "$ac_err" >&5
1813 echo "configure: failed program was:" >&5 1814 echo "configure: failed program was:" >&5
1814 cat conftest.$ac_ext >&5 1815 cat conftest.$ac_ext >&5
1815 rm -rf conftest* 1816 rm -rf conftest*
1816 CPP="${CC-cc} -E -traditional-cpp" 1817 CPP="${CC-cc} -E -traditional-cpp"
1817 cat > conftest.$ac_ext <<EOF 1818 cat > conftest.$ac_ext <<EOF
1818 #line 1819 "configure" 1819 #line 1820 "configure"
1819 #include "confdefs.h" 1820 #include "confdefs.h"
1820 #include <assert.h> 1821 #include <assert.h>
1821 Syntax Error 1822 Syntax Error
1822 EOF 1823 EOF
1823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1824 { (eval echo configure:1825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1825 { (eval echo configure:1826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1825 ac_err=`grep -v '^ *+' conftest.out` 1826 ac_err=`grep -v '^ *+' conftest.out`
1826 if test -z "$ac_err"; then 1827 if test -z "$ac_err"; then
1827 : 1828 :
1828 else 1829 else
1829 echo "$ac_err" >&5 1830 echo "$ac_err" >&5
1842 fi 1843 fi
1843 echo "$ac_t""$CPP" 1>&6 1844 echo "$ac_t""$CPP" 1>&6
1844 1845
1845 1846
1846 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1847 echo $ac_n "checking for AIX""... $ac_c" 1>&6
1847 echo "configure:1848: checking for AIX" >&5 1848 echo "configure:1849: checking for AIX" >&5
1848 cat > conftest.$ac_ext <<EOF 1849 cat > conftest.$ac_ext <<EOF
1849 #line 1850 "configure" 1850 #line 1851 "configure"
1850 #include "confdefs.h" 1851 #include "confdefs.h"
1851 #ifdef _AIX 1852 #ifdef _AIX
1852 yes 1853 yes
1853 #endif 1854 #endif
1854 1855
1871 rm -f conftest* 1872 rm -f conftest*
1872 1873
1873 1874
1874 1875
1875 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 1876 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6
1876 echo "configure:1877: checking for GNU libc" >&5 1877 echo "configure:1878: checking for GNU libc" >&5
1877 cat > conftest.$ac_ext <<EOF 1878 cat > conftest.$ac_ext <<EOF
1878 #line 1879 "configure" 1879 #line 1880 "configure"
1879 #include "confdefs.h" 1880 #include "confdefs.h"
1880 #include <features.h> 1881 #include <features.h>
1881 int main() { 1882 int main() {
1882 1883
1883 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) 1884 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)
1885 ******* ======= ******** &&&&&&&& 1886 ******* ======= ******** &&&&&&&&
1886 #endif 1887 #endif
1887 1888
1888 ; return 0; } 1889 ; return 0; }
1889 EOF 1890 EOF
1890 if { (eval echo configure:1891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1891 if { (eval echo configure:1892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1891 rm -rf conftest* 1892 rm -rf conftest*
1892 have_glibc=yes 1893 have_glibc=yes
1893 else 1894 else
1894 echo "configure: failed program was:" >&5 1895 echo "configure: failed program was:" >&5
1895 cat conftest.$ac_ext >&5 1896 cat conftest.$ac_ext >&5
1898 fi 1899 fi
1899 rm -f conftest* 1900 rm -f conftest*
1900 echo "$ac_t""$have_glibc" 1>&6 1901 echo "$ac_t""$have_glibc" 1>&6
1901 1902
1902 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 1903 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6
1903 echo "configure:1904: checking whether we are using SunPro C" >&5 1904 echo "configure:1905: checking whether we are using SunPro C" >&5
1904 cat > conftest.$ac_ext <<EOF 1905 cat > conftest.$ac_ext <<EOF
1905 #line 1906 "configure" 1906 #line 1907 "configure"
1906 #include "confdefs.h" 1907 #include "confdefs.h"
1907 1908
1908 int main() { 1909 int main() {
1909 #ifndef __SUNPRO_C 1910 #ifndef __SUNPRO_C
1910 #error Not a SunPro compiler :-( 1911 #error Not a SunPro compiler :-(
1911 ******* ======= ******** &&&&&&&& 1912 ******* ======= ******** &&&&&&&&
1912 #endif 1913 #endif
1913 1914
1914 ; return 0; } 1915 ; return 0; }
1915 EOF 1916 EOF
1916 if { (eval echo configure:1917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1917 if { (eval echo configure:1918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1917 rm -rf conftest* 1918 rm -rf conftest*
1918 __sunpro_c=yes 1919 __sunpro_c=yes
1919 else 1920 else
1920 echo "configure: failed program was:" >&5 1921 echo "configure: failed program was:" >&5
1921 cat conftest.$ac_ext >&5 1922 cat conftest.$ac_ext >&5
2187 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then 2188 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then
2188 echo " xemacs will be linked with \"$unexec\"" 2189 echo " xemacs will be linked with \"$unexec\""
2189 fi 2190 fi
2190 2191
2191 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 2192 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
2192 echo "configure:2193: checking for dynodump" >&5 2193 echo "configure:2194: checking for dynodump" >&5
2193 if test "$unexec" != "unexsol2.o"; then 2194 if test "$unexec" != "unexsol2.o"; then
2194 echo "$ac_t""no" 1>&6 2195 echo "$ac_t""no" 1>&6
2195 else 2196 else
2196 echo "$ac_t""yes" 1>&6 2197 echo "$ac_t""yes" 1>&6
2197 { test "$extra_verbose" = "yes" && cat << \EOF 2198 { test "$extra_verbose" = "yes" && cat << \EOF
2285 esac 2286 esac
2286 fi 2287 fi
2287 2288
2288 if test "$add_runtime_path" = "yes"; then 2289 if test "$add_runtime_path" = "yes"; then
2289 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 2290 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
2290 echo "configure:2291: checking "for runtime libraries flag"" >&5 2291 echo "configure:2292: checking "for runtime libraries flag"" >&5
2291 dash_r="" 2292 dash_r=""
2292 for try_dash_r in "-R" "-R " "-rpath "; do 2293 for try_dash_r in "-R" "-R " "-rpath "; do
2293 xe_check_libs="${try_dash_r}/no/such/file-or-directory" 2294 xe_check_libs="${try_dash_r}/no/such/file-or-directory"
2294 cat > conftest.$ac_ext <<EOF 2295 cat > conftest.$ac_ext <<EOF
2295 #line 2296 "configure" 2296 #line 2297 "configure"
2296 #include "confdefs.h" 2297 #include "confdefs.h"
2297 2298
2298 int main() { 2299 int main() {
2299 2300
2300 ; return 0; } 2301 ; return 0; }
2301 EOF 2302 EOF
2302 if { (eval echo configure:2303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2303 if { (eval echo configure:2304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2303 rm -rf conftest* 2304 rm -rf conftest*
2304 dash_r="$try_dash_r" 2305 dash_r="$try_dash_r"
2305 else 2306 else
2306 echo "configure: failed program was:" >&5 2307 echo "configure: failed program was:" >&5
2307 cat conftest.$ac_ext >&5 2308 cat conftest.$ac_ext >&5
2384 else 2385 else
2385 doug_lea_malloc=no 2386 doug_lea_malloc=no
2386 fi 2387 fi
2387 after_morecore_hook_exists=yes 2388 after_morecore_hook_exists=yes
2388 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 2389 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
2389 echo "configure:2390: checking for malloc_get_state" >&5 2390 echo "configure:2391: checking for malloc_get_state" >&5
2390 2391
2391 cat > conftest.$ac_ext <<EOF 2392 cat > conftest.$ac_ext <<EOF
2392 #line 2393 "configure" 2393 #line 2394 "configure"
2393 #include "confdefs.h" 2394 #include "confdefs.h"
2394 /* System header to define __stub macros and hopefully few prototypes, 2395 /* System header to define __stub macros and hopefully few prototypes,
2395 which can conflict with char malloc_get_state(); below. */ 2396 which can conflict with char malloc_get_state(); below. */
2396 #include <assert.h> 2397 #include <assert.h>
2397 /* Override any gcc2 internal prototype to avoid an error. */ 2398 /* Override any gcc2 internal prototype to avoid an error. */
2410 malloc_get_state(); 2411 malloc_get_state();
2411 #endif 2412 #endif
2412 2413
2413 ; return 0; } 2414 ; return 0; }
2414 EOF 2415 EOF
2415 if { (eval echo configure:2416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2416 if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2416 rm -rf conftest* 2417 rm -rf conftest*
2417 eval "ac_cv_func_malloc_get_state=yes" 2418 eval "ac_cv_func_malloc_get_state=yes"
2418 else 2419 else
2419 echo "configure: failed program was:" >&5 2420 echo "configure: failed program was:" >&5
2420 cat conftest.$ac_ext >&5 2421 cat conftest.$ac_ext >&5
2430 echo "$ac_t""no" 1>&6 2431 echo "$ac_t""no" 1>&6
2431 doug_lea_malloc=no 2432 doug_lea_malloc=no
2432 fi 2433 fi
2433 2434
2434 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 2435 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
2435 echo "configure:2436: checking for malloc_set_state" >&5 2436 echo "configure:2437: checking for malloc_set_state" >&5
2436 2437
2437 cat > conftest.$ac_ext <<EOF 2438 cat > conftest.$ac_ext <<EOF
2438 #line 2439 "configure" 2439 #line 2440 "configure"
2439 #include "confdefs.h" 2440 #include "confdefs.h"
2440 /* System header to define __stub macros and hopefully few prototypes, 2441 /* System header to define __stub macros and hopefully few prototypes,
2441 which can conflict with char malloc_set_state(); below. */ 2442 which can conflict with char malloc_set_state(); below. */
2442 #include <assert.h> 2443 #include <assert.h>
2443 /* Override any gcc2 internal prototype to avoid an error. */ 2444 /* Override any gcc2 internal prototype to avoid an error. */
2456 malloc_set_state(); 2457 malloc_set_state();
2457 #endif 2458 #endif
2458 2459
2459 ; return 0; } 2460 ; return 0; }
2460 EOF 2461 EOF
2461 if { (eval echo configure:2462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2462 if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2462 rm -rf conftest* 2463 rm -rf conftest*
2463 eval "ac_cv_func_malloc_set_state=yes" 2464 eval "ac_cv_func_malloc_set_state=yes"
2464 else 2465 else
2465 echo "configure: failed program was:" >&5 2466 echo "configure: failed program was:" >&5
2466 cat conftest.$ac_ext >&5 2467 cat conftest.$ac_ext >&5
2476 echo "$ac_t""no" 1>&6 2477 echo "$ac_t""no" 1>&6
2477 doug_lea_malloc=no 2478 doug_lea_malloc=no
2478 fi 2479 fi
2479 2480
2480 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 2481 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
2481 echo "configure:2482: checking whether __after_morecore_hook exists" >&5 2482 echo "configure:2483: checking whether __after_morecore_hook exists" >&5
2482 cat > conftest.$ac_ext <<EOF 2483 cat > conftest.$ac_ext <<EOF
2483 #line 2484 "configure" 2484 #line 2485 "configure"
2484 #include "confdefs.h" 2485 #include "confdefs.h"
2485 extern void (* __after_morecore_hook)(); 2486 extern void (* __after_morecore_hook)();
2486 int main() { 2487 int main() {
2487 __after_morecore_hook = 0 2488 __after_morecore_hook = 0
2488 ; return 0; } 2489 ; return 0; }
2489 EOF 2490 EOF
2490 if { (eval echo configure:2491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2491 if { (eval echo configure:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2491 rm -rf conftest* 2492 rm -rf conftest*
2492 echo "$ac_t""yes" 1>&6 2493 echo "$ac_t""yes" 1>&6
2493 else 2494 else
2494 echo "configure: failed program was:" >&5 2495 echo "configure: failed program was:" >&5
2495 cat conftest.$ac_ext >&5 2496 cat conftest.$ac_ext >&5
2552 2553
2553 2554
2554 # Extract the first word of "ranlib", so it can be a program name with args. 2555 # Extract the first word of "ranlib", so it can be a program name with args.
2555 set dummy ranlib; ac_word=$2 2556 set dummy ranlib; ac_word=$2
2556 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2557 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2557 echo "configure:2558: checking for $ac_word" >&5 2558 echo "configure:2559: checking for $ac_word" >&5
2558 2559
2559 if test -n "$RANLIB"; then 2560 if test -n "$RANLIB"; then
2560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2561 else 2562 else
2562 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2563 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2605 # AIX /bin/install 2606 # AIX /bin/install
2606 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2607 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2608 # ./install, which can be erroneously created by make from ./install.sh. 2609 # ./install, which can be erroneously created by make from ./install.sh.
2609 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2610 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2610 echo "configure:2611: checking for a BSD compatible install" >&5 2611 echo "configure:2612: checking for a BSD compatible install" >&5
2611 if test -z "$INSTALL"; then 2612 if test -z "$INSTALL"; then
2612 2613
2613 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 2614 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
2614 for ac_dir in $PATH; do 2615 for ac_dir in $PATH; do
2615 # Account for people who put trailing slashes in PATH elements. 2616 # Account for people who put trailing slashes in PATH elements.
2656 for ac_prog in 'bison -y' byacc 2657 for ac_prog in 'bison -y' byacc
2657 do 2658 do
2658 # Extract the first word of "$ac_prog", so it can be a program name with args. 2659 # Extract the first word of "$ac_prog", so it can be a program name with args.
2659 set dummy $ac_prog; ac_word=$2 2660 set dummy $ac_prog; ac_word=$2
2660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2661 echo "configure:2662: checking for $ac_word" >&5 2662 echo "configure:2663: checking for $ac_word" >&5
2662 2663
2663 if test -n "$YACC"; then 2664 if test -n "$YACC"; then
2664 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2665 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2665 else 2666 else
2666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2687 2688
2688 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h 2689 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h
2689 do 2690 do
2690 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2691 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2692 echo "configure:2693: checking for $ac_hdr" >&5 2693 echo "configure:2694: checking for $ac_hdr" >&5
2693 2694
2694 cat > conftest.$ac_ext <<EOF 2695 cat > conftest.$ac_ext <<EOF
2695 #line 2696 "configure" 2696 #line 2697 "configure"
2696 #include "confdefs.h" 2697 #include "confdefs.h"
2697 #include <$ac_hdr> 2698 #include <$ac_hdr>
2698 EOF 2699 EOF
2699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2700 { (eval echo configure:2701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2701 { (eval echo configure:2702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2701 ac_err=`grep -v '^ *+' conftest.out` 2702 ac_err=`grep -v '^ *+' conftest.out`
2702 if test -z "$ac_err"; then 2703 if test -z "$ac_err"; then
2703 rm -rf conftest* 2704 rm -rf conftest*
2704 eval "ac_cv_header_$ac_safe=yes" 2705 eval "ac_cv_header_$ac_safe=yes"
2705 else 2706 else
2728 2729
2729 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h 2730 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h
2730 do 2731 do
2731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2732 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2733 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2733 echo "configure:2734: checking for $ac_hdr" >&5 2734 echo "configure:2735: checking for $ac_hdr" >&5
2734 2735
2735 cat > conftest.$ac_ext <<EOF 2736 cat > conftest.$ac_ext <<EOF
2736 #line 2737 "configure" 2737 #line 2738 "configure"
2737 #include "confdefs.h" 2738 #include "confdefs.h"
2738 #include <$ac_hdr> 2739 #include <$ac_hdr>
2739 EOF 2740 EOF
2740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2741 { (eval echo configure:2742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2742 { (eval echo configure:2743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2742 ac_err=`grep -v '^ *+' conftest.out` 2743 ac_err=`grep -v '^ *+' conftest.out`
2743 if test -z "$ac_err"; then 2744 if test -z "$ac_err"; then
2744 rm -rf conftest* 2745 rm -rf conftest*
2745 eval "ac_cv_header_$ac_safe=yes" 2746 eval "ac_cv_header_$ac_safe=yes"
2746 else 2747 else
2769 2770
2770 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h 2771 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h
2771 do 2772 do
2772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2773 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2773 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2774 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2774 echo "configure:2775: checking for $ac_hdr" >&5 2775 echo "configure:2776: checking for $ac_hdr" >&5
2775 2776
2776 cat > conftest.$ac_ext <<EOF 2777 cat > conftest.$ac_ext <<EOF
2777 #line 2778 "configure" 2778 #line 2779 "configure"
2778 #include "confdefs.h" 2779 #include "confdefs.h"
2779 #include <$ac_hdr> 2780 #include <$ac_hdr>
2780 EOF 2781 EOF
2781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2782 { (eval echo configure:2783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2783 { (eval echo configure:2784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2783 ac_err=`grep -v '^ *+' conftest.out` 2784 ac_err=`grep -v '^ *+' conftest.out`
2784 if test -z "$ac_err"; then 2785 if test -z "$ac_err"; then
2785 rm -rf conftest* 2786 rm -rf conftest*
2786 eval "ac_cv_header_$ac_safe=yes" 2787 eval "ac_cv_header_$ac_safe=yes"
2787 else 2788 else
2807 echo "$ac_t""no" 1>&6 2808 echo "$ac_t""no" 1>&6
2808 fi 2809 fi
2809 done 2810 done
2810 2811
2811 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 2812 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2812 echo "configure:2813: checking for sys/wait.h that is POSIX.1 compatible" >&5 2813 echo "configure:2814: checking for sys/wait.h that is POSIX.1 compatible" >&5
2813 2814
2814 cat > conftest.$ac_ext <<EOF 2815 cat > conftest.$ac_ext <<EOF
2815 #line 2816 "configure" 2816 #line 2817 "configure"
2816 #include "confdefs.h" 2817 #include "confdefs.h"
2817 #include <sys/types.h> 2818 #include <sys/types.h>
2818 #include <sys/wait.h> 2819 #include <sys/wait.h>
2819 #ifndef WEXITSTATUS 2820 #ifndef WEXITSTATUS
2820 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 2821 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2826 int s; 2827 int s;
2827 wait (&s); 2828 wait (&s);
2828 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 2829 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2829 ; return 0; } 2830 ; return 0; }
2830 EOF 2831 EOF
2831 if { (eval echo configure:2832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2832 if { (eval echo configure:2833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2832 rm -rf conftest* 2833 rm -rf conftest*
2833 ac_cv_header_sys_wait_h=yes 2834 ac_cv_header_sys_wait_h=yes
2834 else 2835 else
2835 echo "configure: failed program was:" >&5 2836 echo "configure: failed program was:" >&5
2836 cat conftest.$ac_ext >&5 2837 cat conftest.$ac_ext >&5
2850 } 2851 }
2851 2852
2852 fi 2853 fi
2853 2854
2854 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2855 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2855 echo "configure:2856: checking for ANSI C header files" >&5 2856 echo "configure:2857: checking for ANSI C header files" >&5
2856 2857
2857 cat > conftest.$ac_ext <<EOF 2858 cat > conftest.$ac_ext <<EOF
2858 #line 2859 "configure" 2859 #line 2860 "configure"
2859 #include "confdefs.h" 2860 #include "confdefs.h"
2860 #include <stdlib.h> 2861 #include <stdlib.h>
2861 #include <stdarg.h> 2862 #include <stdarg.h>
2862 #include <string.h> 2863 #include <string.h>
2863 #include <float.h> 2864 #include <float.h>
2864 EOF 2865 EOF
2865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2866 { (eval echo configure:2867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2867 { (eval echo configure:2868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2867 ac_err=`grep -v '^ *+' conftest.out` 2868 ac_err=`grep -v '^ *+' conftest.out`
2868 if test -z "$ac_err"; then 2869 if test -z "$ac_err"; then
2869 rm -rf conftest* 2870 rm -rf conftest*
2870 ac_cv_header_stdc=yes 2871 ac_cv_header_stdc=yes
2871 else 2872 else
2878 rm -f conftest* 2879 rm -f conftest*
2879 2880
2880 if test $ac_cv_header_stdc = yes; then 2881 if test $ac_cv_header_stdc = yes; then
2881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2882 cat > conftest.$ac_ext <<EOF 2883 cat > conftest.$ac_ext <<EOF
2883 #line 2884 "configure" 2884 #line 2885 "configure"
2884 #include "confdefs.h" 2885 #include "confdefs.h"
2885 #include <string.h> 2886 #include <string.h>
2886 EOF 2887 EOF
2887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2888 egrep "memchr" >/dev/null 2>&1; then 2889 egrep "memchr" >/dev/null 2>&1; then
2896 fi 2897 fi
2897 2898
2898 if test $ac_cv_header_stdc = yes; then 2899 if test $ac_cv_header_stdc = yes; then
2899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2900 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2900 cat > conftest.$ac_ext <<EOF 2901 cat > conftest.$ac_ext <<EOF
2901 #line 2902 "configure" 2902 #line 2903 "configure"
2902 #include "confdefs.h" 2903 #include "confdefs.h"
2903 #include <stdlib.h> 2904 #include <stdlib.h>
2904 EOF 2905 EOF
2905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2906 egrep "free" >/dev/null 2>&1; then 2907 egrep "free" >/dev/null 2>&1; then
2914 fi 2915 fi
2915 2916
2916 if test $ac_cv_header_stdc = yes; then 2917 if test $ac_cv_header_stdc = yes; then
2917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2918 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2918 cat > conftest.$ac_ext <<EOF 2919 cat > conftest.$ac_ext <<EOF
2919 #line 2920 "configure" 2920 #line 2921 "configure"
2920 #include "confdefs.h" 2921 #include "confdefs.h"
2921 #include <ctype.h> 2922 #include <ctype.h>
2922 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2923 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2923 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2924 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2924 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2925 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2925 int main () { int i; for (i = 0; i < 256; i++) 2926 int main () { int i; for (i = 0; i < 256; i++)
2926 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2927 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2927 exit (0); } 2928 exit (0); }
2928 2929
2929 EOF 2930 EOF
2930 if { (eval echo configure:2931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 2931 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
2931 then 2932 then
2932 : 2933 :
2933 else 2934 else
2934 echo "configure: failed program was:" >&5 2935 echo "configure: failed program was:" >&5
2935 cat conftest.$ac_ext >&5 2936 cat conftest.$ac_ext >&5
2950 } 2951 }
2951 2952
2952 fi 2953 fi
2953 2954
2954 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2955 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2955 echo "configure:2956: checking whether time.h and sys/time.h may both be included" >&5 2956 echo "configure:2957: checking whether time.h and sys/time.h may both be included" >&5
2956 2957
2957 cat > conftest.$ac_ext <<EOF 2958 cat > conftest.$ac_ext <<EOF
2958 #line 2959 "configure" 2959 #line 2960 "configure"
2959 #include "confdefs.h" 2960 #include "confdefs.h"
2960 #include <sys/types.h> 2961 #include <sys/types.h>
2961 #include <sys/time.h> 2962 #include <sys/time.h>
2962 #include <time.h> 2963 #include <time.h>
2963 int main() { 2964 int main() {
2964 struct tm *tp; 2965 struct tm *tp;
2965 ; return 0; } 2966 ; return 0; }
2966 EOF 2967 EOF
2967 if { (eval echo configure:2968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2968 if { (eval echo configure:2969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2968 rm -rf conftest* 2969 rm -rf conftest*
2969 ac_cv_header_time=yes 2970 ac_cv_header_time=yes
2970 else 2971 else
2971 echo "configure: failed program was:" >&5 2972 echo "configure: failed program was:" >&5
2972 cat conftest.$ac_ext >&5 2973 cat conftest.$ac_ext >&5
2986 } 2987 }
2987 2988
2988 fi 2989 fi
2989 2990
2990 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2991 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2991 echo "configure:2992: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2992 echo "configure:2993: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2992 2993
2993 cat > conftest.$ac_ext <<EOF 2994 cat > conftest.$ac_ext <<EOF
2994 #line 2995 "configure" 2995 #line 2996 "configure"
2995 #include "confdefs.h" 2996 #include "confdefs.h"
2996 #include <sys/types.h> 2997 #include <sys/types.h>
2997 #include <signal.h> 2998 #include <signal.h>
2998 /* NetBSD declares sys_siglist in unistd.h. */ 2999 /* NetBSD declares sys_siglist in unistd.h. */
2999 #ifdef HAVE_UNISTD_H 3000 #ifdef HAVE_UNISTD_H
3001 #endif 3002 #endif
3002 int main() { 3003 int main() {
3003 char *msg = *(sys_siglist + 1); 3004 char *msg = *(sys_siglist + 1);
3004 ; return 0; } 3005 ; return 0; }
3005 EOF 3006 EOF
3006 if { (eval echo configure:3007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3007 if { (eval echo configure:3008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3007 rm -rf conftest* 3008 rm -rf conftest*
3008 ac_cv_decl_sys_siglist=yes 3009 ac_cv_decl_sys_siglist=yes
3009 else 3010 else
3010 echo "configure: failed program was:" >&5 3011 echo "configure: failed program was:" >&5
3011 cat conftest.$ac_ext >&5 3012 cat conftest.$ac_ext >&5
3026 3027
3027 fi 3028 fi
3028 3029
3029 3030
3030 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 3031 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
3031 echo "configure:3032: checking for struct utimbuf" >&5 3032 echo "configure:3033: checking for struct utimbuf" >&5
3032 cat > conftest.$ac_ext <<EOF 3033 cat > conftest.$ac_ext <<EOF
3033 #line 3034 "configure" 3034 #line 3035 "configure"
3034 #include "confdefs.h" 3035 #include "confdefs.h"
3035 #ifdef TIME_WITH_SYS_TIME 3036 #ifdef TIME_WITH_SYS_TIME
3036 #include <sys/time.h> 3037 #include <sys/time.h>
3037 #include <time.h> 3038 #include <time.h>
3038 #else 3039 #else
3047 #endif 3048 #endif
3048 int main() { 3049 int main() {
3049 static struct utimbuf x; x.actime = x.modtime; 3050 static struct utimbuf x; x.actime = x.modtime;
3050 ; return 0; } 3051 ; return 0; }
3051 EOF 3052 EOF
3052 if { (eval echo configure:3053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3053 if { (eval echo configure:3054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3053 rm -rf conftest* 3054 rm -rf conftest*
3054 echo "$ac_t""yes" 1>&6 3055 echo "$ac_t""yes" 1>&6
3055 { test "$extra_verbose" = "yes" && cat << \EOF 3056 { test "$extra_verbose" = "yes" && cat << \EOF
3056 Defining HAVE_STRUCT_UTIMBUF 3057 Defining HAVE_STRUCT_UTIMBUF
3057 EOF 3058 EOF
3067 echo "$ac_t""no" 1>&6 3068 echo "$ac_t""no" 1>&6
3068 fi 3069 fi
3069 rm -f conftest* 3070 rm -f conftest*
3070 3071
3071 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3072 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3072 echo "configure:3073: checking return type of signal handlers" >&5 3073 echo "configure:3074: checking return type of signal handlers" >&5
3073 3074
3074 cat > conftest.$ac_ext <<EOF 3075 cat > conftest.$ac_ext <<EOF
3075 #line 3076 "configure" 3076 #line 3077 "configure"
3076 #include "confdefs.h" 3077 #include "confdefs.h"
3077 #include <sys/types.h> 3078 #include <sys/types.h>
3078 #include <signal.h> 3079 #include <signal.h>
3079 #ifdef signal 3080 #ifdef signal
3080 #undef signal 3081 #undef signal
3087 3088
3088 int main() { 3089 int main() {
3089 int i; 3090 int i;
3090 ; return 0; } 3091 ; return 0; }
3091 EOF 3092 EOF
3092 if { (eval echo configure:3093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3093 if { (eval echo configure:3094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3093 rm -rf conftest* 3094 rm -rf conftest*
3094 ac_cv_type_signal=void 3095 ac_cv_type_signal=void
3095 else 3096 else
3096 echo "configure: failed program was:" >&5 3097 echo "configure: failed program was:" >&5
3097 cat conftest.$ac_ext >&5 3098 cat conftest.$ac_ext >&5
3109 EOF 3110 EOF
3110 } 3111 }
3111 3112
3112 3113
3113 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3114 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3114 echo "configure:3115: checking for size_t" >&5 3115 echo "configure:3116: checking for size_t" >&5
3115 3116
3116 cat > conftest.$ac_ext <<EOF 3117 cat > conftest.$ac_ext <<EOF
3117 #line 3118 "configure" 3118 #line 3119 "configure"
3118 #include "confdefs.h" 3119 #include "confdefs.h"
3119 #include <sys/types.h> 3120 #include <sys/types.h>
3120 #if STDC_HEADERS 3121 #if STDC_HEADERS
3121 #include <stdlib.h> 3122 #include <stdlib.h>
3122 #include <stddef.h> 3123 #include <stddef.h>
3143 } 3144 }
3144 3145
3145 fi 3146 fi
3146 3147
3147 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 3148 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3148 echo "configure:3149: checking for pid_t" >&5 3149 echo "configure:3150: checking for pid_t" >&5
3149 3150
3150 cat > conftest.$ac_ext <<EOF 3151 cat > conftest.$ac_ext <<EOF
3151 #line 3152 "configure" 3152 #line 3153 "configure"
3152 #include "confdefs.h" 3153 #include "confdefs.h"
3153 #include <sys/types.h> 3154 #include <sys/types.h>
3154 #if STDC_HEADERS 3155 #if STDC_HEADERS
3155 #include <stdlib.h> 3156 #include <stdlib.h>
3156 #include <stddef.h> 3157 #include <stddef.h>
3177 } 3178 }
3178 3179
3179 fi 3180 fi
3180 3181
3181 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 3182 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3182 echo "configure:3183: checking for uid_t in sys/types.h" >&5 3183 echo "configure:3184: checking for uid_t in sys/types.h" >&5
3183 3184
3184 cat > conftest.$ac_ext <<EOF 3185 cat > conftest.$ac_ext <<EOF
3185 #line 3186 "configure" 3186 #line 3187 "configure"
3186 #include "confdefs.h" 3187 #include "confdefs.h"
3187 #include <sys/types.h> 3188 #include <sys/types.h>
3188 EOF 3189 EOF
3189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3190 egrep "uid_t" >/dev/null 2>&1; then 3191 egrep "uid_t" >/dev/null 2>&1; then
3216 } 3217 }
3217 3218
3218 fi 3219 fi
3219 3220
3220 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 3221 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3221 echo "configure:3222: checking for mode_t" >&5 3222 echo "configure:3223: checking for mode_t" >&5
3222 3223
3223 cat > conftest.$ac_ext <<EOF 3224 cat > conftest.$ac_ext <<EOF
3224 #line 3225 "configure" 3225 #line 3226 "configure"
3225 #include "confdefs.h" 3226 #include "confdefs.h"
3226 #include <sys/types.h> 3227 #include <sys/types.h>
3227 #if STDC_HEADERS 3228 #if STDC_HEADERS
3228 #include <stdlib.h> 3229 #include <stdlib.h>
3229 #include <stddef.h> 3230 #include <stddef.h>
3250 } 3251 }
3251 3252
3252 fi 3253 fi
3253 3254
3254 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3255 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3255 echo "configure:3256: checking for off_t" >&5 3256 echo "configure:3257: checking for off_t" >&5
3256 3257
3257 cat > conftest.$ac_ext <<EOF 3258 cat > conftest.$ac_ext <<EOF
3258 #line 3259 "configure" 3259 #line 3260 "configure"
3259 #include "confdefs.h" 3260 #include "confdefs.h"
3260 #include <sys/types.h> 3261 #include <sys/types.h>
3261 #if STDC_HEADERS 3262 #if STDC_HEADERS
3262 #include <stdlib.h> 3263 #include <stdlib.h>
3263 #include <stddef.h> 3264 #include <stddef.h>
3285 3286
3286 fi 3287 fi
3287 3288
3288 3289
3289 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 3290 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
3290 echo "configure:3291: checking for struct timeval" >&5 3291 echo "configure:3292: checking for struct timeval" >&5
3291 cat > conftest.$ac_ext <<EOF 3292 cat > conftest.$ac_ext <<EOF
3292 #line 3293 "configure" 3293 #line 3294 "configure"
3293 #include "confdefs.h" 3294 #include "confdefs.h"
3294 #ifdef TIME_WITH_SYS_TIME 3295 #ifdef TIME_WITH_SYS_TIME
3295 #include <sys/time.h> 3296 #include <sys/time.h>
3296 #include <time.h> 3297 #include <time.h>
3297 #else 3298 #else
3303 #endif 3304 #endif
3304 int main() { 3305 int main() {
3305 static struct timeval x; x.tv_sec = x.tv_usec; 3306 static struct timeval x; x.tv_sec = x.tv_usec;
3306 ; return 0; } 3307 ; return 0; }
3307 EOF 3308 EOF
3308 if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3309 if { (eval echo configure:3310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3309 rm -rf conftest* 3310 rm -rf conftest*
3310 echo "$ac_t""yes" 1>&6 3311 echo "$ac_t""yes" 1>&6
3311 HAVE_TIMEVAL=yes 3312 HAVE_TIMEVAL=yes
3312 { test "$extra_verbose" = "yes" && cat << \EOF 3313 { test "$extra_verbose" = "yes" && cat << \EOF
3313 Defining HAVE_TIMEVAL 3314 Defining HAVE_TIMEVAL
3325 HAVE_TIMEVAL=no 3326 HAVE_TIMEVAL=no
3326 fi 3327 fi
3327 rm -f conftest* 3328 rm -f conftest*
3328 3329
3329 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 3330 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3330 echo "configure:3331: checking whether struct tm is in sys/time.h or time.h" >&5 3331 echo "configure:3332: checking whether struct tm is in sys/time.h or time.h" >&5
3331 3332
3332 cat > conftest.$ac_ext <<EOF 3333 cat > conftest.$ac_ext <<EOF
3333 #line 3334 "configure" 3334 #line 3335 "configure"
3334 #include "confdefs.h" 3335 #include "confdefs.h"
3335 #include <sys/types.h> 3336 #include <sys/types.h>
3336 #include <time.h> 3337 #include <time.h>
3337 int main() { 3338 int main() {
3338 struct tm *tp; tp->tm_sec; 3339 struct tm *tp; tp->tm_sec;
3339 ; return 0; } 3340 ; return 0; }
3340 EOF 3341 EOF
3341 if { (eval echo configure:3342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3342 if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3342 rm -rf conftest* 3343 rm -rf conftest*
3343 ac_cv_struct_tm=time.h 3344 ac_cv_struct_tm=time.h
3344 else 3345 else
3345 echo "configure: failed program was:" >&5 3346 echo "configure: failed program was:" >&5
3346 cat conftest.$ac_ext >&5 3347 cat conftest.$ac_ext >&5
3360 } 3361 }
3361 3362
3362 fi 3363 fi
3363 3364
3364 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 3365 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3365 echo "configure:3366: checking for tm_zone in struct tm" >&5 3366 echo "configure:3367: checking for tm_zone in struct tm" >&5
3366 3367
3367 cat > conftest.$ac_ext <<EOF 3368 cat > conftest.$ac_ext <<EOF
3368 #line 3369 "configure" 3369 #line 3370 "configure"
3369 #include "confdefs.h" 3370 #include "confdefs.h"
3370 #include <sys/types.h> 3371 #include <sys/types.h>
3371 #include <$ac_cv_struct_tm> 3372 #include <$ac_cv_struct_tm>
3372 int main() { 3373 int main() {
3373 struct tm tm; tm.tm_zone; 3374 struct tm tm; tm.tm_zone;
3374 ; return 0; } 3375 ; return 0; }
3375 EOF 3376 EOF
3376 if { (eval echo configure:3377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3377 if { (eval echo configure:3378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3377 rm -rf conftest* 3378 rm -rf conftest*
3378 ac_cv_struct_tm_zone=yes 3379 ac_cv_struct_tm_zone=yes
3379 else 3380 else
3380 echo "configure: failed program was:" >&5 3381 echo "configure: failed program was:" >&5
3381 cat conftest.$ac_ext >&5 3382 cat conftest.$ac_ext >&5
3394 EOF 3395 EOF
3395 } 3396 }
3396 3397
3397 else 3398 else
3398 echo $ac_n "checking for tzname""... $ac_c" 1>&6 3399 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3399 echo "configure:3400: checking for tzname" >&5 3400 echo "configure:3401: checking for tzname" >&5
3400 3401
3401 cat > conftest.$ac_ext <<EOF 3402 cat > conftest.$ac_ext <<EOF
3402 #line 3403 "configure" 3403 #line 3404 "configure"
3403 #include "confdefs.h" 3404 #include "confdefs.h"
3404 #include <time.h> 3405 #include <time.h>
3405 #ifndef tzname /* For SGI. */ 3406 #ifndef tzname /* For SGI. */
3406 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 3407 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3407 #endif 3408 #endif
3408 int main() { 3409 int main() {
3409 atoi(*tzname); 3410 atoi(*tzname);
3410 ; return 0; } 3411 ; return 0; }
3411 EOF 3412 EOF
3412 if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3413 if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3413 rm -rf conftest* 3414 rm -rf conftest*
3414 ac_cv_var_tzname=yes 3415 ac_cv_var_tzname=yes
3415 else 3416 else
3416 echo "configure: failed program was:" >&5 3417 echo "configure: failed program was:" >&5
3417 cat conftest.$ac_ext >&5 3418 cat conftest.$ac_ext >&5
3433 fi 3434 fi
3434 fi 3435 fi
3435 3436
3436 3437
3437 echo $ac_n "checking for working const""... $ac_c" 1>&6 3438 echo $ac_n "checking for working const""... $ac_c" 1>&6
3438 echo "configure:3439: checking for working const" >&5 3439 echo "configure:3440: checking for working const" >&5
3439 3440
3440 cat > conftest.$ac_ext <<EOF 3441 cat > conftest.$ac_ext <<EOF
3441 #line 3442 "configure" 3442 #line 3443 "configure"
3442 #include "confdefs.h" 3443 #include "confdefs.h"
3443 3444
3444 int main() { 3445 int main() {
3445 3446
3446 /* Ultrix mips cc rejects this. */ 3447 /* Ultrix mips cc rejects this. */
3485 const int foo = 10; 3486 const int foo = 10;
3486 } 3487 }
3487 3488
3488 ; return 0; } 3489 ; return 0; }
3489 EOF 3490 EOF
3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3491 if { (eval echo configure:3492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3491 rm -rf conftest* 3492 rm -rf conftest*
3492 ac_cv_c_const=yes 3493 ac_cv_c_const=yes
3493 else 3494 else
3494 echo "configure: failed program was:" >&5 3495 echo "configure: failed program was:" >&5
3495 cat conftest.$ac_ext >&5 3496 cat conftest.$ac_ext >&5
3510 3511
3511 fi 3512 fi
3512 3513
3513 3514
3514 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3515 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3515 echo "configure:3516: checking whether ${MAKE-make} sets \${MAKE}" >&5 3516 echo "configure:3517: checking whether ${MAKE-make} sets \${MAKE}" >&5
3516 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3517 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3517 3518
3518 cat > conftestmake <<\EOF 3519 cat > conftestmake <<\EOF
3519 all: 3520 all:
3520 @echo 'ac_maketemp="${MAKE}"' 3521 @echo 'ac_maketemp="${MAKE}"'
3535 SET_MAKE="MAKE=${MAKE-make}" 3536 SET_MAKE="MAKE=${MAKE-make}"
3536 fi 3537 fi
3537 3538
3538 3539
3539 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3540 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3540 echo "configure:3541: checking whether byte ordering is bigendian" >&5 3541 echo "configure:3542: checking whether byte ordering is bigendian" >&5
3541 3542
3542 ac_cv_c_bigendian=unknown 3543 ac_cv_c_bigendian=unknown
3543 # See if sys/param.h defines the BYTE_ORDER macro. 3544 # See if sys/param.h defines the BYTE_ORDER macro.
3544 cat > conftest.$ac_ext <<EOF 3545 cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure" 3546 #line 3547 "configure"
3546 #include "confdefs.h" 3547 #include "confdefs.h"
3547 #include <sys/types.h> 3548 #include <sys/types.h>
3548 #include <sys/param.h> 3549 #include <sys/param.h>
3549 int main() { 3550 int main() {
3550 3551
3551 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3552 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3552 bogus endian macros 3553 bogus endian macros
3553 #endif 3554 #endif
3554 ; return 0; } 3555 ; return 0; }
3555 EOF 3556 EOF
3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3557 if { (eval echo configure:3558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3557 rm -rf conftest* 3558 rm -rf conftest*
3558 # It does; now see whether it defined to BIG_ENDIAN or not. 3559 # It does; now see whether it defined to BIG_ENDIAN or not.
3559 cat > conftest.$ac_ext <<EOF 3560 cat > conftest.$ac_ext <<EOF
3560 #line 3561 "configure" 3561 #line 3562 "configure"
3561 #include "confdefs.h" 3562 #include "confdefs.h"
3562 #include <sys/types.h> 3563 #include <sys/types.h>
3563 #include <sys/param.h> 3564 #include <sys/param.h>
3564 int main() { 3565 int main() {
3565 3566
3566 #if BYTE_ORDER != BIG_ENDIAN 3567 #if BYTE_ORDER != BIG_ENDIAN
3567 not big endian 3568 not big endian
3568 #endif 3569 #endif
3569 ; return 0; } 3570 ; return 0; }
3570 EOF 3571 EOF
3571 if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3572 if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 rm -rf conftest* 3573 rm -rf conftest*
3573 ac_cv_c_bigendian=yes 3574 ac_cv_c_bigendian=yes
3574 else 3575 else
3575 echo "configure: failed program was:" >&5 3576 echo "configure: failed program was:" >&5
3576 cat conftest.$ac_ext >&5 3577 cat conftest.$ac_ext >&5
3583 cat conftest.$ac_ext >&5 3584 cat conftest.$ac_ext >&5
3584 fi 3585 fi
3585 rm -f conftest* 3586 rm -f conftest*
3586 if test $ac_cv_c_bigendian = unknown; then 3587 if test $ac_cv_c_bigendian = unknown; then
3587 cat > conftest.$ac_ext <<EOF 3588 cat > conftest.$ac_ext <<EOF
3588 #line 3589 "configure" 3589 #line 3590 "configure"
3589 #include "confdefs.h" 3590 #include "confdefs.h"
3590 main () { 3591 main () {
3591 /* Are we little or big endian? From Harbison&Steele. */ 3592 /* Are we little or big endian? From Harbison&Steele. */
3592 union 3593 union
3593 { 3594 {
3596 } u; 3597 } u;
3597 u.l = 1; 3598 u.l = 1;
3598 exit (u.c[sizeof (long) - 1] == 1); 3599 exit (u.c[sizeof (long) - 1] == 1);
3599 } 3600 }
3600 EOF 3601 EOF
3601 if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3602 if { (eval echo configure:3603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3602 then 3603 then
3603 ac_cv_c_bigendian=no 3604 ac_cv_c_bigendian=no
3604 else 3605 else
3605 echo "configure: failed program was:" >&5 3606 echo "configure: failed program was:" >&5
3606 cat conftest.$ac_ext >&5 3607 cat conftest.$ac_ext >&5
3622 3623
3623 fi 3624 fi
3624 3625
3625 3626
3626 echo $ac_n "checking size of short""... $ac_c" 1>&6 3627 echo $ac_n "checking size of short""... $ac_c" 1>&6
3627 echo "configure:3628: checking size of short" >&5 3628 echo "configure:3629: checking size of short" >&5
3628 3629
3629 cat > conftest.$ac_ext <<EOF 3630 cat > conftest.$ac_ext <<EOF
3630 #line 3631 "configure" 3631 #line 3632 "configure"
3631 #include "confdefs.h" 3632 #include "confdefs.h"
3632 #include <stdio.h> 3633 #include <stdio.h>
3633 main() 3634 main()
3634 { 3635 {
3635 FILE *f=fopen("conftestval", "w"); 3636 FILE *f=fopen("conftestval", "w");
3636 if (!f) exit(1); 3637 if (!f) exit(1);
3637 fprintf(f, "%d\n", sizeof(short)); 3638 fprintf(f, "%d\n", sizeof(short));
3638 exit(0); 3639 exit(0);
3639 } 3640 }
3640 EOF 3641 EOF
3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3642 if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3642 then 3643 then
3643 ac_cv_sizeof_short=`cat conftestval` 3644 ac_cv_sizeof_short=`cat conftestval`
3644 else 3645 else
3645 echo "configure: failed program was:" >&5 3646 echo "configure: failed program was:" >&5
3646 cat conftest.$ac_ext >&5 3647 cat conftest.$ac_ext >&5
3663 echo "*** PANIC *** Configure tests are not working - compiler is broken." 3664 echo "*** PANIC *** Configure tests are not working - compiler is broken."
3664 echo "*** PANIC *** Please examine config.log for compilation errors." 3665 echo "*** PANIC *** Please examine config.log for compilation errors."
3665 exit 1 3666 exit 1
3666 fi 3667 fi
3667 echo $ac_n "checking size of int""... $ac_c" 1>&6 3668 echo $ac_n "checking size of int""... $ac_c" 1>&6
3668 echo "configure:3669: checking size of int" >&5 3669 echo "configure:3670: checking size of int" >&5
3669 3670
3670 cat > conftest.$ac_ext <<EOF 3671 cat > conftest.$ac_ext <<EOF
3671 #line 3672 "configure" 3672 #line 3673 "configure"
3672 #include "confdefs.h" 3673 #include "confdefs.h"
3673 #include <stdio.h> 3674 #include <stdio.h>
3674 main() 3675 main()
3675 { 3676 {
3676 FILE *f=fopen("conftestval", "w"); 3677 FILE *f=fopen("conftestval", "w");
3677 if (!f) exit(1); 3678 if (!f) exit(1);
3678 fprintf(f, "%d\n", sizeof(int)); 3679 fprintf(f, "%d\n", sizeof(int));
3679 exit(0); 3680 exit(0);
3680 } 3681 }
3681 EOF 3682 EOF
3682 if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3683 then 3684 then
3684 ac_cv_sizeof_int=`cat conftestval` 3685 ac_cv_sizeof_int=`cat conftestval`
3685 else 3686 else
3686 echo "configure: failed program was:" >&5 3687 echo "configure: failed program was:" >&5
3687 cat conftest.$ac_ext >&5 3688 cat conftest.$ac_ext >&5
3698 EOF 3699 EOF
3699 } 3700 }
3700 3701
3701 3702
3702 echo $ac_n "checking size of long""... $ac_c" 1>&6 3703 echo $ac_n "checking size of long""... $ac_c" 1>&6
3703 echo "configure:3704: checking size of long" >&5 3704 echo "configure:3705: checking size of long" >&5
3704 3705
3705 cat > conftest.$ac_ext <<EOF 3706 cat > conftest.$ac_ext <<EOF
3706 #line 3707 "configure" 3707 #line 3708 "configure"
3707 #include "confdefs.h" 3708 #include "confdefs.h"
3708 #include <stdio.h> 3709 #include <stdio.h>
3709 main() 3710 main()
3710 { 3711 {
3711 FILE *f=fopen("conftestval", "w"); 3712 FILE *f=fopen("conftestval", "w");
3712 if (!f) exit(1); 3713 if (!f) exit(1);
3713 fprintf(f, "%d\n", sizeof(long)); 3714 fprintf(f, "%d\n", sizeof(long));
3714 exit(0); 3715 exit(0);
3715 } 3716 }
3716 EOF 3717 EOF
3717 if { (eval echo configure:3718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3718 if { (eval echo configure:3719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3718 then 3719 then
3719 ac_cv_sizeof_long=`cat conftestval` 3720 ac_cv_sizeof_long=`cat conftestval`
3720 else 3721 else
3721 echo "configure: failed program was:" >&5 3722 echo "configure: failed program was:" >&5
3722 cat conftest.$ac_ext >&5 3723 cat conftest.$ac_ext >&5
3733 EOF 3734 EOF
3734 } 3735 }
3735 3736
3736 3737
3737 echo $ac_n "checking size of long long""... $ac_c" 1>&6 3738 echo $ac_n "checking size of long long""... $ac_c" 1>&6
3738 echo "configure:3739: checking size of long long" >&5 3739 echo "configure:3740: checking size of long long" >&5
3739 3740
3740 cat > conftest.$ac_ext <<EOF 3741 cat > conftest.$ac_ext <<EOF
3741 #line 3742 "configure" 3742 #line 3743 "configure"
3742 #include "confdefs.h" 3743 #include "confdefs.h"
3743 #include <stdio.h> 3744 #include <stdio.h>
3744 main() 3745 main()
3745 { 3746 {
3746 FILE *f=fopen("conftestval", "w"); 3747 FILE *f=fopen("conftestval", "w");
3747 if (!f) exit(1); 3748 if (!f) exit(1);
3748 fprintf(f, "%d\n", sizeof(long long)); 3749 fprintf(f, "%d\n", sizeof(long long));
3749 exit(0); 3750 exit(0);
3750 } 3751 }
3751 EOF 3752 EOF
3752 if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3753 if { (eval echo configure:3754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3753 then 3754 then
3754 ac_cv_sizeof_long_long=`cat conftestval` 3755 ac_cv_sizeof_long_long=`cat conftestval`
3755 else 3756 else
3756 echo "configure: failed program was:" >&5 3757 echo "configure: failed program was:" >&5
3757 cat conftest.$ac_ext >&5 3758 cat conftest.$ac_ext >&5
3768 EOF 3769 EOF
3769 } 3770 }
3770 3771
3771 3772
3772 echo $ac_n "checking size of void *""... $ac_c" 1>&6 3773 echo $ac_n "checking size of void *""... $ac_c" 1>&6
3773 echo "configure:3774: checking size of void *" >&5 3774 echo "configure:3775: checking size of void *" >&5
3774 3775
3775 cat > conftest.$ac_ext <<EOF 3776 cat > conftest.$ac_ext <<EOF
3776 #line 3777 "configure" 3777 #line 3778 "configure"
3777 #include "confdefs.h" 3778 #include "confdefs.h"
3778 #include <stdio.h> 3779 #include <stdio.h>
3779 main() 3780 main()
3780 { 3781 {
3781 FILE *f=fopen("conftestval", "w"); 3782 FILE *f=fopen("conftestval", "w");
3782 if (!f) exit(1); 3783 if (!f) exit(1);
3783 fprintf(f, "%d\n", sizeof(void *)); 3784 fprintf(f, "%d\n", sizeof(void *));
3784 exit(0); 3785 exit(0);
3785 } 3786 }
3786 EOF 3787 EOF
3787 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3788 if { (eval echo configure:3789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3788 then 3789 then
3789 ac_cv_sizeof_void_p=`cat conftestval` 3790 ac_cv_sizeof_void_p=`cat conftestval`
3790 else 3791 else
3791 echo "configure: failed program was:" >&5 3792 echo "configure: failed program was:" >&5
3792 cat conftest.$ac_ext >&5 3793 cat conftest.$ac_ext >&5
3804 } 3805 }
3805 3806
3806 3807
3807 3808
3808 echo $ac_n "checking for long file names""... $ac_c" 1>&6 3809 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3809 echo "configure:3810: checking for long file names" >&5 3810 echo "configure:3811: checking for long file names" >&5
3810 3811
3811 ac_cv_sys_long_file_names=yes 3812 ac_cv_sys_long_file_names=yes
3812 # Test for long file names in all the places we know might matter: 3813 # Test for long file names in all the places we know might matter:
3813 # . the current directory, where building will happen 3814 # . the current directory, where building will happen
3814 # $prefix/lib where we will be installing things 3815 # $prefix/lib where we will be installing things
3851 fi 3852 fi
3852 3853
3853 3854
3854 3855
3855 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 3856 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
3856 echo "configure:3857: checking for sin in -lm" >&5 3857 echo "configure:3858: checking for sin in -lm" >&5
3857 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 3858 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
3858 3859
3859 xe_check_libs=" -lm " 3860 xe_check_libs=" -lm "
3860 cat > conftest.$ac_ext <<EOF 3861 cat > conftest.$ac_ext <<EOF
3861 #line 3862 "configure" 3862 #line 3863 "configure"
3862 #include "confdefs.h" 3863 #include "confdefs.h"
3863 /* Override any gcc2 internal prototype to avoid an error. */ 3864 /* Override any gcc2 internal prototype to avoid an error. */
3864 /* We use char because int might match the return type of a gcc2 3865 /* We use char because int might match the return type of a gcc2
3865 builtin and then its argument prototype would still apply. */ 3866 builtin and then its argument prototype would still apply. */
3866 char sin(); 3867 char sin();
3867 3868
3868 int main() { 3869 int main() {
3869 sin() 3870 sin()
3870 ; return 0; } 3871 ; return 0; }
3871 EOF 3872 EOF
3872 if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3873 if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3873 rm -rf conftest* 3874 rm -rf conftest*
3874 eval "ac_cv_lib_$ac_lib_var=yes" 3875 eval "ac_cv_lib_$ac_lib_var=yes"
3875 else 3876 else
3876 echo "configure: failed program was:" >&5 3877 echo "configure: failed program was:" >&5
3877 cat conftest.$ac_ext >&5 3878 cat conftest.$ac_ext >&5
3909 EOF 3910 EOF
3910 } 3911 }
3911 3912
3912 3913
3913 cat > conftest.$ac_ext <<EOF 3914 cat > conftest.$ac_ext <<EOF
3914 #line 3915 "configure" 3915 #line 3916 "configure"
3915 #include "confdefs.h" 3916 #include "confdefs.h"
3916 #include <math.h> 3917 #include <math.h>
3917 int main() { 3918 int main() {
3918 return atanh(1.0) + asinh(1.0) + acosh(1.0); 3919 return atanh(1.0) + asinh(1.0) + acosh(1.0);
3919 ; return 0; } 3920 ; return 0; }
3920 EOF 3921 EOF
3921 if { (eval echo configure:3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3922 if { (eval echo configure:3923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3922 rm -rf conftest* 3923 rm -rf conftest*
3923 { test "$extra_verbose" = "yes" && cat << \EOF 3924 { test "$extra_verbose" = "yes" && cat << \EOF
3924 Defining HAVE_INVERSE_HYPERBOLIC 3925 Defining HAVE_INVERSE_HYPERBOLIC
3925 EOF 3926 EOF
3926 cat >> confdefs.h <<\EOF 3927 cat >> confdefs.h <<\EOF
3933 cat conftest.$ac_ext >&5 3934 cat conftest.$ac_ext >&5
3934 fi 3935 fi
3935 rm -f conftest* 3936 rm -f conftest*
3936 3937
3937 echo "checking type of mail spool file locking" 1>&6 3938 echo "checking type of mail spool file locking" 1>&6
3938 echo "configure:3939: checking type of mail spool file locking" >&5 3939 echo "configure:3940: checking type of mail spool file locking" >&5
3939 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock 3940 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock
3940 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf 3941 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf
3941 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF 3942 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF
3942 Defining REAL_MAIL_USE_LOCKF 3943 Defining REAL_MAIL_USE_LOCKF
3943 EOF 3944 EOF
3957 else mail_locking="dot-locking" 3958 else mail_locking="dot-locking"
3958 fi 3959 fi
3959 3960
3960 3961
3961 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 3962 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
3962 echo "configure:3963: checking for kstat_open in -lkstat" >&5 3963 echo "configure:3964: checking for kstat_open in -lkstat" >&5
3963 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 3964 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
3964 3965
3965 xe_check_libs=" -lkstat " 3966 xe_check_libs=" -lkstat "
3966 cat > conftest.$ac_ext <<EOF 3967 cat > conftest.$ac_ext <<EOF
3967 #line 3968 "configure" 3968 #line 3969 "configure"
3968 #include "confdefs.h" 3969 #include "confdefs.h"
3969 /* Override any gcc2 internal prototype to avoid an error. */ 3970 /* Override any gcc2 internal prototype to avoid an error. */
3970 /* We use char because int might match the return type of a gcc2 3971 /* We use char because int might match the return type of a gcc2
3971 builtin and then its argument prototype would still apply. */ 3972 builtin and then its argument prototype would still apply. */
3972 char kstat_open(); 3973 char kstat_open();
3973 3974
3974 int main() { 3975 int main() {
3975 kstat_open() 3976 kstat_open()
3976 ; return 0; } 3977 ; return 0; }
3977 EOF 3978 EOF
3978 if { (eval echo configure:3979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3979 if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3979 rm -rf conftest* 3980 rm -rf conftest*
3980 eval "ac_cv_lib_$ac_lib_var=yes" 3981 eval "ac_cv_lib_$ac_lib_var=yes"
3981 else 3982 else
3982 echo "configure: failed program was:" >&5 3983 echo "configure: failed program was:" >&5
3983 cat conftest.$ac_ext >&5 3984 cat conftest.$ac_ext >&5
4007 4008
4008 4009
4009 4010
4010 4011
4011 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 4012 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
4012 echo "configure:4013: checking for kvm_read in -lkvm" >&5 4013 echo "configure:4014: checking for kvm_read in -lkvm" >&5
4013 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 4014 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
4014 4015
4015 xe_check_libs=" -lkvm " 4016 xe_check_libs=" -lkvm "
4016 cat > conftest.$ac_ext <<EOF 4017 cat > conftest.$ac_ext <<EOF
4017 #line 4018 "configure" 4018 #line 4019 "configure"
4018 #include "confdefs.h" 4019 #include "confdefs.h"
4019 /* Override any gcc2 internal prototype to avoid an error. */ 4020 /* Override any gcc2 internal prototype to avoid an error. */
4020 /* We use char because int might match the return type of a gcc2 4021 /* We use char because int might match the return type of a gcc2
4021 builtin and then its argument prototype would still apply. */ 4022 builtin and then its argument prototype would still apply. */
4022 char kvm_read(); 4023 char kvm_read();
4023 4024
4024 int main() { 4025 int main() {
4025 kvm_read() 4026 kvm_read()
4026 ; return 0; } 4027 ; return 0; }
4027 EOF 4028 EOF
4028 if { (eval echo configure:4029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4029 if { (eval echo configure:4030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4029 rm -rf conftest* 4030 rm -rf conftest*
4030 eval "ac_cv_lib_$ac_lib_var=yes" 4031 eval "ac_cv_lib_$ac_lib_var=yes"
4031 else 4032 else
4032 echo "configure: failed program was:" >&5 4033 echo "configure: failed program was:" >&5
4033 cat conftest.$ac_ext >&5 4034 cat conftest.$ac_ext >&5
4057 4058
4058 4059
4059 4060
4060 4061
4061 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 4062 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4062 echo "configure:4063: checking for cma_open in -lpthreads" >&5 4063 echo "configure:4064: checking for cma_open in -lpthreads" >&5
4063 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 4064 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
4064 4065
4065 xe_check_libs=" -lpthreads " 4066 xe_check_libs=" -lpthreads "
4066 cat > conftest.$ac_ext <<EOF 4067 cat > conftest.$ac_ext <<EOF
4067 #line 4068 "configure" 4068 #line 4069 "configure"
4068 #include "confdefs.h" 4069 #include "confdefs.h"
4069 /* Override any gcc2 internal prototype to avoid an error. */ 4070 /* Override any gcc2 internal prototype to avoid an error. */
4070 /* 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
4071 builtin and then its argument prototype would still apply. */ 4072 builtin and then its argument prototype would still apply. */
4072 char cma_open(); 4073 char cma_open();
4073 4074
4074 int main() { 4075 int main() {
4075 cma_open() 4076 cma_open()
4076 ; return 0; } 4077 ; return 0; }
4077 EOF 4078 EOF
4078 if { (eval echo configure:4079: \"$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
4079 rm -rf conftest* 4080 rm -rf conftest*
4080 eval "ac_cv_lib_$ac_lib_var=yes" 4081 eval "ac_cv_lib_$ac_lib_var=yes"
4081 else 4082 else
4082 echo "configure: failed program was:" >&5 4083 echo "configure: failed program was:" >&5
4083 cat conftest.$ac_ext >&5 4084 cat conftest.$ac_ext >&5
4109 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then 4110 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then
4110 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac 4111 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac
4111 fi 4112 fi
4112 4113
4113 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 4114 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
4114 echo "configure:4115: checking whether the -xildoff compiler flag is required" >&5 4115 echo "configure:4116: checking whether the -xildoff compiler flag is required" >&5
4115 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 4116 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
4116 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 4117 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
4117 then echo "$ac_t""no" 1>&6; 4118 then echo "$ac_t""no" 1>&6;
4118 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 4119 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
4119 fi 4120 fi
4120 else echo "$ac_t""no" 1>&6 4121 else echo "$ac_t""no" 1>&6
4121 fi 4122 fi
4122 4123
4123 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then 4124 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then
4124 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 4125 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
4125 echo "configure:4126: checking for \"-z ignore\" linker flag" >&5 4126 echo "configure:4127: checking for \"-z ignore\" linker flag" >&5
4126 case "`ld -h 2>&1`" in 4127 case "`ld -h 2>&1`" in
4127 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 4128 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
4128 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 4129 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
4129 *) echo "$ac_t""no" 1>&6 ;; 4130 *) echo "$ac_t""no" 1>&6 ;;
4130 esac 4131 esac
4131 fi 4132 fi
4132 4133
4133 4134
4134 echo "checking "for specified window system"" 1>&6 4135 echo "checking "for specified window system"" 1>&6
4135 echo "configure:4136: checking "for specified window system"" >&5 4136 echo "configure:4137: checking "for specified window system"" >&5
4136 4137
4137 if test "$with_x11" != "no"; then 4138 if test "$with_x11" != "no"; then
4138 test "$x_includes $x_libraries" != "NONE NONE" && \ 4139 test "$x_includes $x_libraries" != "NONE NONE" && \
4139 window_system=x11 with_x11=yes 4140 window_system=x11 with_x11=yes
4140 4141
4160 # If we find X, set shell vars x_includes and x_libraries to the 4161 # If we find X, set shell vars x_includes and x_libraries to the
4161 # paths, otherwise set no_x=yes. 4162 # paths, otherwise set no_x=yes.
4162 # Uses ac_ vars as temps to allow command line to override cache and checks. 4163 # Uses ac_ vars as temps to allow command line to override cache and checks.
4163 # --without-x overrides everything else, but does not touch the cache. 4164 # --without-x overrides everything else, but does not touch the cache.
4164 echo $ac_n "checking for X""... $ac_c" 1>&6 4165 echo $ac_n "checking for X""... $ac_c" 1>&6
4165 echo "configure:4166: checking for X" >&5 4166 echo "configure:4167: checking for X" >&5
4166 4167
4167 # Check whether --with-x or --without-x was given. 4168 # Check whether --with-x or --without-x was given.
4168 if test "${with_x+set}" = set; then 4169 if test "${with_x+set}" = set; then
4169 withval="$with_x" 4170 withval="$with_x"
4170 : 4171 :
4220 # Guess where to find include files, by looking for this one X11 .h file. 4221 # Guess where to find include files, by looking for this one X11 .h file.
4221 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 4222 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
4222 4223
4223 # First, try using that file with no special directory specified. 4224 # First, try using that file with no special directory specified.
4224 cat > conftest.$ac_ext <<EOF 4225 cat > conftest.$ac_ext <<EOF
4225 #line 4226 "configure" 4226 #line 4227 "configure"
4226 #include "confdefs.h" 4227 #include "confdefs.h"
4227 #include <$x_direct_test_include> 4228 #include <$x_direct_test_include>
4228 EOF 4229 EOF
4229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4230 { (eval echo configure:4231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4231 { (eval echo configure:4232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4231 ac_err=`grep -v '^ *+' conftest.out` 4232 ac_err=`grep -v '^ *+' conftest.out`
4232 if test -z "$ac_err"; then 4233 if test -z "$ac_err"; then
4233 rm -rf conftest* 4234 rm -rf conftest*
4234 # We can compile using X headers with no special include directory. 4235 # We can compile using X headers with no special include directory.
4235 ac_x_includes= 4236 ac_x_includes=
4294 # See if we find them without any special options. 4295 # See if we find them without any special options.
4295 # Don't add to $LIBS permanently. 4296 # Don't add to $LIBS permanently.
4296 ac_save_LIBS="$LIBS" 4297 ac_save_LIBS="$LIBS"
4297 LIBS="-l$x_direct_test_library $LIBS" 4298 LIBS="-l$x_direct_test_library $LIBS"
4298 cat > conftest.$ac_ext <<EOF 4299 cat > conftest.$ac_ext <<EOF
4299 #line 4300 "configure" 4300 #line 4301 "configure"
4300 #include "confdefs.h" 4301 #include "confdefs.h"
4301 4302
4302 int main() { 4303 int main() {
4303 ${x_direct_test_function}() 4304 ${x_direct_test_function}()
4304 ; return 0; } 4305 ; return 0; }
4305 EOF 4306 EOF
4306 if { (eval echo configure:4307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4307 if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4307 rm -rf conftest* 4308 rm -rf conftest*
4308 LIBS="$ac_save_LIBS" 4309 LIBS="$ac_save_LIBS"
4309 # We can link X programs with no special library path. 4310 # We can link X programs with no special library path.
4310 ac_x_libraries= 4311 ac_x_libraries=
4311 else 4312 else
4410 # For Solaris; some versions of Sun CC require a space after -R and 4411 # For Solaris; some versions of Sun CC require a space after -R and
4411 # others require no space. Words are not sufficient . . . . 4412 # others require no space. Words are not sufficient . . . .
4412 case "`(uname -sr) 2>/dev/null`" in 4413 case "`(uname -sr) 2>/dev/null`" in
4413 "SunOS 5"*) 4414 "SunOS 5"*)
4414 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 4415 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
4415 echo "configure:4416: checking whether -R must be followed by a space" >&5 4416 echo "configure:4417: checking whether -R must be followed by a space" >&5
4416 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 4417 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
4417 cat > conftest.$ac_ext <<EOF 4418 cat > conftest.$ac_ext <<EOF
4418 #line 4419 "configure" 4419 #line 4420 "configure"
4419 #include "confdefs.h" 4420 #include "confdefs.h"
4420 4421
4421 int main() { 4422 int main() {
4422 4423
4423 ; return 0; } 4424 ; return 0; }
4424 EOF 4425 EOF
4425 if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4426 if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4426 rm -rf conftest* 4427 rm -rf conftest*
4427 ac_R_nospace=yes 4428 ac_R_nospace=yes
4428 else 4429 else
4429 echo "configure: failed program was:" >&5 4430 echo "configure: failed program was:" >&5
4430 cat conftest.$ac_ext >&5 4431 cat conftest.$ac_ext >&5
4436 echo "$ac_t""no" 1>&6 4437 echo "$ac_t""no" 1>&6
4437 X_LIBS="$X_LIBS -R$x_libraries" 4438 X_LIBS="$X_LIBS -R$x_libraries"
4438 else 4439 else
4439 LIBS="$ac_xsave_LIBS -R $x_libraries" 4440 LIBS="$ac_xsave_LIBS -R $x_libraries"
4440 cat > conftest.$ac_ext <<EOF 4441 cat > conftest.$ac_ext <<EOF
4441 #line 4442 "configure" 4442 #line 4443 "configure"
4442 #include "confdefs.h" 4443 #include "confdefs.h"
4443 4444
4444 int main() { 4445 int main() {
4445 4446
4446 ; return 0; } 4447 ; return 0; }
4447 EOF 4448 EOF
4448 if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4449 rm -rf conftest* 4450 rm -rf conftest*
4450 ac_R_space=yes 4451 ac_R_space=yes
4451 else 4452 else
4452 echo "configure: failed program was:" >&5 4453 echo "configure: failed program was:" >&5
4453 cat conftest.$ac_ext >&5 4454 cat conftest.$ac_ext >&5
4479 if test "$with_dnet" = "no" ; then 4480 if test "$with_dnet" = "no" ; then
4480 ac_cv_lib_dnet_dnet_ntoa=no 4481 ac_cv_lib_dnet_dnet_ntoa=no
4481 else 4482 else
4482 4483
4483 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4484 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4484 echo "configure:4485: checking for dnet_ntoa in -ldnet" >&5 4485 echo "configure:4486: checking for dnet_ntoa in -ldnet" >&5
4485 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4486 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4486 4487
4487 xe_check_libs=" -ldnet " 4488 xe_check_libs=" -ldnet "
4488 cat > conftest.$ac_ext <<EOF 4489 cat > conftest.$ac_ext <<EOF
4489 #line 4490 "configure" 4490 #line 4491 "configure"
4490 #include "confdefs.h" 4491 #include "confdefs.h"
4491 /* Override any gcc2 internal prototype to avoid an error. */ 4492 /* Override any gcc2 internal prototype to avoid an error. */
4492 /* We use char because int might match the return type of a gcc2 4493 /* We use char because int might match the return type of a gcc2
4493 builtin and then its argument prototype would still apply. */ 4494 builtin and then its argument prototype would still apply. */
4494 char dnet_ntoa(); 4495 char dnet_ntoa();
4495 4496
4496 int main() { 4497 int main() {
4497 dnet_ntoa() 4498 dnet_ntoa()
4498 ; return 0; } 4499 ; return 0; }
4499 EOF 4500 EOF
4500 if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4501 if { (eval echo configure:4502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4501 rm -rf conftest* 4502 rm -rf conftest*
4502 eval "ac_cv_lib_$ac_lib_var=yes" 4503 eval "ac_cv_lib_$ac_lib_var=yes"
4503 else 4504 else
4504 echo "configure: failed program was:" >&5 4505 echo "configure: failed program was:" >&5
4505 cat conftest.$ac_ext >&5 4506 cat conftest.$ac_ext >&5
4519 fi 4520 fi
4520 4521
4521 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 4522 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4522 4523
4523 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 4524 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
4524 echo "configure:4525: checking for dnet_ntoa in -ldnet_stub" >&5 4525 echo "configure:4526: checking for dnet_ntoa in -ldnet_stub" >&5
4525 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4526 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4526 4527
4527 xe_check_libs=" -ldnet_stub " 4528 xe_check_libs=" -ldnet_stub "
4528 cat > conftest.$ac_ext <<EOF 4529 cat > conftest.$ac_ext <<EOF
4529 #line 4530 "configure" 4530 #line 4531 "configure"
4530 #include "confdefs.h" 4531 #include "confdefs.h"
4531 /* Override any gcc2 internal prototype to avoid an error. */ 4532 /* Override any gcc2 internal prototype to avoid an error. */
4532 /* We use char because int might match the return type of a gcc2 4533 /* We use char because int might match the return type of a gcc2
4533 builtin and then its argument prototype would still apply. */ 4534 builtin and then its argument prototype would still apply. */
4534 char dnet_ntoa(); 4535 char dnet_ntoa();
4535 4536
4536 int main() { 4537 int main() {
4537 dnet_ntoa() 4538 dnet_ntoa()
4538 ; return 0; } 4539 ; return 0; }
4539 EOF 4540 EOF
4540 if { (eval echo configure:4541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4541 if { (eval echo configure:4542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4541 rm -rf conftest* 4542 rm -rf conftest*
4542 eval "ac_cv_lib_$ac_lib_var=yes" 4543 eval "ac_cv_lib_$ac_lib_var=yes"
4543 else 4544 else
4544 echo "configure: failed program was:" >&5 4545 echo "configure: failed program was:" >&5
4545 cat conftest.$ac_ext >&5 4546 cat conftest.$ac_ext >&5
4564 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 4565 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
4565 # needs -lnsl. 4566 # needs -lnsl.
4566 # The nsl library prevents programs from opening the X display 4567 # The nsl library prevents programs from opening the X display
4567 # on Irix 5.2, according to dickey@clark.net. 4568 # on Irix 5.2, according to dickey@clark.net.
4568 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 4569 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4569 echo "configure:4570: checking for gethostbyname" >&5 4570 echo "configure:4571: checking for gethostbyname" >&5
4570 4571
4571 cat > conftest.$ac_ext <<EOF 4572 cat > conftest.$ac_ext <<EOF
4572 #line 4573 "configure" 4573 #line 4574 "configure"
4573 #include "confdefs.h" 4574 #include "confdefs.h"
4574 /* System header to define __stub macros and hopefully few prototypes, 4575 /* System header to define __stub macros and hopefully few prototypes,
4575 which can conflict with char gethostbyname(); below. */ 4576 which can conflict with char gethostbyname(); below. */
4576 #include <assert.h> 4577 #include <assert.h>
4577 /* Override any gcc2 internal prototype to avoid an error. */ 4578 /* Override any gcc2 internal prototype to avoid an error. */
4590 gethostbyname(); 4591 gethostbyname();
4591 #endif 4592 #endif
4592 4593
4593 ; return 0; } 4594 ; return 0; }
4594 EOF 4595 EOF
4595 if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4596 if { (eval echo configure:4597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4596 rm -rf conftest* 4597 rm -rf conftest*
4597 eval "ac_cv_func_gethostbyname=yes" 4598 eval "ac_cv_func_gethostbyname=yes"
4598 else 4599 else
4599 echo "configure: failed program was:" >&5 4600 echo "configure: failed program was:" >&5
4600 cat conftest.$ac_ext >&5 4601 cat conftest.$ac_ext >&5
4611 fi 4612 fi
4612 4613
4613 if test $ac_cv_func_gethostbyname = no; then 4614 if test $ac_cv_func_gethostbyname = no; then
4614 4615
4615 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 4616 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
4616 echo "configure:4617: checking for gethostbyname in -lnsl" >&5 4617 echo "configure:4618: checking for gethostbyname in -lnsl" >&5
4617 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 4618 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
4618 4619
4619 xe_check_libs=" -lnsl " 4620 xe_check_libs=" -lnsl "
4620 cat > conftest.$ac_ext <<EOF 4621 cat > conftest.$ac_ext <<EOF
4621 #line 4622 "configure" 4622 #line 4623 "configure"
4622 #include "confdefs.h" 4623 #include "confdefs.h"
4623 /* Override any gcc2 internal prototype to avoid an error. */ 4624 /* Override any gcc2 internal prototype to avoid an error. */
4624 /* We use char because int might match the return type of a gcc2 4625 /* We use char because int might match the return type of a gcc2
4625 builtin and then its argument prototype would still apply. */ 4626 builtin and then its argument prototype would still apply. */
4626 char gethostbyname(); 4627 char gethostbyname();
4627 4628
4628 int main() { 4629 int main() {
4629 gethostbyname() 4630 gethostbyname()
4630 ; return 0; } 4631 ; return 0; }
4631 EOF 4632 EOF
4632 if { (eval echo configure:4633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4633 if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4633 rm -rf conftest* 4634 rm -rf conftest*
4634 eval "ac_cv_lib_$ac_lib_var=yes" 4635 eval "ac_cv_lib_$ac_lib_var=yes"
4635 else 4636 else
4636 echo "configure: failed program was:" >&5 4637 echo "configure: failed program was:" >&5
4637 cat conftest.$ac_ext >&5 4638 cat conftest.$ac_ext >&5
4657 # on later versions), says simon@lia.di.epfl.ch: it contains 4658 # on later versions), says simon@lia.di.epfl.ch: it contains
4658 # gethostby* variants that don't use the nameserver (or something). 4659 # gethostby* variants that don't use the nameserver (or something).
4659 # -lsocket must be given before -lnsl if both are needed. 4660 # -lsocket must be given before -lnsl if both are needed.
4660 # We assume that if connect needs -lnsl, so does gethostbyname. 4661 # We assume that if connect needs -lnsl, so does gethostbyname.
4661 echo $ac_n "checking for connect""... $ac_c" 1>&6 4662 echo $ac_n "checking for connect""... $ac_c" 1>&6
4662 echo "configure:4663: checking for connect" >&5 4663 echo "configure:4664: checking for connect" >&5
4663 4664
4664 cat > conftest.$ac_ext <<EOF 4665 cat > conftest.$ac_ext <<EOF
4665 #line 4666 "configure" 4666 #line 4667 "configure"
4666 #include "confdefs.h" 4667 #include "confdefs.h"
4667 /* System header to define __stub macros and hopefully few prototypes, 4668 /* System header to define __stub macros and hopefully few prototypes,
4668 which can conflict with char connect(); below. */ 4669 which can conflict with char connect(); below. */
4669 #include <assert.h> 4670 #include <assert.h>
4670 /* Override any gcc2 internal prototype to avoid an error. */ 4671 /* Override any gcc2 internal prototype to avoid an error. */
4683 connect(); 4684 connect();
4684 #endif 4685 #endif
4685 4686
4686 ; return 0; } 4687 ; return 0; }
4687 EOF 4688 EOF
4688 if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4689 rm -rf conftest* 4690 rm -rf conftest*
4690 eval "ac_cv_func_connect=yes" 4691 eval "ac_cv_func_connect=yes"
4691 else 4692 else
4692 echo "configure: failed program was:" >&5 4693 echo "configure: failed program was:" >&5
4693 cat conftest.$ac_ext >&5 4694 cat conftest.$ac_ext >&5
4706 if test $ac_cv_func_connect = no; then 4707 if test $ac_cv_func_connect = no; then
4707 4708
4708 xe_msg_checking="for connect in -lsocket" 4709 xe_msg_checking="for connect in -lsocket"
4709 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 4710 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
4710 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 4711 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
4711 echo "configure:4712: checking "$xe_msg_checking"" >&5 4712 echo "configure:4713: checking "$xe_msg_checking"" >&5
4712 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 4713 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
4713 4714
4714 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 4715 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
4715 cat > conftest.$ac_ext <<EOF 4716 cat > conftest.$ac_ext <<EOF
4716 #line 4717 "configure" 4717 #line 4718 "configure"
4717 #include "confdefs.h" 4718 #include "confdefs.h"
4718 /* Override any gcc2 internal prototype to avoid an error. */ 4719 /* Override any gcc2 internal prototype to avoid an error. */
4719 /* We use char because int might match the return type of a gcc2 4720 /* We use char because int might match the return type of a gcc2
4720 builtin and then its argument prototype would still apply. */ 4721 builtin and then its argument prototype would still apply. */
4721 char connect(); 4722 char connect();
4722 4723
4723 int main() { 4724 int main() {
4724 connect() 4725 connect()
4725 ; return 0; } 4726 ; return 0; }
4726 EOF 4727 EOF
4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4728 rm -rf conftest* 4729 rm -rf conftest*
4729 eval "ac_cv_lib_$ac_lib_var=yes" 4730 eval "ac_cv_lib_$ac_lib_var=yes"
4730 else 4731 else
4731 echo "configure: failed program was:" >&5 4732 echo "configure: failed program was:" >&5
4732 cat conftest.$ac_ext >&5 4733 cat conftest.$ac_ext >&5
4746 4747
4747 fi 4748 fi
4748 4749
4749 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 4750 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
4750 echo $ac_n "checking for remove""... $ac_c" 1>&6 4751 echo $ac_n "checking for remove""... $ac_c" 1>&6
4751 echo "configure:4752: checking for remove" >&5 4752 echo "configure:4753: checking for remove" >&5
4752 4753
4753 cat > conftest.$ac_ext <<EOF 4754 cat > conftest.$ac_ext <<EOF
4754 #line 4755 "configure" 4755 #line 4756 "configure"
4755 #include "confdefs.h" 4756 #include "confdefs.h"
4756 /* System header to define __stub macros and hopefully few prototypes, 4757 /* System header to define __stub macros and hopefully few prototypes,
4757 which can conflict with char remove(); below. */ 4758 which can conflict with char remove(); below. */
4758 #include <assert.h> 4759 #include <assert.h>
4759 /* Override any gcc2 internal prototype to avoid an error. */ 4760 /* Override any gcc2 internal prototype to avoid an error. */
4772 remove(); 4773 remove();
4773 #endif 4774 #endif
4774 4775
4775 ; return 0; } 4776 ; return 0; }
4776 EOF 4777 EOF
4777 if { (eval echo configure:4778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4778 if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4778 rm -rf conftest* 4779 rm -rf conftest*
4779 eval "ac_cv_func_remove=yes" 4780 eval "ac_cv_func_remove=yes"
4780 else 4781 else
4781 echo "configure: failed program was:" >&5 4782 echo "configure: failed program was:" >&5
4782 cat conftest.$ac_ext >&5 4783 cat conftest.$ac_ext >&5
4793 fi 4794 fi
4794 4795
4795 if test $ac_cv_func_remove = no; then 4796 if test $ac_cv_func_remove = no; then
4796 4797
4797 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 4798 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
4798 echo "configure:4799: checking for remove in -lposix" >&5 4799 echo "configure:4800: checking for remove in -lposix" >&5
4799 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 4800 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
4800 4801
4801 xe_check_libs=" -lposix " 4802 xe_check_libs=" -lposix "
4802 cat > conftest.$ac_ext <<EOF 4803 cat > conftest.$ac_ext <<EOF
4803 #line 4804 "configure" 4804 #line 4805 "configure"
4804 #include "confdefs.h" 4805 #include "confdefs.h"
4805 /* Override any gcc2 internal prototype to avoid an error. */ 4806 /* Override any gcc2 internal prototype to avoid an error. */
4806 /* We use char because int might match the return type of a gcc2 4807 /* We use char because int might match the return type of a gcc2
4807 builtin and then its argument prototype would still apply. */ 4808 builtin and then its argument prototype would still apply. */
4808 char remove(); 4809 char remove();
4809 4810
4810 int main() { 4811 int main() {
4811 remove() 4812 remove()
4812 ; return 0; } 4813 ; return 0; }
4813 EOF 4814 EOF
4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4815 if { (eval echo configure:4816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4815 rm -rf conftest* 4816 rm -rf conftest*
4816 eval "ac_cv_lib_$ac_lib_var=yes" 4817 eval "ac_cv_lib_$ac_lib_var=yes"
4817 else 4818 else
4818 echo "configure: failed program was:" >&5 4819 echo "configure: failed program was:" >&5
4819 cat conftest.$ac_ext >&5 4820 cat conftest.$ac_ext >&5
4833 4834
4834 fi 4835 fi
4835 4836
4836 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 4837 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4837 echo $ac_n "checking for shmat""... $ac_c" 1>&6 4838 echo $ac_n "checking for shmat""... $ac_c" 1>&6
4838 echo "configure:4839: checking for shmat" >&5 4839 echo "configure:4840: checking for shmat" >&5
4839 4840
4840 cat > conftest.$ac_ext <<EOF 4841 cat > conftest.$ac_ext <<EOF
4841 #line 4842 "configure" 4842 #line 4843 "configure"
4842 #include "confdefs.h" 4843 #include "confdefs.h"
4843 /* System header to define __stub macros and hopefully few prototypes, 4844 /* System header to define __stub macros and hopefully few prototypes,
4844 which can conflict with char shmat(); below. */ 4845 which can conflict with char shmat(); below. */
4845 #include <assert.h> 4846 #include <assert.h>
4846 /* Override any gcc2 internal prototype to avoid an error. */ 4847 /* Override any gcc2 internal prototype to avoid an error. */
4859 shmat(); 4860 shmat();
4860 #endif 4861 #endif
4861 4862
4862 ; return 0; } 4863 ; return 0; }
4863 EOF 4864 EOF
4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4865 rm -rf conftest* 4866 rm -rf conftest*
4866 eval "ac_cv_func_shmat=yes" 4867 eval "ac_cv_func_shmat=yes"
4867 else 4868 else
4868 echo "configure: failed program was:" >&5 4869 echo "configure: failed program was:" >&5
4869 cat conftest.$ac_ext >&5 4870 cat conftest.$ac_ext >&5
4880 fi 4881 fi
4881 4882
4882 if test $ac_cv_func_shmat = no; then 4883 if test $ac_cv_func_shmat = no; then
4883 4884
4884 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 4885 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
4885 echo "configure:4886: checking for shmat in -lipc" >&5 4886 echo "configure:4887: checking for shmat in -lipc" >&5
4886 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 4887 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
4887 4888
4888 xe_check_libs=" -lipc " 4889 xe_check_libs=" -lipc "
4889 cat > conftest.$ac_ext <<EOF 4890 cat > conftest.$ac_ext <<EOF
4890 #line 4891 "configure" 4891 #line 4892 "configure"
4891 #include "confdefs.h" 4892 #include "confdefs.h"
4892 /* Override any gcc2 internal prototype to avoid an error. */ 4893 /* Override any gcc2 internal prototype to avoid an error. */
4893 /* We use char because int might match the return type of a gcc2 4894 /* We use char because int might match the return type of a gcc2
4894 builtin and then its argument prototype would still apply. */ 4895 builtin and then its argument prototype would still apply. */
4895 char shmat(); 4896 char shmat();
4896 4897
4897 int main() { 4898 int main() {
4898 shmat() 4899 shmat()
4899 ; return 0; } 4900 ; return 0; }
4900 EOF 4901 EOF
4901 if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4902 if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4902 rm -rf conftest* 4903 rm -rf conftest*
4903 eval "ac_cv_lib_$ac_lib_var=yes" 4904 eval "ac_cv_lib_$ac_lib_var=yes"
4904 else 4905 else
4905 echo "configure: failed program was:" >&5 4906 echo "configure: failed program was:" >&5
4906 cat conftest.$ac_ext >&5 4907 cat conftest.$ac_ext >&5
4930 # These have to be linked with before -lX11, unlike the other 4931 # These have to be linked with before -lX11, unlike the other
4931 # libraries we check for below, so use a different variable. 4932 # libraries we check for below, so use a different variable.
4932 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 4933 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
4933 4934
4934 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 4935 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
4935 echo "configure:4936: checking for IceConnectionNumber in -lICE" >&5 4936 echo "configure:4937: checking for IceConnectionNumber in -lICE" >&5
4936 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 4937 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
4937 4938
4938 xe_check_libs=" -lICE " 4939 xe_check_libs=" -lICE "
4939 cat > conftest.$ac_ext <<EOF 4940 cat > conftest.$ac_ext <<EOF
4940 #line 4941 "configure" 4941 #line 4942 "configure"
4941 #include "confdefs.h" 4942 #include "confdefs.h"
4942 /* Override any gcc2 internal prototype to avoid an error. */ 4943 /* Override any gcc2 internal prototype to avoid an error. */
4943 /* We use char because int might match the return type of a gcc2 4944 /* We use char because int might match the return type of a gcc2
4944 builtin and then its argument prototype would still apply. */ 4945 builtin and then its argument prototype would still apply. */
4945 char IceConnectionNumber(); 4946 char IceConnectionNumber();
4946 4947
4947 int main() { 4948 int main() {
4948 IceConnectionNumber() 4949 IceConnectionNumber()
4949 ; return 0; } 4950 ; return 0; }
4950 EOF 4951 EOF
4951 if { (eval echo configure:4952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4952 if { (eval echo configure:4953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4952 rm -rf conftest* 4953 rm -rf conftest*
4953 eval "ac_cv_lib_$ac_lib_var=yes" 4954 eval "ac_cv_lib_$ac_lib_var=yes"
4954 else 4955 else
4955 echo "configure: failed program was:" >&5 4956 echo "configure: failed program was:" >&5
4956 cat conftest.$ac_ext >&5 4957 cat conftest.$ac_ext >&5
5100 EOF 5101 EOF
5101 } 5102 }
5102 5103
5103 5104
5104 echo "checking for X defines extracted by xmkmf" 1>&6 5105 echo "checking for X defines extracted by xmkmf" 1>&6
5105 echo "configure:5106: checking for X defines extracted by xmkmf" >&5 5106 echo "configure:5107: checking for X defines extracted by xmkmf" >&5
5106 rm -fr conftestdir 5107 rm -fr conftestdir
5107 if mkdir conftestdir; then 5108 if mkdir conftestdir; then
5108 cd conftestdir 5109 cd conftestdir
5109 cat > Imakefile <<'EOF' 5110 cat > Imakefile <<'EOF'
5110 xetest: 5111 xetest:
5132 done 5133 done
5133 fi 5134 fi
5134 5135
5135 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 5136 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
5136 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 5137 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
5137 echo "configure:5138: checking for X11/Intrinsic.h" >&5 5138 echo "configure:5139: checking for X11/Intrinsic.h" >&5
5138 5139
5139 cat > conftest.$ac_ext <<EOF 5140 cat > conftest.$ac_ext <<EOF
5140 #line 5141 "configure" 5141 #line 5142 "configure"
5141 #include "confdefs.h" 5142 #include "confdefs.h"
5142 #include <X11/Intrinsic.h> 5143 #include <X11/Intrinsic.h>
5143 EOF 5144 EOF
5144 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5145 { (eval echo configure:5146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5146 { (eval echo configure:5147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5146 ac_err=`grep -v '^ *+' conftest.out` 5147 ac_err=`grep -v '^ *+' conftest.out`
5147 if test -z "$ac_err"; then 5148 if test -z "$ac_err"; then
5148 rm -rf conftest* 5149 rm -rf conftest*
5149 eval "ac_cv_header_$ac_safe=yes" 5150 eval "ac_cv_header_$ac_safe=yes"
5150 else 5151 else
5164 fi 5165 fi
5165 5166
5166 5167
5167 5168
5168 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 5169 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
5169 echo "configure:5170: checking for XOpenDisplay in -lX11" >&5 5170 echo "configure:5171: checking for XOpenDisplay in -lX11" >&5
5170 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 5171 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
5171 5172
5172 xe_check_libs=" -lX11 " 5173 xe_check_libs=" -lX11 "
5173 cat > conftest.$ac_ext <<EOF 5174 cat > conftest.$ac_ext <<EOF
5174 #line 5175 "configure" 5175 #line 5176 "configure"
5175 #include "confdefs.h" 5176 #include "confdefs.h"
5176 /* Override any gcc2 internal prototype to avoid an error. */ 5177 /* Override any gcc2 internal prototype to avoid an error. */
5177 /* We use char because int might match the return type of a gcc2 5178 /* We use char because int might match the return type of a gcc2
5178 builtin and then its argument prototype would still apply. */ 5179 builtin and then its argument prototype would still apply. */
5179 char XOpenDisplay(); 5180 char XOpenDisplay();
5180 5181
5181 int main() { 5182 int main() {
5182 XOpenDisplay() 5183 XOpenDisplay()
5183 ; return 0; } 5184 ; return 0; }
5184 EOF 5185 EOF
5185 if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5186 if { (eval echo configure:5187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5186 rm -rf conftest* 5187 rm -rf conftest*
5187 eval "ac_cv_lib_$ac_lib_var=yes" 5188 eval "ac_cv_lib_$ac_lib_var=yes"
5188 else 5189 else
5189 echo "configure: failed program was:" >&5 5190 echo "configure: failed program was:" >&5
5190 cat conftest.$ac_ext >&5 5191 cat conftest.$ac_ext >&5
5205 if test "$have_lib_x11" != "yes"; then 5206 if test "$have_lib_x11" != "yes"; then
5206 5207
5207 xe_msg_checking="for XGetFontProperty in -lX11" 5208 xe_msg_checking="for XGetFontProperty in -lX11"
5208 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 5209 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
5209 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5210 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5210 echo "configure:5211: checking "$xe_msg_checking"" >&5 5211 echo "configure:5212: checking "$xe_msg_checking"" >&5
5211 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 5212 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
5212 5213
5213 xe_check_libs=" -lX11 -b i486-linuxaout" 5214 xe_check_libs=" -lX11 -b i486-linuxaout"
5214 cat > conftest.$ac_ext <<EOF 5215 cat > conftest.$ac_ext <<EOF
5215 #line 5216 "configure" 5216 #line 5217 "configure"
5216 #include "confdefs.h" 5217 #include "confdefs.h"
5217 /* Override any gcc2 internal prototype to avoid an error. */ 5218 /* Override any gcc2 internal prototype to avoid an error. */
5218 /* We use char because int might match the return type of a gcc2 5219 /* We use char because int might match the return type of a gcc2
5219 builtin and then its argument prototype would still apply. */ 5220 builtin and then its argument prototype would still apply. */
5220 char XGetFontProperty(); 5221 char XGetFontProperty();
5221 5222
5222 int main() { 5223 int main() {
5223 XGetFontProperty() 5224 XGetFontProperty()
5224 ; return 0; } 5225 ; return 0; }
5225 EOF 5226 EOF
5226 if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5227 if { (eval echo configure:5228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5227 rm -rf conftest* 5228 rm -rf conftest*
5228 eval "ac_cv_lib_$ac_lib_var=yes" 5229 eval "ac_cv_lib_$ac_lib_var=yes"
5229 else 5230 else
5230 echo "configure: failed program was:" >&5 5231 echo "configure: failed program was:" >&5
5231 cat conftest.$ac_ext >&5 5232 cat conftest.$ac_ext >&5
5248 libs_x="-lX11" 5249 libs_x="-lX11"
5249 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 5250 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
5250 5251
5251 5252
5252 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 5253 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
5253 echo "configure:5254: checking for XShapeSelectInput in -lXext" >&5 5254 echo "configure:5255: checking for XShapeSelectInput in -lXext" >&5
5254 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 5255 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
5255 5256
5256 xe_check_libs=" -lXext " 5257 xe_check_libs=" -lXext "
5257 cat > conftest.$ac_ext <<EOF 5258 cat > conftest.$ac_ext <<EOF
5258 #line 5259 "configure" 5259 #line 5260 "configure"
5259 #include "confdefs.h" 5260 #include "confdefs.h"
5260 /* Override any gcc2 internal prototype to avoid an error. */ 5261 /* Override any gcc2 internal prototype to avoid an error. */
5261 /* We use char because int might match the return type of a gcc2 5262 /* We use char because int might match the return type of a gcc2
5262 builtin and then its argument prototype would still apply. */ 5263 builtin and then its argument prototype would still apply. */
5263 char XShapeSelectInput(); 5264 char XShapeSelectInput();
5264 5265
5265 int main() { 5266 int main() {
5266 XShapeSelectInput() 5267 XShapeSelectInput()
5267 ; return 0; } 5268 ; return 0; }
5268 EOF 5269 EOF
5269 if { (eval echo configure:5270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5270 if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5270 rm -rf conftest* 5271 rm -rf conftest*
5271 eval "ac_cv_lib_$ac_lib_var=yes" 5272 eval "ac_cv_lib_$ac_lib_var=yes"
5272 else 5273 else
5273 echo "configure: failed program was:" >&5 5274 echo "configure: failed program was:" >&5
5274 cat conftest.$ac_ext >&5 5275 cat conftest.$ac_ext >&5
5287 5288
5288 5289
5289 5290
5290 5291
5291 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 5292 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
5292 echo "configure:5293: checking for XtOpenDisplay in -lXt" >&5 5293 echo "configure:5294: checking for XtOpenDisplay in -lXt" >&5
5293 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 5294 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
5294 5295
5295 xe_check_libs=" -lXt " 5296 xe_check_libs=" -lXt "
5296 cat > conftest.$ac_ext <<EOF 5297 cat > conftest.$ac_ext <<EOF
5297 #line 5298 "configure" 5298 #line 5299 "configure"
5298 #include "confdefs.h" 5299 #include "confdefs.h"
5299 /* Override any gcc2 internal prototype to avoid an error. */ 5300 /* Override any gcc2 internal prototype to avoid an error. */
5300 /* We use char because int might match the return type of a gcc2 5301 /* We use char because int might match the return type of a gcc2
5301 builtin and then its argument prototype would still apply. */ 5302 builtin and then its argument prototype would still apply. */
5302 char XtOpenDisplay(); 5303 char XtOpenDisplay();
5303 5304
5304 int main() { 5305 int main() {
5305 XtOpenDisplay() 5306 XtOpenDisplay()
5306 ; return 0; } 5307 ; return 0; }
5307 EOF 5308 EOF
5308 if { (eval echo configure:5309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5309 if { (eval echo configure:5310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5309 rm -rf conftest* 5310 rm -rf conftest*
5310 eval "ac_cv_lib_$ac_lib_var=yes" 5311 eval "ac_cv_lib_$ac_lib_var=yes"
5311 else 5312 else
5312 echo "configure: failed program was:" >&5 5313 echo "configure: failed program was:" >&5
5313 cat conftest.$ac_ext >&5 5314 cat conftest.$ac_ext >&5
5326 fi 5327 fi
5327 5328
5328 5329
5329 5330
5330 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 5331 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
5331 echo "configure:5332: checking the version of X11 being used" >&5 5332 echo "configure:5333: checking the version of X11 being used" >&5
5332 cat > conftest.$ac_ext <<EOF 5333 cat > conftest.$ac_ext <<EOF
5333 #line 5334 "configure" 5334 #line 5335 "configure"
5334 #include "confdefs.h" 5335 #include "confdefs.h"
5335 #include <X11/Intrinsic.h> 5336 #include <X11/Intrinsic.h>
5336 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } 5337 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; }
5337 EOF 5338 EOF
5338 if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 5339 if { (eval echo configure:5340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
5339 then 5340 then
5340 ./conftest foobar; x11_release=$? 5341 ./conftest foobar; x11_release=$?
5341 else 5342 else
5342 echo "configure: failed program was:" >&5 5343 echo "configure: failed program was:" >&5
5343 cat conftest.$ac_ext >&5 5344 cat conftest.$ac_ext >&5
5357 5358
5358 for ac_hdr in X11/Xlocale.h 5359 for ac_hdr in X11/Xlocale.h
5359 do 5360 do
5360 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5361 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5361 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5362 echo "configure:5363: checking for $ac_hdr" >&5 5363 echo "configure:5364: checking for $ac_hdr" >&5
5363 5364
5364 cat > conftest.$ac_ext <<EOF 5365 cat > conftest.$ac_ext <<EOF
5365 #line 5366 "configure" 5366 #line 5367 "configure"
5366 #include "confdefs.h" 5367 #include "confdefs.h"
5367 #include <$ac_hdr> 5368 #include <$ac_hdr>
5368 EOF 5369 EOF
5369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5370 { (eval echo configure:5371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5371 { (eval echo configure:5372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5371 ac_err=`grep -v '^ *+' conftest.out` 5372 ac_err=`grep -v '^ *+' conftest.out`
5372 if test -z "$ac_err"; then 5373 if test -z "$ac_err"; then
5373 rm -rf conftest* 5374 rm -rf conftest*
5374 eval "ac_cv_header_$ac_safe=yes" 5375 eval "ac_cv_header_$ac_safe=yes"
5375 else 5376 else
5396 fi 5397 fi
5397 done 5398 done
5398 5399
5399 5400
5400 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 5401 echo $ac_n "checking for XFree86""... $ac_c" 1>&6
5401 echo "configure:5402: checking for XFree86" >&5 5402 echo "configure:5403: checking for XFree86" >&5
5402 if test -d "/usr/X386/include" -o \ 5403 if test -d "/usr/X386/include" -o \
5403 -f "/etc/XF86Config" -o \ 5404 -f "/etc/XF86Config" -o \
5404 -f "/etc/X11/XF86Config" -o \ 5405 -f "/etc/X11/XF86Config" -o \
5405 -f "/usr/X11R6/lib/X11/XF86Config"; then 5406 -f "/usr/X11R6/lib/X11/XF86Config"; then
5406 echo "$ac_t""yes" 1>&6 5407 echo "$ac_t""yes" 1>&6
5416 echo "$ac_t""no" 1>&6 5417 echo "$ac_t""no" 1>&6
5417 fi 5418 fi
5418 5419
5419 test -z "$with_xmu" && { 5420 test -z "$with_xmu" && {
5420 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 5421 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
5421 echo "configure:5422: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 5422 echo "configure:5423: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
5422 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 5423 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
5423 5424
5424 xe_check_libs=" -lXmu " 5425 xe_check_libs=" -lXmu "
5425 cat > conftest.$ac_ext <<EOF 5426 cat > conftest.$ac_ext <<EOF
5426 #line 5427 "configure" 5427 #line 5428 "configure"
5427 #include "confdefs.h" 5428 #include "confdefs.h"
5428 /* Override any gcc2 internal prototype to avoid an error. */ 5429 /* Override any gcc2 internal prototype to avoid an error. */
5429 /* We use char because int might match the return type of a gcc2 5430 /* We use char because int might match the return type of a gcc2
5430 builtin and then its argument prototype would still apply. */ 5431 builtin and then its argument prototype would still apply. */
5431 char XmuReadBitmapDataFromFile(); 5432 char XmuReadBitmapDataFromFile();
5432 5433
5433 int main() { 5434 int main() {
5434 XmuReadBitmapDataFromFile() 5435 XmuReadBitmapDataFromFile()
5435 ; return 0; } 5436 ; return 0; }
5436 EOF 5437 EOF
5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5438 if { (eval echo configure:5439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5438 rm -rf conftest* 5439 rm -rf conftest*
5439 eval "ac_cv_lib_$ac_lib_var=yes" 5440 eval "ac_cv_lib_$ac_lib_var=yes"
5440 else 5441 else
5441 echo "configure: failed program was:" >&5 5442 echo "configure: failed program was:" >&5
5442 cat conftest.$ac_ext >&5 5443 cat conftest.$ac_ext >&5
5471 5472
5472 fi 5473 fi
5473 5474
5474 5475
5475 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 5476 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
5476 echo "configure:5477: checking for main in -lXbsd" >&5 5477 echo "configure:5478: checking for main in -lXbsd" >&5
5477 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 5478 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
5478 5479
5479 xe_check_libs=" -lXbsd " 5480 xe_check_libs=" -lXbsd "
5480 cat > conftest.$ac_ext <<EOF 5481 cat > conftest.$ac_ext <<EOF
5481 #line 5482 "configure" 5482 #line 5483 "configure"
5482 #include "confdefs.h" 5483 #include "confdefs.h"
5483 5484
5484 int main() { 5485 int main() {
5485 main() 5486 main()
5486 ; return 0; } 5487 ; return 0; }
5487 EOF 5488 EOF
5488 if { (eval echo configure:5489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5489 if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5489 rm -rf conftest* 5490 rm -rf conftest*
5490 eval "ac_cv_lib_$ac_lib_var=yes" 5491 eval "ac_cv_lib_$ac_lib_var=yes"
5491 else 5492 else
5492 echo "configure: failed program was:" >&5 5493 echo "configure: failed program was:" >&5
5493 cat conftest.$ac_ext >&5 5494 cat conftest.$ac_ext >&5
5511 fi 5512 fi
5512 5513
5513 fi 5514 fi
5514 if test "$with_msw" != "no"; then 5515 if test "$with_msw" != "no"; then
5515 echo "checking for MS-Windows" 1>&6 5516 echo "checking for MS-Windows" 1>&6
5516 echo "configure:5517: checking for MS-Windows" >&5 5517 echo "configure:5518: checking for MS-Windows" >&5
5517 5518
5518 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 5519 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
5519 echo "configure:5520: checking for main in -lgdi32" >&5 5520 echo "configure:5521: checking for main in -lgdi32" >&5
5520 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 5521 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
5521 5522
5522 xe_check_libs=" -lgdi32 " 5523 xe_check_libs=" -lgdi32 "
5523 cat > conftest.$ac_ext <<EOF 5524 cat > conftest.$ac_ext <<EOF
5524 #line 5525 "configure" 5525 #line 5526 "configure"
5525 #include "confdefs.h" 5526 #include "confdefs.h"
5526 5527
5527 int main() { 5528 int main() {
5528 main() 5529 main()
5529 ; return 0; } 5530 ; return 0; }
5530 EOF 5531 EOF
5531 if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5532 if { (eval echo configure:5533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5532 rm -rf conftest* 5533 rm -rf conftest*
5533 eval "ac_cv_lib_$ac_lib_var=yes" 5534 eval "ac_cv_lib_$ac_lib_var=yes"
5534 else 5535 else
5535 echo "configure: failed program was:" >&5 5536 echo "configure: failed program was:" >&5
5536 cat conftest.$ac_ext >&5 5537 cat conftest.$ac_ext >&5
5617 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 5618 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
5618 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 5619 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
5619 esac 5620 esac
5620 5621
5621 echo "checking for session-management option" 1>&6 5622 echo "checking for session-management option" 1>&6
5622 echo "configure:5623: checking for session-management option" >&5; 5623 echo "configure:5624: checking for session-management option" >&5;
5623 if test "$with_session" != "no"; then 5624 if test "$with_session" != "no"; then
5624 { test "$extra_verbose" = "yes" && cat << \EOF 5625 { test "$extra_verbose" = "yes" && cat << \EOF
5625 Defining HAVE_SESSION 5626 Defining HAVE_SESSION
5626 EOF 5627 EOF
5627 cat >> confdefs.h <<\EOF 5628 cat >> confdefs.h <<\EOF
5632 fi 5633 fi
5633 5634
5634 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 5635 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
5635 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 5636 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
5636 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 5637 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
5637 echo "configure:5638: checking for X11/Xauth.h" >&5 5638 echo "configure:5639: checking for X11/Xauth.h" >&5
5638 5639
5639 cat > conftest.$ac_ext <<EOF 5640 cat > conftest.$ac_ext <<EOF
5640 #line 5641 "configure" 5641 #line 5642 "configure"
5641 #include "confdefs.h" 5642 #include "confdefs.h"
5642 #include <X11/Xauth.h> 5643 #include <X11/Xauth.h>
5643 EOF 5644 EOF
5644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5645 { (eval echo configure:5646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5646 { (eval echo configure:5647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5646 ac_err=`grep -v '^ *+' conftest.out` 5647 ac_err=`grep -v '^ *+' conftest.out`
5647 if test -z "$ac_err"; then 5648 if test -z "$ac_err"; then
5648 rm -rf conftest* 5649 rm -rf conftest*
5649 eval "ac_cv_header_$ac_safe=yes" 5650 eval "ac_cv_header_$ac_safe=yes"
5650 else 5651 else
5663 with_xauth=no 5664 with_xauth=no
5664 fi 5665 fi
5665 } 5666 }
5666 test -z "$with_xauth" && { 5667 test -z "$with_xauth" && {
5667 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 5668 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
5668 echo "configure:5669: checking for XauGetAuthByAddr in -lXau" >&5 5669 echo "configure:5670: checking for XauGetAuthByAddr in -lXau" >&5
5669 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 5670 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
5670 5671
5671 xe_check_libs=" -lXau " 5672 xe_check_libs=" -lXau "
5672 cat > conftest.$ac_ext <<EOF 5673 cat > conftest.$ac_ext <<EOF
5673 #line 5674 "configure" 5674 #line 5675 "configure"
5674 #include "confdefs.h" 5675 #include "confdefs.h"
5675 /* Override any gcc2 internal prototype to avoid an error. */ 5676 /* Override any gcc2 internal prototype to avoid an error. */
5676 /* We use char because int might match the return type of a gcc2 5677 /* We use char because int might match the return type of a gcc2
5677 builtin and then its argument prototype would still apply. */ 5678 builtin and then its argument prototype would still apply. */
5678 char XauGetAuthByAddr(); 5679 char XauGetAuthByAddr();
5679 5680
5680 int main() { 5681 int main() {
5681 XauGetAuthByAddr() 5682 XauGetAuthByAddr()
5682 ; return 0; } 5683 ; return 0; }
5683 EOF 5684 EOF
5684 if { (eval echo configure:5685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5685 rm -rf conftest* 5686 rm -rf conftest*
5686 eval "ac_cv_lib_$ac_lib_var=yes" 5687 eval "ac_cv_lib_$ac_lib_var=yes"
5687 else 5688 else
5688 echo "configure: failed program was:" >&5 5689 echo "configure: failed program was:" >&5
5689 cat conftest.$ac_ext >&5 5690 cat conftest.$ac_ext >&5
5743 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk 5744 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk
5744 if test "$with_tooltalk" != "no" ; then 5745 if test "$with_tooltalk" != "no" ; then
5745 for dir in "" "Tt/" "desktop/" ; do 5746 for dir in "" "Tt/" "desktop/" ; do
5746 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 5747 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
5747 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 5748 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
5748 echo "configure:5749: checking for ${dir}tt_c.h" >&5 5749 echo "configure:5750: checking for ${dir}tt_c.h" >&5
5749 5750
5750 cat > conftest.$ac_ext <<EOF 5751 cat > conftest.$ac_ext <<EOF
5751 #line 5752 "configure" 5752 #line 5753 "configure"
5752 #include "confdefs.h" 5753 #include "confdefs.h"
5753 #include <${dir}tt_c.h> 5754 #include <${dir}tt_c.h>
5754 EOF 5755 EOF
5755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5756 { (eval echo configure:5757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5757 { (eval echo configure:5758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5757 ac_err=`grep -v '^ *+' conftest.out` 5758 ac_err=`grep -v '^ *+' conftest.out`
5758 if test -z "$ac_err"; then 5759 if test -z "$ac_err"; then
5759 rm -rf conftest* 5760 rm -rf conftest*
5760 eval "ac_cv_header_$ac_safe=yes" 5761 eval "ac_cv_header_$ac_safe=yes"
5761 else 5762 else
5780 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 5781 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
5781 5782
5782 xe_msg_checking="for tt_message_create in -ltt" 5783 xe_msg_checking="for tt_message_create in -ltt"
5783 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 5784 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
5784 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5785 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5785 echo "configure:5786: checking "$xe_msg_checking"" >&5 5786 echo "configure:5787: checking "$xe_msg_checking"" >&5
5786 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 5787 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
5787 5788
5788 xe_check_libs=" -ltt $extra_libs" 5789 xe_check_libs=" -ltt $extra_libs"
5789 cat > conftest.$ac_ext <<EOF 5790 cat > conftest.$ac_ext <<EOF
5790 #line 5791 "configure" 5791 #line 5792 "configure"
5791 #include "confdefs.h" 5792 #include "confdefs.h"
5792 /* Override any gcc2 internal prototype to avoid an error. */ 5793 /* Override any gcc2 internal prototype to avoid an error. */
5793 /* We use char because int might match the return type of a gcc2 5794 /* We use char because int might match the return type of a gcc2
5794 builtin and then its argument prototype would still apply. */ 5795 builtin and then its argument prototype would still apply. */
5795 char tt_message_create(); 5796 char tt_message_create();
5796 5797
5797 int main() { 5798 int main() {
5798 tt_message_create() 5799 tt_message_create()
5799 ; return 0; } 5800 ; return 0; }
5800 EOF 5801 EOF
5801 if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5802 if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5802 rm -rf conftest* 5803 rm -rf conftest*
5803 eval "ac_cv_lib_$ac_lib_var=yes" 5804 eval "ac_cv_lib_$ac_lib_var=yes"
5804 else 5805 else
5805 echo "configure: failed program was:" >&5 5806 echo "configure: failed program was:" >&5
5806 cat conftest.$ac_ext >&5 5807 cat conftest.$ac_ext >&5
5845 fi 5846 fi
5846 fi 5847 fi
5847 5848
5848 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 5849 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
5849 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 5850 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
5850 echo "configure:5851: checking for Dt/Dt.h" >&5 5851 echo "configure:5852: checking for Dt/Dt.h" >&5
5851 5852
5852 cat > conftest.$ac_ext <<EOF 5853 cat > conftest.$ac_ext <<EOF
5853 #line 5854 "configure" 5854 #line 5855 "configure"
5854 #include "confdefs.h" 5855 #include "confdefs.h"
5855 #include <Dt/Dt.h> 5856 #include <Dt/Dt.h>
5856 EOF 5857 EOF
5857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5858 { (eval echo configure:5859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5859 { (eval echo configure:5860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5859 ac_err=`grep -v '^ *+' conftest.out` 5860 ac_err=`grep -v '^ *+' conftest.out`
5860 if test -z "$ac_err"; then 5861 if test -z "$ac_err"; then
5861 rm -rf conftest* 5862 rm -rf conftest*
5862 eval "ac_cv_header_$ac_safe=yes" 5863 eval "ac_cv_header_$ac_safe=yes"
5863 else 5864 else
5876 with_cde=no 5877 with_cde=no
5877 fi 5878 fi
5878 } 5879 }
5879 test -z "$with_cde" && { 5880 test -z "$with_cde" && {
5880 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 5881 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
5881 echo "configure:5882: checking for DtDndDragStart in -lDtSvc" >&5 5882 echo "configure:5883: checking for DtDndDragStart in -lDtSvc" >&5
5882 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 5883 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
5883 5884
5884 xe_check_libs=" -lDtSvc " 5885 xe_check_libs=" -lDtSvc "
5885 cat > conftest.$ac_ext <<EOF 5886 cat > conftest.$ac_ext <<EOF
5886 #line 5887 "configure" 5887 #line 5888 "configure"
5887 #include "confdefs.h" 5888 #include "confdefs.h"
5888 /* Override any gcc2 internal prototype to avoid an error. */ 5889 /* Override any gcc2 internal prototype to avoid an error. */
5889 /* We use char because int might match the return type of a gcc2 5890 /* We use char because int might match the return type of a gcc2
5890 builtin and then its argument prototype would still apply. */ 5891 builtin and then its argument prototype would still apply. */
5891 char DtDndDragStart(); 5892 char DtDndDragStart();
5892 5893
5893 int main() { 5894 int main() {
5894 DtDndDragStart() 5895 DtDndDragStart()
5895 ; return 0; } 5896 ; return 0; }
5896 EOF 5897 EOF
5897 if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5898 if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5898 rm -rf conftest* 5899 rm -rf conftest*
5899 eval "ac_cv_lib_$ac_lib_var=yes" 5900 eval "ac_cv_lib_$ac_lib_var=yes"
5900 else 5901 else
5901 echo "configure: failed program was:" >&5 5902 echo "configure: failed program was:" >&5
5902 cat conftest.$ac_ext >&5 5903 cat conftest.$ac_ext >&5
5929 with_tooltalk=yes # CDE requires Tooltalk 5930 with_tooltalk=yes # CDE requires Tooltalk
5930 need_motif=yes # CDE requires Motif 5931 need_motif=yes # CDE requires Motif
5931 fi 5932 fi
5932 5933
5933 echo "checking for LDAP" 1>&6 5934 echo "checking for LDAP" 1>&6
5934 echo "configure:5935: checking for LDAP" >&5 5935 echo "configure:5936: checking for LDAP" >&5
5935 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 5936 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
5936 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 5937 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
5937 echo "configure:5938: checking for ldap.h" >&5 5938 echo "configure:5939: checking for ldap.h" >&5
5938 5939
5939 cat > conftest.$ac_ext <<EOF 5940 cat > conftest.$ac_ext <<EOF
5940 #line 5941 "configure" 5941 #line 5942 "configure"
5941 #include "confdefs.h" 5942 #include "confdefs.h"
5942 #include <ldap.h> 5943 #include <ldap.h>
5943 EOF 5944 EOF
5944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5945 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; } 5946 { (eval echo configure:5947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5946 ac_err=`grep -v '^ *+' conftest.out` 5947 ac_err=`grep -v '^ *+' conftest.out`
5947 if test -z "$ac_err"; then 5948 if test -z "$ac_err"; then
5948 rm -rf conftest* 5949 rm -rf conftest*
5949 eval "ac_cv_header_$ac_safe=yes" 5950 eval "ac_cv_header_$ac_safe=yes"
5950 else 5951 else
5963 with_ldap=no 5964 with_ldap=no
5964 fi 5965 fi
5965 } 5966 }
5966 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 5967 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
5967 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 5968 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
5968 echo "configure:5969: checking for lber.h" >&5 5969 echo "configure:5970: checking for lber.h" >&5
5969 5970
5970 cat > conftest.$ac_ext <<EOF 5971 cat > conftest.$ac_ext <<EOF
5971 #line 5972 "configure" 5972 #line 5973 "configure"
5972 #include "confdefs.h" 5973 #include "confdefs.h"
5973 #include <lber.h> 5974 #include <lber.h>
5974 EOF 5975 EOF
5975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5976 { (eval echo configure:5977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5977 { (eval echo configure:5978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5977 ac_err=`grep -v '^ *+' conftest.out` 5978 ac_err=`grep -v '^ *+' conftest.out`
5978 if test -z "$ac_err"; then 5979 if test -z "$ac_err"; then
5979 rm -rf conftest* 5980 rm -rf conftest*
5980 eval "ac_cv_header_$ac_safe=yes" 5981 eval "ac_cv_header_$ac_safe=yes"
5981 else 5982 else
5996 } 5997 }
5997 test -z "$with_ldap" -o "$with_ldap" = "yes" && { 5998 test -z "$with_ldap" -o "$with_ldap" = "yes" && {
5998 xe_msg_checking="for ldap_open in -lldap" 5999 xe_msg_checking="for ldap_open in -lldap"
5999 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 6000 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
6000 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6001 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6001 echo "configure:6002: checking "$xe_msg_checking"" >&5 6002 echo "configure:6003: checking "$xe_msg_checking"" >&5
6002 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 6003 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
6003 6004
6004 xe_check_libs=" -lldap -llber" 6005 xe_check_libs=" -lldap -llber"
6005 cat > conftest.$ac_ext <<EOF 6006 cat > conftest.$ac_ext <<EOF
6006 #line 6007 "configure" 6007 #line 6008 "configure"
6007 #include "confdefs.h" 6008 #include "confdefs.h"
6008 /* Override any gcc2 internal prototype to avoid an error. */ 6009 /* Override any gcc2 internal prototype to avoid an error. */
6009 /* We use char because int might match the return type of a gcc2 6010 /* We use char because int might match the return type of a gcc2
6010 builtin and then its argument prototype would still apply. */ 6011 builtin and then its argument prototype would still apply. */
6011 char ldap_open(); 6012 char ldap_open();
6012 6013
6013 int main() { 6014 int main() {
6014 ldap_open() 6015 ldap_open()
6015 ; return 0; } 6016 ; return 0; }
6016 EOF 6017 EOF
6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6018 if { (eval echo configure:6019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6018 rm -rf conftest* 6019 rm -rf conftest*
6019 eval "ac_cv_lib_$ac_lib_var=yes" 6020 eval "ac_cv_lib_$ac_lib_var=yes"
6020 else 6021 else
6021 echo "configure: failed program was:" >&5 6022 echo "configure: failed program was:" >&5
6022 cat conftest.$ac_ext >&5 6023 cat conftest.$ac_ext >&5
6035 fi 6036 fi
6036 6037
6037 } 6038 }
6038 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && { 6039 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && {
6039 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 6040 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6
6040 echo "configure:6041: checking for ldap_set_option in -lldap10" >&5 6041 echo "configure:6042: checking for ldap_set_option in -lldap10" >&5
6041 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` 6042 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'`
6042 6043
6043 xe_check_libs=" -lldap10 " 6044 xe_check_libs=" -lldap10 "
6044 cat > conftest.$ac_ext <<EOF 6045 cat > conftest.$ac_ext <<EOF
6045 #line 6046 "configure" 6046 #line 6047 "configure"
6046 #include "confdefs.h" 6047 #include "confdefs.h"
6047 /* Override any gcc2 internal prototype to avoid an error. */ 6048 /* Override any gcc2 internal prototype to avoid an error. */
6048 /* We use char because int might match the return type of a gcc2 6049 /* We use char because int might match the return type of a gcc2
6049 builtin and then its argument prototype would still apply. */ 6050 builtin and then its argument prototype would still apply. */
6050 char ldap_set_option(); 6051 char ldap_set_option();
6051 6052
6052 int main() { 6053 int main() {
6053 ldap_set_option() 6054 ldap_set_option()
6054 ; return 0; } 6055 ; return 0; }
6055 EOF 6056 EOF
6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6057 if { (eval echo configure:6058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6057 rm -rf conftest* 6058 rm -rf conftest*
6058 eval "ac_cv_lib_$ac_lib_var=yes" 6059 eval "ac_cv_lib_$ac_lib_var=yes"
6059 else 6060 else
6060 echo "configure: failed program was:" >&5 6061 echo "configure: failed program was:" >&5
6061 cat conftest.$ac_ext >&5 6062 cat conftest.$ac_ext >&5
6135 6136
6136 6137
6137 if test "$with_x11" = "yes"; then 6138 if test "$with_x11" = "yes"; then
6138 6139
6139 echo "checking for X11 graphics libraries" 1>&6 6140 echo "checking for X11 graphics libraries" 1>&6
6140 echo "configure:6141: checking for X11 graphics libraries" >&5 6141 echo "configure:6142: checking for X11 graphics libraries" >&5
6141 6142
6142 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 6143 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
6143 echo "configure:6144: checking for Xpm - no older than 3.4f" >&5 6144 echo "configure:6145: checking for Xpm - no older than 3.4f" >&5
6144 xe_check_libs=-lXpm 6145 xe_check_libs=-lXpm
6145 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF 6146 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF
6146 #line 6147 "configure" 6147 #line 6148 "configure"
6147 #include "confdefs.h" 6148 #include "confdefs.h"
6148 #include <X11/xpm.h> 6149 #include <X11/xpm.h>
6149 int main(int c, char **v) { 6150 int main(int c, char **v) {
6150 return c == 1 ? 0 : 6151 return c == 1 ? 0 :
6151 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 6152 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
6152 XpmIncludeVersion < 30406 ? 2 : 6153 XpmIncludeVersion < 30406 ? 2 :
6153 0 ; 6154 0 ;
6154 } 6155 }
6155 EOF 6156 EOF
6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 6157 if { (eval echo configure:6158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
6157 then 6158 then
6158 ./conftest foobar; xpm_status=$?; 6159 ./conftest foobar; xpm_status=$?;
6159 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; 6160 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi;
6160 else 6161 else
6161 echo "configure: failed program was:" >&5 6162 echo "configure: failed program was:" >&5
6189 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 6190 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
6190 fi 6191 fi
6191 6192
6192 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 6193 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
6193 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 6194 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
6194 echo "configure:6195: checking for compface.h" >&5 6195 echo "configure:6196: checking for compface.h" >&5
6195 6196
6196 cat > conftest.$ac_ext <<EOF 6197 cat > conftest.$ac_ext <<EOF
6197 #line 6198 "configure" 6198 #line 6199 "configure"
6198 #include "confdefs.h" 6199 #include "confdefs.h"
6199 #include <compface.h> 6200 #include <compface.h>
6200 EOF 6201 EOF
6201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6202 { (eval echo configure:6203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6203 { (eval echo configure:6204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6203 ac_err=`grep -v '^ *+' conftest.out` 6204 ac_err=`grep -v '^ *+' conftest.out`
6204 if test -z "$ac_err"; then 6205 if test -z "$ac_err"; then
6205 rm -rf conftest* 6206 rm -rf conftest*
6206 eval "ac_cv_header_$ac_safe=yes" 6207 eval "ac_cv_header_$ac_safe=yes"
6207 else 6208 else
6220 with_xface=no 6221 with_xface=no
6221 fi 6222 fi
6222 } 6223 }
6223 test -z "$with_xface" && { 6224 test -z "$with_xface" && {
6224 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 6225 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
6225 echo "configure:6226: checking for UnGenFace in -lcompface" >&5 6226 echo "configure:6227: checking for UnGenFace in -lcompface" >&5
6226 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 6227 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
6227 6228
6228 xe_check_libs=" -lcompface " 6229 xe_check_libs=" -lcompface "
6229 cat > conftest.$ac_ext <<EOF 6230 cat > conftest.$ac_ext <<EOF
6230 #line 6231 "configure" 6231 #line 6232 "configure"
6231 #include "confdefs.h" 6232 #include "confdefs.h"
6232 /* Override any gcc2 internal prototype to avoid an error. */ 6233 /* Override any gcc2 internal prototype to avoid an error. */
6233 /* We use char because int might match the return type of a gcc2 6234 /* We use char because int might match the return type of a gcc2
6234 builtin and then its argument prototype would still apply. */ 6235 builtin and then its argument prototype would still apply. */
6235 char UnGenFace(); 6236 char UnGenFace();
6236 6237
6237 int main() { 6238 int main() {
6238 UnGenFace() 6239 UnGenFace()
6239 ; return 0; } 6240 ; return 0; }
6240 EOF 6241 EOF
6241 if { (eval echo configure:6242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6242 if { (eval echo configure:6243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6242 rm -rf conftest* 6243 rm -rf conftest*
6243 eval "ac_cv_lib_$ac_lib_var=yes" 6244 eval "ac_cv_lib_$ac_lib_var=yes"
6244 else 6245 else
6245 echo "configure: failed program was:" >&5 6246 echo "configure: failed program was:" >&5
6246 cat conftest.$ac_ext >&5 6247 cat conftest.$ac_ext >&5
6271 6272
6272 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi 6273 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi
6273 fi 6274 fi
6274 6275
6275 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 6276 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6
6276 echo "configure:6277: checking for giflib - no older than 3.1" >&5 6277 echo "configure:6278: checking for giflib - no older than 3.1" >&5
6277 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 6278 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
6278 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 6279 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
6279 echo "configure:6280: checking for gif_lib.h" >&5 6280 echo "configure:6281: checking for gif_lib.h" >&5
6280 6281
6281 cat > conftest.$ac_ext <<EOF 6282 cat > conftest.$ac_ext <<EOF
6282 #line 6283 "configure" 6283 #line 6284 "configure"
6283 #include "confdefs.h" 6284 #include "confdefs.h"
6284 #include <gif_lib.h> 6285 #include <gif_lib.h>
6285 EOF 6286 EOF
6286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6287 { (eval echo configure:6288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6288 { (eval echo configure:6289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6288 ac_err=`grep -v '^ *+' conftest.out` 6289 ac_err=`grep -v '^ *+' conftest.out`
6289 if test -z "$ac_err"; then 6290 if test -z "$ac_err"; then
6290 rm -rf conftest* 6291 rm -rf conftest*
6291 eval "ac_cv_header_$ac_safe=yes" 6292 eval "ac_cv_header_$ac_safe=yes"
6292 else 6293 else
6305 with_gif=no 6306 with_gif=no
6306 fi 6307 fi
6307 } 6308 }
6308 test -z "$with_gif" && { 6309 test -z "$with_gif" && {
6309 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 6310 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6
6310 echo "configure:6311: checking for GetGifError in -lgif" >&5 6311 echo "configure:6312: checking for GetGifError in -lgif" >&5
6311 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` 6312 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'`
6312 6313
6313 xe_check_libs=" -lgif " 6314 xe_check_libs=" -lgif "
6314 cat > conftest.$ac_ext <<EOF 6315 cat > conftest.$ac_ext <<EOF
6315 #line 6316 "configure" 6316 #line 6317 "configure"
6316 #include "confdefs.h" 6317 #include "confdefs.h"
6317 /* Override any gcc2 internal prototype to avoid an error. */ 6318 /* Override any gcc2 internal prototype to avoid an error. */
6318 /* We use char because int might match the return type of a gcc2 6319 /* We use char because int might match the return type of a gcc2
6319 builtin and then its argument prototype would still apply. */ 6320 builtin and then its argument prototype would still apply. */
6320 char GetGifError(); 6321 char GetGifError();
6321 6322
6322 int main() { 6323 int main() {
6323 GetGifError() 6324 GetGifError()
6324 ; return 0; } 6325 ; return 0; }
6325 EOF 6326 EOF
6326 if { (eval echo configure:6327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6327 if { (eval echo configure:6328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6327 rm -rf conftest* 6328 rm -rf conftest*
6328 eval "ac_cv_lib_$ac_lib_var=yes" 6329 eval "ac_cv_lib_$ac_lib_var=yes"
6329 else 6330 else
6330 echo "configure: failed program was:" >&5 6331 echo "configure: failed program was:" >&5
6331 cat conftest.$ac_ext >&5 6332 cat conftest.$ac_ext >&5
6357 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi 6358 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi
6358 fi 6359 fi
6359 6360
6360 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 6361 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
6361 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 6362 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
6362 echo "configure:6363: checking for jpeglib.h" >&5 6363 echo "configure:6364: checking for jpeglib.h" >&5
6363 6364
6364 cat > conftest.$ac_ext <<EOF 6365 cat > conftest.$ac_ext <<EOF
6365 #line 6366 "configure" 6366 #line 6367 "configure"
6366 #include "confdefs.h" 6367 #include "confdefs.h"
6367 #include <jpeglib.h> 6368 #include <jpeglib.h>
6368 EOF 6369 EOF
6369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6370 { (eval echo configure:6371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6371 { (eval echo configure:6372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6371 ac_err=`grep -v '^ *+' conftest.out` 6372 ac_err=`grep -v '^ *+' conftest.out`
6372 if test -z "$ac_err"; then 6373 if test -z "$ac_err"; then
6373 rm -rf conftest* 6374 rm -rf conftest*
6374 eval "ac_cv_header_$ac_safe=yes" 6375 eval "ac_cv_header_$ac_safe=yes"
6375 else 6376 else
6388 with_jpeg=no 6389 with_jpeg=no
6389 fi 6390 fi
6390 } 6391 }
6391 test -z "$with_jpeg" && { 6392 test -z "$with_jpeg" && {
6392 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 6393 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
6393 echo "configure:6394: checking for jpeg_destroy_decompress in -ljpeg" >&5 6394 echo "configure:6395: checking for jpeg_destroy_decompress in -ljpeg" >&5
6394 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 6395 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
6395 6396
6396 xe_check_libs=" -ljpeg " 6397 xe_check_libs=" -ljpeg "
6397 cat > conftest.$ac_ext <<EOF 6398 cat > conftest.$ac_ext <<EOF
6398 #line 6399 "configure" 6399 #line 6400 "configure"
6399 #include "confdefs.h" 6400 #include "confdefs.h"
6400 /* Override any gcc2 internal prototype to avoid an error. */ 6401 /* Override any gcc2 internal prototype to avoid an error. */
6401 /* We use char because int might match the return type of a gcc2 6402 /* We use char because int might match the return type of a gcc2
6402 builtin and then its argument prototype would still apply. */ 6403 builtin and then its argument prototype would still apply. */
6403 char jpeg_destroy_decompress(); 6404 char jpeg_destroy_decompress();
6404 6405
6405 int main() { 6406 int main() {
6406 jpeg_destroy_decompress() 6407 jpeg_destroy_decompress()
6407 ; return 0; } 6408 ; return 0; }
6408 EOF 6409 EOF
6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6410 if { (eval echo configure:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6410 rm -rf conftest* 6411 rm -rf conftest*
6411 eval "ac_cv_lib_$ac_lib_var=yes" 6412 eval "ac_cv_lib_$ac_lib_var=yes"
6412 else 6413 else
6413 echo "configure: failed program was:" >&5 6414 echo "configure: failed program was:" >&5
6414 cat conftest.$ac_ext >&5 6415 cat conftest.$ac_ext >&5
6440 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 6441 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
6441 fi 6442 fi
6442 6443
6443 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 6444 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
6444 echo $ac_n "checking for png.h""... $ac_c" 1>&6 6445 echo $ac_n "checking for png.h""... $ac_c" 1>&6
6445 echo "configure:6446: checking for png.h" >&5 6446 echo "configure:6447: checking for png.h" >&5
6446 6447
6447 cat > conftest.$ac_ext <<EOF 6448 cat > conftest.$ac_ext <<EOF
6448 #line 6449 "configure" 6449 #line 6450 "configure"
6449 #include "confdefs.h" 6450 #include "confdefs.h"
6450 #include <png.h> 6451 #include <png.h>
6451 EOF 6452 EOF
6452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6453 { (eval echo configure:6454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6454 { (eval echo configure:6455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6454 ac_err=`grep -v '^ *+' conftest.out` 6455 ac_err=`grep -v '^ *+' conftest.out`
6455 if test -z "$ac_err"; then 6456 if test -z "$ac_err"; then
6456 rm -rf conftest* 6457 rm -rf conftest*
6457 eval "ac_cv_header_$ac_safe=yes" 6458 eval "ac_cv_header_$ac_safe=yes"
6458 else 6459 else
6470 echo "$ac_t""no" 1>&6 6471 echo "$ac_t""no" 1>&6
6471 with_png=no 6472 with_png=no
6472 fi 6473 fi
6473 } 6474 }
6474 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 6475 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
6475 echo "configure:6476: checking for pow" >&5 6476 echo "configure:6477: checking for pow" >&5
6476 6477
6477 cat > conftest.$ac_ext <<EOF 6478 cat > conftest.$ac_ext <<EOF
6478 #line 6479 "configure" 6479 #line 6480 "configure"
6479 #include "confdefs.h" 6480 #include "confdefs.h"
6480 /* System header to define __stub macros and hopefully few prototypes, 6481 /* System header to define __stub macros and hopefully few prototypes,
6481 which can conflict with char pow(); below. */ 6482 which can conflict with char pow(); below. */
6482 #include <assert.h> 6483 #include <assert.h>
6483 /* Override any gcc2 internal prototype to avoid an error. */ 6484 /* Override any gcc2 internal prototype to avoid an error. */
6496 pow(); 6497 pow();
6497 #endif 6498 #endif
6498 6499
6499 ; return 0; } 6500 ; return 0; }
6500 EOF 6501 EOF
6501 if { (eval echo configure:6502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6502 if { (eval echo configure:6503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6502 rm -rf conftest* 6503 rm -rf conftest*
6503 eval "ac_cv_func_pow=yes" 6504 eval "ac_cv_func_pow=yes"
6504 else 6505 else
6505 echo "configure: failed program was:" >&5 6506 echo "configure: failed program was:" >&5
6506 cat conftest.$ac_ext >&5 6507 cat conftest.$ac_ext >&5
6521 for extra_libs in "" "-lz" "-lgz"; do 6522 for extra_libs in "" "-lz" "-lgz"; do
6522 6523
6523 xe_msg_checking="for png_set_strip_alpha in -lpng" 6524 xe_msg_checking="for png_set_strip_alpha in -lpng"
6524 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6525 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6525 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6526 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6526 echo "configure:6527: checking "$xe_msg_checking"" >&5 6527 echo "configure:6528: checking "$xe_msg_checking"" >&5
6527 ac_lib_var=`echo png'_'png_set_strip_alpha | sed 'y%./+-%__p_%'` 6528 ac_lib_var=`echo png'_'png_set_strip_alpha | sed 'y%./+-%__p_%'`
6528 6529
6529 xe_check_libs=" -lpng $extra_libs" 6530 xe_check_libs=" -lpng $extra_libs"
6530 cat > conftest.$ac_ext <<EOF 6531 cat > conftest.$ac_ext <<EOF
6531 #line 6532 "configure" 6532 #line 6533 "configure"
6532 #include "confdefs.h" 6533 #include "confdefs.h"
6533 /* Override any gcc2 internal prototype to avoid an error. */ 6534 /* Override any gcc2 internal prototype to avoid an error. */
6534 /* We use char because int might match the return type of a gcc2 6535 /* We use char because int might match the return type of a gcc2
6535 builtin and then its argument prototype would still apply. */ 6536 builtin and then its argument prototype would still apply. */
6536 char png_set_strip_alpha(); 6537 char png_set_strip_alpha();
6537 6538
6538 int main() { 6539 int main() {
6539 png_set_strip_alpha() 6540 png_set_strip_alpha()
6540 ; return 0; } 6541 ; return 0; }
6541 EOF 6542 EOF
6542 if { (eval echo configure:6543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6543 if { (eval echo configure:6544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6543 rm -rf conftest* 6544 rm -rf conftest*
6544 eval "ac_cv_lib_$ac_lib_var=yes" 6545 eval "ac_cv_lib_$ac_lib_var=yes"
6545 else 6546 else
6546 echo "configure: failed program was:" >&5 6547 echo "configure: failed program was:" >&5
6547 cat conftest.$ac_ext >&5 6548 cat conftest.$ac_ext >&5
6579 for extra_libs in "" "-lz" "-lgz"; do 6580 for extra_libs in "" "-lz" "-lgz"; do
6580 6581
6581 xe_msg_checking="for TIFFReadScanline in -ltiff" 6582 xe_msg_checking="for TIFFReadScanline in -ltiff"
6582 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6583 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6583 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6584 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6584 echo "configure:6585: checking "$xe_msg_checking"" >&5 6585 echo "configure:6586: checking "$xe_msg_checking"" >&5
6585 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` 6586 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'`
6586 6587
6587 xe_check_libs=" -ltiff $extra_libs" 6588 xe_check_libs=" -ltiff $extra_libs"
6588 cat > conftest.$ac_ext <<EOF 6589 cat > conftest.$ac_ext <<EOF
6589 #line 6590 "configure" 6590 #line 6591 "configure"
6590 #include "confdefs.h" 6591 #include "confdefs.h"
6591 /* Override any gcc2 internal prototype to avoid an error. */ 6592 /* Override any gcc2 internal prototype to avoid an error. */
6592 /* We use char because int might match the return type of a gcc2 6593 /* We use char because int might match the return type of a gcc2
6593 builtin and then its argument prototype would still apply. */ 6594 builtin and then its argument prototype would still apply. */
6594 char TIFFReadScanline(); 6595 char TIFFReadScanline();
6595 6596
6596 int main() { 6597 int main() {
6597 TIFFReadScanline() 6598 TIFFReadScanline()
6598 ; return 0; } 6599 ; return 0; }
6599 EOF 6600 EOF
6600 if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6601 if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6601 rm -rf conftest* 6602 rm -rf conftest*
6602 eval "ac_cv_lib_$ac_lib_var=yes" 6603 eval "ac_cv_lib_$ac_lib_var=yes"
6603 else 6604 else
6604 echo "configure: failed program was:" >&5 6605 echo "configure: failed program was:" >&5
6605 cat conftest.$ac_ext >&5 6606 cat conftest.$ac_ext >&5
6633 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi 6634 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi
6634 fi 6635 fi
6635 6636
6636 6637
6637 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 6638 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6
6638 echo "configure:6639: checking for XawScrollbarSetThumb in -lXaw" >&5 6639 echo "configure:6640: checking for XawScrollbarSetThumb in -lXaw" >&5
6639 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 6640 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
6640 6641
6641 xe_check_libs=" -lXaw " 6642 xe_check_libs=" -lXaw "
6642 cat > conftest.$ac_ext <<EOF 6643 cat > conftest.$ac_ext <<EOF
6643 #line 6644 "configure" 6644 #line 6645 "configure"
6644 #include "confdefs.h" 6645 #include "confdefs.h"
6645 /* Override any gcc2 internal prototype to avoid an error. */ 6646 /* Override any gcc2 internal prototype to avoid an error. */
6646 /* We use char because int might match the return type of a gcc2 6647 /* We use char because int might match the return type of a gcc2
6647 builtin and then its argument prototype would still apply. */ 6648 builtin and then its argument prototype would still apply. */
6648 char XawScrollbarSetThumb(); 6649 char XawScrollbarSetThumb();
6649 6650
6650 int main() { 6651 int main() {
6651 XawScrollbarSetThumb() 6652 XawScrollbarSetThumb()
6652 ; return 0; } 6653 ; return 0; }
6653 EOF 6654 EOF
6654 if { (eval echo configure:6655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6655 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6655 rm -rf conftest* 6656 rm -rf conftest*
6656 eval "ac_cv_lib_$ac_lib_var=yes" 6657 eval "ac_cv_lib_$ac_lib_var=yes"
6657 else 6658 else
6658 echo "configure: failed program was:" >&5 6659 echo "configure: failed program was:" >&5
6659 cat conftest.$ac_ext >&5 6660 cat conftest.$ac_ext >&5
6673 6674
6674 6675
6675 6676
6676 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6677 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6677 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6678 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6678 echo "configure:6679: checking for Xm/Xm.h" >&5 6679 echo "configure:6680: checking for Xm/Xm.h" >&5
6679 6680
6680 cat > conftest.$ac_ext <<EOF 6681 cat > conftest.$ac_ext <<EOF
6681 #line 6682 "configure" 6682 #line 6683 "configure"
6682 #include "confdefs.h" 6683 #include "confdefs.h"
6683 #include <Xm/Xm.h> 6684 #include <Xm/Xm.h>
6684 EOF 6685 EOF
6685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6686 { (eval echo configure:6687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6687 { (eval echo configure:6688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6687 ac_err=`grep -v '^ *+' conftest.out` 6688 ac_err=`grep -v '^ *+' conftest.out`
6688 if test -z "$ac_err"; then 6689 if test -z "$ac_err"; then
6689 rm -rf conftest* 6690 rm -rf conftest*
6690 eval "ac_cv_header_$ac_safe=yes" 6691 eval "ac_cv_header_$ac_safe=yes"
6691 else 6692 else
6698 rm -f conftest* 6699 rm -f conftest*
6699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6700 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6700 echo "$ac_t""yes" 1>&6 6701 echo "$ac_t""yes" 1>&6
6701 6702
6702 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6703 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6703 echo "configure:6704: checking for XmStringFree in -lXm" >&5 6704 echo "configure:6705: checking for XmStringFree in -lXm" >&5
6704 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6705 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6705 6706
6706 xe_check_libs=" -lXm " 6707 xe_check_libs=" -lXm "
6707 cat > conftest.$ac_ext <<EOF 6708 cat > conftest.$ac_ext <<EOF
6708 #line 6709 "configure" 6709 #line 6710 "configure"
6709 #include "confdefs.h" 6710 #include "confdefs.h"
6710 /* Override any gcc2 internal prototype to avoid an error. */ 6711 /* Override any gcc2 internal prototype to avoid an error. */
6711 /* We use char because int might match the return type of a gcc2 6712 /* We use char because int might match the return type of a gcc2
6712 builtin and then its argument prototype would still apply. */ 6713 builtin and then its argument prototype would still apply. */
6713 char XmStringFree(); 6714 char XmStringFree();
6714 6715
6715 int main() { 6716 int main() {
6716 XmStringFree() 6717 XmStringFree()
6717 ; return 0; } 6718 ; return 0; }
6718 EOF 6719 EOF
6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6720 if { (eval echo configure:6721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6720 rm -rf conftest* 6721 rm -rf conftest*
6721 eval "ac_cv_lib_$ac_lib_var=yes" 6722 eval "ac_cv_lib_$ac_lib_var=yes"
6722 else 6723 else
6723 echo "configure: failed program was:" >&5 6724 echo "configure: failed program was:" >&5
6724 cat conftest.$ac_ext >&5 6725 cat conftest.$ac_ext >&5
7005 fi 7006 fi
7006 fi 7007 fi
7007 7008
7008 if test "$with_mule" = "yes" ; then 7009 if test "$with_mule" = "yes" ; then
7009 echo "checking for Mule-related features" 1>&6 7010 echo "checking for Mule-related features" 1>&6
7010 echo "configure:7011: checking for Mule-related features" >&5 7011 echo "configure:7012: checking for Mule-related features" >&5
7011 { test "$extra_verbose" = "yes" && cat << \EOF 7012 { test "$extra_verbose" = "yes" && cat << \EOF
7012 Defining MULE 7013 Defining MULE
7013 EOF 7014 EOF
7014 cat >> confdefs.h <<\EOF 7015 cat >> confdefs.h <<\EOF
7015 #define MULE 1 7016 #define MULE 1
7030 7031
7031 for ac_hdr in libintl.h 7032 for ac_hdr in libintl.h
7032 do 7033 do
7033 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7034 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7034 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7035 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7035 echo "configure:7036: checking for $ac_hdr" >&5 7036 echo "configure:7037: checking for $ac_hdr" >&5
7036 7037
7037 cat > conftest.$ac_ext <<EOF 7038 cat > conftest.$ac_ext <<EOF
7038 #line 7039 "configure" 7039 #line 7040 "configure"
7039 #include "confdefs.h" 7040 #include "confdefs.h"
7040 #include <$ac_hdr> 7041 #include <$ac_hdr>
7041 EOF 7042 EOF
7042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7043 { (eval echo configure:7044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7044 { (eval echo configure:7045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7044 ac_err=`grep -v '^ *+' conftest.out` 7045 ac_err=`grep -v '^ *+' conftest.out`
7045 if test -z "$ac_err"; then 7046 if test -z "$ac_err"; then
7046 rm -rf conftest* 7047 rm -rf conftest*
7047 eval "ac_cv_header_$ac_safe=yes" 7048 eval "ac_cv_header_$ac_safe=yes"
7048 else 7049 else
7069 fi 7070 fi
7070 done 7071 done
7071 7072
7072 7073
7073 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 7074 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
7074 echo "configure:7075: checking for strerror in -lintl" >&5 7075 echo "configure:7076: checking for strerror in -lintl" >&5
7075 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 7076 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
7076 7077
7077 xe_check_libs=" -lintl " 7078 xe_check_libs=" -lintl "
7078 cat > conftest.$ac_ext <<EOF 7079 cat > conftest.$ac_ext <<EOF
7079 #line 7080 "configure" 7080 #line 7081 "configure"
7080 #include "confdefs.h" 7081 #include "confdefs.h"
7081 /* Override any gcc2 internal prototype to avoid an error. */ 7082 /* Override any gcc2 internal prototype to avoid an error. */
7082 /* We use char because int might match the return type of a gcc2 7083 /* We use char because int might match the return type of a gcc2
7083 builtin and then its argument prototype would still apply. */ 7084 builtin and then its argument prototype would still apply. */
7084 char strerror(); 7085 char strerror();
7085 7086
7086 int main() { 7087 int main() {
7087 strerror() 7088 strerror()
7088 ; return 0; } 7089 ; return 0; }
7089 EOF 7090 EOF
7090 if { (eval echo configure:7091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7091 rm -rf conftest* 7092 rm -rf conftest*
7092 eval "ac_cv_lib_$ac_lib_var=yes" 7093 eval "ac_cv_lib_$ac_lib_var=yes"
7093 else 7094 else
7094 echo "configure: failed program was:" >&5 7095 echo "configure: failed program was:" >&5
7095 cat conftest.$ac_ext >&5 7096 cat conftest.$ac_ext >&5
7118 fi 7119 fi
7119 7120
7120 7121
7121 7122
7122 echo "checking for Mule input methods" 1>&6 7123 echo "checking for Mule input methods" 1>&6
7123 echo "configure:7124: checking for Mule input methods" >&5 7124 echo "configure:7125: checking for Mule input methods" >&5
7124 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no 7125 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no
7125 case "$with_xim" in "" | "yes" ) 7126 case "$with_xim" in "" | "yes" )
7126 echo "checking for XIM" 1>&6 7127 echo "checking for XIM" 1>&6
7127 echo "configure:7128: checking for XIM" >&5 7128 echo "configure:7129: checking for XIM" >&5
7128 7129
7129 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 7130 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
7130 echo "configure:7131: checking for XmImMbLookupString in -lXm" >&5 7131 echo "configure:7132: checking for XmImMbLookupString in -lXm" >&5
7131 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 7132 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
7132 7133
7133 xe_check_libs=" -lXm " 7134 xe_check_libs=" -lXm "
7134 cat > conftest.$ac_ext <<EOF 7135 cat > conftest.$ac_ext <<EOF
7135 #line 7136 "configure" 7136 #line 7137 "configure"
7136 #include "confdefs.h" 7137 #include "confdefs.h"
7137 /* Override any gcc2 internal prototype to avoid an error. */ 7138 /* Override any gcc2 internal prototype to avoid an error. */
7138 /* We use char because int might match the return type of a gcc2 7139 /* We use char because int might match the return type of a gcc2
7139 builtin and then its argument prototype would still apply. */ 7140 builtin and then its argument prototype would still apply. */
7140 char XmImMbLookupString(); 7141 char XmImMbLookupString();
7141 7142
7142 int main() { 7143 int main() {
7143 XmImMbLookupString() 7144 XmImMbLookupString()
7144 ; return 0; } 7145 ; return 0; }
7145 EOF 7146 EOF
7146 if { (eval echo configure:7147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7147 if { (eval echo configure:7148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7147 rm -rf conftest* 7148 rm -rf conftest*
7148 eval "ac_cv_lib_$ac_lib_var=yes" 7149 eval "ac_cv_lib_$ac_lib_var=yes"
7149 else 7150 else
7150 echo "configure: failed program was:" >&5 7151 echo "configure: failed program was:" >&5
7151 cat conftest.$ac_ext >&5 7152 cat conftest.$ac_ext >&5
7206 fi 7207 fi
7207 fi 7208 fi
7208 7209
7209 if test "$with_xfs" = "yes" ; then 7210 if test "$with_xfs" = "yes" ; then
7210 echo "checking for XFontSet" 1>&6 7211 echo "checking for XFontSet" 1>&6
7211 echo "configure:7212: checking for XFontSet" >&5 7212 echo "configure:7213: checking for XFontSet" >&5
7212 7213
7213 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 7214 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
7214 echo "configure:7215: checking for XmbDrawString in -lX11" >&5 7215 echo "configure:7216: checking for XmbDrawString in -lX11" >&5
7215 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 7216 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
7216 7217
7217 xe_check_libs=" -lX11 " 7218 xe_check_libs=" -lX11 "
7218 cat > conftest.$ac_ext <<EOF 7219 cat > conftest.$ac_ext <<EOF
7219 #line 7220 "configure" 7220 #line 7221 "configure"
7220 #include "confdefs.h" 7221 #include "confdefs.h"
7221 /* Override any gcc2 internal prototype to avoid an error. */ 7222 /* Override any gcc2 internal prototype to avoid an error. */
7222 /* We use char because int might match the return type of a gcc2 7223 /* We use char because int might match the return type of a gcc2
7223 builtin and then its argument prototype would still apply. */ 7224 builtin and then its argument prototype would still apply. */
7224 char XmbDrawString(); 7225 char XmbDrawString();
7225 7226
7226 int main() { 7227 int main() {
7227 XmbDrawString() 7228 XmbDrawString()
7228 ; return 0; } 7229 ; return 0; }
7229 EOF 7230 EOF
7230 if { (eval echo configure:7231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7231 if { (eval echo configure:7232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7231 rm -rf conftest* 7232 rm -rf conftest*
7232 eval "ac_cv_lib_$ac_lib_var=yes" 7233 eval "ac_cv_lib_$ac_lib_var=yes"
7233 else 7234 else
7234 echo "configure: failed program was:" >&5 7235 echo "configure: failed program was:" >&5
7235 cat conftest.$ac_ext >&5 7236 cat conftest.$ac_ext >&5
7265 fi 7266 fi
7266 fi 7267 fi
7267 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 7268 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
7268 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 7269 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
7269 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 7270 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
7270 echo "configure:7271: checking for wnn/jllib.h" >&5 7271 echo "configure:7272: checking for wnn/jllib.h" >&5
7271 7272
7272 cat > conftest.$ac_ext <<EOF 7273 cat > conftest.$ac_ext <<EOF
7273 #line 7274 "configure" 7274 #line 7275 "configure"
7274 #include "confdefs.h" 7275 #include "confdefs.h"
7275 #include <wnn/jllib.h> 7276 #include <wnn/jllib.h>
7276 EOF 7277 EOF
7277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7278 { (eval echo configure:7279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7279 { (eval echo configure:7280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7279 ac_err=`grep -v '^ *+' conftest.out` 7280 ac_err=`grep -v '^ *+' conftest.out`
7280 if test -z "$ac_err"; then 7281 if test -z "$ac_err"; then
7281 rm -rf conftest* 7282 rm -rf conftest*
7282 eval "ac_cv_header_$ac_safe=yes" 7283 eval "ac_cv_header_$ac_safe=yes"
7283 else 7284 else
7298 } 7299 }
7299 if test "$with_wnn" != "no"; then 7300 if test "$with_wnn" != "no"; then
7300 for ac_func in crypt 7301 for ac_func in crypt
7301 do 7302 do
7302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7303 echo "configure:7304: checking for $ac_func" >&5 7304 echo "configure:7305: checking for $ac_func" >&5
7304 7305
7305 cat > conftest.$ac_ext <<EOF 7306 cat > conftest.$ac_ext <<EOF
7306 #line 7307 "configure" 7307 #line 7308 "configure"
7307 #include "confdefs.h" 7308 #include "confdefs.h"
7308 /* System header to define __stub macros and hopefully few prototypes, 7309 /* System header to define __stub macros and hopefully few prototypes,
7309 which can conflict with char $ac_func(); below. */ 7310 which can conflict with char $ac_func(); below. */
7310 #include <assert.h> 7311 #include <assert.h>
7311 /* Override any gcc2 internal prototype to avoid an error. */ 7312 /* Override any gcc2 internal prototype to avoid an error. */
7324 $ac_func(); 7325 $ac_func();
7325 #endif 7326 #endif
7326 7327
7327 ; return 0; } 7328 ; return 0; }
7328 EOF 7329 EOF
7329 if { (eval echo configure:7330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7330 if { (eval echo configure:7331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7330 rm -rf conftest* 7331 rm -rf conftest*
7331 eval "ac_cv_func_$ac_func=yes" 7332 eval "ac_cv_func_$ac_func=yes"
7332 else 7333 else
7333 echo "configure: failed program was:" >&5 7334 echo "configure: failed program was:" >&5
7334 cat conftest.$ac_ext >&5 7335 cat conftest.$ac_ext >&5
7353 fi 7354 fi
7354 done 7355 done
7355 7356
7356 test "$ac_cv_func_crypt" != "yes" && { 7357 test "$ac_cv_func_crypt" != "yes" && {
7357 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 7358 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
7358 echo "configure:7359: checking for crypt in -lcrypt" >&5 7359 echo "configure:7360: checking for crypt in -lcrypt" >&5
7359 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 7360 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
7360 7361
7361 xe_check_libs=" -lcrypt " 7362 xe_check_libs=" -lcrypt "
7362 cat > conftest.$ac_ext <<EOF 7363 cat > conftest.$ac_ext <<EOF
7363 #line 7364 "configure" 7364 #line 7365 "configure"
7364 #include "confdefs.h" 7365 #include "confdefs.h"
7365 /* Override any gcc2 internal prototype to avoid an error. */ 7366 /* Override any gcc2 internal prototype to avoid an error. */
7366 /* We use char because int might match the return type of a gcc2 7367 /* We use char because int might match the return type of a gcc2
7367 builtin and then its argument prototype would still apply. */ 7368 builtin and then its argument prototype would still apply. */
7368 char crypt(); 7369 char crypt();
7369 7370
7370 int main() { 7371 int main() {
7371 crypt() 7372 crypt()
7372 ; return 0; } 7373 ; return 0; }
7373 EOF 7374 EOF
7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7375 if { (eval echo configure:7376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7375 rm -rf conftest* 7376 rm -rf conftest*
7376 eval "ac_cv_lib_$ac_lib_var=yes" 7377 eval "ac_cv_lib_$ac_lib_var=yes"
7377 else 7378 else
7378 echo "configure: failed program was:" >&5 7379 echo "configure: failed program was:" >&5
7379 cat conftest.$ac_ext >&5 7380 cat conftest.$ac_ext >&5
7403 7404
7404 } 7405 }
7405 fi 7406 fi
7406 test -z "$with_wnn" && { 7407 test -z "$with_wnn" && {
7407 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 7408 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
7408 echo "configure:7409: checking for jl_dic_list_e in -lwnn" >&5 7409 echo "configure:7410: checking for jl_dic_list_e in -lwnn" >&5
7409 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 7410 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
7410 7411
7411 xe_check_libs=" -lwnn " 7412 xe_check_libs=" -lwnn "
7412 cat > conftest.$ac_ext <<EOF 7413 cat > conftest.$ac_ext <<EOF
7413 #line 7414 "configure" 7414 #line 7415 "configure"
7414 #include "confdefs.h" 7415 #include "confdefs.h"
7415 /* Override any gcc2 internal prototype to avoid an error. */ 7416 /* Override any gcc2 internal prototype to avoid an error. */
7416 /* We use char because int might match the return type of a gcc2 7417 /* We use char because int might match the return type of a gcc2
7417 builtin and then its argument prototype would still apply. */ 7418 builtin and then its argument prototype would still apply. */
7418 char jl_dic_list_e(); 7419 char jl_dic_list_e();
7419 7420
7420 int main() { 7421 int main() {
7421 jl_dic_list_e() 7422 jl_dic_list_e()
7422 ; return 0; } 7423 ; return 0; }
7423 EOF 7424 EOF
7424 if { (eval echo configure:7425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7425 if { (eval echo configure:7426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7425 rm -rf conftest* 7426 rm -rf conftest*
7426 eval "ac_cv_lib_$ac_lib_var=yes" 7427 eval "ac_cv_lib_$ac_lib_var=yes"
7427 else 7428 else
7428 echo "configure: failed program was:" >&5 7429 echo "configure: failed program was:" >&5
7429 cat conftest.$ac_ext >&5 7430 cat conftest.$ac_ext >&5
7456 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then 7457 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then
7457 echo " xemacs will be linked with \"mule-wnnfns.o\"" 7458 echo " xemacs will be linked with \"mule-wnnfns.o\""
7458 fi 7459 fi
7459 7460
7460 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 7461 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6
7461 echo "configure:7462: checking for jl_fi_dic_list in -lwnn" >&5 7462 echo "configure:7463: checking for jl_fi_dic_list in -lwnn" >&5
7462 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 7463 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
7463 7464
7464 xe_check_libs=" -lwnn " 7465 xe_check_libs=" -lwnn "
7465 cat > conftest.$ac_ext <<EOF 7466 cat > conftest.$ac_ext <<EOF
7466 #line 7467 "configure" 7467 #line 7468 "configure"
7467 #include "confdefs.h" 7468 #include "confdefs.h"
7468 /* Override any gcc2 internal prototype to avoid an error. */ 7469 /* Override any gcc2 internal prototype to avoid an error. */
7469 /* We use char because int might match the return type of a gcc2 7470 /* We use char because int might match the return type of a gcc2
7470 builtin and then its argument prototype would still apply. */ 7471 builtin and then its argument prototype would still apply. */
7471 char jl_fi_dic_list(); 7472 char jl_fi_dic_list();
7472 7473
7473 int main() { 7474 int main() {
7474 jl_fi_dic_list() 7475 jl_fi_dic_list()
7475 ; return 0; } 7476 ; return 0; }
7476 EOF 7477 EOF
7477 if { (eval echo configure:7478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7478 if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7478 rm -rf conftest* 7479 rm -rf conftest*
7479 eval "ac_cv_lib_$ac_lib_var=yes" 7480 eval "ac_cv_lib_$ac_lib_var=yes"
7480 else 7481 else
7481 echo "configure: failed program was:" >&5 7482 echo "configure: failed program was:" >&5
7482 cat conftest.$ac_ext >&5 7483 cat conftest.$ac_ext >&5
7506 7507
7507 canna_includes_found=no 7508 canna_includes_found=no
7508 if test "$with_canna" != "no"; then 7509 if test "$with_canna" != "no"; then
7509 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 7510 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
7510 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 7511 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
7511 echo "configure:7512: checking for canna/jrkanji.h" >&5 7512 echo "configure:7513: checking for canna/jrkanji.h" >&5
7512 7513
7513 cat > conftest.$ac_ext <<EOF 7514 cat > conftest.$ac_ext <<EOF
7514 #line 7515 "configure" 7515 #line 7516 "configure"
7515 #include "confdefs.h" 7516 #include "confdefs.h"
7516 #include <canna/jrkanji.h> 7517 #include <canna/jrkanji.h>
7517 EOF 7518 EOF
7518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7519 { (eval echo configure:7520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7520 { (eval echo configure:7521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7520 ac_err=`grep -v '^ *+' conftest.out` 7521 ac_err=`grep -v '^ *+' conftest.out`
7521 if test -z "$ac_err"; then 7522 if test -z "$ac_err"; then
7522 rm -rf conftest* 7523 rm -rf conftest*
7523 eval "ac_cv_header_$ac_safe=yes" 7524 eval "ac_cv_header_$ac_safe=yes"
7524 else 7525 else
7541 -d "/usr/local/canna/include"; then 7542 -d "/usr/local/canna/include"; then
7542 save_c_switch_site="$c_switch_site" 7543 save_c_switch_site="$c_switch_site"
7543 c_switch_site="$c_switch_site -I/usr/local/canna/include" 7544 c_switch_site="$c_switch_site -I/usr/local/canna/include"
7544 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 7545 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
7545 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 7546 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
7546 echo "configure:7547: checking for canna/jrkanji.h" >&5 7547 echo "configure:7548: checking for canna/jrkanji.h" >&5
7547 7548
7548 cat > conftest.$ac_ext <<EOF 7549 cat > conftest.$ac_ext <<EOF
7549 #line 7550 "configure" 7550 #line 7551 "configure"
7550 #include "confdefs.h" 7551 #include "confdefs.h"
7551 #include <canna/jrkanji.h> 7552 #include <canna/jrkanji.h>
7552 EOF 7553 EOF
7553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7554 { (eval echo configure:7555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7555 { (eval echo configure:7556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7555 ac_err=`grep -v '^ *+' conftest.out` 7556 ac_err=`grep -v '^ *+' conftest.out`
7556 if test -z "$ac_err"; then 7557 if test -z "$ac_err"; then
7557 rm -rf conftest* 7558 rm -rf conftest*
7558 eval "ac_cv_header_$ac_safe=yes" 7559 eval "ac_cv_header_$ac_safe=yes"
7559 else 7560 else
7577 fi 7578 fi
7578 fi 7579 fi
7579 7580
7580 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 7581 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
7581 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 7582 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
7582 echo "configure:7583: checking for canna/RK.h" >&5 7583 echo "configure:7584: checking for canna/RK.h" >&5
7583 7584
7584 cat > conftest.$ac_ext <<EOF 7585 cat > conftest.$ac_ext <<EOF
7585 #line 7586 "configure" 7586 #line 7587 "configure"
7586 #include "confdefs.h" 7587 #include "confdefs.h"
7587 #include <canna/RK.h> 7588 #include <canna/RK.h>
7588 EOF 7589 EOF
7589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7590 { (eval echo configure:7591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7591 { (eval echo configure:7592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7591 ac_err=`grep -v '^ *+' conftest.out` 7592 ac_err=`grep -v '^ *+' conftest.out`
7592 if test -z "$ac_err"; then 7593 if test -z "$ac_err"; then
7593 rm -rf conftest* 7594 rm -rf conftest*
7594 eval "ac_cv_header_$ac_safe=yes" 7595 eval "ac_cv_header_$ac_safe=yes"
7595 else 7596 else
7608 with_canna=no 7609 with_canna=no
7609 fi 7610 fi
7610 } 7611 }
7611 test -z "$with_canna" && { 7612 test -z "$with_canna" && {
7612 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 7613 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
7613 echo "configure:7614: checking for RkBgnBun in -lRKC" >&5 7614 echo "configure:7615: checking for RkBgnBun in -lRKC" >&5
7614 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 7615 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
7615 7616
7616 xe_check_libs=" -lRKC " 7617 xe_check_libs=" -lRKC "
7617 cat > conftest.$ac_ext <<EOF 7618 cat > conftest.$ac_ext <<EOF
7618 #line 7619 "configure" 7619 #line 7620 "configure"
7619 #include "confdefs.h" 7620 #include "confdefs.h"
7620 /* Override any gcc2 internal prototype to avoid an error. */ 7621 /* Override any gcc2 internal prototype to avoid an error. */
7621 /* We use char because int might match the return type of a gcc2 7622 /* We use char because int might match the return type of a gcc2
7622 builtin and then its argument prototype would still apply. */ 7623 builtin and then its argument prototype would still apply. */
7623 char RkBgnBun(); 7624 char RkBgnBun();
7624 7625
7625 int main() { 7626 int main() {
7626 RkBgnBun() 7627 RkBgnBun()
7627 ; return 0; } 7628 ; return 0; }
7628 EOF 7629 EOF
7629 if { (eval echo configure:7630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7630 if { (eval echo configure:7631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7630 rm -rf conftest* 7631 rm -rf conftest*
7631 eval "ac_cv_lib_$ac_lib_var=yes" 7632 eval "ac_cv_lib_$ac_lib_var=yes"
7632 else 7633 else
7633 echo "configure: failed program was:" >&5 7634 echo "configure: failed program was:" >&5
7634 cat conftest.$ac_ext >&5 7635 cat conftest.$ac_ext >&5
7647 fi 7648 fi
7648 7649
7649 } 7650 }
7650 test -z "$with_canna" && { 7651 test -z "$with_canna" && {
7651 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 7652 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
7652 echo "configure:7653: checking for jrKanjiControl in -lcanna" >&5 7653 echo "configure:7654: checking for jrKanjiControl in -lcanna" >&5
7653 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 7654 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
7654 7655
7655 xe_check_libs=" -lcanna " 7656 xe_check_libs=" -lcanna "
7656 cat > conftest.$ac_ext <<EOF 7657 cat > conftest.$ac_ext <<EOF
7657 #line 7658 "configure" 7658 #line 7659 "configure"
7658 #include "confdefs.h" 7659 #include "confdefs.h"
7659 /* Override any gcc2 internal prototype to avoid an error. */ 7660 /* Override any gcc2 internal prototype to avoid an error. */
7660 /* We use char because int might match the return type of a gcc2 7661 /* We use char because int might match the return type of a gcc2
7661 builtin and then its argument prototype would still apply. */ 7662 builtin and then its argument prototype would still apply. */
7662 char jrKanjiControl(); 7663 char jrKanjiControl();
7663 7664
7664 int main() { 7665 int main() {
7665 jrKanjiControl() 7666 jrKanjiControl()
7666 ; return 0; } 7667 ; return 0; }
7667 EOF 7668 EOF
7668 if { (eval echo configure:7669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7669 if { (eval echo configure:7670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7669 rm -rf conftest* 7670 rm -rf conftest*
7670 eval "ac_cv_lib_$ac_lib_var=yes" 7671 eval "ac_cv_lib_$ac_lib_var=yes"
7671 else 7672 else
7672 echo "configure: failed program was:" >&5 7673 echo "configure: failed program was:" >&5
7673 cat conftest.$ac_ext >&5 7674 cat conftest.$ac_ext >&5
7712 7713
7713 if test "$need_motif" = "yes" ; then 7714 if test "$need_motif" = "yes" ; then
7714 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 7715 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
7715 7716
7716 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 7717 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
7717 echo "configure:7718: checking for layout_object_getvalue in -li18n" >&5 7718 echo "configure:7719: checking for layout_object_getvalue in -li18n" >&5
7718 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 7719 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
7719 7720
7720 xe_check_libs=" -li18n " 7721 xe_check_libs=" -li18n "
7721 cat > conftest.$ac_ext <<EOF 7722 cat > conftest.$ac_ext <<EOF
7722 #line 7723 "configure" 7723 #line 7724 "configure"
7723 #include "confdefs.h" 7724 #include "confdefs.h"
7724 /* Override any gcc2 internal prototype to avoid an error. */ 7725 /* Override any gcc2 internal prototype to avoid an error. */
7725 /* We use char because int might match the return type of a gcc2 7726 /* We use char because int might match the return type of a gcc2
7726 builtin and then its argument prototype would still apply. */ 7727 builtin and then its argument prototype would still apply. */
7727 char layout_object_getvalue(); 7728 char layout_object_getvalue();
7728 7729
7729 int main() { 7730 int main() {
7730 layout_object_getvalue() 7731 layout_object_getvalue()
7731 ; return 0; } 7732 ; return 0; }
7732 EOF 7733 EOF
7733 if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7734 if { (eval echo configure:7735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7734 rm -rf conftest* 7735 rm -rf conftest*
7735 eval "ac_cv_lib_$ac_lib_var=yes" 7736 eval "ac_cv_lib_$ac_lib_var=yes"
7736 else 7737 else
7737 echo "configure: failed program was:" >&5 7738 echo "configure: failed program was:" >&5
7738 cat conftest.$ac_ext >&5 7739 cat conftest.$ac_ext >&5
7801 fi 7802 fi
7802 7803
7803 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 7804 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
7804 do 7805 do
7805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7806 echo "configure:7807: checking for $ac_func" >&5 7807 echo "configure:7808: checking for $ac_func" >&5
7807 7808
7808 cat > conftest.$ac_ext <<EOF 7809 cat > conftest.$ac_ext <<EOF
7809 #line 7810 "configure" 7810 #line 7811 "configure"
7810 #include "confdefs.h" 7811 #include "confdefs.h"
7811 /* System header to define __stub macros and hopefully few prototypes, 7812 /* System header to define __stub macros and hopefully few prototypes,
7812 which can conflict with char $ac_func(); below. */ 7813 which can conflict with char $ac_func(); below. */
7813 #include <assert.h> 7814 #include <assert.h>
7814 /* Override any gcc2 internal prototype to avoid an error. */ 7815 /* Override any gcc2 internal prototype to avoid an error. */
7827 $ac_func(); 7828 $ac_func();
7828 #endif 7829 #endif
7829 7830
7830 ; return 0; } 7831 ; return 0; }
7831 EOF 7832 EOF
7832 if { (eval echo configure:7833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7833 if { (eval echo configure:7834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7833 rm -rf conftest* 7834 rm -rf conftest*
7834 eval "ac_cv_func_$ac_func=yes" 7835 eval "ac_cv_func_$ac_func=yes"
7835 else 7836 else
7836 echo "configure: failed program was:" >&5 7837 echo "configure: failed program was:" >&5
7837 cat conftest.$ac_ext >&5 7838 cat conftest.$ac_ext >&5
7864 fi ;; 7865 fi ;;
7865 * ) 7866 * )
7866 for ac_func in realpath 7867 for ac_func in realpath
7867 do 7868 do
7868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7869 echo "configure:7870: checking for $ac_func" >&5 7870 echo "configure:7871: checking for $ac_func" >&5
7870 7871
7871 cat > conftest.$ac_ext <<EOF 7872 cat > conftest.$ac_ext <<EOF
7872 #line 7873 "configure" 7873 #line 7874 "configure"
7873 #include "confdefs.h" 7874 #include "confdefs.h"
7874 /* System header to define __stub macros and hopefully few prototypes, 7875 /* System header to define __stub macros and hopefully few prototypes,
7875 which can conflict with char $ac_func(); below. */ 7876 which can conflict with char $ac_func(); below. */
7876 #include <assert.h> 7877 #include <assert.h>
7877 /* Override any gcc2 internal prototype to avoid an error. */ 7878 /* Override any gcc2 internal prototype to avoid an error. */
7890 $ac_func(); 7891 $ac_func();
7891 #endif 7892 #endif
7892 7893
7893 ; return 0; } 7894 ; return 0; }
7894 EOF 7895 EOF
7895 if { (eval echo configure:7896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7896 if { (eval echo configure:7897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7896 rm -rf conftest* 7897 rm -rf conftest*
7897 eval "ac_cv_func_$ac_func=yes" 7898 eval "ac_cv_func_$ac_func=yes"
7898 else 7899 else
7899 echo "configure: failed program was:" >&5 7900 echo "configure: failed program was:" >&5
7900 cat conftest.$ac_ext >&5 7901 cat conftest.$ac_ext >&5
7923 echo " xemacs will be linked with \"realpath.o\"" 7924 echo " xemacs will be linked with \"realpath.o\""
7924 fi ;; 7925 fi ;;
7925 esac 7926 esac
7926 7927
7927 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 7928 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
7928 echo "configure:7929: checking whether netdb declares h_errno" >&5 7929 echo "configure:7930: checking whether netdb declares h_errno" >&5
7929 cat > conftest.$ac_ext <<EOF 7930 cat > conftest.$ac_ext <<EOF
7930 #line 7931 "configure" 7931 #line 7932 "configure"
7931 #include "confdefs.h" 7932 #include "confdefs.h"
7932 #include <netdb.h> 7933 #include <netdb.h>
7933 int main() { 7934 int main() {
7934 return h_errno; 7935 return h_errno;
7935 ; return 0; } 7936 ; return 0; }
7936 EOF 7937 EOF
7937 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7938 if { (eval echo configure:7939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7938 rm -rf conftest* 7939 rm -rf conftest*
7939 echo "$ac_t""yes" 1>&6 7940 echo "$ac_t""yes" 1>&6
7940 { test "$extra_verbose" = "yes" && cat << \EOF 7941 { test "$extra_verbose" = "yes" && cat << \EOF
7941 Defining HAVE_H_ERRNO 7942 Defining HAVE_H_ERRNO
7942 EOF 7943 EOF
7952 echo "$ac_t""no" 1>&6 7953 echo "$ac_t""no" 1>&6
7953 fi 7954 fi
7954 rm -f conftest* 7955 rm -f conftest*
7955 7956
7956 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 7957 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
7957 echo "configure:7958: checking for sigsetjmp" >&5 7958 echo "configure:7959: checking for sigsetjmp" >&5
7958 cat > conftest.$ac_ext <<EOF 7959 cat > conftest.$ac_ext <<EOF
7959 #line 7960 "configure" 7960 #line 7961 "configure"
7960 #include "confdefs.h" 7961 #include "confdefs.h"
7961 #include <setjmp.h> 7962 #include <setjmp.h>
7962 int main() { 7963 int main() {
7963 sigjmp_buf bar; sigsetjmp (bar, 0); 7964 sigjmp_buf bar; sigsetjmp (bar, 0);
7964 ; return 0; } 7965 ; return 0; }
7965 EOF 7966 EOF
7966 if { (eval echo configure:7967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7967 if { (eval echo configure:7968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7967 rm -rf conftest* 7968 rm -rf conftest*
7968 echo "$ac_t""yes" 1>&6 7969 echo "$ac_t""yes" 1>&6
7969 { test "$extra_verbose" = "yes" && cat << \EOF 7970 { test "$extra_verbose" = "yes" && cat << \EOF
7970 Defining HAVE_SIGSETJMP 7971 Defining HAVE_SIGSETJMP
7971 EOF 7972 EOF
7981 echo "$ac_t""no" 1>&6 7982 echo "$ac_t""no" 1>&6
7982 fi 7983 fi
7983 rm -f conftest* 7984 rm -f conftest*
7984 7985
7985 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7986 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7986 echo "configure:7987: checking whether localtime caches TZ" >&5 7987 echo "configure:7988: checking whether localtime caches TZ" >&5
7987 7988
7988 if test "$ac_cv_func_tzset" = "yes"; then 7989 if test "$ac_cv_func_tzset" = "yes"; then
7989 cat > conftest.$ac_ext <<EOF 7990 cat > conftest.$ac_ext <<EOF
7990 #line 7991 "configure" 7991 #line 7992 "configure"
7991 #include "confdefs.h" 7992 #include "confdefs.h"
7992 #include <time.h> 7993 #include <time.h>
7993 #if STDC_HEADERS 7994 #if STDC_HEADERS
7994 # include <stdlib.h> 7995 # include <stdlib.h>
7995 #endif 7996 #endif
8020 if (localtime (&now)->tm_hour != hour_unset) 8021 if (localtime (&now)->tm_hour != hour_unset)
8021 exit (1); 8022 exit (1);
8022 exit (0); 8023 exit (0);
8023 } 8024 }
8024 EOF 8025 EOF
8025 if { (eval echo configure:8026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8026 if { (eval echo configure:8027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8026 then 8027 then
8027 emacs_cv_localtime_cache=no 8028 emacs_cv_localtime_cache=no
8028 else 8029 else
8029 echo "configure: failed program was:" >&5 8030 echo "configure: failed program was:" >&5
8030 cat conftest.$ac_ext >&5 8031 cat conftest.$ac_ext >&5
8049 8050
8050 fi 8051 fi
8051 8052
8052 if test "$HAVE_TIMEVAL" = "yes"; then 8053 if test "$HAVE_TIMEVAL" = "yes"; then
8053 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 8054 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6
8054 echo "configure:8055: checking whether gettimeofday cannot accept two arguments" >&5 8055 echo "configure:8056: checking whether gettimeofday cannot accept two arguments" >&5
8055 cat > conftest.$ac_ext <<EOF 8056 cat > conftest.$ac_ext <<EOF
8056 #line 8057 "configure" 8057 #line 8058 "configure"
8057 #include "confdefs.h" 8058 #include "confdefs.h"
8058 8059
8059 #ifdef TIME_WITH_SYS_TIME 8060 #ifdef TIME_WITH_SYS_TIME
8060 #include <sys/time.h> 8061 #include <sys/time.h>
8061 #include <time.h> 8062 #include <time.h>
8073 struct timezone dummy; 8074 struct timezone dummy;
8074 gettimeofday (&time, &dummy); 8075 gettimeofday (&time, &dummy);
8075 8076
8076 ; return 0; } 8077 ; return 0; }
8077 EOF 8078 EOF
8078 if { (eval echo configure:8079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8079 if { (eval echo configure:8080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8079 rm -rf conftest* 8080 rm -rf conftest*
8080 echo "$ac_t""no" 1>&6 8081 echo "$ac_t""no" 1>&6
8081 else 8082 else
8082 echo "configure: failed program was:" >&5 8083 echo "configure: failed program was:" >&5
8083 cat conftest.$ac_ext >&5 8084 cat conftest.$ac_ext >&5
8095 rm -f conftest* 8096 rm -f conftest*
8096 fi 8097 fi
8097 8098
8098 8099
8099 echo $ac_n "checking for inline""... $ac_c" 1>&6 8100 echo $ac_n "checking for inline""... $ac_c" 1>&6
8100 echo "configure:8101: checking for inline" >&5 8101 echo "configure:8102: checking for inline" >&5
8101 8102
8102 ac_cv_c_inline=no 8103 ac_cv_c_inline=no
8103 for ac_kw in inline __inline__ __inline; do 8104 for ac_kw in inline __inline__ __inline; do
8104 cat > conftest.$ac_ext <<EOF 8105 cat > conftest.$ac_ext <<EOF
8105 #line 8106 "configure" 8106 #line 8107 "configure"
8106 #include "confdefs.h" 8107 #include "confdefs.h"
8107 8108
8108 int main() { 8109 int main() {
8109 } $ac_kw foo() { 8110 } $ac_kw foo() {
8110 ; return 0; } 8111 ; return 0; }
8111 EOF 8112 EOF
8112 if { (eval echo configure:8113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8113 if { (eval echo configure:8114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8113 rm -rf conftest* 8114 rm -rf conftest*
8114 ac_cv_c_inline=$ac_kw; break 8115 ac_cv_c_inline=$ac_kw; break
8115 else 8116 else
8116 echo "configure: failed program was:" >&5 8117 echo "configure: failed program was:" >&5
8117 cat conftest.$ac_ext >&5 8118 cat conftest.$ac_ext >&5
8157 8158
8158 8159
8159 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 8160 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8160 # for constant arguments. Useless! 8161 # for constant arguments. Useless!
8161 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 8162 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
8162 echo "configure:8163: checking for working alloca.h" >&5 8163 echo "configure:8164: checking for working alloca.h" >&5
8163 8164
8164 cat > conftest.$ac_ext <<EOF 8165 cat > conftest.$ac_ext <<EOF
8165 #line 8166 "configure" 8166 #line 8167 "configure"
8166 #include "confdefs.h" 8167 #include "confdefs.h"
8167 #include <alloca.h> 8168 #include <alloca.h>
8168 int main() { 8169 int main() {
8169 char *p = alloca(2 * sizeof(int)); 8170 char *p = alloca(2 * sizeof(int));
8170 ; return 0; } 8171 ; return 0; }
8171 EOF 8172 EOF
8172 if { (eval echo configure:8173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8173 if { (eval echo configure:8174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8173 rm -rf conftest* 8174 rm -rf conftest*
8174 ac_cv_header_alloca_h=yes 8175 ac_cv_header_alloca_h=yes
8175 else 8176 else
8176 echo "configure: failed program was:" >&5 8177 echo "configure: failed program was:" >&5
8177 cat conftest.$ac_ext >&5 8178 cat conftest.$ac_ext >&5
8191 } 8192 }
8192 8193
8193 fi 8194 fi
8194 8195
8195 echo $ac_n "checking for alloca""... $ac_c" 1>&6 8196 echo $ac_n "checking for alloca""... $ac_c" 1>&6
8196 echo "configure:8197: checking for alloca" >&5 8197 echo "configure:8198: checking for alloca" >&5
8197 8198
8198 cat > conftest.$ac_ext <<EOF 8199 cat > conftest.$ac_ext <<EOF
8199 #line 8200 "configure" 8200 #line 8201 "configure"
8200 #include "confdefs.h" 8201 #include "confdefs.h"
8201 8202
8202 #ifdef __GNUC__ 8203 #ifdef __GNUC__
8203 # define alloca __builtin_alloca 8204 # define alloca __builtin_alloca
8204 #else 8205 #else
8217 8218
8218 int main() { 8219 int main() {
8219 char *p = (char *) alloca(1); 8220 char *p = (char *) alloca(1);
8220 ; return 0; } 8221 ; return 0; }
8221 EOF 8222 EOF
8222 if { (eval echo configure:8223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8223 if { (eval echo configure:8224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8223 rm -rf conftest* 8224 rm -rf conftest*
8224 ac_cv_func_alloca_works=yes 8225 ac_cv_func_alloca_works=yes
8225 else 8226 else
8226 echo "configure: failed program was:" >&5 8227 echo "configure: failed program was:" >&5
8227 cat conftest.$ac_ext >&5 8228 cat conftest.$ac_ext >&5
8256 EOF 8257 EOF
8257 } 8258 }
8258 8259
8259 8260
8260 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 8261 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
8261 echo "configure:8262: checking whether alloca needs Cray hooks" >&5 8262 echo "configure:8263: checking whether alloca needs Cray hooks" >&5
8262 8263
8263 cat > conftest.$ac_ext <<EOF 8264 cat > conftest.$ac_ext <<EOF
8264 #line 8265 "configure" 8265 #line 8266 "configure"
8265 #include "confdefs.h" 8266 #include "confdefs.h"
8266 #if defined(CRAY) && ! defined(CRAY2) 8267 #if defined(CRAY) && ! defined(CRAY2)
8267 webecray 8268 webecray
8268 #else 8269 #else
8269 wenotbecray 8270 wenotbecray
8283 8284
8284 echo "$ac_t""$ac_cv_os_cray" 1>&6 8285 echo "$ac_t""$ac_cv_os_cray" 1>&6
8285 if test $ac_cv_os_cray = yes; then 8286 if test $ac_cv_os_cray = yes; then
8286 for ac_func in _getb67 GETB67 getb67; do 8287 for ac_func in _getb67 GETB67 getb67; do
8287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8288 echo "configure:8289: checking for $ac_func" >&5 8289 echo "configure:8290: checking for $ac_func" >&5
8289 8290
8290 cat > conftest.$ac_ext <<EOF 8291 cat > conftest.$ac_ext <<EOF
8291 #line 8292 "configure" 8292 #line 8293 "configure"
8292 #include "confdefs.h" 8293 #include "confdefs.h"
8293 /* System header to define __stub macros and hopefully few prototypes, 8294 /* System header to define __stub macros and hopefully few prototypes,
8294 which can conflict with char $ac_func(); below. */ 8295 which can conflict with char $ac_func(); below. */
8295 #include <assert.h> 8296 #include <assert.h>
8296 /* Override any gcc2 internal prototype to avoid an error. */ 8297 /* Override any gcc2 internal prototype to avoid an error. */
8309 $ac_func(); 8310 $ac_func();
8310 #endif 8311 #endif
8311 8312
8312 ; return 0; } 8313 ; return 0; }
8313 EOF 8314 EOF
8314 if { (eval echo configure:8315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8315 if { (eval echo configure:8316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8315 rm -rf conftest* 8316 rm -rf conftest*
8316 eval "ac_cv_func_$ac_func=yes" 8317 eval "ac_cv_func_$ac_func=yes"
8317 else 8318 else
8318 echo "configure: failed program was:" >&5 8319 echo "configure: failed program was:" >&5
8319 cat conftest.$ac_ext >&5 8320 cat conftest.$ac_ext >&5
8339 8340
8340 done 8341 done
8341 fi 8342 fi
8342 8343
8343 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 8344 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
8344 echo "configure:8345: checking stack direction for C alloca" >&5 8345 echo "configure:8346: checking stack direction for C alloca" >&5
8345 8346
8346 cat > conftest.$ac_ext <<EOF 8347 cat > conftest.$ac_ext <<EOF
8347 #line 8348 "configure" 8348 #line 8349 "configure"
8348 #include "confdefs.h" 8349 #include "confdefs.h"
8349 find_stack_direction () 8350 find_stack_direction ()
8350 { 8351 {
8351 static char *addr = 0; 8352 static char *addr = 0;
8352 auto char dummy; 8353 auto char dummy;
8361 main () 8362 main ()
8362 { 8363 {
8363 exit (find_stack_direction() < 0); 8364 exit (find_stack_direction() < 0);
8364 } 8365 }
8365 EOF 8366 EOF
8366 if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8367 then 8368 then
8368 ac_cv_c_stack_direction=1 8369 ac_cv_c_stack_direction=1
8369 else 8370 else
8370 echo "configure: failed program was:" >&5 8371 echo "configure: failed program was:" >&5
8371 cat conftest.$ac_ext >&5 8372 cat conftest.$ac_ext >&5
8389 echo " xemacs will be linked with \"$ALLOCA\"" 8390 echo " xemacs will be linked with \"$ALLOCA\""
8390 fi 8391 fi
8391 8392
8392 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8393 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8393 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8394 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8394 echo "configure:8395: checking for vfork.h" >&5 8395 echo "configure:8396: checking for vfork.h" >&5
8395 8396
8396 cat > conftest.$ac_ext <<EOF 8397 cat > conftest.$ac_ext <<EOF
8397 #line 8398 "configure" 8398 #line 8399 "configure"
8398 #include "confdefs.h" 8399 #include "confdefs.h"
8399 #include <vfork.h> 8400 #include <vfork.h>
8400 EOF 8401 EOF
8401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8402 { (eval echo configure:8403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8403 { (eval echo configure:8404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8403 ac_err=`grep -v '^ *+' conftest.out` 8404 ac_err=`grep -v '^ *+' conftest.out`
8404 if test -z "$ac_err"; then 8405 if test -z "$ac_err"; then
8405 rm -rf conftest* 8406 rm -rf conftest*
8406 eval "ac_cv_header_$ac_safe=yes" 8407 eval "ac_cv_header_$ac_safe=yes"
8407 else 8408 else
8425 else 8426 else
8426 echo "$ac_t""no" 1>&6 8427 echo "$ac_t""no" 1>&6
8427 fi 8428 fi
8428 8429
8429 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8430 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8430 echo "configure:8431: checking for working vfork" >&5 8431 echo "configure:8432: checking for working vfork" >&5
8431 8432
8432 cat > conftest.$ac_ext <<EOF 8433 cat > conftest.$ac_ext <<EOF
8433 #line 8434 "configure" 8434 #line 8435 "configure"
8434 #include "confdefs.h" 8435 #include "confdefs.h"
8435 /* Thanks to Paul Eggert for this test. */ 8436 /* Thanks to Paul Eggert for this test. */
8436 #include <stdio.h> 8437 #include <stdio.h>
8437 #include <sys/types.h> 8438 #include <sys/types.h>
8438 #include <sys/stat.h> 8439 #include <sys/stat.h>
8523 || fstat(fileno(stdout), &st) != 0 8524 || fstat(fileno(stdout), &st) != 0
8524 ); 8525 );
8525 } 8526 }
8526 } 8527 }
8527 EOF 8528 EOF
8528 if { (eval echo configure:8529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8529 if { (eval echo configure:8530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8529 then 8530 then
8530 ac_cv_func_vfork_works=yes 8531 ac_cv_func_vfork_works=yes
8531 else 8532 else
8532 echo "configure: failed program was:" >&5 8533 echo "configure: failed program was:" >&5
8533 cat conftest.$ac_ext >&5 8534 cat conftest.$ac_ext >&5
8548 8549
8549 fi 8550 fi
8550 8551
8551 8552
8552 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 8553 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
8553 echo "configure:8554: checking for working strcoll" >&5 8554 echo "configure:8555: checking for working strcoll" >&5
8554 8555
8555 cat > conftest.$ac_ext <<EOF 8556 cat > conftest.$ac_ext <<EOF
8556 #line 8557 "configure" 8557 #line 8558 "configure"
8557 #include "confdefs.h" 8558 #include "confdefs.h"
8558 #include <string.h> 8559 #include <string.h>
8559 main () 8560 main ()
8560 { 8561 {
8561 exit (strcoll ("abc", "def") >= 0 || 8562 exit (strcoll ("abc", "def") >= 0 ||
8562 strcoll ("ABC", "DEF") >= 0 || 8563 strcoll ("ABC", "DEF") >= 0 ||
8563 strcoll ("123", "456") >= 0); 8564 strcoll ("123", "456") >= 0);
8564 } 8565 }
8565 EOF 8566 EOF
8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8567 if { (eval echo configure:8568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8567 then 8568 then
8568 ac_cv_func_strcoll_works=yes 8569 ac_cv_func_strcoll_works=yes
8569 else 8570 else
8570 echo "configure: failed program was:" >&5 8571 echo "configure: failed program was:" >&5
8571 cat conftest.$ac_ext >&5 8572 cat conftest.$ac_ext >&5
8588 8589
8589 8590
8590 for ac_func in getpgrp 8591 for ac_func in getpgrp
8591 do 8592 do
8592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8593 echo "configure:8594: checking for $ac_func" >&5 8594 echo "configure:8595: checking for $ac_func" >&5
8594 8595
8595 cat > conftest.$ac_ext <<EOF 8596 cat > conftest.$ac_ext <<EOF
8596 #line 8597 "configure" 8597 #line 8598 "configure"
8597 #include "confdefs.h" 8598 #include "confdefs.h"
8598 /* System header to define __stub macros and hopefully few prototypes, 8599 /* System header to define __stub macros and hopefully few prototypes,
8599 which can conflict with char $ac_func(); below. */ 8600 which can conflict with char $ac_func(); below. */
8600 #include <assert.h> 8601 #include <assert.h>
8601 /* Override any gcc2 internal prototype to avoid an error. */ 8602 /* Override any gcc2 internal prototype to avoid an error. */
8614 $ac_func(); 8615 $ac_func();
8615 #endif 8616 #endif
8616 8617
8617 ; return 0; } 8618 ; return 0; }
8618 EOF 8619 EOF
8619 if { (eval echo configure:8620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8620 rm -rf conftest* 8621 rm -rf conftest*
8621 eval "ac_cv_func_$ac_func=yes" 8622 eval "ac_cv_func_$ac_func=yes"
8622 else 8623 else
8623 echo "configure: failed program was:" >&5 8624 echo "configure: failed program was:" >&5
8624 cat conftest.$ac_ext >&5 8625 cat conftest.$ac_ext >&5
8642 echo "$ac_t""no" 1>&6 8643 echo "$ac_t""no" 1>&6
8643 fi 8644 fi
8644 done 8645 done
8645 8646
8646 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 8647 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
8647 echo "configure:8648: checking whether getpgrp takes no argument" >&5 8648 echo "configure:8649: checking whether getpgrp takes no argument" >&5
8648 8649
8649 cat > conftest.$ac_ext <<EOF 8650 cat > conftest.$ac_ext <<EOF
8650 #line 8651 "configure" 8651 #line 8652 "configure"
8651 #include "confdefs.h" 8652 #include "confdefs.h"
8652 8653
8653 /* 8654 /*
8654 * If this system has a BSD-style getpgrp(), 8655 * If this system has a BSD-style getpgrp(),
8655 * which takes a pid argument, exit unsuccessfully. 8656 * which takes a pid argument, exit unsuccessfully.
8700 exit(s>>8); 8701 exit(s>>8);
8701 } 8702 }
8702 } 8703 }
8703 8704
8704 EOF 8705 EOF
8705 if { (eval echo configure:8706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8706 if { (eval echo configure:8707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8706 then 8707 then
8707 ac_cv_func_getpgrp_void=yes 8708 ac_cv_func_getpgrp_void=yes
8708 else 8709 else
8709 echo "configure: failed program was:" >&5 8710 echo "configure: failed program was:" >&5
8710 cat conftest.$ac_ext >&5 8711 cat conftest.$ac_ext >&5
8726 8727
8727 fi 8728 fi
8728 8729
8729 8730
8730 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 8731 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
8731 echo "configure:8732: checking for working mmap" >&5 8732 echo "configure:8733: checking for working mmap" >&5
8732 case "$opsys" in ultrix* ) have_mmap=no ;; *) 8733 case "$opsys" in ultrix* ) have_mmap=no ;; *)
8733 cat > conftest.$ac_ext <<EOF 8734 cat > conftest.$ac_ext <<EOF
8734 #line 8735 "configure" 8735 #line 8736 "configure"
8735 #include "confdefs.h" 8736 #include "confdefs.h"
8736 #include <stdio.h> 8737 #include <stdio.h>
8737 #include <unistd.h> 8738 #include <unistd.h>
8738 #include <fcntl.h> 8739 #include <fcntl.h>
8739 #include <sys/mman.h> 8740 #include <sys/mman.h>
8762 return 0; 8763 return 0;
8763 perror ("conftest: mmap failed"); 8764 perror ("conftest: mmap failed");
8764 return 1; 8765 return 1;
8765 } 8766 }
8766 EOF 8767 EOF
8767 if { (eval echo configure:8768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8768 if { (eval echo configure:8769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8768 then 8769 then
8769 have_mmap=yes 8770 have_mmap=yes
8770 else 8771 else
8771 echo "configure: failed program was:" >&5 8772 echo "configure: failed program was:" >&5
8772 cat conftest.$ac_ext >&5 8773 cat conftest.$ac_ext >&5
8796 } 8797 }
8797 8798
8798 8799
8799 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 8800 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
8800 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 8801 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
8801 echo "configure:8802: checking for termios.h" >&5 8802 echo "configure:8803: checking for termios.h" >&5
8802 8803
8803 cat > conftest.$ac_ext <<EOF 8804 cat > conftest.$ac_ext <<EOF
8804 #line 8805 "configure" 8805 #line 8806 "configure"
8805 #include "confdefs.h" 8806 #include "confdefs.h"
8806 #include <termios.h> 8807 #include <termios.h>
8807 EOF 8808 EOF
8808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8809 { (eval echo configure:8810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8810 { (eval echo configure:8811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8810 ac_err=`grep -v '^ *+' conftest.out` 8811 ac_err=`grep -v '^ *+' conftest.out`
8811 if test -z "$ac_err"; then 8812 if test -z "$ac_err"; then
8812 rm -rf conftest* 8813 rm -rf conftest*
8813 eval "ac_cv_header_$ac_safe=yes" 8814 eval "ac_cv_header_$ac_safe=yes"
8814 else 8815 else
8847 8848
8848 else 8849 else
8849 echo "$ac_t""no" 1>&6 8850 echo "$ac_t""no" 1>&6
8850 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 8851 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
8851 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 8852 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
8852 echo "configure:8853: checking for termio.h" >&5 8853 echo "configure:8854: checking for termio.h" >&5
8853 8854
8854 cat > conftest.$ac_ext <<EOF 8855 cat > conftest.$ac_ext <<EOF
8855 #line 8856 "configure" 8856 #line 8857 "configure"
8856 #include "confdefs.h" 8857 #include "confdefs.h"
8857 #include <termio.h> 8858 #include <termio.h>
8858 EOF 8859 EOF
8859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8860 { (eval echo configure:8861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8861 { (eval echo configure:8862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8861 ac_err=`grep -v '^ *+' conftest.out` 8862 ac_err=`grep -v '^ *+' conftest.out`
8862 if test -z "$ac_err"; then 8863 if test -z "$ac_err"; then
8863 rm -rf conftest* 8864 rm -rf conftest*
8864 eval "ac_cv_header_$ac_safe=yes" 8865 eval "ac_cv_header_$ac_safe=yes"
8865 else 8866 else
8887 fi 8888 fi
8888 8889
8889 8890
8890 8891
8891 echo $ac_n "checking for socket""... $ac_c" 1>&6 8892 echo $ac_n "checking for socket""... $ac_c" 1>&6
8892 echo "configure:8893: checking for socket" >&5 8893 echo "configure:8894: checking for socket" >&5
8893 8894
8894 cat > conftest.$ac_ext <<EOF 8895 cat > conftest.$ac_ext <<EOF
8895 #line 8896 "configure" 8896 #line 8897 "configure"
8896 #include "confdefs.h" 8897 #include "confdefs.h"
8897 /* System header to define __stub macros and hopefully few prototypes, 8898 /* System header to define __stub macros and hopefully few prototypes,
8898 which can conflict with char socket(); below. */ 8899 which can conflict with char socket(); below. */
8899 #include <assert.h> 8900 #include <assert.h>
8900 /* Override any gcc2 internal prototype to avoid an error. */ 8901 /* Override any gcc2 internal prototype to avoid an error. */
8913 socket(); 8914 socket();
8914 #endif 8915 #endif
8915 8916
8916 ; return 0; } 8917 ; return 0; }
8917 EOF 8918 EOF
8918 if { (eval echo configure:8919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8919 if { (eval echo configure:8920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8919 rm -rf conftest* 8920 rm -rf conftest*
8920 eval "ac_cv_func_socket=yes" 8921 eval "ac_cv_func_socket=yes"
8921 else 8922 else
8922 echo "configure: failed program was:" >&5 8923 echo "configure: failed program was:" >&5
8923 cat conftest.$ac_ext >&5 8924 cat conftest.$ac_ext >&5
8928 8929
8929 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 8930 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
8930 echo "$ac_t""yes" 1>&6 8931 echo "$ac_t""yes" 1>&6
8931 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8932 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8932 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8933 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8933 echo "configure:8934: checking for netinet/in.h" >&5 8934 echo "configure:8935: checking for netinet/in.h" >&5
8934 8935
8935 cat > conftest.$ac_ext <<EOF 8936 cat > conftest.$ac_ext <<EOF
8936 #line 8937 "configure" 8937 #line 8938 "configure"
8937 #include "confdefs.h" 8938 #include "confdefs.h"
8938 #include <netinet/in.h> 8939 #include <netinet/in.h>
8939 EOF 8940 EOF
8940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8941 { (eval echo configure:8942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8942 { (eval echo configure:8943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8942 ac_err=`grep -v '^ *+' conftest.out` 8943 ac_err=`grep -v '^ *+' conftest.out`
8943 if test -z "$ac_err"; then 8944 if test -z "$ac_err"; then
8944 rm -rf conftest* 8945 rm -rf conftest*
8945 eval "ac_cv_header_$ac_safe=yes" 8946 eval "ac_cv_header_$ac_safe=yes"
8946 else 8947 else
8953 rm -f conftest* 8954 rm -f conftest*
8954 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8955 echo "$ac_t""yes" 1>&6 8956 echo "$ac_t""yes" 1>&6
8956 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8957 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8957 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8958 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8958 echo "configure:8959: checking for arpa/inet.h" >&5 8959 echo "configure:8960: checking for arpa/inet.h" >&5
8959 8960
8960 cat > conftest.$ac_ext <<EOF 8961 cat > conftest.$ac_ext <<EOF
8961 #line 8962 "configure" 8962 #line 8963 "configure"
8962 #include "confdefs.h" 8963 #include "confdefs.h"
8963 #include <arpa/inet.h> 8964 #include <arpa/inet.h>
8964 EOF 8965 EOF
8965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8966 { (eval echo configure:8967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8967 { (eval echo configure:8968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8967 ac_err=`grep -v '^ *+' conftest.out` 8968 ac_err=`grep -v '^ *+' conftest.out`
8968 if test -z "$ac_err"; then 8969 if test -z "$ac_err"; then
8969 rm -rf conftest* 8970 rm -rf conftest*
8970 eval "ac_cv_header_$ac_safe=yes" 8971 eval "ac_cv_header_$ac_safe=yes"
8971 else 8972 else
8986 #define HAVE_SOCKETS 1 8987 #define HAVE_SOCKETS 1
8987 EOF 8988 EOF
8988 } 8989 }
8989 8990
8990 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 8991 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
8991 echo "configure:8992: checking "for sun_len member in struct sockaddr_un"" >&5 8992 echo "configure:8993: checking "for sun_len member in struct sockaddr_un"" >&5
8992 cat > conftest.$ac_ext <<EOF 8993 cat > conftest.$ac_ext <<EOF
8993 #line 8994 "configure" 8994 #line 8995 "configure"
8994 #include "confdefs.h" 8995 #include "confdefs.h"
8995 8996
8996 #include <sys/types.h> 8997 #include <sys/types.h>
8997 #include <sys/socket.h> 8998 #include <sys/socket.h>
8998 #include <sys/un.h> 8999 #include <sys/un.h>
8999 9000
9000 int main() { 9001 int main() {
9001 static struct sockaddr_un x; x.sun_len = 1; 9002 static struct sockaddr_un x; x.sun_len = 1;
9002 ; return 0; } 9003 ; return 0; }
9003 EOF 9004 EOF
9004 if { (eval echo configure:9005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9005 if { (eval echo configure:9006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9005 rm -rf conftest* 9006 rm -rf conftest*
9006 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 9007 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
9007 Defining HAVE_SOCKADDR_SUN_LEN 9008 Defining HAVE_SOCKADDR_SUN_LEN
9008 EOF 9009 EOF
9009 cat >> confdefs.h <<\EOF 9010 cat >> confdefs.h <<\EOF
9017 rm -rf conftest* 9018 rm -rf conftest*
9018 echo "$ac_t""no" 1>&6 9019 echo "$ac_t""no" 1>&6
9019 fi 9020 fi
9020 rm -f conftest* 9021 rm -f conftest*
9021 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 9022 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
9022 echo "configure:9023: checking "for ip_mreq struct in netinet/in.h"" >&5 9023 echo "configure:9024: checking "for ip_mreq struct in netinet/in.h"" >&5
9023 cat > conftest.$ac_ext <<EOF 9024 cat > conftest.$ac_ext <<EOF
9024 #line 9025 "configure" 9025 #line 9026 "configure"
9025 #include "confdefs.h" 9026 #include "confdefs.h"
9026 9027
9027 #include <netinet/in.h> 9028 #include <netinet/in.h>
9028 9029
9029 int main() { 9030 int main() {
9030 static struct ip_mreq x; 9031 static struct ip_mreq x;
9031 ; return 0; } 9032 ; return 0; }
9032 EOF 9033 EOF
9033 if { (eval echo configure:9034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9034 if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9034 rm -rf conftest* 9035 rm -rf conftest*
9035 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 9036 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
9036 Defining HAVE_MULTICAST 9037 Defining HAVE_MULTICAST
9037 EOF 9038 EOF
9038 cat >> confdefs.h <<\EOF 9039 cat >> confdefs.h <<\EOF
9059 echo "$ac_t""no" 1>&6 9060 echo "$ac_t""no" 1>&6
9060 fi 9061 fi
9061 9062
9062 9063
9063 echo $ac_n "checking for msgget""... $ac_c" 1>&6 9064 echo $ac_n "checking for msgget""... $ac_c" 1>&6
9064 echo "configure:9065: checking for msgget" >&5 9065 echo "configure:9066: checking for msgget" >&5
9065 9066
9066 cat > conftest.$ac_ext <<EOF 9067 cat > conftest.$ac_ext <<EOF
9067 #line 9068 "configure" 9068 #line 9069 "configure"
9068 #include "confdefs.h" 9069 #include "confdefs.h"
9069 /* System header to define __stub macros and hopefully few prototypes, 9070 /* System header to define __stub macros and hopefully few prototypes,
9070 which can conflict with char msgget(); below. */ 9071 which can conflict with char msgget(); below. */
9071 #include <assert.h> 9072 #include <assert.h>
9072 /* Override any gcc2 internal prototype to avoid an error. */ 9073 /* Override any gcc2 internal prototype to avoid an error. */
9085 msgget(); 9086 msgget();
9086 #endif 9087 #endif
9087 9088
9088 ; return 0; } 9089 ; return 0; }
9089 EOF 9090 EOF
9090 if { (eval echo configure:9091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9091 if { (eval echo configure:9092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9091 rm -rf conftest* 9092 rm -rf conftest*
9092 eval "ac_cv_func_msgget=yes" 9093 eval "ac_cv_func_msgget=yes"
9093 else 9094 else
9094 echo "configure: failed program was:" >&5 9095 echo "configure: failed program was:" >&5
9095 cat conftest.$ac_ext >&5 9096 cat conftest.$ac_ext >&5
9100 9101
9101 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 9102 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
9102 echo "$ac_t""yes" 1>&6 9103 echo "$ac_t""yes" 1>&6
9103 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 9104 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
9104 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 9105 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
9105 echo "configure:9106: checking for sys/ipc.h" >&5 9106 echo "configure:9107: checking for sys/ipc.h" >&5
9106 9107
9107 cat > conftest.$ac_ext <<EOF 9108 cat > conftest.$ac_ext <<EOF
9108 #line 9109 "configure" 9109 #line 9110 "configure"
9109 #include "confdefs.h" 9110 #include "confdefs.h"
9110 #include <sys/ipc.h> 9111 #include <sys/ipc.h>
9111 EOF 9112 EOF
9112 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9113 { (eval echo configure:9114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9114 { (eval echo configure:9115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9114 ac_err=`grep -v '^ *+' conftest.out` 9115 ac_err=`grep -v '^ *+' conftest.out`
9115 if test -z "$ac_err"; then 9116 if test -z "$ac_err"; then
9116 rm -rf conftest* 9117 rm -rf conftest*
9117 eval "ac_cv_header_$ac_safe=yes" 9118 eval "ac_cv_header_$ac_safe=yes"
9118 else 9119 else
9125 rm -f conftest* 9126 rm -f conftest*
9126 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9127 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9127 echo "$ac_t""yes" 1>&6 9128 echo "$ac_t""yes" 1>&6
9128 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 9129 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
9129 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 9130 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
9130 echo "configure:9131: checking for sys/msg.h" >&5 9131 echo "configure:9132: checking for sys/msg.h" >&5
9131 9132
9132 cat > conftest.$ac_ext <<EOF 9133 cat > conftest.$ac_ext <<EOF
9133 #line 9134 "configure" 9134 #line 9135 "configure"
9134 #include "confdefs.h" 9135 #include "confdefs.h"
9135 #include <sys/msg.h> 9136 #include <sys/msg.h>
9136 EOF 9137 EOF
9137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9138 { (eval echo configure:9139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9139 { (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9139 ac_err=`grep -v '^ *+' conftest.out` 9140 ac_err=`grep -v '^ *+' conftest.out`
9140 if test -z "$ac_err"; then 9141 if test -z "$ac_err"; then
9141 rm -rf conftest* 9142 rm -rf conftest*
9142 eval "ac_cv_header_$ac_safe=yes" 9143 eval "ac_cv_header_$ac_safe=yes"
9143 else 9144 else
9171 fi 9172 fi
9172 9173
9173 9174
9174 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 9175 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
9175 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 9176 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
9176 echo "configure:9177: checking for dirent.h" >&5 9177 echo "configure:9178: checking for dirent.h" >&5
9177 9178
9178 cat > conftest.$ac_ext <<EOF 9179 cat > conftest.$ac_ext <<EOF
9179 #line 9180 "configure" 9180 #line 9181 "configure"
9180 #include "confdefs.h" 9181 #include "confdefs.h"
9181 #include <dirent.h> 9182 #include <dirent.h>
9182 EOF 9183 EOF
9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9185 { (eval echo configure:9186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9185 ac_err=`grep -v '^ *+' conftest.out` 9186 ac_err=`grep -v '^ *+' conftest.out`
9186 if test -z "$ac_err"; then 9187 if test -z "$ac_err"; then
9187 rm -rf conftest* 9188 rm -rf conftest*
9188 eval "ac_cv_header_$ac_safe=yes" 9189 eval "ac_cv_header_$ac_safe=yes"
9189 else 9190 else
9206 9207
9207 else 9208 else
9208 echo "$ac_t""no" 1>&6 9209 echo "$ac_t""no" 1>&6
9209 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 9210 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
9210 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 9211 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
9211 echo "configure:9212: checking for sys/dir.h" >&5 9212 echo "configure:9213: checking for sys/dir.h" >&5
9212 9213
9213 cat > conftest.$ac_ext <<EOF 9214 cat > conftest.$ac_ext <<EOF
9214 #line 9215 "configure" 9215 #line 9216 "configure"
9215 #include "confdefs.h" 9216 #include "confdefs.h"
9216 #include <sys/dir.h> 9217 #include <sys/dir.h>
9217 EOF 9218 EOF
9218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9219 { (eval echo configure:9220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9220 { (eval echo configure:9221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9220 ac_err=`grep -v '^ *+' conftest.out` 9221 ac_err=`grep -v '^ *+' conftest.out`
9221 if test -z "$ac_err"; then 9222 if test -z "$ac_err"; then
9222 rm -rf conftest* 9223 rm -rf conftest*
9223 eval "ac_cv_header_$ac_safe=yes" 9224 eval "ac_cv_header_$ac_safe=yes"
9224 else 9225 else
9247 fi 9248 fi
9248 9249
9249 9250
9250 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 9251 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
9251 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 9252 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
9252 echo "configure:9253: checking for nlist.h" >&5 9253 echo "configure:9254: checking for nlist.h" >&5
9253 9254
9254 cat > conftest.$ac_ext <<EOF 9255 cat > conftest.$ac_ext <<EOF
9255 #line 9256 "configure" 9256 #line 9257 "configure"
9256 #include "confdefs.h" 9257 #include "confdefs.h"
9257 #include <nlist.h> 9258 #include <nlist.h>
9258 EOF 9259 EOF
9259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9260 { (eval echo configure:9261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9261 { (eval echo configure:9262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9261 ac_err=`grep -v '^ *+' conftest.out` 9262 ac_err=`grep -v '^ *+' conftest.out`
9262 if test -z "$ac_err"; then 9263 if test -z "$ac_err"; then
9263 rm -rf conftest* 9264 rm -rf conftest*
9264 eval "ac_cv_header_$ac_safe=yes" 9265 eval "ac_cv_header_$ac_safe=yes"
9265 else 9266 else
9285 fi 9286 fi
9286 9287
9287 9288
9288 9289
9289 echo "checking "for sound support"" 1>&6 9290 echo "checking "for sound support"" 1>&6
9290 echo "configure:9291: checking "for sound support"" >&5 9291 echo "configure:9292: checking "for sound support"" >&5
9291 case "$with_sound" in 9292 case "$with_sound" in
9292 native | both ) with_native_sound=yes;; 9293 native | both ) with_native_sound=yes;;
9293 nas | no ) with_native_sound=no;; 9294 nas | no ) with_native_sound=no;;
9294 esac 9295 esac
9295 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 9296 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
9296 9297
9297 if test "$with_native_sound" != "no"; then 9298 if test "$with_native_sound" != "no"; then
9298 if test -n "$native_sound_lib"; then 9299 if test -n "$native_sound_lib"; then
9299 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 9300 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
9300 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 9301 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
9301 echo "configure:9302: checking for multimedia/audio_device.h" >&5 9302 echo "configure:9303: checking for multimedia/audio_device.h" >&5
9302 9303
9303 cat > conftest.$ac_ext <<EOF 9304 cat > conftest.$ac_ext <<EOF
9304 #line 9305 "configure" 9305 #line 9306 "configure"
9305 #include "confdefs.h" 9306 #include "confdefs.h"
9306 #include <multimedia/audio_device.h> 9307 #include <multimedia/audio_device.h>
9307 EOF 9308 EOF
9308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9309 { (eval echo configure:9310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9310 { (eval echo configure:9311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9310 ac_err=`grep -v '^ *+' conftest.out` 9311 ac_err=`grep -v '^ *+' conftest.out`
9311 if test -z "$ac_err"; then 9312 if test -z "$ac_err"; then
9312 rm -rf conftest* 9313 rm -rf conftest*
9313 eval "ac_cv_header_$ac_safe=yes" 9314 eval "ac_cv_header_$ac_safe=yes"
9314 else 9315 else
9352 case "$canonical" in 9353 case "$canonical" in
9353 *-sgi-* ) 9354 *-sgi-* )
9354 if test -z "$native_sound_lib"; then 9355 if test -z "$native_sound_lib"; then
9355 9356
9356 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 9357 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
9357 echo "configure:9358: checking for ALopenport in -laudio" >&5 9358 echo "configure:9359: checking for ALopenport in -laudio" >&5
9358 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 9359 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
9359 9360
9360 xe_check_libs=" -laudio " 9361 xe_check_libs=" -laudio "
9361 cat > conftest.$ac_ext <<EOF 9362 cat > conftest.$ac_ext <<EOF
9362 #line 9363 "configure" 9363 #line 9364 "configure"
9363 #include "confdefs.h" 9364 #include "confdefs.h"
9364 /* Override any gcc2 internal prototype to avoid an error. */ 9365 /* Override any gcc2 internal prototype to avoid an error. */
9365 /* We use char because int might match the return type of a gcc2 9366 /* We use char because int might match the return type of a gcc2
9366 builtin and then its argument prototype would still apply. */ 9367 builtin and then its argument prototype would still apply. */
9367 char ALopenport(); 9368 char ALopenport();
9368 9369
9369 int main() { 9370 int main() {
9370 ALopenport() 9371 ALopenport()
9371 ; return 0; } 9372 ; return 0; }
9372 EOF 9373 EOF
9373 if { (eval echo configure:9374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9374 if { (eval echo configure:9375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9374 rm -rf conftest* 9375 rm -rf conftest*
9375 eval "ac_cv_lib_$ac_lib_var=yes" 9376 eval "ac_cv_lib_$ac_lib_var=yes"
9376 else 9377 else
9377 echo "configure: failed program was:" >&5 9378 echo "configure: failed program was:" >&5
9378 cat conftest.$ac_ext >&5 9379 cat conftest.$ac_ext >&5
9399 fi ;; 9400 fi ;;
9400 hppa*-hp-hpux* ) 9401 hppa*-hp-hpux* )
9401 if test -z "$native_sound_lib"; then 9402 if test -z "$native_sound_lib"; then
9402 9403
9403 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 9404 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
9404 echo "configure:9405: checking for AOpenAudio in -lAlib" >&5 9405 echo "configure:9406: checking for AOpenAudio in -lAlib" >&5
9405 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 9406 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
9406 9407
9407 xe_check_libs=" -lAlib " 9408 xe_check_libs=" -lAlib "
9408 cat > conftest.$ac_ext <<EOF 9409 cat > conftest.$ac_ext <<EOF
9409 #line 9410 "configure" 9410 #line 9411 "configure"
9410 #include "confdefs.h" 9411 #include "confdefs.h"
9411 /* Override any gcc2 internal prototype to avoid an error. */ 9412 /* Override any gcc2 internal prototype to avoid an error. */
9412 /* We use char because int might match the return type of a gcc2 9413 /* We use char because int might match the return type of a gcc2
9413 builtin and then its argument prototype would still apply. */ 9414 builtin and then its argument prototype would still apply. */
9414 char AOpenAudio(); 9415 char AOpenAudio();
9415 9416
9416 int main() { 9417 int main() {
9417 AOpenAudio() 9418 AOpenAudio()
9418 ; return 0; } 9419 ; return 0; }
9419 EOF 9420 EOF
9420 if { (eval echo configure:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9421 if { (eval echo configure:9422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9421 rm -rf conftest* 9422 rm -rf conftest*
9422 eval "ac_cv_lib_$ac_lib_var=yes" 9423 eval "ac_cv_lib_$ac_lib_var=yes"
9423 else 9424 else
9424 echo "configure: failed program was:" >&5 9425 echo "configure: failed program was:" >&5
9425 cat conftest.$ac_ext >&5 9426 cat conftest.$ac_ext >&5
9453 9454
9454 if test -z "$sound_found"; then 9455 if test -z "$sound_found"; then
9455 for dir in "machine" "sys" "linux"; do 9456 for dir in "machine" "sys" "linux"; do
9456 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 9457 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
9457 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 9458 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
9458 echo "configure:9459: checking for ${dir}/soundcard.h" >&5 9459 echo "configure:9460: checking for ${dir}/soundcard.h" >&5
9459 9460
9460 cat > conftest.$ac_ext <<EOF 9461 cat > conftest.$ac_ext <<EOF
9461 #line 9462 "configure" 9462 #line 9463 "configure"
9462 #include "confdefs.h" 9463 #include "confdefs.h"
9463 #include <${dir}/soundcard.h> 9464 #include <${dir}/soundcard.h>
9464 EOF 9465 EOF
9465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9466 { (eval echo configure:9467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9467 { (eval echo configure:9468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9467 ac_err=`grep -v '^ *+' conftest.out` 9468 ac_err=`grep -v '^ *+' conftest.out`
9468 if test -z "$ac_err"; then 9469 if test -z "$ac_err"; then
9469 rm -rf conftest* 9470 rm -rf conftest*
9470 eval "ac_cv_header_$ac_safe=yes" 9471 eval "ac_cv_header_$ac_safe=yes"
9471 else 9472 else
9531 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 9532 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
9532 echo " xemacs will be linked with \"nas.o\"" 9533 echo " xemacs will be linked with \"nas.o\""
9533 fi 9534 fi
9534 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 9535 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
9535 cat > conftest.$ac_ext <<EOF 9536 cat > conftest.$ac_ext <<EOF
9536 #line 9537 "configure" 9537 #line 9538 "configure"
9537 #include "confdefs.h" 9538 #include "confdefs.h"
9538 #include <audio/Xtutil.h> 9539 #include <audio/Xtutil.h>
9539 EOF 9540 EOF
9540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9541 egrep "AuXtErrorJump" >/dev/null 2>&1; then 9542 egrep "AuXtErrorJump" >/dev/null 2>&1; then
9558 9559
9559 test -z "$with_tty" && with_tty=yes 9560 test -z "$with_tty" && with_tty=yes
9560 9561
9561 if test "$with_tty" = "yes" ; then 9562 if test "$with_tty" = "yes" ; then
9562 echo "checking for TTY-related features" 1>&6 9563 echo "checking for TTY-related features" 1>&6
9563 echo "configure:9564: checking for TTY-related features" >&5 9564 echo "configure:9565: checking for TTY-related features" >&5
9564 { test "$extra_verbose" = "yes" && cat << \EOF 9565 { test "$extra_verbose" = "yes" && cat << \EOF
9565 Defining HAVE_TTY 9566 Defining HAVE_TTY
9566 EOF 9567 EOF
9567 cat >> confdefs.h <<\EOF 9568 cat >> confdefs.h <<\EOF
9568 #define HAVE_TTY 1 9569 #define HAVE_TTY 1
9574 fi 9575 fi
9575 9576
9576 if test -z "$with_ncurses"; then 9577 if test -z "$with_ncurses"; then
9577 9578
9578 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 9579 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
9579 echo "configure:9580: checking for tgetent in -lncurses" >&5 9580 echo "configure:9581: checking for tgetent in -lncurses" >&5
9580 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 9581 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
9581 9582
9582 xe_check_libs=" -lncurses " 9583 xe_check_libs=" -lncurses "
9583 cat > conftest.$ac_ext <<EOF 9584 cat > conftest.$ac_ext <<EOF
9584 #line 9585 "configure" 9585 #line 9586 "configure"
9585 #include "confdefs.h" 9586 #include "confdefs.h"
9586 /* Override any gcc2 internal prototype to avoid an error. */ 9587 /* Override any gcc2 internal prototype to avoid an error. */
9587 /* We use char because int might match the return type of a gcc2 9588 /* We use char because int might match the return type of a gcc2
9588 builtin and then its argument prototype would still apply. */ 9589 builtin and then its argument prototype would still apply. */
9589 char tgetent(); 9590 char tgetent();
9590 9591
9591 int main() { 9592 int main() {
9592 tgetent() 9593 tgetent()
9593 ; return 0; } 9594 ; return 0; }
9594 EOF 9595 EOF
9595 if { (eval echo configure:9596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9596 if { (eval echo configure:9597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9596 rm -rf conftest* 9597 rm -rf conftest*
9597 eval "ac_cv_lib_$ac_lib_var=yes" 9598 eval "ac_cv_lib_$ac_lib_var=yes"
9598 else 9599 else
9599 echo "configure: failed program was:" >&5 9600 echo "configure: failed program was:" >&5
9600 cat conftest.$ac_ext >&5 9601 cat conftest.$ac_ext >&5
9623 EOF 9624 EOF
9624 } 9625 }
9625 9626
9626 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 9627 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
9627 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 9628 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
9628 echo "configure:9629: checking for ncurses/curses.h" >&5 9629 echo "configure:9630: checking for ncurses/curses.h" >&5
9629 9630
9630 cat > conftest.$ac_ext <<EOF 9631 cat > conftest.$ac_ext <<EOF
9631 #line 9632 "configure" 9632 #line 9633 "configure"
9632 #include "confdefs.h" 9633 #include "confdefs.h"
9633 #include <ncurses/curses.h> 9634 #include <ncurses/curses.h>
9634 EOF 9635 EOF
9635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9636 { (eval echo configure:9637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9637 { (eval echo configure:9638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9637 ac_err=`grep -v '^ *+' conftest.out` 9638 ac_err=`grep -v '^ *+' conftest.out`
9638 if test -z "$ac_err"; then 9639 if test -z "$ac_err"; then
9639 rm -rf conftest* 9640 rm -rf conftest*
9640 eval "ac_cv_header_$ac_safe=yes" 9641 eval "ac_cv_header_$ac_safe=yes"
9641 else 9642 else
9653 echo "$ac_t""no" 1>&6 9654 echo "$ac_t""no" 1>&6
9654 fi 9655 fi
9655 9656
9656 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 9657 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
9657 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 9658 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
9658 echo "configure:9659: checking for ncurses/term.h" >&5 9659 echo "configure:9660: checking for ncurses/term.h" >&5
9659 9660
9660 cat > conftest.$ac_ext <<EOF 9661 cat > conftest.$ac_ext <<EOF
9661 #line 9662 "configure" 9662 #line 9663 "configure"
9662 #include "confdefs.h" 9663 #include "confdefs.h"
9663 #include <ncurses/term.h> 9664 #include <ncurses/term.h>
9664 EOF 9665 EOF
9665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9666 { (eval echo configure:9667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9667 { (eval echo configure:9668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9667 ac_err=`grep -v '^ *+' conftest.out` 9668 ac_err=`grep -v '^ *+' conftest.out`
9668 if test -z "$ac_err"; then 9669 if test -z "$ac_err"; then
9669 rm -rf conftest* 9670 rm -rf conftest*
9670 eval "ac_cv_header_$ac_safe=yes" 9671 eval "ac_cv_header_$ac_safe=yes"
9671 else 9672 else
9691 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 9692 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
9692 save_c_switch_site="$c_switch_site" 9693 save_c_switch_site="$c_switch_site"
9693 c_switch_site="$c_switch_site -I/usr/include/ncurses" 9694 c_switch_site="$c_switch_site -I/usr/include/ncurses"
9694 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 9695 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
9695 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 9696 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
9696 echo "configure:9697: checking for ncurses/curses.h" >&5 9697 echo "configure:9698: checking for ncurses/curses.h" >&5
9697 9698
9698 cat > conftest.$ac_ext <<EOF 9699 cat > conftest.$ac_ext <<EOF
9699 #line 9700 "configure" 9700 #line 9701 "configure"
9700 #include "confdefs.h" 9701 #include "confdefs.h"
9701 #include <ncurses/curses.h> 9702 #include <ncurses/curses.h>
9702 EOF 9703 EOF
9703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9704 { (eval echo configure:9705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9705 { (eval echo configure:9706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9705 ac_err=`grep -v '^ *+' conftest.out` 9706 ac_err=`grep -v '^ *+' conftest.out`
9706 if test -z "$ac_err"; then 9707 if test -z "$ac_err"; then
9707 rm -rf conftest* 9708 rm -rf conftest*
9708 eval "ac_cv_header_$ac_safe=yes" 9709 eval "ac_cv_header_$ac_safe=yes"
9709 else 9710 else
9734 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 9735 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
9735 else 9736 else
9736 for lib in curses termlib termcap; do 9737 for lib in curses termlib termcap; do
9737 9738
9738 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 9739 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
9739 echo "configure:9740: checking for tgetent in -l$lib" >&5 9740 echo "configure:9741: checking for tgetent in -l$lib" >&5
9740 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 9741 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
9741 9742
9742 xe_check_libs=" -l$lib " 9743 xe_check_libs=" -l$lib "
9743 cat > conftest.$ac_ext <<EOF 9744 cat > conftest.$ac_ext <<EOF
9744 #line 9745 "configure" 9745 #line 9746 "configure"
9745 #include "confdefs.h" 9746 #include "confdefs.h"
9746 /* Override any gcc2 internal prototype to avoid an error. */ 9747 /* Override any gcc2 internal prototype to avoid an error. */
9747 /* We use char because int might match the return type of a gcc2 9748 /* We use char because int might match the return type of a gcc2
9748 builtin and then its argument prototype would still apply. */ 9749 builtin and then its argument prototype would still apply. */
9749 char tgetent(); 9750 char tgetent();
9750 9751
9751 int main() { 9752 int main() {
9752 tgetent() 9753 tgetent()
9753 ; return 0; } 9754 ; return 0; }
9754 EOF 9755 EOF
9755 if { (eval echo configure:9756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9756 if { (eval echo configure:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9756 rm -rf conftest* 9757 rm -rf conftest*
9757 eval "ac_cv_lib_$ac_lib_var=yes" 9758 eval "ac_cv_lib_$ac_lib_var=yes"
9758 else 9759 else
9759 echo "configure: failed program was:" >&5 9760 echo "configure: failed program was:" >&5
9760 cat conftest.$ac_ext >&5 9761 cat conftest.$ac_ext >&5
9781 if test -n "$libs_termcap"; then 9782 if test -n "$libs_termcap"; then
9782 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 9783 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
9783 else 9784 else
9784 9785
9785 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 9786 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
9786 echo "configure:9787: checking for tgetent in -lcurses" >&5 9787 echo "configure:9788: checking for tgetent in -lcurses" >&5
9787 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 9788 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
9788 9789
9789 xe_check_libs=" -lcurses " 9790 xe_check_libs=" -lcurses "
9790 cat > conftest.$ac_ext <<EOF 9791 cat > conftest.$ac_ext <<EOF
9791 #line 9792 "configure" 9792 #line 9793 "configure"
9792 #include "confdefs.h" 9793 #include "confdefs.h"
9793 /* Override any gcc2 internal prototype to avoid an error. */ 9794 /* Override any gcc2 internal prototype to avoid an error. */
9794 /* We use char because int might match the return type of a gcc2 9795 /* We use char because int might match the return type of a gcc2
9795 builtin and then its argument prototype would still apply. */ 9796 builtin and then its argument prototype would still apply. */
9796 char tgetent(); 9797 char tgetent();
9797 9798
9798 int main() { 9799 int main() {
9799 tgetent() 9800 tgetent()
9800 ; return 0; } 9801 ; return 0; }
9801 EOF 9802 EOF
9802 if { (eval echo configure:9803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9803 if { (eval echo configure:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9803 rm -rf conftest* 9804 rm -rf conftest*
9804 eval "ac_cv_lib_$ac_lib_var=yes" 9805 eval "ac_cv_lib_$ac_lib_var=yes"
9805 else 9806 else
9806 echo "configure: failed program was:" >&5 9807 echo "configure: failed program was:" >&5
9807 cat conftest.$ac_ext >&5 9808 cat conftest.$ac_ext >&5
9815 echo "$ac_t""yes" 1>&6 9816 echo "$ac_t""yes" 1>&6
9816 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 9817 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
9817 else 9818 else
9818 echo "$ac_t""no" 1>&6 9819 echo "$ac_t""no" 1>&6
9819 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 9820 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
9820 echo "configure:9821: checking for tgetent in -ltermcap" >&5 9821 echo "configure:9822: checking for tgetent in -ltermcap" >&5
9821 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 9822 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
9822 9823
9823 xe_check_libs=" -ltermcap " 9824 xe_check_libs=" -ltermcap "
9824 cat > conftest.$ac_ext <<EOF 9825 cat > conftest.$ac_ext <<EOF
9825 #line 9826 "configure" 9826 #line 9827 "configure"
9826 #include "confdefs.h" 9827 #include "confdefs.h"
9827 /* Override any gcc2 internal prototype to avoid an error. */ 9828 /* Override any gcc2 internal prototype to avoid an error. */
9828 /* We use char because int might match the return type of a gcc2 9829 /* We use char because int might match the return type of a gcc2
9829 builtin and then its argument prototype would still apply. */ 9830 builtin and then its argument prototype would still apply. */
9830 char tgetent(); 9831 char tgetent();
9831 9832
9832 int main() { 9833 int main() {
9833 tgetent() 9834 tgetent()
9834 ; return 0; } 9835 ; return 0; }
9835 EOF 9836 EOF
9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9837 if { (eval echo configure:9838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9837 rm -rf conftest* 9838 rm -rf conftest*
9838 eval "ac_cv_lib_$ac_lib_var=yes" 9839 eval "ac_cv_lib_$ac_lib_var=yes"
9839 else 9840 else
9840 echo "configure: failed program was:" >&5 9841 echo "configure: failed program was:" >&5
9841 cat conftest.$ac_ext >&5 9842 cat conftest.$ac_ext >&5
9879 } 9880 }
9880 9881
9881 9882
9882 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 9883 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
9883 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 9884 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
9884 echo "configure:9885: checking for gpm.h" >&5 9885 echo "configure:9886: checking for gpm.h" >&5
9885 9886
9886 cat > conftest.$ac_ext <<EOF 9887 cat > conftest.$ac_ext <<EOF
9887 #line 9888 "configure" 9888 #line 9889 "configure"
9888 #include "confdefs.h" 9889 #include "confdefs.h"
9889 #include <gpm.h> 9890 #include <gpm.h>
9890 EOF 9891 EOF
9891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9892 { (eval echo configure:9893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9893 { (eval echo configure:9894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9893 ac_err=`grep -v '^ *+' conftest.out` 9894 ac_err=`grep -v '^ *+' conftest.out`
9894 if test -z "$ac_err"; then 9895 if test -z "$ac_err"; then
9895 rm -rf conftest* 9896 rm -rf conftest*
9896 eval "ac_cv_header_$ac_safe=yes" 9897 eval "ac_cv_header_$ac_safe=yes"
9897 else 9898 else
9910 with_gpm=no 9911 with_gpm=no
9911 fi 9912 fi
9912 } 9913 }
9913 test -z "$with_gpm" && { 9914 test -z "$with_gpm" && {
9914 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 9915 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
9915 echo "configure:9916: checking for Gpm_Open in -lgpm" >&5 9916 echo "configure:9917: checking for Gpm_Open in -lgpm" >&5
9916 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 9917 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
9917 9918
9918 xe_check_libs=" -lgpm " 9919 xe_check_libs=" -lgpm "
9919 cat > conftest.$ac_ext <<EOF 9920 cat > conftest.$ac_ext <<EOF
9920 #line 9921 "configure" 9921 #line 9922 "configure"
9921 #include "confdefs.h" 9922 #include "confdefs.h"
9922 /* Override any gcc2 internal prototype to avoid an error. */ 9923 /* Override any gcc2 internal prototype to avoid an error. */
9923 /* We use char because int might match the return type of a gcc2 9924 /* We use char because int might match the return type of a gcc2
9924 builtin and then its argument prototype would still apply. */ 9925 builtin and then its argument prototype would still apply. */
9925 char Gpm_Open(); 9926 char Gpm_Open();
9926 9927
9927 int main() { 9928 int main() {
9928 Gpm_Open() 9929 Gpm_Open()
9929 ; return 0; } 9930 ; return 0; }
9930 EOF 9931 EOF
9931 if { (eval echo configure:9932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9932 if { (eval echo configure:9933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9932 rm -rf conftest* 9933 rm -rf conftest*
9933 eval "ac_cv_lib_$ac_lib_var=yes" 9934 eval "ac_cv_lib_$ac_lib_var=yes"
9934 else 9935 else
9935 echo "configure: failed program was:" >&5 9936 echo "configure: failed program was:" >&5
9936 cat conftest.$ac_ext >&5 9937 cat conftest.$ac_ext >&5
9975 echo " xemacs will be linked with \"event-unixoid.o\"" 9976 echo " xemacs will be linked with \"event-unixoid.o\""
9976 fi 9977 fi
9977 9978
9978 9979
9979 echo "checking for database support" 1>&6 9980 echo "checking for database support" 1>&6
9980 echo "configure:9981: checking for database support" >&5 9981 echo "configure:9982: checking for database support" >&5
9981 9982
9982 if test "$with_database_gnudbm" != "no"; then 9983 if test "$with_database_gnudbm" != "no"; then
9983 for ac_hdr in ndbm.h 9984 for ac_hdr in ndbm.h
9984 do 9985 do
9985 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9986 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9987 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9987 echo "configure:9988: checking for $ac_hdr" >&5 9988 echo "configure:9989: checking for $ac_hdr" >&5
9988 9989
9989 cat > conftest.$ac_ext <<EOF 9990 cat > conftest.$ac_ext <<EOF
9990 #line 9991 "configure" 9991 #line 9992 "configure"
9991 #include "confdefs.h" 9992 #include "confdefs.h"
9992 #include <$ac_hdr> 9993 #include <$ac_hdr>
9993 EOF 9994 EOF
9994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9995 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9995 { (eval echo configure:9996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9996 { (eval echo configure:9997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9996 ac_err=`grep -v '^ *+' conftest.out` 9997 ac_err=`grep -v '^ *+' conftest.out`
9997 if test -z "$ac_err"; then 9998 if test -z "$ac_err"; then
9998 rm -rf conftest* 9999 rm -rf conftest*
9999 eval "ac_cv_header_$ac_safe=yes" 10000 eval "ac_cv_header_$ac_safe=yes"
10000 else 10001 else
10022 done 10023 done
10023 10024
10024 if test "$have_ndbm_h" = "yes"; then 10025 if test "$have_ndbm_h" = "yes"; then
10025 10026
10026 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 10027 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
10027 echo "configure:10028: checking for dbm_open in -lgdbm" >&5 10028 echo "configure:10029: checking for dbm_open in -lgdbm" >&5
10028 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 10029 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
10029 10030
10030 xe_check_libs=" -lgdbm " 10031 xe_check_libs=" -lgdbm "
10031 cat > conftest.$ac_ext <<EOF 10032 cat > conftest.$ac_ext <<EOF
10032 #line 10033 "configure" 10033 #line 10034 "configure"
10033 #include "confdefs.h" 10034 #include "confdefs.h"
10034 /* Override any gcc2 internal prototype to avoid an error. */ 10035 /* Override any gcc2 internal prototype to avoid an error. */
10035 /* We use char because int might match the return type of a gcc2 10036 /* We use char because int might match the return type of a gcc2
10036 builtin and then its argument prototype would still apply. */ 10037 builtin and then its argument prototype would still apply. */
10037 char dbm_open(); 10038 char dbm_open();
10038 10039
10039 int main() { 10040 int main() {
10040 dbm_open() 10041 dbm_open()
10041 ; return 0; } 10042 ; return 0; }
10042 EOF 10043 EOF
10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10044 if { (eval echo configure:10045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10044 rm -rf conftest* 10045 rm -rf conftest*
10045 eval "ac_cv_lib_$ac_lib_var=yes" 10046 eval "ac_cv_lib_$ac_lib_var=yes"
10046 else 10047 else
10047 echo "configure: failed program was:" >&5 10048 echo "configure: failed program was:" >&5
10048 cat conftest.$ac_ext >&5 10049 cat conftest.$ac_ext >&5
10061 10062
10062 10063
10063 fi 10064 fi
10064 if test "$with_database_gnudbm" != "yes"; then 10065 if test "$with_database_gnudbm" != "yes"; then
10065 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 10066 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
10066 echo "configure:10067: checking for dbm_open" >&5 10067 echo "configure:10068: checking for dbm_open" >&5
10067 10068
10068 cat > conftest.$ac_ext <<EOF 10069 cat > conftest.$ac_ext <<EOF
10069 #line 10070 "configure" 10070 #line 10071 "configure"
10070 #include "confdefs.h" 10071 #include "confdefs.h"
10071 /* System header to define __stub macros and hopefully few prototypes, 10072 /* System header to define __stub macros and hopefully few prototypes,
10072 which can conflict with char dbm_open(); below. */ 10073 which can conflict with char dbm_open(); below. */
10073 #include <assert.h> 10074 #include <assert.h>
10074 /* Override any gcc2 internal prototype to avoid an error. */ 10075 /* Override any gcc2 internal prototype to avoid an error. */
10087 dbm_open(); 10088 dbm_open();
10088 #endif 10089 #endif
10089 10090
10090 ; return 0; } 10091 ; return 0; }
10091 EOF 10092 EOF
10092 if { (eval echo configure:10093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10093 if { (eval echo configure:10094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10093 rm -rf conftest* 10094 rm -rf conftest*
10094 eval "ac_cv_func_dbm_open=yes" 10095 eval "ac_cv_func_dbm_open=yes"
10095 else 10096 else
10096 echo "configure: failed program was:" >&5 10097 echo "configure: failed program was:" >&5
10097 cat conftest.$ac_ext >&5 10098 cat conftest.$ac_ext >&5
10123 fi 10124 fi
10124 fi 10125 fi
10125 10126
10126 if test "$with_database_dbm" != "no"; then 10127 if test "$with_database_dbm" != "no"; then
10127 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 10128 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
10128 echo "configure:10129: checking for dbm_open" >&5 10129 echo "configure:10130: checking for dbm_open" >&5
10129 10130
10130 cat > conftest.$ac_ext <<EOF 10131 cat > conftest.$ac_ext <<EOF
10131 #line 10132 "configure" 10132 #line 10133 "configure"
10132 #include "confdefs.h" 10133 #include "confdefs.h"
10133 /* System header to define __stub macros and hopefully few prototypes, 10134 /* System header to define __stub macros and hopefully few prototypes,
10134 which can conflict with char dbm_open(); below. */ 10135 which can conflict with char dbm_open(); below. */
10135 #include <assert.h> 10136 #include <assert.h>
10136 /* Override any gcc2 internal prototype to avoid an error. */ 10137 /* Override any gcc2 internal prototype to avoid an error. */
10149 dbm_open(); 10150 dbm_open();
10150 #endif 10151 #endif
10151 10152
10152 ; return 0; } 10153 ; return 0; }
10153 EOF 10154 EOF
10154 if { (eval echo configure:10155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10155 if { (eval echo configure:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10155 rm -rf conftest* 10156 rm -rf conftest*
10156 eval "ac_cv_func_dbm_open=yes" 10157 eval "ac_cv_func_dbm_open=yes"
10157 else 10158 else
10158 echo "configure: failed program was:" >&5 10159 echo "configure: failed program was:" >&5
10159 cat conftest.$ac_ext >&5 10160 cat conftest.$ac_ext >&5
10170 fi 10171 fi
10171 10172
10172 if test "$need_libdbm" != "no"; then 10173 if test "$need_libdbm" != "no"; then
10173 10174
10174 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 10175 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
10175 echo "configure:10176: checking for dbm_open in -ldbm" >&5 10176 echo "configure:10177: checking for dbm_open in -ldbm" >&5
10176 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 10177 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
10177 10178
10178 xe_check_libs=" -ldbm " 10179 xe_check_libs=" -ldbm "
10179 cat > conftest.$ac_ext <<EOF 10180 cat > conftest.$ac_ext <<EOF
10180 #line 10181 "configure" 10181 #line 10182 "configure"
10181 #include "confdefs.h" 10182 #include "confdefs.h"
10182 /* Override any gcc2 internal prototype to avoid an error. */ 10183 /* Override any gcc2 internal prototype to avoid an error. */
10183 /* We use char because int might match the return type of a gcc2 10184 /* We use char because int might match the return type of a gcc2
10184 builtin and then its argument prototype would still apply. */ 10185 builtin and then its argument prototype would still apply. */
10185 char dbm_open(); 10186 char dbm_open();
10186 10187
10187 int main() { 10188 int main() {
10188 dbm_open() 10189 dbm_open()
10189 ; return 0; } 10190 ; return 0; }
10190 EOF 10191 EOF
10191 if { (eval echo configure:10192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10192 if { (eval echo configure:10193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10192 rm -rf conftest* 10193 rm -rf conftest*
10193 eval "ac_cv_lib_$ac_lib_var=yes" 10194 eval "ac_cv_lib_$ac_lib_var=yes"
10194 else 10195 else
10195 echo "configure: failed program was:" >&5 10196 echo "configure: failed program was:" >&5
10196 cat conftest.$ac_ext >&5 10197 cat conftest.$ac_ext >&5
10223 fi 10224 fi
10224 fi 10225 fi
10225 10226
10226 if test "$with_database_berkdb" != "no"; then 10227 if test "$with_database_berkdb" != "no"; then
10227 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 10228 echo $ac_n "checking for dbopen""... $ac_c" 1>&6
10228 echo "configure:10229: checking for dbopen" >&5 10229 echo "configure:10230: checking for dbopen" >&5
10229 10230
10230 cat > conftest.$ac_ext <<EOF 10231 cat > conftest.$ac_ext <<EOF
10231 #line 10232 "configure" 10232 #line 10233 "configure"
10232 #include "confdefs.h" 10233 #include "confdefs.h"
10233 /* System header to define __stub macros and hopefully few prototypes, 10234 /* System header to define __stub macros and hopefully few prototypes,
10234 which can conflict with char dbopen(); below. */ 10235 which can conflict with char dbopen(); below. */
10235 #include <assert.h> 10236 #include <assert.h>
10236 /* Override any gcc2 internal prototype to avoid an error. */ 10237 /* Override any gcc2 internal prototype to avoid an error. */
10249 dbopen(); 10250 dbopen();
10250 #endif 10251 #endif
10251 10252
10252 ; return 0; } 10253 ; return 0; }
10253 EOF 10254 EOF
10254 if { (eval echo configure:10255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10255 if { (eval echo configure:10256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10255 rm -rf conftest* 10256 rm -rf conftest*
10256 eval "ac_cv_func_dbopen=yes" 10257 eval "ac_cv_func_dbopen=yes"
10257 else 10258 else
10258 echo "configure: failed program was:" >&5 10259 echo "configure: failed program was:" >&5
10259 cat conftest.$ac_ext >&5 10260 cat conftest.$ac_ext >&5
10270 fi 10271 fi
10271 10272
10272 if test "$need_libdb" != "no"; then 10273 if test "$need_libdb" != "no"; then
10273 10274
10274 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 10275 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
10275 echo "configure:10276: checking for dbopen in -ldb" >&5 10276 echo "configure:10277: checking for dbopen in -ldb" >&5
10276 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` 10277 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'`
10277 10278
10278 xe_check_libs=" -ldb " 10279 xe_check_libs=" -ldb "
10279 cat > conftest.$ac_ext <<EOF 10280 cat > conftest.$ac_ext <<EOF
10280 #line 10281 "configure" 10281 #line 10282 "configure"
10281 #include "confdefs.h" 10282 #include "confdefs.h"
10282 /* Override any gcc2 internal prototype to avoid an error. */ 10283 /* Override any gcc2 internal prototype to avoid an error. */
10283 /* We use char because int might match the return type of a gcc2 10284 /* We use char because int might match the return type of a gcc2
10284 builtin and then its argument prototype would still apply. */ 10285 builtin and then its argument prototype would still apply. */
10285 char dbopen(); 10286 char dbopen();
10286 10287
10287 int main() { 10288 int main() {
10288 dbopen() 10289 dbopen()
10289 ; return 0; } 10290 ; return 0; }
10290 EOF 10291 EOF
10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10292 if { (eval echo configure:10293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10292 rm -rf conftest* 10293 rm -rf conftest*
10293 eval "ac_cv_lib_$ac_lib_var=yes" 10294 eval "ac_cv_lib_$ac_lib_var=yes"
10294 else 10295 else
10295 echo "configure: failed program was:" >&5 10296 echo "configure: failed program was:" >&5
10296 cat conftest.$ac_ext >&5 10297 cat conftest.$ac_ext >&5
10310 10311
10311 fi 10312 fi
10312 if test "$with_database_berkdb" = "yes"; then 10313 if test "$with_database_berkdb" = "yes"; then
10313 for path in "db/db.h" "db.h"; do 10314 for path in "db/db.h" "db.h"; do
10314 cat > conftest.$ac_ext <<EOF 10315 cat > conftest.$ac_ext <<EOF
10315 #line 10316 "configure" 10316 #line 10317 "configure"
10316 #include "confdefs.h" 10317 #include "confdefs.h"
10317 #ifdef HAVE_INTTYPES_H 10318 #ifdef HAVE_INTTYPES_H
10318 #define __BIT_TYPES_DEFINED__ 10319 #define __BIT_TYPES_DEFINED__
10319 #include <inttypes.h> 10320 #include <inttypes.h>
10320 typedef uint8_t u_int8_t; 10321 typedef uint8_t u_int8_t;
10328 10329
10329 int main() { 10330 int main() {
10330 10331
10331 ; return 0; } 10332 ; return 0; }
10332 EOF 10333 EOF
10333 if { (eval echo configure:10334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 10334 if { (eval echo configure:10335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10334 rm -rf conftest* 10335 rm -rf conftest*
10335 db_h_path="$path"; break 10336 db_h_path="$path"; break
10336 else 10337 else
10337 echo "configure: failed program was:" >&5 10338 echo "configure: failed program was:" >&5
10338 cat conftest.$ac_ext >&5 10339 cat conftest.$ac_ext >&5
10380 fi 10381 fi
10381 10382
10382 if test "$with_socks" = "yes"; then 10383 if test "$with_socks" = "yes"; then
10383 10384
10384 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 10385 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
10385 echo "configure:10386: checking for SOCKSinit in -lsocks" >&5 10386 echo "configure:10387: checking for SOCKSinit in -lsocks" >&5
10386 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 10387 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
10387 10388
10388 xe_check_libs=" -lsocks " 10389 xe_check_libs=" -lsocks "
10389 cat > conftest.$ac_ext <<EOF 10390 cat > conftest.$ac_ext <<EOF
10390 #line 10391 "configure" 10391 #line 10392 "configure"
10391 #include "confdefs.h" 10392 #include "confdefs.h"
10392 /* Override any gcc2 internal prototype to avoid an error. */ 10393 /* Override any gcc2 internal prototype to avoid an error. */
10393 /* We use char because int might match the return type of a gcc2 10394 /* We use char because int might match the return type of a gcc2
10394 builtin and then its argument prototype would still apply. */ 10395 builtin and then its argument prototype would still apply. */
10395 char SOCKSinit(); 10396 char SOCKSinit();
10396 10397
10397 int main() { 10398 int main() {
10398 SOCKSinit() 10399 SOCKSinit()
10399 ; return 0; } 10400 ; return 0; }
10400 EOF 10401 EOF
10401 if { (eval echo configure:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10402 if { (eval echo configure:10403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10402 rm -rf conftest* 10403 rm -rf conftest*
10403 eval "ac_cv_lib_$ac_lib_var=yes" 10404 eval "ac_cv_lib_$ac_lib_var=yes"
10404 else 10405 else
10405 echo "configure: failed program was:" >&5 10406 echo "configure: failed program was:" >&5
10406 cat conftest.$ac_ext >&5 10407 cat conftest.$ac_ext >&5
10453 10454
10454 for ac_hdr in dlfcn.h 10455 for ac_hdr in dlfcn.h
10455 do 10456 do
10456 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10457 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10458 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10458 echo "configure:10459: checking for $ac_hdr" >&5 10459 echo "configure:10460: checking for $ac_hdr" >&5
10459 10460
10460 cat > conftest.$ac_ext <<EOF 10461 cat > conftest.$ac_ext <<EOF
10461 #line 10462 "configure" 10462 #line 10463 "configure"
10462 #include "confdefs.h" 10463 #include "confdefs.h"
10463 #include <$ac_hdr> 10464 #include <$ac_hdr>
10464 EOF 10465 EOF
10465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10466 { (eval echo configure:10467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10467 { (eval echo configure:10468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10467 ac_err=`grep -v '^ *+' conftest.out` 10468 ac_err=`grep -v '^ *+' conftest.out`
10468 if test -z "$ac_err"; then 10469 if test -z "$ac_err"; then
10469 rm -rf conftest* 10470 rm -rf conftest*
10470 eval "ac_cv_header_$ac_safe=yes" 10471 eval "ac_cv_header_$ac_safe=yes"
10471 else 10472 else
10492 fi 10493 fi
10493 done 10494 done
10494 10495
10495 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 10496 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
10496 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 10497 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
10497 echo "configure:10498: checking for dlopen in -ldl" >&5 10498 echo "configure:10499: checking for dlopen in -ldl" >&5
10498 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 10499 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
10499 10500
10500 xe_check_libs=" -ldl " 10501 xe_check_libs=" -ldl "
10501 cat > conftest.$ac_ext <<EOF 10502 cat > conftest.$ac_ext <<EOF
10502 #line 10503 "configure" 10503 #line 10504 "configure"
10503 #include "confdefs.h" 10504 #include "confdefs.h"
10504 /* Override any gcc2 internal prototype to avoid an error. */ 10505 /* Override any gcc2 internal prototype to avoid an error. */
10505 /* We use char because int might match the return type of a gcc2 10506 /* We use char because int might match the return type of a gcc2
10506 builtin and then its argument prototype would still apply. */ 10507 builtin and then its argument prototype would still apply. */
10507 char dlopen(); 10508 char dlopen();
10508 10509
10509 int main() { 10510 int main() {
10510 dlopen() 10511 dlopen()
10511 ; return 0; } 10512 ; return 0; }
10512 EOF 10513 EOF
10513 if { (eval echo configure:10514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10514 if { (eval echo configure:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10514 rm -rf conftest* 10515 rm -rf conftest*
10515 eval "ac_cv_lib_$ac_lib_var=yes" 10516 eval "ac_cv_lib_$ac_lib_var=yes"
10516 else 10517 else
10517 echo "configure: failed program was:" >&5 10518 echo "configure: failed program was:" >&5
10518 cat conftest.$ac_ext >&5 10519 cat conftest.$ac_ext >&5
10537 fi 10538 fi
10538 10539
10539 } 10540 }
10540 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 10541 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
10541 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 10542 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6
10542 echo "configure:10543: checking for _dlopen in -lc" >&5 10543 echo "configure:10544: checking for _dlopen in -lc" >&5
10543 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` 10544 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'`
10544 10545
10545 xe_check_libs=" -lc " 10546 xe_check_libs=" -lc "
10546 cat > conftest.$ac_ext <<EOF 10547 cat > conftest.$ac_ext <<EOF
10547 #line 10548 "configure" 10548 #line 10549 "configure"
10548 #include "confdefs.h" 10549 #include "confdefs.h"
10549 /* Override any gcc2 internal prototype to avoid an error. */ 10550 /* Override any gcc2 internal prototype to avoid an error. */
10550 /* We use char because int might match the return type of a gcc2 10551 /* We use char because int might match the return type of a gcc2
10551 builtin and then its argument prototype would still apply. */ 10552 builtin and then its argument prototype would still apply. */
10552 char _dlopen(); 10553 char _dlopen();
10553 10554
10554 int main() { 10555 int main() {
10555 _dlopen() 10556 _dlopen()
10556 ; return 0; } 10557 ; return 0; }
10557 EOF 10558 EOF
10558 if { (eval echo configure:10559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10559 if { (eval echo configure:10560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10559 rm -rf conftest* 10560 rm -rf conftest*
10560 eval "ac_cv_lib_$ac_lib_var=yes" 10561 eval "ac_cv_lib_$ac_lib_var=yes"
10561 else 10562 else
10562 echo "configure: failed program was:" >&5 10563 echo "configure: failed program was:" >&5
10563 cat conftest.$ac_ext >&5 10564 cat conftest.$ac_ext >&5
10582 fi 10583 fi
10583 10584
10584 } 10585 }
10585 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 10586 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
10586 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 10587 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
10587 echo "configure:10588: checking for dlopen in -lc" >&5 10588 echo "configure:10589: checking for dlopen in -lc" >&5
10588 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` 10589 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
10589 10590
10590 xe_check_libs=" -lc " 10591 xe_check_libs=" -lc "
10591 cat > conftest.$ac_ext <<EOF 10592 cat > conftest.$ac_ext <<EOF
10592 #line 10593 "configure" 10593 #line 10594 "configure"
10593 #include "confdefs.h" 10594 #include "confdefs.h"
10594 /* Override any gcc2 internal prototype to avoid an error. */ 10595 /* Override any gcc2 internal prototype to avoid an error. */
10595 /* We use char because int might match the return type of a gcc2 10596 /* We use char because int might match the return type of a gcc2
10596 builtin and then its argument prototype would still apply. */ 10597 builtin and then its argument prototype would still apply. */
10597 char dlopen(); 10598 char dlopen();
10598 10599
10599 int main() { 10600 int main() {
10600 dlopen() 10601 dlopen()
10601 ; return 0; } 10602 ; return 0; }
10602 EOF 10603 EOF
10603 if { (eval echo configure:10604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10604 if { (eval echo configure:10605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10604 rm -rf conftest* 10605 rm -rf conftest*
10605 eval "ac_cv_lib_$ac_lib_var=yes" 10606 eval "ac_cv_lib_$ac_lib_var=yes"
10606 else 10607 else
10607 echo "configure: failed program was:" >&5 10608 echo "configure: failed program was:" >&5
10608 cat conftest.$ac_ext >&5 10609 cat conftest.$ac_ext >&5
10627 fi 10628 fi
10628 10629
10629 } 10630 }
10630 test -z "$with_shlib" && { 10631 test -z "$with_shlib" && {
10631 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 10632 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
10632 echo "configure:10633: checking for shl_load in -ldld" >&5 10633 echo "configure:10634: checking for shl_load in -ldld" >&5
10633 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 10634 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
10634 10635
10635 xe_check_libs=" -ldld " 10636 xe_check_libs=" -ldld "
10636 cat > conftest.$ac_ext <<EOF 10637 cat > conftest.$ac_ext <<EOF
10637 #line 10638 "configure" 10638 #line 10639 "configure"
10638 #include "confdefs.h" 10639 #include "confdefs.h"
10639 /* Override any gcc2 internal prototype to avoid an error. */ 10640 /* Override any gcc2 internal prototype to avoid an error. */
10640 /* We use char because int might match the return type of a gcc2 10641 /* We use char because int might match the return type of a gcc2
10641 builtin and then its argument prototype would still apply. */ 10642 builtin and then its argument prototype would still apply. */
10642 char shl_load(); 10643 char shl_load();
10643 10644
10644 int main() { 10645 int main() {
10645 shl_load() 10646 shl_load()
10646 ; return 0; } 10647 ; return 0; }
10647 EOF 10648 EOF
10648 if { (eval echo configure:10649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10649 if { (eval echo configure:10650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10649 rm -rf conftest* 10650 rm -rf conftest*
10650 eval "ac_cv_lib_$ac_lib_var=yes" 10651 eval "ac_cv_lib_$ac_lib_var=yes"
10651 else 10652 else
10652 echo "configure: failed program was:" >&5 10653 echo "configure: failed program was:" >&5
10653 cat conftest.$ac_ext >&5 10654 cat conftest.$ac_ext >&5
10672 fi 10673 fi
10673 10674
10674 } 10675 }
10675 test -z "$with_shlib" && { 10676 test -z "$with_shlib" && {
10676 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 10677 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
10677 echo "configure:10678: checking for dld_init in -ldld" >&5 10678 echo "configure:10679: checking for dld_init in -ldld" >&5
10678 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 10679 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
10679 10680
10680 xe_check_libs=" -ldld " 10681 xe_check_libs=" -ldld "
10681 cat > conftest.$ac_ext <<EOF 10682 cat > conftest.$ac_ext <<EOF
10682 #line 10683 "configure" 10683 #line 10684 "configure"
10683 #include "confdefs.h" 10684 #include "confdefs.h"
10684 /* Override any gcc2 internal prototype to avoid an error. */ 10685 /* Override any gcc2 internal prototype to avoid an error. */
10685 /* We use char because int might match the return type of a gcc2 10686 /* We use char because int might match the return type of a gcc2
10686 builtin and then its argument prototype would still apply. */ 10687 builtin and then its argument prototype would still apply. */
10687 char dld_init(); 10688 char dld_init();
10688 10689
10689 int main() { 10690 int main() {
10690 dld_init() 10691 dld_init()
10691 ; return 0; } 10692 ; return 0; }
10692 EOF 10693 EOF
10693 if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10694 if { (eval echo configure:10695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10694 rm -rf conftest* 10695 rm -rf conftest*
10695 eval "ac_cv_lib_$ac_lib_var=yes" 10696 eval "ac_cv_lib_$ac_lib_var=yes"
10696 else 10697 else
10697 echo "configure: failed program was:" >&5 10698 echo "configure: failed program was:" >&5
10698 cat conftest.$ac_ext >&5 10699 cat conftest.$ac_ext >&5
10738 dll_lflags="-shared" 10739 dll_lflags="-shared"
10739 dll_cflags="-r" 10740 dll_cflags="-r"
10740 dll_oflags="-o " 10741 dll_oflags="-o "
10741 10742
10742 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 10743 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6
10743 echo "configure:10744: checking how to build a shared library" >&5 10744 echo "configure:10745: checking how to build a shared library" >&5
10744 case `uname -rs` in 10745 case `uname -rs` in
10745 UNIX_SV*|UNIX_System_V*) 10746 UNIX_SV*|UNIX_System_V*)
10746 dll_lflags="-G" 10747 dll_lflags="-G"
10747 dll_cflags=-Kpic 10748 dll_cflags=-Kpic
10748 dll_ld="ld" 10749 dll_ld="ld"
10957 for dir in $MAKE_SUBDIR; do echo "import $dir"; done 10958 for dir in $MAKE_SUBDIR; do echo "import $dir"; done
10958 ) > .sbinit 10959 ) > .sbinit
10959 fi 10960 fi
10960 10961
10961 rm -f core 10962 rm -f core
10962
10963 10963
10964 10964
10965 10965
10966 10966
10967 10967
11519 s%@srcdir@%$srcdir%g 11519 s%@srcdir@%$srcdir%g
11520 s%@pkgdir@%$pkgdir%g 11520 s%@pkgdir@%$pkgdir%g
11521 s%@statedir@%$statedir%g 11521 s%@statedir@%$statedir%g
11522 s%@infodir_user_defined@%$infodir_user_defined%g 11522 s%@infodir_user_defined@%$infodir_user_defined%g
11523 s%@infopath@%$infopath%g 11523 s%@infopath@%$infopath%g
11524 s%@infopath_user_defined@%$infopath_user_defined%g 11524 s%@package_path@%$package_path%g
11525 s%@packagepath@%$packagepath%g 11525 s%@package_path_user_defined@%$package_path_user_defined%g
11526 s%@packagepath_user_defined@%$packagepath_user_defined%g
11527 s%@lispdir@%$lispdir%g 11526 s%@lispdir@%$lispdir%g
11528 s%@lispdir_user_defined@%$lispdir_user_defined%g 11527 s%@lispdir_user_defined@%$lispdir_user_defined%g
11529 s%@sitelispdir@%$sitelispdir%g 11528 s%@sitelispdir@%$sitelispdir%g
11530 s%@sitelispdir_user_defined@%$sitelispdir_user_defined%g 11529 s%@sitelispdir_user_defined@%$sitelispdir_user_defined%g
11531 s%@etcdir@%$etcdir%g 11530 s%@etcdir@%$etcdir%g