Mercurial > hg > xemacs-beta
comparison configure @ 384:bbff43aa5eb7 r21-2-7
Import from CVS: tag r21-2-7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:08:24 +0200 |
parents | 8626e4521993 |
children | aabb7f5b1c81 |
comparison
equal
deleted
inserted
replaced
383:6a50c6a581a5 | 384:bbff43aa5eb7 |
---|---|
2448 if test -n "$site_libraries"; then | 2448 if test -n "$site_libraries"; then |
2449 for arg in $site_libraries; do | 2449 for arg in $site_libraries; do |
2450 case "$arg" in | 2450 case "$arg" in |
2451 -* ) ;; | 2451 -* ) ;; |
2452 * ) test -d "$arg" || \ | 2452 * ) test -d "$arg" || \ |
2453 { echo "Invalid site library \`$arg': no such directory" >&2; exit 1; } | 2453 { echo "Error:" "Invalid site library \`$arg': no such directory" >&2; exit 1; } |
2454 arg="-L${arg}" ;; | 2454 arg="-L${arg}" ;; |
2455 esac | 2455 esac |
2456 ld_switch_site="$ld_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$ld_switch_site"; fi | 2456 ld_switch_site="$ld_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$ld_switch_site"; fi |
2457 done | 2457 done |
2458 fi | 2458 fi |
2461 if test -n "$site_includes"; then | 2461 if test -n "$site_includes"; then |
2462 for arg in $site_includes; do | 2462 for arg in $site_includes; do |
2463 case "$arg" in | 2463 case "$arg" in |
2464 -* ) ;; | 2464 -* ) ;; |
2465 * ) test -d "$arg" || \ | 2465 * ) test -d "$arg" || \ |
2466 { echo "Invalid site include \`$arg': no such directory" >&2; exit 1; } | 2466 { echo "Error:" "Invalid site include \`$arg': no such directory" >&2; exit 1; } |
2467 arg="-I${arg}" ;; | 2467 arg="-I${arg}" ;; |
2468 esac | 2468 esac |
2469 c_switch_site="$c_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$c_switch_site"; fi | 2469 c_switch_site="$c_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$c_switch_site"; fi |
2470 done | 2470 done |
2471 fi | 2471 fi |
2474 if test -n "$site_prefixes"; then | 2474 if test -n "$site_prefixes"; then |
2475 for dir in $site_prefixes; do | 2475 for dir in $site_prefixes; do |
2476 inc_dir="${dir}/include" | 2476 inc_dir="${dir}/include" |
2477 lib_dir="${dir}/lib" | 2477 lib_dir="${dir}/lib" |
2478 if test ! -d "$dir"; then | 2478 if test ! -d "$dir"; then |
2479 { echo "Invalid site prefix \`$dir': no such directory" >&2; exit 1; } | 2479 { echo "Error:" "Invalid site prefix \`$dir': no such directory" >&2; exit 1; } |
2480 elif test ! -d "$inc_dir"; then | 2480 elif test ! -d "$inc_dir"; then |
2481 { echo "Invalid site prefix \`$dir': no such directory \`$inc_dir'" >&2; exit 1; } | 2481 { echo "Error:" "Invalid site prefix \`$dir': no such directory \`$inc_dir'" >&2; exit 1; } |
2482 elif test ! -d "$lib_dir"; then | 2482 elif test ! -d "$lib_dir"; then |
2483 { echo "Invalid site prefix \`$dir': no such directory \`$lib_dir'" >&2; exit 1; } | 2483 { echo "Error:" "Invalid site prefix \`$dir': no such directory \`$lib_dir'" >&2; exit 1; } |
2484 else | 2484 else |
2485 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 | 2485 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 |
2486 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 | 2486 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 |
2487 fi | 2487 fi |
2488 done | 2488 done |
5898 rm -fr conftest* | 5898 rm -fr conftest* |
5899 const_is_losing=no | 5899 const_is_losing=no |
5900 with_file_coding=yes | 5900 with_file_coding=yes |
5901 use_minimal_tagbits=yes | 5901 use_minimal_tagbits=yes |
5902 use_indexed_lrecord_implementation=yes | 5902 use_indexed_lrecord_implementation=yes |
5903 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o" && if test "$extra_verbose" = "yes"; then | 5903 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o" && if test "$extra_verbose" = "yes"; then |
5904 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o\"" | 5904 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o\"" |
5905 fi | 5905 fi |
5906 fi | 5906 fi |
5907 fi | 5907 fi |
5908 | 5908 |
5909 | 5909 |
7487 echo " xemacs will be linked with \"dialog.o\"" | 7487 echo " xemacs will be linked with \"dialog.o\"" |
7488 fi | 7488 fi |
7489 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar.o" && if test "$extra_verbose" = "yes"; then | 7489 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar.o" && if test "$extra_verbose" = "yes"; then |
7490 echo " xemacs will be linked with \"toolbar.o\"" | 7490 echo " xemacs will be linked with \"toolbar.o\"" |
7491 fi | 7491 fi |
7492 test "$all_widgets" != "no no no no" && extra_objs="$extra_objs gui.o" && if test "$extra_verbose" = "yes"; then | |
7493 echo " xemacs will be linked with \"gui.o\"" | |
7494 fi | |
7495 | 7492 |
7496 if test "$with_x11" = "yes"; then | 7493 if test "$with_x11" = "yes"; then |
7497 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-x.o" && if test "$extra_verbose" = "yes"; then | 7494 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-x.o" && if test "$extra_verbose" = "yes"; then |
7498 echo " xemacs will be linked with \"menubar-x.o\"" | 7495 echo " xemacs will be linked with \"menubar-x.o\"" |
7499 fi | 7496 fi |
7554 fi | 7551 fi |
7555 fi | 7552 fi |
7556 | 7553 |
7557 if test "$with_mule" = "yes" ; then | 7554 if test "$with_mule" = "yes" ; then |
7558 echo "checking for Mule-related features" 1>&6 | 7555 echo "checking for Mule-related features" 1>&6 |
7559 echo "configure:7560: checking for Mule-related features" >&5 | 7556 echo "configure:7557: checking for Mule-related features" >&5 |
7560 { test "$extra_verbose" = "yes" && cat << \EOF | 7557 { test "$extra_verbose" = "yes" && cat << \EOF |
7561 Defining MULE | 7558 Defining MULE |
7562 EOF | 7559 EOF |
7563 cat >> confdefs.h <<\EOF | 7560 cat >> confdefs.h <<\EOF |
7564 #define MULE 1 | 7561 #define MULE 1 |
7579 | 7576 |
7580 for ac_hdr in libintl.h | 7577 for ac_hdr in libintl.h |
7581 do | 7578 do |
7582 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7584 echo "configure:7585: checking for $ac_hdr" >&5 | 7581 echo "configure:7582: checking for $ac_hdr" >&5 |
7585 | 7582 |
7586 cat > conftest.$ac_ext <<EOF | 7583 cat > conftest.$ac_ext <<EOF |
7587 #line 7588 "configure" | 7584 #line 7585 "configure" |
7588 #include "confdefs.h" | 7585 #include "confdefs.h" |
7589 #include <$ac_hdr> | 7586 #include <$ac_hdr> |
7590 EOF | 7587 EOF |
7591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7592 { (eval echo configure:7593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7589 { (eval echo configure:7590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7593 ac_err=`grep -v '^ *+' conftest.out` | 7590 ac_err=`grep -v '^ *+' conftest.out` |
7594 if test -z "$ac_err"; then | 7591 if test -z "$ac_err"; then |
7595 rm -rf conftest* | 7592 rm -rf conftest* |
7596 eval "ac_cv_header_$ac_safe=yes" | 7593 eval "ac_cv_header_$ac_safe=yes" |
7597 else | 7594 else |
7618 fi | 7615 fi |
7619 done | 7616 done |
7620 | 7617 |
7621 | 7618 |
7622 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7619 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7623 echo "configure:7624: checking for strerror in -lintl" >&5 | 7620 echo "configure:7621: checking for strerror in -lintl" >&5 |
7624 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7621 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7625 | 7622 |
7626 xe_check_libs=" -lintl " | 7623 xe_check_libs=" -lintl " |
7627 cat > conftest.$ac_ext <<EOF | 7624 cat > conftest.$ac_ext <<EOF |
7628 #line 7629 "configure" | 7625 #line 7626 "configure" |
7629 #include "confdefs.h" | 7626 #include "confdefs.h" |
7630 /* Override any gcc2 internal prototype to avoid an error. */ | 7627 /* Override any gcc2 internal prototype to avoid an error. */ |
7631 /* We use char because int might match the return type of a gcc2 | 7628 /* We use char because int might match the return type of a gcc2 |
7632 builtin and then its argument prototype would still apply. */ | 7629 builtin and then its argument prototype would still apply. */ |
7633 char strerror(); | 7630 char strerror(); |
7634 | 7631 |
7635 int main() { | 7632 int main() { |
7636 strerror() | 7633 strerror() |
7637 ; return 0; } | 7634 ; return 0; } |
7638 EOF | 7635 EOF |
7639 if { (eval echo configure:7640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7636 if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7640 rm -rf conftest* | 7637 rm -rf conftest* |
7641 eval "ac_cv_lib_$ac_lib_var=yes" | 7638 eval "ac_cv_lib_$ac_lib_var=yes" |
7642 else | 7639 else |
7643 echo "configure: failed program was:" >&5 | 7640 echo "configure: failed program was:" >&5 |
7644 cat conftest.$ac_ext >&5 | 7641 cat conftest.$ac_ext >&5 |
7667 fi | 7664 fi |
7668 | 7665 |
7669 | 7666 |
7670 | 7667 |
7671 echo "checking for Mule input methods" 1>&6 | 7668 echo "checking for Mule input methods" 1>&6 |
7672 echo "configure:7673: checking for Mule input methods" >&5 | 7669 echo "configure:7670: checking for Mule input methods" >&5 |
7673 case "$with_xim" in "" | "yes" ) | 7670 case "$with_xim" in "" | "yes" ) |
7674 echo "checking for XIM" 1>&6 | 7671 echo "checking for XIM" 1>&6 |
7675 echo "configure:7676: checking for XIM" >&5 | 7672 echo "configure:7673: checking for XIM" >&5 |
7676 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7673 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7677 else | 7674 else |
7678 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7675 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7679 echo "configure:7680: checking for XmImMbLookupString in -lXm" >&5 | 7676 echo "configure:7677: checking for XmImMbLookupString in -lXm" >&5 |
7680 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7677 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7681 | 7678 |
7682 xe_check_libs=" -lXm " | 7679 xe_check_libs=" -lXm " |
7683 cat > conftest.$ac_ext <<EOF | 7680 cat > conftest.$ac_ext <<EOF |
7684 #line 7685 "configure" | 7681 #line 7682 "configure" |
7685 #include "confdefs.h" | 7682 #include "confdefs.h" |
7686 /* Override any gcc2 internal prototype to avoid an error. */ | 7683 /* Override any gcc2 internal prototype to avoid an error. */ |
7687 /* We use char because int might match the return type of a gcc2 | 7684 /* We use char because int might match the return type of a gcc2 |
7688 builtin and then its argument prototype would still apply. */ | 7685 builtin and then its argument prototype would still apply. */ |
7689 char XmImMbLookupString(); | 7686 char XmImMbLookupString(); |
7690 | 7687 |
7691 int main() { | 7688 int main() { |
7692 XmImMbLookupString() | 7689 XmImMbLookupString() |
7693 ; return 0; } | 7690 ; return 0; } |
7694 EOF | 7691 EOF |
7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7692 if { (eval echo configure:7693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7696 rm -rf conftest* | 7693 rm -rf conftest* |
7697 eval "ac_cv_lib_$ac_lib_var=yes" | 7694 eval "ac_cv_lib_$ac_lib_var=yes" |
7698 else | 7695 else |
7699 echo "configure: failed program was:" >&5 | 7696 echo "configure: failed program was:" >&5 |
7700 cat conftest.$ac_ext >&5 | 7697 cat conftest.$ac_ext >&5 |
7756 fi | 7753 fi |
7757 fi | 7754 fi |
7758 | 7755 |
7759 if test "$with_xfs" = "yes" ; then | 7756 if test "$with_xfs" = "yes" ; then |
7760 echo "checking for XFontSet" 1>&6 | 7757 echo "checking for XFontSet" 1>&6 |
7761 echo "configure:7762: checking for XFontSet" >&5 | 7758 echo "configure:7759: checking for XFontSet" >&5 |
7762 | 7759 |
7763 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7760 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7764 echo "configure:7765: checking for XmbDrawString in -lX11" >&5 | 7761 echo "configure:7762: checking for XmbDrawString in -lX11" >&5 |
7765 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7762 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7766 | 7763 |
7767 xe_check_libs=" -lX11 " | 7764 xe_check_libs=" -lX11 " |
7768 cat > conftest.$ac_ext <<EOF | 7765 cat > conftest.$ac_ext <<EOF |
7769 #line 7770 "configure" | 7766 #line 7767 "configure" |
7770 #include "confdefs.h" | 7767 #include "confdefs.h" |
7771 /* Override any gcc2 internal prototype to avoid an error. */ | 7768 /* Override any gcc2 internal prototype to avoid an error. */ |
7772 /* We use char because int might match the return type of a gcc2 | 7769 /* We use char because int might match the return type of a gcc2 |
7773 builtin and then its argument prototype would still apply. */ | 7770 builtin and then its argument prototype would still apply. */ |
7774 char XmbDrawString(); | 7771 char XmbDrawString(); |
7775 | 7772 |
7776 int main() { | 7773 int main() { |
7777 XmbDrawString() | 7774 XmbDrawString() |
7778 ; return 0; } | 7775 ; return 0; } |
7779 EOF | 7776 EOF |
7780 if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7777 if { (eval echo configure:7778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7781 rm -rf conftest* | 7778 rm -rf conftest* |
7782 eval "ac_cv_lib_$ac_lib_var=yes" | 7779 eval "ac_cv_lib_$ac_lib_var=yes" |
7783 else | 7780 else |
7784 echo "configure: failed program was:" >&5 | 7781 echo "configure: failed program was:" >&5 |
7785 cat conftest.$ac_ext >&5 | 7782 cat conftest.$ac_ext >&5 |
7815 fi | 7812 fi |
7816 fi | 7813 fi |
7817 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7814 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7818 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7815 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7819 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7816 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7820 echo "configure:7821: checking for wnn/jllib.h" >&5 | 7817 echo "configure:7818: checking for wnn/jllib.h" >&5 |
7821 | 7818 |
7822 cat > conftest.$ac_ext <<EOF | 7819 cat > conftest.$ac_ext <<EOF |
7823 #line 7824 "configure" | 7820 #line 7821 "configure" |
7824 #include "confdefs.h" | 7821 #include "confdefs.h" |
7825 #include <wnn/jllib.h> | 7822 #include <wnn/jllib.h> |
7826 EOF | 7823 EOF |
7827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7828 { (eval echo configure:7829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7825 { (eval echo configure:7826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7829 ac_err=`grep -v '^ *+' conftest.out` | 7826 ac_err=`grep -v '^ *+' conftest.out` |
7830 if test -z "$ac_err"; then | 7827 if test -z "$ac_err"; then |
7831 rm -rf conftest* | 7828 rm -rf conftest* |
7832 eval "ac_cv_header_$ac_safe=yes" | 7829 eval "ac_cv_header_$ac_safe=yes" |
7833 else | 7830 else |
7848 } | 7845 } |
7849 if test "$with_wnn" != "no"; then | 7846 if test "$with_wnn" != "no"; then |
7850 for ac_func in crypt | 7847 for ac_func in crypt |
7851 do | 7848 do |
7852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7853 echo "configure:7854: checking for $ac_func" >&5 | 7850 echo "configure:7851: checking for $ac_func" >&5 |
7854 | 7851 |
7855 cat > conftest.$ac_ext <<EOF | 7852 cat > conftest.$ac_ext <<EOF |
7856 #line 7857 "configure" | 7853 #line 7854 "configure" |
7857 #include "confdefs.h" | 7854 #include "confdefs.h" |
7858 /* System header to define __stub macros and hopefully few prototypes, | 7855 /* System header to define __stub macros and hopefully few prototypes, |
7859 which can conflict with char $ac_func(); below. */ | 7856 which can conflict with char $ac_func(); below. */ |
7860 #include <assert.h> | 7857 #include <assert.h> |
7861 /* Override any gcc2 internal prototype to avoid an error. */ | 7858 /* Override any gcc2 internal prototype to avoid an error. */ |
7874 $ac_func(); | 7871 $ac_func(); |
7875 #endif | 7872 #endif |
7876 | 7873 |
7877 ; return 0; } | 7874 ; return 0; } |
7878 EOF | 7875 EOF |
7879 if { (eval echo configure:7880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7876 if { (eval echo configure:7877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7880 rm -rf conftest* | 7877 rm -rf conftest* |
7881 eval "ac_cv_func_$ac_func=yes" | 7878 eval "ac_cv_func_$ac_func=yes" |
7882 else | 7879 else |
7883 echo "configure: failed program was:" >&5 | 7880 echo "configure: failed program was:" >&5 |
7884 cat conftest.$ac_ext >&5 | 7881 cat conftest.$ac_ext >&5 |
7903 fi | 7900 fi |
7904 done | 7901 done |
7905 | 7902 |
7906 test "$ac_cv_func_crypt" != "yes" && { | 7903 test "$ac_cv_func_crypt" != "yes" && { |
7907 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7904 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7908 echo "configure:7909: checking for crypt in -lcrypt" >&5 | 7905 echo "configure:7906: checking for crypt in -lcrypt" >&5 |
7909 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7906 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7910 | 7907 |
7911 xe_check_libs=" -lcrypt " | 7908 xe_check_libs=" -lcrypt " |
7912 cat > conftest.$ac_ext <<EOF | 7909 cat > conftest.$ac_ext <<EOF |
7913 #line 7914 "configure" | 7910 #line 7911 "configure" |
7914 #include "confdefs.h" | 7911 #include "confdefs.h" |
7915 /* Override any gcc2 internal prototype to avoid an error. */ | 7912 /* Override any gcc2 internal prototype to avoid an error. */ |
7916 /* We use char because int might match the return type of a gcc2 | 7913 /* We use char because int might match the return type of a gcc2 |
7917 builtin and then its argument prototype would still apply. */ | 7914 builtin and then its argument prototype would still apply. */ |
7918 char crypt(); | 7915 char crypt(); |
7919 | 7916 |
7920 int main() { | 7917 int main() { |
7921 crypt() | 7918 crypt() |
7922 ; return 0; } | 7919 ; return 0; } |
7923 EOF | 7920 EOF |
7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7921 if { (eval echo configure:7922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7925 rm -rf conftest* | 7922 rm -rf conftest* |
7926 eval "ac_cv_lib_$ac_lib_var=yes" | 7923 eval "ac_cv_lib_$ac_lib_var=yes" |
7927 else | 7924 else |
7928 echo "configure: failed program was:" >&5 | 7925 echo "configure: failed program was:" >&5 |
7929 cat conftest.$ac_ext >&5 | 7926 cat conftest.$ac_ext >&5 |
7954 } | 7951 } |
7955 fi | 7952 fi |
7956 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 7953 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
7957 | 7954 |
7958 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7955 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7959 echo "configure:7960: checking for jl_dic_list_e in -lwnn" >&5 | 7956 echo "configure:7957: checking for jl_dic_list_e in -lwnn" >&5 |
7960 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7957 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7961 | 7958 |
7962 xe_check_libs=" -lwnn " | 7959 xe_check_libs=" -lwnn " |
7963 cat > conftest.$ac_ext <<EOF | 7960 cat > conftest.$ac_ext <<EOF |
7964 #line 7965 "configure" | 7961 #line 7962 "configure" |
7965 #include "confdefs.h" | 7962 #include "confdefs.h" |
7966 /* Override any gcc2 internal prototype to avoid an error. */ | 7963 /* Override any gcc2 internal prototype to avoid an error. */ |
7967 /* We use char because int might match the return type of a gcc2 | 7964 /* We use char because int might match the return type of a gcc2 |
7968 builtin and then its argument prototype would still apply. */ | 7965 builtin and then its argument prototype would still apply. */ |
7969 char jl_dic_list_e(); | 7966 char jl_dic_list_e(); |
7970 | 7967 |
7971 int main() { | 7968 int main() { |
7972 jl_dic_list_e() | 7969 jl_dic_list_e() |
7973 ; return 0; } | 7970 ; return 0; } |
7974 EOF | 7971 EOF |
7975 if { (eval echo configure:7976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7972 if { (eval echo configure:7973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7976 rm -rf conftest* | 7973 rm -rf conftest* |
7977 eval "ac_cv_lib_$ac_lib_var=yes" | 7974 eval "ac_cv_lib_$ac_lib_var=yes" |
7978 else | 7975 else |
7979 echo "configure: failed program was:" >&5 | 7976 echo "configure: failed program was:" >&5 |
7980 cat conftest.$ac_ext >&5 | 7977 cat conftest.$ac_ext >&5 |
7988 echo "$ac_t""yes" 1>&6 | 7985 echo "$ac_t""yes" 1>&6 |
7989 libwnn=wnn | 7986 libwnn=wnn |
7990 else | 7987 else |
7991 echo "$ac_t""no" 1>&6 | 7988 echo "$ac_t""no" 1>&6 |
7992 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 7989 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
7993 echo "configure:7994: checking for jl_dic_list_e in -lwnn4" >&5 | 7990 echo "configure:7991: checking for jl_dic_list_e in -lwnn4" >&5 |
7994 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7991 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7995 | 7992 |
7996 xe_check_libs=" -lwnn4 " | 7993 xe_check_libs=" -lwnn4 " |
7997 cat > conftest.$ac_ext <<EOF | 7994 cat > conftest.$ac_ext <<EOF |
7998 #line 7999 "configure" | 7995 #line 7996 "configure" |
7999 #include "confdefs.h" | 7996 #include "confdefs.h" |
8000 /* Override any gcc2 internal prototype to avoid an error. */ | 7997 /* Override any gcc2 internal prototype to avoid an error. */ |
8001 /* We use char because int might match the return type of a gcc2 | 7998 /* We use char because int might match the return type of a gcc2 |
8002 builtin and then its argument prototype would still apply. */ | 7999 builtin and then its argument prototype would still apply. */ |
8003 char jl_dic_list_e(); | 8000 char jl_dic_list_e(); |
8004 | 8001 |
8005 int main() { | 8002 int main() { |
8006 jl_dic_list_e() | 8003 jl_dic_list_e() |
8007 ; return 0; } | 8004 ; return 0; } |
8008 EOF | 8005 EOF |
8009 if { (eval echo configure:8010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8006 if { (eval echo configure:8007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8010 rm -rf conftest* | 8007 rm -rf conftest* |
8011 eval "ac_cv_lib_$ac_lib_var=yes" | 8008 eval "ac_cv_lib_$ac_lib_var=yes" |
8012 else | 8009 else |
8013 echo "configure: failed program was:" >&5 | 8010 echo "configure: failed program was:" >&5 |
8014 cat conftest.$ac_ext >&5 | 8011 cat conftest.$ac_ext >&5 |
8022 echo "$ac_t""yes" 1>&6 | 8019 echo "$ac_t""yes" 1>&6 |
8023 libwnn=wnn4 | 8020 libwnn=wnn4 |
8024 else | 8021 else |
8025 echo "$ac_t""no" 1>&6 | 8022 echo "$ac_t""no" 1>&6 |
8026 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8023 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8027 echo "configure:8028: checking for jl_dic_list_e in -lwnn6" >&5 | 8024 echo "configure:8025: checking for jl_dic_list_e in -lwnn6" >&5 |
8028 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8025 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8029 | 8026 |
8030 xe_check_libs=" -lwnn6 " | 8027 xe_check_libs=" -lwnn6 " |
8031 cat > conftest.$ac_ext <<EOF | 8028 cat > conftest.$ac_ext <<EOF |
8032 #line 8033 "configure" | 8029 #line 8030 "configure" |
8033 #include "confdefs.h" | 8030 #include "confdefs.h" |
8034 /* Override any gcc2 internal prototype to avoid an error. */ | 8031 /* Override any gcc2 internal prototype to avoid an error. */ |
8035 /* We use char because int might match the return type of a gcc2 | 8032 /* We use char because int might match the return type of a gcc2 |
8036 builtin and then its argument prototype would still apply. */ | 8033 builtin and then its argument prototype would still apply. */ |
8037 char jl_dic_list_e(); | 8034 char jl_dic_list_e(); |
8038 | 8035 |
8039 int main() { | 8036 int main() { |
8040 jl_dic_list_e() | 8037 jl_dic_list_e() |
8041 ; return 0; } | 8038 ; return 0; } |
8042 EOF | 8039 EOF |
8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8040 if { (eval echo configure:8041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8044 rm -rf conftest* | 8041 rm -rf conftest* |
8045 eval "ac_cv_lib_$ac_lib_var=yes" | 8042 eval "ac_cv_lib_$ac_lib_var=yes" |
8046 else | 8043 else |
8047 echo "configure: failed program was:" >&5 | 8044 echo "configure: failed program was:" >&5 |
8048 cat conftest.$ac_ext >&5 | 8045 cat conftest.$ac_ext >&5 |
8056 echo "$ac_t""yes" 1>&6 | 8053 echo "$ac_t""yes" 1>&6 |
8057 libwnn=wnn6 | 8054 libwnn=wnn6 |
8058 else | 8055 else |
8059 echo "$ac_t""no" 1>&6 | 8056 echo "$ac_t""no" 1>&6 |
8060 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8057 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8061 echo "configure:8062: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8058 echo "configure:8059: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8062 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8059 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8063 | 8060 |
8064 xe_check_libs=" -lwnn6_fromsrc " | 8061 xe_check_libs=" -lwnn6_fromsrc " |
8065 cat > conftest.$ac_ext <<EOF | 8062 cat > conftest.$ac_ext <<EOF |
8066 #line 8067 "configure" | 8063 #line 8064 "configure" |
8067 #include "confdefs.h" | 8064 #include "confdefs.h" |
8068 /* Override any gcc2 internal prototype to avoid an error. */ | 8065 /* Override any gcc2 internal prototype to avoid an error. */ |
8069 /* We use char because int might match the return type of a gcc2 | 8066 /* We use char because int might match the return type of a gcc2 |
8070 builtin and then its argument prototype would still apply. */ | 8067 builtin and then its argument prototype would still apply. */ |
8071 char dic_list_e(); | 8068 char dic_list_e(); |
8072 | 8069 |
8073 int main() { | 8070 int main() { |
8074 dic_list_e() | 8071 dic_list_e() |
8075 ; return 0; } | 8072 ; return 0; } |
8076 EOF | 8073 EOF |
8077 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8074 if { (eval echo configure:8075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8078 rm -rf conftest* | 8075 rm -rf conftest* |
8079 eval "ac_cv_lib_$ac_lib_var=yes" | 8076 eval "ac_cv_lib_$ac_lib_var=yes" |
8080 else | 8077 else |
8081 echo "configure: failed program was:" >&5 | 8078 echo "configure: failed program was:" >&5 |
8082 cat conftest.$ac_ext >&5 | 8079 cat conftest.$ac_ext >&5 |
8120 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8117 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8121 fi | 8118 fi |
8122 if test "$with_wnn6" != "no"; then | 8119 if test "$with_wnn6" != "no"; then |
8123 | 8120 |
8124 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8121 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8125 echo "configure:8126: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8122 echo "configure:8123: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8126 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8123 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8127 | 8124 |
8128 xe_check_libs=" -l$libwnn " | 8125 xe_check_libs=" -l$libwnn " |
8129 cat > conftest.$ac_ext <<EOF | 8126 cat > conftest.$ac_ext <<EOF |
8130 #line 8131 "configure" | 8127 #line 8128 "configure" |
8131 #include "confdefs.h" | 8128 #include "confdefs.h" |
8132 /* Override any gcc2 internal prototype to avoid an error. */ | 8129 /* Override any gcc2 internal prototype to avoid an error. */ |
8133 /* We use char because int might match the return type of a gcc2 | 8130 /* We use char because int might match the return type of a gcc2 |
8134 builtin and then its argument prototype would still apply. */ | 8131 builtin and then its argument prototype would still apply. */ |
8135 char jl_fi_dic_list(); | 8132 char jl_fi_dic_list(); |
8136 | 8133 |
8137 int main() { | 8134 int main() { |
8138 jl_fi_dic_list() | 8135 jl_fi_dic_list() |
8139 ; return 0; } | 8136 ; return 0; } |
8140 EOF | 8137 EOF |
8141 if { (eval echo configure:8142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8138 if { (eval echo configure:8139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8142 rm -rf conftest* | 8139 rm -rf conftest* |
8143 eval "ac_cv_lib_$ac_lib_var=yes" | 8140 eval "ac_cv_lib_$ac_lib_var=yes" |
8144 else | 8141 else |
8145 echo "configure: failed program was:" >&5 | 8142 echo "configure: failed program was:" >&5 |
8146 cat conftest.$ac_ext >&5 | 8143 cat conftest.$ac_ext >&5 |
8171 | 8168 |
8172 canna_includes_found=no | 8169 canna_includes_found=no |
8173 if test "$with_canna" != "no"; then | 8170 if test "$with_canna" != "no"; then |
8174 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8171 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8175 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8172 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8176 echo "configure:8177: checking for canna/jrkanji.h" >&5 | 8173 echo "configure:8174: checking for canna/jrkanji.h" >&5 |
8177 | 8174 |
8178 cat > conftest.$ac_ext <<EOF | 8175 cat > conftest.$ac_ext <<EOF |
8179 #line 8180 "configure" | 8176 #line 8177 "configure" |
8180 #include "confdefs.h" | 8177 #include "confdefs.h" |
8181 #include <canna/jrkanji.h> | 8178 #include <canna/jrkanji.h> |
8182 EOF | 8179 EOF |
8183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8184 { (eval echo configure:8185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8181 { (eval echo configure:8182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8185 ac_err=`grep -v '^ *+' conftest.out` | 8182 ac_err=`grep -v '^ *+' conftest.out` |
8186 if test -z "$ac_err"; then | 8183 if test -z "$ac_err"; then |
8187 rm -rf conftest* | 8184 rm -rf conftest* |
8188 eval "ac_cv_header_$ac_safe=yes" | 8185 eval "ac_cv_header_$ac_safe=yes" |
8189 else | 8186 else |
8206 -d "/usr/local/canna/include"; then | 8203 -d "/usr/local/canna/include"; then |
8207 save_c_switch_site="$c_switch_site" | 8204 save_c_switch_site="$c_switch_site" |
8208 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8205 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8209 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8206 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8210 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8207 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8211 echo "configure:8212: checking for canna/jrkanji.h" >&5 | 8208 echo "configure:8209: checking for canna/jrkanji.h" >&5 |
8212 | 8209 |
8213 cat > conftest.$ac_ext <<EOF | 8210 cat > conftest.$ac_ext <<EOF |
8214 #line 8215 "configure" | 8211 #line 8212 "configure" |
8215 #include "confdefs.h" | 8212 #include "confdefs.h" |
8216 #include <canna/jrkanji.h> | 8213 #include <canna/jrkanji.h> |
8217 EOF | 8214 EOF |
8218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8219 { (eval echo configure:8220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8216 { (eval echo configure:8217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8220 ac_err=`grep -v '^ *+' conftest.out` | 8217 ac_err=`grep -v '^ *+' conftest.out` |
8221 if test -z "$ac_err"; then | 8218 if test -z "$ac_err"; then |
8222 rm -rf conftest* | 8219 rm -rf conftest* |
8223 eval "ac_cv_header_$ac_safe=yes" | 8220 eval "ac_cv_header_$ac_safe=yes" |
8224 else | 8221 else |
8242 fi | 8239 fi |
8243 fi | 8240 fi |
8244 | 8241 |
8245 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8242 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8246 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8243 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8247 echo "configure:8248: checking for canna/RK.h" >&5 | 8244 echo "configure:8245: checking for canna/RK.h" >&5 |
8248 | 8245 |
8249 cat > conftest.$ac_ext <<EOF | 8246 cat > conftest.$ac_ext <<EOF |
8250 #line 8251 "configure" | 8247 #line 8248 "configure" |
8251 #include "confdefs.h" | 8248 #include "confdefs.h" |
8252 #include <canna/RK.h> | 8249 #include <canna/RK.h> |
8253 EOF | 8250 EOF |
8254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8255 { (eval echo configure:8256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8252 { (eval echo configure:8253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8256 ac_err=`grep -v '^ *+' conftest.out` | 8253 ac_err=`grep -v '^ *+' conftest.out` |
8257 if test -z "$ac_err"; then | 8254 if test -z "$ac_err"; then |
8258 rm -rf conftest* | 8255 rm -rf conftest* |
8259 eval "ac_cv_header_$ac_safe=yes" | 8256 eval "ac_cv_header_$ac_safe=yes" |
8260 else | 8257 else |
8273 with_canna=no | 8270 with_canna=no |
8274 fi | 8271 fi |
8275 } | 8272 } |
8276 test -z "$with_canna" && { | 8273 test -z "$with_canna" && { |
8277 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8274 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8278 echo "configure:8279: checking for RkBgnBun in -lRKC" >&5 | 8275 echo "configure:8276: checking for RkBgnBun in -lRKC" >&5 |
8279 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8276 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8280 | 8277 |
8281 xe_check_libs=" -lRKC " | 8278 xe_check_libs=" -lRKC " |
8282 cat > conftest.$ac_ext <<EOF | 8279 cat > conftest.$ac_ext <<EOF |
8283 #line 8284 "configure" | 8280 #line 8281 "configure" |
8284 #include "confdefs.h" | 8281 #include "confdefs.h" |
8285 /* Override any gcc2 internal prototype to avoid an error. */ | 8282 /* Override any gcc2 internal prototype to avoid an error. */ |
8286 /* We use char because int might match the return type of a gcc2 | 8283 /* We use char because int might match the return type of a gcc2 |
8287 builtin and then its argument prototype would still apply. */ | 8284 builtin and then its argument prototype would still apply. */ |
8288 char RkBgnBun(); | 8285 char RkBgnBun(); |
8289 | 8286 |
8290 int main() { | 8287 int main() { |
8291 RkBgnBun() | 8288 RkBgnBun() |
8292 ; return 0; } | 8289 ; return 0; } |
8293 EOF | 8290 EOF |
8294 if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8291 if { (eval echo configure:8292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8295 rm -rf conftest* | 8292 rm -rf conftest* |
8296 eval "ac_cv_lib_$ac_lib_var=yes" | 8293 eval "ac_cv_lib_$ac_lib_var=yes" |
8297 else | 8294 else |
8298 echo "configure: failed program was:" >&5 | 8295 echo "configure: failed program was:" >&5 |
8299 cat conftest.$ac_ext >&5 | 8296 cat conftest.$ac_ext >&5 |
8312 fi | 8309 fi |
8313 | 8310 |
8314 } | 8311 } |
8315 test -z "$with_canna" && { | 8312 test -z "$with_canna" && { |
8316 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8313 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8317 echo "configure:8318: checking for jrKanjiControl in -lcanna" >&5 | 8314 echo "configure:8315: checking for jrKanjiControl in -lcanna" >&5 |
8318 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8315 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8319 | 8316 |
8320 xe_check_libs=" -lcanna " | 8317 xe_check_libs=" -lcanna " |
8321 cat > conftest.$ac_ext <<EOF | 8318 cat > conftest.$ac_ext <<EOF |
8322 #line 8323 "configure" | 8319 #line 8320 "configure" |
8323 #include "confdefs.h" | 8320 #include "confdefs.h" |
8324 /* Override any gcc2 internal prototype to avoid an error. */ | 8321 /* Override any gcc2 internal prototype to avoid an error. */ |
8325 /* We use char because int might match the return type of a gcc2 | 8322 /* We use char because int might match the return type of a gcc2 |
8326 builtin and then its argument prototype would still apply. */ | 8323 builtin and then its argument prototype would still apply. */ |
8327 char jrKanjiControl(); | 8324 char jrKanjiControl(); |
8328 | 8325 |
8329 int main() { | 8326 int main() { |
8330 jrKanjiControl() | 8327 jrKanjiControl() |
8331 ; return 0; } | 8328 ; return 0; } |
8332 EOF | 8329 EOF |
8333 if { (eval echo configure:8334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8330 if { (eval echo configure:8331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8334 rm -rf conftest* | 8331 rm -rf conftest* |
8335 eval "ac_cv_lib_$ac_lib_var=yes" | 8332 eval "ac_cv_lib_$ac_lib_var=yes" |
8336 else | 8333 else |
8337 echo "configure: failed program was:" >&5 | 8334 echo "configure: failed program was:" >&5 |
8338 cat conftest.$ac_ext >&5 | 8335 cat conftest.$ac_ext >&5 |
8377 | 8374 |
8378 if test "$need_motif" = "yes" ; then | 8375 if test "$need_motif" = "yes" ; then |
8379 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8376 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8380 | 8377 |
8381 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8378 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8382 echo "configure:8383: checking for layout_object_getvalue in -li18n" >&5 | 8379 echo "configure:8380: checking for layout_object_getvalue in -li18n" >&5 |
8383 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8380 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8384 | 8381 |
8385 xe_check_libs=" -li18n " | 8382 xe_check_libs=" -li18n " |
8386 cat > conftest.$ac_ext <<EOF | 8383 cat > conftest.$ac_ext <<EOF |
8387 #line 8388 "configure" | 8384 #line 8385 "configure" |
8388 #include "confdefs.h" | 8385 #include "confdefs.h" |
8389 /* Override any gcc2 internal prototype to avoid an error. */ | 8386 /* Override any gcc2 internal prototype to avoid an error. */ |
8390 /* We use char because int might match the return type of a gcc2 | 8387 /* We use char because int might match the return type of a gcc2 |
8391 builtin and then its argument prototype would still apply. */ | 8388 builtin and then its argument prototype would still apply. */ |
8392 char layout_object_getvalue(); | 8389 char layout_object_getvalue(); |
8393 | 8390 |
8394 int main() { | 8391 int main() { |
8395 layout_object_getvalue() | 8392 layout_object_getvalue() |
8396 ; return 0; } | 8393 ; return 0; } |
8397 EOF | 8394 EOF |
8398 if { (eval echo configure:8399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8395 if { (eval echo configure:8396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8399 rm -rf conftest* | 8396 rm -rf conftest* |
8400 eval "ac_cv_lib_$ac_lib_var=yes" | 8397 eval "ac_cv_lib_$ac_lib_var=yes" |
8401 else | 8398 else |
8402 echo "configure: failed program was:" >&5 | 8399 echo "configure: failed program was:" >&5 |
8403 cat conftest.$ac_ext >&5 | 8400 cat conftest.$ac_ext >&5 |
8479 fi | 8476 fi |
8480 | 8477 |
8481 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 | 8478 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 |
8482 do | 8479 do |
8483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8484 echo "configure:8485: checking for $ac_func" >&5 | 8481 echo "configure:8482: checking for $ac_func" >&5 |
8485 | 8482 |
8486 cat > conftest.$ac_ext <<EOF | 8483 cat > conftest.$ac_ext <<EOF |
8487 #line 8488 "configure" | 8484 #line 8485 "configure" |
8488 #include "confdefs.h" | 8485 #include "confdefs.h" |
8489 /* System header to define __stub macros and hopefully few prototypes, | 8486 /* System header to define __stub macros and hopefully few prototypes, |
8490 which can conflict with char $ac_func(); below. */ | 8487 which can conflict with char $ac_func(); below. */ |
8491 #include <assert.h> | 8488 #include <assert.h> |
8492 /* Override any gcc2 internal prototype to avoid an error. */ | 8489 /* Override any gcc2 internal prototype to avoid an error. */ |
8505 $ac_func(); | 8502 $ac_func(); |
8506 #endif | 8503 #endif |
8507 | 8504 |
8508 ; return 0; } | 8505 ; return 0; } |
8509 EOF | 8506 EOF |
8510 if { (eval echo configure:8511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8507 if { (eval echo configure:8508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8511 rm -rf conftest* | 8508 rm -rf conftest* |
8512 eval "ac_cv_func_$ac_func=yes" | 8509 eval "ac_cv_func_$ac_func=yes" |
8513 else | 8510 else |
8514 echo "configure: failed program was:" >&5 | 8511 echo "configure: failed program was:" >&5 |
8515 cat conftest.$ac_ext >&5 | 8512 cat conftest.$ac_ext >&5 |
8546 echo " xemacs will be linked with \"realpath.o\"" | 8543 echo " xemacs will be linked with \"realpath.o\"" |
8547 fi ;; | 8544 fi ;; |
8548 * ) for ac_func in realpath | 8545 * ) for ac_func in realpath |
8549 do | 8546 do |
8550 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8551 echo "configure:8552: checking for $ac_func" >&5 | 8548 echo "configure:8549: checking for $ac_func" >&5 |
8552 | 8549 |
8553 cat > conftest.$ac_ext <<EOF | 8550 cat > conftest.$ac_ext <<EOF |
8554 #line 8555 "configure" | 8551 #line 8552 "configure" |
8555 #include "confdefs.h" | 8552 #include "confdefs.h" |
8556 /* System header to define __stub macros and hopefully few prototypes, | 8553 /* System header to define __stub macros and hopefully few prototypes, |
8557 which can conflict with char $ac_func(); below. */ | 8554 which can conflict with char $ac_func(); below. */ |
8558 #include <assert.h> | 8555 #include <assert.h> |
8559 /* Override any gcc2 internal prototype to avoid an error. */ | 8556 /* Override any gcc2 internal prototype to avoid an error. */ |
8572 $ac_func(); | 8569 $ac_func(); |
8573 #endif | 8570 #endif |
8574 | 8571 |
8575 ; return 0; } | 8572 ; return 0; } |
8576 EOF | 8573 EOF |
8577 if { (eval echo configure:8578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8574 if { (eval echo configure:8575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8578 rm -rf conftest* | 8575 rm -rf conftest* |
8579 eval "ac_cv_func_$ac_func=yes" | 8576 eval "ac_cv_func_$ac_func=yes" |
8580 else | 8577 else |
8581 echo "configure: failed program was:" >&5 | 8578 echo "configure: failed program was:" >&5 |
8582 cat conftest.$ac_ext >&5 | 8579 cat conftest.$ac_ext >&5 |
8606 fi ;; | 8603 fi ;; |
8607 esac ;; | 8604 esac ;; |
8608 esac | 8605 esac |
8609 | 8606 |
8610 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8607 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8611 echo "configure:8612: checking whether netdb declares h_errno" >&5 | 8608 echo "configure:8609: checking whether netdb declares h_errno" >&5 |
8612 cat > conftest.$ac_ext <<EOF | 8609 cat > conftest.$ac_ext <<EOF |
8613 #line 8614 "configure" | 8610 #line 8611 "configure" |
8614 #include "confdefs.h" | 8611 #include "confdefs.h" |
8615 #include <netdb.h> | 8612 #include <netdb.h> |
8616 int main() { | 8613 int main() { |
8617 return h_errno; | 8614 return h_errno; |
8618 ; return 0; } | 8615 ; return 0; } |
8619 EOF | 8616 EOF |
8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8617 if { (eval echo configure:8618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8621 rm -rf conftest* | 8618 rm -rf conftest* |
8622 echo "$ac_t""yes" 1>&6 | 8619 echo "$ac_t""yes" 1>&6 |
8623 { test "$extra_verbose" = "yes" && cat << \EOF | 8620 { test "$extra_verbose" = "yes" && cat << \EOF |
8624 Defining HAVE_H_ERRNO | 8621 Defining HAVE_H_ERRNO |
8625 EOF | 8622 EOF |
8635 echo "$ac_t""no" 1>&6 | 8632 echo "$ac_t""no" 1>&6 |
8636 fi | 8633 fi |
8637 rm -f conftest* | 8634 rm -f conftest* |
8638 | 8635 |
8639 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8636 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8640 echo "configure:8641: checking for sigsetjmp" >&5 | 8637 echo "configure:8638: checking for sigsetjmp" >&5 |
8641 cat > conftest.$ac_ext <<EOF | 8638 cat > conftest.$ac_ext <<EOF |
8642 #line 8643 "configure" | 8639 #line 8640 "configure" |
8643 #include "confdefs.h" | 8640 #include "confdefs.h" |
8644 #include <setjmp.h> | 8641 #include <setjmp.h> |
8645 int main() { | 8642 int main() { |
8646 sigjmp_buf bar; sigsetjmp (bar, 0); | 8643 sigjmp_buf bar; sigsetjmp (bar, 0); |
8647 ; return 0; } | 8644 ; return 0; } |
8648 EOF | 8645 EOF |
8649 if { (eval echo configure:8650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8646 if { (eval echo configure:8647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8650 rm -rf conftest* | 8647 rm -rf conftest* |
8651 echo "$ac_t""yes" 1>&6 | 8648 echo "$ac_t""yes" 1>&6 |
8652 { test "$extra_verbose" = "yes" && cat << \EOF | 8649 { test "$extra_verbose" = "yes" && cat << \EOF |
8653 Defining HAVE_SIGSETJMP | 8650 Defining HAVE_SIGSETJMP |
8654 EOF | 8651 EOF |
8664 echo "$ac_t""no" 1>&6 | 8661 echo "$ac_t""no" 1>&6 |
8665 fi | 8662 fi |
8666 rm -f conftest* | 8663 rm -f conftest* |
8667 | 8664 |
8668 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8665 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8669 echo "configure:8670: checking whether localtime caches TZ" >&5 | 8666 echo "configure:8667: checking whether localtime caches TZ" >&5 |
8670 | 8667 |
8671 if test "$ac_cv_func_tzset" = "yes"; then | 8668 if test "$ac_cv_func_tzset" = "yes"; then |
8672 cat > conftest.$ac_ext <<EOF | 8669 cat > conftest.$ac_ext <<EOF |
8673 #line 8674 "configure" | 8670 #line 8671 "configure" |
8674 #include "confdefs.h" | 8671 #include "confdefs.h" |
8675 #include <time.h> | 8672 #include <time.h> |
8676 #if STDC_HEADERS | 8673 #if STDC_HEADERS |
8677 # include <stdlib.h> | 8674 # include <stdlib.h> |
8678 #endif | 8675 #endif |
8703 if (localtime (&now)->tm_hour != hour_unset) | 8700 if (localtime (&now)->tm_hour != hour_unset) |
8704 exit (1); | 8701 exit (1); |
8705 exit (0); | 8702 exit (0); |
8706 } | 8703 } |
8707 EOF | 8704 EOF |
8708 if { (eval echo configure:8709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8705 if { (eval echo configure:8706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8709 then | 8706 then |
8710 emacs_cv_localtime_cache=no | 8707 emacs_cv_localtime_cache=no |
8711 else | 8708 else |
8712 conftest_rc="$?" | 8709 conftest_rc="$?" |
8713 echo "configure: failed program was:" >&5 | 8710 echo "configure: failed program was:" >&5 |
8733 | 8730 |
8734 fi | 8731 fi |
8735 | 8732 |
8736 if test "$HAVE_TIMEVAL" = "yes"; then | 8733 if test "$HAVE_TIMEVAL" = "yes"; then |
8737 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8734 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8738 echo "configure:8739: checking whether gettimeofday accepts one or two arguments" >&5 | 8735 echo "configure:8736: checking whether gettimeofday accepts one or two arguments" >&5 |
8739 cat > conftest.$ac_ext <<EOF | 8736 cat > conftest.$ac_ext <<EOF |
8740 #line 8741 "configure" | 8737 #line 8738 "configure" |
8741 #include "confdefs.h" | 8738 #include "confdefs.h" |
8742 | 8739 |
8743 #ifdef TIME_WITH_SYS_TIME | 8740 #ifdef TIME_WITH_SYS_TIME |
8744 #include <sys/time.h> | 8741 #include <sys/time.h> |
8745 #include <time.h> | 8742 #include <time.h> |
8757 struct timezone dummy; | 8754 struct timezone dummy; |
8758 gettimeofday (&time, &dummy); | 8755 gettimeofday (&time, &dummy); |
8759 | 8756 |
8760 ; return 0; } | 8757 ; return 0; } |
8761 EOF | 8758 EOF |
8762 if { (eval echo configure:8763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8759 if { (eval echo configure:8760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8763 rm -rf conftest* | 8760 rm -rf conftest* |
8764 echo "$ac_t""two" 1>&6 | 8761 echo "$ac_t""two" 1>&6 |
8765 else | 8762 else |
8766 echo "configure: failed program was:" >&5 | 8763 echo "configure: failed program was:" >&5 |
8767 cat conftest.$ac_ext >&5 | 8764 cat conftest.$ac_ext >&5 |
8779 rm -f conftest* | 8776 rm -f conftest* |
8780 fi | 8777 fi |
8781 | 8778 |
8782 | 8779 |
8783 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8780 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8784 echo "configure:8785: checking for inline" >&5 | 8781 echo "configure:8782: checking for inline" >&5 |
8785 | 8782 |
8786 ac_cv_c_inline=no | 8783 ac_cv_c_inline=no |
8787 for ac_kw in inline __inline__ __inline; do | 8784 for ac_kw in inline __inline__ __inline; do |
8788 cat > conftest.$ac_ext <<EOF | 8785 cat > conftest.$ac_ext <<EOF |
8789 #line 8790 "configure" | 8786 #line 8787 "configure" |
8790 #include "confdefs.h" | 8787 #include "confdefs.h" |
8791 | 8788 |
8792 int main() { | 8789 int main() { |
8793 } $ac_kw foo() { | 8790 } $ac_kw foo() { |
8794 ; return 0; } | 8791 ; return 0; } |
8795 EOF | 8792 EOF |
8796 if { (eval echo configure:8797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8793 if { (eval echo configure:8794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8797 rm -rf conftest* | 8794 rm -rf conftest* |
8798 ac_cv_c_inline=$ac_kw; break | 8795 ac_cv_c_inline=$ac_kw; break |
8799 else | 8796 else |
8800 echo "configure: failed program was:" >&5 | 8797 echo "configure: failed program was:" >&5 |
8801 cat conftest.$ac_ext >&5 | 8798 cat conftest.$ac_ext >&5 |
8841 | 8838 |
8842 | 8839 |
8843 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8840 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8844 # for constant arguments. Useless! | 8841 # for constant arguments. Useless! |
8845 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8842 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8846 echo "configure:8847: checking for working alloca.h" >&5 | 8843 echo "configure:8844: checking for working alloca.h" >&5 |
8847 | 8844 |
8848 cat > conftest.$ac_ext <<EOF | 8845 cat > conftest.$ac_ext <<EOF |
8849 #line 8850 "configure" | 8846 #line 8847 "configure" |
8850 #include "confdefs.h" | 8847 #include "confdefs.h" |
8851 #include <alloca.h> | 8848 #include <alloca.h> |
8852 int main() { | 8849 int main() { |
8853 char *p = alloca(2 * sizeof(int)); | 8850 char *p = alloca(2 * sizeof(int)); |
8854 ; return 0; } | 8851 ; return 0; } |
8855 EOF | 8852 EOF |
8856 if { (eval echo configure:8857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8853 if { (eval echo configure:8854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8857 rm -rf conftest* | 8854 rm -rf conftest* |
8858 ac_cv_header_alloca_h=yes | 8855 ac_cv_header_alloca_h=yes |
8859 else | 8856 else |
8860 echo "configure: failed program was:" >&5 | 8857 echo "configure: failed program was:" >&5 |
8861 cat conftest.$ac_ext >&5 | 8858 cat conftest.$ac_ext >&5 |
8875 } | 8872 } |
8876 | 8873 |
8877 fi | 8874 fi |
8878 | 8875 |
8879 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8876 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8880 echo "configure:8881: checking for alloca" >&5 | 8877 echo "configure:8878: checking for alloca" >&5 |
8881 | 8878 |
8882 cat > conftest.$ac_ext <<EOF | 8879 cat > conftest.$ac_ext <<EOF |
8883 #line 8884 "configure" | 8880 #line 8881 "configure" |
8884 #include "confdefs.h" | 8881 #include "confdefs.h" |
8885 | 8882 |
8886 #ifdef __GNUC__ | 8883 #ifdef __GNUC__ |
8887 # define alloca __builtin_alloca | 8884 # define alloca __builtin_alloca |
8888 #else | 8885 #else |
8901 | 8898 |
8902 int main() { | 8899 int main() { |
8903 char *p = (char *) alloca(1); | 8900 char *p = (char *) alloca(1); |
8904 ; return 0; } | 8901 ; return 0; } |
8905 EOF | 8902 EOF |
8906 if { (eval echo configure:8907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8903 if { (eval echo configure:8904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8907 rm -rf conftest* | 8904 rm -rf conftest* |
8908 ac_cv_func_alloca_works=yes | 8905 ac_cv_func_alloca_works=yes |
8909 else | 8906 else |
8910 echo "configure: failed program was:" >&5 | 8907 echo "configure: failed program was:" >&5 |
8911 cat conftest.$ac_ext >&5 | 8908 cat conftest.$ac_ext >&5 |
8940 EOF | 8937 EOF |
8941 } | 8938 } |
8942 | 8939 |
8943 | 8940 |
8944 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8941 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8945 echo "configure:8946: checking whether alloca needs Cray hooks" >&5 | 8942 echo "configure:8943: checking whether alloca needs Cray hooks" >&5 |
8946 | 8943 |
8947 cat > conftest.$ac_ext <<EOF | 8944 cat > conftest.$ac_ext <<EOF |
8948 #line 8949 "configure" | 8945 #line 8946 "configure" |
8949 #include "confdefs.h" | 8946 #include "confdefs.h" |
8950 #if defined(CRAY) && ! defined(CRAY2) | 8947 #if defined(CRAY) && ! defined(CRAY2) |
8951 webecray | 8948 webecray |
8952 #else | 8949 #else |
8953 wenotbecray | 8950 wenotbecray |
8967 | 8964 |
8968 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8965 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8969 if test $ac_cv_os_cray = yes; then | 8966 if test $ac_cv_os_cray = yes; then |
8970 for ac_func in _getb67 GETB67 getb67; do | 8967 for ac_func in _getb67 GETB67 getb67; do |
8971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8972 echo "configure:8973: checking for $ac_func" >&5 | 8969 echo "configure:8970: checking for $ac_func" >&5 |
8973 | 8970 |
8974 cat > conftest.$ac_ext <<EOF | 8971 cat > conftest.$ac_ext <<EOF |
8975 #line 8976 "configure" | 8972 #line 8973 "configure" |
8976 #include "confdefs.h" | 8973 #include "confdefs.h" |
8977 /* System header to define __stub macros and hopefully few prototypes, | 8974 /* System header to define __stub macros and hopefully few prototypes, |
8978 which can conflict with char $ac_func(); below. */ | 8975 which can conflict with char $ac_func(); below. */ |
8979 #include <assert.h> | 8976 #include <assert.h> |
8980 /* Override any gcc2 internal prototype to avoid an error. */ | 8977 /* Override any gcc2 internal prototype to avoid an error. */ |
8993 $ac_func(); | 8990 $ac_func(); |
8994 #endif | 8991 #endif |
8995 | 8992 |
8996 ; return 0; } | 8993 ; return 0; } |
8997 EOF | 8994 EOF |
8998 if { (eval echo configure:8999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8995 if { (eval echo configure:8996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8999 rm -rf conftest* | 8996 rm -rf conftest* |
9000 eval "ac_cv_func_$ac_func=yes" | 8997 eval "ac_cv_func_$ac_func=yes" |
9001 else | 8998 else |
9002 echo "configure: failed program was:" >&5 | 8999 echo "configure: failed program was:" >&5 |
9003 cat conftest.$ac_ext >&5 | 9000 cat conftest.$ac_ext >&5 |
9023 | 9020 |
9024 done | 9021 done |
9025 fi | 9022 fi |
9026 | 9023 |
9027 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9024 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9028 echo "configure:9029: checking stack direction for C alloca" >&5 | 9025 echo "configure:9026: checking stack direction for C alloca" >&5 |
9029 | 9026 |
9030 cat > conftest.$ac_ext <<EOF | 9027 cat > conftest.$ac_ext <<EOF |
9031 #line 9032 "configure" | 9028 #line 9029 "configure" |
9032 #include "confdefs.h" | 9029 #include "confdefs.h" |
9033 find_stack_direction () | 9030 find_stack_direction () |
9034 { | 9031 { |
9035 static char *addr = 0; | 9032 static char *addr = 0; |
9036 auto char dummy; | 9033 auto char dummy; |
9045 main () | 9042 main () |
9046 { | 9043 { |
9047 exit (find_stack_direction() < 0); | 9044 exit (find_stack_direction() < 0); |
9048 } | 9045 } |
9049 EOF | 9046 EOF |
9050 if { (eval echo configure:9051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9047 if { (eval echo configure:9048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9051 then | 9048 then |
9052 ac_cv_c_stack_direction=1 | 9049 ac_cv_c_stack_direction=1 |
9053 else | 9050 else |
9054 conftest_rc="$?" | 9051 conftest_rc="$?" |
9055 echo "configure: failed program was:" >&5 | 9052 echo "configure: failed program was:" >&5 |
9074 echo " xemacs will be linked with \"$ALLOCA\"" | 9071 echo " xemacs will be linked with \"$ALLOCA\"" |
9075 fi | 9072 fi |
9076 | 9073 |
9077 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9074 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9078 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9075 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9079 echo "configure:9080: checking for vfork.h" >&5 | 9076 echo "configure:9077: checking for vfork.h" >&5 |
9080 | 9077 |
9081 cat > conftest.$ac_ext <<EOF | 9078 cat > conftest.$ac_ext <<EOF |
9082 #line 9083 "configure" | 9079 #line 9080 "configure" |
9083 #include "confdefs.h" | 9080 #include "confdefs.h" |
9084 #include <vfork.h> | 9081 #include <vfork.h> |
9085 EOF | 9082 EOF |
9086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9087 { (eval echo configure:9088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9084 { (eval echo configure:9085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9088 ac_err=`grep -v '^ *+' conftest.out` | 9085 ac_err=`grep -v '^ *+' conftest.out` |
9089 if test -z "$ac_err"; then | 9086 if test -z "$ac_err"; then |
9090 rm -rf conftest* | 9087 rm -rf conftest* |
9091 eval "ac_cv_header_$ac_safe=yes" | 9088 eval "ac_cv_header_$ac_safe=yes" |
9092 else | 9089 else |
9110 else | 9107 else |
9111 echo "$ac_t""no" 1>&6 | 9108 echo "$ac_t""no" 1>&6 |
9112 fi | 9109 fi |
9113 | 9110 |
9114 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9111 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9115 echo "configure:9116: checking for working vfork" >&5 | 9112 echo "configure:9113: checking for working vfork" >&5 |
9116 | 9113 |
9117 cat > conftest.$ac_ext <<EOF | 9114 cat > conftest.$ac_ext <<EOF |
9118 #line 9119 "configure" | 9115 #line 9116 "configure" |
9119 #include "confdefs.h" | 9116 #include "confdefs.h" |
9120 /* Thanks to Paul Eggert for this test. */ | 9117 /* Thanks to Paul Eggert for this test. */ |
9121 #include <stdio.h> | 9118 #include <stdio.h> |
9122 #include <sys/types.h> | 9119 #include <sys/types.h> |
9123 #include <sys/stat.h> | 9120 #include <sys/stat.h> |
9208 || fstat(fileno(stdout), &st) != 0 | 9205 || fstat(fileno(stdout), &st) != 0 |
9209 ); | 9206 ); |
9210 } | 9207 } |
9211 } | 9208 } |
9212 EOF | 9209 EOF |
9213 if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9210 if { (eval echo configure:9211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9214 then | 9211 then |
9215 ac_cv_func_vfork_works=yes | 9212 ac_cv_func_vfork_works=yes |
9216 else | 9213 else |
9217 conftest_rc="$?" | 9214 conftest_rc="$?" |
9218 echo "configure: failed program was:" >&5 | 9215 echo "configure: failed program was:" >&5 |
9234 | 9231 |
9235 fi | 9232 fi |
9236 | 9233 |
9237 | 9234 |
9238 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9235 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9239 echo "configure:9240: checking for working strcoll" >&5 | 9236 echo "configure:9237: checking for working strcoll" >&5 |
9240 | 9237 |
9241 cat > conftest.$ac_ext <<EOF | 9238 cat > conftest.$ac_ext <<EOF |
9242 #line 9243 "configure" | 9239 #line 9240 "configure" |
9243 #include "confdefs.h" | 9240 #include "confdefs.h" |
9244 #include <string.h> | 9241 #include <string.h> |
9245 main () | 9242 main () |
9246 { | 9243 { |
9247 exit (strcoll ("abc", "def") >= 0 || | 9244 exit (strcoll ("abc", "def") >= 0 || |
9248 strcoll ("ABC", "DEF") >= 0 || | 9245 strcoll ("ABC", "DEF") >= 0 || |
9249 strcoll ("123", "456") >= 0); | 9246 strcoll ("123", "456") >= 0); |
9250 } | 9247 } |
9251 EOF | 9248 EOF |
9252 if { (eval echo configure:9253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9249 if { (eval echo configure:9250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9253 then | 9250 then |
9254 ac_cv_func_strcoll_works=yes | 9251 ac_cv_func_strcoll_works=yes |
9255 else | 9252 else |
9256 conftest_rc="$?" | 9253 conftest_rc="$?" |
9257 echo "configure: failed program was:" >&5 | 9254 echo "configure: failed program was:" >&5 |
9275 | 9272 |
9276 | 9273 |
9277 for ac_func in getpgrp | 9274 for ac_func in getpgrp |
9278 do | 9275 do |
9279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9280 echo "configure:9281: checking for $ac_func" >&5 | 9277 echo "configure:9278: checking for $ac_func" >&5 |
9281 | 9278 |
9282 cat > conftest.$ac_ext <<EOF | 9279 cat > conftest.$ac_ext <<EOF |
9283 #line 9284 "configure" | 9280 #line 9281 "configure" |
9284 #include "confdefs.h" | 9281 #include "confdefs.h" |
9285 /* System header to define __stub macros and hopefully few prototypes, | 9282 /* System header to define __stub macros and hopefully few prototypes, |
9286 which can conflict with char $ac_func(); below. */ | 9283 which can conflict with char $ac_func(); below. */ |
9287 #include <assert.h> | 9284 #include <assert.h> |
9288 /* Override any gcc2 internal prototype to avoid an error. */ | 9285 /* Override any gcc2 internal prototype to avoid an error. */ |
9301 $ac_func(); | 9298 $ac_func(); |
9302 #endif | 9299 #endif |
9303 | 9300 |
9304 ; return 0; } | 9301 ; return 0; } |
9305 EOF | 9302 EOF |
9306 if { (eval echo configure:9307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9303 if { (eval echo configure:9304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9307 rm -rf conftest* | 9304 rm -rf conftest* |
9308 eval "ac_cv_func_$ac_func=yes" | 9305 eval "ac_cv_func_$ac_func=yes" |
9309 else | 9306 else |
9310 echo "configure: failed program was:" >&5 | 9307 echo "configure: failed program was:" >&5 |
9311 cat conftest.$ac_ext >&5 | 9308 cat conftest.$ac_ext >&5 |
9329 echo "$ac_t""no" 1>&6 | 9326 echo "$ac_t""no" 1>&6 |
9330 fi | 9327 fi |
9331 done | 9328 done |
9332 | 9329 |
9333 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9330 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9334 echo "configure:9335: checking whether getpgrp takes no argument" >&5 | 9331 echo "configure:9332: checking whether getpgrp takes no argument" >&5 |
9335 | 9332 |
9336 cat > conftest.$ac_ext <<EOF | 9333 cat > conftest.$ac_ext <<EOF |
9337 #line 9338 "configure" | 9334 #line 9335 "configure" |
9338 #include "confdefs.h" | 9335 #include "confdefs.h" |
9339 | 9336 |
9340 /* | 9337 /* |
9341 * If this system has a BSD-style getpgrp(), | 9338 * If this system has a BSD-style getpgrp(), |
9342 * which takes a pid argument, exit unsuccessfully. | 9339 * which takes a pid argument, exit unsuccessfully. |
9387 exit(s>>8); | 9384 exit(s>>8); |
9388 } | 9385 } |
9389 } | 9386 } |
9390 | 9387 |
9391 EOF | 9388 EOF |
9392 if { (eval echo configure:9393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9389 if { (eval echo configure:9390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9393 then | 9390 then |
9394 ac_cv_func_getpgrp_void=yes | 9391 ac_cv_func_getpgrp_void=yes |
9395 else | 9392 else |
9396 conftest_rc="$?" | 9393 conftest_rc="$?" |
9397 echo "configure: failed program was:" >&5 | 9394 echo "configure: failed program was:" >&5 |
9414 | 9411 |
9415 fi | 9412 fi |
9416 | 9413 |
9417 | 9414 |
9418 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9415 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9419 echo "configure:9420: checking for working mmap" >&5 | 9416 echo "configure:9417: checking for working mmap" >&5 |
9420 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9417 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9421 cat > conftest.$ac_ext <<EOF | 9418 cat > conftest.$ac_ext <<EOF |
9422 #line 9423 "configure" | 9419 #line 9420 "configure" |
9423 #include "confdefs.h" | 9420 #include "confdefs.h" |
9424 #include <stdio.h> | 9421 #include <stdio.h> |
9425 #include <unistd.h> | 9422 #include <unistd.h> |
9426 #include <fcntl.h> | 9423 #include <fcntl.h> |
9427 #include <sys/mman.h> | 9424 #include <sys/mman.h> |
9450 return 0; | 9447 return 0; |
9451 perror ("conftest: mmap failed"); | 9448 perror ("conftest: mmap failed"); |
9452 return 1; | 9449 return 1; |
9453 } | 9450 } |
9454 EOF | 9451 EOF |
9455 if { (eval echo configure:9456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9452 if { (eval echo configure:9453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9456 then | 9453 then |
9457 have_mmap=yes | 9454 have_mmap=yes |
9458 else | 9455 else |
9459 conftest_rc="$?" | 9456 conftest_rc="$?" |
9460 echo "configure: failed program was:" >&5 | 9457 echo "configure: failed program was:" >&5 |
9475 | 9472 |
9476 for ac_hdr in unistd.h | 9473 for ac_hdr in unistd.h |
9477 do | 9474 do |
9478 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9475 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9480 echo "configure:9481: checking for $ac_hdr" >&5 | 9477 echo "configure:9478: checking for $ac_hdr" >&5 |
9481 | 9478 |
9482 cat > conftest.$ac_ext <<EOF | 9479 cat > conftest.$ac_ext <<EOF |
9483 #line 9484 "configure" | 9480 #line 9481 "configure" |
9484 #include "confdefs.h" | 9481 #include "confdefs.h" |
9485 #include <$ac_hdr> | 9482 #include <$ac_hdr> |
9486 EOF | 9483 EOF |
9487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9484 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9488 { (eval echo configure:9489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9485 { (eval echo configure:9486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9489 ac_err=`grep -v '^ *+' conftest.out` | 9486 ac_err=`grep -v '^ *+' conftest.out` |
9490 if test -z "$ac_err"; then | 9487 if test -z "$ac_err"; then |
9491 rm -rf conftest* | 9488 rm -rf conftest* |
9492 eval "ac_cv_header_$ac_safe=yes" | 9489 eval "ac_cv_header_$ac_safe=yes" |
9493 else | 9490 else |
9515 done | 9512 done |
9516 | 9513 |
9517 for ac_func in getpagesize | 9514 for ac_func in getpagesize |
9518 do | 9515 do |
9519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9520 echo "configure:9521: checking for $ac_func" >&5 | 9517 echo "configure:9518: checking for $ac_func" >&5 |
9521 | 9518 |
9522 cat > conftest.$ac_ext <<EOF | 9519 cat > conftest.$ac_ext <<EOF |
9523 #line 9524 "configure" | 9520 #line 9521 "configure" |
9524 #include "confdefs.h" | 9521 #include "confdefs.h" |
9525 /* System header to define __stub macros and hopefully few prototypes, | 9522 /* System header to define __stub macros and hopefully few prototypes, |
9526 which can conflict with char $ac_func(); below. */ | 9523 which can conflict with char $ac_func(); below. */ |
9527 #include <assert.h> | 9524 #include <assert.h> |
9528 /* Override any gcc2 internal prototype to avoid an error. */ | 9525 /* Override any gcc2 internal prototype to avoid an error. */ |
9541 $ac_func(); | 9538 $ac_func(); |
9542 #endif | 9539 #endif |
9543 | 9540 |
9544 ; return 0; } | 9541 ; return 0; } |
9545 EOF | 9542 EOF |
9546 if { (eval echo configure:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9543 if { (eval echo configure:9544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9547 rm -rf conftest* | 9544 rm -rf conftest* |
9548 eval "ac_cv_func_$ac_func=yes" | 9545 eval "ac_cv_func_$ac_func=yes" |
9549 else | 9546 else |
9550 echo "configure: failed program was:" >&5 | 9547 echo "configure: failed program was:" >&5 |
9551 cat conftest.$ac_ext >&5 | 9548 cat conftest.$ac_ext >&5 |
9569 echo "$ac_t""no" 1>&6 | 9566 echo "$ac_t""no" 1>&6 |
9570 fi | 9567 fi |
9571 done | 9568 done |
9572 | 9569 |
9573 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9570 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9574 echo "configure:9575: checking for working mmap" >&5 | 9571 echo "configure:9572: checking for working mmap" >&5 |
9575 | 9572 |
9576 cat > conftest.$ac_ext <<EOF | 9573 cat > conftest.$ac_ext <<EOF |
9577 #line 9578 "configure" | 9574 #line 9575 "configure" |
9578 #include "confdefs.h" | 9575 #include "confdefs.h" |
9579 | 9576 |
9580 /* Thanks to Mike Haertel and Jim Avera for this test. | 9577 /* Thanks to Mike Haertel and Jim Avera for this test. |
9581 Here is a matrix of mmap possibilities: | 9578 Here is a matrix of mmap possibilities: |
9582 mmap private not fixed | 9579 mmap private not fixed |
9712 unlink("conftestmmap"); | 9709 unlink("conftestmmap"); |
9713 exit(0); | 9710 exit(0); |
9714 } | 9711 } |
9715 | 9712 |
9716 EOF | 9713 EOF |
9717 if { (eval echo configure:9718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9714 if { (eval echo configure:9715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9718 then | 9715 then |
9719 ac_cv_func_mmap_fixed_mapped=yes | 9716 ac_cv_func_mmap_fixed_mapped=yes |
9720 else | 9717 else |
9721 conftest_rc="$?" | 9718 conftest_rc="$?" |
9722 echo "configure: failed program was:" >&5 | 9719 echo "configure: failed program was:" >&5 |
9750 } | 9747 } |
9751 | 9748 |
9752 | 9749 |
9753 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9750 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9754 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9751 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9755 echo "configure:9756: checking for termios.h" >&5 | 9752 echo "configure:9753: checking for termios.h" >&5 |
9756 | 9753 |
9757 cat > conftest.$ac_ext <<EOF | 9754 cat > conftest.$ac_ext <<EOF |
9758 #line 9759 "configure" | 9755 #line 9756 "configure" |
9759 #include "confdefs.h" | 9756 #include "confdefs.h" |
9760 #include <termios.h> | 9757 #include <termios.h> |
9761 EOF | 9758 EOF |
9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9760 { (eval echo configure:9761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9764 ac_err=`grep -v '^ *+' conftest.out` | 9761 ac_err=`grep -v '^ *+' conftest.out` |
9765 if test -z "$ac_err"; then | 9762 if test -z "$ac_err"; then |
9766 rm -rf conftest* | 9763 rm -rf conftest* |
9767 eval "ac_cv_header_$ac_safe=yes" | 9764 eval "ac_cv_header_$ac_safe=yes" |
9768 else | 9765 else |
9801 | 9798 |
9802 else | 9799 else |
9803 echo "$ac_t""no" 1>&6 | 9800 echo "$ac_t""no" 1>&6 |
9804 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9801 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9805 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9802 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9806 echo "configure:9807: checking for termio.h" >&5 | 9803 echo "configure:9804: checking for termio.h" >&5 |
9807 | 9804 |
9808 cat > conftest.$ac_ext <<EOF | 9805 cat > conftest.$ac_ext <<EOF |
9809 #line 9810 "configure" | 9806 #line 9807 "configure" |
9810 #include "confdefs.h" | 9807 #include "confdefs.h" |
9811 #include <termio.h> | 9808 #include <termio.h> |
9812 EOF | 9809 EOF |
9813 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9814 { (eval echo configure:9815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9811 { (eval echo configure:9812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9815 ac_err=`grep -v '^ *+' conftest.out` | 9812 ac_err=`grep -v '^ *+' conftest.out` |
9816 if test -z "$ac_err"; then | 9813 if test -z "$ac_err"; then |
9817 rm -rf conftest* | 9814 rm -rf conftest* |
9818 eval "ac_cv_header_$ac_safe=yes" | 9815 eval "ac_cv_header_$ac_safe=yes" |
9819 else | 9816 else |
9841 fi | 9838 fi |
9842 | 9839 |
9843 | 9840 |
9844 | 9841 |
9845 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9842 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9846 echo "configure:9847: checking for socket" >&5 | 9843 echo "configure:9844: checking for socket" >&5 |
9847 | 9844 |
9848 cat > conftest.$ac_ext <<EOF | 9845 cat > conftest.$ac_ext <<EOF |
9849 #line 9850 "configure" | 9846 #line 9847 "configure" |
9850 #include "confdefs.h" | 9847 #include "confdefs.h" |
9851 /* System header to define __stub macros and hopefully few prototypes, | 9848 /* System header to define __stub macros and hopefully few prototypes, |
9852 which can conflict with char socket(); below. */ | 9849 which can conflict with char socket(); below. */ |
9853 #include <assert.h> | 9850 #include <assert.h> |
9854 /* Override any gcc2 internal prototype to avoid an error. */ | 9851 /* Override any gcc2 internal prototype to avoid an error. */ |
9867 socket(); | 9864 socket(); |
9868 #endif | 9865 #endif |
9869 | 9866 |
9870 ; return 0; } | 9867 ; return 0; } |
9871 EOF | 9868 EOF |
9872 if { (eval echo configure:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9869 if { (eval echo configure:9870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9873 rm -rf conftest* | 9870 rm -rf conftest* |
9874 eval "ac_cv_func_socket=yes" | 9871 eval "ac_cv_func_socket=yes" |
9875 else | 9872 else |
9876 echo "configure: failed program was:" >&5 | 9873 echo "configure: failed program was:" >&5 |
9877 cat conftest.$ac_ext >&5 | 9874 cat conftest.$ac_ext >&5 |
9882 | 9879 |
9883 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9880 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9884 echo "$ac_t""yes" 1>&6 | 9881 echo "$ac_t""yes" 1>&6 |
9885 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9882 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9886 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9883 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9887 echo "configure:9888: checking for netinet/in.h" >&5 | 9884 echo "configure:9885: checking for netinet/in.h" >&5 |
9888 | 9885 |
9889 cat > conftest.$ac_ext <<EOF | 9886 cat > conftest.$ac_ext <<EOF |
9890 #line 9891 "configure" | 9887 #line 9888 "configure" |
9891 #include "confdefs.h" | 9888 #include "confdefs.h" |
9892 #include <netinet/in.h> | 9889 #include <netinet/in.h> |
9893 EOF | 9890 EOF |
9894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9895 { (eval echo configure:9896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9892 { (eval echo configure:9893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9896 ac_err=`grep -v '^ *+' conftest.out` | 9893 ac_err=`grep -v '^ *+' conftest.out` |
9897 if test -z "$ac_err"; then | 9894 if test -z "$ac_err"; then |
9898 rm -rf conftest* | 9895 rm -rf conftest* |
9899 eval "ac_cv_header_$ac_safe=yes" | 9896 eval "ac_cv_header_$ac_safe=yes" |
9900 else | 9897 else |
9907 rm -f conftest* | 9904 rm -f conftest* |
9908 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9909 echo "$ac_t""yes" 1>&6 | 9906 echo "$ac_t""yes" 1>&6 |
9910 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9907 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9911 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9908 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9912 echo "configure:9913: checking for arpa/inet.h" >&5 | 9909 echo "configure:9910: checking for arpa/inet.h" >&5 |
9913 | 9910 |
9914 cat > conftest.$ac_ext <<EOF | 9911 cat > conftest.$ac_ext <<EOF |
9915 #line 9916 "configure" | 9912 #line 9913 "configure" |
9916 #include "confdefs.h" | 9913 #include "confdefs.h" |
9917 #include <arpa/inet.h> | 9914 #include <arpa/inet.h> |
9918 EOF | 9915 EOF |
9919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9920 { (eval echo configure:9921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9917 { (eval echo configure:9918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9921 ac_err=`grep -v '^ *+' conftest.out` | 9918 ac_err=`grep -v '^ *+' conftest.out` |
9922 if test -z "$ac_err"; then | 9919 if test -z "$ac_err"; then |
9923 rm -rf conftest* | 9920 rm -rf conftest* |
9924 eval "ac_cv_header_$ac_safe=yes" | 9921 eval "ac_cv_header_$ac_safe=yes" |
9925 else | 9922 else |
9940 #define HAVE_SOCKETS 1 | 9937 #define HAVE_SOCKETS 1 |
9941 EOF | 9938 EOF |
9942 } | 9939 } |
9943 | 9940 |
9944 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9941 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9945 echo "configure:9946: checking "for sun_len member in struct sockaddr_un"" >&5 | 9942 echo "configure:9943: checking "for sun_len member in struct sockaddr_un"" >&5 |
9946 cat > conftest.$ac_ext <<EOF | 9943 cat > conftest.$ac_ext <<EOF |
9947 #line 9948 "configure" | 9944 #line 9945 "configure" |
9948 #include "confdefs.h" | 9945 #include "confdefs.h" |
9949 | 9946 |
9950 #include <sys/types.h> | 9947 #include <sys/types.h> |
9951 #include <sys/socket.h> | 9948 #include <sys/socket.h> |
9952 #include <sys/un.h> | 9949 #include <sys/un.h> |
9953 | 9950 |
9954 int main() { | 9951 int main() { |
9955 static struct sockaddr_un x; x.sun_len = 1; | 9952 static struct sockaddr_un x; x.sun_len = 1; |
9956 ; return 0; } | 9953 ; return 0; } |
9957 EOF | 9954 EOF |
9958 if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9955 if { (eval echo configure:9956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9959 rm -rf conftest* | 9956 rm -rf conftest* |
9960 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9957 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9961 Defining HAVE_SOCKADDR_SUN_LEN | 9958 Defining HAVE_SOCKADDR_SUN_LEN |
9962 EOF | 9959 EOF |
9963 cat >> confdefs.h <<\EOF | 9960 cat >> confdefs.h <<\EOF |
9971 rm -rf conftest* | 9968 rm -rf conftest* |
9972 echo "$ac_t""no" 1>&6 | 9969 echo "$ac_t""no" 1>&6 |
9973 fi | 9970 fi |
9974 rm -f conftest* | 9971 rm -f conftest* |
9975 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9972 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9976 echo "configure:9977: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9973 echo "configure:9974: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9977 cat > conftest.$ac_ext <<EOF | 9974 cat > conftest.$ac_ext <<EOF |
9978 #line 9979 "configure" | 9975 #line 9976 "configure" |
9979 #include "confdefs.h" | 9976 #include "confdefs.h" |
9980 | 9977 |
9981 #include <sys/types.h> | 9978 #include <sys/types.h> |
9982 #include <netinet/in.h> | 9979 #include <netinet/in.h> |
9983 | 9980 |
9984 int main() { | 9981 int main() { |
9985 static struct ip_mreq x; | 9982 static struct ip_mreq x; |
9986 ; return 0; } | 9983 ; return 0; } |
9987 EOF | 9984 EOF |
9988 if { (eval echo configure:9989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9985 if { (eval echo configure:9986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9989 rm -rf conftest* | 9986 rm -rf conftest* |
9990 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9987 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9991 Defining HAVE_MULTICAST | 9988 Defining HAVE_MULTICAST |
9992 EOF | 9989 EOF |
9993 cat >> confdefs.h <<\EOF | 9990 cat >> confdefs.h <<\EOF |
10014 echo "$ac_t""no" 1>&6 | 10011 echo "$ac_t""no" 1>&6 |
10015 fi | 10012 fi |
10016 | 10013 |
10017 | 10014 |
10018 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10015 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10019 echo "configure:10020: checking for msgget" >&5 | 10016 echo "configure:10017: checking for msgget" >&5 |
10020 | 10017 |
10021 cat > conftest.$ac_ext <<EOF | 10018 cat > conftest.$ac_ext <<EOF |
10022 #line 10023 "configure" | 10019 #line 10020 "configure" |
10023 #include "confdefs.h" | 10020 #include "confdefs.h" |
10024 /* System header to define __stub macros and hopefully few prototypes, | 10021 /* System header to define __stub macros and hopefully few prototypes, |
10025 which can conflict with char msgget(); below. */ | 10022 which can conflict with char msgget(); below. */ |
10026 #include <assert.h> | 10023 #include <assert.h> |
10027 /* Override any gcc2 internal prototype to avoid an error. */ | 10024 /* Override any gcc2 internal prototype to avoid an error. */ |
10040 msgget(); | 10037 msgget(); |
10041 #endif | 10038 #endif |
10042 | 10039 |
10043 ; return 0; } | 10040 ; return 0; } |
10044 EOF | 10041 EOF |
10045 if { (eval echo configure:10046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10042 if { (eval echo configure:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10046 rm -rf conftest* | 10043 rm -rf conftest* |
10047 eval "ac_cv_func_msgget=yes" | 10044 eval "ac_cv_func_msgget=yes" |
10048 else | 10045 else |
10049 echo "configure: failed program was:" >&5 | 10046 echo "configure: failed program was:" >&5 |
10050 cat conftest.$ac_ext >&5 | 10047 cat conftest.$ac_ext >&5 |
10055 | 10052 |
10056 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10053 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10057 echo "$ac_t""yes" 1>&6 | 10054 echo "$ac_t""yes" 1>&6 |
10058 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10055 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10059 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10056 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10060 echo "configure:10061: checking for sys/ipc.h" >&5 | 10057 echo "configure:10058: checking for sys/ipc.h" >&5 |
10061 | 10058 |
10062 cat > conftest.$ac_ext <<EOF | 10059 cat > conftest.$ac_ext <<EOF |
10063 #line 10064 "configure" | 10060 #line 10061 "configure" |
10064 #include "confdefs.h" | 10061 #include "confdefs.h" |
10065 #include <sys/ipc.h> | 10062 #include <sys/ipc.h> |
10066 EOF | 10063 EOF |
10067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10068 { (eval echo configure:10069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10065 { (eval echo configure:10066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10069 ac_err=`grep -v '^ *+' conftest.out` | 10066 ac_err=`grep -v '^ *+' conftest.out` |
10070 if test -z "$ac_err"; then | 10067 if test -z "$ac_err"; then |
10071 rm -rf conftest* | 10068 rm -rf conftest* |
10072 eval "ac_cv_header_$ac_safe=yes" | 10069 eval "ac_cv_header_$ac_safe=yes" |
10073 else | 10070 else |
10080 rm -f conftest* | 10077 rm -f conftest* |
10081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10082 echo "$ac_t""yes" 1>&6 | 10079 echo "$ac_t""yes" 1>&6 |
10083 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10080 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10084 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10081 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10085 echo "configure:10086: checking for sys/msg.h" >&5 | 10082 echo "configure:10083: checking for sys/msg.h" >&5 |
10086 | 10083 |
10087 cat > conftest.$ac_ext <<EOF | 10084 cat > conftest.$ac_ext <<EOF |
10088 #line 10089 "configure" | 10085 #line 10086 "configure" |
10089 #include "confdefs.h" | 10086 #include "confdefs.h" |
10090 #include <sys/msg.h> | 10087 #include <sys/msg.h> |
10091 EOF | 10088 EOF |
10092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10093 { (eval echo configure:10094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10090 { (eval echo configure:10091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10094 ac_err=`grep -v '^ *+' conftest.out` | 10091 ac_err=`grep -v '^ *+' conftest.out` |
10095 if test -z "$ac_err"; then | 10092 if test -z "$ac_err"; then |
10096 rm -rf conftest* | 10093 rm -rf conftest* |
10097 eval "ac_cv_header_$ac_safe=yes" | 10094 eval "ac_cv_header_$ac_safe=yes" |
10098 else | 10095 else |
10126 fi | 10123 fi |
10127 | 10124 |
10128 | 10125 |
10129 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10126 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10130 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10127 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10131 echo "configure:10132: checking for dirent.h" >&5 | 10128 echo "configure:10129: checking for dirent.h" >&5 |
10132 | 10129 |
10133 cat > conftest.$ac_ext <<EOF | 10130 cat > conftest.$ac_ext <<EOF |
10134 #line 10135 "configure" | 10131 #line 10132 "configure" |
10135 #include "confdefs.h" | 10132 #include "confdefs.h" |
10136 #include <dirent.h> | 10133 #include <dirent.h> |
10137 EOF | 10134 EOF |
10138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10139 { (eval echo configure:10140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10136 { (eval echo configure:10137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10140 ac_err=`grep -v '^ *+' conftest.out` | 10137 ac_err=`grep -v '^ *+' conftest.out` |
10141 if test -z "$ac_err"; then | 10138 if test -z "$ac_err"; then |
10142 rm -rf conftest* | 10139 rm -rf conftest* |
10143 eval "ac_cv_header_$ac_safe=yes" | 10140 eval "ac_cv_header_$ac_safe=yes" |
10144 else | 10141 else |
10161 | 10158 |
10162 else | 10159 else |
10163 echo "$ac_t""no" 1>&6 | 10160 echo "$ac_t""no" 1>&6 |
10164 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10161 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10165 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10162 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10166 echo "configure:10167: checking for sys/dir.h" >&5 | 10163 echo "configure:10164: checking for sys/dir.h" >&5 |
10167 | 10164 |
10168 cat > conftest.$ac_ext <<EOF | 10165 cat > conftest.$ac_ext <<EOF |
10169 #line 10170 "configure" | 10166 #line 10167 "configure" |
10170 #include "confdefs.h" | 10167 #include "confdefs.h" |
10171 #include <sys/dir.h> | 10168 #include <sys/dir.h> |
10172 EOF | 10169 EOF |
10173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10174 { (eval echo configure:10175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10171 { (eval echo configure:10172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10175 ac_err=`grep -v '^ *+' conftest.out` | 10172 ac_err=`grep -v '^ *+' conftest.out` |
10176 if test -z "$ac_err"; then | 10173 if test -z "$ac_err"; then |
10177 rm -rf conftest* | 10174 rm -rf conftest* |
10178 eval "ac_cv_header_$ac_safe=yes" | 10175 eval "ac_cv_header_$ac_safe=yes" |
10179 else | 10176 else |
10202 fi | 10199 fi |
10203 | 10200 |
10204 | 10201 |
10205 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10202 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10206 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10203 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10207 echo "configure:10208: checking for nlist.h" >&5 | 10204 echo "configure:10205: checking for nlist.h" >&5 |
10208 | 10205 |
10209 cat > conftest.$ac_ext <<EOF | 10206 cat > conftest.$ac_ext <<EOF |
10210 #line 10211 "configure" | 10207 #line 10208 "configure" |
10211 #include "confdefs.h" | 10208 #include "confdefs.h" |
10212 #include <nlist.h> | 10209 #include <nlist.h> |
10213 EOF | 10210 EOF |
10214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10215 { (eval echo configure:10216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10212 { (eval echo configure:10213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10216 ac_err=`grep -v '^ *+' conftest.out` | 10213 ac_err=`grep -v '^ *+' conftest.out` |
10217 if test -z "$ac_err"; then | 10214 if test -z "$ac_err"; then |
10218 rm -rf conftest* | 10215 rm -rf conftest* |
10219 eval "ac_cv_header_$ac_safe=yes" | 10216 eval "ac_cv_header_$ac_safe=yes" |
10220 else | 10217 else |
10240 fi | 10237 fi |
10241 | 10238 |
10242 | 10239 |
10243 | 10240 |
10244 echo "checking "for sound support"" 1>&6 | 10241 echo "checking "for sound support"" 1>&6 |
10245 echo "configure:10246: checking "for sound support"" >&5 | 10242 echo "configure:10243: checking "for sound support"" >&5 |
10246 case "$with_sound" in | 10243 case "$with_sound" in |
10247 native | both ) with_native_sound=yes;; | 10244 native | both ) with_native_sound=yes;; |
10248 nas | no ) with_native_sound=no;; | 10245 nas | no ) with_native_sound=no;; |
10249 esac | 10246 esac |
10250 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10247 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10251 | 10248 |
10252 if test "$with_native_sound" != "no"; then | 10249 if test "$with_native_sound" != "no"; then |
10253 if test -n "$native_sound_lib"; then | 10250 if test -n "$native_sound_lib"; then |
10254 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10251 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10255 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10252 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10256 echo "configure:10257: checking for multimedia/audio_device.h" >&5 | 10253 echo "configure:10254: checking for multimedia/audio_device.h" >&5 |
10257 | 10254 |
10258 cat > conftest.$ac_ext <<EOF | 10255 cat > conftest.$ac_ext <<EOF |
10259 #line 10260 "configure" | 10256 #line 10257 "configure" |
10260 #include "confdefs.h" | 10257 #include "confdefs.h" |
10261 #include <multimedia/audio_device.h> | 10258 #include <multimedia/audio_device.h> |
10262 EOF | 10259 EOF |
10263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10264 { (eval echo configure:10265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10261 { (eval echo configure:10262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10265 ac_err=`grep -v '^ *+' conftest.out` | 10262 ac_err=`grep -v '^ *+' conftest.out` |
10266 if test -z "$ac_err"; then | 10263 if test -z "$ac_err"; then |
10267 rm -rf conftest* | 10264 rm -rf conftest* |
10268 eval "ac_cv_header_$ac_safe=yes" | 10265 eval "ac_cv_header_$ac_safe=yes" |
10269 else | 10266 else |
10307 case "$canonical" in | 10304 case "$canonical" in |
10308 *-sgi-* ) | 10305 *-sgi-* ) |
10309 if test -z "$native_sound_lib"; then | 10306 if test -z "$native_sound_lib"; then |
10310 | 10307 |
10311 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10308 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10312 echo "configure:10313: checking for ALopenport in -laudio" >&5 | 10309 echo "configure:10310: checking for ALopenport in -laudio" >&5 |
10313 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10310 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10314 | 10311 |
10315 xe_check_libs=" -laudio " | 10312 xe_check_libs=" -laudio " |
10316 cat > conftest.$ac_ext <<EOF | 10313 cat > conftest.$ac_ext <<EOF |
10317 #line 10318 "configure" | 10314 #line 10315 "configure" |
10318 #include "confdefs.h" | 10315 #include "confdefs.h" |
10319 /* Override any gcc2 internal prototype to avoid an error. */ | 10316 /* Override any gcc2 internal prototype to avoid an error. */ |
10320 /* We use char because int might match the return type of a gcc2 | 10317 /* We use char because int might match the return type of a gcc2 |
10321 builtin and then its argument prototype would still apply. */ | 10318 builtin and then its argument prototype would still apply. */ |
10322 char ALopenport(); | 10319 char ALopenport(); |
10323 | 10320 |
10324 int main() { | 10321 int main() { |
10325 ALopenport() | 10322 ALopenport() |
10326 ; return 0; } | 10323 ; return 0; } |
10327 EOF | 10324 EOF |
10328 if { (eval echo configure:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10329 rm -rf conftest* | 10326 rm -rf conftest* |
10330 eval "ac_cv_lib_$ac_lib_var=yes" | 10327 eval "ac_cv_lib_$ac_lib_var=yes" |
10331 else | 10328 else |
10332 echo "configure: failed program was:" >&5 | 10329 echo "configure: failed program was:" >&5 |
10333 cat conftest.$ac_ext >&5 | 10330 cat conftest.$ac_ext >&5 |
10354 fi ;; | 10351 fi ;; |
10355 hppa*-hp-hpux* ) | 10352 hppa*-hp-hpux* ) |
10356 if test -z "$native_sound_lib"; then | 10353 if test -z "$native_sound_lib"; then |
10357 | 10354 |
10358 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10355 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10359 echo "configure:10360: checking for AOpenAudio in -lAlib" >&5 | 10356 echo "configure:10357: checking for AOpenAudio in -lAlib" >&5 |
10360 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10357 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10361 | 10358 |
10362 xe_check_libs=" -lAlib " | 10359 xe_check_libs=" -lAlib " |
10363 cat > conftest.$ac_ext <<EOF | 10360 cat > conftest.$ac_ext <<EOF |
10364 #line 10365 "configure" | 10361 #line 10362 "configure" |
10365 #include "confdefs.h" | 10362 #include "confdefs.h" |
10366 /* Override any gcc2 internal prototype to avoid an error. */ | 10363 /* Override any gcc2 internal prototype to avoid an error. */ |
10367 /* We use char because int might match the return type of a gcc2 | 10364 /* We use char because int might match the return type of a gcc2 |
10368 builtin and then its argument prototype would still apply. */ | 10365 builtin and then its argument prototype would still apply. */ |
10369 char AOpenAudio(); | 10366 char AOpenAudio(); |
10370 | 10367 |
10371 int main() { | 10368 int main() { |
10372 AOpenAudio() | 10369 AOpenAudio() |
10373 ; return 0; } | 10370 ; return 0; } |
10374 EOF | 10371 EOF |
10375 if { (eval echo configure:10376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10372 if { (eval echo configure:10373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10376 rm -rf conftest* | 10373 rm -rf conftest* |
10377 eval "ac_cv_lib_$ac_lib_var=yes" | 10374 eval "ac_cv_lib_$ac_lib_var=yes" |
10378 else | 10375 else |
10379 echo "configure: failed program was:" >&5 | 10376 echo "configure: failed program was:" >&5 |
10380 cat conftest.$ac_ext >&5 | 10377 cat conftest.$ac_ext >&5 |
10408 | 10405 |
10409 if test -z "$sound_found"; then | 10406 if test -z "$sound_found"; then |
10410 for dir in "machine" "sys" "linux"; do | 10407 for dir in "machine" "sys" "linux"; do |
10411 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10408 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10412 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10409 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10413 echo "configure:10414: checking for ${dir}/soundcard.h" >&5 | 10410 echo "configure:10411: checking for ${dir}/soundcard.h" >&5 |
10414 | 10411 |
10415 cat > conftest.$ac_ext <<EOF | 10412 cat > conftest.$ac_ext <<EOF |
10416 #line 10417 "configure" | 10413 #line 10414 "configure" |
10417 #include "confdefs.h" | 10414 #include "confdefs.h" |
10418 #include <${dir}/soundcard.h> | 10415 #include <${dir}/soundcard.h> |
10419 EOF | 10416 EOF |
10420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10421 { (eval echo configure:10422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10418 { (eval echo configure:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10422 ac_err=`grep -v '^ *+' conftest.out` | 10419 ac_err=`grep -v '^ *+' conftest.out` |
10423 if test -z "$ac_err"; then | 10420 if test -z "$ac_err"; then |
10424 rm -rf conftest* | 10421 rm -rf conftest* |
10425 eval "ac_cv_header_$ac_safe=yes" | 10422 eval "ac_cv_header_$ac_safe=yes" |
10426 else | 10423 else |
10486 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10483 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10487 echo " xemacs will be linked with \"nas.o\"" | 10484 echo " xemacs will be linked with \"nas.o\"" |
10488 fi | 10485 fi |
10489 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10486 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10490 cat > conftest.$ac_ext <<EOF | 10487 cat > conftest.$ac_ext <<EOF |
10491 #line 10492 "configure" | 10488 #line 10489 "configure" |
10492 #include "confdefs.h" | 10489 #include "confdefs.h" |
10493 #include <audio/Xtutil.h> | 10490 #include <audio/Xtutil.h> |
10494 EOF | 10491 EOF |
10495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10496 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10493 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10513 | 10510 |
10514 test -z "$with_tty" && with_tty=yes | 10511 test -z "$with_tty" && with_tty=yes |
10515 | 10512 |
10516 if test "$with_tty" = "yes" ; then | 10513 if test "$with_tty" = "yes" ; then |
10517 echo "checking for TTY-related features" 1>&6 | 10514 echo "checking for TTY-related features" 1>&6 |
10518 echo "configure:10519: checking for TTY-related features" >&5 | 10515 echo "configure:10516: checking for TTY-related features" >&5 |
10519 { test "$extra_verbose" = "yes" && cat << \EOF | 10516 { test "$extra_verbose" = "yes" && cat << \EOF |
10520 Defining HAVE_TTY | 10517 Defining HAVE_TTY |
10521 EOF | 10518 EOF |
10522 cat >> confdefs.h <<\EOF | 10519 cat >> confdefs.h <<\EOF |
10523 #define HAVE_TTY 1 | 10520 #define HAVE_TTY 1 |
10529 fi | 10526 fi |
10530 | 10527 |
10531 if test -z "$with_ncurses"; then | 10528 if test -z "$with_ncurses"; then |
10532 | 10529 |
10533 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10530 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10534 echo "configure:10535: checking for tgetent in -lncurses" >&5 | 10531 echo "configure:10532: checking for tgetent in -lncurses" >&5 |
10535 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10532 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10536 | 10533 |
10537 xe_check_libs=" -lncurses " | 10534 xe_check_libs=" -lncurses " |
10538 cat > conftest.$ac_ext <<EOF | 10535 cat > conftest.$ac_ext <<EOF |
10539 #line 10540 "configure" | 10536 #line 10537 "configure" |
10540 #include "confdefs.h" | 10537 #include "confdefs.h" |
10541 /* Override any gcc2 internal prototype to avoid an error. */ | 10538 /* Override any gcc2 internal prototype to avoid an error. */ |
10542 /* We use char because int might match the return type of a gcc2 | 10539 /* We use char because int might match the return type of a gcc2 |
10543 builtin and then its argument prototype would still apply. */ | 10540 builtin and then its argument prototype would still apply. */ |
10544 char tgetent(); | 10541 char tgetent(); |
10545 | 10542 |
10546 int main() { | 10543 int main() { |
10547 tgetent() | 10544 tgetent() |
10548 ; return 0; } | 10545 ; return 0; } |
10549 EOF | 10546 EOF |
10550 if { (eval echo configure:10551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10547 if { (eval echo configure:10548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10551 rm -rf conftest* | 10548 rm -rf conftest* |
10552 eval "ac_cv_lib_$ac_lib_var=yes" | 10549 eval "ac_cv_lib_$ac_lib_var=yes" |
10553 else | 10550 else |
10554 echo "configure: failed program was:" >&5 | 10551 echo "configure: failed program was:" >&5 |
10555 cat conftest.$ac_ext >&5 | 10552 cat conftest.$ac_ext >&5 |
10578 EOF | 10575 EOF |
10579 } | 10576 } |
10580 | 10577 |
10581 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10578 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10582 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10579 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10583 echo "configure:10584: checking for ncurses/curses.h" >&5 | 10580 echo "configure:10581: checking for ncurses/curses.h" >&5 |
10584 | 10581 |
10585 cat > conftest.$ac_ext <<EOF | 10582 cat > conftest.$ac_ext <<EOF |
10586 #line 10587 "configure" | 10583 #line 10584 "configure" |
10587 #include "confdefs.h" | 10584 #include "confdefs.h" |
10588 #include <ncurses/curses.h> | 10585 #include <ncurses/curses.h> |
10589 EOF | 10586 EOF |
10590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10591 { (eval echo configure:10592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10588 { (eval echo configure:10589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10592 ac_err=`grep -v '^ *+' conftest.out` | 10589 ac_err=`grep -v '^ *+' conftest.out` |
10593 if test -z "$ac_err"; then | 10590 if test -z "$ac_err"; then |
10594 rm -rf conftest* | 10591 rm -rf conftest* |
10595 eval "ac_cv_header_$ac_safe=yes" | 10592 eval "ac_cv_header_$ac_safe=yes" |
10596 else | 10593 else |
10608 echo "$ac_t""no" 1>&6 | 10605 echo "$ac_t""no" 1>&6 |
10609 fi | 10606 fi |
10610 | 10607 |
10611 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10608 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10612 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10609 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10613 echo "configure:10614: checking for ncurses/term.h" >&5 | 10610 echo "configure:10611: checking for ncurses/term.h" >&5 |
10614 | 10611 |
10615 cat > conftest.$ac_ext <<EOF | 10612 cat > conftest.$ac_ext <<EOF |
10616 #line 10617 "configure" | 10613 #line 10614 "configure" |
10617 #include "confdefs.h" | 10614 #include "confdefs.h" |
10618 #include <ncurses/term.h> | 10615 #include <ncurses/term.h> |
10619 EOF | 10616 EOF |
10620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10621 { (eval echo configure:10622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10618 { (eval echo configure:10619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10622 ac_err=`grep -v '^ *+' conftest.out` | 10619 ac_err=`grep -v '^ *+' conftest.out` |
10623 if test -z "$ac_err"; then | 10620 if test -z "$ac_err"; then |
10624 rm -rf conftest* | 10621 rm -rf conftest* |
10625 eval "ac_cv_header_$ac_safe=yes" | 10622 eval "ac_cv_header_$ac_safe=yes" |
10626 else | 10623 else |
10646 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10643 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10647 save_c_switch_site="$c_switch_site" | 10644 save_c_switch_site="$c_switch_site" |
10648 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10645 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10649 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10646 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10650 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10647 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10651 echo "configure:10652: checking for ncurses/curses.h" >&5 | 10648 echo "configure:10649: checking for ncurses/curses.h" >&5 |
10652 | 10649 |
10653 cat > conftest.$ac_ext <<EOF | 10650 cat > conftest.$ac_ext <<EOF |
10654 #line 10655 "configure" | 10651 #line 10652 "configure" |
10655 #include "confdefs.h" | 10652 #include "confdefs.h" |
10656 #include <ncurses/curses.h> | 10653 #include <ncurses/curses.h> |
10657 EOF | 10654 EOF |
10658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10659 { (eval echo configure:10660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10656 { (eval echo configure:10657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10660 ac_err=`grep -v '^ *+' conftest.out` | 10657 ac_err=`grep -v '^ *+' conftest.out` |
10661 if test -z "$ac_err"; then | 10658 if test -z "$ac_err"; then |
10662 rm -rf conftest* | 10659 rm -rf conftest* |
10663 eval "ac_cv_header_$ac_safe=yes" | 10660 eval "ac_cv_header_$ac_safe=yes" |
10664 else | 10661 else |
10689 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10686 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10690 else | 10687 else |
10691 for lib in curses termlib termcap; do | 10688 for lib in curses termlib termcap; do |
10692 | 10689 |
10693 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10690 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10694 echo "configure:10695: checking for tgetent in -l$lib" >&5 | 10691 echo "configure:10692: checking for tgetent in -l$lib" >&5 |
10695 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10692 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10696 | 10693 |
10697 xe_check_libs=" -l$lib " | 10694 xe_check_libs=" -l$lib " |
10698 cat > conftest.$ac_ext <<EOF | 10695 cat > conftest.$ac_ext <<EOF |
10699 #line 10700 "configure" | 10696 #line 10697 "configure" |
10700 #include "confdefs.h" | 10697 #include "confdefs.h" |
10701 /* Override any gcc2 internal prototype to avoid an error. */ | 10698 /* Override any gcc2 internal prototype to avoid an error. */ |
10702 /* We use char because int might match the return type of a gcc2 | 10699 /* We use char because int might match the return type of a gcc2 |
10703 builtin and then its argument prototype would still apply. */ | 10700 builtin and then its argument prototype would still apply. */ |
10704 char tgetent(); | 10701 char tgetent(); |
10705 | 10702 |
10706 int main() { | 10703 int main() { |
10707 tgetent() | 10704 tgetent() |
10708 ; return 0; } | 10705 ; return 0; } |
10709 EOF | 10706 EOF |
10710 if { (eval echo configure:10711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10707 if { (eval echo configure:10708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10711 rm -rf conftest* | 10708 rm -rf conftest* |
10712 eval "ac_cv_lib_$ac_lib_var=yes" | 10709 eval "ac_cv_lib_$ac_lib_var=yes" |
10713 else | 10710 else |
10714 echo "configure: failed program was:" >&5 | 10711 echo "configure: failed program was:" >&5 |
10715 cat conftest.$ac_ext >&5 | 10712 cat conftest.$ac_ext >&5 |
10736 if test -n "$libs_termcap"; then | 10733 if test -n "$libs_termcap"; then |
10737 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10734 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10738 else | 10735 else |
10739 | 10736 |
10740 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10737 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10741 echo "configure:10742: checking for tgetent in -lcurses" >&5 | 10738 echo "configure:10739: checking for tgetent in -lcurses" >&5 |
10742 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10739 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10743 | 10740 |
10744 xe_check_libs=" -lcurses " | 10741 xe_check_libs=" -lcurses " |
10745 cat > conftest.$ac_ext <<EOF | 10742 cat > conftest.$ac_ext <<EOF |
10746 #line 10747 "configure" | 10743 #line 10744 "configure" |
10747 #include "confdefs.h" | 10744 #include "confdefs.h" |
10748 /* Override any gcc2 internal prototype to avoid an error. */ | 10745 /* Override any gcc2 internal prototype to avoid an error. */ |
10749 /* We use char because int might match the return type of a gcc2 | 10746 /* We use char because int might match the return type of a gcc2 |
10750 builtin and then its argument prototype would still apply. */ | 10747 builtin and then its argument prototype would still apply. */ |
10751 char tgetent(); | 10748 char tgetent(); |
10752 | 10749 |
10753 int main() { | 10750 int main() { |
10754 tgetent() | 10751 tgetent() |
10755 ; return 0; } | 10752 ; return 0; } |
10756 EOF | 10753 EOF |
10757 if { (eval echo configure:10758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10754 if { (eval echo configure:10755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10758 rm -rf conftest* | 10755 rm -rf conftest* |
10759 eval "ac_cv_lib_$ac_lib_var=yes" | 10756 eval "ac_cv_lib_$ac_lib_var=yes" |
10760 else | 10757 else |
10761 echo "configure: failed program was:" >&5 | 10758 echo "configure: failed program was:" >&5 |
10762 cat conftest.$ac_ext >&5 | 10759 cat conftest.$ac_ext >&5 |
10770 echo "$ac_t""yes" 1>&6 | 10767 echo "$ac_t""yes" 1>&6 |
10771 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10768 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10772 else | 10769 else |
10773 echo "$ac_t""no" 1>&6 | 10770 echo "$ac_t""no" 1>&6 |
10774 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10771 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10775 echo "configure:10776: checking for tgetent in -ltermcap" >&5 | 10772 echo "configure:10773: checking for tgetent in -ltermcap" >&5 |
10776 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10773 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10777 | 10774 |
10778 xe_check_libs=" -ltermcap " | 10775 xe_check_libs=" -ltermcap " |
10779 cat > conftest.$ac_ext <<EOF | 10776 cat > conftest.$ac_ext <<EOF |
10780 #line 10781 "configure" | 10777 #line 10778 "configure" |
10781 #include "confdefs.h" | 10778 #include "confdefs.h" |
10782 /* Override any gcc2 internal prototype to avoid an error. */ | 10779 /* Override any gcc2 internal prototype to avoid an error. */ |
10783 /* We use char because int might match the return type of a gcc2 | 10780 /* We use char because int might match the return type of a gcc2 |
10784 builtin and then its argument prototype would still apply. */ | 10781 builtin and then its argument prototype would still apply. */ |
10785 char tgetent(); | 10782 char tgetent(); |
10786 | 10783 |
10787 int main() { | 10784 int main() { |
10788 tgetent() | 10785 tgetent() |
10789 ; return 0; } | 10786 ; return 0; } |
10790 EOF | 10787 EOF |
10791 if { (eval echo configure:10792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10788 if { (eval echo configure:10789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10792 rm -rf conftest* | 10789 rm -rf conftest* |
10793 eval "ac_cv_lib_$ac_lib_var=yes" | 10790 eval "ac_cv_lib_$ac_lib_var=yes" |
10794 else | 10791 else |
10795 echo "configure: failed program was:" >&5 | 10792 echo "configure: failed program was:" >&5 |
10796 cat conftest.$ac_ext >&5 | 10793 cat conftest.$ac_ext >&5 |
10834 } | 10831 } |
10835 | 10832 |
10836 | 10833 |
10837 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10834 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10838 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10835 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10839 echo "configure:10840: checking for gpm.h" >&5 | 10836 echo "configure:10837: checking for gpm.h" >&5 |
10840 | 10837 |
10841 cat > conftest.$ac_ext <<EOF | 10838 cat > conftest.$ac_ext <<EOF |
10842 #line 10843 "configure" | 10839 #line 10840 "configure" |
10843 #include "confdefs.h" | 10840 #include "confdefs.h" |
10844 #include <gpm.h> | 10841 #include <gpm.h> |
10845 EOF | 10842 EOF |
10846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10847 { (eval echo configure:10848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10844 { (eval echo configure:10845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10848 ac_err=`grep -v '^ *+' conftest.out` | 10845 ac_err=`grep -v '^ *+' conftest.out` |
10849 if test -z "$ac_err"; then | 10846 if test -z "$ac_err"; then |
10850 rm -rf conftest* | 10847 rm -rf conftest* |
10851 eval "ac_cv_header_$ac_safe=yes" | 10848 eval "ac_cv_header_$ac_safe=yes" |
10852 else | 10849 else |
10865 with_gpm=no | 10862 with_gpm=no |
10866 fi | 10863 fi |
10867 } | 10864 } |
10868 test -z "$with_gpm" && { | 10865 test -z "$with_gpm" && { |
10869 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10866 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10870 echo "configure:10871: checking for Gpm_Open in -lgpm" >&5 | 10867 echo "configure:10868: checking for Gpm_Open in -lgpm" >&5 |
10871 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10868 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10872 | 10869 |
10873 xe_check_libs=" -lgpm " | 10870 xe_check_libs=" -lgpm " |
10874 cat > conftest.$ac_ext <<EOF | 10871 cat > conftest.$ac_ext <<EOF |
10875 #line 10876 "configure" | 10872 #line 10873 "configure" |
10876 #include "confdefs.h" | 10873 #include "confdefs.h" |
10877 /* Override any gcc2 internal prototype to avoid an error. */ | 10874 /* Override any gcc2 internal prototype to avoid an error. */ |
10878 /* We use char because int might match the return type of a gcc2 | 10875 /* We use char because int might match the return type of a gcc2 |
10879 builtin and then its argument prototype would still apply. */ | 10876 builtin and then its argument prototype would still apply. */ |
10880 char Gpm_Open(); | 10877 char Gpm_Open(); |
10881 | 10878 |
10882 int main() { | 10879 int main() { |
10883 Gpm_Open() | 10880 Gpm_Open() |
10884 ; return 0; } | 10881 ; return 0; } |
10885 EOF | 10882 EOF |
10886 if { (eval echo configure:10887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10883 if { (eval echo configure:10884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10887 rm -rf conftest* | 10884 rm -rf conftest* |
10888 eval "ac_cv_lib_$ac_lib_var=yes" | 10885 eval "ac_cv_lib_$ac_lib_var=yes" |
10889 else | 10886 else |
10890 echo "configure: failed program was:" >&5 | 10887 echo "configure: failed program was:" >&5 |
10891 cat conftest.$ac_ext >&5 | 10888 cat conftest.$ac_ext >&5 |
10929 test "$with_x11" = "yes" -o "$with_tty" = "yes" && extra_objs="$extra_objs event-unixoid.o" && if test "$extra_verbose" = "yes"; then | 10926 test "$with_x11" = "yes" -o "$with_tty" = "yes" && extra_objs="$extra_objs event-unixoid.o" && if test "$extra_verbose" = "yes"; then |
10930 echo " xemacs will be linked with \"event-unixoid.o\"" | 10927 echo " xemacs will be linked with \"event-unixoid.o\"" |
10931 fi | 10928 fi |
10932 | 10929 |
10933 | 10930 |
10934 echo "checking for database support" 1>&6 | 10931 test "$with_database_gnudbm $with_database_dbm $with_database_berkdb" \ |
10935 echo "configure:10936: checking for database support" >&5 | 10932 != "no no no" && echo "checking for database support" 1>&6 |
10936 | 10933 echo "configure:10934: checking for database support" >&5 |
10937 if test "$with_database_gnudbm" != "no"; then | 10934 |
10938 for ac_hdr in ndbm.h | 10935 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
10939 do | 10936 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
10940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10937 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
10941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10938 echo "configure:10939: checking for ndbm.h" >&5 |
10942 echo "configure:10943: checking for $ac_hdr" >&5 | 10939 |
10943 | 10940 cat > conftest.$ac_ext <<EOF |
10944 cat > conftest.$ac_ext <<EOF | 10941 #line 10942 "configure" |
10945 #line 10946 "configure" | 10942 #include "confdefs.h" |
10946 #include "confdefs.h" | 10943 #include <ndbm.h> |
10947 #include <$ac_hdr> | |
10948 EOF | 10944 EOF |
10949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10950 { (eval echo configure:10951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10946 { (eval echo configure:10947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10951 ac_err=`grep -v '^ *+' conftest.out` | 10947 ac_err=`grep -v '^ *+' conftest.out` |
10952 if test -z "$ac_err"; then | 10948 if test -z "$ac_err"; then |
10953 rm -rf conftest* | 10949 rm -rf conftest* |
10954 eval "ac_cv_header_$ac_safe=yes" | 10950 eval "ac_cv_header_$ac_safe=yes" |
10955 else | 10951 else |
10960 eval "ac_cv_header_$ac_safe=no" | 10956 eval "ac_cv_header_$ac_safe=no" |
10961 fi | 10957 fi |
10962 rm -f conftest* | 10958 rm -f conftest* |
10963 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10959 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10964 echo "$ac_t""yes" 1>&6 | 10960 echo "$ac_t""yes" 1>&6 |
10965 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | 10961 : |
10966 { test "$extra_verbose" = "yes" && cat << EOF | 10962 else |
10967 Defining $ac_tr_hdr | 10963 echo "$ac_t""no" 1>&6 |
10968 EOF | 10964 |
10969 cat >> confdefs.h <<EOF | 10965 test "$with_database_gnudbm" = "yes" -o \ |
10970 #define $ac_tr_hdr 1 | 10966 "$with_database_dbm" = "yes" && \ |
10971 EOF | 10967 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; } |
10972 } | 10968 with_database_gnudbm=no with_database_dbm=no |
10973 have_ndbm_h=yes | 10969 fi |
10974 else | 10970 |
10975 echo "$ac_t""no" 1>&6 | 10971 fi |
10976 fi | 10972 |
10977 done | 10973 if test "$with_database_gnudbm" != "no"; then |
10978 | 10974 |
10979 if test "$have_ndbm_h" = "yes"; then | |
10980 | |
10981 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10975 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10982 echo "configure:10983: checking for dbm_open in -lgdbm" >&5 | 10976 echo "configure:10977: checking for dbm_open in -lgdbm" >&5 |
10983 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10977 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10984 | 10978 |
10985 xe_check_libs=" -lgdbm " | 10979 xe_check_libs=" -lgdbm " |
10986 cat > conftest.$ac_ext <<EOF | 10980 cat > conftest.$ac_ext <<EOF |
10987 #line 10988 "configure" | 10981 #line 10982 "configure" |
10988 #include "confdefs.h" | 10982 #include "confdefs.h" |
10989 /* Override any gcc2 internal prototype to avoid an error. */ | 10983 /* Override any gcc2 internal prototype to avoid an error. */ |
10990 /* We use char because int might match the return type of a gcc2 | 10984 /* We use char because int might match the return type of a gcc2 |
10991 builtin and then its argument prototype would still apply. */ | 10985 builtin and then its argument prototype would still apply. */ |
10992 char dbm_open(); | 10986 char dbm_open(); |
10993 | 10987 |
10994 int main() { | 10988 int main() { |
10995 dbm_open() | 10989 dbm_open() |
10996 ; return 0; } | 10990 ; return 0; } |
10997 EOF | 10991 EOF |
10998 if { (eval echo configure:10999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10992 if { (eval echo configure:10993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10999 rm -rf conftest* | 10993 rm -rf conftest* |
11000 eval "ac_cv_lib_$ac_lib_var=yes" | 10994 eval "ac_cv_lib_$ac_lib_var=yes" |
11001 else | 10995 else |
11002 echo "configure: failed program was:" >&5 | 10996 echo "configure: failed program was:" >&5 |
11003 cat conftest.$ac_ext >&5 | 10997 cat conftest.$ac_ext >&5 |
11007 rm -f conftest* | 11001 rm -f conftest* |
11008 xe_check_libs="" | 11002 xe_check_libs="" |
11009 | 11003 |
11010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 11004 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
11011 echo "$ac_t""yes" 1>&6 | 11005 echo "$ac_t""yes" 1>&6 |
11012 with_database_gnudbm=yes have_libgdbm=yes | 11006 with_database_gnudbm=yes with_database_dbm=no libdbm=-lgdbm |
11013 else | 11007 else |
11014 echo "$ac_t""no" 1>&6 | 11008 echo "$ac_t""no" 1>&6 |
11015 fi | 11009 if test "$with_database_gnudbm" = "yes"; then |
11016 | 11010 { echo "Error:" "Required GNU DBM support cannot be provided." >&2; exit 1; } |
11017 | 11011 fi |
11018 fi | 11012 with_database_gnudbm=no |
11019 if test "$with_database_gnudbm" != "yes"; then | 11013 fi |
11020 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11014 |
11021 echo "configure:11022: checking for dbm_open" >&5 | 11015 |
11022 | 11016 fi |
11023 cat > conftest.$ac_ext <<EOF | 11017 |
11024 #line 11025 "configure" | 11018 if test "$with_database_dbm" != "no"; then |
11019 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | |
11020 echo "configure:11021: checking for dbm_open" >&5 | |
11021 | |
11022 cat > conftest.$ac_ext <<EOF | |
11023 #line 11024 "configure" | |
11025 #include "confdefs.h" | 11024 #include "confdefs.h" |
11026 /* System header to define __stub macros and hopefully few prototypes, | 11025 /* System header to define __stub macros and hopefully few prototypes, |
11027 which can conflict with char dbm_open(); below. */ | 11026 which can conflict with char dbm_open(); below. */ |
11028 #include <assert.h> | 11027 #include <assert.h> |
11029 /* Override any gcc2 internal prototype to avoid an error. */ | 11028 /* Override any gcc2 internal prototype to avoid an error. */ |
11042 dbm_open(); | 11041 dbm_open(); |
11043 #endif | 11042 #endif |
11044 | 11043 |
11045 ; return 0; } | 11044 ; return 0; } |
11046 EOF | 11045 EOF |
11047 if { (eval echo configure:11048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11048 rm -rf conftest* | 11047 rm -rf conftest* |
11049 eval "ac_cv_func_dbm_open=yes" | 11048 eval "ac_cv_func_dbm_open=yes" |
11050 else | 11049 else |
11051 echo "configure: failed program was:" >&5 | 11050 echo "configure: failed program was:" >&5 |
11052 cat conftest.$ac_ext >&5 | 11051 cat conftest.$ac_ext >&5 |
11055 fi | 11054 fi |
11056 rm -f conftest* | 11055 rm -f conftest* |
11057 | 11056 |
11058 if eval "test \"`echo '$ac_cv_func_'dbm_open`\" = yes"; then | 11057 if eval "test \"`echo '$ac_cv_func_'dbm_open`\" = yes"; then |
11059 echo "$ac_t""yes" 1>&6 | 11058 echo "$ac_t""yes" 1>&6 |
11060 with_database_gnudbm=yes | 11059 with_database_dbm=yes libdbm= |
11061 else | 11060 else |
11062 echo "$ac_t""no" 1>&6 | 11061 echo "$ac_t""no" 1>&6 |
11063 fi | 11062 |
11064 | 11063 |
11065 fi | 11064 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11066 if test "$with_database_gnudbm" = "yes"; then | 11065 echo "configure:11066: checking for dbm_open in -ldbm" >&5 |
11067 { test "$extra_verbose" = "yes" && cat << \EOF | 11066 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11068 Defining HAVE_DBM | 11067 |
11069 EOF | 11068 xe_check_libs=" -ldbm " |
11070 cat >> confdefs.h <<\EOF | 11069 cat > conftest.$ac_ext <<EOF |
11071 #define HAVE_DBM 1 | 11070 #line 11071 "configure" |
11072 EOF | 11071 #include "confdefs.h" |
11073 } | |
11074 | |
11075 test "$have_libgdbm" = "yes" && LIBS="-lgdbm $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgdbm\" to \$LIBS"; fi | |
11076 with_database_dbm=no | |
11077 else with_database_gnudbm=no | |
11078 fi | |
11079 fi | |
11080 | |
11081 if test "$with_database_dbm" != "no"; then | |
11082 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | |
11083 echo "configure:11084: checking for dbm_open" >&5 | |
11084 | |
11085 cat > conftest.$ac_ext <<EOF | |
11086 #line 11087 "configure" | |
11087 #include "confdefs.h" | |
11088 /* System header to define __stub macros and hopefully few prototypes, | |
11089 which can conflict with char dbm_open(); below. */ | |
11090 #include <assert.h> | |
11091 /* Override any gcc2 internal prototype to avoid an error. */ | 11072 /* Override any gcc2 internal prototype to avoid an error. */ |
11092 /* We use char because int might match the return type of a gcc2 | 11073 /* We use char because int might match the return type of a gcc2 |
11093 builtin and then its argument prototype would still apply. */ | 11074 builtin and then its argument prototype would still apply. */ |
11094 char dbm_open(); | 11075 char dbm_open(); |
11095 | 11076 |
11096 int main() { | 11077 int main() { |
11097 | |
11098 /* The GNU C library defines this for functions which it implements | |
11099 to always fail with ENOSYS. Some functions are actually named | |
11100 something starting with __ and the normal name is an alias. */ | |
11101 #if defined (__stub_dbm_open) || defined (__stub___dbm_open) | |
11102 choke me | |
11103 #else | |
11104 dbm_open(); | |
11105 #endif | |
11106 | |
11107 ; return 0; } | |
11108 EOF | |
11109 if { (eval echo configure:11110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
11110 rm -rf conftest* | |
11111 eval "ac_cv_func_dbm_open=yes" | |
11112 else | |
11113 echo "configure: failed program was:" >&5 | |
11114 cat conftest.$ac_ext >&5 | |
11115 rm -rf conftest* | |
11116 eval "ac_cv_func_dbm_open=no" | |
11117 fi | |
11118 rm -f conftest* | |
11119 | |
11120 if eval "test \"`echo '$ac_cv_func_'dbm_open`\" = yes"; then | |
11121 echo "$ac_t""yes" 1>&6 | |
11122 with_database_dbm=yes need_libdbm=no | |
11123 else | |
11124 echo "$ac_t""no" 1>&6 | |
11125 fi | |
11126 | |
11127 if test "$need_libdbm" != "no"; then | |
11128 | |
11129 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | |
11130 echo "configure:11131: checking for dbm_open in -ldbm" >&5 | |
11131 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | |
11132 | |
11133 xe_check_libs=" -ldbm " | |
11134 cat > conftest.$ac_ext <<EOF | |
11135 #line 11136 "configure" | |
11136 #include "confdefs.h" | |
11137 /* Override any gcc2 internal prototype to avoid an error. */ | |
11138 /* We use char because int might match the return type of a gcc2 | |
11139 builtin and then its argument prototype would still apply. */ | |
11140 char dbm_open(); | |
11141 | |
11142 int main() { | |
11143 dbm_open() | 11078 dbm_open() |
11144 ; return 0; } | 11079 ; return 0; } |
11145 EOF | 11080 EOF |
11146 if { (eval echo configure:11147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11081 if { (eval echo configure:11082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11147 rm -rf conftest* | 11082 rm -rf conftest* |
11148 eval "ac_cv_lib_$ac_lib_var=yes" | 11083 eval "ac_cv_lib_$ac_lib_var=yes" |
11149 else | 11084 else |
11150 echo "configure: failed program was:" >&5 | 11085 echo "configure: failed program was:" >&5 |
11151 cat conftest.$ac_ext >&5 | 11086 cat conftest.$ac_ext >&5 |
11155 rm -f conftest* | 11090 rm -f conftest* |
11156 xe_check_libs="" | 11091 xe_check_libs="" |
11157 | 11092 |
11158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 11093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
11159 echo "$ac_t""yes" 1>&6 | 11094 echo "$ac_t""yes" 1>&6 |
11160 with_database_dbm=yes need_libdbm=yes | 11095 with_database_dbm=yes libdbm=-ldbm |
11161 else | 11096 else |
11162 echo "$ac_t""no" 1>&6 | 11097 echo "$ac_t""no" 1>&6 |
11163 fi | 11098 test "$with_database_dbm" = "yes" && \ |
11164 | 11099 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; } |
11165 | 11100 with_database_dbm=no |
11166 fi | 11101 fi |
11167 if test "$with_database_dbm" = "yes"; then | 11102 |
11168 { test "$extra_verbose" = "yes" && cat << \EOF | 11103 |
11104 fi | |
11105 | |
11106 fi | |
11107 | |
11108 test -n "$libdbm" && LIBS=""$libdbm" $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libdbm"\" to \$LIBS"; fi | |
11109 test "$with_database_gnudbm" = "yes" -o \ | |
11110 "$with_database_dbm" = "yes" && \ | |
11111 { test "$extra_verbose" = "yes" && cat << \EOF | |
11169 Defining HAVE_DBM | 11112 Defining HAVE_DBM |
11170 EOF | 11113 EOF |
11171 cat >> confdefs.h <<\EOF | 11114 cat >> confdefs.h <<\EOF |
11172 #define HAVE_DBM 1 | 11115 #define HAVE_DBM 1 |
11173 EOF | 11116 EOF |
11174 } | 11117 } |
11175 | 11118 |
11176 test "$need_libdbm" = "yes" && LIBS="-ldbm $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldbm\" to \$LIBS"; fi | |
11177 else with_database_dbm=no | |
11178 fi | |
11179 fi | |
11180 | 11119 |
11181 if test "$with_database_berkdb" != "no"; then | 11120 if test "$with_database_berkdb" != "no"; then |
11182 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11121 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11183 echo "configure:11184: checking for Berkeley db.h" >&5 | 11122 echo "configure:11123: checking for Berkeley db.h" >&5 |
11184 for path in "db/db.h" "db.h"; do | 11123 for path in "db/db.h" "db.h"; do |
11185 cat > conftest.$ac_ext <<EOF | 11124 cat > conftest.$ac_ext <<EOF |
11186 #line 11187 "configure" | 11125 #line 11126 "configure" |
11187 #include "confdefs.h" | 11126 #include "confdefs.h" |
11188 #ifdef HAVE_INTTYPES_H | 11127 #ifdef HAVE_INTTYPES_H |
11189 #define __BIT_TYPES_DEFINED__ | 11128 #define __BIT_TYPES_DEFINED__ |
11190 #include <inttypes.h> | 11129 #include <inttypes.h> |
11191 typedef uint8_t u_int8_t; | 11130 typedef uint8_t u_int8_t; |
11199 | 11138 |
11200 int main() { | 11139 int main() { |
11201 | 11140 |
11202 ; return 0; } | 11141 ; return 0; } |
11203 EOF | 11142 EOF |
11204 if { (eval echo configure:11205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11143 if { (eval echo configure:11144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11205 rm -rf conftest* | 11144 rm -rf conftest* |
11206 db_h_path="$path"; break | 11145 db_h_path="$path"; break |
11207 else | 11146 else |
11208 echo "configure: failed program was:" >&5 | 11147 echo "configure: failed program was:" >&5 |
11209 cat conftest.$ac_ext >&5 | 11148 cat conftest.$ac_ext >&5 |
11215 else echo "$ac_t""$db_h_path" 1>&6 | 11154 else echo "$ac_t""$db_h_path" 1>&6 |
11216 fi | 11155 fi |
11217 | 11156 |
11218 if test "$with_database_berkdb" != "no"; then | 11157 if test "$with_database_berkdb" != "no"; then |
11219 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11158 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11220 echo "configure:11221: checking for Berkeley DB version" >&5 | 11159 echo "configure:11160: checking for Berkeley DB version" >&5 |
11221 cat > conftest.$ac_ext <<EOF | 11160 cat > conftest.$ac_ext <<EOF |
11222 #line 11223 "configure" | 11161 #line 11162 "configure" |
11223 #include "confdefs.h" | 11162 #include "confdefs.h" |
11224 #include <$db_h_path> | 11163 #include <$db_h_path> |
11225 #if DB_VERSION_MAJOR > 1 | 11164 #if DB_VERSION_MAJOR > 1 |
11226 yes | 11165 yes |
11227 #endif | 11166 #endif |
11236 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11175 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11237 fi | 11176 fi |
11238 rm -f conftest* | 11177 rm -f conftest* |
11239 | 11178 |
11240 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11179 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11241 echo "configure:11242: checking for $dbfunc" >&5 | 11180 echo "configure:11181: checking for $dbfunc" >&5 |
11242 | 11181 |
11243 cat > conftest.$ac_ext <<EOF | 11182 cat > conftest.$ac_ext <<EOF |
11244 #line 11245 "configure" | 11183 #line 11184 "configure" |
11245 #include "confdefs.h" | 11184 #include "confdefs.h" |
11246 /* System header to define __stub macros and hopefully few prototypes, | 11185 /* System header to define __stub macros and hopefully few prototypes, |
11247 which can conflict with char $dbfunc(); below. */ | 11186 which can conflict with char $dbfunc(); below. */ |
11248 #include <assert.h> | 11187 #include <assert.h> |
11249 /* Override any gcc2 internal prototype to avoid an error. */ | 11188 /* Override any gcc2 internal prototype to avoid an error. */ |
11262 $dbfunc(); | 11201 $dbfunc(); |
11263 #endif | 11202 #endif |
11264 | 11203 |
11265 ; return 0; } | 11204 ; return 0; } |
11266 EOF | 11205 EOF |
11267 if { (eval echo configure:11268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11268 rm -rf conftest* | 11207 rm -rf conftest* |
11269 eval "ac_cv_func_$dbfunc=yes" | 11208 eval "ac_cv_func_$dbfunc=yes" |
11270 else | 11209 else |
11271 echo "configure: failed program was:" >&5 | 11210 echo "configure: failed program was:" >&5 |
11272 cat conftest.$ac_ext >&5 | 11211 cat conftest.$ac_ext >&5 |
11281 else | 11220 else |
11282 echo "$ac_t""no" 1>&6 | 11221 echo "$ac_t""no" 1>&6 |
11283 | 11222 |
11284 | 11223 |
11285 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11224 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11286 echo "configure:11287: checking for $dbfunc in -ldb" >&5 | 11225 echo "configure:11226: checking for $dbfunc in -ldb" >&5 |
11287 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11226 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11288 | 11227 |
11289 xe_check_libs=" -ldb " | 11228 xe_check_libs=" -ldb " |
11290 cat > conftest.$ac_ext <<EOF | 11229 cat > conftest.$ac_ext <<EOF |
11291 #line 11292 "configure" | 11230 #line 11231 "configure" |
11292 #include "confdefs.h" | 11231 #include "confdefs.h" |
11293 /* Override any gcc2 internal prototype to avoid an error. */ | 11232 /* Override any gcc2 internal prototype to avoid an error. */ |
11294 /* We use char because int might match the return type of a gcc2 | 11233 /* We use char because int might match the return type of a gcc2 |
11295 builtin and then its argument prototype would still apply. */ | 11234 builtin and then its argument prototype would still apply. */ |
11296 char $dbfunc(); | 11235 char $dbfunc(); |
11297 | 11236 |
11298 int main() { | 11237 int main() { |
11299 $dbfunc() | 11238 $dbfunc() |
11300 ; return 0; } | 11239 ; return 0; } |
11301 EOF | 11240 EOF |
11302 if { (eval echo configure:11303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11241 if { (eval echo configure:11242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11303 rm -rf conftest* | 11242 rm -rf conftest* |
11304 eval "ac_cv_lib_$ac_lib_var=yes" | 11243 eval "ac_cv_lib_$ac_lib_var=yes" |
11305 else | 11244 else |
11306 echo "configure: failed program was:" >&5 | 11245 echo "configure: failed program was:" >&5 |
11307 cat conftest.$ac_ext >&5 | 11246 cat conftest.$ac_ext >&5 |
11361 fi | 11300 fi |
11362 | 11301 |
11363 if test "$with_socks" = "yes"; then | 11302 if test "$with_socks" = "yes"; then |
11364 | 11303 |
11365 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11304 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11366 echo "configure:11367: checking for SOCKSinit in -lsocks" >&5 | 11305 echo "configure:11306: checking for SOCKSinit in -lsocks" >&5 |
11367 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11306 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11368 | 11307 |
11369 xe_check_libs=" -lsocks " | 11308 xe_check_libs=" -lsocks " |
11370 cat > conftest.$ac_ext <<EOF | 11309 cat > conftest.$ac_ext <<EOF |
11371 #line 11372 "configure" | 11310 #line 11311 "configure" |
11372 #include "confdefs.h" | 11311 #include "confdefs.h" |
11373 /* Override any gcc2 internal prototype to avoid an error. */ | 11312 /* Override any gcc2 internal prototype to avoid an error. */ |
11374 /* We use char because int might match the return type of a gcc2 | 11313 /* We use char because int might match the return type of a gcc2 |
11375 builtin and then its argument prototype would still apply. */ | 11314 builtin and then its argument prototype would still apply. */ |
11376 char SOCKSinit(); | 11315 char SOCKSinit(); |
11377 | 11316 |
11378 int main() { | 11317 int main() { |
11379 SOCKSinit() | 11318 SOCKSinit() |
11380 ; return 0; } | 11319 ; return 0; } |
11381 EOF | 11320 EOF |
11382 if { (eval echo configure:11383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11321 if { (eval echo configure:11322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11383 rm -rf conftest* | 11322 rm -rf conftest* |
11384 eval "ac_cv_lib_$ac_lib_var=yes" | 11323 eval "ac_cv_lib_$ac_lib_var=yes" |
11385 else | 11324 else |
11386 echo "configure: failed program was:" >&5 | 11325 echo "configure: failed program was:" >&5 |
11387 cat conftest.$ac_ext >&5 | 11326 cat conftest.$ac_ext >&5 |
11436 | 11375 |
11437 for ac_hdr in dlfcn.h | 11376 for ac_hdr in dlfcn.h |
11438 do | 11377 do |
11439 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11378 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11440 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11379 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11441 echo "configure:11442: checking for $ac_hdr" >&5 | 11380 echo "configure:11381: checking for $ac_hdr" >&5 |
11442 | 11381 |
11443 cat > conftest.$ac_ext <<EOF | 11382 cat > conftest.$ac_ext <<EOF |
11444 #line 11445 "configure" | 11383 #line 11384 "configure" |
11445 #include "confdefs.h" | 11384 #include "confdefs.h" |
11446 #include <$ac_hdr> | 11385 #include <$ac_hdr> |
11447 EOF | 11386 EOF |
11448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11449 { (eval echo configure:11450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11388 { (eval echo configure:11389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11450 ac_err=`grep -v '^ *+' conftest.out` | 11389 ac_err=`grep -v '^ *+' conftest.out` |
11451 if test -z "$ac_err"; then | 11390 if test -z "$ac_err"; then |
11452 rm -rf conftest* | 11391 rm -rf conftest* |
11453 eval "ac_cv_header_$ac_safe=yes" | 11392 eval "ac_cv_header_$ac_safe=yes" |
11454 else | 11393 else |
11475 fi | 11414 fi |
11476 done | 11415 done |
11477 | 11416 |
11478 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11417 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11479 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11418 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11480 echo "configure:11481: checking for dlopen in -ldl" >&5 | 11419 echo "configure:11420: checking for dlopen in -ldl" >&5 |
11481 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11420 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11482 | 11421 |
11483 xe_check_libs=" -ldl " | 11422 xe_check_libs=" -ldl " |
11484 cat > conftest.$ac_ext <<EOF | 11423 cat > conftest.$ac_ext <<EOF |
11485 #line 11486 "configure" | 11424 #line 11425 "configure" |
11486 #include "confdefs.h" | 11425 #include "confdefs.h" |
11487 /* Override any gcc2 internal prototype to avoid an error. */ | 11426 /* Override any gcc2 internal prototype to avoid an error. */ |
11488 /* We use char because int might match the return type of a gcc2 | 11427 /* We use char because int might match the return type of a gcc2 |
11489 builtin and then its argument prototype would still apply. */ | 11428 builtin and then its argument prototype would still apply. */ |
11490 char dlopen(); | 11429 char dlopen(); |
11491 | 11430 |
11492 int main() { | 11431 int main() { |
11493 dlopen() | 11432 dlopen() |
11494 ; return 0; } | 11433 ; return 0; } |
11495 EOF | 11434 EOF |
11496 if { (eval echo configure:11497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11435 if { (eval echo configure:11436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11497 rm -rf conftest* | 11436 rm -rf conftest* |
11498 eval "ac_cv_lib_$ac_lib_var=yes" | 11437 eval "ac_cv_lib_$ac_lib_var=yes" |
11499 else | 11438 else |
11500 echo "configure: failed program was:" >&5 | 11439 echo "configure: failed program was:" >&5 |
11501 cat conftest.$ac_ext >&5 | 11440 cat conftest.$ac_ext >&5 |
11520 fi | 11459 fi |
11521 | 11460 |
11522 } | 11461 } |
11523 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11462 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11524 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11463 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11525 echo "configure:11526: checking for _dlopen in -lc" >&5 | 11464 echo "configure:11465: checking for _dlopen in -lc" >&5 |
11526 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11465 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11527 | 11466 |
11528 xe_check_libs=" -lc " | 11467 xe_check_libs=" -lc " |
11529 cat > conftest.$ac_ext <<EOF | 11468 cat > conftest.$ac_ext <<EOF |
11530 #line 11531 "configure" | 11469 #line 11470 "configure" |
11531 #include "confdefs.h" | 11470 #include "confdefs.h" |
11532 /* Override any gcc2 internal prototype to avoid an error. */ | 11471 /* Override any gcc2 internal prototype to avoid an error. */ |
11533 /* We use char because int might match the return type of a gcc2 | 11472 /* We use char because int might match the return type of a gcc2 |
11534 builtin and then its argument prototype would still apply. */ | 11473 builtin and then its argument prototype would still apply. */ |
11535 char _dlopen(); | 11474 char _dlopen(); |
11536 | 11475 |
11537 int main() { | 11476 int main() { |
11538 _dlopen() | 11477 _dlopen() |
11539 ; return 0; } | 11478 ; return 0; } |
11540 EOF | 11479 EOF |
11541 if { (eval echo configure:11542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11480 if { (eval echo configure:11481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11542 rm -rf conftest* | 11481 rm -rf conftest* |
11543 eval "ac_cv_lib_$ac_lib_var=yes" | 11482 eval "ac_cv_lib_$ac_lib_var=yes" |
11544 else | 11483 else |
11545 echo "configure: failed program was:" >&5 | 11484 echo "configure: failed program was:" >&5 |
11546 cat conftest.$ac_ext >&5 | 11485 cat conftest.$ac_ext >&5 |
11565 fi | 11504 fi |
11566 | 11505 |
11567 } | 11506 } |
11568 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11507 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11569 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11508 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11570 echo "configure:11571: checking for dlopen in -lc" >&5 | 11509 echo "configure:11510: checking for dlopen in -lc" >&5 |
11571 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11510 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11572 | 11511 |
11573 xe_check_libs=" -lc " | 11512 xe_check_libs=" -lc " |
11574 cat > conftest.$ac_ext <<EOF | 11513 cat > conftest.$ac_ext <<EOF |
11575 #line 11576 "configure" | 11514 #line 11515 "configure" |
11576 #include "confdefs.h" | 11515 #include "confdefs.h" |
11577 /* Override any gcc2 internal prototype to avoid an error. */ | 11516 /* Override any gcc2 internal prototype to avoid an error. */ |
11578 /* We use char because int might match the return type of a gcc2 | 11517 /* We use char because int might match the return type of a gcc2 |
11579 builtin and then its argument prototype would still apply. */ | 11518 builtin and then its argument prototype would still apply. */ |
11580 char dlopen(); | 11519 char dlopen(); |
11581 | 11520 |
11582 int main() { | 11521 int main() { |
11583 dlopen() | 11522 dlopen() |
11584 ; return 0; } | 11523 ; return 0; } |
11585 EOF | 11524 EOF |
11586 if { (eval echo configure:11587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11525 if { (eval echo configure:11526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11587 rm -rf conftest* | 11526 rm -rf conftest* |
11588 eval "ac_cv_lib_$ac_lib_var=yes" | 11527 eval "ac_cv_lib_$ac_lib_var=yes" |
11589 else | 11528 else |
11590 echo "configure: failed program was:" >&5 | 11529 echo "configure: failed program was:" >&5 |
11591 cat conftest.$ac_ext >&5 | 11530 cat conftest.$ac_ext >&5 |
11610 fi | 11549 fi |
11611 | 11550 |
11612 } | 11551 } |
11613 test -z "$with_shlib" && { | 11552 test -z "$with_shlib" && { |
11614 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11553 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11615 echo "configure:11616: checking for shl_load in -ldld" >&5 | 11554 echo "configure:11555: checking for shl_load in -ldld" >&5 |
11616 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11555 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11617 | 11556 |
11618 xe_check_libs=" -ldld " | 11557 xe_check_libs=" -ldld " |
11619 cat > conftest.$ac_ext <<EOF | 11558 cat > conftest.$ac_ext <<EOF |
11620 #line 11621 "configure" | 11559 #line 11560 "configure" |
11621 #include "confdefs.h" | 11560 #include "confdefs.h" |
11622 /* Override any gcc2 internal prototype to avoid an error. */ | 11561 /* Override any gcc2 internal prototype to avoid an error. */ |
11623 /* We use char because int might match the return type of a gcc2 | 11562 /* We use char because int might match the return type of a gcc2 |
11624 builtin and then its argument prototype would still apply. */ | 11563 builtin and then its argument prototype would still apply. */ |
11625 char shl_load(); | 11564 char shl_load(); |
11626 | 11565 |
11627 int main() { | 11566 int main() { |
11628 shl_load() | 11567 shl_load() |
11629 ; return 0; } | 11568 ; return 0; } |
11630 EOF | 11569 EOF |
11631 if { (eval echo configure:11632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11570 if { (eval echo configure:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11632 rm -rf conftest* | 11571 rm -rf conftest* |
11633 eval "ac_cv_lib_$ac_lib_var=yes" | 11572 eval "ac_cv_lib_$ac_lib_var=yes" |
11634 else | 11573 else |
11635 echo "configure: failed program was:" >&5 | 11574 echo "configure: failed program was:" >&5 |
11636 cat conftest.$ac_ext >&5 | 11575 cat conftest.$ac_ext >&5 |
11655 fi | 11594 fi |
11656 | 11595 |
11657 } | 11596 } |
11658 test -z "$with_shlib" && { | 11597 test -z "$with_shlib" && { |
11659 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11598 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11660 echo "configure:11661: checking for dld_init in -ldld" >&5 | 11599 echo "configure:11600: checking for dld_init in -ldld" >&5 |
11661 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11600 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11662 | 11601 |
11663 xe_check_libs=" -ldld " | 11602 xe_check_libs=" -ldld " |
11664 cat > conftest.$ac_ext <<EOF | 11603 cat > conftest.$ac_ext <<EOF |
11665 #line 11666 "configure" | 11604 #line 11605 "configure" |
11666 #include "confdefs.h" | 11605 #include "confdefs.h" |
11667 /* Override any gcc2 internal prototype to avoid an error. */ | 11606 /* Override any gcc2 internal prototype to avoid an error. */ |
11668 /* We use char because int might match the return type of a gcc2 | 11607 /* We use char because int might match the return type of a gcc2 |
11669 builtin and then its argument prototype would still apply. */ | 11608 builtin and then its argument prototype would still apply. */ |
11670 char dld_init(); | 11609 char dld_init(); |
11671 | 11610 |
11672 int main() { | 11611 int main() { |
11673 dld_init() | 11612 dld_init() |
11674 ; return 0; } | 11613 ; return 0; } |
11675 EOF | 11614 EOF |
11676 if { (eval echo configure:11677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11615 if { (eval echo configure:11616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11677 rm -rf conftest* | 11616 rm -rf conftest* |
11678 eval "ac_cv_lib_$ac_lib_var=yes" | 11617 eval "ac_cv_lib_$ac_lib_var=yes" |
11679 else | 11618 else |
11680 echo "configure: failed program was:" >&5 | 11619 echo "configure: failed program was:" >&5 |
11681 cat conftest.$ac_ext >&5 | 11620 cat conftest.$ac_ext >&5 |
11721 dll_lflags="-shared" | 11660 dll_lflags="-shared" |
11722 dll_cflags="-r" | 11661 dll_cflags="-r" |
11723 dll_oflags="-o " | 11662 dll_oflags="-o " |
11724 | 11663 |
11725 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11664 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11726 echo "configure:11727: checking how to build a shared library" >&5 | 11665 echo "configure:11666: checking how to build a shared library" >&5 |
11727 case `uname -rs` in | 11666 case `uname -rs` in |
11728 UNIX_SV*|UNIX_System_V*) | 11667 UNIX_SV*|UNIX_System_V*) |
11729 dll_lflags="-G" | 11668 dll_lflags="-G" |
11730 dll_cflags=-Kpic | 11669 dll_cflags=-Kpic |
11731 dll_ld="ld" | 11670 dll_ld="ld" |
11812 | 11751 |
11813 | 11752 |
11814 for ac_func in dlerror | 11753 for ac_func in dlerror |
11815 do | 11754 do |
11816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11817 echo "configure:11818: checking for $ac_func" >&5 | 11756 echo "configure:11757: checking for $ac_func" >&5 |
11818 | 11757 |
11819 cat > conftest.$ac_ext <<EOF | 11758 cat > conftest.$ac_ext <<EOF |
11820 #line 11821 "configure" | 11759 #line 11760 "configure" |
11821 #include "confdefs.h" | 11760 #include "confdefs.h" |
11822 /* System header to define __stub macros and hopefully few prototypes, | 11761 /* System header to define __stub macros and hopefully few prototypes, |
11823 which can conflict with char $ac_func(); below. */ | 11762 which can conflict with char $ac_func(); below. */ |
11824 #include <assert.h> | 11763 #include <assert.h> |
11825 /* Override any gcc2 internal prototype to avoid an error. */ | 11764 /* Override any gcc2 internal prototype to avoid an error. */ |
11838 $ac_func(); | 11777 $ac_func(); |
11839 #endif | 11778 #endif |
11840 | 11779 |
11841 ; return 0; } | 11780 ; return 0; } |
11842 EOF | 11781 EOF |
11843 if { (eval echo configure:11844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11782 if { (eval echo configure:11783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11844 rm -rf conftest* | 11783 rm -rf conftest* |
11845 eval "ac_cv_func_$ac_func=yes" | 11784 eval "ac_cv_func_$ac_func=yes" |
11846 else | 11785 else |
11847 echo "configure: failed program was:" >&5 | 11786 echo "configure: failed program was:" >&5 |
11848 cat conftest.$ac_ext >&5 | 11787 cat conftest.$ac_ext >&5 |
11874 *) ;; | 11813 *) ;; |
11875 esac | 11814 esac |
11876 fi | 11815 fi |
11877 | 11816 |
11878 cat > conftest.$ac_ext <<EOF | 11817 cat > conftest.$ac_ext <<EOF |
11879 #line 11880 "configure" | 11818 #line 11819 "configure" |
11880 #include "confdefs.h" | 11819 #include "confdefs.h" |
11881 int main(int c,char *v[]){return 0;} | 11820 int main(int c,char *v[]){return 0;} |
11882 EOF | 11821 EOF |
11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11822 if { (eval echo configure:11823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11884 then | 11823 then |
11885 : | 11824 : |
11886 else | 11825 else |
11887 conftest_rc="$?" | 11826 conftest_rc="$?" |
11888 echo "configure: failed program was:" >&5 | 11827 echo "configure: failed program was:" >&5 |
11988 done ) ;; | 11927 done ) ;; |
11989 * ) test -d "$dir" || mkdir "$dir" ;; | 11928 * ) test -d "$dir" || mkdir "$dir" ;; |
11990 esac | 11929 esac |
11991 | 11930 |
11992 T="" | 11931 T="" |
11993 for W in $SUBDIR_MAKEFILES $dir/Makefile; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 11932 for W in $SUBDIR_MAKEFILES $dir/Makefile $dir/GNUmakefile; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
11994 SUBDIR_MAKEFILES="$T" | 11933 SUBDIR_MAKEFILES="$T" |
11995 | 11934 |
11996 | 11935 |
11997 T="" | 11936 T="" |
11998 for W in $internal_makefile_list $dir/Makefile.in; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 11937 for W in $internal_makefile_list $dir/Makefile.in; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |