Mercurial > hg > xemacs-beta
comparison configure @ 414:da8ed4261e83 r21-2-15
Import from CVS: tag r21-2-15
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:21:38 +0200 |
parents | 697ef44129c6 |
children | ebe98a74bd68 |
comparison
equal
deleted
inserted
replaced
413:901169e5ca31 | 414:da8ed4261e83 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 | 2 |
3 #### Configuration script for XEmacs. Largely divergent from FSF. | 3 #### Configuration script for XEmacs. Largely divergent from FSF. |
4 #### Guess values for system-dependent variables and create Makefiles. | 4 #### Guess values for system-dependent variables and create Makefiles. |
5 #### Generated automatically using autoconf version 2.12 | 5 #### Generated automatically using autoconf version 2.13 |
6 #### Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | 6 #### Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. | 7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. |
8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
9 #### Copyright (C) 1995, 1996 Ben Wing. | 9 #### Copyright (C) 1995, 1996 Ben Wing. |
10 #### Copyright (C) 1998, 1999 J. Kean Johnston. | 10 #### Copyright (C) 1998, 1999 J. Kean Johnston. |
197 ac_cpp='$CPP '"$xe_cppflags" | 197 ac_cpp='$CPP '"$xe_cppflags" |
198 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 198 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
199 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 199 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
200 cross_compiling=no | 200 cross_compiling=no |
201 | 201 |
202 ac_exeext= | |
203 ac_objext=o | |
202 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | 204 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
203 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | 205 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
204 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | 206 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
205 ac_n= ac_c=' | 207 ac_n= ac_c=' |
206 ' ac_t=' ' | 208 ' ac_t=' ' |
321 with_xface | \ | 323 with_xface | \ |
322 with_gif | \ | 324 with_gif | \ |
323 with_jpeg | \ | 325 with_jpeg | \ |
324 with_png | \ | 326 with_png | \ |
325 with_tiff | \ | 327 with_tiff | \ |
326 with_session | \ | 328 with_wmcommand | \ |
327 with_xmu | \ | 329 with_xmu | \ |
328 with_purify | \ | 330 with_purify | \ |
329 with_quantify | \ | 331 with_quantify | \ |
330 with_toolbars | \ | 332 with_toolbars | \ |
331 with_tty | \ | 333 with_tty | \ |
499 nogc ) error_check_gc=no ;; | 501 nogc ) error_check_gc=no ;; |
500 | 502 |
501 malloc ) error_check_malloc=yes ;; | 503 malloc ) error_check_malloc=yes ;; |
502 nomalloc ) error_check_malloc=no ;; | 504 nomalloc ) error_check_malloc=no ;; |
503 | 505 |
506 byte_code ) error_check_byte_code=yes ;; | |
507 nobyte_code ) error_check_byte_code=no ;; | |
508 | |
504 * ) bogus_error_check=yes ;; | 509 * ) bogus_error_check=yes ;; |
505 esac | 510 esac |
506 if test "$bogus_error_check" -o \ | 511 if test "$bogus_error_check" -o \ |
507 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then | 512 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then |
508 if test "$error_check_default" = yes ; then | 513 if test "$error_check_default" = yes ; then |
509 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', and \`nomalloc'." | 514 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', \`nomalloc', and \`nobyte-code'." |
510 else | 515 else |
511 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', and \`malloc'." | 516 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', \`malloc', and \`byte-code'." |
512 fi | 517 fi |
513 (echo "$progname: Usage error:" | 518 (echo "$progname: Usage error:" |
514 echo " " "Valid types for the \`--$optname' option are: | 519 echo " " "Valid types for the \`--$optname' option are: |
515 $types." | 520 $types." |
516 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 521 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
518 error_check_extents=$new_default | 523 error_check_extents=$new_default |
519 error_check_typecheck=$new_default | 524 error_check_typecheck=$new_default |
520 error_check_bufpos=$new_default | 525 error_check_bufpos=$new_default |
521 error_check_gc=$new_default | 526 error_check_gc=$new_default |
522 error_check_malloc=$new_default | 527 error_check_malloc=$new_default |
528 error_check_byte_code=$new_default | |
523 new_default= # reset this | 529 new_default= # reset this |
524 fi | 530 fi |
525 echeck_notfirst=true | 531 echeck_notfirst=true |
526 done | 532 done |
527 ;; | 533 ;; |
761 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 767 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
762 fi | 768 fi |
763 fi | 769 fi |
764 | 770 |
765 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 771 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
766 echo "configure:767: checking whether ln -s works" >&5 | 772 echo "configure:773: checking whether ln -s works" >&5 |
767 | 773 |
768 rm -f conftestdata | 774 rm -f conftestdata |
769 if ln -s X conftestdata 2>/dev/null | 775 if ln -s X conftestdata 2>/dev/null |
770 then | 776 then |
771 rm -f conftestdata | 777 rm -f conftestdata |
826 vpath %.s $(srcdir)\ | 832 vpath %.s $(srcdir)\ |
827 vpath %.in $(srcdir)' | 833 vpath %.in $(srcdir)' |
828 fi | 834 fi |
829 | 835 |
830 . "$srcdir/version.sh" || exit 1; | 836 . "$srcdir/version.sh" || exit 1; |
831 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi | 837 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi |
832 : "${extra_verbose=$beta}" | 838 : "${extra_verbose=$beta}" |
833 version="${emacs_major_version}.${emacs_minor_version}" | 839 version="${emacs_major_version}.${emacs_minor_version}" |
834 { test "$extra_verbose" = "yes" && cat << EOF | 840 { test "$extra_verbose" = "yes" && cat << EOF |
835 Defining EMACS_MAJOR_VERSION = $emacs_major_version | 841 Defining EMACS_MAJOR_VERSION = $emacs_major_version |
836 EOF | 842 EOF |
845 cat >> confdefs.h <<EOF | 851 cat >> confdefs.h <<EOF |
846 #define EMACS_MINOR_VERSION $emacs_minor_version | 852 #define EMACS_MINOR_VERSION $emacs_minor_version |
847 EOF | 853 EOF |
848 } | 854 } |
849 | 855 |
850 if test -n "$emacs_beta_version"; then | 856 if test -n "$emacs_beta_version" ; then |
851 version="${version}-b${emacs_beta_version}" | 857 if test "$beta" = "yes"; then |
852 { test "$extra_verbose" = "yes" && cat << EOF | 858 version="${version}-b${emacs_beta_version}" |
859 { test "$extra_verbose" = "yes" && cat << EOF | |
853 Defining EMACS_BETA_VERSION = $emacs_beta_version | 860 Defining EMACS_BETA_VERSION = $emacs_beta_version |
854 EOF | 861 EOF |
855 cat >> confdefs.h <<EOF | 862 cat >> confdefs.h <<EOF |
856 #define EMACS_BETA_VERSION $emacs_beta_version | 863 #define EMACS_BETA_VERSION $emacs_beta_version |
857 EOF | 864 EOF |
858 } | 865 } |
859 | 866 |
867 else | |
868 version="${version}.${emacs_beta_version}" | |
869 { test "$extra_verbose" = "yes" && cat << EOF | |
870 Defining EMACS_PATCH_LEVEL = $emacs_beta_version | |
871 EOF | |
872 cat >> confdefs.h <<EOF | |
873 #define EMACS_PATCH_LEVEL $emacs_beta_version | |
874 EOF | |
875 } | |
876 | |
877 fi | |
860 fi | 878 fi |
861 { test "$extra_verbose" = "yes" && cat << EOF | 879 { test "$extra_verbose" = "yes" && cat << EOF |
862 Defining XEMACS_CODENAME = "$xemacs_codename" | 880 Defining XEMACS_CODENAME = "$xemacs_codename" |
863 EOF | 881 EOF |
864 cat >> confdefs.h <<EOF | 882 cat >> confdefs.h <<EOF |
912 CPPFLAGS="$CPPFLAGS -DINFODOCK" | 930 CPPFLAGS="$CPPFLAGS -DINFODOCK" |
913 else | 931 else |
914 PROGNAME=xemacs | 932 PROGNAME=xemacs |
915 fi | 933 fi |
916 | 934 |
917 if test -n "$emacs_beta_version"; then beta=yes; else beta=no; fi | 935 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi |
918 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 936 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
919 Defining ERROR_CHECK_EXTENTS | 937 Defining ERROR_CHECK_EXTENTS |
920 EOF | 938 EOF |
921 cat >> confdefs.h <<\EOF | 939 cat >> confdefs.h <<\EOF |
922 #define ERROR_CHECK_EXTENTS 1 | 940 #define ERROR_CHECK_EXTENTS 1 |
950 test "${error_check_malloc=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 968 test "${error_check_malloc=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
951 Defining ERROR_CHECK_MALLOC | 969 Defining ERROR_CHECK_MALLOC |
952 EOF | 970 EOF |
953 cat >> confdefs.h <<\EOF | 971 cat >> confdefs.h <<\EOF |
954 #define ERROR_CHECK_MALLOC 1 | 972 #define ERROR_CHECK_MALLOC 1 |
973 EOF | |
974 } | |
975 | |
976 test "${error_check_byte_code=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | |
977 Defining ERROR_CHECK_BYTE_CODE | |
978 EOF | |
979 cat >> confdefs.h <<\EOF | |
980 #define ERROR_CHECK_BYTE_CODE 1 | |
955 EOF | 981 EOF |
956 } | 982 } |
957 | 983 |
958 if test "${debug:=$beta}" = "yes"; then | 984 if test "${debug:=$beta}" = "yes"; then |
959 use_assertions=yes memory_usage_stats=yes | 985 use_assertions=yes memory_usage_stats=yes |
986 } | 1012 } |
987 | 1013 |
988 | 1014 |
989 | 1015 |
990 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1016 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
991 echo "configure:992: checking "host system type"" >&5 | 1017 echo "configure:1018: checking "host system type"" >&5 |
992 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1018 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
993 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1019 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
994 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1020 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
995 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1021 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
996 echo "$ac_t""$configuration" 1>&6 | 1022 echo "$ac_t""$configuration" 1>&6 |
1478 xe_save_CFLAGS="$CFLAGS" | 1504 xe_save_CFLAGS="$CFLAGS" |
1479 | 1505 |
1480 # Extract the first word of "gcc", so it can be a program name with args. | 1506 # Extract the first word of "gcc", so it can be a program name with args. |
1481 set dummy gcc; ac_word=$2 | 1507 set dummy gcc; ac_word=$2 |
1482 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1483 echo "configure:1484: checking for $ac_word" >&5 | 1509 echo "configure:1510: checking for $ac_word" >&5 |
1484 | 1510 |
1485 if test -n "$CC"; then | 1511 if test -n "$CC"; then |
1486 ac_cv_prog_CC="$CC" # Let the user override the test. | 1512 ac_cv_prog_CC="$CC" # Let the user override the test. |
1487 else | 1513 else |
1488 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1489 for ac_dir in $PATH; do | 1515 ac_dummy="$PATH" |
1516 for ac_dir in $ac_dummy; do | |
1490 test -z "$ac_dir" && ac_dir=. | 1517 test -z "$ac_dir" && ac_dir=. |
1491 if test -f $ac_dir/$ac_word; then | 1518 if test -f $ac_dir/$ac_word; then |
1492 ac_cv_prog_CC="gcc" | 1519 ac_cv_prog_CC="gcc" |
1493 break | 1520 break |
1494 fi | 1521 fi |
1504 | 1531 |
1505 if test -z "$CC"; then | 1532 if test -z "$CC"; then |
1506 # Extract the first word of "cc", so it can be a program name with args. | 1533 # Extract the first word of "cc", so it can be a program name with args. |
1507 set dummy cc; ac_word=$2 | 1534 set dummy cc; ac_word=$2 |
1508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1535 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1509 echo "configure:1510: checking for $ac_word" >&5 | 1536 echo "configure:1537: checking for $ac_word" >&5 |
1510 | 1537 |
1511 if test -n "$CC"; then | 1538 if test -n "$CC"; then |
1512 ac_cv_prog_CC="$CC" # Let the user override the test. | 1539 ac_cv_prog_CC="$CC" # Let the user override the test. |
1513 else | 1540 else |
1514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1541 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1515 ac_prog_rejected=no | 1542 ac_prog_rejected=no |
1516 for ac_dir in $PATH; do | 1543 ac_dummy="$PATH" |
1544 for ac_dir in $ac_dummy; do | |
1517 test -z "$ac_dir" && ac_dir=. | 1545 test -z "$ac_dir" && ac_dir=. |
1518 if test -f $ac_dir/$ac_word; then | 1546 if test -f $ac_dir/$ac_word; then |
1519 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1547 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1520 ac_prog_rejected=yes | 1548 ac_prog_rejected=yes |
1521 continue | 1549 continue |
1545 echo "$ac_t""$CC" 1>&6 | 1573 echo "$ac_t""$CC" 1>&6 |
1546 else | 1574 else |
1547 echo "$ac_t""no" 1>&6 | 1575 echo "$ac_t""no" 1>&6 |
1548 fi | 1576 fi |
1549 | 1577 |
1578 if test -z "$CC"; then | |
1579 case "`uname -s`" in | |
1580 *win32* | *WIN32*) | |
1581 # Extract the first word of "cl", so it can be a program name with args. | |
1582 set dummy cl; ac_word=$2 | |
1583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1584 echo "configure:1585: checking for $ac_word" >&5 | |
1585 | |
1586 if test -n "$CC"; then | |
1587 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1588 else | |
1589 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1590 ac_dummy="$PATH" | |
1591 for ac_dir in $ac_dummy; do | |
1592 test -z "$ac_dir" && ac_dir=. | |
1593 if test -f $ac_dir/$ac_word; then | |
1594 ac_cv_prog_CC="cl" | |
1595 break | |
1596 fi | |
1597 done | |
1598 IFS="$ac_save_ifs" | |
1599 fi | |
1600 CC="$ac_cv_prog_CC" | |
1601 if test -n "$CC"; then | |
1602 echo "$ac_t""$CC" 1>&6 | |
1603 else | |
1604 echo "$ac_t""no" 1>&6 | |
1605 fi | |
1606 ;; | |
1607 esac | |
1608 fi | |
1550 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1609 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1551 fi | 1610 fi |
1552 | 1611 |
1553 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1612 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1554 echo "configure:1555: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1613 echo "configure:1614: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1555 | 1614 |
1556 ac_ext=c | 1615 ac_ext=c |
1557 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1616 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1558 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1617 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1559 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1618 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1560 ac_cpp='$CPP '"$xe_cppflags" | 1619 ac_cpp='$CPP '"$xe_cppflags" |
1561 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1620 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1562 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1621 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1563 cross_compiling=no | 1622 cross_compiling=no |
1564 | 1623 |
1565 cat > conftest.$ac_ext <<EOF | 1624 cat > conftest.$ac_ext << EOF |
1566 #line 1567 "configure" | 1625 |
1567 #include "confdefs.h" | 1626 #line 1627 "configure" |
1627 #include "confdefs.h" | |
1628 | |
1568 main(){return(0);} | 1629 main(){return(0);} |
1569 EOF | 1630 EOF |
1570 if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1631 if { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1571 ac_cv_prog_cc_works=yes | 1632 ac_cv_prog_cc_works=yes |
1572 # If we can't run a trivial program, we are probably using a cross compiler. | 1633 # If we can't run a trivial program, we are probably using a cross compiler. |
1573 if (./conftest; exit) 2>/dev/null; then | 1634 if (./conftest; exit) 2>/dev/null; then |
1574 ac_cv_prog_cc_cross=no | 1635 ac_cv_prog_cc_cross=no |
1575 else | 1636 else |
1579 echo "configure: failed program was:" >&5 | 1640 echo "configure: failed program was:" >&5 |
1580 cat conftest.$ac_ext >&5 | 1641 cat conftest.$ac_ext >&5 |
1581 ac_cv_prog_cc_works=no | 1642 ac_cv_prog_cc_works=no |
1582 fi | 1643 fi |
1583 rm -fr conftest* | 1644 rm -fr conftest* |
1645 ac_ext=c | |
1646 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
1647 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
1648 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
1649 ac_cpp='$CPP '"$xe_cppflags" | |
1650 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
1651 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
1652 cross_compiling=no | |
1584 | 1653 |
1585 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1654 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1586 if test $ac_cv_prog_cc_works = no; then | 1655 if test $ac_cv_prog_cc_works = no; then |
1587 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1656 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1588 fi | 1657 fi |
1589 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1658 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1590 echo "configure:1591: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1659 echo "configure:1660: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1591 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1660 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1592 cross_compiling=$ac_cv_prog_cc_cross | 1661 cross_compiling=$ac_cv_prog_cc_cross |
1593 | 1662 |
1594 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1663 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1595 echo "configure:1596: checking whether we are using GNU C" >&5 | 1664 echo "configure:1665: checking whether we are using GNU C" >&5 |
1596 | 1665 |
1597 cat > conftest.c <<EOF | 1666 cat > conftest.c <<EOF |
1598 #ifdef __GNUC__ | 1667 #ifdef __GNUC__ |
1599 yes; | 1668 yes; |
1600 #endif | 1669 #endif |
1601 EOF | 1670 EOF |
1602 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1671 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1603 ac_cv_prog_gcc=yes | 1672 ac_cv_prog_gcc=yes |
1604 else | 1673 else |
1605 ac_cv_prog_gcc=no | 1674 ac_cv_prog_gcc=no |
1606 fi | 1675 fi |
1607 | 1676 |
1608 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1677 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1609 | 1678 |
1610 if test $ac_cv_prog_gcc = yes; then | 1679 if test $ac_cv_prog_gcc = yes; then |
1611 GCC=yes | 1680 GCC=yes |
1612 ac_test_CFLAGS="${CFLAGS+set}" | 1681 else |
1613 ac_save_CFLAGS="$CFLAGS" | 1682 GCC= |
1614 CFLAGS= | 1683 fi |
1615 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1684 |
1616 echo "configure:1617: checking whether ${CC-cc} accepts -g" >&5 | 1685 ac_test_CFLAGS="${CFLAGS+set}" |
1686 ac_save_CFLAGS="$CFLAGS" | |
1687 CFLAGS= | |
1688 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
1689 echo "configure:1690: checking whether ${CC-cc} accepts -g" >&5 | |
1617 | 1690 |
1618 echo 'void f(){}' > conftest.c | 1691 echo 'void f(){}' > conftest.c |
1619 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1692 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1620 ac_cv_prog_cc_g=yes | 1693 ac_cv_prog_cc_g=yes |
1621 else | 1694 else |
1623 fi | 1696 fi |
1624 rm -f conftest* | 1697 rm -f conftest* |
1625 | 1698 |
1626 | 1699 |
1627 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1700 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1628 if test "$ac_test_CFLAGS" = set; then | 1701 if test "$ac_test_CFLAGS" = set; then |
1629 CFLAGS="$ac_save_CFLAGS" | 1702 CFLAGS="$ac_save_CFLAGS" |
1630 elif test $ac_cv_prog_cc_g = yes; then | 1703 elif test $ac_cv_prog_cc_g = yes; then |
1704 if test "$GCC" = yes; then | |
1631 CFLAGS="-g -O2" | 1705 CFLAGS="-g -O2" |
1632 else | 1706 else |
1707 CFLAGS="-g" | |
1708 fi | |
1709 else | |
1710 if test "$GCC" = yes; then | |
1633 CFLAGS="-O2" | 1711 CFLAGS="-O2" |
1712 else | |
1713 CFLAGS= | |
1634 fi | 1714 fi |
1635 else | |
1636 GCC= | |
1637 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
1638 fi | 1715 fi |
1639 | 1716 |
1640 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1717 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1641 CC=${NON_GNU_CC-cc} | 1718 CC=${NON_GNU_CC-cc} |
1642 # Extract the first word of "gcc", so it can be a program name with args. | 1719 # Extract the first word of "gcc", so it can be a program name with args. |
1643 set dummy gcc; ac_word=$2 | 1720 set dummy gcc; ac_word=$2 |
1644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1645 echo "configure:1646: checking for $ac_word" >&5 | 1722 echo "configure:1723: checking for $ac_word" >&5 |
1646 | 1723 |
1647 if test -n "$CC"; then | 1724 if test -n "$CC"; then |
1648 ac_cv_prog_CC="$CC" # Let the user override the test. | 1725 ac_cv_prog_CC="$CC" # Let the user override the test. |
1649 else | 1726 else |
1650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1727 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1651 for ac_dir in $PATH; do | 1728 ac_dummy="$PATH" |
1729 for ac_dir in $ac_dummy; do | |
1652 test -z "$ac_dir" && ac_dir=. | 1730 test -z "$ac_dir" && ac_dir=. |
1653 if test -f $ac_dir/$ac_word; then | 1731 if test -f $ac_dir/$ac_word; then |
1654 ac_cv_prog_CC="gcc" | 1732 ac_cv_prog_CC="gcc" |
1655 break | 1733 break |
1656 fi | 1734 fi |
1666 | 1744 |
1667 if test -z "$CC"; then | 1745 if test -z "$CC"; then |
1668 # Extract the first word of "cc", so it can be a program name with args. | 1746 # Extract the first word of "cc", so it can be a program name with args. |
1669 set dummy cc; ac_word=$2 | 1747 set dummy cc; ac_word=$2 |
1670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1748 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1671 echo "configure:1672: checking for $ac_word" >&5 | 1749 echo "configure:1750: checking for $ac_word" >&5 |
1672 | 1750 |
1673 if test -n "$CC"; then | 1751 if test -n "$CC"; then |
1674 ac_cv_prog_CC="$CC" # Let the user override the test. | 1752 ac_cv_prog_CC="$CC" # Let the user override the test. |
1675 else | 1753 else |
1676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1754 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1677 ac_prog_rejected=no | 1755 ac_prog_rejected=no |
1678 for ac_dir in $PATH; do | 1756 ac_dummy="$PATH" |
1757 for ac_dir in $ac_dummy; do | |
1679 test -z "$ac_dir" && ac_dir=. | 1758 test -z "$ac_dir" && ac_dir=. |
1680 if test -f $ac_dir/$ac_word; then | 1759 if test -f $ac_dir/$ac_word; then |
1681 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1760 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1682 ac_prog_rejected=yes | 1761 ac_prog_rejected=yes |
1683 continue | 1762 continue |
1707 echo "$ac_t""$CC" 1>&6 | 1786 echo "$ac_t""$CC" 1>&6 |
1708 else | 1787 else |
1709 echo "$ac_t""no" 1>&6 | 1788 echo "$ac_t""no" 1>&6 |
1710 fi | 1789 fi |
1711 | 1790 |
1791 if test -z "$CC"; then | |
1792 case "`uname -s`" in | |
1793 *win32* | *WIN32*) | |
1794 # Extract the first word of "cl", so it can be a program name with args. | |
1795 set dummy cl; ac_word=$2 | |
1796 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1797 echo "configure:1798: checking for $ac_word" >&5 | |
1798 | |
1799 if test -n "$CC"; then | |
1800 ac_cv_prog_CC="$CC" # Let the user override the test. | |
1801 else | |
1802 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1803 ac_dummy="$PATH" | |
1804 for ac_dir in $ac_dummy; do | |
1805 test -z "$ac_dir" && ac_dir=. | |
1806 if test -f $ac_dir/$ac_word; then | |
1807 ac_cv_prog_CC="cl" | |
1808 break | |
1809 fi | |
1810 done | |
1811 IFS="$ac_save_ifs" | |
1812 fi | |
1813 CC="$ac_cv_prog_CC" | |
1814 if test -n "$CC"; then | |
1815 echo "$ac_t""$CC" 1>&6 | |
1816 else | |
1817 echo "$ac_t""no" 1>&6 | |
1818 fi | |
1819 ;; | |
1820 esac | |
1821 fi | |
1712 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1822 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1713 fi | 1823 fi |
1714 | 1824 |
1715 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1825 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1716 echo "configure:1717: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1826 echo "configure:1827: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1717 | 1827 |
1718 ac_ext=c | 1828 ac_ext=c |
1719 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1829 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1720 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1830 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1721 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1831 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1722 ac_cpp='$CPP '"$xe_cppflags" | 1832 ac_cpp='$CPP '"$xe_cppflags" |
1723 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1833 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1724 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1834 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1725 cross_compiling=no | 1835 cross_compiling=no |
1726 | 1836 |
1727 cat > conftest.$ac_ext <<EOF | 1837 cat > conftest.$ac_ext << EOF |
1728 #line 1729 "configure" | 1838 |
1729 #include "confdefs.h" | 1839 #line 1840 "configure" |
1840 #include "confdefs.h" | |
1841 | |
1730 main(){return(0);} | 1842 main(){return(0);} |
1731 EOF | 1843 EOF |
1732 if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1844 if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1733 ac_cv_prog_cc_works=yes | 1845 ac_cv_prog_cc_works=yes |
1734 # If we can't run a trivial program, we are probably using a cross compiler. | 1846 # If we can't run a trivial program, we are probably using a cross compiler. |
1735 if (./conftest; exit) 2>/dev/null; then | 1847 if (./conftest; exit) 2>/dev/null; then |
1736 ac_cv_prog_cc_cross=no | 1848 ac_cv_prog_cc_cross=no |
1737 else | 1849 else |
1741 echo "configure: failed program was:" >&5 | 1853 echo "configure: failed program was:" >&5 |
1742 cat conftest.$ac_ext >&5 | 1854 cat conftest.$ac_ext >&5 |
1743 ac_cv_prog_cc_works=no | 1855 ac_cv_prog_cc_works=no |
1744 fi | 1856 fi |
1745 rm -fr conftest* | 1857 rm -fr conftest* |
1858 ac_ext=c | |
1859 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
1860 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
1861 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
1862 ac_cpp='$CPP '"$xe_cppflags" | |
1863 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
1864 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
1865 cross_compiling=no | |
1746 | 1866 |
1747 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1867 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1748 if test $ac_cv_prog_cc_works = no; then | 1868 if test $ac_cv_prog_cc_works = no; then |
1749 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1869 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1750 fi | 1870 fi |
1751 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1871 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1752 echo "configure:1753: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1872 echo "configure:1873: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1753 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1873 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1754 cross_compiling=$ac_cv_prog_cc_cross | 1874 cross_compiling=$ac_cv_prog_cc_cross |
1755 | 1875 |
1756 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1876 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1757 echo "configure:1758: checking whether we are using GNU C" >&5 | 1877 echo "configure:1878: checking whether we are using GNU C" >&5 |
1758 | 1878 |
1759 cat > conftest.c <<EOF | 1879 cat > conftest.c <<EOF |
1760 #ifdef __GNUC__ | 1880 #ifdef __GNUC__ |
1761 yes; | 1881 yes; |
1762 #endif | 1882 #endif |
1763 EOF | 1883 EOF |
1764 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1884 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1765 ac_cv_prog_gcc=yes | 1885 ac_cv_prog_gcc=yes |
1766 else | 1886 else |
1767 ac_cv_prog_gcc=no | 1887 ac_cv_prog_gcc=no |
1768 fi | 1888 fi |
1769 | 1889 |
1770 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1890 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1771 | 1891 |
1772 if test $ac_cv_prog_gcc = yes; then | 1892 if test $ac_cv_prog_gcc = yes; then |
1773 GCC=yes | 1893 GCC=yes |
1774 ac_test_CFLAGS="${CFLAGS+set}" | 1894 else |
1775 ac_save_CFLAGS="$CFLAGS" | 1895 GCC= |
1776 CFLAGS= | 1896 fi |
1777 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1897 |
1778 echo "configure:1779: checking whether ${CC-cc} accepts -g" >&5 | 1898 ac_test_CFLAGS="${CFLAGS+set}" |
1899 ac_save_CFLAGS="$CFLAGS" | |
1900 CFLAGS= | |
1901 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
1902 echo "configure:1903: checking whether ${CC-cc} accepts -g" >&5 | |
1779 | 1903 |
1780 echo 'void f(){}' > conftest.c | 1904 echo 'void f(){}' > conftest.c |
1781 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1905 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1782 ac_cv_prog_cc_g=yes | 1906 ac_cv_prog_cc_g=yes |
1783 else | 1907 else |
1785 fi | 1909 fi |
1786 rm -f conftest* | 1910 rm -f conftest* |
1787 | 1911 |
1788 | 1912 |
1789 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 1913 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1790 if test "$ac_test_CFLAGS" = set; then | 1914 if test "$ac_test_CFLAGS" = set; then |
1791 CFLAGS="$ac_save_CFLAGS" | 1915 CFLAGS="$ac_save_CFLAGS" |
1792 elif test $ac_cv_prog_cc_g = yes; then | 1916 elif test $ac_cv_prog_cc_g = yes; then |
1917 if test "$GCC" = yes; then | |
1793 CFLAGS="-g -O2" | 1918 CFLAGS="-g -O2" |
1794 else | 1919 else |
1920 CFLAGS="-g" | |
1921 fi | |
1922 else | |
1923 if test "$GCC" = yes; then | |
1795 CFLAGS="-O2" | 1924 CFLAGS="-O2" |
1925 else | |
1926 CFLAGS= | |
1796 fi | 1927 fi |
1797 else | |
1798 GCC= | |
1799 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
1800 fi | 1928 fi |
1801 | 1929 |
1802 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1930 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1803 CC=gcc | 1931 CC=gcc |
1804 # Extract the first word of "gcc", so it can be a program name with args. | 1932 # Extract the first word of "gcc", so it can be a program name with args. |
1805 set dummy gcc; ac_word=$2 | 1933 set dummy gcc; ac_word=$2 |
1806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1934 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1807 echo "configure:1808: checking for $ac_word" >&5 | 1935 echo "configure:1936: checking for $ac_word" >&5 |
1808 | 1936 |
1809 if test -n "$CC"; then | 1937 if test -n "$CC"; then |
1810 ac_cv_prog_CC="$CC" # Let the user override the test. | 1938 ac_cv_prog_CC="$CC" # Let the user override the test. |
1811 else | 1939 else |
1812 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1940 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1813 for ac_dir in $PATH; do | 1941 ac_dummy="$PATH" |
1942 for ac_dir in $ac_dummy; do | |
1814 test -z "$ac_dir" && ac_dir=. | 1943 test -z "$ac_dir" && ac_dir=. |
1815 if test -f $ac_dir/$ac_word; then | 1944 if test -f $ac_dir/$ac_word; then |
1816 ac_cv_prog_CC="gcc" | 1945 ac_cv_prog_CC="gcc" |
1817 break | 1946 break |
1818 fi | 1947 fi |
1828 | 1957 |
1829 if test -z "$CC"; then | 1958 if test -z "$CC"; then |
1830 # Extract the first word of "cc", so it can be a program name with args. | 1959 # Extract the first word of "cc", so it can be a program name with args. |
1831 set dummy cc; ac_word=$2 | 1960 set dummy cc; ac_word=$2 |
1832 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1833 echo "configure:1834: checking for $ac_word" >&5 | 1962 echo "configure:1963: checking for $ac_word" >&5 |
1834 | 1963 |
1835 if test -n "$CC"; then | 1964 if test -n "$CC"; then |
1836 ac_cv_prog_CC="$CC" # Let the user override the test. | 1965 ac_cv_prog_CC="$CC" # Let the user override the test. |
1837 else | 1966 else |
1838 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1967 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1839 ac_prog_rejected=no | 1968 ac_prog_rejected=no |
1840 for ac_dir in $PATH; do | 1969 ac_dummy="$PATH" |
1970 for ac_dir in $ac_dummy; do | |
1841 test -z "$ac_dir" && ac_dir=. | 1971 test -z "$ac_dir" && ac_dir=. |
1842 if test -f $ac_dir/$ac_word; then | 1972 if test -f $ac_dir/$ac_word; then |
1843 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1973 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1844 ac_prog_rejected=yes | 1974 ac_prog_rejected=yes |
1845 continue | 1975 continue |
1869 echo "$ac_t""$CC" 1>&6 | 1999 echo "$ac_t""$CC" 1>&6 |
1870 else | 2000 else |
1871 echo "$ac_t""no" 1>&6 | 2001 echo "$ac_t""no" 1>&6 |
1872 fi | 2002 fi |
1873 | 2003 |
2004 if test -z "$CC"; then | |
2005 case "`uname -s`" in | |
2006 *win32* | *WIN32*) | |
2007 # Extract the first word of "cl", so it can be a program name with args. | |
2008 set dummy cl; ac_word=$2 | |
2009 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
2010 echo "configure:2011: checking for $ac_word" >&5 | |
2011 | |
2012 if test -n "$CC"; then | |
2013 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2014 else | |
2015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
2016 ac_dummy="$PATH" | |
2017 for ac_dir in $ac_dummy; do | |
2018 test -z "$ac_dir" && ac_dir=. | |
2019 if test -f $ac_dir/$ac_word; then | |
2020 ac_cv_prog_CC="cl" | |
2021 break | |
2022 fi | |
2023 done | |
2024 IFS="$ac_save_ifs" | |
2025 fi | |
2026 CC="$ac_cv_prog_CC" | |
2027 if test -n "$CC"; then | |
2028 echo "$ac_t""$CC" 1>&6 | |
2029 else | |
2030 echo "$ac_t""no" 1>&6 | |
2031 fi | |
2032 ;; | |
2033 esac | |
2034 fi | |
1874 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2035 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1875 fi | 2036 fi |
1876 | 2037 |
1877 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2038 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1878 echo "configure:1879: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2039 echo "configure:2040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1879 | 2040 |
1880 ac_ext=c | 2041 ac_ext=c |
1881 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2042 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1882 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2043 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1883 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2044 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1884 ac_cpp='$CPP '"$xe_cppflags" | 2045 ac_cpp='$CPP '"$xe_cppflags" |
1885 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 2046 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1886 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2047 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1887 cross_compiling=no | 2048 cross_compiling=no |
1888 | 2049 |
1889 cat > conftest.$ac_ext <<EOF | 2050 cat > conftest.$ac_ext << EOF |
1890 #line 1891 "configure" | 2051 |
1891 #include "confdefs.h" | 2052 #line 2053 "configure" |
2053 #include "confdefs.h" | |
2054 | |
1892 main(){return(0);} | 2055 main(){return(0);} |
1893 EOF | 2056 EOF |
1894 if { (eval echo configure:1895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2057 if { (eval echo configure:2058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1895 ac_cv_prog_cc_works=yes | 2058 ac_cv_prog_cc_works=yes |
1896 # If we can't run a trivial program, we are probably using a cross compiler. | 2059 # If we can't run a trivial program, we are probably using a cross compiler. |
1897 if (./conftest; exit) 2>/dev/null; then | 2060 if (./conftest; exit) 2>/dev/null; then |
1898 ac_cv_prog_cc_cross=no | 2061 ac_cv_prog_cc_cross=no |
1899 else | 2062 else |
1903 echo "configure: failed program was:" >&5 | 2066 echo "configure: failed program was:" >&5 |
1904 cat conftest.$ac_ext >&5 | 2067 cat conftest.$ac_ext >&5 |
1905 ac_cv_prog_cc_works=no | 2068 ac_cv_prog_cc_works=no |
1906 fi | 2069 fi |
1907 rm -fr conftest* | 2070 rm -fr conftest* |
2071 ac_ext=c | |
2072 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | |
2073 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | |
2074 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | |
2075 ac_cpp='$CPP '"$xe_cppflags" | |
2076 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | |
2077 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
2078 cross_compiling=no | |
1908 | 2079 |
1909 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2080 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1910 if test $ac_cv_prog_cc_works = no; then | 2081 if test $ac_cv_prog_cc_works = no; then |
1911 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2082 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1912 fi | 2083 fi |
1913 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2084 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1914 echo "configure:1915: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2085 echo "configure:2086: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1915 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2086 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1916 cross_compiling=$ac_cv_prog_cc_cross | 2087 cross_compiling=$ac_cv_prog_cc_cross |
1917 | 2088 |
1918 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2089 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1919 echo "configure:1920: checking whether we are using GNU C" >&5 | 2090 echo "configure:2091: checking whether we are using GNU C" >&5 |
1920 | 2091 |
1921 cat > conftest.c <<EOF | 2092 cat > conftest.c <<EOF |
1922 #ifdef __GNUC__ | 2093 #ifdef __GNUC__ |
1923 yes; | 2094 yes; |
1924 #endif | 2095 #endif |
1925 EOF | 2096 EOF |
1926 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2097 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1927 ac_cv_prog_gcc=yes | 2098 ac_cv_prog_gcc=yes |
1928 else | 2099 else |
1929 ac_cv_prog_gcc=no | 2100 ac_cv_prog_gcc=no |
1930 fi | 2101 fi |
1931 | 2102 |
1932 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 2103 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1933 | 2104 |
1934 if test $ac_cv_prog_gcc = yes; then | 2105 if test $ac_cv_prog_gcc = yes; then |
1935 GCC=yes | 2106 GCC=yes |
1936 ac_test_CFLAGS="${CFLAGS+set}" | 2107 else |
1937 ac_save_CFLAGS="$CFLAGS" | 2108 GCC= |
1938 CFLAGS= | 2109 fi |
1939 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2110 |
1940 echo "configure:1941: checking whether ${CC-cc} accepts -g" >&5 | 2111 ac_test_CFLAGS="${CFLAGS+set}" |
2112 ac_save_CFLAGS="$CFLAGS" | |
2113 CFLAGS= | |
2114 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | |
2115 echo "configure:2116: checking whether ${CC-cc} accepts -g" >&5 | |
1941 | 2116 |
1942 echo 'void f(){}' > conftest.c | 2117 echo 'void f(){}' > conftest.c |
1943 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2118 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1944 ac_cv_prog_cc_g=yes | 2119 ac_cv_prog_cc_g=yes |
1945 else | 2120 else |
1947 fi | 2122 fi |
1948 rm -f conftest* | 2123 rm -f conftest* |
1949 | 2124 |
1950 | 2125 |
1951 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 2126 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
1952 if test "$ac_test_CFLAGS" = set; then | 2127 if test "$ac_test_CFLAGS" = set; then |
1953 CFLAGS="$ac_save_CFLAGS" | 2128 CFLAGS="$ac_save_CFLAGS" |
1954 elif test $ac_cv_prog_cc_g = yes; then | 2129 elif test $ac_cv_prog_cc_g = yes; then |
2130 if test "$GCC" = yes; then | |
1955 CFLAGS="-g -O2" | 2131 CFLAGS="-g -O2" |
1956 else | 2132 else |
2133 CFLAGS="-g" | |
2134 fi | |
2135 else | |
2136 if test "$GCC" = yes; then | |
1957 CFLAGS="-O2" | 2137 CFLAGS="-O2" |
2138 else | |
2139 CFLAGS= | |
1958 fi | 2140 fi |
1959 else | |
1960 GCC= | |
1961 test "${CFLAGS+set}" = set || CFLAGS="-g" | |
1962 fi | 2141 fi |
1963 | 2142 |
1964 fi | 2143 fi |
1965 CFLAGS="$xe_save_CFLAGS" | 2144 CFLAGS="$xe_save_CFLAGS" |
1966 | 2145 |
1968 test -n "$CPP" -a -d "$CPP" && CPP= | 2147 test -n "$CPP" -a -d "$CPP" && CPP= |
1969 | 2148 |
1970 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2149 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1971 | 2150 |
1972 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2151 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1973 echo "configure:1974: checking how to run the C preprocessor" >&5 | 2152 echo "configure:2153: checking how to run the C preprocessor" >&5 |
1974 # On Suns, sometimes $CPP names a directory. | 2153 # On Suns, sometimes $CPP names a directory. |
1975 if test -n "$CPP" && test -d "$CPP"; then | 2154 if test -n "$CPP" && test -d "$CPP"; then |
1976 CPP= | 2155 CPP= |
1977 fi | 2156 fi |
1978 if test -z "$CPP"; then | 2157 if test -z "$CPP"; then |
1981 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2160 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1982 CPP="${CC-cc} -E" | 2161 CPP="${CC-cc} -E" |
1983 # On the NeXT, cc -E runs the code through the compiler's parser, | 2162 # On the NeXT, cc -E runs the code through the compiler's parser, |
1984 # not just through cpp. | 2163 # not just through cpp. |
1985 cat > conftest.$ac_ext <<EOF | 2164 cat > conftest.$ac_ext <<EOF |
1986 #line 1987 "configure" | 2165 #line 2166 "configure" |
1987 #include "confdefs.h" | 2166 #include "confdefs.h" |
1988 #include <assert.h> | 2167 #include <assert.h> |
1989 Syntax Error | 2168 Syntax Error |
1990 EOF | 2169 EOF |
1991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1992 { (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2171 { (eval echo configure:2172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1993 ac_err=`grep -v '^ *+' conftest.out` | 2172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1994 if test -z "$ac_err"; then | 2173 if test -z "$ac_err"; then |
1995 : | 2174 : |
1996 else | 2175 else |
1997 echo "$ac_err" >&5 | 2176 echo "$ac_err" >&5 |
1998 echo "configure: failed program was:" >&5 | 2177 echo "configure: failed program was:" >&5 |
1999 cat conftest.$ac_ext >&5 | 2178 cat conftest.$ac_ext >&5 |
2000 rm -rf conftest* | 2179 rm -rf conftest* |
2001 CPP="${CC-cc} -E -traditional-cpp" | 2180 CPP="${CC-cc} -E -traditional-cpp" |
2002 cat > conftest.$ac_ext <<EOF | 2181 cat > conftest.$ac_ext <<EOF |
2003 #line 2004 "configure" | 2182 #line 2183 "configure" |
2004 #include "confdefs.h" | 2183 #include "confdefs.h" |
2005 #include <assert.h> | 2184 #include <assert.h> |
2006 Syntax Error | 2185 Syntax Error |
2007 EOF | 2186 EOF |
2008 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2009 { (eval echo configure:2010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2188 { (eval echo configure:2189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2010 ac_err=`grep -v '^ *+' conftest.out` | 2189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2011 if test -z "$ac_err"; then | 2190 if test -z "$ac_err"; then |
2012 : | 2191 : |
2013 else | 2192 else |
2014 echo "$ac_err" >&5 | 2193 echo "$ac_err" >&5 |
2015 echo "configure: failed program was:" >&5 | 2194 echo "configure: failed program was:" >&5 |
2016 cat conftest.$ac_ext >&5 | 2195 cat conftest.$ac_ext >&5 |
2017 rm -rf conftest* | 2196 rm -rf conftest* |
2197 CPP="${CC-cc} -nologo -E" | |
2198 cat > conftest.$ac_ext <<EOF | |
2199 #line 2200 "configure" | |
2200 #include "confdefs.h" | |
2201 #include <assert.h> | |
2202 Syntax Error | |
2203 EOF | |
2204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2205 { (eval echo configure:2206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
2206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
2207 if test -z "$ac_err"; then | |
2208 : | |
2209 else | |
2210 echo "$ac_err" >&5 | |
2211 echo "configure: failed program was:" >&5 | |
2212 cat conftest.$ac_ext >&5 | |
2213 rm -rf conftest* | |
2018 CPP=/lib/cpp | 2214 CPP=/lib/cpp |
2215 fi | |
2216 rm -f conftest* | |
2019 fi | 2217 fi |
2020 rm -f conftest* | 2218 rm -f conftest* |
2021 fi | 2219 fi |
2022 rm -f conftest* | 2220 rm -f conftest* |
2023 ac_cv_prog_CPP="$CPP" | 2221 ac_cv_prog_CPP="$CPP" |
2027 fi | 2225 fi |
2028 echo "$ac_t""$CPP" 1>&6 | 2226 echo "$ac_t""$CPP" 1>&6 |
2029 | 2227 |
2030 | 2228 |
2031 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2229 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2032 echo "configure:2033: checking for AIX" >&5 | 2230 echo "configure:2231: checking for AIX" >&5 |
2033 cat > conftest.$ac_ext <<EOF | 2231 cat > conftest.$ac_ext <<EOF |
2034 #line 2035 "configure" | 2232 #line 2233 "configure" |
2035 #include "confdefs.h" | 2233 #include "confdefs.h" |
2036 #ifdef _AIX | 2234 #ifdef _AIX |
2037 yes | 2235 yes |
2038 #endif | 2236 #endif |
2039 | 2237 |
2056 rm -f conftest* | 2254 rm -f conftest* |
2057 | 2255 |
2058 | 2256 |
2059 | 2257 |
2060 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2258 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2061 echo "configure:2062: checking for GNU libc" >&5 | 2259 echo "configure:2260: checking for GNU libc" >&5 |
2062 cat > conftest.$ac_ext <<EOF | 2260 cat > conftest.$ac_ext <<EOF |
2063 #line 2064 "configure" | 2261 #line 2262 "configure" |
2064 #include "confdefs.h" | 2262 #include "confdefs.h" |
2065 #include <features.h> | 2263 #include <features.h> |
2066 int main() { | 2264 int main() { |
2067 | 2265 |
2068 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2266 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2070 ******* ======= ******** &&&&&&&& | 2268 ******* ======= ******** &&&&&&&& |
2071 #endif | 2269 #endif |
2072 | 2270 |
2073 ; return 0; } | 2271 ; return 0; } |
2074 EOF | 2272 EOF |
2075 if { (eval echo configure:2076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2273 if { (eval echo configure:2274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2076 rm -rf conftest* | 2274 rm -rf conftest* |
2077 have_glibc=yes | 2275 have_glibc=yes |
2078 else | 2276 else |
2079 echo "configure: failed program was:" >&5 | 2277 echo "configure: failed program was:" >&5 |
2080 cat conftest.$ac_ext >&5 | 2278 cat conftest.$ac_ext >&5 |
2092 } | 2290 } |
2093 | 2291 |
2094 | 2292 |
2095 | 2293 |
2096 cat > conftest.$ac_ext <<EOF | 2294 cat > conftest.$ac_ext <<EOF |
2097 #line 2098 "configure" | 2295 #line 2296 "configure" |
2098 #include "confdefs.h" | 2296 #include "confdefs.h" |
2099 int main () { | 2297 int main () { |
2100 #if defined __SUNPRO_C | 2298 #if defined __SUNPRO_C |
2101 return 11; | 2299 return 11; |
2102 #elif defined __DECC | 2300 #elif defined __DECC |
2104 #else | 2302 #else |
2105 return 0; | 2303 return 0; |
2106 #endif | 2304 #endif |
2107 } | 2305 } |
2108 EOF | 2306 EOF |
2109 if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2307 if { (eval echo configure:2308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2110 then | 2308 then |
2111 : | 2309 : |
2112 else | 2310 else |
2113 conftest_rc="$?" | 2311 conftest_rc="$?" |
2114 echo "configure: failed program was:" >&5 | 2312 echo "configure: failed program was:" >&5 |
2378 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2576 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2379 echo " xemacs will be linked with \"$unexec\"" | 2577 echo " xemacs will be linked with \"$unexec\"" |
2380 fi | 2578 fi |
2381 | 2579 |
2382 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2580 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2383 echo "configure:2384: checking for dynodump" >&5 | 2581 echo "configure:2582: checking for dynodump" >&5 |
2384 if test "$unexec" != "unexsol2.o"; then | 2582 if test "$unexec" != "unexsol2.o"; then |
2385 echo "$ac_t""no" 1>&6 | 2583 echo "$ac_t""no" 1>&6 |
2386 else | 2584 else |
2387 echo "$ac_t""yes" 1>&6 | 2585 echo "$ac_t""yes" 1>&6 |
2388 { test "$extra_verbose" = "yes" && cat << \EOF | 2586 { test "$extra_verbose" = "yes" && cat << \EOF |
2416 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2614 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2417 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2615 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2418 done | 2616 done |
2419 | 2617 |
2420 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2618 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2421 echo "configure:2422: checking for terminateAndUnload in -lC" >&5 | 2619 echo "configure:2620: checking for terminateAndUnload in -lC" >&5 |
2422 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2620 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2423 | 2621 |
2424 xe_check_libs=" -lC " | 2622 xe_check_libs=" -lC " |
2425 cat > conftest.$ac_ext <<EOF | 2623 cat > conftest.$ac_ext <<EOF |
2426 #line 2427 "configure" | 2624 #line 2625 "configure" |
2427 #include "confdefs.h" | 2625 #include "confdefs.h" |
2428 /* Override any gcc2 internal prototype to avoid an error. */ | 2626 /* Override any gcc2 internal prototype to avoid an error. */ |
2429 /* We use char because int might match the return type of a gcc2 | 2627 /* We use char because int might match the return type of a gcc2 |
2430 builtin and then its argument prototype would still apply. */ | 2628 builtin and then its argument prototype would still apply. */ |
2431 char terminateAndUnload(); | 2629 char terminateAndUnload(); |
2432 | 2630 |
2433 int main() { | 2631 int main() { |
2434 terminateAndUnload() | 2632 terminateAndUnload() |
2435 ; return 0; } | 2633 ; return 0; } |
2436 EOF | 2634 EOF |
2437 if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2635 if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2438 rm -rf conftest* | 2636 rm -rf conftest* |
2439 eval "ac_cv_lib_$ac_lib_var=yes" | 2637 eval "ac_cv_lib_$ac_lib_var=yes" |
2440 else | 2638 else |
2441 echo "configure: failed program was:" >&5 | 2639 echo "configure: failed program was:" >&5 |
2442 cat conftest.$ac_ext >&5 | 2640 cat conftest.$ac_ext >&5 |
2499 fi | 2697 fi |
2500 | 2698 |
2501 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 2699 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
2502 if test -n "$site_prefixes"; then | 2700 if test -n "$site_prefixes"; then |
2503 for dir in $site_prefixes; do | 2701 for dir in $site_prefixes; do |
2504 inc_dir="${dir}/include" | |
2505 lib_dir="${dir}/lib" | 2702 lib_dir="${dir}/lib" |
2506 if test ! -d "$dir"; then | 2703 if test ! -d "$dir"; then |
2507 { echo "Error:" "Invalid site prefix \`$dir': no such directory" >&2; exit 1; } | 2704 { echo "Error:" "Invalid site prefix \`$dir': no such directory" >&2; exit 1; } |
2508 elif test ! -d "$inc_dir"; then | |
2509 { echo "Error:" "Invalid site prefix \`$dir': no such directory \`$inc_dir'" >&2; exit 1; } | |
2510 elif test ! -d "$lib_dir"; then | 2705 elif test ! -d "$lib_dir"; then |
2511 { echo "Error:" "Invalid site prefix \`$dir': no such directory \`$lib_dir'" >&2; exit 1; } | 2706 { echo "Error:" "Invalid site prefix \`$dir': no such directory \`$lib_dir'" >&2; exit 1; } |
2512 else | 2707 else |
2513 c_switch_site="$c_switch_site "-I$inc_dir"" && if test "$extra_verbose" = "yes"; then echo " Appending \""-I$inc_dir"\" to \$c_switch_site"; fi | 2708 if test -d "$inc_dir"; then |
2709 c_switch_site="$c_switch_site "-I$inc_dir"" && if test "$extra_verbose" = "yes"; then echo " Appending \""-I$inc_dir"\" to \$c_switch_site"; fi | |
2710 fi | |
2514 ld_switch_site="$ld_switch_site "-L$lib_dir"" && if test "$extra_verbose" = "yes"; then echo " Appending \""-L$lib_dir"\" to \$ld_switch_site"; fi | 2711 ld_switch_site="$ld_switch_site "-L$lib_dir"" && if test "$extra_verbose" = "yes"; then echo " Appending \""-L$lib_dir"\" to \$ld_switch_site"; fi |
2515 fi | 2712 fi |
2516 done | 2713 done |
2517 fi | 2714 fi |
2518 | 2715 |
2536 esac | 2733 esac |
2537 fi | 2734 fi |
2538 | 2735 |
2539 if test "$add_runtime_path" = "yes"; then | 2736 if test "$add_runtime_path" = "yes"; then |
2540 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2737 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2541 echo "configure:2542: checking "for runtime libraries flag"" >&5 | 2738 echo "configure:2739: checking "for runtime libraries flag"" >&5 |
2542 case "$opsys" in | 2739 case "$opsys" in |
2543 sol2 ) dash_r="-R" ;; | 2740 sol2 ) dash_r="-R" ;; |
2544 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2741 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2545 *) | 2742 *) |
2546 dash_r="" | 2743 dash_r="" |
2558 esac | 2755 esac |
2559 shift | 2756 shift |
2560 done | 2757 done |
2561 fi | 2758 fi |
2562 cat > conftest.$ac_ext <<EOF | 2759 cat > conftest.$ac_ext <<EOF |
2563 #line 2564 "configure" | 2760 #line 2761 "configure" |
2564 #include "confdefs.h" | 2761 #include "confdefs.h" |
2565 | 2762 |
2566 int main() { | 2763 int main() { |
2567 | 2764 |
2568 ; return 0; } | 2765 ; return 0; } |
2569 EOF | 2766 EOF |
2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2767 if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2571 rm -rf conftest* | 2768 rm -rf conftest* |
2572 dash_r="$try_dash_r" | 2769 dash_r="$try_dash_r" |
2573 else | 2770 else |
2574 echo "configure: failed program was:" >&5 | 2771 echo "configure: failed program was:" >&5 |
2575 cat conftest.$ac_ext >&5 | 2772 cat conftest.$ac_ext >&5 |
2667 else | 2864 else |
2668 doug_lea_malloc=no | 2865 doug_lea_malloc=no |
2669 fi | 2866 fi |
2670 after_morecore_hook_exists=yes | 2867 after_morecore_hook_exists=yes |
2671 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2868 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2672 echo "configure:2673: checking for malloc_get_state" >&5 | 2869 echo "configure:2870: checking for malloc_get_state" >&5 |
2673 | 2870 |
2674 cat > conftest.$ac_ext <<EOF | 2871 cat > conftest.$ac_ext <<EOF |
2675 #line 2676 "configure" | 2872 #line 2873 "configure" |
2676 #include "confdefs.h" | 2873 #include "confdefs.h" |
2677 /* System header to define __stub macros and hopefully few prototypes, | 2874 /* System header to define __stub macros and hopefully few prototypes, |
2678 which can conflict with char malloc_get_state(); below. */ | 2875 which can conflict with char malloc_get_state(); below. */ |
2679 #include <assert.h> | 2876 #include <assert.h> |
2680 /* Override any gcc2 internal prototype to avoid an error. */ | 2877 /* Override any gcc2 internal prototype to avoid an error. */ |
2693 malloc_get_state(); | 2890 malloc_get_state(); |
2694 #endif | 2891 #endif |
2695 | 2892 |
2696 ; return 0; } | 2893 ; return 0; } |
2697 EOF | 2894 EOF |
2698 if { (eval echo configure:2699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2895 if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2699 rm -rf conftest* | 2896 rm -rf conftest* |
2700 eval "ac_cv_func_malloc_get_state=yes" | 2897 eval "ac_cv_func_malloc_get_state=yes" |
2701 else | 2898 else |
2702 echo "configure: failed program was:" >&5 | 2899 echo "configure: failed program was:" >&5 |
2703 cat conftest.$ac_ext >&5 | 2900 cat conftest.$ac_ext >&5 |
2713 echo "$ac_t""no" 1>&6 | 2910 echo "$ac_t""no" 1>&6 |
2714 doug_lea_malloc=no | 2911 doug_lea_malloc=no |
2715 fi | 2912 fi |
2716 | 2913 |
2717 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2914 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2718 echo "configure:2719: checking for malloc_set_state" >&5 | 2915 echo "configure:2916: checking for malloc_set_state" >&5 |
2719 | 2916 |
2720 cat > conftest.$ac_ext <<EOF | 2917 cat > conftest.$ac_ext <<EOF |
2721 #line 2722 "configure" | 2918 #line 2919 "configure" |
2722 #include "confdefs.h" | 2919 #include "confdefs.h" |
2723 /* System header to define __stub macros and hopefully few prototypes, | 2920 /* System header to define __stub macros and hopefully few prototypes, |
2724 which can conflict with char malloc_set_state(); below. */ | 2921 which can conflict with char malloc_set_state(); below. */ |
2725 #include <assert.h> | 2922 #include <assert.h> |
2726 /* Override any gcc2 internal prototype to avoid an error. */ | 2923 /* Override any gcc2 internal prototype to avoid an error. */ |
2739 malloc_set_state(); | 2936 malloc_set_state(); |
2740 #endif | 2937 #endif |
2741 | 2938 |
2742 ; return 0; } | 2939 ; return 0; } |
2743 EOF | 2940 EOF |
2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2941 if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2745 rm -rf conftest* | 2942 rm -rf conftest* |
2746 eval "ac_cv_func_malloc_set_state=yes" | 2943 eval "ac_cv_func_malloc_set_state=yes" |
2747 else | 2944 else |
2748 echo "configure: failed program was:" >&5 | 2945 echo "configure: failed program was:" >&5 |
2749 cat conftest.$ac_ext >&5 | 2946 cat conftest.$ac_ext >&5 |
2759 echo "$ac_t""no" 1>&6 | 2956 echo "$ac_t""no" 1>&6 |
2760 doug_lea_malloc=no | 2957 doug_lea_malloc=no |
2761 fi | 2958 fi |
2762 | 2959 |
2763 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2960 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2764 echo "configure:2765: checking whether __after_morecore_hook exists" >&5 | 2961 echo "configure:2962: checking whether __after_morecore_hook exists" >&5 |
2765 cat > conftest.$ac_ext <<EOF | 2962 cat > conftest.$ac_ext <<EOF |
2766 #line 2767 "configure" | 2963 #line 2964 "configure" |
2767 #include "confdefs.h" | 2964 #include "confdefs.h" |
2768 extern void (* __after_morecore_hook)(); | 2965 extern void (* __after_morecore_hook)(); |
2769 int main() { | 2966 int main() { |
2770 __after_morecore_hook = 0 | 2967 __after_morecore_hook = 0 |
2771 ; return 0; } | 2968 ; return 0; } |
2772 EOF | 2969 EOF |
2773 if { (eval echo configure:2774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2970 if { (eval echo configure:2971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2774 rm -rf conftest* | 2971 rm -rf conftest* |
2775 echo "$ac_t""yes" 1>&6 | 2972 echo "$ac_t""yes" 1>&6 |
2776 else | 2973 else |
2777 echo "configure: failed program was:" >&5 | 2974 echo "configure: failed program was:" >&5 |
2778 cat conftest.$ac_ext >&5 | 2975 cat conftest.$ac_ext >&5 |
2827 | 3024 |
2828 | 3025 |
2829 # Extract the first word of "ranlib", so it can be a program name with args. | 3026 # Extract the first word of "ranlib", so it can be a program name with args. |
2830 set dummy ranlib; ac_word=$2 | 3027 set dummy ranlib; ac_word=$2 |
2831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3028 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2832 echo "configure:2833: checking for $ac_word" >&5 | 3029 echo "configure:3030: checking for $ac_word" >&5 |
2833 | 3030 |
2834 if test -n "$RANLIB"; then | 3031 if test -n "$RANLIB"; then |
2835 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2836 else | 3033 else |
2837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 3034 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2838 for ac_dir in $PATH; do | 3035 ac_dummy="$PATH" |
3036 for ac_dir in $ac_dummy; do | |
2839 test -z "$ac_dir" && ac_dir=. | 3037 test -z "$ac_dir" && ac_dir=. |
2840 if test -f $ac_dir/$ac_word; then | 3038 if test -f $ac_dir/$ac_word; then |
2841 ac_cv_prog_RANLIB="ranlib" | 3039 ac_cv_prog_RANLIB="ranlib" |
2842 break | 3040 break |
2843 fi | 3041 fi |
2876 # incompatible versions: | 3074 # incompatible versions: |
2877 # SysV /etc/install, /usr/sbin/install | 3075 # SysV /etc/install, /usr/sbin/install |
2878 # SunOS /usr/etc/install | 3076 # SunOS /usr/etc/install |
2879 # IRIX /sbin/install | 3077 # IRIX /sbin/install |
2880 # AIX /bin/install | 3078 # AIX /bin/install |
3079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2883 # ./install, which can be erroneously created by make from ./install.sh. | 3082 # ./install, which can be erroneously created by make from ./install.sh. |
2884 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3083 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2885 echo "configure:2886: checking for a BSD compatible install" >&5 | 3084 echo "configure:3085: checking for a BSD compatible install" >&5 |
2886 if test -z "$INSTALL"; then | 3085 if test -z "$INSTALL"; then |
2887 | 3086 |
2888 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 3087 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
2889 for ac_dir in $PATH; do | 3088 for ac_dir in $PATH; do |
2890 # Account for people who put trailing slashes in PATH elements. | 3089 # Account for people who put trailing slashes in PATH elements. |
2891 case "$ac_dir/" in | 3090 case "$ac_dir/" in |
2892 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 3091 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
2893 *) | 3092 *) |
2894 # OSF1 and SCO ODT 3.0 have their own names for install. | 3093 # OSF1 and SCO ODT 3.0 have their own names for install. |
2895 for ac_prog in ginstall installbsd scoinst install; do | 3094 # Don't use installbsd from OSF since it installs stuff as root |
3095 # by default. | |
3096 for ac_prog in ginstall scoinst install; do | |
2896 if test -f $ac_dir/$ac_prog; then | 3097 if test -f $ac_dir/$ac_prog; then |
2897 if test $ac_prog = install && | 3098 if test $ac_prog = install && |
2898 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 3099 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
2899 # AIX install. It has an incompatible calling convention. | 3100 # AIX install. It has an incompatible calling convention. |
2900 # OSF/1 installbsd also uses dspmsg, but is usable. | |
2901 : | 3101 : |
2902 else | 3102 else |
2903 ac_cv_path_install="$ac_dir/$ac_prog -c" | 3103 ac_cv_path_install="$ac_dir/$ac_prog -c" |
2904 break 2 | 3104 break 2 |
2905 fi | 3105 fi |
2924 | 3124 |
2925 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3125 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2926 # It thinks the first close brace ends the variable substitution. | 3126 # It thinks the first close brace ends the variable substitution. |
2927 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3127 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2928 | 3128 |
3129 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
3130 | |
2929 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3131 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2930 | 3132 |
2931 for ac_prog in 'bison -y' byacc | 3133 for ac_prog in 'bison -y' byacc |
2932 do | 3134 do |
2933 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3135 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2934 set dummy $ac_prog; ac_word=$2 | 3136 set dummy $ac_prog; ac_word=$2 |
2935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3137 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2936 echo "configure:2937: checking for $ac_word" >&5 | 3138 echo "configure:3139: checking for $ac_word" >&5 |
2937 | 3139 |
2938 if test -n "$YACC"; then | 3140 if test -n "$YACC"; then |
2939 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3141 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2940 else | 3142 else |
2941 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 3143 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2942 for ac_dir in $PATH; do | 3144 ac_dummy="$PATH" |
3145 for ac_dir in $ac_dummy; do | |
2943 test -z "$ac_dir" && ac_dir=. | 3146 test -z "$ac_dir" && ac_dir=. |
2944 if test -f $ac_dir/$ac_word; then | 3147 if test -f $ac_dir/$ac_word; then |
2945 ac_cv_prog_YACC="$ac_prog" | 3148 ac_cv_prog_YACC="$ac_prog" |
2946 break | 3149 break |
2947 fi | 3150 fi |
2962 | 3165 |
2963 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3166 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2964 do | 3167 do |
2965 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3168 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2966 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3169 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2967 echo "configure:2968: checking for $ac_hdr" >&5 | 3170 echo "configure:3171: checking for $ac_hdr" >&5 |
2968 | 3171 |
2969 cat > conftest.$ac_ext <<EOF | 3172 cat > conftest.$ac_ext <<EOF |
2970 #line 2971 "configure" | 3173 #line 3174 "configure" |
2971 #include "confdefs.h" | 3174 #include "confdefs.h" |
2972 #include <$ac_hdr> | 3175 #include <$ac_hdr> |
2973 EOF | 3176 EOF |
2974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2975 { (eval echo configure:2976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3178 { (eval echo configure:3179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2976 ac_err=`grep -v '^ *+' conftest.out` | 3179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2977 if test -z "$ac_err"; then | 3180 if test -z "$ac_err"; then |
2978 rm -rf conftest* | 3181 rm -rf conftest* |
2979 eval "ac_cv_header_$ac_safe=yes" | 3182 eval "ac_cv_header_$ac_safe=yes" |
2980 else | 3183 else |
2981 echo "$ac_err" >&5 | 3184 echo "$ac_err" >&5 |
3003 | 3206 |
3004 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3207 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
3005 do | 3208 do |
3006 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3209 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3007 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3210 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3008 echo "configure:3009: checking for $ac_hdr" >&5 | 3211 echo "configure:3212: checking for $ac_hdr" >&5 |
3009 | 3212 |
3010 cat > conftest.$ac_ext <<EOF | 3213 cat > conftest.$ac_ext <<EOF |
3011 #line 3012 "configure" | 3214 #line 3215 "configure" |
3012 #include "confdefs.h" | 3215 #include "confdefs.h" |
3013 #include <$ac_hdr> | 3216 #include <$ac_hdr> |
3014 EOF | 3217 EOF |
3015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3016 { (eval echo configure:3017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3219 { (eval echo configure:3220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3017 ac_err=`grep -v '^ *+' conftest.out` | 3220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3018 if test -z "$ac_err"; then | 3221 if test -z "$ac_err"; then |
3019 rm -rf conftest* | 3222 rm -rf conftest* |
3020 eval "ac_cv_header_$ac_safe=yes" | 3223 eval "ac_cv_header_$ac_safe=yes" |
3021 else | 3224 else |
3022 echo "$ac_err" >&5 | 3225 echo "$ac_err" >&5 |
3044 | 3247 |
3045 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3248 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3046 do | 3249 do |
3047 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3250 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3048 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3251 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3049 echo "configure:3050: checking for $ac_hdr" >&5 | 3252 echo "configure:3253: checking for $ac_hdr" >&5 |
3050 | 3253 |
3051 cat > conftest.$ac_ext <<EOF | 3254 cat > conftest.$ac_ext <<EOF |
3052 #line 3053 "configure" | 3255 #line 3256 "configure" |
3053 #include "confdefs.h" | 3256 #include "confdefs.h" |
3054 #include <$ac_hdr> | 3257 #include <$ac_hdr> |
3055 EOF | 3258 EOF |
3056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3057 { (eval echo configure:3058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3260 { (eval echo configure:3261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3058 ac_err=`grep -v '^ *+' conftest.out` | 3261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3059 if test -z "$ac_err"; then | 3262 if test -z "$ac_err"; then |
3060 rm -rf conftest* | 3263 rm -rf conftest* |
3061 eval "ac_cv_header_$ac_safe=yes" | 3264 eval "ac_cv_header_$ac_safe=yes" |
3062 else | 3265 else |
3063 echo "$ac_err" >&5 | 3266 echo "$ac_err" >&5 |
3082 echo "$ac_t""no" 1>&6 | 3285 echo "$ac_t""no" 1>&6 |
3083 fi | 3286 fi |
3084 done | 3287 done |
3085 | 3288 |
3086 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3289 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3087 echo "configure:3088: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3290 echo "configure:3291: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3088 | 3291 |
3089 cat > conftest.$ac_ext <<EOF | 3292 cat > conftest.$ac_ext <<EOF |
3090 #line 3091 "configure" | 3293 #line 3294 "configure" |
3091 #include "confdefs.h" | 3294 #include "confdefs.h" |
3092 #include <sys/types.h> | 3295 #include <sys/types.h> |
3093 #include <sys/wait.h> | 3296 #include <sys/wait.h> |
3094 #ifndef WEXITSTATUS | 3297 #ifndef WEXITSTATUS |
3095 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3298 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3101 int s; | 3304 int s; |
3102 wait (&s); | 3305 wait (&s); |
3103 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3306 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3104 ; return 0; } | 3307 ; return 0; } |
3105 EOF | 3308 EOF |
3106 if { (eval echo configure:3107: \"$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 |
3107 rm -rf conftest* | 3310 rm -rf conftest* |
3108 ac_cv_header_sys_wait_h=yes | 3311 ac_cv_header_sys_wait_h=yes |
3109 else | 3312 else |
3110 echo "configure: failed program was:" >&5 | 3313 echo "configure: failed program was:" >&5 |
3111 cat conftest.$ac_ext >&5 | 3314 cat conftest.$ac_ext >&5 |
3125 } | 3328 } |
3126 | 3329 |
3127 fi | 3330 fi |
3128 | 3331 |
3129 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3332 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3130 echo "configure:3131: checking for ANSI C header files" >&5 | 3333 echo "configure:3334: checking for ANSI C header files" >&5 |
3131 | 3334 |
3132 cat > conftest.$ac_ext <<EOF | 3335 cat > conftest.$ac_ext <<EOF |
3133 #line 3134 "configure" | 3336 #line 3337 "configure" |
3134 #include "confdefs.h" | 3337 #include "confdefs.h" |
3135 #include <stdlib.h> | 3338 #include <stdlib.h> |
3136 #include <stdarg.h> | 3339 #include <stdarg.h> |
3137 #include <string.h> | 3340 #include <string.h> |
3138 #include <float.h> | 3341 #include <float.h> |
3139 EOF | 3342 EOF |
3140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3141 { (eval echo configure:3142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3344 { (eval echo configure:3345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3142 ac_err=`grep -v '^ *+' conftest.out` | 3345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3143 if test -z "$ac_err"; then | 3346 if test -z "$ac_err"; then |
3144 rm -rf conftest* | 3347 rm -rf conftest* |
3145 ac_cv_header_stdc=yes | 3348 ac_cv_header_stdc=yes |
3146 else | 3349 else |
3147 echo "$ac_err" >&5 | 3350 echo "$ac_err" >&5 |
3153 rm -f conftest* | 3356 rm -f conftest* |
3154 | 3357 |
3155 if test $ac_cv_header_stdc = yes; then | 3358 if test $ac_cv_header_stdc = yes; then |
3156 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3157 cat > conftest.$ac_ext <<EOF | 3360 cat > conftest.$ac_ext <<EOF |
3158 #line 3159 "configure" | 3361 #line 3362 "configure" |
3159 #include "confdefs.h" | 3362 #include "confdefs.h" |
3160 #include <string.h> | 3363 #include <string.h> |
3161 EOF | 3364 EOF |
3162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3163 egrep "memchr" >/dev/null 2>&1; then | 3366 egrep "memchr" >/dev/null 2>&1; then |
3171 fi | 3374 fi |
3172 | 3375 |
3173 if test $ac_cv_header_stdc = yes; then | 3376 if test $ac_cv_header_stdc = yes; then |
3174 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3377 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3175 cat > conftest.$ac_ext <<EOF | 3378 cat > conftest.$ac_ext <<EOF |
3176 #line 3177 "configure" | 3379 #line 3380 "configure" |
3177 #include "confdefs.h" | 3380 #include "confdefs.h" |
3178 #include <stdlib.h> | 3381 #include <stdlib.h> |
3179 EOF | 3382 EOF |
3180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3181 egrep "free" >/dev/null 2>&1; then | 3384 egrep "free" >/dev/null 2>&1; then |
3189 fi | 3392 fi |
3190 | 3393 |
3191 if test $ac_cv_header_stdc = yes; then | 3394 if test $ac_cv_header_stdc = yes; then |
3192 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3395 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3193 cat > conftest.$ac_ext <<EOF | 3396 cat > conftest.$ac_ext <<EOF |
3194 #line 3195 "configure" | 3397 #line 3398 "configure" |
3195 #include "confdefs.h" | 3398 #include "confdefs.h" |
3196 #include <ctype.h> | 3399 #include <ctype.h> |
3197 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3400 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3198 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3401 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3199 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3402 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3200 int main () { int i; for (i = 0; i < 256; i++) | 3403 int main () { int i; for (i = 0; i < 256; i++) |
3201 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3404 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3202 exit (0); } | 3405 exit (0); } |
3203 | 3406 |
3204 EOF | 3407 EOF |
3205 if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3408 if { (eval echo configure:3409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3206 then | 3409 then |
3207 : | 3410 : |
3208 else | 3411 else |
3209 conftest_rc="$?" | 3412 conftest_rc="$?" |
3210 echo "configure: failed program was:" >&5 | 3413 echo "configure: failed program was:" >&5 |
3226 } | 3429 } |
3227 | 3430 |
3228 fi | 3431 fi |
3229 | 3432 |
3230 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3433 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3231 echo "configure:3232: checking whether time.h and sys/time.h may both be included" >&5 | 3434 echo "configure:3435: checking whether time.h and sys/time.h may both be included" >&5 |
3232 | 3435 |
3233 cat > conftest.$ac_ext <<EOF | 3436 cat > conftest.$ac_ext <<EOF |
3234 #line 3235 "configure" | 3437 #line 3438 "configure" |
3235 #include "confdefs.h" | 3438 #include "confdefs.h" |
3236 #include <sys/types.h> | 3439 #include <sys/types.h> |
3237 #include <sys/time.h> | 3440 #include <sys/time.h> |
3238 #include <time.h> | 3441 #include <time.h> |
3239 int main() { | 3442 int main() { |
3240 struct tm *tp; | 3443 struct tm *tp; |
3241 ; return 0; } | 3444 ; return 0; } |
3242 EOF | 3445 EOF |
3243 if { (eval echo configure:3244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3446 if { (eval echo configure:3447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3244 rm -rf conftest* | 3447 rm -rf conftest* |
3245 ac_cv_header_time=yes | 3448 ac_cv_header_time=yes |
3246 else | 3449 else |
3247 echo "configure: failed program was:" >&5 | 3450 echo "configure: failed program was:" >&5 |
3248 cat conftest.$ac_ext >&5 | 3451 cat conftest.$ac_ext >&5 |
3262 } | 3465 } |
3263 | 3466 |
3264 fi | 3467 fi |
3265 | 3468 |
3266 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3469 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3267 echo "configure:3268: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3470 echo "configure:3471: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3268 | 3471 |
3269 cat > conftest.$ac_ext <<EOF | 3472 cat > conftest.$ac_ext <<EOF |
3270 #line 3271 "configure" | 3473 #line 3474 "configure" |
3271 #include "confdefs.h" | 3474 #include "confdefs.h" |
3272 #include <sys/types.h> | 3475 #include <sys/types.h> |
3273 #include <signal.h> | 3476 #include <signal.h> |
3274 /* NetBSD declares sys_siglist in unistd.h. */ | 3477 /* NetBSD declares sys_siglist in unistd.h. */ |
3275 #ifdef HAVE_UNISTD_H | 3478 #ifdef HAVE_UNISTD_H |
3277 #endif | 3480 #endif |
3278 int main() { | 3481 int main() { |
3279 char *msg = *(sys_siglist + 1); | 3482 char *msg = *(sys_siglist + 1); |
3280 ; return 0; } | 3483 ; return 0; } |
3281 EOF | 3484 EOF |
3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3485 if { (eval echo configure:3486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3283 rm -rf conftest* | 3486 rm -rf conftest* |
3284 ac_cv_decl_sys_siglist=yes | 3487 ac_cv_decl_sys_siglist=yes |
3285 else | 3488 else |
3286 echo "configure: failed program was:" >&5 | 3489 echo "configure: failed program was:" >&5 |
3287 cat conftest.$ac_ext >&5 | 3490 cat conftest.$ac_ext >&5 |
3302 | 3505 |
3303 fi | 3506 fi |
3304 | 3507 |
3305 | 3508 |
3306 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3509 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3307 echo "configure:3308: checking for struct utimbuf" >&5 | 3510 echo "configure:3511: checking for struct utimbuf" >&5 |
3308 cat > conftest.$ac_ext <<EOF | 3511 cat > conftest.$ac_ext <<EOF |
3309 #line 3310 "configure" | 3512 #line 3513 "configure" |
3310 #include "confdefs.h" | 3513 #include "confdefs.h" |
3311 #ifdef TIME_WITH_SYS_TIME | 3514 #ifdef TIME_WITH_SYS_TIME |
3312 #include <sys/time.h> | 3515 #include <sys/time.h> |
3313 #include <time.h> | 3516 #include <time.h> |
3314 #else | 3517 #else |
3323 #endif | 3526 #endif |
3324 int main() { | 3527 int main() { |
3325 static struct utimbuf x; x.actime = x.modtime; | 3528 static struct utimbuf x; x.actime = x.modtime; |
3326 ; return 0; } | 3529 ; return 0; } |
3327 EOF | 3530 EOF |
3328 if { (eval echo configure:3329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3531 if { (eval echo configure:3532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3329 rm -rf conftest* | 3532 rm -rf conftest* |
3330 echo "$ac_t""yes" 1>&6 | 3533 echo "$ac_t""yes" 1>&6 |
3331 { test "$extra_verbose" = "yes" && cat << \EOF | 3534 { test "$extra_verbose" = "yes" && cat << \EOF |
3332 Defining HAVE_STRUCT_UTIMBUF | 3535 Defining HAVE_STRUCT_UTIMBUF |
3333 EOF | 3536 EOF |
3343 echo "$ac_t""no" 1>&6 | 3546 echo "$ac_t""no" 1>&6 |
3344 fi | 3547 fi |
3345 rm -f conftest* | 3548 rm -f conftest* |
3346 | 3549 |
3347 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3550 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3348 echo "configure:3349: checking return type of signal handlers" >&5 | 3551 echo "configure:3552: checking return type of signal handlers" >&5 |
3349 | 3552 |
3350 cat > conftest.$ac_ext <<EOF | 3553 cat > conftest.$ac_ext <<EOF |
3351 #line 3352 "configure" | 3554 #line 3555 "configure" |
3352 #include "confdefs.h" | 3555 #include "confdefs.h" |
3353 #include <sys/types.h> | 3556 #include <sys/types.h> |
3354 #include <signal.h> | 3557 #include <signal.h> |
3355 #ifdef signal | 3558 #ifdef signal |
3356 #undef signal | 3559 #undef signal |
3363 | 3566 |
3364 int main() { | 3567 int main() { |
3365 int i; | 3568 int i; |
3366 ; return 0; } | 3569 ; return 0; } |
3367 EOF | 3570 EOF |
3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3571 if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3369 rm -rf conftest* | 3572 rm -rf conftest* |
3370 ac_cv_type_signal=void | 3573 ac_cv_type_signal=void |
3371 else | 3574 else |
3372 echo "configure: failed program was:" >&5 | 3575 echo "configure: failed program was:" >&5 |
3373 cat conftest.$ac_ext >&5 | 3576 cat conftest.$ac_ext >&5 |
3385 EOF | 3588 EOF |
3386 } | 3589 } |
3387 | 3590 |
3388 | 3591 |
3389 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3592 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3390 echo "configure:3391: checking for size_t" >&5 | 3593 echo "configure:3594: checking for size_t" >&5 |
3391 | 3594 |
3392 cat > conftest.$ac_ext <<EOF | 3595 cat > conftest.$ac_ext <<EOF |
3393 #line 3394 "configure" | 3596 #line 3597 "configure" |
3394 #include "confdefs.h" | 3597 #include "confdefs.h" |
3395 #include <sys/types.h> | 3598 #include <sys/types.h> |
3396 #if STDC_HEADERS | 3599 #if STDC_HEADERS |
3397 #include <stdlib.h> | 3600 #include <stdlib.h> |
3398 #include <stddef.h> | 3601 #include <stddef.h> |
3399 #endif | 3602 #endif |
3400 EOF | 3603 EOF |
3401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3402 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3605 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3403 rm -rf conftest* | 3606 rm -rf conftest* |
3404 ac_cv_type_size_t=yes | 3607 ac_cv_type_size_t=yes |
3405 else | 3608 else |
3406 rm -rf conftest* | 3609 rm -rf conftest* |
3407 ac_cv_type_size_t=no | 3610 ac_cv_type_size_t=no |
3419 } | 3622 } |
3420 | 3623 |
3421 fi | 3624 fi |
3422 | 3625 |
3423 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3626 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3424 echo "configure:3425: checking for pid_t" >&5 | 3627 echo "configure:3628: checking for pid_t" >&5 |
3425 | 3628 |
3426 cat > conftest.$ac_ext <<EOF | 3629 cat > conftest.$ac_ext <<EOF |
3427 #line 3428 "configure" | 3630 #line 3631 "configure" |
3428 #include "confdefs.h" | 3631 #include "confdefs.h" |
3429 #include <sys/types.h> | 3632 #include <sys/types.h> |
3430 #if STDC_HEADERS | 3633 #if STDC_HEADERS |
3431 #include <stdlib.h> | 3634 #include <stdlib.h> |
3432 #include <stddef.h> | 3635 #include <stddef.h> |
3433 #endif | 3636 #endif |
3434 EOF | 3637 EOF |
3435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3436 egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3639 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3437 rm -rf conftest* | 3640 rm -rf conftest* |
3438 ac_cv_type_pid_t=yes | 3641 ac_cv_type_pid_t=yes |
3439 else | 3642 else |
3440 rm -rf conftest* | 3643 rm -rf conftest* |
3441 ac_cv_type_pid_t=no | 3644 ac_cv_type_pid_t=no |
3453 } | 3656 } |
3454 | 3657 |
3455 fi | 3658 fi |
3456 | 3659 |
3457 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3660 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3458 echo "configure:3459: checking for uid_t in sys/types.h" >&5 | 3661 echo "configure:3662: checking for uid_t in sys/types.h" >&5 |
3459 | 3662 |
3460 cat > conftest.$ac_ext <<EOF | 3663 cat > conftest.$ac_ext <<EOF |
3461 #line 3462 "configure" | 3664 #line 3665 "configure" |
3462 #include "confdefs.h" | 3665 #include "confdefs.h" |
3463 #include <sys/types.h> | 3666 #include <sys/types.h> |
3464 EOF | 3667 EOF |
3465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3466 egrep "uid_t" >/dev/null 2>&1; then | 3669 egrep "uid_t" >/dev/null 2>&1; then |
3492 } | 3695 } |
3493 | 3696 |
3494 fi | 3697 fi |
3495 | 3698 |
3496 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3699 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3497 echo "configure:3498: checking for mode_t" >&5 | 3700 echo "configure:3701: checking for mode_t" >&5 |
3498 | 3701 |
3499 cat > conftest.$ac_ext <<EOF | 3702 cat > conftest.$ac_ext <<EOF |
3500 #line 3501 "configure" | 3703 #line 3704 "configure" |
3501 #include "confdefs.h" | 3704 #include "confdefs.h" |
3502 #include <sys/types.h> | 3705 #include <sys/types.h> |
3503 #if STDC_HEADERS | 3706 #if STDC_HEADERS |
3504 #include <stdlib.h> | 3707 #include <stdlib.h> |
3505 #include <stddef.h> | 3708 #include <stddef.h> |
3506 #endif | 3709 #endif |
3507 EOF | 3710 EOF |
3508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3509 egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3712 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3510 rm -rf conftest* | 3713 rm -rf conftest* |
3511 ac_cv_type_mode_t=yes | 3714 ac_cv_type_mode_t=yes |
3512 else | 3715 else |
3513 rm -rf conftest* | 3716 rm -rf conftest* |
3514 ac_cv_type_mode_t=no | 3717 ac_cv_type_mode_t=no |
3526 } | 3729 } |
3527 | 3730 |
3528 fi | 3731 fi |
3529 | 3732 |
3530 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3733 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3531 echo "configure:3532: checking for off_t" >&5 | 3734 echo "configure:3735: checking for off_t" >&5 |
3532 | 3735 |
3533 cat > conftest.$ac_ext <<EOF | 3736 cat > conftest.$ac_ext <<EOF |
3534 #line 3535 "configure" | 3737 #line 3738 "configure" |
3535 #include "confdefs.h" | 3738 #include "confdefs.h" |
3536 #include <sys/types.h> | 3739 #include <sys/types.h> |
3537 #if STDC_HEADERS | 3740 #if STDC_HEADERS |
3538 #include <stdlib.h> | 3741 #include <stdlib.h> |
3539 #include <stddef.h> | 3742 #include <stddef.h> |
3540 #endif | 3743 #endif |
3541 EOF | 3744 EOF |
3542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3543 egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 3746 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
3544 rm -rf conftest* | 3747 rm -rf conftest* |
3545 ac_cv_type_off_t=yes | 3748 ac_cv_type_off_t=yes |
3546 else | 3749 else |
3547 rm -rf conftest* | 3750 rm -rf conftest* |
3548 ac_cv_type_off_t=no | 3751 ac_cv_type_off_t=no |
3561 | 3764 |
3562 fi | 3765 fi |
3563 | 3766 |
3564 | 3767 |
3565 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3768 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3566 echo "configure:3567: checking for struct timeval" >&5 | 3769 echo "configure:3770: checking for struct timeval" >&5 |
3567 cat > conftest.$ac_ext <<EOF | 3770 cat > conftest.$ac_ext <<EOF |
3568 #line 3569 "configure" | 3771 #line 3772 "configure" |
3569 #include "confdefs.h" | 3772 #include "confdefs.h" |
3570 #ifdef TIME_WITH_SYS_TIME | 3773 #ifdef TIME_WITH_SYS_TIME |
3571 #include <sys/time.h> | 3774 #include <sys/time.h> |
3572 #include <time.h> | 3775 #include <time.h> |
3573 #else | 3776 #else |
3579 #endif | 3782 #endif |
3580 int main() { | 3783 int main() { |
3581 static struct timeval x; x.tv_sec = x.tv_usec; | 3784 static struct timeval x; x.tv_sec = x.tv_usec; |
3582 ; return 0; } | 3785 ; return 0; } |
3583 EOF | 3786 EOF |
3584 if { (eval echo configure:3585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3787 if { (eval echo configure:3788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3585 rm -rf conftest* | 3788 rm -rf conftest* |
3586 echo "$ac_t""yes" 1>&6 | 3789 echo "$ac_t""yes" 1>&6 |
3587 HAVE_TIMEVAL=yes | 3790 HAVE_TIMEVAL=yes |
3588 { test "$extra_verbose" = "yes" && cat << \EOF | 3791 { test "$extra_verbose" = "yes" && cat << \EOF |
3589 Defining HAVE_TIMEVAL | 3792 Defining HAVE_TIMEVAL |
3601 HAVE_TIMEVAL=no | 3804 HAVE_TIMEVAL=no |
3602 fi | 3805 fi |
3603 rm -f conftest* | 3806 rm -f conftest* |
3604 | 3807 |
3605 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3808 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3606 echo "configure:3607: checking whether struct tm is in sys/time.h or time.h" >&5 | 3809 echo "configure:3810: checking whether struct tm is in sys/time.h or time.h" >&5 |
3607 | 3810 |
3608 cat > conftest.$ac_ext <<EOF | 3811 cat > conftest.$ac_ext <<EOF |
3609 #line 3610 "configure" | 3812 #line 3813 "configure" |
3610 #include "confdefs.h" | 3813 #include "confdefs.h" |
3611 #include <sys/types.h> | 3814 #include <sys/types.h> |
3612 #include <time.h> | 3815 #include <time.h> |
3613 int main() { | 3816 int main() { |
3614 struct tm *tp; tp->tm_sec; | 3817 struct tm *tp; tp->tm_sec; |
3615 ; return 0; } | 3818 ; return 0; } |
3616 EOF | 3819 EOF |
3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3820 if { (eval echo configure:3821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3618 rm -rf conftest* | 3821 rm -rf conftest* |
3619 ac_cv_struct_tm=time.h | 3822 ac_cv_struct_tm=time.h |
3620 else | 3823 else |
3621 echo "configure: failed program was:" >&5 | 3824 echo "configure: failed program was:" >&5 |
3622 cat conftest.$ac_ext >&5 | 3825 cat conftest.$ac_ext >&5 |
3636 } | 3839 } |
3637 | 3840 |
3638 fi | 3841 fi |
3639 | 3842 |
3640 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3843 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3641 echo "configure:3642: checking for tm_zone in struct tm" >&5 | 3844 echo "configure:3845: checking for tm_zone in struct tm" >&5 |
3642 | 3845 |
3643 cat > conftest.$ac_ext <<EOF | 3846 cat > conftest.$ac_ext <<EOF |
3644 #line 3645 "configure" | 3847 #line 3848 "configure" |
3645 #include "confdefs.h" | 3848 #include "confdefs.h" |
3646 #include <sys/types.h> | 3849 #include <sys/types.h> |
3647 #include <$ac_cv_struct_tm> | 3850 #include <$ac_cv_struct_tm> |
3648 int main() { | 3851 int main() { |
3649 struct tm tm; tm.tm_zone; | 3852 struct tm tm; tm.tm_zone; |
3650 ; return 0; } | 3853 ; return 0; } |
3651 EOF | 3854 EOF |
3652 if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3855 if { (eval echo configure:3856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3653 rm -rf conftest* | 3856 rm -rf conftest* |
3654 ac_cv_struct_tm_zone=yes | 3857 ac_cv_struct_tm_zone=yes |
3655 else | 3858 else |
3656 echo "configure: failed program was:" >&5 | 3859 echo "configure: failed program was:" >&5 |
3657 cat conftest.$ac_ext >&5 | 3860 cat conftest.$ac_ext >&5 |
3670 EOF | 3873 EOF |
3671 } | 3874 } |
3672 | 3875 |
3673 else | 3876 else |
3674 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3877 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3675 echo "configure:3676: checking for tzname" >&5 | 3878 echo "configure:3879: checking for tzname" >&5 |
3676 | 3879 |
3677 cat > conftest.$ac_ext <<EOF | 3880 cat > conftest.$ac_ext <<EOF |
3678 #line 3679 "configure" | 3881 #line 3882 "configure" |
3679 #include "confdefs.h" | 3882 #include "confdefs.h" |
3680 #include <time.h> | 3883 #include <time.h> |
3681 #ifndef tzname /* For SGI. */ | 3884 #ifndef tzname /* For SGI. */ |
3682 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3885 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3683 #endif | 3886 #endif |
3684 int main() { | 3887 int main() { |
3685 atoi(*tzname); | 3888 atoi(*tzname); |
3686 ; return 0; } | 3889 ; return 0; } |
3687 EOF | 3890 EOF |
3688 if { (eval echo configure:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3891 if { (eval echo configure:3892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3689 rm -rf conftest* | 3892 rm -rf conftest* |
3690 ac_cv_var_tzname=yes | 3893 ac_cv_var_tzname=yes |
3691 else | 3894 else |
3692 echo "configure: failed program was:" >&5 | 3895 echo "configure: failed program was:" >&5 |
3693 cat conftest.$ac_ext >&5 | 3896 cat conftest.$ac_ext >&5 |
3709 fi | 3912 fi |
3710 fi | 3913 fi |
3711 | 3914 |
3712 | 3915 |
3713 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3916 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3714 echo "configure:3715: checking for working const" >&5 | 3917 echo "configure:3918: checking for working const" >&5 |
3715 | 3918 |
3716 cat > conftest.$ac_ext <<EOF | 3919 cat > conftest.$ac_ext <<EOF |
3717 #line 3718 "configure" | 3920 #line 3921 "configure" |
3718 #include "confdefs.h" | 3921 #include "confdefs.h" |
3719 | 3922 |
3720 int main() { | 3923 int main() { |
3721 | 3924 |
3722 /* Ultrix mips cc rejects this. */ | 3925 /* Ultrix mips cc rejects this. */ |
3761 const int foo = 10; | 3964 const int foo = 10; |
3762 } | 3965 } |
3763 | 3966 |
3764 ; return 0; } | 3967 ; return 0; } |
3765 EOF | 3968 EOF |
3766 if { (eval echo configure:3767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3969 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3767 rm -rf conftest* | 3970 rm -rf conftest* |
3768 ac_cv_c_const=yes | 3971 ac_cv_c_const=yes |
3769 else | 3972 else |
3770 echo "configure: failed program was:" >&5 | 3973 echo "configure: failed program was:" >&5 |
3771 cat conftest.$ac_ext >&5 | 3974 cat conftest.$ac_ext >&5 |
3786 | 3989 |
3787 fi | 3990 fi |
3788 | 3991 |
3789 | 3992 |
3790 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3993 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3791 echo "configure:3792: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3994 echo "configure:3995: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3792 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3995 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3793 | 3996 |
3794 cat > conftestmake <<\EOF | 3997 cat > conftestmake <<\EOF |
3795 all: | 3998 all: |
3796 @echo 'ac_maketemp="${MAKE}"' | 3999 @echo 'ac_maketemp="${MAKE}"' |
3811 SET_MAKE="MAKE=${MAKE-make}" | 4014 SET_MAKE="MAKE=${MAKE-make}" |
3812 fi | 4015 fi |
3813 | 4016 |
3814 | 4017 |
3815 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4018 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3816 echo "configure:3817: checking whether byte ordering is bigendian" >&5 | 4019 echo "configure:4020: checking whether byte ordering is bigendian" >&5 |
3817 | 4020 |
3818 ac_cv_c_bigendian=unknown | 4021 ac_cv_c_bigendian=unknown |
3819 # See if sys/param.h defines the BYTE_ORDER macro. | 4022 # See if sys/param.h defines the BYTE_ORDER macro. |
3820 cat > conftest.$ac_ext <<EOF | 4023 cat > conftest.$ac_ext <<EOF |
3821 #line 3822 "configure" | 4024 #line 4025 "configure" |
3822 #include "confdefs.h" | 4025 #include "confdefs.h" |
3823 #include <sys/types.h> | 4026 #include <sys/types.h> |
3824 #include <sys/param.h> | 4027 #include <sys/param.h> |
3825 int main() { | 4028 int main() { |
3826 | 4029 |
3827 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4030 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3828 bogus endian macros | 4031 bogus endian macros |
3829 #endif | 4032 #endif |
3830 ; return 0; } | 4033 ; return 0; } |
3831 EOF | 4034 EOF |
3832 if { (eval echo configure:3833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4035 if { (eval echo configure:4036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3833 rm -rf conftest* | 4036 rm -rf conftest* |
3834 # It does; now see whether it defined to BIG_ENDIAN or not. | 4037 # It does; now see whether it defined to BIG_ENDIAN or not. |
3835 cat > conftest.$ac_ext <<EOF | 4038 cat > conftest.$ac_ext <<EOF |
3836 #line 3837 "configure" | 4039 #line 4040 "configure" |
3837 #include "confdefs.h" | 4040 #include "confdefs.h" |
3838 #include <sys/types.h> | 4041 #include <sys/types.h> |
3839 #include <sys/param.h> | 4042 #include <sys/param.h> |
3840 int main() { | 4043 int main() { |
3841 | 4044 |
3842 #if BYTE_ORDER != BIG_ENDIAN | 4045 #if BYTE_ORDER != BIG_ENDIAN |
3843 not big endian | 4046 not big endian |
3844 #endif | 4047 #endif |
3845 ; return 0; } | 4048 ; return 0; } |
3846 EOF | 4049 EOF |
3847 if { (eval echo configure:3848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4050 if { (eval echo configure:4051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3848 rm -rf conftest* | 4051 rm -rf conftest* |
3849 ac_cv_c_bigendian=yes | 4052 ac_cv_c_bigendian=yes |
3850 else | 4053 else |
3851 echo "configure: failed program was:" >&5 | 4054 echo "configure: failed program was:" >&5 |
3852 cat conftest.$ac_ext >&5 | 4055 cat conftest.$ac_ext >&5 |
3859 cat conftest.$ac_ext >&5 | 4062 cat conftest.$ac_ext >&5 |
3860 fi | 4063 fi |
3861 rm -f conftest* | 4064 rm -f conftest* |
3862 if test $ac_cv_c_bigendian = unknown; then | 4065 if test $ac_cv_c_bigendian = unknown; then |
3863 cat > conftest.$ac_ext <<EOF | 4066 cat > conftest.$ac_ext <<EOF |
3864 #line 3865 "configure" | 4067 #line 4068 "configure" |
3865 #include "confdefs.h" | 4068 #include "confdefs.h" |
3866 main () { | 4069 main () { |
3867 /* Are we little or big endian? From Harbison&Steele. */ | 4070 /* Are we little or big endian? From Harbison&Steele. */ |
3868 union | 4071 union |
3869 { | 4072 { |
3872 } u; | 4075 } u; |
3873 u.l = 1; | 4076 u.l = 1; |
3874 exit (u.c[sizeof (long) - 1] == 1); | 4077 exit (u.c[sizeof (long) - 1] == 1); |
3875 } | 4078 } |
3876 EOF | 4079 EOF |
3877 if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4080 if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3878 then | 4081 then |
3879 ac_cv_c_bigendian=no | 4082 ac_cv_c_bigendian=no |
3880 else | 4083 else |
3881 conftest_rc="$?" | 4084 conftest_rc="$?" |
3882 echo "configure: failed program was:" >&5 | 4085 echo "configure: failed program was:" >&5 |
3899 | 4102 |
3900 fi | 4103 fi |
3901 | 4104 |
3902 | 4105 |
3903 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4106 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3904 echo "configure:3905: checking size of short" >&5 | 4107 echo "configure:4108: checking size of short" >&5 |
3905 | 4108 |
3906 cat > conftest.$ac_ext <<EOF | 4109 cat > conftest.$ac_ext <<EOF |
3907 #line 3908 "configure" | 4110 #line 4111 "configure" |
3908 #include "confdefs.h" | 4111 #include "confdefs.h" |
3909 #include <stdio.h> | 4112 #include <stdio.h> |
3910 main() | 4113 main() |
3911 { | 4114 { |
3912 FILE *f=fopen("conftestval", "w"); | 4115 FILE *f=fopen("conftestval", "w"); |
3913 if (!f) exit(1); | 4116 if (!f) exit(1); |
3914 fprintf(f, "%d\n", sizeof(short)); | 4117 fprintf(f, "%d\n", sizeof(short)); |
3915 exit(0); | 4118 exit(0); |
3916 } | 4119 } |
3917 EOF | 4120 EOF |
3918 if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4121 if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3919 then | 4122 then |
3920 ac_cv_sizeof_short=`cat conftestval` | 4123 ac_cv_sizeof_short=`cat conftestval` |
3921 else | 4124 else |
3922 conftest_rc="$?" | 4125 conftest_rc="$?" |
3923 echo "configure: failed program was:" >&5 | 4126 echo "configure: failed program was:" >&5 |
3941 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4144 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3942 echo "*** PANIC *** Please examine config.log for compilation errors." | 4145 echo "*** PANIC *** Please examine config.log for compilation errors." |
3943 exit 1 | 4146 exit 1 |
3944 fi | 4147 fi |
3945 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4148 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3946 echo "configure:3947: checking size of int" >&5 | 4149 echo "configure:4150: checking size of int" >&5 |
3947 | 4150 |
3948 cat > conftest.$ac_ext <<EOF | 4151 cat > conftest.$ac_ext <<EOF |
3949 #line 3950 "configure" | 4152 #line 4153 "configure" |
3950 #include "confdefs.h" | 4153 #include "confdefs.h" |
3951 #include <stdio.h> | 4154 #include <stdio.h> |
3952 main() | 4155 main() |
3953 { | 4156 { |
3954 FILE *f=fopen("conftestval", "w"); | 4157 FILE *f=fopen("conftestval", "w"); |
3955 if (!f) exit(1); | 4158 if (!f) exit(1); |
3956 fprintf(f, "%d\n", sizeof(int)); | 4159 fprintf(f, "%d\n", sizeof(int)); |
3957 exit(0); | 4160 exit(0); |
3958 } | 4161 } |
3959 EOF | 4162 EOF |
3960 if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4163 if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3961 then | 4164 then |
3962 ac_cv_sizeof_int=`cat conftestval` | 4165 ac_cv_sizeof_int=`cat conftestval` |
3963 else | 4166 else |
3964 conftest_rc="$?" | 4167 conftest_rc="$?" |
3965 echo "configure: failed program was:" >&5 | 4168 echo "configure: failed program was:" >&5 |
3977 EOF | 4180 EOF |
3978 } | 4181 } |
3979 | 4182 |
3980 | 4183 |
3981 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4184 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3982 echo "configure:3983: checking size of long" >&5 | 4185 echo "configure:4186: checking size of long" >&5 |
3983 | 4186 |
3984 cat > conftest.$ac_ext <<EOF | 4187 cat > conftest.$ac_ext <<EOF |
3985 #line 3986 "configure" | 4188 #line 4189 "configure" |
3986 #include "confdefs.h" | 4189 #include "confdefs.h" |
3987 #include <stdio.h> | 4190 #include <stdio.h> |
3988 main() | 4191 main() |
3989 { | 4192 { |
3990 FILE *f=fopen("conftestval", "w"); | 4193 FILE *f=fopen("conftestval", "w"); |
3991 if (!f) exit(1); | 4194 if (!f) exit(1); |
3992 fprintf(f, "%d\n", sizeof(long)); | 4195 fprintf(f, "%d\n", sizeof(long)); |
3993 exit(0); | 4196 exit(0); |
3994 } | 4197 } |
3995 EOF | 4198 EOF |
3996 if { (eval echo configure:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4199 if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3997 then | 4200 then |
3998 ac_cv_sizeof_long=`cat conftestval` | 4201 ac_cv_sizeof_long=`cat conftestval` |
3999 else | 4202 else |
4000 conftest_rc="$?" | 4203 conftest_rc="$?" |
4001 echo "configure: failed program was:" >&5 | 4204 echo "configure: failed program was:" >&5 |
4013 EOF | 4216 EOF |
4014 } | 4217 } |
4015 | 4218 |
4016 | 4219 |
4017 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4220 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4018 echo "configure:4019: checking size of long long" >&5 | 4221 echo "configure:4222: checking size of long long" >&5 |
4019 | 4222 |
4020 cat > conftest.$ac_ext <<EOF | 4223 cat > conftest.$ac_ext <<EOF |
4021 #line 4022 "configure" | 4224 #line 4225 "configure" |
4022 #include "confdefs.h" | 4225 #include "confdefs.h" |
4023 #include <stdio.h> | 4226 #include <stdio.h> |
4024 main() | 4227 main() |
4025 { | 4228 { |
4026 FILE *f=fopen("conftestval", "w"); | 4229 FILE *f=fopen("conftestval", "w"); |
4027 if (!f) exit(1); | 4230 if (!f) exit(1); |
4028 fprintf(f, "%d\n", sizeof(long long)); | 4231 fprintf(f, "%d\n", sizeof(long long)); |
4029 exit(0); | 4232 exit(0); |
4030 } | 4233 } |
4031 EOF | 4234 EOF |
4032 if { (eval echo configure:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4235 if { (eval echo configure:4236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4033 then | 4236 then |
4034 ac_cv_sizeof_long_long=`cat conftestval` | 4237 ac_cv_sizeof_long_long=`cat conftestval` |
4035 else | 4238 else |
4036 conftest_rc="$?" | 4239 conftest_rc="$?" |
4037 echo "configure: failed program was:" >&5 | 4240 echo "configure: failed program was:" >&5 |
4049 EOF | 4252 EOF |
4050 } | 4253 } |
4051 | 4254 |
4052 | 4255 |
4053 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4256 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4054 echo "configure:4055: checking size of void *" >&5 | 4257 echo "configure:4258: checking size of void *" >&5 |
4055 | 4258 |
4056 cat > conftest.$ac_ext <<EOF | 4259 cat > conftest.$ac_ext <<EOF |
4057 #line 4058 "configure" | 4260 #line 4261 "configure" |
4058 #include "confdefs.h" | 4261 #include "confdefs.h" |
4059 #include <stdio.h> | 4262 #include <stdio.h> |
4060 main() | 4263 main() |
4061 { | 4264 { |
4062 FILE *f=fopen("conftestval", "w"); | 4265 FILE *f=fopen("conftestval", "w"); |
4063 if (!f) exit(1); | 4266 if (!f) exit(1); |
4064 fprintf(f, "%d\n", sizeof(void *)); | 4267 fprintf(f, "%d\n", sizeof(void *)); |
4065 exit(0); | 4268 exit(0); |
4066 } | 4269 } |
4067 EOF | 4270 EOF |
4068 if { (eval echo configure:4069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4271 if { (eval echo configure:4272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4069 then | 4272 then |
4070 ac_cv_sizeof_void_p=`cat conftestval` | 4273 ac_cv_sizeof_void_p=`cat conftestval` |
4071 else | 4274 else |
4072 conftest_rc="$?" | 4275 conftest_rc="$?" |
4073 echo "configure: failed program was:" >&5 | 4276 echo "configure: failed program was:" >&5 |
4086 } | 4289 } |
4087 | 4290 |
4088 | 4291 |
4089 | 4292 |
4090 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4293 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4091 echo "configure:4092: checking for long file names" >&5 | 4294 echo "configure:4295: checking for long file names" >&5 |
4092 | 4295 |
4093 ac_cv_sys_long_file_names=yes | 4296 ac_cv_sys_long_file_names=yes |
4094 # Test for long file names in all the places we know might matter: | 4297 # Test for long file names in all the places we know might matter: |
4095 # . the current directory, where building will happen | 4298 # . the current directory, where building will happen |
4096 # $prefix/lib where we will be installing things | 4299 # $prefix/lib where we will be installing things |
4132 | 4335 |
4133 fi | 4336 fi |
4134 | 4337 |
4135 | 4338 |
4136 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4339 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4137 echo "configure:4138: checking for sin" >&5 | 4340 echo "configure:4341: checking for sin" >&5 |
4138 | 4341 |
4139 cat > conftest.$ac_ext <<EOF | 4342 cat > conftest.$ac_ext <<EOF |
4140 #line 4141 "configure" | 4343 #line 4344 "configure" |
4141 #include "confdefs.h" | 4344 #include "confdefs.h" |
4142 /* System header to define __stub macros and hopefully few prototypes, | 4345 /* System header to define __stub macros and hopefully few prototypes, |
4143 which can conflict with char sin(); below. */ | 4346 which can conflict with char sin(); below. */ |
4144 #include <assert.h> | 4347 #include <assert.h> |
4145 /* Override any gcc2 internal prototype to avoid an error. */ | 4348 /* Override any gcc2 internal prototype to avoid an error. */ |
4158 sin(); | 4361 sin(); |
4159 #endif | 4362 #endif |
4160 | 4363 |
4161 ; return 0; } | 4364 ; return 0; } |
4162 EOF | 4365 EOF |
4163 if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4366 if { (eval echo configure:4367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4164 rm -rf conftest* | 4367 rm -rf conftest* |
4165 eval "ac_cv_func_sin=yes" | 4368 eval "ac_cv_func_sin=yes" |
4166 else | 4369 else |
4167 echo "configure: failed program was:" >&5 | 4370 echo "configure: failed program was:" >&5 |
4168 cat conftest.$ac_ext >&5 | 4371 cat conftest.$ac_ext >&5 |
4176 : | 4379 : |
4177 else | 4380 else |
4178 echo "$ac_t""no" 1>&6 | 4381 echo "$ac_t""no" 1>&6 |
4179 | 4382 |
4180 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4383 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4181 echo "configure:4182: checking for sin in -lm" >&5 | 4384 echo "configure:4385: checking for sin in -lm" >&5 |
4182 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4385 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4183 | 4386 |
4184 xe_check_libs=" -lm " | 4387 xe_check_libs=" -lm " |
4185 cat > conftest.$ac_ext <<EOF | 4388 cat > conftest.$ac_ext <<EOF |
4186 #line 4187 "configure" | 4389 #line 4390 "configure" |
4187 #include "confdefs.h" | 4390 #include "confdefs.h" |
4188 /* Override any gcc2 internal prototype to avoid an error. */ | 4391 /* Override any gcc2 internal prototype to avoid an error. */ |
4189 /* We use char because int might match the return type of a gcc2 | 4392 /* We use char because int might match the return type of a gcc2 |
4190 builtin and then its argument prototype would still apply. */ | 4393 builtin and then its argument prototype would still apply. */ |
4191 char sin(); | 4394 char sin(); |
4192 | 4395 |
4193 int main() { | 4396 int main() { |
4194 sin() | 4397 sin() |
4195 ; return 0; } | 4398 ; return 0; } |
4196 EOF | 4399 EOF |
4197 if { (eval echo configure:4198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4400 if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4198 rm -rf conftest* | 4401 rm -rf conftest* |
4199 eval "ac_cv_lib_$ac_lib_var=yes" | 4402 eval "ac_cv_lib_$ac_lib_var=yes" |
4200 else | 4403 else |
4201 echo "configure: failed program was:" >&5 | 4404 echo "configure: failed program was:" >&5 |
4202 cat conftest.$ac_ext >&5 | 4405 cat conftest.$ac_ext >&5 |
4236 EOF | 4439 EOF |
4237 } | 4440 } |
4238 | 4441 |
4239 | 4442 |
4240 cat > conftest.$ac_ext <<EOF | 4443 cat > conftest.$ac_ext <<EOF |
4241 #line 4242 "configure" | 4444 #line 4445 "configure" |
4242 #include "confdefs.h" | 4445 #include "confdefs.h" |
4243 #include <math.h> | 4446 #include <math.h> |
4244 int main() { | 4447 int main() { |
4245 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4448 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4246 ; return 0; } | 4449 ; return 0; } |
4247 EOF | 4450 EOF |
4248 if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4451 if { (eval echo configure:4452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4249 rm -rf conftest* | 4452 rm -rf conftest* |
4250 { test "$extra_verbose" = "yes" && cat << \EOF | 4453 { test "$extra_verbose" = "yes" && cat << \EOF |
4251 Defining HAVE_INVERSE_HYPERBOLIC | 4454 Defining HAVE_INVERSE_HYPERBOLIC |
4252 EOF | 4455 EOF |
4253 cat >> confdefs.h <<\EOF | 4456 cat >> confdefs.h <<\EOF |
4260 cat conftest.$ac_ext >&5 | 4463 cat conftest.$ac_ext >&5 |
4261 fi | 4464 fi |
4262 rm -f conftest* | 4465 rm -f conftest* |
4263 | 4466 |
4264 echo "checking type of mail spool file locking" 1>&6 | 4467 echo "checking type of mail spool file locking" 1>&6 |
4265 echo "configure:4266: checking type of mail spool file locking" >&5 | 4468 echo "configure:4469: checking type of mail spool file locking" >&5 |
4266 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4469 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4267 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4470 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4268 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4471 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4269 Defining REAL_MAIL_USE_LOCKF | 4472 Defining REAL_MAIL_USE_LOCKF |
4270 EOF | 4473 EOF |
4285 fi | 4488 fi |
4286 | 4489 |
4287 case "$opsys" in decosf*) | 4490 case "$opsys" in decosf*) |
4288 | 4491 |
4289 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4492 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4290 echo "configure:4291: checking for cma_open in -lpthreads" >&5 | 4493 echo "configure:4494: checking for cma_open in -lpthreads" >&5 |
4291 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4494 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4292 | 4495 |
4293 xe_check_libs=" -lpthreads " | 4496 xe_check_libs=" -lpthreads " |
4294 cat > conftest.$ac_ext <<EOF | 4497 cat > conftest.$ac_ext <<EOF |
4295 #line 4296 "configure" | 4498 #line 4499 "configure" |
4296 #include "confdefs.h" | 4499 #include "confdefs.h" |
4297 /* Override any gcc2 internal prototype to avoid an error. */ | 4500 /* Override any gcc2 internal prototype to avoid an error. */ |
4298 /* We use char because int might match the return type of a gcc2 | 4501 /* We use char because int might match the return type of a gcc2 |
4299 builtin and then its argument prototype would still apply. */ | 4502 builtin and then its argument prototype would still apply. */ |
4300 char cma_open(); | 4503 char cma_open(); |
4301 | 4504 |
4302 int main() { | 4505 int main() { |
4303 cma_open() | 4506 cma_open() |
4304 ; return 0; } | 4507 ; return 0; } |
4305 EOF | 4508 EOF |
4306 if { (eval echo configure:4307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4509 if { (eval echo configure:4510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4307 rm -rf conftest* | 4510 rm -rf conftest* |
4308 eval "ac_cv_lib_$ac_lib_var=yes" | 4511 eval "ac_cv_lib_$ac_lib_var=yes" |
4309 else | 4512 else |
4310 echo "configure: failed program was:" >&5 | 4513 echo "configure: failed program was:" >&5 |
4311 cat conftest.$ac_ext >&5 | 4514 cat conftest.$ac_ext >&5 |
4337 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4540 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4338 c_switch_site="$c_switch_site -threads" ;; | 4541 c_switch_site="$c_switch_site -threads" ;; |
4339 esac | 4542 esac |
4340 | 4543 |
4341 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4544 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4342 echo "configure:4343: checking whether the -xildoff compiler flag is required" >&5 | 4545 echo "configure:4546: checking whether the -xildoff compiler flag is required" >&5 |
4343 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4546 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4344 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4547 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4345 then echo "$ac_t""no" 1>&6; | 4548 then echo "$ac_t""no" 1>&6; |
4346 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 | 4549 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 |
4347 fi | 4550 fi |
4348 else echo "$ac_t""no" 1>&6 | 4551 else echo "$ac_t""no" 1>&6 |
4349 fi | 4552 fi |
4350 | 4553 |
4351 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4554 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4352 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4555 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4353 echo "configure:4354: checking for \"-z ignore\" linker flag" >&5 | 4556 echo "configure:4557: checking for \"-z ignore\" linker flag" >&5 |
4354 case "`ld -h 2>&1`" in | 4557 case "`ld -h 2>&1`" in |
4355 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4558 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4356 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4559 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4357 *) echo "$ac_t""no" 1>&6 ;; | 4560 *) echo "$ac_t""no" 1>&6 ;; |
4358 esac | 4561 esac |
4359 fi | 4562 fi |
4360 | 4563 |
4361 | 4564 |
4362 echo "checking "for specified window system"" 1>&6 | 4565 echo "checking "for specified window system"" 1>&6 |
4363 echo "configure:4364: checking "for specified window system"" >&5 | 4566 echo "configure:4567: checking "for specified window system"" >&5 |
4364 | 4567 |
4365 if test "$with_x11" != "no"; then | 4568 if test "$with_x11" != "no"; then |
4366 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4569 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4367 window_system=x11 with_x11=yes | 4570 window_system=x11 with_x11=yes |
4368 | 4571 |
4391 # If we find X, set shell vars x_includes and x_libraries to the | 4594 # If we find X, set shell vars x_includes and x_libraries to the |
4392 # paths, otherwise set no_x=yes. | 4595 # paths, otherwise set no_x=yes. |
4393 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4596 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4394 # --without-x overrides everything else, but does not touch the cache. | 4597 # --without-x overrides everything else, but does not touch the cache. |
4395 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4598 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4396 echo "configure:4397: checking for X" >&5 | 4599 echo "configure:4600: checking for X" >&5 |
4397 | 4600 |
4398 # Check whether --with-x or --without-x was given. | 4601 # Check whether --with-x or --without-x was given. |
4399 if test "${with_x+set}" = set; then | 4602 if test "${with_x+set}" = set; then |
4400 withval="$with_x" | 4603 withval="$with_x" |
4401 : | 4604 : |
4451 # Guess where to find include files, by looking for this one X11 .h file. | 4654 # Guess where to find include files, by looking for this one X11 .h file. |
4452 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4655 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4453 | 4656 |
4454 # First, try using that file with no special directory specified. | 4657 # First, try using that file with no special directory specified. |
4455 cat > conftest.$ac_ext <<EOF | 4658 cat > conftest.$ac_ext <<EOF |
4456 #line 4457 "configure" | 4659 #line 4660 "configure" |
4457 #include "confdefs.h" | 4660 #include "confdefs.h" |
4458 #include <$x_direct_test_include> | 4661 #include <$x_direct_test_include> |
4459 EOF | 4662 EOF |
4460 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4461 { (eval echo configure:4462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4664 { (eval echo configure:4665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4462 ac_err=`grep -v '^ *+' conftest.out` | 4665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4463 if test -z "$ac_err"; then | 4666 if test -z "$ac_err"; then |
4464 rm -rf conftest* | 4667 rm -rf conftest* |
4465 # We can compile using X headers with no special include directory. | 4668 # We can compile using X headers with no special include directory. |
4466 ac_x_includes= | 4669 ac_x_includes= |
4467 else | 4670 else |
4525 # See if we find them without any special options. | 4728 # See if we find them without any special options. |
4526 # Don't add to $LIBS permanently. | 4729 # Don't add to $LIBS permanently. |
4527 ac_save_LIBS="$LIBS" | 4730 ac_save_LIBS="$LIBS" |
4528 LIBS="-l$x_direct_test_library $LIBS" | 4731 LIBS="-l$x_direct_test_library $LIBS" |
4529 cat > conftest.$ac_ext <<EOF | 4732 cat > conftest.$ac_ext <<EOF |
4530 #line 4531 "configure" | 4733 #line 4734 "configure" |
4531 #include "confdefs.h" | 4734 #include "confdefs.h" |
4532 | 4735 |
4533 int main() { | 4736 int main() { |
4534 ${x_direct_test_function}() | 4737 ${x_direct_test_function}() |
4535 ; return 0; } | 4738 ; return 0; } |
4536 EOF | 4739 EOF |
4537 if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4538 rm -rf conftest* | 4741 rm -rf conftest* |
4539 LIBS="$ac_save_LIBS" | 4742 LIBS="$ac_save_LIBS" |
4540 # We can link X programs with no special library path. | 4743 # We can link X programs with no special library path. |
4541 ac_x_libraries= | 4744 ac_x_libraries= |
4542 else | 4745 else |
4641 # For Solaris; some versions of Sun CC require a space after -R and | 4844 # For Solaris; some versions of Sun CC require a space after -R and |
4642 # others require no space. Words are not sufficient . . . . | 4845 # others require no space. Words are not sufficient . . . . |
4643 case "`(uname -sr) 2>/dev/null`" in | 4846 case "`(uname -sr) 2>/dev/null`" in |
4644 "SunOS 5"*) | 4847 "SunOS 5"*) |
4645 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4848 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4646 echo "configure:4647: checking whether -R must be followed by a space" >&5 | 4849 echo "configure:4850: checking whether -R must be followed by a space" >&5 |
4647 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4850 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4648 cat > conftest.$ac_ext <<EOF | 4851 cat > conftest.$ac_ext <<EOF |
4649 #line 4650 "configure" | 4852 #line 4853 "configure" |
4650 #include "confdefs.h" | 4853 #include "confdefs.h" |
4651 | 4854 |
4652 int main() { | 4855 int main() { |
4653 | 4856 |
4654 ; return 0; } | 4857 ; return 0; } |
4655 EOF | 4858 EOF |
4656 if { (eval echo configure:4657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4859 if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4657 rm -rf conftest* | 4860 rm -rf conftest* |
4658 ac_R_nospace=yes | 4861 ac_R_nospace=yes |
4659 else | 4862 else |
4660 echo "configure: failed program was:" >&5 | 4863 echo "configure: failed program was:" >&5 |
4661 cat conftest.$ac_ext >&5 | 4864 cat conftest.$ac_ext >&5 |
4667 echo "$ac_t""no" 1>&6 | 4870 echo "$ac_t""no" 1>&6 |
4668 X_LIBS="$X_LIBS -R$x_libraries" | 4871 X_LIBS="$X_LIBS -R$x_libraries" |
4669 else | 4872 else |
4670 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4873 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4671 cat > conftest.$ac_ext <<EOF | 4874 cat > conftest.$ac_ext <<EOF |
4672 #line 4673 "configure" | 4875 #line 4876 "configure" |
4673 #include "confdefs.h" | 4876 #include "confdefs.h" |
4674 | 4877 |
4675 int main() { | 4878 int main() { |
4676 | 4879 |
4677 ; return 0; } | 4880 ; return 0; } |
4678 EOF | 4881 EOF |
4679 if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4882 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4680 rm -rf conftest* | 4883 rm -rf conftest* |
4681 ac_R_space=yes | 4884 ac_R_space=yes |
4682 else | 4885 else |
4683 echo "configure: failed program was:" >&5 | 4886 echo "configure: failed program was:" >&5 |
4684 cat conftest.$ac_ext >&5 | 4887 cat conftest.$ac_ext >&5 |
4710 if test "$with_dnet" = "no" ; then | 4913 if test "$with_dnet" = "no" ; then |
4711 ac_cv_lib_dnet_dnet_ntoa=no | 4914 ac_cv_lib_dnet_dnet_ntoa=no |
4712 else | 4915 else |
4713 | 4916 |
4714 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4917 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4715 echo "configure:4716: checking for dnet_ntoa in -ldnet" >&5 | 4918 echo "configure:4919: checking for dnet_ntoa in -ldnet" >&5 |
4716 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4919 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4717 | 4920 |
4718 xe_check_libs=" -ldnet " | 4921 xe_check_libs=" -ldnet " |
4719 cat > conftest.$ac_ext <<EOF | 4922 cat > conftest.$ac_ext <<EOF |
4720 #line 4721 "configure" | 4923 #line 4924 "configure" |
4721 #include "confdefs.h" | 4924 #include "confdefs.h" |
4722 /* Override any gcc2 internal prototype to avoid an error. */ | 4925 /* Override any gcc2 internal prototype to avoid an error. */ |
4723 /* We use char because int might match the return type of a gcc2 | 4926 /* We use char because int might match the return type of a gcc2 |
4724 builtin and then its argument prototype would still apply. */ | 4927 builtin and then its argument prototype would still apply. */ |
4725 char dnet_ntoa(); | 4928 char dnet_ntoa(); |
4726 | 4929 |
4727 int main() { | 4930 int main() { |
4728 dnet_ntoa() | 4931 dnet_ntoa() |
4729 ; return 0; } | 4932 ; return 0; } |
4730 EOF | 4933 EOF |
4731 if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4732 rm -rf conftest* | 4935 rm -rf conftest* |
4733 eval "ac_cv_lib_$ac_lib_var=yes" | 4936 eval "ac_cv_lib_$ac_lib_var=yes" |
4734 else | 4937 else |
4735 echo "configure: failed program was:" >&5 | 4938 echo "configure: failed program was:" >&5 |
4736 cat conftest.$ac_ext >&5 | 4939 cat conftest.$ac_ext >&5 |
4750 fi | 4953 fi |
4751 | 4954 |
4752 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4955 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4753 | 4956 |
4754 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4957 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4755 echo "configure:4756: checking for dnet_ntoa in -ldnet_stub" >&5 | 4958 echo "configure:4959: checking for dnet_ntoa in -ldnet_stub" >&5 |
4756 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4959 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4757 | 4960 |
4758 xe_check_libs=" -ldnet_stub " | 4961 xe_check_libs=" -ldnet_stub " |
4759 cat > conftest.$ac_ext <<EOF | 4962 cat > conftest.$ac_ext <<EOF |
4760 #line 4761 "configure" | 4963 #line 4964 "configure" |
4761 #include "confdefs.h" | 4964 #include "confdefs.h" |
4762 /* Override any gcc2 internal prototype to avoid an error. */ | 4965 /* Override any gcc2 internal prototype to avoid an error. */ |
4763 /* We use char because int might match the return type of a gcc2 | 4966 /* We use char because int might match the return type of a gcc2 |
4764 builtin and then its argument prototype would still apply. */ | 4967 builtin and then its argument prototype would still apply. */ |
4765 char dnet_ntoa(); | 4968 char dnet_ntoa(); |
4766 | 4969 |
4767 int main() { | 4970 int main() { |
4768 dnet_ntoa() | 4971 dnet_ntoa() |
4769 ; return 0; } | 4972 ; return 0; } |
4770 EOF | 4973 EOF |
4771 if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4974 if { (eval echo configure:4975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4772 rm -rf conftest* | 4975 rm -rf conftest* |
4773 eval "ac_cv_lib_$ac_lib_var=yes" | 4976 eval "ac_cv_lib_$ac_lib_var=yes" |
4774 else | 4977 else |
4775 echo "configure: failed program was:" >&5 | 4978 echo "configure: failed program was:" >&5 |
4776 cat conftest.$ac_ext >&5 | 4979 cat conftest.$ac_ext >&5 |
4795 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4998 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4796 # needs -lnsl. | 4999 # needs -lnsl. |
4797 # The nsl library prevents programs from opening the X display | 5000 # The nsl library prevents programs from opening the X display |
4798 # on Irix 5.2, according to dickey@clark.net. | 5001 # on Irix 5.2, according to dickey@clark.net. |
4799 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5002 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4800 echo "configure:4801: checking for gethostbyname" >&5 | 5003 echo "configure:5004: checking for gethostbyname" >&5 |
4801 | 5004 |
4802 cat > conftest.$ac_ext <<EOF | 5005 cat > conftest.$ac_ext <<EOF |
4803 #line 4804 "configure" | 5006 #line 5007 "configure" |
4804 #include "confdefs.h" | 5007 #include "confdefs.h" |
4805 /* System header to define __stub macros and hopefully few prototypes, | 5008 /* System header to define __stub macros and hopefully few prototypes, |
4806 which can conflict with char gethostbyname(); below. */ | 5009 which can conflict with char gethostbyname(); below. */ |
4807 #include <assert.h> | 5010 #include <assert.h> |
4808 /* Override any gcc2 internal prototype to avoid an error. */ | 5011 /* Override any gcc2 internal prototype to avoid an error. */ |
4821 gethostbyname(); | 5024 gethostbyname(); |
4822 #endif | 5025 #endif |
4823 | 5026 |
4824 ; return 0; } | 5027 ; return 0; } |
4825 EOF | 5028 EOF |
4826 if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4827 rm -rf conftest* | 5030 rm -rf conftest* |
4828 eval "ac_cv_func_gethostbyname=yes" | 5031 eval "ac_cv_func_gethostbyname=yes" |
4829 else | 5032 else |
4830 echo "configure: failed program was:" >&5 | 5033 echo "configure: failed program was:" >&5 |
4831 cat conftest.$ac_ext >&5 | 5034 cat conftest.$ac_ext >&5 |
4842 fi | 5045 fi |
4843 | 5046 |
4844 if test $ac_cv_func_gethostbyname = no; then | 5047 if test $ac_cv_func_gethostbyname = no; then |
4845 | 5048 |
4846 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5049 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4847 echo "configure:4848: checking for gethostbyname in -lnsl" >&5 | 5050 echo "configure:5051: checking for gethostbyname in -lnsl" >&5 |
4848 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5051 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4849 | 5052 |
4850 xe_check_libs=" -lnsl " | 5053 xe_check_libs=" -lnsl " |
4851 cat > conftest.$ac_ext <<EOF | 5054 cat > conftest.$ac_ext <<EOF |
4852 #line 4853 "configure" | 5055 #line 5056 "configure" |
4853 #include "confdefs.h" | 5056 #include "confdefs.h" |
4854 /* Override any gcc2 internal prototype to avoid an error. */ | 5057 /* Override any gcc2 internal prototype to avoid an error. */ |
4855 /* We use char because int might match the return type of a gcc2 | 5058 /* We use char because int might match the return type of a gcc2 |
4856 builtin and then its argument prototype would still apply. */ | 5059 builtin and then its argument prototype would still apply. */ |
4857 char gethostbyname(); | 5060 char gethostbyname(); |
4858 | 5061 |
4859 int main() { | 5062 int main() { |
4860 gethostbyname() | 5063 gethostbyname() |
4861 ; return 0; } | 5064 ; return 0; } |
4862 EOF | 5065 EOF |
4863 if { (eval echo configure:4864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5066 if { (eval echo configure:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4864 rm -rf conftest* | 5067 rm -rf conftest* |
4865 eval "ac_cv_lib_$ac_lib_var=yes" | 5068 eval "ac_cv_lib_$ac_lib_var=yes" |
4866 else | 5069 else |
4867 echo "configure: failed program was:" >&5 | 5070 echo "configure: failed program was:" >&5 |
4868 cat conftest.$ac_ext >&5 | 5071 cat conftest.$ac_ext >&5 |
4888 # on later versions), says simon@lia.di.epfl.ch: it contains | 5091 # on later versions), says simon@lia.di.epfl.ch: it contains |
4889 # gethostby* variants that don't use the nameserver (or something). | 5092 # gethostby* variants that don't use the nameserver (or something). |
4890 # -lsocket must be given before -lnsl if both are needed. | 5093 # -lsocket must be given before -lnsl if both are needed. |
4891 # We assume that if connect needs -lnsl, so does gethostbyname. | 5094 # We assume that if connect needs -lnsl, so does gethostbyname. |
4892 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5095 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4893 echo "configure:4894: checking for connect" >&5 | 5096 echo "configure:5097: checking for connect" >&5 |
4894 | 5097 |
4895 cat > conftest.$ac_ext <<EOF | 5098 cat > conftest.$ac_ext <<EOF |
4896 #line 4897 "configure" | 5099 #line 5100 "configure" |
4897 #include "confdefs.h" | 5100 #include "confdefs.h" |
4898 /* System header to define __stub macros and hopefully few prototypes, | 5101 /* System header to define __stub macros and hopefully few prototypes, |
4899 which can conflict with char connect(); below. */ | 5102 which can conflict with char connect(); below. */ |
4900 #include <assert.h> | 5103 #include <assert.h> |
4901 /* Override any gcc2 internal prototype to avoid an error. */ | 5104 /* Override any gcc2 internal prototype to avoid an error. */ |
4914 connect(); | 5117 connect(); |
4915 #endif | 5118 #endif |
4916 | 5119 |
4917 ; return 0; } | 5120 ; return 0; } |
4918 EOF | 5121 EOF |
4919 if { (eval echo configure:4920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5122 if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4920 rm -rf conftest* | 5123 rm -rf conftest* |
4921 eval "ac_cv_func_connect=yes" | 5124 eval "ac_cv_func_connect=yes" |
4922 else | 5125 else |
4923 echo "configure: failed program was:" >&5 | 5126 echo "configure: failed program was:" >&5 |
4924 cat conftest.$ac_ext >&5 | 5127 cat conftest.$ac_ext >&5 |
4937 if test $ac_cv_func_connect = no; then | 5140 if test $ac_cv_func_connect = no; then |
4938 | 5141 |
4939 xe_msg_checking="for connect in -lsocket" | 5142 xe_msg_checking="for connect in -lsocket" |
4940 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5143 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4941 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5144 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4942 echo "configure:4943: checking "$xe_msg_checking"" >&5 | 5145 echo "configure:5146: checking "$xe_msg_checking"" >&5 |
4943 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5146 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4944 | 5147 |
4945 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5148 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4946 cat > conftest.$ac_ext <<EOF | 5149 cat > conftest.$ac_ext <<EOF |
4947 #line 4948 "configure" | 5150 #line 5151 "configure" |
4948 #include "confdefs.h" | 5151 #include "confdefs.h" |
4949 /* Override any gcc2 internal prototype to avoid an error. */ | 5152 /* Override any gcc2 internal prototype to avoid an error. */ |
4950 /* We use char because int might match the return type of a gcc2 | 5153 /* We use char because int might match the return type of a gcc2 |
4951 builtin and then its argument prototype would still apply. */ | 5154 builtin and then its argument prototype would still apply. */ |
4952 char connect(); | 5155 char connect(); |
4953 | 5156 |
4954 int main() { | 5157 int main() { |
4955 connect() | 5158 connect() |
4956 ; return 0; } | 5159 ; return 0; } |
4957 EOF | 5160 EOF |
4958 if { (eval echo configure:4959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5161 if { (eval echo configure:5162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4959 rm -rf conftest* | 5162 rm -rf conftest* |
4960 eval "ac_cv_lib_$ac_lib_var=yes" | 5163 eval "ac_cv_lib_$ac_lib_var=yes" |
4961 else | 5164 else |
4962 echo "configure: failed program was:" >&5 | 5165 echo "configure: failed program was:" >&5 |
4963 cat conftest.$ac_ext >&5 | 5166 cat conftest.$ac_ext >&5 |
4977 | 5180 |
4978 fi | 5181 fi |
4979 | 5182 |
4980 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5183 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4981 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5184 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4982 echo "configure:4983: checking for remove" >&5 | 5185 echo "configure:5186: checking for remove" >&5 |
4983 | 5186 |
4984 cat > conftest.$ac_ext <<EOF | 5187 cat > conftest.$ac_ext <<EOF |
4985 #line 4986 "configure" | 5188 #line 5189 "configure" |
4986 #include "confdefs.h" | 5189 #include "confdefs.h" |
4987 /* System header to define __stub macros and hopefully few prototypes, | 5190 /* System header to define __stub macros and hopefully few prototypes, |
4988 which can conflict with char remove(); below. */ | 5191 which can conflict with char remove(); below. */ |
4989 #include <assert.h> | 5192 #include <assert.h> |
4990 /* Override any gcc2 internal prototype to avoid an error. */ | 5193 /* Override any gcc2 internal prototype to avoid an error. */ |
5003 remove(); | 5206 remove(); |
5004 #endif | 5207 #endif |
5005 | 5208 |
5006 ; return 0; } | 5209 ; return 0; } |
5007 EOF | 5210 EOF |
5008 if { (eval echo configure:5009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5211 if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5009 rm -rf conftest* | 5212 rm -rf conftest* |
5010 eval "ac_cv_func_remove=yes" | 5213 eval "ac_cv_func_remove=yes" |
5011 else | 5214 else |
5012 echo "configure: failed program was:" >&5 | 5215 echo "configure: failed program was:" >&5 |
5013 cat conftest.$ac_ext >&5 | 5216 cat conftest.$ac_ext >&5 |
5024 fi | 5227 fi |
5025 | 5228 |
5026 if test $ac_cv_func_remove = no; then | 5229 if test $ac_cv_func_remove = no; then |
5027 | 5230 |
5028 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5231 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5029 echo "configure:5030: checking for remove in -lposix" >&5 | 5232 echo "configure:5233: checking for remove in -lposix" >&5 |
5030 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5233 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5031 | 5234 |
5032 xe_check_libs=" -lposix " | 5235 xe_check_libs=" -lposix " |
5033 cat > conftest.$ac_ext <<EOF | 5236 cat > conftest.$ac_ext <<EOF |
5034 #line 5035 "configure" | 5237 #line 5238 "configure" |
5035 #include "confdefs.h" | 5238 #include "confdefs.h" |
5036 /* Override any gcc2 internal prototype to avoid an error. */ | 5239 /* Override any gcc2 internal prototype to avoid an error. */ |
5037 /* We use char because int might match the return type of a gcc2 | 5240 /* We use char because int might match the return type of a gcc2 |
5038 builtin and then its argument prototype would still apply. */ | 5241 builtin and then its argument prototype would still apply. */ |
5039 char remove(); | 5242 char remove(); |
5040 | 5243 |
5041 int main() { | 5244 int main() { |
5042 remove() | 5245 remove() |
5043 ; return 0; } | 5246 ; return 0; } |
5044 EOF | 5247 EOF |
5045 if { (eval echo configure:5046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5248 if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5046 rm -rf conftest* | 5249 rm -rf conftest* |
5047 eval "ac_cv_lib_$ac_lib_var=yes" | 5250 eval "ac_cv_lib_$ac_lib_var=yes" |
5048 else | 5251 else |
5049 echo "configure: failed program was:" >&5 | 5252 echo "configure: failed program was:" >&5 |
5050 cat conftest.$ac_ext >&5 | 5253 cat conftest.$ac_ext >&5 |
5064 | 5267 |
5065 fi | 5268 fi |
5066 | 5269 |
5067 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5270 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5068 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5271 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5069 echo "configure:5070: checking for shmat" >&5 | 5272 echo "configure:5273: checking for shmat" >&5 |
5070 | 5273 |
5071 cat > conftest.$ac_ext <<EOF | 5274 cat > conftest.$ac_ext <<EOF |
5072 #line 5073 "configure" | 5275 #line 5276 "configure" |
5073 #include "confdefs.h" | 5276 #include "confdefs.h" |
5074 /* System header to define __stub macros and hopefully few prototypes, | 5277 /* System header to define __stub macros and hopefully few prototypes, |
5075 which can conflict with char shmat(); below. */ | 5278 which can conflict with char shmat(); below. */ |
5076 #include <assert.h> | 5279 #include <assert.h> |
5077 /* Override any gcc2 internal prototype to avoid an error. */ | 5280 /* Override any gcc2 internal prototype to avoid an error. */ |
5090 shmat(); | 5293 shmat(); |
5091 #endif | 5294 #endif |
5092 | 5295 |
5093 ; return 0; } | 5296 ; return 0; } |
5094 EOF | 5297 EOF |
5095 if { (eval echo configure:5096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5298 if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5096 rm -rf conftest* | 5299 rm -rf conftest* |
5097 eval "ac_cv_func_shmat=yes" | 5300 eval "ac_cv_func_shmat=yes" |
5098 else | 5301 else |
5099 echo "configure: failed program was:" >&5 | 5302 echo "configure: failed program was:" >&5 |
5100 cat conftest.$ac_ext >&5 | 5303 cat conftest.$ac_ext >&5 |
5111 fi | 5314 fi |
5112 | 5315 |
5113 if test $ac_cv_func_shmat = no; then | 5316 if test $ac_cv_func_shmat = no; then |
5114 | 5317 |
5115 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5318 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5116 echo "configure:5117: checking for shmat in -lipc" >&5 | 5319 echo "configure:5320: checking for shmat in -lipc" >&5 |
5117 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5320 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5118 | 5321 |
5119 xe_check_libs=" -lipc " | 5322 xe_check_libs=" -lipc " |
5120 cat > conftest.$ac_ext <<EOF | 5323 cat > conftest.$ac_ext <<EOF |
5121 #line 5122 "configure" | 5324 #line 5325 "configure" |
5122 #include "confdefs.h" | 5325 #include "confdefs.h" |
5123 /* Override any gcc2 internal prototype to avoid an error. */ | 5326 /* Override any gcc2 internal prototype to avoid an error. */ |
5124 /* We use char because int might match the return type of a gcc2 | 5327 /* We use char because int might match the return type of a gcc2 |
5125 builtin and then its argument prototype would still apply. */ | 5328 builtin and then its argument prototype would still apply. */ |
5126 char shmat(); | 5329 char shmat(); |
5127 | 5330 |
5128 int main() { | 5331 int main() { |
5129 shmat() | 5332 shmat() |
5130 ; return 0; } | 5333 ; return 0; } |
5131 EOF | 5334 EOF |
5132 if { (eval echo configure:5133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5335 if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5133 rm -rf conftest* | 5336 rm -rf conftest* |
5134 eval "ac_cv_lib_$ac_lib_var=yes" | 5337 eval "ac_cv_lib_$ac_lib_var=yes" |
5135 else | 5338 else |
5136 echo "configure: failed program was:" >&5 | 5339 echo "configure: failed program was:" >&5 |
5137 cat conftest.$ac_ext >&5 | 5340 cat conftest.$ac_ext >&5 |
5160 # we get undefined symbols. So assume we have SM if we have ICE. | 5363 # we get undefined symbols. So assume we have SM if we have ICE. |
5161 # These have to be linked with before -lX11, unlike the other | 5364 # These have to be linked with before -lX11, unlike the other |
5162 # libraries we check for below, so use a different variable. | 5365 # libraries we check for below, so use a different variable. |
5163 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5366 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5164 | 5367 |
5165 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5368 xe_msg_checking="for IceConnectionNumber in -lICE" |
5166 echo "configure:5167: checking for IceConnectionNumber in -lICE" >&5 | 5369 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5370 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
5371 echo "configure:5372: checking "$xe_msg_checking"" >&5 | |
5167 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5372 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5168 | 5373 |
5169 xe_check_libs=" -lICE " | 5374 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5170 cat > conftest.$ac_ext <<EOF | 5375 cat > conftest.$ac_ext <<EOF |
5171 #line 5172 "configure" | 5376 #line 5377 "configure" |
5172 #include "confdefs.h" | 5377 #include "confdefs.h" |
5173 /* Override any gcc2 internal prototype to avoid an error. */ | 5378 /* Override any gcc2 internal prototype to avoid an error. */ |
5174 /* We use char because int might match the return type of a gcc2 | 5379 /* We use char because int might match the return type of a gcc2 |
5175 builtin and then its argument prototype would still apply. */ | 5380 builtin and then its argument prototype would still apply. */ |
5176 char IceConnectionNumber(); | 5381 char IceConnectionNumber(); |
5177 | 5382 |
5178 int main() { | 5383 int main() { |
5179 IceConnectionNumber() | 5384 IceConnectionNumber() |
5180 ; return 0; } | 5385 ; return 0; } |
5181 EOF | 5386 EOF |
5182 if { (eval echo configure:5183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5387 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5183 rm -rf conftest* | 5388 rm -rf conftest* |
5184 eval "ac_cv_lib_$ac_lib_var=yes" | 5389 eval "ac_cv_lib_$ac_lib_var=yes" |
5185 else | 5390 else |
5186 echo "configure: failed program was:" >&5 | 5391 echo "configure: failed program was:" >&5 |
5187 cat conftest.$ac_ext >&5 | 5392 cat conftest.$ac_ext >&5 |
5346 EOF | 5551 EOF |
5347 } | 5552 } |
5348 | 5553 |
5349 | 5554 |
5350 echo "checking for X defines extracted by xmkmf" 1>&6 | 5555 echo "checking for X defines extracted by xmkmf" 1>&6 |
5351 echo "configure:5352: checking for X defines extracted by xmkmf" >&5 | 5556 echo "configure:5557: checking for X defines extracted by xmkmf" >&5 |
5352 rm -fr conftestdir | 5557 rm -fr conftestdir |
5353 if mkdir conftestdir; then | 5558 if mkdir conftestdir; then |
5354 cd conftestdir | 5559 cd conftestdir |
5355 cat > Imakefile <<'EOF' | 5560 cat > Imakefile <<'EOF' |
5356 xetest: | 5561 xetest: |
5378 done | 5583 done |
5379 fi | 5584 fi |
5380 | 5585 |
5381 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5586 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5382 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5587 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5383 echo "configure:5384: checking for X11/Intrinsic.h" >&5 | 5588 echo "configure:5589: checking for X11/Intrinsic.h" >&5 |
5384 | 5589 |
5385 cat > conftest.$ac_ext <<EOF | 5590 cat > conftest.$ac_ext <<EOF |
5386 #line 5387 "configure" | 5591 #line 5592 "configure" |
5387 #include "confdefs.h" | 5592 #include "confdefs.h" |
5388 #include <X11/Intrinsic.h> | 5593 #include <X11/Intrinsic.h> |
5389 EOF | 5594 EOF |
5390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5391 { (eval echo configure:5392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5596 { (eval echo configure:5597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5392 ac_err=`grep -v '^ *+' conftest.out` | 5597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5393 if test -z "$ac_err"; then | 5598 if test -z "$ac_err"; then |
5394 rm -rf conftest* | 5599 rm -rf conftest* |
5395 eval "ac_cv_header_$ac_safe=yes" | 5600 eval "ac_cv_header_$ac_safe=yes" |
5396 else | 5601 else |
5397 echo "$ac_err" >&5 | 5602 echo "$ac_err" >&5 |
5410 fi | 5615 fi |
5411 | 5616 |
5412 | 5617 |
5413 | 5618 |
5414 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5619 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5415 echo "configure:5416: checking for XOpenDisplay in -lX11" >&5 | 5620 echo "configure:5621: checking for XOpenDisplay in -lX11" >&5 |
5416 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5621 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5417 | 5622 |
5418 xe_check_libs=" -lX11 " | 5623 xe_check_libs=" -lX11 " |
5419 cat > conftest.$ac_ext <<EOF | 5624 cat > conftest.$ac_ext <<EOF |
5420 #line 5421 "configure" | 5625 #line 5626 "configure" |
5421 #include "confdefs.h" | 5626 #include "confdefs.h" |
5422 /* Override any gcc2 internal prototype to avoid an error. */ | 5627 /* Override any gcc2 internal prototype to avoid an error. */ |
5423 /* We use char because int might match the return type of a gcc2 | 5628 /* We use char because int might match the return type of a gcc2 |
5424 builtin and then its argument prototype would still apply. */ | 5629 builtin and then its argument prototype would still apply. */ |
5425 char XOpenDisplay(); | 5630 char XOpenDisplay(); |
5426 | 5631 |
5427 int main() { | 5632 int main() { |
5428 XOpenDisplay() | 5633 XOpenDisplay() |
5429 ; return 0; } | 5634 ; return 0; } |
5430 EOF | 5635 EOF |
5431 if { (eval echo configure:5432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5636 if { (eval echo configure:5637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5432 rm -rf conftest* | 5637 rm -rf conftest* |
5433 eval "ac_cv_lib_$ac_lib_var=yes" | 5638 eval "ac_cv_lib_$ac_lib_var=yes" |
5434 else | 5639 else |
5435 echo "configure: failed program was:" >&5 | 5640 echo "configure: failed program was:" >&5 |
5436 cat conftest.$ac_ext >&5 | 5641 cat conftest.$ac_ext >&5 |
5451 if test "$have_lib_x11" != "yes"; then | 5656 if test "$have_lib_x11" != "yes"; then |
5452 | 5657 |
5453 xe_msg_checking="for XGetFontProperty in -lX11" | 5658 xe_msg_checking="for XGetFontProperty in -lX11" |
5454 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5659 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5455 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5660 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5456 echo "configure:5457: checking "$xe_msg_checking"" >&5 | 5661 echo "configure:5662: checking "$xe_msg_checking"" >&5 |
5457 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5662 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5458 | 5663 |
5459 xe_check_libs=" -lX11 -b i486-linuxaout" | 5664 xe_check_libs=" -lX11 -b i486-linuxaout" |
5460 cat > conftest.$ac_ext <<EOF | 5665 cat > conftest.$ac_ext <<EOF |
5461 #line 5462 "configure" | 5666 #line 5667 "configure" |
5462 #include "confdefs.h" | 5667 #include "confdefs.h" |
5463 /* Override any gcc2 internal prototype to avoid an error. */ | 5668 /* Override any gcc2 internal prototype to avoid an error. */ |
5464 /* We use char because int might match the return type of a gcc2 | 5669 /* We use char because int might match the return type of a gcc2 |
5465 builtin and then its argument prototype would still apply. */ | 5670 builtin and then its argument prototype would still apply. */ |
5466 char XGetFontProperty(); | 5671 char XGetFontProperty(); |
5467 | 5672 |
5468 int main() { | 5673 int main() { |
5469 XGetFontProperty() | 5674 XGetFontProperty() |
5470 ; return 0; } | 5675 ; return 0; } |
5471 EOF | 5676 EOF |
5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5677 if { (eval echo configure:5678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5473 rm -rf conftest* | 5678 rm -rf conftest* |
5474 eval "ac_cv_lib_$ac_lib_var=yes" | 5679 eval "ac_cv_lib_$ac_lib_var=yes" |
5475 else | 5680 else |
5476 echo "configure: failed program was:" >&5 | 5681 echo "configure: failed program was:" >&5 |
5477 cat conftest.$ac_ext >&5 | 5682 cat conftest.$ac_ext >&5 |
5494 libs_x="-lX11" | 5699 libs_x="-lX11" |
5495 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5700 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5496 | 5701 |
5497 | 5702 |
5498 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5703 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5499 echo "configure:5500: checking for XShapeSelectInput in -lXext" >&5 | 5704 echo "configure:5705: checking for XShapeSelectInput in -lXext" >&5 |
5500 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5705 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5501 | 5706 |
5502 xe_check_libs=" -lXext " | 5707 xe_check_libs=" -lXext " |
5503 cat > conftest.$ac_ext <<EOF | 5708 cat > conftest.$ac_ext <<EOF |
5504 #line 5505 "configure" | 5709 #line 5710 "configure" |
5505 #include "confdefs.h" | 5710 #include "confdefs.h" |
5506 /* Override any gcc2 internal prototype to avoid an error. */ | 5711 /* Override any gcc2 internal prototype to avoid an error. */ |
5507 /* We use char because int might match the return type of a gcc2 | 5712 /* We use char because int might match the return type of a gcc2 |
5508 builtin and then its argument prototype would still apply. */ | 5713 builtin and then its argument prototype would still apply. */ |
5509 char XShapeSelectInput(); | 5714 char XShapeSelectInput(); |
5510 | 5715 |
5511 int main() { | 5716 int main() { |
5512 XShapeSelectInput() | 5717 XShapeSelectInput() |
5513 ; return 0; } | 5718 ; return 0; } |
5514 EOF | 5719 EOF |
5515 if { (eval echo configure:5516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5720 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5516 rm -rf conftest* | 5721 rm -rf conftest* |
5517 eval "ac_cv_lib_$ac_lib_var=yes" | 5722 eval "ac_cv_lib_$ac_lib_var=yes" |
5518 else | 5723 else |
5519 echo "configure: failed program was:" >&5 | 5724 echo "configure: failed program was:" >&5 |
5520 cat conftest.$ac_ext >&5 | 5725 cat conftest.$ac_ext >&5 |
5533 | 5738 |
5534 | 5739 |
5535 | 5740 |
5536 | 5741 |
5537 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5742 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5538 echo "configure:5539: checking for XtOpenDisplay in -lXt" >&5 | 5743 echo "configure:5744: checking for XtOpenDisplay in -lXt" >&5 |
5539 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5744 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5540 | 5745 |
5541 xe_check_libs=" -lXt " | 5746 xe_check_libs=" -lXt " |
5542 cat > conftest.$ac_ext <<EOF | 5747 cat > conftest.$ac_ext <<EOF |
5543 #line 5544 "configure" | 5748 #line 5749 "configure" |
5544 #include "confdefs.h" | 5749 #include "confdefs.h" |
5545 /* Override any gcc2 internal prototype to avoid an error. */ | 5750 /* Override any gcc2 internal prototype to avoid an error. */ |
5546 /* We use char because int might match the return type of a gcc2 | 5751 /* We use char because int might match the return type of a gcc2 |
5547 builtin and then its argument prototype would still apply. */ | 5752 builtin and then its argument prototype would still apply. */ |
5548 char XtOpenDisplay(); | 5753 char XtOpenDisplay(); |
5549 | 5754 |
5550 int main() { | 5755 int main() { |
5551 XtOpenDisplay() | 5756 XtOpenDisplay() |
5552 ; return 0; } | 5757 ; return 0; } |
5553 EOF | 5758 EOF |
5554 if { (eval echo configure:5555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5759 if { (eval echo configure:5760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5555 rm -rf conftest* | 5760 rm -rf conftest* |
5556 eval "ac_cv_lib_$ac_lib_var=yes" | 5761 eval "ac_cv_lib_$ac_lib_var=yes" |
5557 else | 5762 else |
5558 echo "configure: failed program was:" >&5 | 5763 echo "configure: failed program was:" >&5 |
5559 cat conftest.$ac_ext >&5 | 5764 cat conftest.$ac_ext >&5 |
5572 fi | 5777 fi |
5573 | 5778 |
5574 | 5779 |
5575 | 5780 |
5576 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5781 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5577 echo "configure:5578: checking the version of X11 being used" >&5 | 5782 echo "configure:5783: checking the version of X11 being used" >&5 |
5578 cat > conftest.$ac_ext <<EOF | 5783 cat > conftest.$ac_ext <<EOF |
5579 #line 5580 "configure" | 5784 #line 5785 "configure" |
5580 #include "confdefs.h" | 5785 #include "confdefs.h" |
5581 #include <X11/Intrinsic.h> | 5786 #include <X11/Intrinsic.h> |
5582 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5787 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5583 EOF | 5788 EOF |
5584 if { (eval echo configure:5585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5789 if { (eval echo configure:5790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5585 then | 5790 then |
5586 ./conftest foobar; x11_release=$? | 5791 ./conftest foobar; x11_release=$? |
5587 else | 5792 else |
5588 conftest_rc="$?" | 5793 conftest_rc="$?" |
5589 echo "configure: failed program was:" >&5 | 5794 echo "configure: failed program was:" >&5 |
5604 | 5809 |
5605 for ac_hdr in X11/Xlocale.h | 5810 for ac_hdr in X11/Xlocale.h |
5606 do | 5811 do |
5607 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5812 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5608 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5813 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5609 echo "configure:5610: checking for $ac_hdr" >&5 | 5814 echo "configure:5815: checking for $ac_hdr" >&5 |
5610 | 5815 |
5611 cat > conftest.$ac_ext <<EOF | 5816 cat > conftest.$ac_ext <<EOF |
5612 #line 5613 "configure" | 5817 #line 5818 "configure" |
5613 #include "confdefs.h" | 5818 #include "confdefs.h" |
5614 #include <$ac_hdr> | 5819 #include <$ac_hdr> |
5615 EOF | 5820 EOF |
5616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5617 { (eval echo configure:5618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5822 { (eval echo configure:5823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5618 ac_err=`grep -v '^ *+' conftest.out` | 5823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5619 if test -z "$ac_err"; then | 5824 if test -z "$ac_err"; then |
5620 rm -rf conftest* | 5825 rm -rf conftest* |
5621 eval "ac_cv_header_$ac_safe=yes" | 5826 eval "ac_cv_header_$ac_safe=yes" |
5622 else | 5827 else |
5623 echo "$ac_err" >&5 | 5828 echo "$ac_err" >&5 |
5643 fi | 5848 fi |
5644 done | 5849 done |
5645 | 5850 |
5646 | 5851 |
5647 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5852 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5648 echo "configure:5649: checking for XFree86" >&5 | 5853 echo "configure:5854: checking for XFree86" >&5 |
5649 if test -d "/usr/X386/include" -o \ | 5854 if test -d "/usr/X386/include" -o \ |
5650 -f "/etc/XF86Config" -o \ | 5855 -f "/etc/XF86Config" -o \ |
5651 -f "/etc/X11/XF86Config" -o \ | 5856 -f "/etc/X11/XF86Config" -o \ |
5652 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5857 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5653 echo "$ac_t""yes" 1>&6 | 5858 echo "$ac_t""yes" 1>&6 |
5663 echo "$ac_t""no" 1>&6 | 5868 echo "$ac_t""no" 1>&6 |
5664 fi | 5869 fi |
5665 | 5870 |
5666 test -z "$with_xmu" && { | 5871 test -z "$with_xmu" && { |
5667 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5872 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5668 echo "configure:5669: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5873 echo "configure:5874: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5669 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5874 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5670 | 5875 |
5671 xe_check_libs=" -lXmu " | 5876 xe_check_libs=" -lXmu " |
5672 cat > conftest.$ac_ext <<EOF | 5877 cat > conftest.$ac_ext <<EOF |
5673 #line 5674 "configure" | 5878 #line 5879 "configure" |
5674 #include "confdefs.h" | 5879 #include "confdefs.h" |
5675 /* Override any gcc2 internal prototype to avoid an error. */ | 5880 /* Override any gcc2 internal prototype to avoid an error. */ |
5676 /* We use char because int might match the return type of a gcc2 | 5881 /* We use char because int might match the return type of a gcc2 |
5677 builtin and then its argument prototype would still apply. */ | 5882 builtin and then its argument prototype would still apply. */ |
5678 char XmuReadBitmapDataFromFile(); | 5883 char XmuReadBitmapDataFromFile(); |
5679 | 5884 |
5680 int main() { | 5885 int main() { |
5681 XmuReadBitmapDataFromFile() | 5886 XmuReadBitmapDataFromFile() |
5682 ; return 0; } | 5887 ; return 0; } |
5683 EOF | 5888 EOF |
5684 if { (eval echo configure:5685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5889 if { (eval echo configure:5890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5685 rm -rf conftest* | 5890 rm -rf conftest* |
5686 eval "ac_cv_lib_$ac_lib_var=yes" | 5891 eval "ac_cv_lib_$ac_lib_var=yes" |
5687 else | 5892 else |
5688 echo "configure: failed program was:" >&5 | 5893 echo "configure: failed program was:" >&5 |
5689 cat conftest.$ac_ext >&5 | 5894 cat conftest.$ac_ext >&5 |
5718 | 5923 |
5719 fi | 5924 fi |
5720 | 5925 |
5721 | 5926 |
5722 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5927 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5723 echo "configure:5724: checking for main in -lXbsd" >&5 | 5928 echo "configure:5929: checking for main in -lXbsd" >&5 |
5724 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5929 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5725 | 5930 |
5726 xe_check_libs=" -lXbsd " | 5931 xe_check_libs=" -lXbsd " |
5727 cat > conftest.$ac_ext <<EOF | 5932 cat > conftest.$ac_ext <<EOF |
5728 #line 5729 "configure" | 5933 #line 5934 "configure" |
5729 #include "confdefs.h" | 5934 #include "confdefs.h" |
5730 | 5935 |
5731 int main() { | 5936 int main() { |
5732 main() | 5937 main() |
5733 ; return 0; } | 5938 ; return 0; } |
5734 EOF | 5939 EOF |
5735 if { (eval echo configure:5736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5940 if { (eval echo configure:5941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5736 rm -rf conftest* | 5941 rm -rf conftest* |
5737 eval "ac_cv_lib_$ac_lib_var=yes" | 5942 eval "ac_cv_lib_$ac_lib_var=yes" |
5738 else | 5943 else |
5739 echo "configure: failed program was:" >&5 | 5944 echo "configure: failed program was:" >&5 |
5740 cat conftest.$ac_ext >&5 | 5945 cat conftest.$ac_ext >&5 |
5767 fi | 5972 fi |
5768 | 5973 |
5769 fi | 5974 fi |
5770 if test "$with_msw" != "no"; then | 5975 if test "$with_msw" != "no"; then |
5771 echo "checking for MS-Windows" 1>&6 | 5976 echo "checking for MS-Windows" 1>&6 |
5772 echo "configure:5773: checking for MS-Windows" >&5 | 5977 echo "configure:5978: checking for MS-Windows" >&5 |
5773 | 5978 |
5774 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5979 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5775 echo "configure:5776: checking for main in -lgdi32" >&5 | 5980 echo "configure:5981: checking for main in -lgdi32" >&5 |
5776 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5981 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5777 | 5982 |
5778 xe_check_libs=" -lgdi32 " | 5983 xe_check_libs=" -lgdi32 " |
5779 cat > conftest.$ac_ext <<EOF | 5984 cat > conftest.$ac_ext <<EOF |
5780 #line 5781 "configure" | 5985 #line 5986 "configure" |
5781 #include "confdefs.h" | 5986 #include "confdefs.h" |
5782 | 5987 |
5783 int main() { | 5988 int main() { |
5784 main() | 5989 main() |
5785 ; return 0; } | 5990 ; return 0; } |
5786 EOF | 5991 EOF |
5787 if { (eval echo configure:5788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5992 if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5788 rm -rf conftest* | 5993 rm -rf conftest* |
5789 eval "ac_cv_lib_$ac_lib_var=yes" | 5994 eval "ac_cv_lib_$ac_lib_var=yes" |
5790 else | 5995 else |
5791 echo "configure: failed program was:" >&5 | 5996 echo "configure: failed program was:" >&5 |
5792 cat conftest.$ac_ext >&5 | 5997 cat conftest.$ac_ext >&5 |
5847 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6052 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
5848 echo " xemacs will be linked with \"dialog-msw.o\"" | 6053 echo " xemacs will be linked with \"dialog-msw.o\"" |
5849 fi | 6054 fi |
5850 fi | 6055 fi |
5851 cat > conftest.$ac_ext <<EOF | 6056 cat > conftest.$ac_ext <<EOF |
5852 #line 5853 "configure" | 6057 #line 6058 "configure" |
5853 #include "confdefs.h" | 6058 #include "confdefs.h" |
5854 #include <fcntl.h> | 6059 #include <fcntl.h> |
5855 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6060 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
5856 EOF | 6061 EOF |
5857 if { (eval echo configure:5858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6062 if { (eval echo configure:6063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5858 then | 6063 then |
5859 { test "$extra_verbose" = "yes" && cat << \EOF | 6064 { test "$extra_verbose" = "yes" && cat << \EOF |
5860 Defining HAVE_MSG_SELECT | 6065 Defining HAVE_MSG_SELECT |
5861 EOF | 6066 EOF |
5862 cat >> confdefs.h <<\EOF | 6067 cat >> confdefs.h <<\EOF |
5905 else | 6110 else |
5906 : | 6111 : |
5907 fi | 6112 fi |
5908 | 6113 |
5909 if test "$with_x11" != "yes"; then | 6114 if test "$with_x11" != "yes"; then |
5910 for feature in tooltalk cde offix session xim xmu | 6115 for feature in tooltalk cde offix wmcommand xim xmu |
5911 do | 6116 do |
5912 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 6117 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
5913 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 | 6118 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 |
5914 fi | 6119 fi |
5915 eval "with_${feature}=no" | 6120 eval "with_${feature}=no" |
5927 case "$x_libraries" in *X11R4* ) | 6132 case "$x_libraries" in *X11R4* ) |
5928 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6133 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5929 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6134 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5930 esac | 6135 esac |
5931 | 6136 |
5932 echo "checking for session-management option" 1>&6 | 6137 echo "checking for WM_COMMAND option" 1>&6 |
5933 echo "configure:5934: checking for session-management option" >&5; | 6138 echo "configure:6139: checking for WM_COMMAND option" >&5; |
5934 if test "$with_session" != "no"; then | 6139 if test "$with_wmcommand" != "no"; then |
5935 { test "$extra_verbose" = "yes" && cat << \EOF | 6140 { test "$extra_verbose" = "yes" && cat << \EOF |
5936 Defining HAVE_SESSION | 6141 Defining HAVE_WMCOMMAND |
5937 EOF | 6142 EOF |
5938 cat >> confdefs.h <<\EOF | 6143 cat >> confdefs.h <<\EOF |
5939 #define HAVE_SESSION 1 | 6144 #define HAVE_WMCOMMAND 1 |
5940 EOF | 6145 EOF |
5941 } | 6146 } |
5942 | 6147 |
5943 fi | 6148 fi |
5944 | 6149 |
5945 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6150 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5946 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6151 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5947 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6152 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5948 echo "configure:5949: checking for X11/Xauth.h" >&5 | 6153 echo "configure:6154: checking for X11/Xauth.h" >&5 |
5949 | 6154 |
5950 cat > conftest.$ac_ext <<EOF | 6155 cat > conftest.$ac_ext <<EOF |
5951 #line 5952 "configure" | 6156 #line 6157 "configure" |
5952 #include "confdefs.h" | 6157 #include "confdefs.h" |
5953 #include <X11/Xauth.h> | 6158 #include <X11/Xauth.h> |
5954 EOF | 6159 EOF |
5955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5956 { (eval echo configure:5957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6161 { (eval echo configure:6162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5957 ac_err=`grep -v '^ *+' conftest.out` | 6162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5958 if test -z "$ac_err"; then | 6163 if test -z "$ac_err"; then |
5959 rm -rf conftest* | 6164 rm -rf conftest* |
5960 eval "ac_cv_header_$ac_safe=yes" | 6165 eval "ac_cv_header_$ac_safe=yes" |
5961 else | 6166 else |
5962 echo "$ac_err" >&5 | 6167 echo "$ac_err" >&5 |
5974 with_xauth=no | 6179 with_xauth=no |
5975 fi | 6180 fi |
5976 } | 6181 } |
5977 test -z "$with_xauth" && { | 6182 test -z "$with_xauth" && { |
5978 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6183 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5979 echo "configure:5980: checking for XauGetAuthByAddr in -lXau" >&5 | 6184 echo "configure:6185: checking for XauGetAuthByAddr in -lXau" >&5 |
5980 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6185 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5981 | 6186 |
5982 xe_check_libs=" -lXau " | 6187 xe_check_libs=" -lXau " |
5983 cat > conftest.$ac_ext <<EOF | 6188 cat > conftest.$ac_ext <<EOF |
5984 #line 5985 "configure" | 6189 #line 6190 "configure" |
5985 #include "confdefs.h" | 6190 #include "confdefs.h" |
5986 /* Override any gcc2 internal prototype to avoid an error. */ | 6191 /* Override any gcc2 internal prototype to avoid an error. */ |
5987 /* We use char because int might match the return type of a gcc2 | 6192 /* We use char because int might match the return type of a gcc2 |
5988 builtin and then its argument prototype would still apply. */ | 6193 builtin and then its argument prototype would still apply. */ |
5989 char XauGetAuthByAddr(); | 6194 char XauGetAuthByAddr(); |
5990 | 6195 |
5991 int main() { | 6196 int main() { |
5992 XauGetAuthByAddr() | 6197 XauGetAuthByAddr() |
5993 ; return 0; } | 6198 ; return 0; } |
5994 EOF | 6199 EOF |
5995 if { (eval echo configure:5996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6200 if { (eval echo configure:6201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5996 rm -rf conftest* | 6201 rm -rf conftest* |
5997 eval "ac_cv_lib_$ac_lib_var=yes" | 6202 eval "ac_cv_lib_$ac_lib_var=yes" |
5998 else | 6203 else |
5999 echo "configure: failed program was:" >&5 | 6204 echo "configure: failed program was:" >&5 |
6000 cat conftest.$ac_ext >&5 | 6205 cat conftest.$ac_ext >&5 |
6035 | 6240 |
6036 if test "$with_tooltalk" != "no" ; then | 6241 if test "$with_tooltalk" != "no" ; then |
6037 for dir in "" "Tt/" "desktop/" ; do | 6242 for dir in "" "Tt/" "desktop/" ; do |
6038 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6243 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6039 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6244 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6040 echo "configure:6041: checking for ${dir}tt_c.h" >&5 | 6245 echo "configure:6246: checking for ${dir}tt_c.h" >&5 |
6041 | 6246 |
6042 cat > conftest.$ac_ext <<EOF | 6247 cat > conftest.$ac_ext <<EOF |
6043 #line 6044 "configure" | 6248 #line 6249 "configure" |
6044 #include "confdefs.h" | 6249 #include "confdefs.h" |
6045 #include <${dir}tt_c.h> | 6250 #include <${dir}tt_c.h> |
6046 EOF | 6251 EOF |
6047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6048 { (eval echo configure:6049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6253 { (eval echo configure:6254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6049 ac_err=`grep -v '^ *+' conftest.out` | 6254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6050 if test -z "$ac_err"; then | 6255 if test -z "$ac_err"; then |
6051 rm -rf conftest* | 6256 rm -rf conftest* |
6052 eval "ac_cv_header_$ac_safe=yes" | 6257 eval "ac_cv_header_$ac_safe=yes" |
6053 else | 6258 else |
6054 echo "$ac_err" >&5 | 6259 echo "$ac_err" >&5 |
6079 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6284 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6080 | 6285 |
6081 xe_msg_checking="for tt_message_create in -ltt" | 6286 xe_msg_checking="for tt_message_create in -ltt" |
6082 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6287 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6083 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6288 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6084 echo "configure:6085: checking "$xe_msg_checking"" >&5 | 6289 echo "configure:6290: checking "$xe_msg_checking"" >&5 |
6085 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6290 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6086 | 6291 |
6087 xe_check_libs=" -ltt $extra_libs" | 6292 xe_check_libs=" -ltt $extra_libs" |
6088 cat > conftest.$ac_ext <<EOF | 6293 cat > conftest.$ac_ext <<EOF |
6089 #line 6090 "configure" | 6294 #line 6295 "configure" |
6090 #include "confdefs.h" | 6295 #include "confdefs.h" |
6091 /* Override any gcc2 internal prototype to avoid an error. */ | 6296 /* Override any gcc2 internal prototype to avoid an error. */ |
6092 /* We use char because int might match the return type of a gcc2 | 6297 /* We use char because int might match the return type of a gcc2 |
6093 builtin and then its argument prototype would still apply. */ | 6298 builtin and then its argument prototype would still apply. */ |
6094 char tt_message_create(); | 6299 char tt_message_create(); |
6095 | 6300 |
6096 int main() { | 6301 int main() { |
6097 tt_message_create() | 6302 tt_message_create() |
6098 ; return 0; } | 6303 ; return 0; } |
6099 EOF | 6304 EOF |
6100 if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6101 rm -rf conftest* | 6306 rm -rf conftest* |
6102 eval "ac_cv_lib_$ac_lib_var=yes" | 6307 eval "ac_cv_lib_$ac_lib_var=yes" |
6103 else | 6308 else |
6104 echo "configure: failed program was:" >&5 | 6309 echo "configure: failed program was:" >&5 |
6105 cat conftest.$ac_ext >&5 | 6310 cat conftest.$ac_ext >&5 |
6152 fi | 6357 fi |
6153 fi | 6358 fi |
6154 | 6359 |
6155 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6360 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6156 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6361 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6157 echo "configure:6158: checking for Dt/Dt.h" >&5 | 6362 echo "configure:6363: checking for Dt/Dt.h" >&5 |
6158 | 6363 |
6159 cat > conftest.$ac_ext <<EOF | 6364 cat > conftest.$ac_ext <<EOF |
6160 #line 6161 "configure" | 6365 #line 6366 "configure" |
6161 #include "confdefs.h" | 6366 #include "confdefs.h" |
6162 #include <Dt/Dt.h> | 6367 #include <Dt/Dt.h> |
6163 EOF | 6368 EOF |
6164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6165 { (eval echo configure:6166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6370 { (eval echo configure:6371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6166 ac_err=`grep -v '^ *+' conftest.out` | 6371 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6167 if test -z "$ac_err"; then | 6372 if test -z "$ac_err"; then |
6168 rm -rf conftest* | 6373 rm -rf conftest* |
6169 eval "ac_cv_header_$ac_safe=yes" | 6374 eval "ac_cv_header_$ac_safe=yes" |
6170 else | 6375 else |
6171 echo "$ac_err" >&5 | 6376 echo "$ac_err" >&5 |
6183 with_cde=no | 6388 with_cde=no |
6184 fi | 6389 fi |
6185 } | 6390 } |
6186 test -z "$with_cde" && { | 6391 test -z "$with_cde" && { |
6187 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6392 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6188 echo "configure:6189: checking for DtDndDragStart in -lDtSvc" >&5 | 6393 echo "configure:6394: checking for DtDndDragStart in -lDtSvc" >&5 |
6189 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6394 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6190 | 6395 |
6191 xe_check_libs=" -lDtSvc " | 6396 xe_check_libs=" -lDtSvc " |
6192 cat > conftest.$ac_ext <<EOF | 6397 cat > conftest.$ac_ext <<EOF |
6193 #line 6194 "configure" | 6398 #line 6399 "configure" |
6194 #include "confdefs.h" | 6399 #include "confdefs.h" |
6195 /* Override any gcc2 internal prototype to avoid an error. */ | 6400 /* Override any gcc2 internal prototype to avoid an error. */ |
6196 /* We use char because int might match the return type of a gcc2 | 6401 /* We use char because int might match the return type of a gcc2 |
6197 builtin and then its argument prototype would still apply. */ | 6402 builtin and then its argument prototype would still apply. */ |
6198 char DtDndDragStart(); | 6403 char DtDndDragStart(); |
6199 | 6404 |
6200 int main() { | 6405 int main() { |
6201 DtDndDragStart() | 6406 DtDndDragStart() |
6202 ; return 0; } | 6407 ; return 0; } |
6203 EOF | 6408 EOF |
6204 if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6205 rm -rf conftest* | 6410 rm -rf conftest* |
6206 eval "ac_cv_lib_$ac_lib_var=yes" | 6411 eval "ac_cv_lib_$ac_lib_var=yes" |
6207 else | 6412 else |
6208 echo "configure: failed program was:" >&5 | 6413 echo "configure: failed program was:" >&5 |
6209 cat conftest.$ac_ext >&5 | 6414 cat conftest.$ac_ext >&5 |
6268 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6473 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6269 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6474 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6270 fi | 6475 fi |
6271 | 6476 |
6272 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6477 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6273 echo "configure:6274: checking if drag and drop API is needed" >&5 | 6478 echo "configure:6479: checking if drag and drop API is needed" >&5 |
6274 if test "$with_dragndrop" != "no" ; then | 6479 if test "$with_dragndrop" != "no" ; then |
6275 if test -n "$dragndrop_proto" ; then | 6480 if test -n "$dragndrop_proto" ; then |
6276 with_dragndrop=yes | 6481 with_dragndrop=yes |
6277 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6482 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6278 { test "$extra_verbose" = "yes" && cat << \EOF | 6483 { test "$extra_verbose" = "yes" && cat << \EOF |
6289 echo "$ac_t""no" 1>&6 | 6494 echo "$ac_t""no" 1>&6 |
6290 fi | 6495 fi |
6291 fi | 6496 fi |
6292 | 6497 |
6293 echo "checking for LDAP" 1>&6 | 6498 echo "checking for LDAP" 1>&6 |
6294 echo "configure:6295: checking for LDAP" >&5 | 6499 echo "configure:6500: checking for LDAP" >&5 |
6295 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6500 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6296 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6501 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6297 echo "configure:6298: checking for ldap.h" >&5 | 6502 echo "configure:6503: checking for ldap.h" >&5 |
6298 | 6503 |
6299 cat > conftest.$ac_ext <<EOF | 6504 cat > conftest.$ac_ext <<EOF |
6300 #line 6301 "configure" | 6505 #line 6506 "configure" |
6301 #include "confdefs.h" | 6506 #include "confdefs.h" |
6302 #include <ldap.h> | 6507 #include <ldap.h> |
6303 EOF | 6508 EOF |
6304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6305 { (eval echo configure:6306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6510 { (eval echo configure:6511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6306 ac_err=`grep -v '^ *+' conftest.out` | 6511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6307 if test -z "$ac_err"; then | 6512 if test -z "$ac_err"; then |
6308 rm -rf conftest* | 6513 rm -rf conftest* |
6309 eval "ac_cv_header_$ac_safe=yes" | 6514 eval "ac_cv_header_$ac_safe=yes" |
6310 else | 6515 else |
6311 echo "$ac_err" >&5 | 6516 echo "$ac_err" >&5 |
6323 with_ldap=no | 6528 with_ldap=no |
6324 fi | 6529 fi |
6325 } | 6530 } |
6326 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6531 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6327 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6532 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6328 echo "configure:6329: checking for lber.h" >&5 | 6533 echo "configure:6534: checking for lber.h" >&5 |
6329 | 6534 |
6330 cat > conftest.$ac_ext <<EOF | 6535 cat > conftest.$ac_ext <<EOF |
6331 #line 6332 "configure" | 6536 #line 6537 "configure" |
6332 #include "confdefs.h" | 6537 #include "confdefs.h" |
6333 #include <lber.h> | 6538 #include <lber.h> |
6334 EOF | 6539 EOF |
6335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6336 { (eval echo configure:6337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6541 { (eval echo configure:6542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6337 ac_err=`grep -v '^ *+' conftest.out` | 6542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6338 if test -z "$ac_err"; then | 6543 if test -z "$ac_err"; then |
6339 rm -rf conftest* | 6544 rm -rf conftest* |
6340 eval "ac_cv_header_$ac_safe=yes" | 6545 eval "ac_cv_header_$ac_safe=yes" |
6341 else | 6546 else |
6342 echo "$ac_err" >&5 | 6547 echo "$ac_err" >&5 |
6357 if test "$with_ldap" != "no"; then | 6562 if test "$with_ldap" != "no"; then |
6358 test -z "$with_umich_ldap" && { | 6563 test -z "$with_umich_ldap" && { |
6359 xe_msg_checking="for ldap_open in -lldap" | 6564 xe_msg_checking="for ldap_open in -lldap" |
6360 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6565 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6361 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6566 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6362 echo "configure:6363: checking "$xe_msg_checking"" >&5 | 6567 echo "configure:6568: checking "$xe_msg_checking"" >&5 |
6363 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6568 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6364 | 6569 |
6365 xe_check_libs=" -lldap -llber" | 6570 xe_check_libs=" -lldap -llber" |
6366 cat > conftest.$ac_ext <<EOF | 6571 cat > conftest.$ac_ext <<EOF |
6367 #line 6368 "configure" | 6572 #line 6573 "configure" |
6368 #include "confdefs.h" | 6573 #include "confdefs.h" |
6369 /* Override any gcc2 internal prototype to avoid an error. */ | 6574 /* Override any gcc2 internal prototype to avoid an error. */ |
6370 /* We use char because int might match the return type of a gcc2 | 6575 /* We use char because int might match the return type of a gcc2 |
6371 builtin and then its argument prototype would still apply. */ | 6576 builtin and then its argument prototype would still apply. */ |
6372 char ldap_open(); | 6577 char ldap_open(); |
6373 | 6578 |
6374 int main() { | 6579 int main() { |
6375 ldap_open() | 6580 ldap_open() |
6376 ; return 0; } | 6581 ; return 0; } |
6377 EOF | 6582 EOF |
6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6583 if { (eval echo configure:6584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6379 rm -rf conftest* | 6584 rm -rf conftest* |
6380 eval "ac_cv_lib_$ac_lib_var=yes" | 6585 eval "ac_cv_lib_$ac_lib_var=yes" |
6381 else | 6586 else |
6382 echo "configure: failed program was:" >&5 | 6587 echo "configure: failed program was:" >&5 |
6383 cat conftest.$ac_ext >&5 | 6588 cat conftest.$ac_ext >&5 |
6396 fi | 6601 fi |
6397 | 6602 |
6398 } | 6603 } |
6399 test "$with_umich_ldap" = "no" && { | 6604 test "$with_umich_ldap" = "no" && { |
6400 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6605 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6401 echo "configure:6402: checking for ldap_set_option in -lldap10" >&5 | 6606 echo "configure:6607: checking for ldap_set_option in -lldap10" >&5 |
6402 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6607 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6403 | 6608 |
6404 xe_check_libs=" -lldap10 " | 6609 xe_check_libs=" -lldap10 " |
6405 cat > conftest.$ac_ext <<EOF | 6610 cat > conftest.$ac_ext <<EOF |
6406 #line 6407 "configure" | 6611 #line 6612 "configure" |
6407 #include "confdefs.h" | 6612 #include "confdefs.h" |
6408 /* Override any gcc2 internal prototype to avoid an error. */ | 6613 /* Override any gcc2 internal prototype to avoid an error. */ |
6409 /* We use char because int might match the return type of a gcc2 | 6614 /* We use char because int might match the return type of a gcc2 |
6410 builtin and then its argument prototype would still apply. */ | 6615 builtin and then its argument prototype would still apply. */ |
6411 char ldap_set_option(); | 6616 char ldap_set_option(); |
6412 | 6617 |
6413 int main() { | 6618 int main() { |
6414 ldap_set_option() | 6619 ldap_set_option() |
6415 ; return 0; } | 6620 ; return 0; } |
6416 EOF | 6621 EOF |
6417 if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6622 if { (eval echo configure:6623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6418 rm -rf conftest* | 6623 rm -rf conftest* |
6419 eval "ac_cv_lib_$ac_lib_var=yes" | 6624 eval "ac_cv_lib_$ac_lib_var=yes" |
6420 else | 6625 else |
6421 echo "configure: failed program was:" >&5 | 6626 echo "configure: failed program was:" >&5 |
6422 cat conftest.$ac_ext >&5 | 6627 cat conftest.$ac_ext >&5 |
6476 fi | 6681 fi |
6477 | 6682 |
6478 | 6683 |
6479 if test "$window_system" != "none"; then | 6684 if test "$window_system" != "none"; then |
6480 echo "checking for graphics libraries" 1>&6 | 6685 echo "checking for graphics libraries" 1>&6 |
6481 echo "configure:6482: checking for graphics libraries" >&5 | 6686 echo "configure:6687: checking for graphics libraries" >&5 |
6482 | 6687 |
6483 xpm_problem="" | 6688 xpm_problem="" |
6484 if test -z "$with_xpm"; then | 6689 if test -z "$with_xpm"; then |
6485 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6690 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6486 echo "configure:6487: checking for Xpm - no older than 3.4f" >&5 | 6691 echo "configure:6692: checking for Xpm - no older than 3.4f" >&5 |
6487 xe_check_libs=-lXpm | 6692 xe_check_libs=-lXpm |
6488 cat > conftest.$ac_ext <<EOF | 6693 cat > conftest.$ac_ext <<EOF |
6489 #line 6490 "configure" | 6694 #line 6695 "configure" |
6490 #include "confdefs.h" | 6695 #include "confdefs.h" |
6491 #include <X11/xpm.h> | 6696 #include <X11/xpm.h> |
6492 int main(int c, char **v) { | 6697 int main(int c, char **v) { |
6493 return c == 1 ? 0 : | 6698 return c == 1 ? 0 : |
6494 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6699 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6495 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6700 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6496 EOF | 6701 EOF |
6497 if { (eval echo configure:6498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6702 if { (eval echo configure:6703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6498 then | 6703 then |
6499 ./conftest dummy_arg; xpm_status=$?; | 6704 ./conftest dummy_arg; xpm_status=$?; |
6500 if test "$xpm_status" = "0"; then | 6705 if test "$xpm_status" = "0"; then |
6501 with_xpm=yes; | 6706 with_xpm=yes; |
6502 else | 6707 else |
6534 EOF | 6739 EOF |
6535 } | 6740 } |
6536 | 6741 |
6537 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6742 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6538 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6743 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6539 echo "configure:6540: checking for \"FOR_MSW\" xpm" >&5 | 6744 echo "configure:6745: checking for \"FOR_MSW\" xpm" >&5 |
6540 xe_check_libs=-lXpm | 6745 xe_check_libs=-lXpm |
6541 cat > conftest.$ac_ext <<EOF | 6746 cat > conftest.$ac_ext <<EOF |
6542 #line 6543 "configure" | 6747 #line 6748 "configure" |
6543 #include "confdefs.h" | 6748 #include "confdefs.h" |
6544 | 6749 |
6545 int main() { | 6750 int main() { |
6546 XpmCreatePixmapFromData() | 6751 XpmCreatePixmapFromData() |
6547 ; return 0; } | 6752 ; return 0; } |
6548 EOF | 6753 EOF |
6549 if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6550 rm -rf conftest* | 6755 rm -rf conftest* |
6551 xpm_for_msw=no | 6756 xpm_for_msw=no |
6552 else | 6757 else |
6553 echo "configure: failed program was:" >&5 | 6758 echo "configure: failed program was:" >&5 |
6554 cat conftest.$ac_ext >&5 | 6759 cat conftest.$ac_ext >&5 |
6570 fi | 6775 fi |
6571 fi | 6776 fi |
6572 | 6777 |
6573 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6778 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6574 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6779 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6575 echo "configure:6576: checking for compface.h" >&5 | 6780 echo "configure:6781: checking for compface.h" >&5 |
6576 | 6781 |
6577 cat > conftest.$ac_ext <<EOF | 6782 cat > conftest.$ac_ext <<EOF |
6578 #line 6579 "configure" | 6783 #line 6784 "configure" |
6579 #include "confdefs.h" | 6784 #include "confdefs.h" |
6580 #include <compface.h> | 6785 #include <compface.h> |
6581 EOF | 6786 EOF |
6582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6583 { (eval echo configure:6584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6788 { (eval echo configure:6789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6584 ac_err=`grep -v '^ *+' conftest.out` | 6789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6585 if test -z "$ac_err"; then | 6790 if test -z "$ac_err"; then |
6586 rm -rf conftest* | 6791 rm -rf conftest* |
6587 eval "ac_cv_header_$ac_safe=yes" | 6792 eval "ac_cv_header_$ac_safe=yes" |
6588 else | 6793 else |
6589 echo "$ac_err" >&5 | 6794 echo "$ac_err" >&5 |
6601 with_xface=no | 6806 with_xface=no |
6602 fi | 6807 fi |
6603 } | 6808 } |
6604 test -z "$with_xface" && { | 6809 test -z "$with_xface" && { |
6605 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6810 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6606 echo "configure:6607: checking for UnGenFace in -lcompface" >&5 | 6811 echo "configure:6812: checking for UnGenFace in -lcompface" >&5 |
6607 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6812 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6608 | 6813 |
6609 xe_check_libs=" -lcompface " | 6814 xe_check_libs=" -lcompface " |
6610 cat > conftest.$ac_ext <<EOF | 6815 cat > conftest.$ac_ext <<EOF |
6611 #line 6612 "configure" | 6816 #line 6817 "configure" |
6612 #include "confdefs.h" | 6817 #include "confdefs.h" |
6613 /* Override any gcc2 internal prototype to avoid an error. */ | 6818 /* Override any gcc2 internal prototype to avoid an error. */ |
6614 /* We use char because int might match the return type of a gcc2 | 6819 /* We use char because int might match the return type of a gcc2 |
6615 builtin and then its argument prototype would still apply. */ | 6820 builtin and then its argument prototype would still apply. */ |
6616 char UnGenFace(); | 6821 char UnGenFace(); |
6617 | 6822 |
6618 int main() { | 6823 int main() { |
6619 UnGenFace() | 6824 UnGenFace() |
6620 ; return 0; } | 6825 ; return 0; } |
6621 EOF | 6826 EOF |
6622 if { (eval echo configure:6623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6827 if { (eval echo configure:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6623 rm -rf conftest* | 6828 rm -rf conftest* |
6624 eval "ac_cv_lib_$ac_lib_var=yes" | 6829 eval "ac_cv_lib_$ac_lib_var=yes" |
6625 else | 6830 else |
6626 echo "configure: failed program was:" >&5 | 6831 echo "configure: failed program was:" >&5 |
6627 cat conftest.$ac_ext >&5 | 6832 cat conftest.$ac_ext >&5 |
6669 fi | 6874 fi |
6670 | 6875 |
6671 if test "$with_png $with_tiff" != "no no"; then | 6876 if test "$with_png $with_tiff" != "no no"; then |
6672 | 6877 |
6673 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6878 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6674 echo "configure:6675: checking for inflate in -lc" >&5 | 6879 echo "configure:6880: checking for inflate in -lc" >&5 |
6675 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6880 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6676 | 6881 |
6677 xe_check_libs=" -lc " | 6882 xe_check_libs=" -lc " |
6678 cat > conftest.$ac_ext <<EOF | 6883 cat > conftest.$ac_ext <<EOF |
6679 #line 6680 "configure" | 6884 #line 6885 "configure" |
6680 #include "confdefs.h" | 6885 #include "confdefs.h" |
6681 /* Override any gcc2 internal prototype to avoid an error. */ | 6886 /* Override any gcc2 internal prototype to avoid an error. */ |
6682 /* We use char because int might match the return type of a gcc2 | 6887 /* We use char because int might match the return type of a gcc2 |
6683 builtin and then its argument prototype would still apply. */ | 6888 builtin and then its argument prototype would still apply. */ |
6684 char inflate(); | 6889 char inflate(); |
6685 | 6890 |
6686 int main() { | 6891 int main() { |
6687 inflate() | 6892 inflate() |
6688 ; return 0; } | 6893 ; return 0; } |
6689 EOF | 6894 EOF |
6690 if { (eval echo configure:6691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6895 if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6691 rm -rf conftest* | 6896 rm -rf conftest* |
6692 eval "ac_cv_lib_$ac_lib_var=yes" | 6897 eval "ac_cv_lib_$ac_lib_var=yes" |
6693 else | 6898 else |
6694 echo "configure: failed program was:" >&5 | 6899 echo "configure: failed program was:" >&5 |
6695 cat conftest.$ac_ext >&5 | 6900 cat conftest.$ac_ext >&5 |
6704 : | 6909 : |
6705 else | 6910 else |
6706 echo "$ac_t""no" 1>&6 | 6911 echo "$ac_t""no" 1>&6 |
6707 | 6912 |
6708 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6913 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6709 echo "configure:6710: checking for inflate in -lz" >&5 | 6914 echo "configure:6915: checking for inflate in -lz" >&5 |
6710 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6915 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6711 | 6916 |
6712 xe_check_libs=" -lz " | 6917 xe_check_libs=" -lz " |
6713 cat > conftest.$ac_ext <<EOF | 6918 cat > conftest.$ac_ext <<EOF |
6714 #line 6715 "configure" | 6919 #line 6920 "configure" |
6715 #include "confdefs.h" | 6920 #include "confdefs.h" |
6716 /* Override any gcc2 internal prototype to avoid an error. */ | 6921 /* Override any gcc2 internal prototype to avoid an error. */ |
6717 /* We use char because int might match the return type of a gcc2 | 6922 /* We use char because int might match the return type of a gcc2 |
6718 builtin and then its argument prototype would still apply. */ | 6923 builtin and then its argument prototype would still apply. */ |
6719 char inflate(); | 6924 char inflate(); |
6720 | 6925 |
6721 int main() { | 6926 int main() { |
6722 inflate() | 6927 inflate() |
6723 ; return 0; } | 6928 ; return 0; } |
6724 EOF | 6929 EOF |
6725 if { (eval echo configure:6726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6930 if { (eval echo configure:6931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6726 rm -rf conftest* | 6931 rm -rf conftest* |
6727 eval "ac_cv_lib_$ac_lib_var=yes" | 6932 eval "ac_cv_lib_$ac_lib_var=yes" |
6728 else | 6933 else |
6729 echo "configure: failed program was:" >&5 | 6934 echo "configure: failed program was:" >&5 |
6730 cat conftest.$ac_ext >&5 | 6935 cat conftest.$ac_ext >&5 |
6739 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6944 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6740 else | 6945 else |
6741 echo "$ac_t""no" 1>&6 | 6946 echo "$ac_t""no" 1>&6 |
6742 | 6947 |
6743 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6948 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6744 echo "configure:6745: checking for inflate in -lgz" >&5 | 6949 echo "configure:6950: checking for inflate in -lgz" >&5 |
6745 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6950 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6746 | 6951 |
6747 xe_check_libs=" -lgz " | 6952 xe_check_libs=" -lgz " |
6748 cat > conftest.$ac_ext <<EOF | 6953 cat > conftest.$ac_ext <<EOF |
6749 #line 6750 "configure" | 6954 #line 6955 "configure" |
6750 #include "confdefs.h" | 6955 #include "confdefs.h" |
6751 /* Override any gcc2 internal prototype to avoid an error. */ | 6956 /* Override any gcc2 internal prototype to avoid an error. */ |
6752 /* We use char because int might match the return type of a gcc2 | 6957 /* We use char because int might match the return type of a gcc2 |
6753 builtin and then its argument prototype would still apply. */ | 6958 builtin and then its argument prototype would still apply. */ |
6754 char inflate(); | 6959 char inflate(); |
6755 | 6960 |
6756 int main() { | 6961 int main() { |
6757 inflate() | 6962 inflate() |
6758 ; return 0; } | 6963 ; return 0; } |
6759 EOF | 6964 EOF |
6760 if { (eval echo configure:6761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6965 if { (eval echo configure:6966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6761 rm -rf conftest* | 6966 rm -rf conftest* |
6762 eval "ac_cv_lib_$ac_lib_var=yes" | 6967 eval "ac_cv_lib_$ac_lib_var=yes" |
6763 else | 6968 else |
6764 echo "configure: failed program was:" >&5 | 6969 echo "configure: failed program was:" >&5 |
6765 cat conftest.$ac_ext >&5 | 6970 cat conftest.$ac_ext >&5 |
6785 | 6990 |
6786 fi | 6991 fi |
6787 | 6992 |
6788 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6993 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6789 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6994 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6790 echo "configure:6791: checking for jpeglib.h" >&5 | 6995 echo "configure:6996: checking for jpeglib.h" >&5 |
6791 | 6996 |
6792 cat > conftest.$ac_ext <<EOF | 6997 cat > conftest.$ac_ext <<EOF |
6793 #line 6794 "configure" | 6998 #line 6999 "configure" |
6794 #include "confdefs.h" | 6999 #include "confdefs.h" |
6795 #include <jpeglib.h> | 7000 #include <jpeglib.h> |
6796 EOF | 7001 EOF |
6797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6798 { (eval echo configure:6799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7003 { (eval echo configure:7004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6799 ac_err=`grep -v '^ *+' conftest.out` | 7004 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6800 if test -z "$ac_err"; then | 7005 if test -z "$ac_err"; then |
6801 rm -rf conftest* | 7006 rm -rf conftest* |
6802 eval "ac_cv_header_$ac_safe=yes" | 7007 eval "ac_cv_header_$ac_safe=yes" |
6803 else | 7008 else |
6804 echo "$ac_err" >&5 | 7009 echo "$ac_err" >&5 |
6816 with_jpeg=no | 7021 with_jpeg=no |
6817 fi | 7022 fi |
6818 } | 7023 } |
6819 test -z "$with_jpeg" && { | 7024 test -z "$with_jpeg" && { |
6820 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7025 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6821 echo "configure:6822: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7026 echo "configure:7027: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6822 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7027 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6823 | 7028 |
6824 xe_check_libs=" -ljpeg " | 7029 xe_check_libs=" -ljpeg " |
6825 cat > conftest.$ac_ext <<EOF | 7030 cat > conftest.$ac_ext <<EOF |
6826 #line 6827 "configure" | 7031 #line 7032 "configure" |
6827 #include "confdefs.h" | 7032 #include "confdefs.h" |
6828 /* Override any gcc2 internal prototype to avoid an error. */ | 7033 /* Override any gcc2 internal prototype to avoid an error. */ |
6829 /* We use char because int might match the return type of a gcc2 | 7034 /* We use char because int might match the return type of a gcc2 |
6830 builtin and then its argument prototype would still apply. */ | 7035 builtin and then its argument prototype would still apply. */ |
6831 char jpeg_destroy_decompress(); | 7036 char jpeg_destroy_decompress(); |
6832 | 7037 |
6833 int main() { | 7038 int main() { |
6834 jpeg_destroy_decompress() | 7039 jpeg_destroy_decompress() |
6835 ; return 0; } | 7040 ; return 0; } |
6836 EOF | 7041 EOF |
6837 if { (eval echo configure:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7042 if { (eval echo configure:7043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6838 rm -rf conftest* | 7043 rm -rf conftest* |
6839 eval "ac_cv_lib_$ac_lib_var=yes" | 7044 eval "ac_cv_lib_$ac_lib_var=yes" |
6840 else | 7045 else |
6841 echo "configure: failed program was:" >&5 | 7046 echo "configure: failed program was:" >&5 |
6842 cat conftest.$ac_ext >&5 | 7047 cat conftest.$ac_ext >&5 |
6868 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7073 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6869 fi | 7074 fi |
6870 | 7075 |
6871 png_problem="" | 7076 png_problem="" |
6872 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7077 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6873 echo "configure:6874: checking for pow" >&5 | 7078 echo "configure:7079: checking for pow" >&5 |
6874 | 7079 |
6875 cat > conftest.$ac_ext <<EOF | 7080 cat > conftest.$ac_ext <<EOF |
6876 #line 6877 "configure" | 7081 #line 7082 "configure" |
6877 #include "confdefs.h" | 7082 #include "confdefs.h" |
6878 /* System header to define __stub macros and hopefully few prototypes, | 7083 /* System header to define __stub macros and hopefully few prototypes, |
6879 which can conflict with char pow(); below. */ | 7084 which can conflict with char pow(); below. */ |
6880 #include <assert.h> | 7085 #include <assert.h> |
6881 /* Override any gcc2 internal prototype to avoid an error. */ | 7086 /* Override any gcc2 internal prototype to avoid an error. */ |
6894 pow(); | 7099 pow(); |
6895 #endif | 7100 #endif |
6896 | 7101 |
6897 ; return 0; } | 7102 ; return 0; } |
6898 EOF | 7103 EOF |
6899 if { (eval echo configure:6900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7104 if { (eval echo configure:7105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6900 rm -rf conftest* | 7105 rm -rf conftest* |
6901 eval "ac_cv_func_pow=yes" | 7106 eval "ac_cv_func_pow=yes" |
6902 else | 7107 else |
6903 echo "configure: failed program was:" >&5 | 7108 echo "configure: failed program was:" >&5 |
6904 cat conftest.$ac_ext >&5 | 7109 cat conftest.$ac_ext >&5 |
6915 with_png=no | 7120 with_png=no |
6916 fi | 7121 fi |
6917 } | 7122 } |
6918 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7123 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6919 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7124 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6920 echo "configure:6921: checking for png.h" >&5 | 7125 echo "configure:7126: checking for png.h" >&5 |
6921 | 7126 |
6922 cat > conftest.$ac_ext <<EOF | 7127 cat > conftest.$ac_ext <<EOF |
6923 #line 6924 "configure" | 7128 #line 7129 "configure" |
6924 #include "confdefs.h" | 7129 #include "confdefs.h" |
6925 #include <png.h> | 7130 #include <png.h> |
6926 EOF | 7131 EOF |
6927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6928 { (eval echo configure:6929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7133 { (eval echo configure:7134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6929 ac_err=`grep -v '^ *+' conftest.out` | 7134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6930 if test -z "$ac_err"; then | 7135 if test -z "$ac_err"; then |
6931 rm -rf conftest* | 7136 rm -rf conftest* |
6932 eval "ac_cv_header_$ac_safe=yes" | 7137 eval "ac_cv_header_$ac_safe=yes" |
6933 else | 7138 else |
6934 echo "$ac_err" >&5 | 7139 echo "$ac_err" >&5 |
6946 with_png=no | 7151 with_png=no |
6947 fi | 7152 fi |
6948 } | 7153 } |
6949 test -z "$with_png" && { | 7154 test -z "$with_png" && { |
6950 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7155 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6951 echo "configure:6952: checking for png_read_image in -lpng" >&5 | 7156 echo "configure:7157: checking for png_read_image in -lpng" >&5 |
6952 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7157 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6953 | 7158 |
6954 xe_check_libs=" -lpng " | 7159 xe_check_libs=" -lpng " |
6955 cat > conftest.$ac_ext <<EOF | 7160 cat > conftest.$ac_ext <<EOF |
6956 #line 6957 "configure" | 7161 #line 7162 "configure" |
6957 #include "confdefs.h" | 7162 #include "confdefs.h" |
6958 /* Override any gcc2 internal prototype to avoid an error. */ | 7163 /* Override any gcc2 internal prototype to avoid an error. */ |
6959 /* We use char because int might match the return type of a gcc2 | 7164 /* We use char because int might match the return type of a gcc2 |
6960 builtin and then its argument prototype would still apply. */ | 7165 builtin and then its argument prototype would still apply. */ |
6961 char png_read_image(); | 7166 char png_read_image(); |
6962 | 7167 |
6963 int main() { | 7168 int main() { |
6964 png_read_image() | 7169 png_read_image() |
6965 ; return 0; } | 7170 ; return 0; } |
6966 EOF | 7171 EOF |
6967 if { (eval echo configure:6968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6968 rm -rf conftest* | 7173 rm -rf conftest* |
6969 eval "ac_cv_lib_$ac_lib_var=yes" | 7174 eval "ac_cv_lib_$ac_lib_var=yes" |
6970 else | 7175 else |
6971 echo "configure: failed program was:" >&5 | 7176 echo "configure: failed program was:" >&5 |
6972 cat conftest.$ac_ext >&5 | 7177 cat conftest.$ac_ext >&5 |
6985 fi | 7190 fi |
6986 | 7191 |
6987 } | 7192 } |
6988 if test -z "$with_png"; then | 7193 if test -z "$with_png"; then |
6989 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7194 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
6990 echo "configure:6991: checking for workable png version information" >&5 | 7195 echo "configure:7196: checking for workable png version information" >&5 |
6991 xe_check_libs="-lpng -lz" | 7196 xe_check_libs="-lpng -lz" |
6992 cat > conftest.$ac_ext <<EOF | 7197 cat > conftest.$ac_ext <<EOF |
6993 #line 6994 "configure" | 7198 #line 7199 "configure" |
6994 #include "confdefs.h" | 7199 #include "confdefs.h" |
6995 #include <png.h> | 7200 #include <png.h> |
6996 int main(int c, char **v) { | 7201 int main(int c, char **v) { |
6997 if (c == 1) return 0; | 7202 if (c == 1) return 0; |
6998 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7203 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
6999 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7204 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7000 EOF | 7205 EOF |
7001 if { (eval echo configure:7002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7206 if { (eval echo configure:7207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7002 then | 7207 then |
7003 ./conftest dummy_arg; png_status=$?; | 7208 ./conftest dummy_arg; png_status=$?; |
7004 if test "$png_status" = "0"; then | 7209 if test "$png_status" = "0"; then |
7005 with_png=yes; | 7210 with_png=yes; |
7006 else | 7211 else |
7039 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7244 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7040 fi | 7245 fi |
7041 | 7246 |
7042 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7247 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7043 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7248 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7044 echo "configure:7045: checking for tiffio.h" >&5 | 7249 echo "configure:7250: checking for tiffio.h" >&5 |
7045 | 7250 |
7046 cat > conftest.$ac_ext <<EOF | 7251 cat > conftest.$ac_ext <<EOF |
7047 #line 7048 "configure" | 7252 #line 7253 "configure" |
7048 #include "confdefs.h" | 7253 #include "confdefs.h" |
7049 #include <tiffio.h> | 7254 #include <tiffio.h> |
7050 EOF | 7255 EOF |
7051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7052 { (eval echo configure:7053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7257 { (eval echo configure:7258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7053 ac_err=`grep -v '^ *+' conftest.out` | 7258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7054 if test -z "$ac_err"; then | 7259 if test -z "$ac_err"; then |
7055 rm -rf conftest* | 7260 rm -rf conftest* |
7056 eval "ac_cv_header_$ac_safe=yes" | 7261 eval "ac_cv_header_$ac_safe=yes" |
7057 else | 7262 else |
7058 echo "$ac_err" >&5 | 7263 echo "$ac_err" >&5 |
7070 with_tiff=no | 7275 with_tiff=no |
7071 fi | 7276 fi |
7072 } | 7277 } |
7073 test -z "$with_tiff" && { | 7278 test -z "$with_tiff" && { |
7074 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7279 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7075 echo "configure:7076: checking for TIFFClientOpen in -ltiff" >&5 | 7280 echo "configure:7281: checking for TIFFClientOpen in -ltiff" >&5 |
7076 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7281 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7077 | 7282 |
7078 xe_check_libs=" -ltiff " | 7283 xe_check_libs=" -ltiff " |
7079 cat > conftest.$ac_ext <<EOF | 7284 cat > conftest.$ac_ext <<EOF |
7080 #line 7081 "configure" | 7285 #line 7286 "configure" |
7081 #include "confdefs.h" | 7286 #include "confdefs.h" |
7082 /* Override any gcc2 internal prototype to avoid an error. */ | 7287 /* Override any gcc2 internal prototype to avoid an error. */ |
7083 /* We use char because int might match the return type of a gcc2 | 7288 /* We use char because int might match the return type of a gcc2 |
7084 builtin and then its argument prototype would still apply. */ | 7289 builtin and then its argument prototype would still apply. */ |
7085 char TIFFClientOpen(); | 7290 char TIFFClientOpen(); |
7086 | 7291 |
7087 int main() { | 7292 int main() { |
7088 TIFFClientOpen() | 7293 TIFFClientOpen() |
7089 ; return 0; } | 7294 ; return 0; } |
7090 EOF | 7295 EOF |
7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7296 if { (eval echo configure:7297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7092 rm -rf conftest* | 7297 rm -rf conftest* |
7093 eval "ac_cv_lib_$ac_lib_var=yes" | 7298 eval "ac_cv_lib_$ac_lib_var=yes" |
7094 else | 7299 else |
7095 echo "configure: failed program was:" >&5 | 7300 echo "configure: failed program was:" >&5 |
7096 cat conftest.$ac_ext >&5 | 7301 cat conftest.$ac_ext >&5 |
7125 | 7330 |
7126 | 7331 |
7127 if test "$with_x11" = "yes"; then | 7332 if test "$with_x11" = "yes"; then |
7128 | 7333 |
7129 echo "checking for X11 graphics libraries" 1>&6 | 7334 echo "checking for X11 graphics libraries" 1>&6 |
7130 echo "configure:7131: checking for X11 graphics libraries" >&5 | 7335 echo "configure:7336: checking for X11 graphics libraries" >&5 |
7131 | 7336 |
7132 | 7337 |
7133 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7338 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7134 echo "configure:7135: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7339 echo "configure:7340: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7135 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7340 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7136 | 7341 |
7137 xe_check_libs=" -lXaw " | 7342 xe_check_libs=" -lXaw " |
7138 cat > conftest.$ac_ext <<EOF | 7343 cat > conftest.$ac_ext <<EOF |
7139 #line 7140 "configure" | 7344 #line 7345 "configure" |
7140 #include "confdefs.h" | 7345 #include "confdefs.h" |
7141 /* Override any gcc2 internal prototype to avoid an error. */ | 7346 /* Override any gcc2 internal prototype to avoid an error. */ |
7142 /* We use char because int might match the return type of a gcc2 | 7347 /* We use char because int might match the return type of a gcc2 |
7143 builtin and then its argument prototype would still apply. */ | 7348 builtin and then its argument prototype would still apply. */ |
7144 char XawScrollbarSetThumb(); | 7349 char XawScrollbarSetThumb(); |
7145 | 7350 |
7146 int main() { | 7351 int main() { |
7147 XawScrollbarSetThumb() | 7352 XawScrollbarSetThumb() |
7148 ; return 0; } | 7353 ; return 0; } |
7149 EOF | 7354 EOF |
7150 if { (eval echo configure:7151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7151 rm -rf conftest* | 7356 rm -rf conftest* |
7152 eval "ac_cv_lib_$ac_lib_var=yes" | 7357 eval "ac_cv_lib_$ac_lib_var=yes" |
7153 else | 7358 else |
7154 echo "configure: failed program was:" >&5 | 7359 echo "configure: failed program was:" >&5 |
7155 cat conftest.$ac_ext >&5 | 7360 cat conftest.$ac_ext >&5 |
7169 | 7374 |
7170 | 7375 |
7171 | 7376 |
7172 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7377 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7173 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7378 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7174 echo "configure:7175: checking for Xm/Xm.h" >&5 | 7379 echo "configure:7380: checking for Xm/Xm.h" >&5 |
7175 | 7380 |
7176 cat > conftest.$ac_ext <<EOF | 7381 cat > conftest.$ac_ext <<EOF |
7177 #line 7178 "configure" | 7382 #line 7383 "configure" |
7178 #include "confdefs.h" | 7383 #include "confdefs.h" |
7179 #include <Xm/Xm.h> | 7384 #include <Xm/Xm.h> |
7180 EOF | 7385 EOF |
7181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7182 { (eval echo configure:7183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7387 { (eval echo configure:7388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7183 ac_err=`grep -v '^ *+' conftest.out` | 7388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7184 if test -z "$ac_err"; then | 7389 if test -z "$ac_err"; then |
7185 rm -rf conftest* | 7390 rm -rf conftest* |
7186 eval "ac_cv_header_$ac_safe=yes" | 7391 eval "ac_cv_header_$ac_safe=yes" |
7187 else | 7392 else |
7188 echo "$ac_err" >&5 | 7393 echo "$ac_err" >&5 |
7194 rm -f conftest* | 7399 rm -f conftest* |
7195 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7196 echo "$ac_t""yes" 1>&6 | 7401 echo "$ac_t""yes" 1>&6 |
7197 | 7402 |
7198 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7403 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7199 echo "configure:7200: checking for XmStringFree in -lXm" >&5 | 7404 echo "configure:7405: checking for XmStringFree in -lXm" >&5 |
7200 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7405 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7201 | 7406 |
7202 xe_check_libs=" -lXm " | 7407 xe_check_libs=" -lXm " |
7203 cat > conftest.$ac_ext <<EOF | 7408 cat > conftest.$ac_ext <<EOF |
7204 #line 7205 "configure" | 7409 #line 7410 "configure" |
7205 #include "confdefs.h" | 7410 #include "confdefs.h" |
7206 /* Override any gcc2 internal prototype to avoid an error. */ | 7411 /* Override any gcc2 internal prototype to avoid an error. */ |
7207 /* We use char because int might match the return type of a gcc2 | 7412 /* We use char because int might match the return type of a gcc2 |
7208 builtin and then its argument prototype would still apply. */ | 7413 builtin and then its argument prototype would still apply. */ |
7209 char XmStringFree(); | 7414 char XmStringFree(); |
7210 | 7415 |
7211 int main() { | 7416 int main() { |
7212 XmStringFree() | 7417 XmStringFree() |
7213 ; return 0; } | 7418 ; return 0; } |
7214 EOF | 7419 EOF |
7215 if { (eval echo configure:7216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7420 if { (eval echo configure:7421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7216 rm -rf conftest* | 7421 rm -rf conftest* |
7217 eval "ac_cv_lib_$ac_lib_var=yes" | 7422 eval "ac_cv_lib_$ac_lib_var=yes" |
7218 else | 7423 else |
7219 echo "configure: failed program was:" >&5 | 7424 echo "configure: failed program was:" >&5 |
7220 cat conftest.$ac_ext >&5 | 7425 cat conftest.$ac_ext >&5 |
7239 fi | 7444 fi |
7240 | 7445 |
7241 | 7446 |
7242 if test "$have_motif" = "yes"; then | 7447 if test "$have_motif" = "yes"; then |
7243 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7448 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7244 echo "configure:7245: checking for Lesstif" >&5 | 7449 echo "configure:7450: checking for Lesstif" >&5 |
7245 cat > conftest.$ac_ext <<EOF | 7450 cat > conftest.$ac_ext <<EOF |
7246 #line 7247 "configure" | 7451 #line 7452 "configure" |
7247 #include "confdefs.h" | 7452 #include "confdefs.h" |
7248 #include <Xm/Xm.h> | 7453 #include <Xm/Xm.h> |
7249 #ifdef LESSTIF_VERSION | 7454 #ifdef LESSTIF_VERSION |
7250 yes | 7455 yes |
7251 #endif | 7456 #endif |
7504 fi | 7709 fi |
7505 fi | 7710 fi |
7506 | 7711 |
7507 if test "$with_mule" = "yes" ; then | 7712 if test "$with_mule" = "yes" ; then |
7508 echo "checking for Mule-related features" 1>&6 | 7713 echo "checking for Mule-related features" 1>&6 |
7509 echo "configure:7510: checking for Mule-related features" >&5 | 7714 echo "configure:7715: checking for Mule-related features" >&5 |
7510 { test "$extra_verbose" = "yes" && cat << \EOF | 7715 { test "$extra_verbose" = "yes" && cat << \EOF |
7511 Defining MULE | 7716 Defining MULE |
7512 EOF | 7717 EOF |
7513 cat >> confdefs.h <<\EOF | 7718 cat >> confdefs.h <<\EOF |
7514 #define MULE 1 | 7719 #define MULE 1 |
7529 | 7734 |
7530 for ac_hdr in libintl.h | 7735 for ac_hdr in libintl.h |
7531 do | 7736 do |
7532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7737 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7738 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7534 echo "configure:7535: checking for $ac_hdr" >&5 | 7739 echo "configure:7740: checking for $ac_hdr" >&5 |
7535 | 7740 |
7536 cat > conftest.$ac_ext <<EOF | 7741 cat > conftest.$ac_ext <<EOF |
7537 #line 7538 "configure" | 7742 #line 7743 "configure" |
7538 #include "confdefs.h" | 7743 #include "confdefs.h" |
7539 #include <$ac_hdr> | 7744 #include <$ac_hdr> |
7540 EOF | 7745 EOF |
7541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7542 { (eval echo configure:7543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7747 { (eval echo configure:7748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7543 ac_err=`grep -v '^ *+' conftest.out` | 7748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7544 if test -z "$ac_err"; then | 7749 if test -z "$ac_err"; then |
7545 rm -rf conftest* | 7750 rm -rf conftest* |
7546 eval "ac_cv_header_$ac_safe=yes" | 7751 eval "ac_cv_header_$ac_safe=yes" |
7547 else | 7752 else |
7548 echo "$ac_err" >&5 | 7753 echo "$ac_err" >&5 |
7568 fi | 7773 fi |
7569 done | 7774 done |
7570 | 7775 |
7571 | 7776 |
7572 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7777 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7573 echo "configure:7574: checking for strerror in -lintl" >&5 | 7778 echo "configure:7779: checking for strerror in -lintl" >&5 |
7574 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7779 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7575 | 7780 |
7576 xe_check_libs=" -lintl " | 7781 xe_check_libs=" -lintl " |
7577 cat > conftest.$ac_ext <<EOF | 7782 cat > conftest.$ac_ext <<EOF |
7578 #line 7579 "configure" | 7783 #line 7784 "configure" |
7579 #include "confdefs.h" | 7784 #include "confdefs.h" |
7580 /* Override any gcc2 internal prototype to avoid an error. */ | 7785 /* Override any gcc2 internal prototype to avoid an error. */ |
7581 /* We use char because int might match the return type of a gcc2 | 7786 /* We use char because int might match the return type of a gcc2 |
7582 builtin and then its argument prototype would still apply. */ | 7787 builtin and then its argument prototype would still apply. */ |
7583 char strerror(); | 7788 char strerror(); |
7584 | 7789 |
7585 int main() { | 7790 int main() { |
7586 strerror() | 7791 strerror() |
7587 ; return 0; } | 7792 ; return 0; } |
7588 EOF | 7793 EOF |
7589 if { (eval echo configure:7590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7794 if { (eval echo configure:7795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7590 rm -rf conftest* | 7795 rm -rf conftest* |
7591 eval "ac_cv_lib_$ac_lib_var=yes" | 7796 eval "ac_cv_lib_$ac_lib_var=yes" |
7592 else | 7797 else |
7593 echo "configure: failed program was:" >&5 | 7798 echo "configure: failed program was:" >&5 |
7594 cat conftest.$ac_ext >&5 | 7799 cat conftest.$ac_ext >&5 |
7617 fi | 7822 fi |
7618 | 7823 |
7619 | 7824 |
7620 | 7825 |
7621 echo "checking for Mule input methods" 1>&6 | 7826 echo "checking for Mule input methods" 1>&6 |
7622 echo "configure:7623: checking for Mule input methods" >&5 | 7827 echo "configure:7828: checking for Mule input methods" >&5 |
7623 case "$with_xim" in "" | "yes" ) | 7828 case "$with_xim" in "" | "yes" ) |
7624 echo "checking for XIM" 1>&6 | 7829 echo "checking for XIM" 1>&6 |
7625 echo "configure:7626: checking for XIM" >&5 | 7830 echo "configure:7831: checking for XIM" >&5 |
7626 | 7831 |
7627 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 7832 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
7628 echo "configure:7629: checking for XOpenIM in -lX11" >&5 | 7833 echo "configure:7834: checking for XOpenIM in -lX11" >&5 |
7629 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 7834 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
7630 | 7835 |
7631 xe_check_libs=" -lX11 " | 7836 xe_check_libs=" -lX11 " |
7632 cat > conftest.$ac_ext <<EOF | 7837 cat > conftest.$ac_ext <<EOF |
7633 #line 7634 "configure" | 7838 #line 7839 "configure" |
7634 #include "confdefs.h" | 7839 #include "confdefs.h" |
7635 /* Override any gcc2 internal prototype to avoid an error. */ | 7840 /* Override any gcc2 internal prototype to avoid an error. */ |
7636 /* We use char because int might match the return type of a gcc2 | 7841 /* We use char because int might match the return type of a gcc2 |
7637 builtin and then its argument prototype would still apply. */ | 7842 builtin and then its argument prototype would still apply. */ |
7638 char XOpenIM(); | 7843 char XOpenIM(); |
7639 | 7844 |
7640 int main() { | 7845 int main() { |
7641 XOpenIM() | 7846 XOpenIM() |
7642 ; return 0; } | 7847 ; return 0; } |
7643 EOF | 7848 EOF |
7644 if { (eval echo configure:7645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7849 if { (eval echo configure:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7645 rm -rf conftest* | 7850 rm -rf conftest* |
7646 eval "ac_cv_lib_$ac_lib_var=yes" | 7851 eval "ac_cv_lib_$ac_lib_var=yes" |
7647 else | 7852 else |
7648 echo "configure: failed program was:" >&5 | 7853 echo "configure: failed program was:" >&5 |
7649 cat conftest.$ac_ext >&5 | 7854 cat conftest.$ac_ext >&5 |
7663 | 7868 |
7664 | 7869 |
7665 if test "$have_motif $have_lesstif" = "yes no"; then | 7870 if test "$have_motif $have_lesstif" = "yes no"; then |
7666 | 7871 |
7667 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7872 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7668 echo "configure:7669: checking for XmImMbLookupString in -lXm" >&5 | 7873 echo "configure:7874: checking for XmImMbLookupString in -lXm" >&5 |
7669 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7874 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7670 | 7875 |
7671 xe_check_libs=" -lXm " | 7876 xe_check_libs=" -lXm " |
7672 cat > conftest.$ac_ext <<EOF | 7877 cat > conftest.$ac_ext <<EOF |
7673 #line 7674 "configure" | 7878 #line 7879 "configure" |
7674 #include "confdefs.h" | 7879 #include "confdefs.h" |
7675 /* Override any gcc2 internal prototype to avoid an error. */ | 7880 /* Override any gcc2 internal prototype to avoid an error. */ |
7676 /* We use char because int might match the return type of a gcc2 | 7881 /* We use char because int might match the return type of a gcc2 |
7677 builtin and then its argument prototype would still apply. */ | 7882 builtin and then its argument prototype would still apply. */ |
7678 char XmImMbLookupString(); | 7883 char XmImMbLookupString(); |
7679 | 7884 |
7680 int main() { | 7885 int main() { |
7681 XmImMbLookupString() | 7886 XmImMbLookupString() |
7682 ; return 0; } | 7887 ; return 0; } |
7683 EOF | 7888 EOF |
7684 if { (eval echo configure:7685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7889 if { (eval echo configure:7890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7685 rm -rf conftest* | 7890 rm -rf conftest* |
7686 eval "ac_cv_lib_$ac_lib_var=yes" | 7891 eval "ac_cv_lib_$ac_lib_var=yes" |
7687 else | 7892 else |
7688 echo "configure: failed program was:" >&5 | 7893 echo "configure: failed program was:" >&5 |
7689 cat conftest.$ac_ext >&5 | 7894 cat conftest.$ac_ext >&5 |
7744 fi | 7949 fi |
7745 fi | 7950 fi |
7746 | 7951 |
7747 if test "$with_xfs" = "yes" ; then | 7952 if test "$with_xfs" = "yes" ; then |
7748 echo "checking for XFontSet" 1>&6 | 7953 echo "checking for XFontSet" 1>&6 |
7749 echo "configure:7750: checking for XFontSet" >&5 | 7954 echo "configure:7955: checking for XFontSet" >&5 |
7750 | 7955 |
7751 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7956 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7752 echo "configure:7753: checking for XmbDrawString in -lX11" >&5 | 7957 echo "configure:7958: checking for XmbDrawString in -lX11" >&5 |
7753 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7958 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7754 | 7959 |
7755 xe_check_libs=" -lX11 " | 7960 xe_check_libs=" -lX11 " |
7756 cat > conftest.$ac_ext <<EOF | 7961 cat > conftest.$ac_ext <<EOF |
7757 #line 7758 "configure" | 7962 #line 7963 "configure" |
7758 #include "confdefs.h" | 7963 #include "confdefs.h" |
7759 /* Override any gcc2 internal prototype to avoid an error. */ | 7964 /* Override any gcc2 internal prototype to avoid an error. */ |
7760 /* We use char because int might match the return type of a gcc2 | 7965 /* We use char because int might match the return type of a gcc2 |
7761 builtin and then its argument prototype would still apply. */ | 7966 builtin and then its argument prototype would still apply. */ |
7762 char XmbDrawString(); | 7967 char XmbDrawString(); |
7763 | 7968 |
7764 int main() { | 7969 int main() { |
7765 XmbDrawString() | 7970 XmbDrawString() |
7766 ; return 0; } | 7971 ; return 0; } |
7767 EOF | 7972 EOF |
7768 if { (eval echo configure:7769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7769 rm -rf conftest* | 7974 rm -rf conftest* |
7770 eval "ac_cv_lib_$ac_lib_var=yes" | 7975 eval "ac_cv_lib_$ac_lib_var=yes" |
7771 else | 7976 else |
7772 echo "configure: failed program was:" >&5 | 7977 echo "configure: failed program was:" >&5 |
7773 cat conftest.$ac_ext >&5 | 7978 cat conftest.$ac_ext >&5 |
7803 fi | 8008 fi |
7804 fi | 8009 fi |
7805 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8010 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7806 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8011 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7807 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8012 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7808 echo "configure:7809: checking for wnn/jllib.h" >&5 | 8013 echo "configure:8014: checking for wnn/jllib.h" >&5 |
7809 | 8014 |
7810 cat > conftest.$ac_ext <<EOF | 8015 cat > conftest.$ac_ext <<EOF |
7811 #line 7812 "configure" | 8016 #line 8017 "configure" |
7812 #include "confdefs.h" | 8017 #include "confdefs.h" |
7813 #include <wnn/jllib.h> | 8018 #include <wnn/jllib.h> |
7814 EOF | 8019 EOF |
7815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7816 { (eval echo configure:7817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8021 { (eval echo configure:8022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7817 ac_err=`grep -v '^ *+' conftest.out` | 8022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7818 if test -z "$ac_err"; then | 8023 if test -z "$ac_err"; then |
7819 rm -rf conftest* | 8024 rm -rf conftest* |
7820 eval "ac_cv_header_$ac_safe=yes" | 8025 eval "ac_cv_header_$ac_safe=yes" |
7821 else | 8026 else |
7822 echo "$ac_err" >&5 | 8027 echo "$ac_err" >&5 |
7836 } | 8041 } |
7837 if test "$with_wnn" != "no"; then | 8042 if test "$with_wnn" != "no"; then |
7838 for ac_func in crypt | 8043 for ac_func in crypt |
7839 do | 8044 do |
7840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7841 echo "configure:7842: checking for $ac_func" >&5 | 8046 echo "configure:8047: checking for $ac_func" >&5 |
7842 | 8047 |
7843 cat > conftest.$ac_ext <<EOF | 8048 cat > conftest.$ac_ext <<EOF |
7844 #line 7845 "configure" | 8049 #line 8050 "configure" |
7845 #include "confdefs.h" | 8050 #include "confdefs.h" |
7846 /* System header to define __stub macros and hopefully few prototypes, | 8051 /* System header to define __stub macros and hopefully few prototypes, |
7847 which can conflict with char $ac_func(); below. */ | 8052 which can conflict with char $ac_func(); below. */ |
7848 #include <assert.h> | 8053 #include <assert.h> |
7849 /* Override any gcc2 internal prototype to avoid an error. */ | 8054 /* Override any gcc2 internal prototype to avoid an error. */ |
7862 $ac_func(); | 8067 $ac_func(); |
7863 #endif | 8068 #endif |
7864 | 8069 |
7865 ; return 0; } | 8070 ; return 0; } |
7866 EOF | 8071 EOF |
7867 if { (eval echo configure:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8072 if { (eval echo configure:8073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7868 rm -rf conftest* | 8073 rm -rf conftest* |
7869 eval "ac_cv_func_$ac_func=yes" | 8074 eval "ac_cv_func_$ac_func=yes" |
7870 else | 8075 else |
7871 echo "configure: failed program was:" >&5 | 8076 echo "configure: failed program was:" >&5 |
7872 cat conftest.$ac_ext >&5 | 8077 cat conftest.$ac_ext >&5 |
7891 fi | 8096 fi |
7892 done | 8097 done |
7893 | 8098 |
7894 test "$ac_cv_func_crypt" != "yes" && { | 8099 test "$ac_cv_func_crypt" != "yes" && { |
7895 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8100 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7896 echo "configure:7897: checking for crypt in -lcrypt" >&5 | 8101 echo "configure:8102: checking for crypt in -lcrypt" >&5 |
7897 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8102 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7898 | 8103 |
7899 xe_check_libs=" -lcrypt " | 8104 xe_check_libs=" -lcrypt " |
7900 cat > conftest.$ac_ext <<EOF | 8105 cat > conftest.$ac_ext <<EOF |
7901 #line 7902 "configure" | 8106 #line 8107 "configure" |
7902 #include "confdefs.h" | 8107 #include "confdefs.h" |
7903 /* Override any gcc2 internal prototype to avoid an error. */ | 8108 /* Override any gcc2 internal prototype to avoid an error. */ |
7904 /* We use char because int might match the return type of a gcc2 | 8109 /* We use char because int might match the return type of a gcc2 |
7905 builtin and then its argument prototype would still apply. */ | 8110 builtin and then its argument prototype would still apply. */ |
7906 char crypt(); | 8111 char crypt(); |
7907 | 8112 |
7908 int main() { | 8113 int main() { |
7909 crypt() | 8114 crypt() |
7910 ; return 0; } | 8115 ; return 0; } |
7911 EOF | 8116 EOF |
7912 if { (eval echo configure:7913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8117 if { (eval echo configure:8118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7913 rm -rf conftest* | 8118 rm -rf conftest* |
7914 eval "ac_cv_lib_$ac_lib_var=yes" | 8119 eval "ac_cv_lib_$ac_lib_var=yes" |
7915 else | 8120 else |
7916 echo "configure: failed program was:" >&5 | 8121 echo "configure: failed program was:" >&5 |
7917 cat conftest.$ac_ext >&5 | 8122 cat conftest.$ac_ext >&5 |
7942 } | 8147 } |
7943 fi | 8148 fi |
7944 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8149 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
7945 | 8150 |
7946 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8151 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7947 echo "configure:7948: checking for jl_dic_list_e in -lwnn" >&5 | 8152 echo "configure:8153: checking for jl_dic_list_e in -lwnn" >&5 |
7948 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8153 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7949 | 8154 |
7950 xe_check_libs=" -lwnn " | 8155 xe_check_libs=" -lwnn " |
7951 cat > conftest.$ac_ext <<EOF | 8156 cat > conftest.$ac_ext <<EOF |
7952 #line 7953 "configure" | 8157 #line 8158 "configure" |
7953 #include "confdefs.h" | 8158 #include "confdefs.h" |
7954 /* Override any gcc2 internal prototype to avoid an error. */ | 8159 /* Override any gcc2 internal prototype to avoid an error. */ |
7955 /* We use char because int might match the return type of a gcc2 | 8160 /* We use char because int might match the return type of a gcc2 |
7956 builtin and then its argument prototype would still apply. */ | 8161 builtin and then its argument prototype would still apply. */ |
7957 char jl_dic_list_e(); | 8162 char jl_dic_list_e(); |
7958 | 8163 |
7959 int main() { | 8164 int main() { |
7960 jl_dic_list_e() | 8165 jl_dic_list_e() |
7961 ; return 0; } | 8166 ; return 0; } |
7962 EOF | 8167 EOF |
7963 if { (eval echo configure:7964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8168 if { (eval echo configure:8169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7964 rm -rf conftest* | 8169 rm -rf conftest* |
7965 eval "ac_cv_lib_$ac_lib_var=yes" | 8170 eval "ac_cv_lib_$ac_lib_var=yes" |
7966 else | 8171 else |
7967 echo "configure: failed program was:" >&5 | 8172 echo "configure: failed program was:" >&5 |
7968 cat conftest.$ac_ext >&5 | 8173 cat conftest.$ac_ext >&5 |
7976 echo "$ac_t""yes" 1>&6 | 8181 echo "$ac_t""yes" 1>&6 |
7977 libwnn=wnn | 8182 libwnn=wnn |
7978 else | 8183 else |
7979 echo "$ac_t""no" 1>&6 | 8184 echo "$ac_t""no" 1>&6 |
7980 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8185 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
7981 echo "configure:7982: checking for jl_dic_list_e in -lwnn4" >&5 | 8186 echo "configure:8187: checking for jl_dic_list_e in -lwnn4" >&5 |
7982 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8187 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7983 | 8188 |
7984 xe_check_libs=" -lwnn4 " | 8189 xe_check_libs=" -lwnn4 " |
7985 cat > conftest.$ac_ext <<EOF | 8190 cat > conftest.$ac_ext <<EOF |
7986 #line 7987 "configure" | 8191 #line 8192 "configure" |
7987 #include "confdefs.h" | 8192 #include "confdefs.h" |
7988 /* Override any gcc2 internal prototype to avoid an error. */ | 8193 /* Override any gcc2 internal prototype to avoid an error. */ |
7989 /* We use char because int might match the return type of a gcc2 | 8194 /* We use char because int might match the return type of a gcc2 |
7990 builtin and then its argument prototype would still apply. */ | 8195 builtin and then its argument prototype would still apply. */ |
7991 char jl_dic_list_e(); | 8196 char jl_dic_list_e(); |
7992 | 8197 |
7993 int main() { | 8198 int main() { |
7994 jl_dic_list_e() | 8199 jl_dic_list_e() |
7995 ; return 0; } | 8200 ; return 0; } |
7996 EOF | 8201 EOF |
7997 if { (eval echo configure:7998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8202 if { (eval echo configure:8203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7998 rm -rf conftest* | 8203 rm -rf conftest* |
7999 eval "ac_cv_lib_$ac_lib_var=yes" | 8204 eval "ac_cv_lib_$ac_lib_var=yes" |
8000 else | 8205 else |
8001 echo "configure: failed program was:" >&5 | 8206 echo "configure: failed program was:" >&5 |
8002 cat conftest.$ac_ext >&5 | 8207 cat conftest.$ac_ext >&5 |
8010 echo "$ac_t""yes" 1>&6 | 8215 echo "$ac_t""yes" 1>&6 |
8011 libwnn=wnn4 | 8216 libwnn=wnn4 |
8012 else | 8217 else |
8013 echo "$ac_t""no" 1>&6 | 8218 echo "$ac_t""no" 1>&6 |
8014 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8219 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8015 echo "configure:8016: checking for jl_dic_list_e in -lwnn6" >&5 | 8220 echo "configure:8221: checking for jl_dic_list_e in -lwnn6" >&5 |
8016 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8221 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8017 | 8222 |
8018 xe_check_libs=" -lwnn6 " | 8223 xe_check_libs=" -lwnn6 " |
8019 cat > conftest.$ac_ext <<EOF | 8224 cat > conftest.$ac_ext <<EOF |
8020 #line 8021 "configure" | 8225 #line 8226 "configure" |
8021 #include "confdefs.h" | 8226 #include "confdefs.h" |
8022 /* Override any gcc2 internal prototype to avoid an error. */ | 8227 /* Override any gcc2 internal prototype to avoid an error. */ |
8023 /* We use char because int might match the return type of a gcc2 | 8228 /* We use char because int might match the return type of a gcc2 |
8024 builtin and then its argument prototype would still apply. */ | 8229 builtin and then its argument prototype would still apply. */ |
8025 char jl_dic_list_e(); | 8230 char jl_dic_list_e(); |
8026 | 8231 |
8027 int main() { | 8232 int main() { |
8028 jl_dic_list_e() | 8233 jl_dic_list_e() |
8029 ; return 0; } | 8234 ; return 0; } |
8030 EOF | 8235 EOF |
8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8236 if { (eval echo configure:8237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8032 rm -rf conftest* | 8237 rm -rf conftest* |
8033 eval "ac_cv_lib_$ac_lib_var=yes" | 8238 eval "ac_cv_lib_$ac_lib_var=yes" |
8034 else | 8239 else |
8035 echo "configure: failed program was:" >&5 | 8240 echo "configure: failed program was:" >&5 |
8036 cat conftest.$ac_ext >&5 | 8241 cat conftest.$ac_ext >&5 |
8044 echo "$ac_t""yes" 1>&6 | 8249 echo "$ac_t""yes" 1>&6 |
8045 libwnn=wnn6 | 8250 libwnn=wnn6 |
8046 else | 8251 else |
8047 echo "$ac_t""no" 1>&6 | 8252 echo "$ac_t""no" 1>&6 |
8048 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8253 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8049 echo "configure:8050: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8254 echo "configure:8255: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8050 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8255 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8051 | 8256 |
8052 xe_check_libs=" -lwnn6_fromsrc " | 8257 xe_check_libs=" -lwnn6_fromsrc " |
8053 cat > conftest.$ac_ext <<EOF | 8258 cat > conftest.$ac_ext <<EOF |
8054 #line 8055 "configure" | 8259 #line 8260 "configure" |
8055 #include "confdefs.h" | 8260 #include "confdefs.h" |
8056 /* Override any gcc2 internal prototype to avoid an error. */ | 8261 /* Override any gcc2 internal prototype to avoid an error. */ |
8057 /* We use char because int might match the return type of a gcc2 | 8262 /* We use char because int might match the return type of a gcc2 |
8058 builtin and then its argument prototype would still apply. */ | 8263 builtin and then its argument prototype would still apply. */ |
8059 char dic_list_e(); | 8264 char dic_list_e(); |
8060 | 8265 |
8061 int main() { | 8266 int main() { |
8062 dic_list_e() | 8267 dic_list_e() |
8063 ; return 0; } | 8268 ; return 0; } |
8064 EOF | 8269 EOF |
8065 if { (eval echo configure:8066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8270 if { (eval echo configure:8271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8066 rm -rf conftest* | 8271 rm -rf conftest* |
8067 eval "ac_cv_lib_$ac_lib_var=yes" | 8272 eval "ac_cv_lib_$ac_lib_var=yes" |
8068 else | 8273 else |
8069 echo "configure: failed program was:" >&5 | 8274 echo "configure: failed program was:" >&5 |
8070 cat conftest.$ac_ext >&5 | 8275 cat conftest.$ac_ext >&5 |
8108 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8313 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8109 fi | 8314 fi |
8110 if test "$with_wnn6" != "no"; then | 8315 if test "$with_wnn6" != "no"; then |
8111 | 8316 |
8112 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8317 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8113 echo "configure:8114: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8318 echo "configure:8319: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8114 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8319 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8115 | 8320 |
8116 xe_check_libs=" -l$libwnn " | 8321 xe_check_libs=" -l$libwnn " |
8117 cat > conftest.$ac_ext <<EOF | 8322 cat > conftest.$ac_ext <<EOF |
8118 #line 8119 "configure" | 8323 #line 8324 "configure" |
8119 #include "confdefs.h" | 8324 #include "confdefs.h" |
8120 /* Override any gcc2 internal prototype to avoid an error. */ | 8325 /* Override any gcc2 internal prototype to avoid an error. */ |
8121 /* We use char because int might match the return type of a gcc2 | 8326 /* We use char because int might match the return type of a gcc2 |
8122 builtin and then its argument prototype would still apply. */ | 8327 builtin and then its argument prototype would still apply. */ |
8123 char jl_fi_dic_list(); | 8328 char jl_fi_dic_list(); |
8124 | 8329 |
8125 int main() { | 8330 int main() { |
8126 jl_fi_dic_list() | 8331 jl_fi_dic_list() |
8127 ; return 0; } | 8332 ; return 0; } |
8128 EOF | 8333 EOF |
8129 if { (eval echo configure:8130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8334 if { (eval echo configure:8335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8130 rm -rf conftest* | 8335 rm -rf conftest* |
8131 eval "ac_cv_lib_$ac_lib_var=yes" | 8336 eval "ac_cv_lib_$ac_lib_var=yes" |
8132 else | 8337 else |
8133 echo "configure: failed program was:" >&5 | 8338 echo "configure: failed program was:" >&5 |
8134 cat conftest.$ac_ext >&5 | 8339 cat conftest.$ac_ext >&5 |
8159 | 8364 |
8160 canna_includes_found=no | 8365 canna_includes_found=no |
8161 if test "$with_canna" != "no"; then | 8366 if test "$with_canna" != "no"; then |
8162 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8367 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8163 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8368 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8164 echo "configure:8165: checking for canna/jrkanji.h" >&5 | 8369 echo "configure:8370: checking for canna/jrkanji.h" >&5 |
8165 | 8370 |
8166 cat > conftest.$ac_ext <<EOF | 8371 cat > conftest.$ac_ext <<EOF |
8167 #line 8168 "configure" | 8372 #line 8373 "configure" |
8168 #include "confdefs.h" | 8373 #include "confdefs.h" |
8169 #include <canna/jrkanji.h> | 8374 #include <canna/jrkanji.h> |
8170 EOF | 8375 EOF |
8171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8172 { (eval echo configure:8173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8377 { (eval echo configure:8378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8173 ac_err=`grep -v '^ *+' conftest.out` | 8378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8174 if test -z "$ac_err"; then | 8379 if test -z "$ac_err"; then |
8175 rm -rf conftest* | 8380 rm -rf conftest* |
8176 eval "ac_cv_header_$ac_safe=yes" | 8381 eval "ac_cv_header_$ac_safe=yes" |
8177 else | 8382 else |
8178 echo "$ac_err" >&5 | 8383 echo "$ac_err" >&5 |
8194 -d "/usr/local/canna/include"; then | 8399 -d "/usr/local/canna/include"; then |
8195 save_c_switch_site="$c_switch_site" | 8400 save_c_switch_site="$c_switch_site" |
8196 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8401 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8197 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8402 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8198 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8403 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8199 echo "configure:8200: checking for canna/jrkanji.h" >&5 | 8404 echo "configure:8405: checking for canna/jrkanji.h" >&5 |
8200 | 8405 |
8201 cat > conftest.$ac_ext <<EOF | 8406 cat > conftest.$ac_ext <<EOF |
8202 #line 8203 "configure" | 8407 #line 8408 "configure" |
8203 #include "confdefs.h" | 8408 #include "confdefs.h" |
8204 #include <canna/jrkanji.h> | 8409 #include <canna/jrkanji.h> |
8205 EOF | 8410 EOF |
8206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8207 { (eval echo configure:8208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8412 { (eval echo configure:8413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8208 ac_err=`grep -v '^ *+' conftest.out` | 8413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8209 if test -z "$ac_err"; then | 8414 if test -z "$ac_err"; then |
8210 rm -rf conftest* | 8415 rm -rf conftest* |
8211 eval "ac_cv_header_$ac_safe=yes" | 8416 eval "ac_cv_header_$ac_safe=yes" |
8212 else | 8417 else |
8213 echo "$ac_err" >&5 | 8418 echo "$ac_err" >&5 |
8230 fi | 8435 fi |
8231 fi | 8436 fi |
8232 | 8437 |
8233 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8438 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8234 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8439 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8235 echo "configure:8236: checking for canna/RK.h" >&5 | 8440 echo "configure:8441: checking for canna/RK.h" >&5 |
8236 | 8441 |
8237 cat > conftest.$ac_ext <<EOF | 8442 cat > conftest.$ac_ext <<EOF |
8238 #line 8239 "configure" | 8443 #line 8444 "configure" |
8239 #include "confdefs.h" | 8444 #include "confdefs.h" |
8240 #include <canna/RK.h> | 8445 #include <canna/RK.h> |
8241 EOF | 8446 EOF |
8242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8447 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8243 { (eval echo configure:8244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8448 { (eval echo configure:8449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8244 ac_err=`grep -v '^ *+' conftest.out` | 8449 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8245 if test -z "$ac_err"; then | 8450 if test -z "$ac_err"; then |
8246 rm -rf conftest* | 8451 rm -rf conftest* |
8247 eval "ac_cv_header_$ac_safe=yes" | 8452 eval "ac_cv_header_$ac_safe=yes" |
8248 else | 8453 else |
8249 echo "$ac_err" >&5 | 8454 echo "$ac_err" >&5 |
8261 with_canna=no | 8466 with_canna=no |
8262 fi | 8467 fi |
8263 } | 8468 } |
8264 test -z "$with_canna" && { | 8469 test -z "$with_canna" && { |
8265 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8470 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8266 echo "configure:8267: checking for RkBgnBun in -lRKC" >&5 | 8471 echo "configure:8472: checking for RkBgnBun in -lRKC" >&5 |
8267 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8472 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8268 | 8473 |
8269 xe_check_libs=" -lRKC " | 8474 xe_check_libs=" -lRKC " |
8270 cat > conftest.$ac_ext <<EOF | 8475 cat > conftest.$ac_ext <<EOF |
8271 #line 8272 "configure" | 8476 #line 8477 "configure" |
8272 #include "confdefs.h" | 8477 #include "confdefs.h" |
8273 /* Override any gcc2 internal prototype to avoid an error. */ | 8478 /* Override any gcc2 internal prototype to avoid an error. */ |
8274 /* We use char because int might match the return type of a gcc2 | 8479 /* We use char because int might match the return type of a gcc2 |
8275 builtin and then its argument prototype would still apply. */ | 8480 builtin and then its argument prototype would still apply. */ |
8276 char RkBgnBun(); | 8481 char RkBgnBun(); |
8277 | 8482 |
8278 int main() { | 8483 int main() { |
8279 RkBgnBun() | 8484 RkBgnBun() |
8280 ; return 0; } | 8485 ; return 0; } |
8281 EOF | 8486 EOF |
8282 if { (eval echo configure:8283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8487 if { (eval echo configure:8488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8283 rm -rf conftest* | 8488 rm -rf conftest* |
8284 eval "ac_cv_lib_$ac_lib_var=yes" | 8489 eval "ac_cv_lib_$ac_lib_var=yes" |
8285 else | 8490 else |
8286 echo "configure: failed program was:" >&5 | 8491 echo "configure: failed program was:" >&5 |
8287 cat conftest.$ac_ext >&5 | 8492 cat conftest.$ac_ext >&5 |
8300 fi | 8505 fi |
8301 | 8506 |
8302 } | 8507 } |
8303 test -z "$with_canna" && { | 8508 test -z "$with_canna" && { |
8304 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8509 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8305 echo "configure:8306: checking for jrKanjiControl in -lcanna" >&5 | 8510 echo "configure:8511: checking for jrKanjiControl in -lcanna" >&5 |
8306 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8511 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8307 | 8512 |
8308 xe_check_libs=" -lcanna " | 8513 xe_check_libs=" -lcanna " |
8309 cat > conftest.$ac_ext <<EOF | 8514 cat > conftest.$ac_ext <<EOF |
8310 #line 8311 "configure" | 8515 #line 8516 "configure" |
8311 #include "confdefs.h" | 8516 #include "confdefs.h" |
8312 /* Override any gcc2 internal prototype to avoid an error. */ | 8517 /* Override any gcc2 internal prototype to avoid an error. */ |
8313 /* We use char because int might match the return type of a gcc2 | 8518 /* We use char because int might match the return type of a gcc2 |
8314 builtin and then its argument prototype would still apply. */ | 8519 builtin and then its argument prototype would still apply. */ |
8315 char jrKanjiControl(); | 8520 char jrKanjiControl(); |
8316 | 8521 |
8317 int main() { | 8522 int main() { |
8318 jrKanjiControl() | 8523 jrKanjiControl() |
8319 ; return 0; } | 8524 ; return 0; } |
8320 EOF | 8525 EOF |
8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8322 rm -rf conftest* | 8527 rm -rf conftest* |
8323 eval "ac_cv_lib_$ac_lib_var=yes" | 8528 eval "ac_cv_lib_$ac_lib_var=yes" |
8324 else | 8529 else |
8325 echo "configure: failed program was:" >&5 | 8530 echo "configure: failed program was:" >&5 |
8326 cat conftest.$ac_ext >&5 | 8531 cat conftest.$ac_ext >&5 |
8365 | 8570 |
8366 if test "$need_motif" = "yes" ; then | 8571 if test "$need_motif" = "yes" ; then |
8367 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8572 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8368 | 8573 |
8369 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8574 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8370 echo "configure:8371: checking for layout_object_getvalue in -li18n" >&5 | 8575 echo "configure:8576: checking for layout_object_getvalue in -li18n" >&5 |
8371 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8576 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8372 | 8577 |
8373 xe_check_libs=" -li18n " | 8578 xe_check_libs=" -li18n " |
8374 cat > conftest.$ac_ext <<EOF | 8579 cat > conftest.$ac_ext <<EOF |
8375 #line 8376 "configure" | 8580 #line 8581 "configure" |
8376 #include "confdefs.h" | 8581 #include "confdefs.h" |
8377 /* Override any gcc2 internal prototype to avoid an error. */ | 8582 /* Override any gcc2 internal prototype to avoid an error. */ |
8378 /* We use char because int might match the return type of a gcc2 | 8583 /* We use char because int might match the return type of a gcc2 |
8379 builtin and then its argument prototype would still apply. */ | 8584 builtin and then its argument prototype would still apply. */ |
8380 char layout_object_getvalue(); | 8585 char layout_object_getvalue(); |
8381 | 8586 |
8382 int main() { | 8587 int main() { |
8383 layout_object_getvalue() | 8588 layout_object_getvalue() |
8384 ; return 0; } | 8589 ; return 0; } |
8385 EOF | 8590 EOF |
8386 if { (eval echo configure:8387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8591 if { (eval echo configure:8592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8387 rm -rf conftest* | 8592 rm -rf conftest* |
8388 eval "ac_cv_lib_$ac_lib_var=yes" | 8593 eval "ac_cv_lib_$ac_lib_var=yes" |
8389 else | 8594 else |
8390 echo "configure: failed program was:" >&5 | 8595 echo "configure: failed program was:" >&5 |
8391 cat conftest.$ac_ext >&5 | 8596 cat conftest.$ac_ext >&5 |
8467 fi | 8672 fi |
8468 | 8673 |
8469 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 | 8674 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 |
8470 do | 8675 do |
8471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8472 echo "configure:8473: checking for $ac_func" >&5 | 8677 echo "configure:8678: checking for $ac_func" >&5 |
8473 | 8678 |
8474 cat > conftest.$ac_ext <<EOF | 8679 cat > conftest.$ac_ext <<EOF |
8475 #line 8476 "configure" | 8680 #line 8681 "configure" |
8476 #include "confdefs.h" | 8681 #include "confdefs.h" |
8477 /* System header to define __stub macros and hopefully few prototypes, | 8682 /* System header to define __stub macros and hopefully few prototypes, |
8478 which can conflict with char $ac_func(); below. */ | 8683 which can conflict with char $ac_func(); below. */ |
8479 #include <assert.h> | 8684 #include <assert.h> |
8480 /* Override any gcc2 internal prototype to avoid an error. */ | 8685 /* Override any gcc2 internal prototype to avoid an error. */ |
8493 $ac_func(); | 8698 $ac_func(); |
8494 #endif | 8699 #endif |
8495 | 8700 |
8496 ; return 0; } | 8701 ; return 0; } |
8497 EOF | 8702 EOF |
8498 if { (eval echo configure:8499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8703 if { (eval echo configure:8704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8499 rm -rf conftest* | 8704 rm -rf conftest* |
8500 eval "ac_cv_func_$ac_func=yes" | 8705 eval "ac_cv_func_$ac_func=yes" |
8501 else | 8706 else |
8502 echo "configure: failed program was:" >&5 | 8707 echo "configure: failed program was:" >&5 |
8503 cat conftest.$ac_ext >&5 | 8708 cat conftest.$ac_ext >&5 |
8534 echo " xemacs will be linked with \"realpath.o\"" | 8739 echo " xemacs will be linked with \"realpath.o\"" |
8535 fi ;; | 8740 fi ;; |
8536 * ) for ac_func in realpath | 8741 * ) for ac_func in realpath |
8537 do | 8742 do |
8538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8539 echo "configure:8540: checking for $ac_func" >&5 | 8744 echo "configure:8745: checking for $ac_func" >&5 |
8540 | 8745 |
8541 cat > conftest.$ac_ext <<EOF | 8746 cat > conftest.$ac_ext <<EOF |
8542 #line 8543 "configure" | 8747 #line 8748 "configure" |
8543 #include "confdefs.h" | 8748 #include "confdefs.h" |
8544 /* System header to define __stub macros and hopefully few prototypes, | 8749 /* System header to define __stub macros and hopefully few prototypes, |
8545 which can conflict with char $ac_func(); below. */ | 8750 which can conflict with char $ac_func(); below. */ |
8546 #include <assert.h> | 8751 #include <assert.h> |
8547 /* Override any gcc2 internal prototype to avoid an error. */ | 8752 /* Override any gcc2 internal prototype to avoid an error. */ |
8560 $ac_func(); | 8765 $ac_func(); |
8561 #endif | 8766 #endif |
8562 | 8767 |
8563 ; return 0; } | 8768 ; return 0; } |
8564 EOF | 8769 EOF |
8565 if { (eval echo configure:8566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8770 if { (eval echo configure:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8566 rm -rf conftest* | 8771 rm -rf conftest* |
8567 eval "ac_cv_func_$ac_func=yes" | 8772 eval "ac_cv_func_$ac_func=yes" |
8568 else | 8773 else |
8569 echo "configure: failed program was:" >&5 | 8774 echo "configure: failed program was:" >&5 |
8570 cat conftest.$ac_ext >&5 | 8775 cat conftest.$ac_ext >&5 |
8596 esac | 8801 esac |
8597 | 8802 |
8598 for ac_func in getloadavg | 8803 for ac_func in getloadavg |
8599 do | 8804 do |
8600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8601 echo "configure:8602: checking for $ac_func" >&5 | 8806 echo "configure:8807: checking for $ac_func" >&5 |
8602 | 8807 |
8603 cat > conftest.$ac_ext <<EOF | 8808 cat > conftest.$ac_ext <<EOF |
8604 #line 8605 "configure" | 8809 #line 8810 "configure" |
8605 #include "confdefs.h" | 8810 #include "confdefs.h" |
8606 /* System header to define __stub macros and hopefully few prototypes, | 8811 /* System header to define __stub macros and hopefully few prototypes, |
8607 which can conflict with char $ac_func(); below. */ | 8812 which can conflict with char $ac_func(); below. */ |
8608 #include <assert.h> | 8813 #include <assert.h> |
8609 /* Override any gcc2 internal prototype to avoid an error. */ | 8814 /* Override any gcc2 internal prototype to avoid an error. */ |
8622 $ac_func(); | 8827 $ac_func(); |
8623 #endif | 8828 #endif |
8624 | 8829 |
8625 ; return 0; } | 8830 ; return 0; } |
8626 EOF | 8831 EOF |
8627 if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8832 if { (eval echo configure:8833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8628 rm -rf conftest* | 8833 rm -rf conftest* |
8629 eval "ac_cv_func_$ac_func=yes" | 8834 eval "ac_cv_func_$ac_func=yes" |
8630 else | 8835 else |
8631 echo "configure: failed program was:" >&5 | 8836 echo "configure: failed program was:" >&5 |
8632 cat conftest.$ac_ext >&5 | 8837 cat conftest.$ac_ext >&5 |
8658 echo " xemacs will be linked with \"getloadavg.o\"" | 8863 echo " xemacs will be linked with \"getloadavg.o\"" |
8659 fi | 8864 fi |
8660 | 8865 |
8661 | 8866 |
8662 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 8867 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
8663 echo "configure:8664: checking for kstat_open in -lkstat" >&5 | 8868 echo "configure:8869: checking for kstat_open in -lkstat" >&5 |
8664 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 8869 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
8665 | 8870 |
8666 xe_check_libs=" -lkstat " | 8871 xe_check_libs=" -lkstat " |
8667 cat > conftest.$ac_ext <<EOF | 8872 cat > conftest.$ac_ext <<EOF |
8668 #line 8669 "configure" | 8873 #line 8874 "configure" |
8669 #include "confdefs.h" | 8874 #include "confdefs.h" |
8670 /* Override any gcc2 internal prototype to avoid an error. */ | 8875 /* Override any gcc2 internal prototype to avoid an error. */ |
8671 /* We use char because int might match the return type of a gcc2 | 8876 /* We use char because int might match the return type of a gcc2 |
8672 builtin and then its argument prototype would still apply. */ | 8877 builtin and then its argument prototype would still apply. */ |
8673 char kstat_open(); | 8878 char kstat_open(); |
8674 | 8879 |
8675 int main() { | 8880 int main() { |
8676 kstat_open() | 8881 kstat_open() |
8677 ; return 0; } | 8882 ; return 0; } |
8678 EOF | 8883 EOF |
8679 if { (eval echo configure:8680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8680 rm -rf conftest* | 8885 rm -rf conftest* |
8681 eval "ac_cv_lib_$ac_lib_var=yes" | 8886 eval "ac_cv_lib_$ac_lib_var=yes" |
8682 else | 8887 else |
8683 echo "configure: failed program was:" >&5 | 8888 echo "configure: failed program was:" >&5 |
8684 cat conftest.$ac_ext >&5 | 8889 cat conftest.$ac_ext >&5 |
8708 | 8913 |
8709 | 8914 |
8710 | 8915 |
8711 | 8916 |
8712 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 8917 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
8713 echo "configure:8714: checking for kvm_read in -lkvm" >&5 | 8918 echo "configure:8919: checking for kvm_read in -lkvm" >&5 |
8714 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 8919 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
8715 | 8920 |
8716 xe_check_libs=" -lkvm " | 8921 xe_check_libs=" -lkvm " |
8717 cat > conftest.$ac_ext <<EOF | 8922 cat > conftest.$ac_ext <<EOF |
8718 #line 8719 "configure" | 8923 #line 8924 "configure" |
8719 #include "confdefs.h" | 8924 #include "confdefs.h" |
8720 /* Override any gcc2 internal prototype to avoid an error. */ | 8925 /* Override any gcc2 internal prototype to avoid an error. */ |
8721 /* We use char because int might match the return type of a gcc2 | 8926 /* We use char because int might match the return type of a gcc2 |
8722 builtin and then its argument prototype would still apply. */ | 8927 builtin and then its argument prototype would still apply. */ |
8723 char kvm_read(); | 8928 char kvm_read(); |
8724 | 8929 |
8725 int main() { | 8930 int main() { |
8726 kvm_read() | 8931 kvm_read() |
8727 ; return 0; } | 8932 ; return 0; } |
8728 EOF | 8933 EOF |
8729 if { (eval echo configure:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8730 rm -rf conftest* | 8935 rm -rf conftest* |
8731 eval "ac_cv_lib_$ac_lib_var=yes" | 8936 eval "ac_cv_lib_$ac_lib_var=yes" |
8732 else | 8937 else |
8733 echo "configure: failed program was:" >&5 | 8938 echo "configure: failed program was:" >&5 |
8734 cat conftest.$ac_ext >&5 | 8939 cat conftest.$ac_ext >&5 |
8758 | 8963 |
8759 | 8964 |
8760 fi | 8965 fi |
8761 | 8966 |
8762 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8967 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8763 echo "configure:8764: checking whether netdb declares h_errno" >&5 | 8968 echo "configure:8969: checking whether netdb declares h_errno" >&5 |
8764 cat > conftest.$ac_ext <<EOF | 8969 cat > conftest.$ac_ext <<EOF |
8765 #line 8766 "configure" | 8970 #line 8971 "configure" |
8766 #include "confdefs.h" | 8971 #include "confdefs.h" |
8767 #include <netdb.h> | 8972 #include <netdb.h> |
8768 int main() { | 8973 int main() { |
8769 return h_errno; | 8974 return h_errno; |
8770 ; return 0; } | 8975 ; return 0; } |
8771 EOF | 8976 EOF |
8772 if { (eval echo configure:8773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8977 if { (eval echo configure:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8773 rm -rf conftest* | 8978 rm -rf conftest* |
8774 echo "$ac_t""yes" 1>&6 | 8979 echo "$ac_t""yes" 1>&6 |
8775 { test "$extra_verbose" = "yes" && cat << \EOF | 8980 { test "$extra_verbose" = "yes" && cat << \EOF |
8776 Defining HAVE_H_ERRNO | 8981 Defining HAVE_H_ERRNO |
8777 EOF | 8982 EOF |
8787 echo "$ac_t""no" 1>&6 | 8992 echo "$ac_t""no" 1>&6 |
8788 fi | 8993 fi |
8789 rm -f conftest* | 8994 rm -f conftest* |
8790 | 8995 |
8791 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8996 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8792 echo "configure:8793: checking for sigsetjmp" >&5 | 8997 echo "configure:8998: checking for sigsetjmp" >&5 |
8793 cat > conftest.$ac_ext <<EOF | 8998 cat > conftest.$ac_ext <<EOF |
8794 #line 8795 "configure" | 8999 #line 9000 "configure" |
8795 #include "confdefs.h" | 9000 #include "confdefs.h" |
8796 #include <setjmp.h> | 9001 #include <setjmp.h> |
8797 int main() { | 9002 int main() { |
8798 sigjmp_buf bar; sigsetjmp (bar, 0); | 9003 sigjmp_buf bar; sigsetjmp (bar, 0); |
8799 ; return 0; } | 9004 ; return 0; } |
8800 EOF | 9005 EOF |
8801 if { (eval echo configure:8802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9006 if { (eval echo configure:9007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8802 rm -rf conftest* | 9007 rm -rf conftest* |
8803 echo "$ac_t""yes" 1>&6 | 9008 echo "$ac_t""yes" 1>&6 |
8804 { test "$extra_verbose" = "yes" && cat << \EOF | 9009 { test "$extra_verbose" = "yes" && cat << \EOF |
8805 Defining HAVE_SIGSETJMP | 9010 Defining HAVE_SIGSETJMP |
8806 EOF | 9011 EOF |
8816 echo "$ac_t""no" 1>&6 | 9021 echo "$ac_t""no" 1>&6 |
8817 fi | 9022 fi |
8818 rm -f conftest* | 9023 rm -f conftest* |
8819 | 9024 |
8820 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9025 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8821 echo "configure:8822: checking whether localtime caches TZ" >&5 | 9026 echo "configure:9027: checking whether localtime caches TZ" >&5 |
8822 | 9027 |
8823 if test "$ac_cv_func_tzset" = "yes"; then | 9028 if test "$ac_cv_func_tzset" = "yes"; then |
8824 cat > conftest.$ac_ext <<EOF | 9029 cat > conftest.$ac_ext <<EOF |
8825 #line 8826 "configure" | 9030 #line 9031 "configure" |
8826 #include "confdefs.h" | 9031 #include "confdefs.h" |
8827 #include <time.h> | 9032 #include <time.h> |
8828 #if STDC_HEADERS | 9033 #if STDC_HEADERS |
8829 # include <stdlib.h> | 9034 # include <stdlib.h> |
8830 #endif | 9035 #endif |
8855 if (localtime (&now)->tm_hour != hour_unset) | 9060 if (localtime (&now)->tm_hour != hour_unset) |
8856 exit (1); | 9061 exit (1); |
8857 exit (0); | 9062 exit (0); |
8858 } | 9063 } |
8859 EOF | 9064 EOF |
8860 if { (eval echo configure:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9065 if { (eval echo configure:9066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8861 then | 9066 then |
8862 emacs_cv_localtime_cache=no | 9067 emacs_cv_localtime_cache=no |
8863 else | 9068 else |
8864 conftest_rc="$?" | 9069 conftest_rc="$?" |
8865 echo "configure: failed program was:" >&5 | 9070 echo "configure: failed program was:" >&5 |
8885 | 9090 |
8886 fi | 9091 fi |
8887 | 9092 |
8888 if test "$HAVE_TIMEVAL" = "yes"; then | 9093 if test "$HAVE_TIMEVAL" = "yes"; then |
8889 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9094 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8890 echo "configure:8891: checking whether gettimeofday accepts one or two arguments" >&5 | 9095 echo "configure:9096: checking whether gettimeofday accepts one or two arguments" >&5 |
8891 cat > conftest.$ac_ext <<EOF | 9096 cat > conftest.$ac_ext <<EOF |
8892 #line 8893 "configure" | 9097 #line 9098 "configure" |
8893 #include "confdefs.h" | 9098 #include "confdefs.h" |
8894 | 9099 |
8895 #ifdef TIME_WITH_SYS_TIME | 9100 #ifdef TIME_WITH_SYS_TIME |
8896 #include <sys/time.h> | 9101 #include <sys/time.h> |
8897 #include <time.h> | 9102 #include <time.h> |
8909 struct timezone dummy; | 9114 struct timezone dummy; |
8910 gettimeofday (&time, &dummy); | 9115 gettimeofday (&time, &dummy); |
8911 | 9116 |
8912 ; return 0; } | 9117 ; return 0; } |
8913 EOF | 9118 EOF |
8914 if { (eval echo configure:8915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9119 if { (eval echo configure:9120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8915 rm -rf conftest* | 9120 rm -rf conftest* |
8916 echo "$ac_t""two" 1>&6 | 9121 echo "$ac_t""two" 1>&6 |
8917 else | 9122 else |
8918 echo "configure: failed program was:" >&5 | 9123 echo "configure: failed program was:" >&5 |
8919 cat conftest.$ac_ext >&5 | 9124 cat conftest.$ac_ext >&5 |
8931 rm -f conftest* | 9136 rm -f conftest* |
8932 fi | 9137 fi |
8933 | 9138 |
8934 | 9139 |
8935 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9140 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8936 echo "configure:8937: checking for inline" >&5 | 9141 echo "configure:9142: checking for inline" >&5 |
8937 | 9142 |
8938 ac_cv_c_inline=no | 9143 ac_cv_c_inline=no |
8939 for ac_kw in inline __inline__ __inline; do | 9144 for ac_kw in inline __inline__ __inline; do |
8940 cat > conftest.$ac_ext <<EOF | 9145 cat > conftest.$ac_ext <<EOF |
8941 #line 8942 "configure" | 9146 #line 9147 "configure" |
8942 #include "confdefs.h" | 9147 #include "confdefs.h" |
8943 | 9148 |
8944 int main() { | 9149 int main() { |
8945 } $ac_kw foo() { | 9150 } $ac_kw foo() { |
8946 ; return 0; } | 9151 ; return 0; } |
8947 EOF | 9152 EOF |
8948 if { (eval echo configure:8949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9153 if { (eval echo configure:9154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8949 rm -rf conftest* | 9154 rm -rf conftest* |
8950 ac_cv_c_inline=$ac_kw; break | 9155 ac_cv_c_inline=$ac_kw; break |
8951 else | 9156 else |
8952 echo "configure: failed program was:" >&5 | 9157 echo "configure: failed program was:" >&5 |
8953 cat conftest.$ac_ext >&5 | 9158 cat conftest.$ac_ext >&5 |
8993 | 9198 |
8994 | 9199 |
8995 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9200 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8996 # for constant arguments. Useless! | 9201 # for constant arguments. Useless! |
8997 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9202 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8998 echo "configure:8999: checking for working alloca.h" >&5 | 9203 echo "configure:9204: checking for working alloca.h" >&5 |
8999 | 9204 |
9000 cat > conftest.$ac_ext <<EOF | 9205 cat > conftest.$ac_ext <<EOF |
9001 #line 9002 "configure" | 9206 #line 9207 "configure" |
9002 #include "confdefs.h" | 9207 #include "confdefs.h" |
9003 #include <alloca.h> | 9208 #include <alloca.h> |
9004 int main() { | 9209 int main() { |
9005 char *p = alloca(2 * sizeof(int)); | 9210 char *p = alloca(2 * sizeof(int)); |
9006 ; return 0; } | 9211 ; return 0; } |
9007 EOF | 9212 EOF |
9008 if { (eval echo configure:9009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9213 if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9009 rm -rf conftest* | 9214 rm -rf conftest* |
9010 ac_cv_header_alloca_h=yes | 9215 ac_cv_header_alloca_h=yes |
9011 else | 9216 else |
9012 echo "configure: failed program was:" >&5 | 9217 echo "configure: failed program was:" >&5 |
9013 cat conftest.$ac_ext >&5 | 9218 cat conftest.$ac_ext >&5 |
9027 } | 9232 } |
9028 | 9233 |
9029 fi | 9234 fi |
9030 | 9235 |
9031 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9236 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9032 echo "configure:9033: checking for alloca" >&5 | 9237 echo "configure:9238: checking for alloca" >&5 |
9033 | 9238 |
9034 cat > conftest.$ac_ext <<EOF | 9239 cat > conftest.$ac_ext <<EOF |
9035 #line 9036 "configure" | 9240 #line 9241 "configure" |
9036 #include "confdefs.h" | 9241 #include "confdefs.h" |
9037 | 9242 |
9038 #ifdef __GNUC__ | 9243 #ifdef __GNUC__ |
9039 # define alloca __builtin_alloca | 9244 # define alloca __builtin_alloca |
9040 #else | 9245 #else |
9041 # if HAVE_ALLOCA_H | 9246 # ifdef _MSC_VER |
9042 # include <alloca.h> | 9247 # include <malloc.h> |
9248 # define alloca _alloca | |
9043 # else | 9249 # else |
9044 # ifdef _AIX | 9250 # if HAVE_ALLOCA_H |
9251 # include <alloca.h> | |
9252 # else | |
9253 # ifdef _AIX | |
9045 #pragma alloca | 9254 #pragma alloca |
9046 # else | 9255 # else |
9047 # ifndef alloca /* predefined by HP cc +Olibcalls */ | 9256 # ifndef alloca /* predefined by HP cc +Olibcalls */ |
9048 char *alloca (); | 9257 char *alloca (); |
9258 # endif | |
9049 # endif | 9259 # endif |
9050 # endif | 9260 # endif |
9051 # endif | 9261 # endif |
9052 #endif | 9262 #endif |
9053 | 9263 |
9054 int main() { | 9264 int main() { |
9055 char *p = (char *) alloca(1); | 9265 char *p = (char *) alloca(1); |
9056 ; return 0; } | 9266 ; return 0; } |
9057 EOF | 9267 EOF |
9058 if { (eval echo configure:9059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9268 if { (eval echo configure:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9059 rm -rf conftest* | 9269 rm -rf conftest* |
9060 ac_cv_func_alloca_works=yes | 9270 ac_cv_func_alloca_works=yes |
9061 else | 9271 else |
9062 echo "configure: failed program was:" >&5 | 9272 echo "configure: failed program was:" >&5 |
9063 cat conftest.$ac_ext >&5 | 9273 cat conftest.$ac_ext >&5 |
9081 if test $ac_cv_func_alloca_works = no; then | 9291 if test $ac_cv_func_alloca_works = no; then |
9082 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 9292 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
9083 # that cause trouble. Some versions do not even contain alloca or | 9293 # that cause trouble. Some versions do not even contain alloca or |
9084 # contain a buggy version. If you still want to use their alloca, | 9294 # contain a buggy version. If you still want to use their alloca, |
9085 # use ar to extract alloca.o from them instead of compiling alloca.c. | 9295 # use ar to extract alloca.o from them instead of compiling alloca.c. |
9086 ALLOCA=alloca.o | 9296 ALLOCA=alloca.${ac_objext} |
9087 { test "$extra_verbose" = "yes" && cat << \EOF | 9297 { test "$extra_verbose" = "yes" && cat << \EOF |
9088 Defining C_ALLOCA | 9298 Defining C_ALLOCA |
9089 EOF | 9299 EOF |
9090 cat >> confdefs.h <<\EOF | 9300 cat >> confdefs.h <<\EOF |
9091 #define C_ALLOCA 1 | 9301 #define C_ALLOCA 1 |
9092 EOF | 9302 EOF |
9093 } | 9303 } |
9094 | 9304 |
9095 | 9305 |
9096 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9306 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9097 echo "configure:9098: checking whether alloca needs Cray hooks" >&5 | 9307 echo "configure:9308: checking whether alloca needs Cray hooks" >&5 |
9098 | 9308 |
9099 cat > conftest.$ac_ext <<EOF | 9309 cat > conftest.$ac_ext <<EOF |
9100 #line 9101 "configure" | 9310 #line 9311 "configure" |
9101 #include "confdefs.h" | 9311 #include "confdefs.h" |
9102 #if defined(CRAY) && ! defined(CRAY2) | 9312 #if defined(CRAY) && ! defined(CRAY2) |
9103 webecray | 9313 webecray |
9104 #else | 9314 #else |
9105 wenotbecray | 9315 wenotbecray |
9119 | 9329 |
9120 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9330 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9121 if test $ac_cv_os_cray = yes; then | 9331 if test $ac_cv_os_cray = yes; then |
9122 for ac_func in _getb67 GETB67 getb67; do | 9332 for ac_func in _getb67 GETB67 getb67; do |
9123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9124 echo "configure:9125: checking for $ac_func" >&5 | 9334 echo "configure:9335: checking for $ac_func" >&5 |
9125 | 9335 |
9126 cat > conftest.$ac_ext <<EOF | 9336 cat > conftest.$ac_ext <<EOF |
9127 #line 9128 "configure" | 9337 #line 9338 "configure" |
9128 #include "confdefs.h" | 9338 #include "confdefs.h" |
9129 /* System header to define __stub macros and hopefully few prototypes, | 9339 /* System header to define __stub macros and hopefully few prototypes, |
9130 which can conflict with char $ac_func(); below. */ | 9340 which can conflict with char $ac_func(); below. */ |
9131 #include <assert.h> | 9341 #include <assert.h> |
9132 /* Override any gcc2 internal prototype to avoid an error. */ | 9342 /* Override any gcc2 internal prototype to avoid an error. */ |
9145 $ac_func(); | 9355 $ac_func(); |
9146 #endif | 9356 #endif |
9147 | 9357 |
9148 ; return 0; } | 9358 ; return 0; } |
9149 EOF | 9359 EOF |
9150 if { (eval echo configure:9151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9360 if { (eval echo configure:9361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9151 rm -rf conftest* | 9361 rm -rf conftest* |
9152 eval "ac_cv_func_$ac_func=yes" | 9362 eval "ac_cv_func_$ac_func=yes" |
9153 else | 9363 else |
9154 echo "configure: failed program was:" >&5 | 9364 echo "configure: failed program was:" >&5 |
9155 cat conftest.$ac_ext >&5 | 9365 cat conftest.$ac_ext >&5 |
9175 | 9385 |
9176 done | 9386 done |
9177 fi | 9387 fi |
9178 | 9388 |
9179 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9389 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9180 echo "configure:9181: checking stack direction for C alloca" >&5 | 9390 echo "configure:9391: checking stack direction for C alloca" >&5 |
9181 | 9391 |
9182 cat > conftest.$ac_ext <<EOF | 9392 cat > conftest.$ac_ext <<EOF |
9183 #line 9184 "configure" | 9393 #line 9394 "configure" |
9184 #include "confdefs.h" | 9394 #include "confdefs.h" |
9185 find_stack_direction () | 9395 find_stack_direction () |
9186 { | 9396 { |
9187 static char *addr = 0; | 9397 static char *addr = 0; |
9188 auto char dummy; | 9398 auto char dummy; |
9197 main () | 9407 main () |
9198 { | 9408 { |
9199 exit (find_stack_direction() < 0); | 9409 exit (find_stack_direction() < 0); |
9200 } | 9410 } |
9201 EOF | 9411 EOF |
9202 if { (eval echo configure:9203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9412 if { (eval echo configure:9413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9203 then | 9413 then |
9204 ac_cv_c_stack_direction=1 | 9414 ac_cv_c_stack_direction=1 |
9205 else | 9415 else |
9206 conftest_rc="$?" | 9416 conftest_rc="$?" |
9207 echo "configure: failed program was:" >&5 | 9417 echo "configure: failed program was:" >&5 |
9226 echo " xemacs will be linked with \"$ALLOCA\"" | 9436 echo " xemacs will be linked with \"$ALLOCA\"" |
9227 fi | 9437 fi |
9228 | 9438 |
9229 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9439 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9230 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9440 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9231 echo "configure:9232: checking for vfork.h" >&5 | 9441 echo "configure:9442: checking for vfork.h" >&5 |
9232 | 9442 |
9233 cat > conftest.$ac_ext <<EOF | 9443 cat > conftest.$ac_ext <<EOF |
9234 #line 9235 "configure" | 9444 #line 9445 "configure" |
9235 #include "confdefs.h" | 9445 #include "confdefs.h" |
9236 #include <vfork.h> | 9446 #include <vfork.h> |
9237 EOF | 9447 EOF |
9238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9239 { (eval echo configure:9240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9449 { (eval echo configure:9450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9240 ac_err=`grep -v '^ *+' conftest.out` | 9450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9241 if test -z "$ac_err"; then | 9451 if test -z "$ac_err"; then |
9242 rm -rf conftest* | 9452 rm -rf conftest* |
9243 eval "ac_cv_header_$ac_safe=yes" | 9453 eval "ac_cv_header_$ac_safe=yes" |
9244 else | 9454 else |
9245 echo "$ac_err" >&5 | 9455 echo "$ac_err" >&5 |
9262 else | 9472 else |
9263 echo "$ac_t""no" 1>&6 | 9473 echo "$ac_t""no" 1>&6 |
9264 fi | 9474 fi |
9265 | 9475 |
9266 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9476 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9267 echo "configure:9268: checking for working vfork" >&5 | 9477 echo "configure:9478: checking for working vfork" >&5 |
9268 | 9478 |
9269 cat > conftest.$ac_ext <<EOF | 9479 cat > conftest.$ac_ext <<EOF |
9270 #line 9271 "configure" | 9480 #line 9481 "configure" |
9271 #include "confdefs.h" | 9481 #include "confdefs.h" |
9272 /* Thanks to Paul Eggert for this test. */ | 9482 /* Thanks to Paul Eggert for this test. */ |
9273 #include <stdio.h> | 9483 #include <stdio.h> |
9274 #include <sys/types.h> | 9484 #include <sys/types.h> |
9275 #include <sys/stat.h> | 9485 #include <sys/stat.h> |
9360 || fstat(fileno(stdout), &st) != 0 | 9570 || fstat(fileno(stdout), &st) != 0 |
9361 ); | 9571 ); |
9362 } | 9572 } |
9363 } | 9573 } |
9364 EOF | 9574 EOF |
9365 if { (eval echo configure:9366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9575 if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9366 then | 9576 then |
9367 ac_cv_func_vfork_works=yes | 9577 ac_cv_func_vfork_works=yes |
9368 else | 9578 else |
9369 conftest_rc="$?" | 9579 conftest_rc="$?" |
9370 echo "configure: failed program was:" >&5 | 9580 echo "configure: failed program was:" >&5 |
9386 | 9596 |
9387 fi | 9597 fi |
9388 | 9598 |
9389 | 9599 |
9390 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9600 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9391 echo "configure:9392: checking for working strcoll" >&5 | 9601 echo "configure:9602: checking for working strcoll" >&5 |
9392 | 9602 |
9393 cat > conftest.$ac_ext <<EOF | 9603 cat > conftest.$ac_ext <<EOF |
9394 #line 9395 "configure" | 9604 #line 9605 "configure" |
9395 #include "confdefs.h" | 9605 #include "confdefs.h" |
9396 #include <string.h> | 9606 #include <string.h> |
9397 main () | 9607 main () |
9398 { | 9608 { |
9399 exit (strcoll ("abc", "def") >= 0 || | 9609 exit (strcoll ("abc", "def") >= 0 || |
9400 strcoll ("ABC", "DEF") >= 0 || | 9610 strcoll ("ABC", "DEF") >= 0 || |
9401 strcoll ("123", "456") >= 0); | 9611 strcoll ("123", "456") >= 0); |
9402 } | 9612 } |
9403 EOF | 9613 EOF |
9404 if { (eval echo configure:9405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9614 if { (eval echo configure:9615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9405 then | 9615 then |
9406 ac_cv_func_strcoll_works=yes | 9616 ac_cv_func_strcoll_works=yes |
9407 else | 9617 else |
9408 conftest_rc="$?" | 9618 conftest_rc="$?" |
9409 echo "configure: failed program was:" >&5 | 9619 echo "configure: failed program was:" >&5 |
9427 | 9637 |
9428 | 9638 |
9429 for ac_func in getpgrp | 9639 for ac_func in getpgrp |
9430 do | 9640 do |
9431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9432 echo "configure:9433: checking for $ac_func" >&5 | 9642 echo "configure:9643: checking for $ac_func" >&5 |
9433 | 9643 |
9434 cat > conftest.$ac_ext <<EOF | 9644 cat > conftest.$ac_ext <<EOF |
9435 #line 9436 "configure" | 9645 #line 9646 "configure" |
9436 #include "confdefs.h" | 9646 #include "confdefs.h" |
9437 /* System header to define __stub macros and hopefully few prototypes, | 9647 /* System header to define __stub macros and hopefully few prototypes, |
9438 which can conflict with char $ac_func(); below. */ | 9648 which can conflict with char $ac_func(); below. */ |
9439 #include <assert.h> | 9649 #include <assert.h> |
9440 /* Override any gcc2 internal prototype to avoid an error. */ | 9650 /* Override any gcc2 internal prototype to avoid an error. */ |
9453 $ac_func(); | 9663 $ac_func(); |
9454 #endif | 9664 #endif |
9455 | 9665 |
9456 ; return 0; } | 9666 ; return 0; } |
9457 EOF | 9667 EOF |
9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9668 if { (eval echo configure:9669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9459 rm -rf conftest* | 9669 rm -rf conftest* |
9460 eval "ac_cv_func_$ac_func=yes" | 9670 eval "ac_cv_func_$ac_func=yes" |
9461 else | 9671 else |
9462 echo "configure: failed program was:" >&5 | 9672 echo "configure: failed program was:" >&5 |
9463 cat conftest.$ac_ext >&5 | 9673 cat conftest.$ac_ext >&5 |
9481 echo "$ac_t""no" 1>&6 | 9691 echo "$ac_t""no" 1>&6 |
9482 fi | 9692 fi |
9483 done | 9693 done |
9484 | 9694 |
9485 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9695 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9486 echo "configure:9487: checking whether getpgrp takes no argument" >&5 | 9696 echo "configure:9697: checking whether getpgrp takes no argument" >&5 |
9487 | 9697 |
9488 cat > conftest.$ac_ext <<EOF | 9698 cat > conftest.$ac_ext <<EOF |
9489 #line 9490 "configure" | 9699 #line 9700 "configure" |
9490 #include "confdefs.h" | 9700 #include "confdefs.h" |
9491 | 9701 |
9492 /* | 9702 /* |
9493 * If this system has a BSD-style getpgrp(), | 9703 * If this system has a BSD-style getpgrp(), |
9494 * which takes a pid argument, exit unsuccessfully. | 9704 * which takes a pid argument, exit unsuccessfully. |
9539 exit(s>>8); | 9749 exit(s>>8); |
9540 } | 9750 } |
9541 } | 9751 } |
9542 | 9752 |
9543 EOF | 9753 EOF |
9544 if { (eval echo configure:9545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9545 then | 9755 then |
9546 ac_cv_func_getpgrp_void=yes | 9756 ac_cv_func_getpgrp_void=yes |
9547 else | 9757 else |
9548 conftest_rc="$?" | 9758 conftest_rc="$?" |
9549 echo "configure: failed program was:" >&5 | 9759 echo "configure: failed program was:" >&5 |
9566 | 9776 |
9567 fi | 9777 fi |
9568 | 9778 |
9569 | 9779 |
9570 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9780 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9571 echo "configure:9572: checking for working mmap" >&5 | 9781 echo "configure:9782: checking for working mmap" >&5 |
9572 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9782 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9573 cat > conftest.$ac_ext <<EOF | 9783 cat > conftest.$ac_ext <<EOF |
9574 #line 9575 "configure" | 9784 #line 9785 "configure" |
9575 #include "confdefs.h" | 9785 #include "confdefs.h" |
9576 #include <stdio.h> | 9786 #include <stdio.h> |
9577 #include <unistd.h> | 9787 #include <unistd.h> |
9578 #include <fcntl.h> | 9788 #include <fcntl.h> |
9579 #include <sys/mman.h> | 9789 #include <sys/mman.h> |
9602 return 0; | 9812 return 0; |
9603 perror ("conftest: mmap failed"); | 9813 perror ("conftest: mmap failed"); |
9604 return 1; | 9814 return 1; |
9605 } | 9815 } |
9606 EOF | 9816 EOF |
9607 if { (eval echo configure:9608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9817 if { (eval echo configure:9818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9608 then | 9818 then |
9609 have_mmap=yes | 9819 have_mmap=yes |
9610 else | 9820 else |
9611 conftest_rc="$?" | 9821 conftest_rc="$?" |
9612 echo "configure: failed program was:" >&5 | 9822 echo "configure: failed program was:" >&5 |
9627 | 9837 |
9628 for ac_hdr in unistd.h | 9838 for ac_hdr in unistd.h |
9629 do | 9839 do |
9630 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9840 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9841 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9632 echo "configure:9633: checking for $ac_hdr" >&5 | 9842 echo "configure:9843: checking for $ac_hdr" >&5 |
9633 | 9843 |
9634 cat > conftest.$ac_ext <<EOF | 9844 cat > conftest.$ac_ext <<EOF |
9635 #line 9636 "configure" | 9845 #line 9846 "configure" |
9636 #include "confdefs.h" | 9846 #include "confdefs.h" |
9637 #include <$ac_hdr> | 9847 #include <$ac_hdr> |
9638 EOF | 9848 EOF |
9639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9640 { (eval echo configure:9641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9850 { (eval echo configure:9851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9641 ac_err=`grep -v '^ *+' conftest.out` | 9851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9642 if test -z "$ac_err"; then | 9852 if test -z "$ac_err"; then |
9643 rm -rf conftest* | 9853 rm -rf conftest* |
9644 eval "ac_cv_header_$ac_safe=yes" | 9854 eval "ac_cv_header_$ac_safe=yes" |
9645 else | 9855 else |
9646 echo "$ac_err" >&5 | 9856 echo "$ac_err" >&5 |
9667 done | 9877 done |
9668 | 9878 |
9669 for ac_func in getpagesize | 9879 for ac_func in getpagesize |
9670 do | 9880 do |
9671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9672 echo "configure:9673: checking for $ac_func" >&5 | 9882 echo "configure:9883: checking for $ac_func" >&5 |
9673 | 9883 |
9674 cat > conftest.$ac_ext <<EOF | 9884 cat > conftest.$ac_ext <<EOF |
9675 #line 9676 "configure" | 9885 #line 9886 "configure" |
9676 #include "confdefs.h" | 9886 #include "confdefs.h" |
9677 /* System header to define __stub macros and hopefully few prototypes, | 9887 /* System header to define __stub macros and hopefully few prototypes, |
9678 which can conflict with char $ac_func(); below. */ | 9888 which can conflict with char $ac_func(); below. */ |
9679 #include <assert.h> | 9889 #include <assert.h> |
9680 /* Override any gcc2 internal prototype to avoid an error. */ | 9890 /* Override any gcc2 internal prototype to avoid an error. */ |
9693 $ac_func(); | 9903 $ac_func(); |
9694 #endif | 9904 #endif |
9695 | 9905 |
9696 ; return 0; } | 9906 ; return 0; } |
9697 EOF | 9907 EOF |
9698 if { (eval echo configure:9699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9908 if { (eval echo configure:9909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9699 rm -rf conftest* | 9909 rm -rf conftest* |
9700 eval "ac_cv_func_$ac_func=yes" | 9910 eval "ac_cv_func_$ac_func=yes" |
9701 else | 9911 else |
9702 echo "configure: failed program was:" >&5 | 9912 echo "configure: failed program was:" >&5 |
9703 cat conftest.$ac_ext >&5 | 9913 cat conftest.$ac_ext >&5 |
9721 echo "$ac_t""no" 1>&6 | 9931 echo "$ac_t""no" 1>&6 |
9722 fi | 9932 fi |
9723 done | 9933 done |
9724 | 9934 |
9725 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9935 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9726 echo "configure:9727: checking for working mmap" >&5 | 9936 echo "configure:9937: checking for working mmap" >&5 |
9727 | 9937 |
9728 cat > conftest.$ac_ext <<EOF | 9938 cat > conftest.$ac_ext <<EOF |
9729 #line 9730 "configure" | 9939 #line 9940 "configure" |
9730 #include "confdefs.h" | 9940 #include "confdefs.h" |
9731 | 9941 |
9732 /* Thanks to Mike Haertel and Jim Avera for this test. | 9942 /* Thanks to Mike Haertel and Jim Avera for this test. |
9733 Here is a matrix of mmap possibilities: | 9943 Here is a matrix of mmap possibilities: |
9734 mmap private not fixed | 9944 mmap private not fixed |
9864 unlink("conftestmmap"); | 10074 unlink("conftestmmap"); |
9865 exit(0); | 10075 exit(0); |
9866 } | 10076 } |
9867 | 10077 |
9868 EOF | 10078 EOF |
9869 if { (eval echo configure:9870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10079 if { (eval echo configure:10080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9870 then | 10080 then |
9871 ac_cv_func_mmap_fixed_mapped=yes | 10081 ac_cv_func_mmap_fixed_mapped=yes |
9872 else | 10082 else |
9873 conftest_rc="$?" | 10083 conftest_rc="$?" |
9874 echo "configure: failed program was:" >&5 | 10084 echo "configure: failed program was:" >&5 |
9902 } | 10112 } |
9903 | 10113 |
9904 | 10114 |
9905 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10115 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9906 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10116 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9907 echo "configure:9908: checking for termios.h" >&5 | 10117 echo "configure:10118: checking for termios.h" >&5 |
9908 | 10118 |
9909 cat > conftest.$ac_ext <<EOF | 10119 cat > conftest.$ac_ext <<EOF |
9910 #line 9911 "configure" | 10120 #line 10121 "configure" |
9911 #include "confdefs.h" | 10121 #include "confdefs.h" |
9912 #include <termios.h> | 10122 #include <termios.h> |
9913 EOF | 10123 EOF |
9914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9915 { (eval echo configure:9916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10125 { (eval echo configure:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9916 ac_err=`grep -v '^ *+' conftest.out` | 10126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9917 if test -z "$ac_err"; then | 10127 if test -z "$ac_err"; then |
9918 rm -rf conftest* | 10128 rm -rf conftest* |
9919 eval "ac_cv_header_$ac_safe=yes" | 10129 eval "ac_cv_header_$ac_safe=yes" |
9920 else | 10130 else |
9921 echo "$ac_err" >&5 | 10131 echo "$ac_err" >&5 |
9953 | 10163 |
9954 else | 10164 else |
9955 echo "$ac_t""no" 1>&6 | 10165 echo "$ac_t""no" 1>&6 |
9956 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10166 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9957 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10167 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9958 echo "configure:9959: checking for termio.h" >&5 | 10168 echo "configure:10169: checking for termio.h" >&5 |
9959 | 10169 |
9960 cat > conftest.$ac_ext <<EOF | 10170 cat > conftest.$ac_ext <<EOF |
9961 #line 9962 "configure" | 10171 #line 10172 "configure" |
9962 #include "confdefs.h" | 10172 #include "confdefs.h" |
9963 #include <termio.h> | 10173 #include <termio.h> |
9964 EOF | 10174 EOF |
9965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9966 { (eval echo configure:9967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10176 { (eval echo configure:10177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9967 ac_err=`grep -v '^ *+' conftest.out` | 10177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9968 if test -z "$ac_err"; then | 10178 if test -z "$ac_err"; then |
9969 rm -rf conftest* | 10179 rm -rf conftest* |
9970 eval "ac_cv_header_$ac_safe=yes" | 10180 eval "ac_cv_header_$ac_safe=yes" |
9971 else | 10181 else |
9972 echo "$ac_err" >&5 | 10182 echo "$ac_err" >&5 |
9993 fi | 10203 fi |
9994 | 10204 |
9995 | 10205 |
9996 | 10206 |
9997 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10207 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9998 echo "configure:9999: checking for socket" >&5 | 10208 echo "configure:10209: checking for socket" >&5 |
9999 | 10209 |
10000 cat > conftest.$ac_ext <<EOF | 10210 cat > conftest.$ac_ext <<EOF |
10001 #line 10002 "configure" | 10211 #line 10212 "configure" |
10002 #include "confdefs.h" | 10212 #include "confdefs.h" |
10003 /* System header to define __stub macros and hopefully few prototypes, | 10213 /* System header to define __stub macros and hopefully few prototypes, |
10004 which can conflict with char socket(); below. */ | 10214 which can conflict with char socket(); below. */ |
10005 #include <assert.h> | 10215 #include <assert.h> |
10006 /* Override any gcc2 internal prototype to avoid an error. */ | 10216 /* Override any gcc2 internal prototype to avoid an error. */ |
10019 socket(); | 10229 socket(); |
10020 #endif | 10230 #endif |
10021 | 10231 |
10022 ; return 0; } | 10232 ; return 0; } |
10023 EOF | 10233 EOF |
10024 if { (eval echo configure:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10234 if { (eval echo configure:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10025 rm -rf conftest* | 10235 rm -rf conftest* |
10026 eval "ac_cv_func_socket=yes" | 10236 eval "ac_cv_func_socket=yes" |
10027 else | 10237 else |
10028 echo "configure: failed program was:" >&5 | 10238 echo "configure: failed program was:" >&5 |
10029 cat conftest.$ac_ext >&5 | 10239 cat conftest.$ac_ext >&5 |
10034 | 10244 |
10035 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10245 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10036 echo "$ac_t""yes" 1>&6 | 10246 echo "$ac_t""yes" 1>&6 |
10037 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10247 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10038 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10248 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10039 echo "configure:10040: checking for netinet/in.h" >&5 | 10249 echo "configure:10250: checking for netinet/in.h" >&5 |
10040 | 10250 |
10041 cat > conftest.$ac_ext <<EOF | 10251 cat > conftest.$ac_ext <<EOF |
10042 #line 10043 "configure" | 10252 #line 10253 "configure" |
10043 #include "confdefs.h" | 10253 #include "confdefs.h" |
10044 #include <netinet/in.h> | 10254 #include <netinet/in.h> |
10045 EOF | 10255 EOF |
10046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10047 { (eval echo configure:10048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10257 { (eval echo configure:10258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10048 ac_err=`grep -v '^ *+' conftest.out` | 10258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10049 if test -z "$ac_err"; then | 10259 if test -z "$ac_err"; then |
10050 rm -rf conftest* | 10260 rm -rf conftest* |
10051 eval "ac_cv_header_$ac_safe=yes" | 10261 eval "ac_cv_header_$ac_safe=yes" |
10052 else | 10262 else |
10053 echo "$ac_err" >&5 | 10263 echo "$ac_err" >&5 |
10059 rm -f conftest* | 10269 rm -f conftest* |
10060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10270 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10061 echo "$ac_t""yes" 1>&6 | 10271 echo "$ac_t""yes" 1>&6 |
10062 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10272 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10063 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10273 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10064 echo "configure:10065: checking for arpa/inet.h" >&5 | 10274 echo "configure:10275: checking for arpa/inet.h" >&5 |
10065 | 10275 |
10066 cat > conftest.$ac_ext <<EOF | 10276 cat > conftest.$ac_ext <<EOF |
10067 #line 10068 "configure" | 10277 #line 10278 "configure" |
10068 #include "confdefs.h" | 10278 #include "confdefs.h" |
10069 #include <arpa/inet.h> | 10279 #include <arpa/inet.h> |
10070 EOF | 10280 EOF |
10071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10072 { (eval echo configure:10073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10282 { (eval echo configure:10283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10073 ac_err=`grep -v '^ *+' conftest.out` | 10283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10074 if test -z "$ac_err"; then | 10284 if test -z "$ac_err"; then |
10075 rm -rf conftest* | 10285 rm -rf conftest* |
10076 eval "ac_cv_header_$ac_safe=yes" | 10286 eval "ac_cv_header_$ac_safe=yes" |
10077 else | 10287 else |
10078 echo "$ac_err" >&5 | 10288 echo "$ac_err" >&5 |
10092 #define HAVE_SOCKETS 1 | 10302 #define HAVE_SOCKETS 1 |
10093 EOF | 10303 EOF |
10094 } | 10304 } |
10095 | 10305 |
10096 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10306 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10097 echo "configure:10098: checking "for sun_len member in struct sockaddr_un"" >&5 | 10307 echo "configure:10308: checking "for sun_len member in struct sockaddr_un"" >&5 |
10098 cat > conftest.$ac_ext <<EOF | 10308 cat > conftest.$ac_ext <<EOF |
10099 #line 10100 "configure" | 10309 #line 10310 "configure" |
10100 #include "confdefs.h" | 10310 #include "confdefs.h" |
10101 | 10311 |
10102 #include <sys/types.h> | 10312 #include <sys/types.h> |
10103 #include <sys/socket.h> | 10313 #include <sys/socket.h> |
10104 #include <sys/un.h> | 10314 #include <sys/un.h> |
10105 | 10315 |
10106 int main() { | 10316 int main() { |
10107 static struct sockaddr_un x; x.sun_len = 1; | 10317 static struct sockaddr_un x; x.sun_len = 1; |
10108 ; return 0; } | 10318 ; return 0; } |
10109 EOF | 10319 EOF |
10110 if { (eval echo configure:10111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10320 if { (eval echo configure:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10111 rm -rf conftest* | 10321 rm -rf conftest* |
10112 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10322 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10113 Defining HAVE_SOCKADDR_SUN_LEN | 10323 Defining HAVE_SOCKADDR_SUN_LEN |
10114 EOF | 10324 EOF |
10115 cat >> confdefs.h <<\EOF | 10325 cat >> confdefs.h <<\EOF |
10123 rm -rf conftest* | 10333 rm -rf conftest* |
10124 echo "$ac_t""no" 1>&6 | 10334 echo "$ac_t""no" 1>&6 |
10125 fi | 10335 fi |
10126 rm -f conftest* | 10336 rm -f conftest* |
10127 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10337 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10128 echo "configure:10129: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10338 echo "configure:10339: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10129 cat > conftest.$ac_ext <<EOF | 10339 cat > conftest.$ac_ext <<EOF |
10130 #line 10131 "configure" | 10340 #line 10341 "configure" |
10131 #include "confdefs.h" | 10341 #include "confdefs.h" |
10132 | 10342 |
10133 #include <sys/types.h> | 10343 #include <sys/types.h> |
10134 #include <netinet/in.h> | 10344 #include <netinet/in.h> |
10135 | 10345 |
10136 int main() { | 10346 int main() { |
10137 static struct ip_mreq x; | 10347 static struct ip_mreq x; |
10138 ; return 0; } | 10348 ; return 0; } |
10139 EOF | 10349 EOF |
10140 if { (eval echo configure:10141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10350 if { (eval echo configure:10351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10141 rm -rf conftest* | 10351 rm -rf conftest* |
10142 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10352 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10143 Defining HAVE_MULTICAST | 10353 Defining HAVE_MULTICAST |
10144 EOF | 10354 EOF |
10145 cat >> confdefs.h <<\EOF | 10355 cat >> confdefs.h <<\EOF |
10166 echo "$ac_t""no" 1>&6 | 10376 echo "$ac_t""no" 1>&6 |
10167 fi | 10377 fi |
10168 | 10378 |
10169 | 10379 |
10170 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10380 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10171 echo "configure:10172: checking for msgget" >&5 | 10381 echo "configure:10382: checking for msgget" >&5 |
10172 | 10382 |
10173 cat > conftest.$ac_ext <<EOF | 10383 cat > conftest.$ac_ext <<EOF |
10174 #line 10175 "configure" | 10384 #line 10385 "configure" |
10175 #include "confdefs.h" | 10385 #include "confdefs.h" |
10176 /* System header to define __stub macros and hopefully few prototypes, | 10386 /* System header to define __stub macros and hopefully few prototypes, |
10177 which can conflict with char msgget(); below. */ | 10387 which can conflict with char msgget(); below. */ |
10178 #include <assert.h> | 10388 #include <assert.h> |
10179 /* Override any gcc2 internal prototype to avoid an error. */ | 10389 /* Override any gcc2 internal prototype to avoid an error. */ |
10192 msgget(); | 10402 msgget(); |
10193 #endif | 10403 #endif |
10194 | 10404 |
10195 ; return 0; } | 10405 ; return 0; } |
10196 EOF | 10406 EOF |
10197 if { (eval echo configure:10198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10407 if { (eval echo configure:10408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10198 rm -rf conftest* | 10408 rm -rf conftest* |
10199 eval "ac_cv_func_msgget=yes" | 10409 eval "ac_cv_func_msgget=yes" |
10200 else | 10410 else |
10201 echo "configure: failed program was:" >&5 | 10411 echo "configure: failed program was:" >&5 |
10202 cat conftest.$ac_ext >&5 | 10412 cat conftest.$ac_ext >&5 |
10207 | 10417 |
10208 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10418 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10209 echo "$ac_t""yes" 1>&6 | 10419 echo "$ac_t""yes" 1>&6 |
10210 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10420 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10211 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10421 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10212 echo "configure:10213: checking for sys/ipc.h" >&5 | 10422 echo "configure:10423: checking for sys/ipc.h" >&5 |
10213 | 10423 |
10214 cat > conftest.$ac_ext <<EOF | 10424 cat > conftest.$ac_ext <<EOF |
10215 #line 10216 "configure" | 10425 #line 10426 "configure" |
10216 #include "confdefs.h" | 10426 #include "confdefs.h" |
10217 #include <sys/ipc.h> | 10427 #include <sys/ipc.h> |
10218 EOF | 10428 EOF |
10219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10429 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10220 { (eval echo configure:10221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10430 { (eval echo configure:10431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10221 ac_err=`grep -v '^ *+' conftest.out` | 10431 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10222 if test -z "$ac_err"; then | 10432 if test -z "$ac_err"; then |
10223 rm -rf conftest* | 10433 rm -rf conftest* |
10224 eval "ac_cv_header_$ac_safe=yes" | 10434 eval "ac_cv_header_$ac_safe=yes" |
10225 else | 10435 else |
10226 echo "$ac_err" >&5 | 10436 echo "$ac_err" >&5 |
10232 rm -f conftest* | 10442 rm -f conftest* |
10233 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10443 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10234 echo "$ac_t""yes" 1>&6 | 10444 echo "$ac_t""yes" 1>&6 |
10235 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10445 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10236 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10446 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10237 echo "configure:10238: checking for sys/msg.h" >&5 | 10447 echo "configure:10448: checking for sys/msg.h" >&5 |
10238 | 10448 |
10239 cat > conftest.$ac_ext <<EOF | 10449 cat > conftest.$ac_ext <<EOF |
10240 #line 10241 "configure" | 10450 #line 10451 "configure" |
10241 #include "confdefs.h" | 10451 #include "confdefs.h" |
10242 #include <sys/msg.h> | 10452 #include <sys/msg.h> |
10243 EOF | 10453 EOF |
10244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10245 { (eval echo configure:10246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10455 { (eval echo configure:10456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10246 ac_err=`grep -v '^ *+' conftest.out` | 10456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10247 if test -z "$ac_err"; then | 10457 if test -z "$ac_err"; then |
10248 rm -rf conftest* | 10458 rm -rf conftest* |
10249 eval "ac_cv_header_$ac_safe=yes" | 10459 eval "ac_cv_header_$ac_safe=yes" |
10250 else | 10460 else |
10251 echo "$ac_err" >&5 | 10461 echo "$ac_err" >&5 |
10278 fi | 10488 fi |
10279 | 10489 |
10280 | 10490 |
10281 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10491 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10282 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10492 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10283 echo "configure:10284: checking for dirent.h" >&5 | 10493 echo "configure:10494: checking for dirent.h" >&5 |
10284 | 10494 |
10285 cat > conftest.$ac_ext <<EOF | 10495 cat > conftest.$ac_ext <<EOF |
10286 #line 10287 "configure" | 10496 #line 10497 "configure" |
10287 #include "confdefs.h" | 10497 #include "confdefs.h" |
10288 #include <dirent.h> | 10498 #include <dirent.h> |
10289 EOF | 10499 EOF |
10290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10291 { (eval echo configure:10292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10501 { (eval echo configure:10502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10292 ac_err=`grep -v '^ *+' conftest.out` | 10502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10293 if test -z "$ac_err"; then | 10503 if test -z "$ac_err"; then |
10294 rm -rf conftest* | 10504 rm -rf conftest* |
10295 eval "ac_cv_header_$ac_safe=yes" | 10505 eval "ac_cv_header_$ac_safe=yes" |
10296 else | 10506 else |
10297 echo "$ac_err" >&5 | 10507 echo "$ac_err" >&5 |
10313 | 10523 |
10314 else | 10524 else |
10315 echo "$ac_t""no" 1>&6 | 10525 echo "$ac_t""no" 1>&6 |
10316 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10526 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10317 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10527 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10318 echo "configure:10319: checking for sys/dir.h" >&5 | 10528 echo "configure:10529: checking for sys/dir.h" >&5 |
10319 | 10529 |
10320 cat > conftest.$ac_ext <<EOF | 10530 cat > conftest.$ac_ext <<EOF |
10321 #line 10322 "configure" | 10531 #line 10532 "configure" |
10322 #include "confdefs.h" | 10532 #include "confdefs.h" |
10323 #include <sys/dir.h> | 10533 #include <sys/dir.h> |
10324 EOF | 10534 EOF |
10325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10326 { (eval echo configure:10327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10536 { (eval echo configure:10537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10327 ac_err=`grep -v '^ *+' conftest.out` | 10537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10328 if test -z "$ac_err"; then | 10538 if test -z "$ac_err"; then |
10329 rm -rf conftest* | 10539 rm -rf conftest* |
10330 eval "ac_cv_header_$ac_safe=yes" | 10540 eval "ac_cv_header_$ac_safe=yes" |
10331 else | 10541 else |
10332 echo "$ac_err" >&5 | 10542 echo "$ac_err" >&5 |
10354 fi | 10564 fi |
10355 | 10565 |
10356 | 10566 |
10357 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10567 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10358 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10568 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10359 echo "configure:10360: checking for nlist.h" >&5 | 10569 echo "configure:10570: checking for nlist.h" >&5 |
10360 | 10570 |
10361 cat > conftest.$ac_ext <<EOF | 10571 cat > conftest.$ac_ext <<EOF |
10362 #line 10363 "configure" | 10572 #line 10573 "configure" |
10363 #include "confdefs.h" | 10573 #include "confdefs.h" |
10364 #include <nlist.h> | 10574 #include <nlist.h> |
10365 EOF | 10575 EOF |
10366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10367 { (eval echo configure:10368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10577 { (eval echo configure:10578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10368 ac_err=`grep -v '^ *+' conftest.out` | 10578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10369 if test -z "$ac_err"; then | 10579 if test -z "$ac_err"; then |
10370 rm -rf conftest* | 10580 rm -rf conftest* |
10371 eval "ac_cv_header_$ac_safe=yes" | 10581 eval "ac_cv_header_$ac_safe=yes" |
10372 else | 10582 else |
10373 echo "$ac_err" >&5 | 10583 echo "$ac_err" >&5 |
10392 fi | 10602 fi |
10393 | 10603 |
10394 | 10604 |
10395 | 10605 |
10396 echo "checking "for sound support"" 1>&6 | 10606 echo "checking "for sound support"" 1>&6 |
10397 echo "configure:10398: checking "for sound support"" >&5 | 10607 echo "configure:10608: checking "for sound support"" >&5 |
10398 case "$with_sound" in | 10608 case "$with_sound" in |
10399 native | both ) with_native_sound=yes;; | 10609 native | both ) with_native_sound=yes;; |
10400 nas | no ) with_native_sound=no;; | 10610 nas | no ) with_native_sound=no;; |
10401 esac | 10611 esac |
10402 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10612 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10403 | 10613 |
10404 if test "$with_native_sound" != "no"; then | 10614 if test "$with_native_sound" != "no"; then |
10405 if test -n "$native_sound_lib"; then | 10615 if test -n "$native_sound_lib"; then |
10406 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10616 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10407 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10617 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10408 echo "configure:10409: checking for multimedia/audio_device.h" >&5 | 10618 echo "configure:10619: checking for multimedia/audio_device.h" >&5 |
10409 | 10619 |
10410 cat > conftest.$ac_ext <<EOF | 10620 cat > conftest.$ac_ext <<EOF |
10411 #line 10412 "configure" | 10621 #line 10622 "configure" |
10412 #include "confdefs.h" | 10622 #include "confdefs.h" |
10413 #include <multimedia/audio_device.h> | 10623 #include <multimedia/audio_device.h> |
10414 EOF | 10624 EOF |
10415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10416 { (eval echo configure:10417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10626 { (eval echo configure:10627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10417 ac_err=`grep -v '^ *+' conftest.out` | 10627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10418 if test -z "$ac_err"; then | 10628 if test -z "$ac_err"; then |
10419 rm -rf conftest* | 10629 rm -rf conftest* |
10420 eval "ac_cv_header_$ac_safe=yes" | 10630 eval "ac_cv_header_$ac_safe=yes" |
10421 else | 10631 else |
10422 echo "$ac_err" >&5 | 10632 echo "$ac_err" >&5 |
10459 case "$canonical" in | 10669 case "$canonical" in |
10460 *-sgi-* ) | 10670 *-sgi-* ) |
10461 if test -z "$native_sound_lib"; then | 10671 if test -z "$native_sound_lib"; then |
10462 | 10672 |
10463 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10673 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10464 echo "configure:10465: checking for ALopenport in -laudio" >&5 | 10674 echo "configure:10675: checking for ALopenport in -laudio" >&5 |
10465 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10675 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10466 | 10676 |
10467 xe_check_libs=" -laudio " | 10677 xe_check_libs=" -laudio " |
10468 cat > conftest.$ac_ext <<EOF | 10678 cat > conftest.$ac_ext <<EOF |
10469 #line 10470 "configure" | 10679 #line 10680 "configure" |
10470 #include "confdefs.h" | 10680 #include "confdefs.h" |
10471 /* Override any gcc2 internal prototype to avoid an error. */ | 10681 /* Override any gcc2 internal prototype to avoid an error. */ |
10472 /* We use char because int might match the return type of a gcc2 | 10682 /* We use char because int might match the return type of a gcc2 |
10473 builtin and then its argument prototype would still apply. */ | 10683 builtin and then its argument prototype would still apply. */ |
10474 char ALopenport(); | 10684 char ALopenport(); |
10475 | 10685 |
10476 int main() { | 10686 int main() { |
10477 ALopenport() | 10687 ALopenport() |
10478 ; return 0; } | 10688 ; return 0; } |
10479 EOF | 10689 EOF |
10480 if { (eval echo configure:10481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10690 if { (eval echo configure:10691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10481 rm -rf conftest* | 10691 rm -rf conftest* |
10482 eval "ac_cv_lib_$ac_lib_var=yes" | 10692 eval "ac_cv_lib_$ac_lib_var=yes" |
10483 else | 10693 else |
10484 echo "configure: failed program was:" >&5 | 10694 echo "configure: failed program was:" >&5 |
10485 cat conftest.$ac_ext >&5 | 10695 cat conftest.$ac_ext >&5 |
10506 fi ;; | 10716 fi ;; |
10507 hppa*-hp-hpux* ) | 10717 hppa*-hp-hpux* ) |
10508 if test -z "$native_sound_lib"; then | 10718 if test -z "$native_sound_lib"; then |
10509 | 10719 |
10510 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10720 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10511 echo "configure:10512: checking for AOpenAudio in -lAlib" >&5 | 10721 echo "configure:10722: checking for AOpenAudio in -lAlib" >&5 |
10512 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10722 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10513 | 10723 |
10514 xe_check_libs=" -lAlib " | 10724 xe_check_libs=" -lAlib " |
10515 cat > conftest.$ac_ext <<EOF | 10725 cat > conftest.$ac_ext <<EOF |
10516 #line 10517 "configure" | 10726 #line 10727 "configure" |
10517 #include "confdefs.h" | 10727 #include "confdefs.h" |
10518 /* Override any gcc2 internal prototype to avoid an error. */ | 10728 /* Override any gcc2 internal prototype to avoid an error. */ |
10519 /* We use char because int might match the return type of a gcc2 | 10729 /* We use char because int might match the return type of a gcc2 |
10520 builtin and then its argument prototype would still apply. */ | 10730 builtin and then its argument prototype would still apply. */ |
10521 char AOpenAudio(); | 10731 char AOpenAudio(); |
10522 | 10732 |
10523 int main() { | 10733 int main() { |
10524 AOpenAudio() | 10734 AOpenAudio() |
10525 ; return 0; } | 10735 ; return 0; } |
10526 EOF | 10736 EOF |
10527 if { (eval echo configure:10528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10737 if { (eval echo configure:10738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10528 rm -rf conftest* | 10738 rm -rf conftest* |
10529 eval "ac_cv_lib_$ac_lib_var=yes" | 10739 eval "ac_cv_lib_$ac_lib_var=yes" |
10530 else | 10740 else |
10531 echo "configure: failed program was:" >&5 | 10741 echo "configure: failed program was:" >&5 |
10532 cat conftest.$ac_ext >&5 | 10742 cat conftest.$ac_ext >&5 |
10560 | 10770 |
10561 if test -z "$sound_found"; then | 10771 if test -z "$sound_found"; then |
10562 for dir in "machine" "sys" "linux"; do | 10772 for dir in "machine" "sys" "linux"; do |
10563 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10773 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10564 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10774 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10565 echo "configure:10566: checking for ${dir}/soundcard.h" >&5 | 10775 echo "configure:10776: checking for ${dir}/soundcard.h" >&5 |
10566 | 10776 |
10567 cat > conftest.$ac_ext <<EOF | 10777 cat > conftest.$ac_ext <<EOF |
10568 #line 10569 "configure" | 10778 #line 10779 "configure" |
10569 #include "confdefs.h" | 10779 #include "confdefs.h" |
10570 #include <${dir}/soundcard.h> | 10780 #include <${dir}/soundcard.h> |
10571 EOF | 10781 EOF |
10572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10573 { (eval echo configure:10574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10783 { (eval echo configure:10784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10574 ac_err=`grep -v '^ *+' conftest.out` | 10784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10575 if test -z "$ac_err"; then | 10785 if test -z "$ac_err"; then |
10576 rm -rf conftest* | 10786 rm -rf conftest* |
10577 eval "ac_cv_header_$ac_safe=yes" | 10787 eval "ac_cv_header_$ac_safe=yes" |
10578 else | 10788 else |
10579 echo "$ac_err" >&5 | 10789 echo "$ac_err" >&5 |
10638 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10848 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10639 echo " xemacs will be linked with \"nas.o\"" | 10849 echo " xemacs will be linked with \"nas.o\"" |
10640 fi | 10850 fi |
10641 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10851 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10642 cat > conftest.$ac_ext <<EOF | 10852 cat > conftest.$ac_ext <<EOF |
10643 #line 10644 "configure" | 10853 #line 10854 "configure" |
10644 #include "confdefs.h" | 10854 #include "confdefs.h" |
10645 #include <audio/Xtutil.h> | 10855 #include <audio/Xtutil.h> |
10646 EOF | 10856 EOF |
10647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10648 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10858 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10665 | 10875 |
10666 test -z "$with_tty" && with_tty=yes | 10876 test -z "$with_tty" && with_tty=yes |
10667 | 10877 |
10668 if test "$with_tty" = "yes" ; then | 10878 if test "$with_tty" = "yes" ; then |
10669 echo "checking for TTY-related features" 1>&6 | 10879 echo "checking for TTY-related features" 1>&6 |
10670 echo "configure:10671: checking for TTY-related features" >&5 | 10880 echo "configure:10881: checking for TTY-related features" >&5 |
10671 { test "$extra_verbose" = "yes" && cat << \EOF | 10881 { test "$extra_verbose" = "yes" && cat << \EOF |
10672 Defining HAVE_TTY | 10882 Defining HAVE_TTY |
10673 EOF | 10883 EOF |
10674 cat >> confdefs.h <<\EOF | 10884 cat >> confdefs.h <<\EOF |
10675 #define HAVE_TTY 1 | 10885 #define HAVE_TTY 1 |
10681 fi | 10891 fi |
10682 | 10892 |
10683 if test -z "$with_ncurses"; then | 10893 if test -z "$with_ncurses"; then |
10684 | 10894 |
10685 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10895 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10686 echo "configure:10687: checking for tgetent in -lncurses" >&5 | 10896 echo "configure:10897: checking for tgetent in -lncurses" >&5 |
10687 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10897 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10688 | 10898 |
10689 xe_check_libs=" -lncurses " | 10899 xe_check_libs=" -lncurses " |
10690 cat > conftest.$ac_ext <<EOF | 10900 cat > conftest.$ac_ext <<EOF |
10691 #line 10692 "configure" | 10901 #line 10902 "configure" |
10692 #include "confdefs.h" | 10902 #include "confdefs.h" |
10693 /* Override any gcc2 internal prototype to avoid an error. */ | 10903 /* Override any gcc2 internal prototype to avoid an error. */ |
10694 /* We use char because int might match the return type of a gcc2 | 10904 /* We use char because int might match the return type of a gcc2 |
10695 builtin and then its argument prototype would still apply. */ | 10905 builtin and then its argument prototype would still apply. */ |
10696 char tgetent(); | 10906 char tgetent(); |
10697 | 10907 |
10698 int main() { | 10908 int main() { |
10699 tgetent() | 10909 tgetent() |
10700 ; return 0; } | 10910 ; return 0; } |
10701 EOF | 10911 EOF |
10702 if { (eval echo configure:10703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10912 if { (eval echo configure:10913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10703 rm -rf conftest* | 10913 rm -rf conftest* |
10704 eval "ac_cv_lib_$ac_lib_var=yes" | 10914 eval "ac_cv_lib_$ac_lib_var=yes" |
10705 else | 10915 else |
10706 echo "configure: failed program was:" >&5 | 10916 echo "configure: failed program was:" >&5 |
10707 cat conftest.$ac_ext >&5 | 10917 cat conftest.$ac_ext >&5 |
10730 EOF | 10940 EOF |
10731 } | 10941 } |
10732 | 10942 |
10733 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10943 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10734 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10944 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10735 echo "configure:10736: checking for ncurses/curses.h" >&5 | 10945 echo "configure:10946: checking for ncurses/curses.h" >&5 |
10736 | 10946 |
10737 cat > conftest.$ac_ext <<EOF | 10947 cat > conftest.$ac_ext <<EOF |
10738 #line 10739 "configure" | 10948 #line 10949 "configure" |
10739 #include "confdefs.h" | 10949 #include "confdefs.h" |
10740 #include <ncurses/curses.h> | 10950 #include <ncurses/curses.h> |
10741 EOF | 10951 EOF |
10742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10743 { (eval echo configure:10744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10953 { (eval echo configure:10954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10744 ac_err=`grep -v '^ *+' conftest.out` | 10954 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10745 if test -z "$ac_err"; then | 10955 if test -z "$ac_err"; then |
10746 rm -rf conftest* | 10956 rm -rf conftest* |
10747 eval "ac_cv_header_$ac_safe=yes" | 10957 eval "ac_cv_header_$ac_safe=yes" |
10748 else | 10958 else |
10749 echo "$ac_err" >&5 | 10959 echo "$ac_err" >&5 |
10760 echo "$ac_t""no" 1>&6 | 10970 echo "$ac_t""no" 1>&6 |
10761 fi | 10971 fi |
10762 | 10972 |
10763 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10973 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10764 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10974 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10765 echo "configure:10766: checking for ncurses/term.h" >&5 | 10975 echo "configure:10976: checking for ncurses/term.h" >&5 |
10766 | 10976 |
10767 cat > conftest.$ac_ext <<EOF | 10977 cat > conftest.$ac_ext <<EOF |
10768 #line 10769 "configure" | 10978 #line 10979 "configure" |
10769 #include "confdefs.h" | 10979 #include "confdefs.h" |
10770 #include <ncurses/term.h> | 10980 #include <ncurses/term.h> |
10771 EOF | 10981 EOF |
10772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10773 { (eval echo configure:10774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10983 { (eval echo configure:10984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10774 ac_err=`grep -v '^ *+' conftest.out` | 10984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10775 if test -z "$ac_err"; then | 10985 if test -z "$ac_err"; then |
10776 rm -rf conftest* | 10986 rm -rf conftest* |
10777 eval "ac_cv_header_$ac_safe=yes" | 10987 eval "ac_cv_header_$ac_safe=yes" |
10778 else | 10988 else |
10779 echo "$ac_err" >&5 | 10989 echo "$ac_err" >&5 |
10798 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 11008 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10799 save_c_switch_site="$c_switch_site" | 11009 save_c_switch_site="$c_switch_site" |
10800 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 11010 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10801 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11011 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10802 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11012 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10803 echo "configure:10804: checking for ncurses/curses.h" >&5 | 11013 echo "configure:11014: checking for ncurses/curses.h" >&5 |
10804 | 11014 |
10805 cat > conftest.$ac_ext <<EOF | 11015 cat > conftest.$ac_ext <<EOF |
10806 #line 10807 "configure" | 11016 #line 11017 "configure" |
10807 #include "confdefs.h" | 11017 #include "confdefs.h" |
10808 #include <ncurses/curses.h> | 11018 #include <ncurses/curses.h> |
10809 EOF | 11019 EOF |
10810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10811 { (eval echo configure:10812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11021 { (eval echo configure:11022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10812 ac_err=`grep -v '^ *+' conftest.out` | 11022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10813 if test -z "$ac_err"; then | 11023 if test -z "$ac_err"; then |
10814 rm -rf conftest* | 11024 rm -rf conftest* |
10815 eval "ac_cv_header_$ac_safe=yes" | 11025 eval "ac_cv_header_$ac_safe=yes" |
10816 else | 11026 else |
10817 echo "$ac_err" >&5 | 11027 echo "$ac_err" >&5 |
10841 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11051 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10842 else | 11052 else |
10843 for lib in curses termlib termcap; do | 11053 for lib in curses termlib termcap; do |
10844 | 11054 |
10845 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 11055 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10846 echo "configure:10847: checking for tgetent in -l$lib" >&5 | 11056 echo "configure:11057: checking for tgetent in -l$lib" >&5 |
10847 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 11057 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10848 | 11058 |
10849 xe_check_libs=" -l$lib " | 11059 xe_check_libs=" -l$lib " |
10850 cat > conftest.$ac_ext <<EOF | 11060 cat > conftest.$ac_ext <<EOF |
10851 #line 10852 "configure" | 11061 #line 11062 "configure" |
10852 #include "confdefs.h" | 11062 #include "confdefs.h" |
10853 /* Override any gcc2 internal prototype to avoid an error. */ | 11063 /* Override any gcc2 internal prototype to avoid an error. */ |
10854 /* We use char because int might match the return type of a gcc2 | 11064 /* We use char because int might match the return type of a gcc2 |
10855 builtin and then its argument prototype would still apply. */ | 11065 builtin and then its argument prototype would still apply. */ |
10856 char tgetent(); | 11066 char tgetent(); |
10857 | 11067 |
10858 int main() { | 11068 int main() { |
10859 tgetent() | 11069 tgetent() |
10860 ; return 0; } | 11070 ; return 0; } |
10861 EOF | 11071 EOF |
10862 if { (eval echo configure:10863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11072 if { (eval echo configure:11073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10863 rm -rf conftest* | 11073 rm -rf conftest* |
10864 eval "ac_cv_lib_$ac_lib_var=yes" | 11074 eval "ac_cv_lib_$ac_lib_var=yes" |
10865 else | 11075 else |
10866 echo "configure: failed program was:" >&5 | 11076 echo "configure: failed program was:" >&5 |
10867 cat conftest.$ac_ext >&5 | 11077 cat conftest.$ac_ext >&5 |
10888 if test -n "$libs_termcap"; then | 11098 if test -n "$libs_termcap"; then |
10889 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11099 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10890 else | 11100 else |
10891 | 11101 |
10892 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11102 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10893 echo "configure:10894: checking for tgetent in -lcurses" >&5 | 11103 echo "configure:11104: checking for tgetent in -lcurses" >&5 |
10894 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11104 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10895 | 11105 |
10896 xe_check_libs=" -lcurses " | 11106 xe_check_libs=" -lcurses " |
10897 cat > conftest.$ac_ext <<EOF | 11107 cat > conftest.$ac_ext <<EOF |
10898 #line 10899 "configure" | 11108 #line 11109 "configure" |
10899 #include "confdefs.h" | 11109 #include "confdefs.h" |
10900 /* Override any gcc2 internal prototype to avoid an error. */ | 11110 /* Override any gcc2 internal prototype to avoid an error. */ |
10901 /* We use char because int might match the return type of a gcc2 | 11111 /* We use char because int might match the return type of a gcc2 |
10902 builtin and then its argument prototype would still apply. */ | 11112 builtin and then its argument prototype would still apply. */ |
10903 char tgetent(); | 11113 char tgetent(); |
10904 | 11114 |
10905 int main() { | 11115 int main() { |
10906 tgetent() | 11116 tgetent() |
10907 ; return 0; } | 11117 ; return 0; } |
10908 EOF | 11118 EOF |
10909 if { (eval echo configure:10910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11119 if { (eval echo configure:11120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10910 rm -rf conftest* | 11120 rm -rf conftest* |
10911 eval "ac_cv_lib_$ac_lib_var=yes" | 11121 eval "ac_cv_lib_$ac_lib_var=yes" |
10912 else | 11122 else |
10913 echo "configure: failed program was:" >&5 | 11123 echo "configure: failed program was:" >&5 |
10914 cat conftest.$ac_ext >&5 | 11124 cat conftest.$ac_ext >&5 |
10922 echo "$ac_t""yes" 1>&6 | 11132 echo "$ac_t""yes" 1>&6 |
10923 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11133 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10924 else | 11134 else |
10925 echo "$ac_t""no" 1>&6 | 11135 echo "$ac_t""no" 1>&6 |
10926 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11136 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10927 echo "configure:10928: checking for tgetent in -ltermcap" >&5 | 11137 echo "configure:11138: checking for tgetent in -ltermcap" >&5 |
10928 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11138 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10929 | 11139 |
10930 xe_check_libs=" -ltermcap " | 11140 xe_check_libs=" -ltermcap " |
10931 cat > conftest.$ac_ext <<EOF | 11141 cat > conftest.$ac_ext <<EOF |
10932 #line 10933 "configure" | 11142 #line 11143 "configure" |
10933 #include "confdefs.h" | 11143 #include "confdefs.h" |
10934 /* Override any gcc2 internal prototype to avoid an error. */ | 11144 /* Override any gcc2 internal prototype to avoid an error. */ |
10935 /* We use char because int might match the return type of a gcc2 | 11145 /* We use char because int might match the return type of a gcc2 |
10936 builtin and then its argument prototype would still apply. */ | 11146 builtin and then its argument prototype would still apply. */ |
10937 char tgetent(); | 11147 char tgetent(); |
10938 | 11148 |
10939 int main() { | 11149 int main() { |
10940 tgetent() | 11150 tgetent() |
10941 ; return 0; } | 11151 ; return 0; } |
10942 EOF | 11152 EOF |
10943 if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11153 if { (eval echo configure:11154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10944 rm -rf conftest* | 11154 rm -rf conftest* |
10945 eval "ac_cv_lib_$ac_lib_var=yes" | 11155 eval "ac_cv_lib_$ac_lib_var=yes" |
10946 else | 11156 else |
10947 echo "configure: failed program was:" >&5 | 11157 echo "configure: failed program was:" >&5 |
10948 cat conftest.$ac_ext >&5 | 11158 cat conftest.$ac_ext >&5 |
10986 } | 11196 } |
10987 | 11197 |
10988 | 11198 |
10989 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11199 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10990 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11200 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10991 echo "configure:10992: checking for gpm.h" >&5 | 11201 echo "configure:11202: checking for gpm.h" >&5 |
10992 | 11202 |
10993 cat > conftest.$ac_ext <<EOF | 11203 cat > conftest.$ac_ext <<EOF |
10994 #line 10995 "configure" | 11204 #line 11205 "configure" |
10995 #include "confdefs.h" | 11205 #include "confdefs.h" |
10996 #include <gpm.h> | 11206 #include <gpm.h> |
10997 EOF | 11207 EOF |
10998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10999 { (eval echo configure:11000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11209 { (eval echo configure:11210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11000 ac_err=`grep -v '^ *+' conftest.out` | 11210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11001 if test -z "$ac_err"; then | 11211 if test -z "$ac_err"; then |
11002 rm -rf conftest* | 11212 rm -rf conftest* |
11003 eval "ac_cv_header_$ac_safe=yes" | 11213 eval "ac_cv_header_$ac_safe=yes" |
11004 else | 11214 else |
11005 echo "$ac_err" >&5 | 11215 echo "$ac_err" >&5 |
11017 with_gpm=no | 11227 with_gpm=no |
11018 fi | 11228 fi |
11019 } | 11229 } |
11020 test -z "$with_gpm" && { | 11230 test -z "$with_gpm" && { |
11021 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11231 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11022 echo "configure:11023: checking for Gpm_Open in -lgpm" >&5 | 11232 echo "configure:11233: checking for Gpm_Open in -lgpm" >&5 |
11023 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11233 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11024 | 11234 |
11025 xe_check_libs=" -lgpm " | 11235 xe_check_libs=" -lgpm " |
11026 cat > conftest.$ac_ext <<EOF | 11236 cat > conftest.$ac_ext <<EOF |
11027 #line 11028 "configure" | 11237 #line 11238 "configure" |
11028 #include "confdefs.h" | 11238 #include "confdefs.h" |
11029 /* Override any gcc2 internal prototype to avoid an error. */ | 11239 /* Override any gcc2 internal prototype to avoid an error. */ |
11030 /* We use char because int might match the return type of a gcc2 | 11240 /* We use char because int might match the return type of a gcc2 |
11031 builtin and then its argument prototype would still apply. */ | 11241 builtin and then its argument prototype would still apply. */ |
11032 char Gpm_Open(); | 11242 char Gpm_Open(); |
11033 | 11243 |
11034 int main() { | 11244 int main() { |
11035 Gpm_Open() | 11245 Gpm_Open() |
11036 ; return 0; } | 11246 ; return 0; } |
11037 EOF | 11247 EOF |
11038 if { (eval echo configure:11039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11248 if { (eval echo configure:11249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11039 rm -rf conftest* | 11249 rm -rf conftest* |
11040 eval "ac_cv_lib_$ac_lib_var=yes" | 11250 eval "ac_cv_lib_$ac_lib_var=yes" |
11041 else | 11251 else |
11042 echo "configure: failed program was:" >&5 | 11252 echo "configure: failed program was:" >&5 |
11043 cat conftest.$ac_ext >&5 | 11253 cat conftest.$ac_ext >&5 |
11083 fi | 11293 fi |
11084 | 11294 |
11085 | 11295 |
11086 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ | 11296 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ |
11087 != "no no no" && echo "checking for database support" 1>&6 | 11297 != "no no no" && echo "checking for database support" 1>&6 |
11088 echo "configure:11089: checking for database support" >&5 | 11298 echo "configure:11299: checking for database support" >&5 |
11089 | 11299 |
11090 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11300 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
11091 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11301 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11092 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11302 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11093 echo "configure:11094: checking for ndbm.h" >&5 | 11303 echo "configure:11304: checking for ndbm.h" >&5 |
11094 | 11304 |
11095 cat > conftest.$ac_ext <<EOF | 11305 cat > conftest.$ac_ext <<EOF |
11096 #line 11097 "configure" | 11306 #line 11307 "configure" |
11097 #include "confdefs.h" | 11307 #include "confdefs.h" |
11098 #include <ndbm.h> | 11308 #include <ndbm.h> |
11099 EOF | 11309 EOF |
11100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11101 { (eval echo configure:11102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11311 { (eval echo configure:11312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11102 ac_err=`grep -v '^ *+' conftest.out` | 11312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11103 if test -z "$ac_err"; then | 11313 if test -z "$ac_err"; then |
11104 rm -rf conftest* | 11314 rm -rf conftest* |
11105 eval "ac_cv_header_$ac_safe=yes" | 11315 eval "ac_cv_header_$ac_safe=yes" |
11106 else | 11316 else |
11107 echo "$ac_err" >&5 | 11317 echo "$ac_err" >&5 |
11126 fi | 11336 fi |
11127 | 11337 |
11128 if test "$with_database_gnudbm" != "no"; then | 11338 if test "$with_database_gnudbm" != "no"; then |
11129 | 11339 |
11130 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11340 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11131 echo "configure:11132: checking for dbm_open in -lgdbm" >&5 | 11341 echo "configure:11342: checking for dbm_open in -lgdbm" >&5 |
11132 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11342 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11133 | 11343 |
11134 xe_check_libs=" -lgdbm " | 11344 xe_check_libs=" -lgdbm " |
11135 cat > conftest.$ac_ext <<EOF | 11345 cat > conftest.$ac_ext <<EOF |
11136 #line 11137 "configure" | 11346 #line 11347 "configure" |
11137 #include "confdefs.h" | 11347 #include "confdefs.h" |
11138 /* Override any gcc2 internal prototype to avoid an error. */ | 11348 /* Override any gcc2 internal prototype to avoid an error. */ |
11139 /* We use char because int might match the return type of a gcc2 | 11349 /* We use char because int might match the return type of a gcc2 |
11140 builtin and then its argument prototype would still apply. */ | 11350 builtin and then its argument prototype would still apply. */ |
11141 char dbm_open(); | 11351 char dbm_open(); |
11142 | 11352 |
11143 int main() { | 11353 int main() { |
11144 dbm_open() | 11354 dbm_open() |
11145 ; return 0; } | 11355 ; return 0; } |
11146 EOF | 11356 EOF |
11147 if { (eval echo configure:11148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11357 if { (eval echo configure:11358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11148 rm -rf conftest* | 11358 rm -rf conftest* |
11149 eval "ac_cv_lib_$ac_lib_var=yes" | 11359 eval "ac_cv_lib_$ac_lib_var=yes" |
11150 else | 11360 else |
11151 echo "configure: failed program was:" >&5 | 11361 echo "configure: failed program was:" >&5 |
11152 cat conftest.$ac_ext >&5 | 11362 cat conftest.$ac_ext >&5 |
11170 | 11380 |
11171 fi | 11381 fi |
11172 | 11382 |
11173 if test "$with_database_dbm" != "no"; then | 11383 if test "$with_database_dbm" != "no"; then |
11174 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11384 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11175 echo "configure:11176: checking for dbm_open" >&5 | 11385 echo "configure:11386: checking for dbm_open" >&5 |
11176 | 11386 |
11177 cat > conftest.$ac_ext <<EOF | 11387 cat > conftest.$ac_ext <<EOF |
11178 #line 11179 "configure" | 11388 #line 11389 "configure" |
11179 #include "confdefs.h" | 11389 #include "confdefs.h" |
11180 /* System header to define __stub macros and hopefully few prototypes, | 11390 /* System header to define __stub macros and hopefully few prototypes, |
11181 which can conflict with char dbm_open(); below. */ | 11391 which can conflict with char dbm_open(); below. */ |
11182 #include <assert.h> | 11392 #include <assert.h> |
11183 /* Override any gcc2 internal prototype to avoid an error. */ | 11393 /* Override any gcc2 internal prototype to avoid an error. */ |
11196 dbm_open(); | 11406 dbm_open(); |
11197 #endif | 11407 #endif |
11198 | 11408 |
11199 ; return 0; } | 11409 ; return 0; } |
11200 EOF | 11410 EOF |
11201 if { (eval echo configure:11202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11411 if { (eval echo configure:11412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11202 rm -rf conftest* | 11412 rm -rf conftest* |
11203 eval "ac_cv_func_dbm_open=yes" | 11413 eval "ac_cv_func_dbm_open=yes" |
11204 else | 11414 else |
11205 echo "configure: failed program was:" >&5 | 11415 echo "configure: failed program was:" >&5 |
11206 cat conftest.$ac_ext >&5 | 11416 cat conftest.$ac_ext >&5 |
11215 else | 11425 else |
11216 echo "$ac_t""no" 1>&6 | 11426 echo "$ac_t""no" 1>&6 |
11217 | 11427 |
11218 | 11428 |
11219 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11429 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11220 echo "configure:11221: checking for dbm_open in -ldbm" >&5 | 11430 echo "configure:11431: checking for dbm_open in -ldbm" >&5 |
11221 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11431 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11222 | 11432 |
11223 xe_check_libs=" -ldbm " | 11433 xe_check_libs=" -ldbm " |
11224 cat > conftest.$ac_ext <<EOF | 11434 cat > conftest.$ac_ext <<EOF |
11225 #line 11226 "configure" | 11435 #line 11436 "configure" |
11226 #include "confdefs.h" | 11436 #include "confdefs.h" |
11227 /* Override any gcc2 internal prototype to avoid an error. */ | 11437 /* Override any gcc2 internal prototype to avoid an error. */ |
11228 /* We use char because int might match the return type of a gcc2 | 11438 /* We use char because int might match the return type of a gcc2 |
11229 builtin and then its argument prototype would still apply. */ | 11439 builtin and then its argument prototype would still apply. */ |
11230 char dbm_open(); | 11440 char dbm_open(); |
11231 | 11441 |
11232 int main() { | 11442 int main() { |
11233 dbm_open() | 11443 dbm_open() |
11234 ; return 0; } | 11444 ; return 0; } |
11235 EOF | 11445 EOF |
11236 if { (eval echo configure:11237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11446 if { (eval echo configure:11447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11237 rm -rf conftest* | 11447 rm -rf conftest* |
11238 eval "ac_cv_lib_$ac_lib_var=yes" | 11448 eval "ac_cv_lib_$ac_lib_var=yes" |
11239 else | 11449 else |
11240 echo "configure: failed program was:" >&5 | 11450 echo "configure: failed program was:" >&5 |
11241 cat conftest.$ac_ext >&5 | 11451 cat conftest.$ac_ext >&5 |
11272 } | 11482 } |
11273 | 11483 |
11274 | 11484 |
11275 if test "$with_database_berkdb" != "no"; then | 11485 if test "$with_database_berkdb" != "no"; then |
11276 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11486 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11277 echo "configure:11278: checking for Berkeley db.h" >&5 | 11487 echo "configure:11488: checking for Berkeley db.h" >&5 |
11278 for path in "db/db.h" "db.h"; do | 11488 for path in "db/db.h" "db.h"; do |
11279 cat > conftest.$ac_ext <<EOF | 11489 cat > conftest.$ac_ext <<EOF |
11280 #line 11281 "configure" | 11490 #line 11491 "configure" |
11281 #include "confdefs.h" | 11491 #include "confdefs.h" |
11282 #ifdef HAVE_INTTYPES_H | 11492 #ifdef HAVE_INTTYPES_H |
11283 #define __BIT_TYPES_DEFINED__ | 11493 #define __BIT_TYPES_DEFINED__ |
11284 #include <inttypes.h> | 11494 #include <inttypes.h> |
11285 typedef uint8_t u_int8_t; | 11495 typedef uint8_t u_int8_t; |
11293 | 11503 |
11294 int main() { | 11504 int main() { |
11295 | 11505 |
11296 ; return 0; } | 11506 ; return 0; } |
11297 EOF | 11507 EOF |
11298 if { (eval echo configure:11299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11508 if { (eval echo configure:11509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11299 rm -rf conftest* | 11509 rm -rf conftest* |
11300 db_h_path="$path"; break | 11510 db_h_path="$path"; break |
11301 else | 11511 else |
11302 echo "configure: failed program was:" >&5 | 11512 echo "configure: failed program was:" >&5 |
11303 cat conftest.$ac_ext >&5 | 11513 cat conftest.$ac_ext >&5 |
11309 else echo "$ac_t""$db_h_path" 1>&6 | 11519 else echo "$ac_t""$db_h_path" 1>&6 |
11310 fi | 11520 fi |
11311 | 11521 |
11312 if test "$with_database_berkdb" != "no"; then | 11522 if test "$with_database_berkdb" != "no"; then |
11313 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11523 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11314 echo "configure:11315: checking for Berkeley DB version" >&5 | 11524 echo "configure:11525: checking for Berkeley DB version" >&5 |
11315 cat > conftest.$ac_ext <<EOF | 11525 cat > conftest.$ac_ext <<EOF |
11316 #line 11317 "configure" | 11526 #line 11527 "configure" |
11317 #include "confdefs.h" | 11527 #include "confdefs.h" |
11318 #include <$db_h_path> | 11528 #include <$db_h_path> |
11319 #if DB_VERSION_MAJOR > 1 | 11529 #if DB_VERSION_MAJOR > 1 |
11320 yes | 11530 yes |
11321 #endif | 11531 #endif |
11330 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11540 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11331 fi | 11541 fi |
11332 rm -f conftest* | 11542 rm -f conftest* |
11333 | 11543 |
11334 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11544 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11335 echo "configure:11336: checking for $dbfunc" >&5 | 11545 echo "configure:11546: checking for $dbfunc" >&5 |
11336 | 11546 |
11337 cat > conftest.$ac_ext <<EOF | 11547 cat > conftest.$ac_ext <<EOF |
11338 #line 11339 "configure" | 11548 #line 11549 "configure" |
11339 #include "confdefs.h" | 11549 #include "confdefs.h" |
11340 /* System header to define __stub macros and hopefully few prototypes, | 11550 /* System header to define __stub macros and hopefully few prototypes, |
11341 which can conflict with char $dbfunc(); below. */ | 11551 which can conflict with char $dbfunc(); below. */ |
11342 #include <assert.h> | 11552 #include <assert.h> |
11343 /* Override any gcc2 internal prototype to avoid an error. */ | 11553 /* Override any gcc2 internal prototype to avoid an error. */ |
11356 $dbfunc(); | 11566 $dbfunc(); |
11357 #endif | 11567 #endif |
11358 | 11568 |
11359 ; return 0; } | 11569 ; return 0; } |
11360 EOF | 11570 EOF |
11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11571 if { (eval echo configure:11572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11362 rm -rf conftest* | 11572 rm -rf conftest* |
11363 eval "ac_cv_func_$dbfunc=yes" | 11573 eval "ac_cv_func_$dbfunc=yes" |
11364 else | 11574 else |
11365 echo "configure: failed program was:" >&5 | 11575 echo "configure: failed program was:" >&5 |
11366 cat conftest.$ac_ext >&5 | 11576 cat conftest.$ac_ext >&5 |
11375 else | 11585 else |
11376 echo "$ac_t""no" 1>&6 | 11586 echo "$ac_t""no" 1>&6 |
11377 | 11587 |
11378 | 11588 |
11379 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11589 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11380 echo "configure:11381: checking for $dbfunc in -ldb" >&5 | 11590 echo "configure:11591: checking for $dbfunc in -ldb" >&5 |
11381 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11591 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11382 | 11592 |
11383 xe_check_libs=" -ldb " | 11593 xe_check_libs=" -ldb " |
11384 cat > conftest.$ac_ext <<EOF | 11594 cat > conftest.$ac_ext <<EOF |
11385 #line 11386 "configure" | 11595 #line 11596 "configure" |
11386 #include "confdefs.h" | 11596 #include "confdefs.h" |
11387 /* Override any gcc2 internal prototype to avoid an error. */ | 11597 /* Override any gcc2 internal prototype to avoid an error. */ |
11388 /* We use char because int might match the return type of a gcc2 | 11598 /* We use char because int might match the return type of a gcc2 |
11389 builtin and then its argument prototype would still apply. */ | 11599 builtin and then its argument prototype would still apply. */ |
11390 char $dbfunc(); | 11600 char $dbfunc(); |
11391 | 11601 |
11392 int main() { | 11602 int main() { |
11393 $dbfunc() | 11603 $dbfunc() |
11394 ; return 0; } | 11604 ; return 0; } |
11395 EOF | 11605 EOF |
11396 if { (eval echo configure:11397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11606 if { (eval echo configure:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11397 rm -rf conftest* | 11607 rm -rf conftest* |
11398 eval "ac_cv_lib_$ac_lib_var=yes" | 11608 eval "ac_cv_lib_$ac_lib_var=yes" |
11399 else | 11609 else |
11400 echo "configure: failed program was:" >&5 | 11610 echo "configure: failed program was:" >&5 |
11401 cat conftest.$ac_ext >&5 | 11611 cat conftest.$ac_ext >&5 |
11455 fi | 11665 fi |
11456 | 11666 |
11457 if test "$with_socks" = "yes"; then | 11667 if test "$with_socks" = "yes"; then |
11458 | 11668 |
11459 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11669 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11460 echo "configure:11461: checking for SOCKSinit in -lsocks" >&5 | 11670 echo "configure:11671: checking for SOCKSinit in -lsocks" >&5 |
11461 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11671 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11462 | 11672 |
11463 xe_check_libs=" -lsocks " | 11673 xe_check_libs=" -lsocks " |
11464 cat > conftest.$ac_ext <<EOF | 11674 cat > conftest.$ac_ext <<EOF |
11465 #line 11466 "configure" | 11675 #line 11676 "configure" |
11466 #include "confdefs.h" | 11676 #include "confdefs.h" |
11467 /* Override any gcc2 internal prototype to avoid an error. */ | 11677 /* Override any gcc2 internal prototype to avoid an error. */ |
11468 /* We use char because int might match the return type of a gcc2 | 11678 /* We use char because int might match the return type of a gcc2 |
11469 builtin and then its argument prototype would still apply. */ | 11679 builtin and then its argument prototype would still apply. */ |
11470 char SOCKSinit(); | 11680 char SOCKSinit(); |
11471 | 11681 |
11472 int main() { | 11682 int main() { |
11473 SOCKSinit() | 11683 SOCKSinit() |
11474 ; return 0; } | 11684 ; return 0; } |
11475 EOF | 11685 EOF |
11476 if { (eval echo configure:11477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11477 rm -rf conftest* | 11687 rm -rf conftest* |
11478 eval "ac_cv_lib_$ac_lib_var=yes" | 11688 eval "ac_cv_lib_$ac_lib_var=yes" |
11479 else | 11689 else |
11480 echo "configure: failed program was:" >&5 | 11690 echo "configure: failed program was:" >&5 |
11481 cat conftest.$ac_ext >&5 | 11691 cat conftest.$ac_ext >&5 |
11528 | 11738 |
11529 for ac_hdr in dlfcn.h | 11739 for ac_hdr in dlfcn.h |
11530 do | 11740 do |
11531 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11741 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11532 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11742 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11533 echo "configure:11534: checking for $ac_hdr" >&5 | 11743 echo "configure:11744: checking for $ac_hdr" >&5 |
11534 | 11744 |
11535 cat > conftest.$ac_ext <<EOF | 11745 cat > conftest.$ac_ext <<EOF |
11536 #line 11537 "configure" | 11746 #line 11747 "configure" |
11537 #include "confdefs.h" | 11747 #include "confdefs.h" |
11538 #include <$ac_hdr> | 11748 #include <$ac_hdr> |
11539 EOF | 11749 EOF |
11540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11541 { (eval echo configure:11542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11751 { (eval echo configure:11752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11542 ac_err=`grep -v '^ *+' conftest.out` | 11752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11543 if test -z "$ac_err"; then | 11753 if test -z "$ac_err"; then |
11544 rm -rf conftest* | 11754 rm -rf conftest* |
11545 eval "ac_cv_header_$ac_safe=yes" | 11755 eval "ac_cv_header_$ac_safe=yes" |
11546 else | 11756 else |
11547 echo "$ac_err" >&5 | 11757 echo "$ac_err" >&5 |
11575 fi | 11785 fi |
11576 done | 11786 done |
11577 | 11787 |
11578 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11788 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11579 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11789 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11580 echo "configure:11581: checking for dlopen in -ldl" >&5 | 11790 echo "configure:11791: checking for dlopen in -ldl" >&5 |
11581 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11791 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11582 | 11792 |
11583 xe_check_libs=" -ldl " | 11793 xe_check_libs=" -ldl " |
11584 cat > conftest.$ac_ext <<EOF | 11794 cat > conftest.$ac_ext <<EOF |
11585 #line 11586 "configure" | 11795 #line 11796 "configure" |
11586 #include "confdefs.h" | 11796 #include "confdefs.h" |
11587 /* Override any gcc2 internal prototype to avoid an error. */ | 11797 /* Override any gcc2 internal prototype to avoid an error. */ |
11588 /* We use char because int might match the return type of a gcc2 | 11798 /* We use char because int might match the return type of a gcc2 |
11589 builtin and then its argument prototype would still apply. */ | 11799 builtin and then its argument prototype would still apply. */ |
11590 char dlopen(); | 11800 char dlopen(); |
11591 | 11801 |
11592 int main() { | 11802 int main() { |
11593 dlopen() | 11803 dlopen() |
11594 ; return 0; } | 11804 ; return 0; } |
11595 EOF | 11805 EOF |
11596 if { (eval echo configure:11597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11806 if { (eval echo configure:11807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11597 rm -rf conftest* | 11807 rm -rf conftest* |
11598 eval "ac_cv_lib_$ac_lib_var=yes" | 11808 eval "ac_cv_lib_$ac_lib_var=yes" |
11599 else | 11809 else |
11600 echo "configure: failed program was:" >&5 | 11810 echo "configure: failed program was:" >&5 |
11601 cat conftest.$ac_ext >&5 | 11811 cat conftest.$ac_ext >&5 |
11620 fi | 11830 fi |
11621 | 11831 |
11622 } | 11832 } |
11623 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11833 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11624 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11834 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11625 echo "configure:11626: checking for _dlopen in -lc" >&5 | 11835 echo "configure:11836: checking for _dlopen in -lc" >&5 |
11626 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11836 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11627 | 11837 |
11628 xe_check_libs=" -lc " | 11838 xe_check_libs=" -lc " |
11629 cat > conftest.$ac_ext <<EOF | 11839 cat > conftest.$ac_ext <<EOF |
11630 #line 11631 "configure" | 11840 #line 11841 "configure" |
11631 #include "confdefs.h" | 11841 #include "confdefs.h" |
11632 /* Override any gcc2 internal prototype to avoid an error. */ | 11842 /* Override any gcc2 internal prototype to avoid an error. */ |
11633 /* We use char because int might match the return type of a gcc2 | 11843 /* We use char because int might match the return type of a gcc2 |
11634 builtin and then its argument prototype would still apply. */ | 11844 builtin and then its argument prototype would still apply. */ |
11635 char _dlopen(); | 11845 char _dlopen(); |
11636 | 11846 |
11637 int main() { | 11847 int main() { |
11638 _dlopen() | 11848 _dlopen() |
11639 ; return 0; } | 11849 ; return 0; } |
11640 EOF | 11850 EOF |
11641 if { (eval echo configure:11642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11851 if { (eval echo configure:11852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11642 rm -rf conftest* | 11852 rm -rf conftest* |
11643 eval "ac_cv_lib_$ac_lib_var=yes" | 11853 eval "ac_cv_lib_$ac_lib_var=yes" |
11644 else | 11854 else |
11645 echo "configure: failed program was:" >&5 | 11855 echo "configure: failed program was:" >&5 |
11646 cat conftest.$ac_ext >&5 | 11856 cat conftest.$ac_ext >&5 |
11665 fi | 11875 fi |
11666 | 11876 |
11667 } | 11877 } |
11668 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11878 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11669 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11879 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11670 echo "configure:11671: checking for dlopen in -lc" >&5 | 11880 echo "configure:11881: checking for dlopen in -lc" >&5 |
11671 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11881 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11672 | 11882 |
11673 xe_check_libs=" -lc " | 11883 xe_check_libs=" -lc " |
11674 cat > conftest.$ac_ext <<EOF | 11884 cat > conftest.$ac_ext <<EOF |
11675 #line 11676 "configure" | 11885 #line 11886 "configure" |
11676 #include "confdefs.h" | 11886 #include "confdefs.h" |
11677 /* Override any gcc2 internal prototype to avoid an error. */ | 11887 /* Override any gcc2 internal prototype to avoid an error. */ |
11678 /* We use char because int might match the return type of a gcc2 | 11888 /* We use char because int might match the return type of a gcc2 |
11679 builtin and then its argument prototype would still apply. */ | 11889 builtin and then its argument prototype would still apply. */ |
11680 char dlopen(); | 11890 char dlopen(); |
11681 | 11891 |
11682 int main() { | 11892 int main() { |
11683 dlopen() | 11893 dlopen() |
11684 ; return 0; } | 11894 ; return 0; } |
11685 EOF | 11895 EOF |
11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11896 if { (eval echo configure:11897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11687 rm -rf conftest* | 11897 rm -rf conftest* |
11688 eval "ac_cv_lib_$ac_lib_var=yes" | 11898 eval "ac_cv_lib_$ac_lib_var=yes" |
11689 else | 11899 else |
11690 echo "configure: failed program was:" >&5 | 11900 echo "configure: failed program was:" >&5 |
11691 cat conftest.$ac_ext >&5 | 11901 cat conftest.$ac_ext >&5 |
11710 fi | 11920 fi |
11711 | 11921 |
11712 } | 11922 } |
11713 test -z "$with_shlib" && { | 11923 test -z "$with_shlib" && { |
11714 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11924 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11715 echo "configure:11716: checking for shl_load in -ldld" >&5 | 11925 echo "configure:11926: checking for shl_load in -ldld" >&5 |
11716 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11926 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11717 | 11927 |
11718 xe_check_libs=" -ldld " | 11928 xe_check_libs=" -ldld " |
11719 cat > conftest.$ac_ext <<EOF | 11929 cat > conftest.$ac_ext <<EOF |
11720 #line 11721 "configure" | 11930 #line 11931 "configure" |
11721 #include "confdefs.h" | 11931 #include "confdefs.h" |
11722 /* Override any gcc2 internal prototype to avoid an error. */ | 11932 /* Override any gcc2 internal prototype to avoid an error. */ |
11723 /* We use char because int might match the return type of a gcc2 | 11933 /* We use char because int might match the return type of a gcc2 |
11724 builtin and then its argument prototype would still apply. */ | 11934 builtin and then its argument prototype would still apply. */ |
11725 char shl_load(); | 11935 char shl_load(); |
11726 | 11936 |
11727 int main() { | 11937 int main() { |
11728 shl_load() | 11938 shl_load() |
11729 ; return 0; } | 11939 ; return 0; } |
11730 EOF | 11940 EOF |
11731 if { (eval echo configure:11732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11941 if { (eval echo configure:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11732 rm -rf conftest* | 11942 rm -rf conftest* |
11733 eval "ac_cv_lib_$ac_lib_var=yes" | 11943 eval "ac_cv_lib_$ac_lib_var=yes" |
11734 else | 11944 else |
11735 echo "configure: failed program was:" >&5 | 11945 echo "configure: failed program was:" >&5 |
11736 cat conftest.$ac_ext >&5 | 11946 cat conftest.$ac_ext >&5 |
11755 fi | 11965 fi |
11756 | 11966 |
11757 } | 11967 } |
11758 test -z "$with_shlib" && { | 11968 test -z "$with_shlib" && { |
11759 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11969 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11760 echo "configure:11761: checking for dld_init in -ldld" >&5 | 11970 echo "configure:11971: checking for dld_init in -ldld" >&5 |
11761 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11971 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11762 | 11972 |
11763 xe_check_libs=" -ldld " | 11973 xe_check_libs=" -ldld " |
11764 cat > conftest.$ac_ext <<EOF | 11974 cat > conftest.$ac_ext <<EOF |
11765 #line 11766 "configure" | 11975 #line 11976 "configure" |
11766 #include "confdefs.h" | 11976 #include "confdefs.h" |
11767 /* Override any gcc2 internal prototype to avoid an error. */ | 11977 /* Override any gcc2 internal prototype to avoid an error. */ |
11768 /* We use char because int might match the return type of a gcc2 | 11978 /* We use char because int might match the return type of a gcc2 |
11769 builtin and then its argument prototype would still apply. */ | 11979 builtin and then its argument prototype would still apply. */ |
11770 char dld_init(); | 11980 char dld_init(); |
11771 | 11981 |
11772 int main() { | 11982 int main() { |
11773 dld_init() | 11983 dld_init() |
11774 ; return 0; } | 11984 ; return 0; } |
11775 EOF | 11985 EOF |
11776 if { (eval echo configure:11777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11986 if { (eval echo configure:11987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11777 rm -rf conftest* | 11987 rm -rf conftest* |
11778 eval "ac_cv_lib_$ac_lib_var=yes" | 11988 eval "ac_cv_lib_$ac_lib_var=yes" |
11779 else | 11989 else |
11780 echo "configure: failed program was:" >&5 | 11990 echo "configure: failed program was:" >&5 |
11781 cat conftest.$ac_ext >&5 | 11991 cat conftest.$ac_ext >&5 |
11810 ld_dynamic_link_flags= | 12020 ld_dynamic_link_flags= |
11811 xehost=$canonical | 12021 xehost=$canonical |
11812 xealias=$internal_configuration | 12022 xealias=$internal_configuration |
11813 | 12023 |
11814 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 12024 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
11815 echo "configure:11816: checking how to build dynamic libraries for ${xehost}" >&5 | 12025 echo "configure:12026: checking how to build dynamic libraries for ${xehost}" >&5 |
11816 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 12026 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
11817 case "$xehost" in | 12027 case "$xehost" in |
11818 *-*-linux-gnu*) ;; | 12028 *-*-linux-gnu*) ;; |
11819 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 12029 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
11820 esac | 12030 esac |
11838 # Now see if the compiler is really GCC. | 12048 # Now see if the compiler is really GCC. |
11839 if test "$GCC" = "yes"; then | 12049 if test "$GCC" = "yes"; then |
11840 XEGCC=yes | 12050 XEGCC=yes |
11841 else | 12051 else |
11842 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 12052 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
11843 echo "configure:11844: checking checking whether we are using GNU C" >&5 | 12053 echo "configure:12054: checking checking whether we are using GNU C" >&5 |
11844 cat > conftest.$ac_ext <<EOF | 12054 cat > conftest.$ac_ext <<EOF |
11845 #line 11846 "configure" | 12055 #line 12056 "configure" |
11846 #include "confdefs.h" | 12056 #include "confdefs.h" |
11847 | 12057 |
11848 #ifdef __GNUC__ | 12058 #ifdef __GNUC__ |
11849 yes; | 12059 yes; |
11850 #endif | 12060 #endif |
11862 | 12072 |
11863 echo "$ac_t""${XEGCC}" 1>&6 | 12073 echo "$ac_t""${XEGCC}" 1>&6 |
11864 fi | 12074 fi |
11865 | 12075 |
11866 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 12076 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
11867 echo "configure:11868: checking how to produce PIC code" >&5 | 12077 echo "configure:12078: checking how to produce PIC code" >&5 |
11868 wl= | 12078 wl= |
11869 | 12079 |
11870 can_build_shared=yes | 12080 can_build_shared=yes |
11871 if test "$XEGCC" = yes; then | 12081 if test "$XEGCC" = yes; then |
11872 wl='-Wl,' | 12082 wl='-Wl,' |
11955 if test -n "$dll_cflags"; then | 12165 if test -n "$dll_cflags"; then |
11956 echo "$ac_t""${dll_cflags}" 1>&6 | 12166 echo "$ac_t""${dll_cflags}" 1>&6 |
11957 | 12167 |
11958 # Check to make sure the dll_cflags actually works. | 12168 # Check to make sure the dll_cflags actually works. |
11959 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 12169 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
11960 echo "configure:11961: checking if PIC flag ${dll_cflags} really works" >&5 | 12170 echo "configure:12171: checking if PIC flag ${dll_cflags} really works" >&5 |
11961 save_CFLAGS="$CFLAGS" | 12171 save_CFLAGS="$CFLAGS" |
11962 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 12172 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
11963 cat > conftest.$ac_ext <<EOF | 12173 cat > conftest.$ac_ext <<EOF |
11964 #line 11965 "configure" | 12174 #line 12175 "configure" |
11965 #include "confdefs.h" | 12175 #include "confdefs.h" |
11966 | 12176 |
11967 int main() { | 12177 int main() { |
11968 int x=0; | 12178 int x=0; |
11969 ; return 0; } | 12179 ; return 0; } |
11970 EOF | 12180 EOF |
11971 if { (eval echo configure:11972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12181 if { (eval echo configure:12182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11972 rm -rf conftest* | 12182 rm -rf conftest* |
11973 | 12183 |
11974 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 12184 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
11975 # reports no error. So, we need to grep stderr for (Bundled). | 12185 # reports no error. So, we need to grep stderr for (Bundled). |
11976 if grep '(Bundled)' config.log >/dev/null; then | 12186 if grep '(Bundled)' config.log >/dev/null; then |
11997 if test "$can_build_shared" = "yes"; then | 12207 if test "$can_build_shared" = "yes"; then |
11998 cc_produces_so=no | 12208 cc_produces_so=no |
11999 xldf= | 12209 xldf= |
12000 xcldf= | 12210 xcldf= |
12001 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 12211 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
12002 echo "configure:12003: checking if C compiler can produce shared libraries" >&5 | 12212 echo "configure:12213: checking if C compiler can produce shared libraries" >&5 |
12003 if test "$XEGCC" = yes; then | 12213 if test "$XEGCC" = yes; then |
12004 xcldf="-shared" | 12214 xcldf="-shared" |
12005 xldf="-shared" | 12215 xldf="-shared" |
12006 else # Not using GCC | 12216 else # Not using GCC |
12007 case "$xehost_os" in | 12217 case "$xehost_os" in |
12048 LDFLAGS="$xcldf $LDFLAGS" | 12258 LDFLAGS="$xcldf $LDFLAGS" |
12049 LIBS= | 12259 LIBS= |
12050 xe_libs= | 12260 xe_libs= |
12051 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 12261 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
12052 cat > conftest.$ac_ext <<EOF | 12262 cat > conftest.$ac_ext <<EOF |
12053 #line 12054 "configure" | 12263 #line 12264 "configure" |
12054 #include "confdefs.h" | 12264 #include "confdefs.h" |
12055 | 12265 |
12056 int main() { | 12266 int main() { |
12057 int x=0; | 12267 int x=0; |
12058 ; return 0; } | 12268 ; return 0; } |
12059 EOF | 12269 EOF |
12060 if { (eval echo configure:12061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12270 if { (eval echo configure:12271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12061 rm -rf conftest* | 12271 rm -rf conftest* |
12062 cc_produces_so=yes | 12272 cc_produces_so=yes |
12063 else | 12273 else |
12064 echo "configure: failed program was:" >&5 | 12274 echo "configure: failed program was:" >&5 |
12065 cat conftest.$ac_ext >&5 | 12275 cat conftest.$ac_ext >&5 |
12080 if test -z "$LTLD"; then | 12290 if test -z "$LTLD"; then |
12081 ac_prog=ld | 12291 ac_prog=ld |
12082 if test "$XEGCC" = yes; then | 12292 if test "$XEGCC" = yes; then |
12083 # Check if gcc -print-prog-name=ld gives a path. | 12293 # Check if gcc -print-prog-name=ld gives a path. |
12084 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 12294 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
12085 echo "configure:12086: checking for ld used by GCC" >&5 | 12295 echo "configure:12296: checking for ld used by GCC" >&5 |
12086 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 12296 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
12087 case "$ac_prog" in | 12297 case "$ac_prog" in |
12088 # Accept absolute paths. | 12298 # Accept absolute paths. |
12089 /*) | 12299 /*) |
12090 if test -z "$LTLD"; then | 12300 if test -z "$LTLD"; then |
12105 with_gnu_ld=unknown | 12315 with_gnu_ld=unknown |
12106 ;; | 12316 ;; |
12107 esac | 12317 esac |
12108 else | 12318 else |
12109 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 12319 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
12110 echo "configure:12111: checking for GNU ld" >&5 | 12320 echo "configure:12321: checking for GNU ld" >&5 |
12111 fi | 12321 fi |
12112 | 12322 |
12113 if test -z "$LTLD"; then | 12323 if test -z "$LTLD"; then |
12114 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 12324 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
12115 for ac_dir in $PATH; do | 12325 for ac_dir in $PATH; do |
12143 | 12353 |
12144 ld_dynamic_link_flags= | 12354 ld_dynamic_link_flags= |
12145 | 12355 |
12146 # Check to see if it really is or isn't GNU ld. | 12356 # Check to see if it really is or isn't GNU ld. |
12147 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 12357 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
12148 echo "configure:12149: checking if the linker is GNU ld" >&5 | 12358 echo "configure:12359: checking if the linker is GNU ld" >&5 |
12149 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 12359 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
12150 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 12360 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
12151 xe_gnu_ld=yes | 12361 xe_gnu_ld=yes |
12152 else | 12362 else |
12153 xe_gnu_ld=no | 12363 xe_gnu_ld=no |
12170 can_build_shared=yes | 12380 can_build_shared=yes |
12171 else | 12381 else |
12172 # OK - only NOW do we futz about with ld. | 12382 # OK - only NOW do we futz about with ld. |
12173 # See if the linker supports building shared libraries. | 12383 # See if the linker supports building shared libraries. |
12174 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 12384 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
12175 echo "configure:12176: checking whether the linker supports shared libraries" >&5 | 12385 echo "configure:12386: checking whether the linker supports shared libraries" >&5 |
12176 dll_ld=$CC | 12386 dll_ld=$CC |
12177 dll_ldflags=$LDFLAGS | 12387 dll_ldflags=$LDFLAGS |
12178 ld_shlibs=yes | 12388 ld_shlibs=yes |
12179 can_build_shared=yes | 12389 can_build_shared=yes |
12180 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 12390 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
12386 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 12596 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
12387 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi | 12597 test ! -z "$DLL_LIB" && LIBS="-l${DLL_LIB} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${DLL_LIB}\" to \$LIBS"; fi |
12388 for ac_func in dlerror _dlerror | 12598 for ac_func in dlerror _dlerror |
12389 do | 12599 do |
12390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12391 echo "configure:12392: checking for $ac_func" >&5 | 12601 echo "configure:12602: checking for $ac_func" >&5 |
12392 | 12602 |
12393 cat > conftest.$ac_ext <<EOF | 12603 cat > conftest.$ac_ext <<EOF |
12394 #line 12395 "configure" | 12604 #line 12605 "configure" |
12395 #include "confdefs.h" | 12605 #include "confdefs.h" |
12396 /* System header to define __stub macros and hopefully few prototypes, | 12606 /* System header to define __stub macros and hopefully few prototypes, |
12397 which can conflict with char $ac_func(); below. */ | 12607 which can conflict with char $ac_func(); below. */ |
12398 #include <assert.h> | 12608 #include <assert.h> |
12399 /* Override any gcc2 internal prototype to avoid an error. */ | 12609 /* Override any gcc2 internal prototype to avoid an error. */ |
12412 $ac_func(); | 12622 $ac_func(); |
12413 #endif | 12623 #endif |
12414 | 12624 |
12415 ; return 0; } | 12625 ; return 0; } |
12416 EOF | 12626 EOF |
12417 if { (eval echo configure:12418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 12627 if { (eval echo configure:12628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12418 rm -rf conftest* | 12628 rm -rf conftest* |
12419 eval "ac_cv_func_$ac_func=yes" | 12629 eval "ac_cv_func_$ac_func=yes" |
12420 else | 12630 else |
12421 echo "configure: failed program was:" >&5 | 12631 echo "configure: failed program was:" >&5 |
12422 cat conftest.$ac_ext >&5 | 12632 cat conftest.$ac_ext >&5 |
12446 with_shlib=no | 12656 with_shlib=no |
12447 fi | 12657 fi |
12448 fi | 12658 fi |
12449 | 12659 |
12450 cat > conftest.$ac_ext <<EOF | 12660 cat > conftest.$ac_ext <<EOF |
12451 #line 12452 "configure" | 12661 #line 12662 "configure" |
12452 #include "confdefs.h" | 12662 #include "confdefs.h" |
12453 int main(int c,char *v[]){return 0;} | 12663 int main(int c,char *v[]){return 0;} |
12454 EOF | 12664 EOF |
12455 if { (eval echo configure:12456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12665 if { (eval echo configure:12666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12456 then | 12666 then |
12457 : | 12667 : |
12458 else | 12668 else |
12459 conftest_rc="$?" | 12669 conftest_rc="$?" |
12460 echo "configure: failed program was:" >&5 | 12670 echo "configure: failed program was:" >&5 |
13007 fi | 13217 fi |
13008 echo "" | 13218 echo "" |
13009 echo "$0 $quoted_arguments" | 13219 echo "$0 $quoted_arguments" |
13010 ) > Installation | 13220 ) > Installation |
13011 | 13221 |
13012 xemacs_betaname="" | 13222 if test ! -z ${emacs_beta_version} ; then |
13013 test ! -z "${emacs_beta_version}" && xemacs_betaname="-b${emacs_beta_version}" | 13223 if test -z "${emacs_is_beta}" ; then |
13224 xemacs_betaname=".${emacs_beta_version}" | |
13225 else | |
13226 xemacs_betaname="-b${emacs_beta_version}" | |
13227 fi | |
13228 else | |
13229 xemacs_betaname="" | |
13230 fi | |
13014 | 13231 |
13015 ( | 13232 ( |
13016 echo " | 13233 echo " |
13017 | 13234 |
13018 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. | 13235 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. |
13112 test "$with_cde" = yes && echo " Compiling in support for CDE." | 13329 test "$with_cde" = yes && echo " Compiling in support for CDE." |
13113 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 13330 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
13114 test "$with_offix" = yes && echo " Compiling in support for OffiX." | 13331 test "$with_offix" = yes && echo " Compiling in support for OffiX." |
13115 test "$with_dragndrop" = yes && echo " Compiling in EXPERIMENTAL support for Drag'n'Drop ($dragndrop_proto )." | 13332 test "$with_dragndrop" = yes && echo " Compiling in EXPERIMENTAL support for Drag'n'Drop ($dragndrop_proto )." |
13116 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 13333 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
13117 test "$with_session" != no && echo " Compiling in support for proper session-management." | 13334 test "$with_wmcommand" != no && echo " Compiling in support for proper WM_COMMAND handling." |
13118 case "$with_menubars" in | 13335 case "$with_menubars" in |
13119 lucid ) echo " Using Lucid menubars." ;; | 13336 lucid ) echo " Using Lucid menubars." ;; |
13120 motif ) echo " Using Motif menubars." | 13337 motif ) echo " Using Motif menubars." |
13121 echo " *WARNING* The Motif menubar implementation is currently buggy." | 13338 echo " *WARNING* The Motif menubar implementation is currently buggy." |
13122 echo " We recommend using the Lucid menubar instead." | 13339 echo " We recommend using the Lucid menubar instead." |
13223 case "\$ac_option" in | 13440 case "\$ac_option" in |
13224 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 13441 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
13225 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 13442 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
13226 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 13443 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
13227 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 13444 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
13228 echo "$CONFIG_STATUS generated by autoconf version 2.12" | 13445 echo "$CONFIG_STATUS generated by autoconf version 2.13" |
13229 exit 0 ;; | 13446 exit 0 ;; |
13230 -help | --help | --hel | --he | --h) | 13447 -help | --help | --hel | --he | --h) |
13231 echo "\$ac_cs_usage"; exit 0 ;; | 13448 echo "\$ac_cs_usage"; exit 0 ;; |
13232 *) echo "\$ac_cs_usage"; exit 1 ;; | 13449 *) echo "\$ac_cs_usage"; exit 1 ;; |
13233 esac | 13450 esac |
13243 # Protect against being on the right side of a sed subst in config.status. | 13460 # Protect against being on the right side of a sed subst in config.status. |
13244 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 13461 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
13245 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 13462 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
13246 $ac_vpsub | 13463 $ac_vpsub |
13247 $extrasub | 13464 $extrasub |
13465 s%@SHELL@%$SHELL%g | |
13248 s%@CFLAGS@%$CFLAGS%g | 13466 s%@CFLAGS@%$CFLAGS%g |
13249 s%@CPPFLAGS@%$CPPFLAGS%g | 13467 s%@CPPFLAGS@%$CPPFLAGS%g |
13250 s%@CXXFLAGS@%$CXXFLAGS%g | 13468 s%@CXXFLAGS@%$CXXFLAGS%g |
13469 s%@FFLAGS@%$FFLAGS%g | |
13251 s%@DEFS@%$DEFS%g | 13470 s%@DEFS@%$DEFS%g |
13252 s%@LDFLAGS@%$LDFLAGS%g | 13471 s%@LDFLAGS@%$LDFLAGS%g |
13253 s%@LIBS@%$LIBS%g | 13472 s%@LIBS@%$LIBS%g |
13254 s%@exec_prefix@%$exec_prefix%g | 13473 s%@exec_prefix@%$exec_prefix%g |
13255 s%@prefix@%$prefix%g | 13474 s%@prefix@%$prefix%g |
13275 s%@start_files@%$start_files%g | 13494 s%@start_files@%$start_files%g |
13276 s%@ld@%$ld%g | 13495 s%@ld@%$ld%g |
13277 s%@lib_gcc@%$lib_gcc%g | 13496 s%@lib_gcc@%$lib_gcc%g |
13278 s%@RANLIB@%$RANLIB%g | 13497 s%@RANLIB@%$RANLIB%g |
13279 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 13498 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
13499 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | |
13280 s%@INSTALL_DATA@%$INSTALL_DATA%g | 13500 s%@INSTALL_DATA@%$INSTALL_DATA%g |
13281 s%@YACC@%$YACC%g | 13501 s%@YACC@%$YACC%g |
13282 s%@SET_MAKE@%$SET_MAKE%g | 13502 s%@SET_MAKE@%$SET_MAKE%g |
13283 s%@X_CFLAGS@%$X_CFLAGS%g | 13503 s%@X_CFLAGS@%$X_CFLAGS%g |
13284 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 13504 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |