Mercurial > hg > xemacs-beta
comparison configure @ 201:eb5470882647 r20-3b27
Import from CVS: tag r20-3b27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:01:22 +0200 |
parents | acd284d43ca1 |
children | 850242ba4a81 |
comparison
equal
deleted
inserted
replaced
200:f0deb0c0e6be | 201:eb5470882647 |
---|---|
2144 #ifndef C_SWITCH_SYSTEM | 2144 #ifndef C_SWITCH_SYSTEM |
2145 #define C_SWITCH_SYSTEM | 2145 #define C_SWITCH_SYSTEM |
2146 #endif | 2146 #endif |
2147 configure___ c_switch_system=C_SWITCH_SYSTEM | 2147 configure___ c_switch_system=C_SWITCH_SYSTEM |
2148 | 2148 |
2149 #ifndef C_SWITCH_X_SYSTEM | |
2150 #define C_SWITCH_X_SYSTEM | |
2151 #endif | |
2152 configure___ c_switch_x_system=C_SWITCH_X_SYSTEM | |
2153 | |
2154 | 2149 |
2155 #ifndef LD_SWITCH_MACHINE | 2150 #ifndef LD_SWITCH_MACHINE |
2156 #define LD_SWITCH_MACHINE | 2151 #define LD_SWITCH_MACHINE |
2157 #endif | 2152 #endif |
2158 configure___ ld_switch_machine=LD_SWITCH_MACHINE | 2153 configure___ ld_switch_machine=LD_SWITCH_MACHINE |
2159 | 2154 |
2160 #ifndef LD_SWITCH_SYSTEM | 2155 #ifndef LD_SWITCH_SYSTEM |
2161 #define LD_SWITCH_SYSTEM | 2156 #define LD_SWITCH_SYSTEM |
2162 #endif | 2157 #endif |
2163 configure___ ld_switch_system=LD_SWITCH_SYSTEM | 2158 configure___ ld_switch_system=LD_SWITCH_SYSTEM |
2164 | |
2165 #ifndef LD_SWITCH_X_SYSTEM | |
2166 #define LD_SWITCH_X_SYSTEM | |
2167 #endif | |
2168 configure___ ld_switch_x_system=LD_SWITCH_X_SYSTEM | |
2169 | 2159 |
2170 | 2160 |
2171 #ifndef UNEXEC | 2161 #ifndef UNEXEC |
2172 #define UNEXEC "unexec.o" | 2162 #define UNEXEC "unexec.o" |
2173 #endif | 2163 #endif |
2290 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 2280 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
2291 | 2281 |
2292 rm $tempcname | 2282 rm $tempcname |
2293 | 2283 |
2294 test "$extra_verbose" = "yes" && \ | 2284 test "$extra_verbose" = "yes" && \ |
2295 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system c_switch_x_system ld_switch_machine ld_switch_system ld_switch_x_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" | 2285 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" |
2296 | 2286 |
2297 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" | 2287 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" |
2298 | 2288 |
2299 if test -z "$CFLAGS"; then | 2289 if test -z "$CFLAGS"; then |
2300 if test "$GCC" = "yes"; then | 2290 if test "$GCC" = "yes"; then |
2355 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2345 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2356 echo " xemacs will be linked with \"$unexec\"" | 2346 echo " xemacs will be linked with \"$unexec\"" |
2357 fi | 2347 fi |
2358 | 2348 |
2359 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2349 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2360 echo "configure:2361: checking for dynodump" >&5 | 2350 echo "configure:2351: checking for dynodump" >&5 |
2361 if test "$unexec" != "unexsol2.o"; then | 2351 if test "$unexec" != "unexsol2.o"; then |
2362 echo "$ac_t""no" 1>&6 | 2352 echo "$ac_t""no" 1>&6 |
2363 else | 2353 else |
2364 echo "$ac_t""yes" 1>&6 | 2354 echo "$ac_t""yes" 1>&6 |
2365 { test "$extra_verbose" = "yes" && cat << \EOF | 2355 { test "$extra_verbose" = "yes" && cat << \EOF |
2426 esac | 2416 esac |
2427 fi | 2417 fi |
2428 | 2418 |
2429 if test "$add_runtime_path" = "yes"; then | 2419 if test "$add_runtime_path" = "yes"; then |
2430 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2420 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2431 echo "configure:2432: checking "for runtime libraries flag"" >&5 | 2421 echo "configure:2422: checking "for runtime libraries flag"" >&5 |
2432 dash_r="" | 2422 dash_r="" |
2433 for try_dash_r in "-R" "-R " "-rpath "; do | 2423 for try_dash_r in "-R" "-R " "-rpath "; do |
2434 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2424 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2435 cat > conftest.$ac_ext <<EOF | 2425 cat > conftest.$ac_ext <<EOF |
2436 #line 2437 "configure" | 2426 #line 2427 "configure" |
2437 #include "confdefs.h" | 2427 #include "confdefs.h" |
2438 | 2428 |
2439 int main() { | 2429 int main() { |
2440 | 2430 |
2441 ; return 0; } | 2431 ; return 0; } |
2442 EOF | 2432 EOF |
2443 if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2433 if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2444 rm -rf conftest* | 2434 rm -rf conftest* |
2445 dash_r="$try_dash_r" | 2435 dash_r="$try_dash_r" |
2446 else | 2436 else |
2447 echo "configure: failed program was:" >&5 | 2437 echo "configure: failed program was:" >&5 |
2448 cat conftest.$ac_ext >&5 | 2438 cat conftest.$ac_ext >&5 |
2536 | 2526 |
2537 | 2527 |
2538 # Extract the first word of "ranlib", so it can be a program name with args. | 2528 # Extract the first word of "ranlib", so it can be a program name with args. |
2539 set dummy ranlib; ac_word=$2 | 2529 set dummy ranlib; ac_word=$2 |
2540 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2530 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2541 echo "configure:2542: checking for $ac_word" >&5 | 2531 echo "configure:2532: checking for $ac_word" >&5 |
2542 | 2532 |
2543 if test -n "$RANLIB"; then | 2533 if test -n "$RANLIB"; then |
2544 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2534 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2545 else | 2535 else |
2546 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2536 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2589 # AIX /bin/install | 2579 # AIX /bin/install |
2590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2580 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2581 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2592 # ./install, which can be erroneously created by make from ./install.sh. | 2582 # ./install, which can be erroneously created by make from ./install.sh. |
2593 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2583 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2594 echo "configure:2595: checking for a BSD compatible install" >&5 | 2584 echo "configure:2585: checking for a BSD compatible install" >&5 |
2595 if test -z "$INSTALL"; then | 2585 if test -z "$INSTALL"; then |
2596 | 2586 |
2597 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2587 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2598 for ac_dir in $PATH; do | 2588 for ac_dir in $PATH; do |
2599 # Account for people who put trailing slashes in PATH elements. | 2589 # Account for people who put trailing slashes in PATH elements. |
2640 for ac_prog in 'bison -y' byacc | 2630 for ac_prog in 'bison -y' byacc |
2641 do | 2631 do |
2642 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2632 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2643 set dummy $ac_prog; ac_word=$2 | 2633 set dummy $ac_prog; ac_word=$2 |
2644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2634 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2645 echo "configure:2646: checking for $ac_word" >&5 | 2635 echo "configure:2636: checking for $ac_word" >&5 |
2646 | 2636 |
2647 if test -n "$YACC"; then | 2637 if test -n "$YACC"; then |
2648 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2638 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2649 else | 2639 else |
2650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2640 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2671 | 2661 |
2672 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2662 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2673 do | 2663 do |
2674 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2664 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2665 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2676 echo "configure:2677: checking for $ac_hdr" >&5 | 2666 echo "configure:2667: checking for $ac_hdr" >&5 |
2677 | 2667 |
2678 cat > conftest.$ac_ext <<EOF | 2668 cat > conftest.$ac_ext <<EOF |
2679 #line 2680 "configure" | 2669 #line 2670 "configure" |
2680 #include "confdefs.h" | 2670 #include "confdefs.h" |
2681 #include <$ac_hdr> | 2671 #include <$ac_hdr> |
2682 EOF | 2672 EOF |
2683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2684 { (eval echo configure:2685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2674 { (eval echo configure:2675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2685 ac_err=`grep -v '^ *+' conftest.out` | 2675 ac_err=`grep -v '^ *+' conftest.out` |
2686 if test -z "$ac_err"; then | 2676 if test -z "$ac_err"; then |
2687 rm -rf conftest* | 2677 rm -rf conftest* |
2688 eval "ac_cv_header_$ac_safe=yes" | 2678 eval "ac_cv_header_$ac_safe=yes" |
2689 else | 2679 else |
2712 | 2702 |
2713 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2703 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2714 do | 2704 do |
2715 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2705 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2716 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2706 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2717 echo "configure:2718: checking for $ac_hdr" >&5 | 2707 echo "configure:2708: checking for $ac_hdr" >&5 |
2718 | 2708 |
2719 cat > conftest.$ac_ext <<EOF | 2709 cat > conftest.$ac_ext <<EOF |
2720 #line 2721 "configure" | 2710 #line 2711 "configure" |
2721 #include "confdefs.h" | 2711 #include "confdefs.h" |
2722 #include <$ac_hdr> | 2712 #include <$ac_hdr> |
2723 EOF | 2713 EOF |
2724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2725 { (eval echo configure:2726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2715 { (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2726 ac_err=`grep -v '^ *+' conftest.out` | 2716 ac_err=`grep -v '^ *+' conftest.out` |
2727 if test -z "$ac_err"; then | 2717 if test -z "$ac_err"; then |
2728 rm -rf conftest* | 2718 rm -rf conftest* |
2729 eval "ac_cv_header_$ac_safe=yes" | 2719 eval "ac_cv_header_$ac_safe=yes" |
2730 else | 2720 else |
2753 | 2743 |
2754 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2744 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
2755 do | 2745 do |
2756 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2746 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2757 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2747 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2758 echo "configure:2759: checking for $ac_hdr" >&5 | 2748 echo "configure:2749: checking for $ac_hdr" >&5 |
2759 | 2749 |
2760 cat > conftest.$ac_ext <<EOF | 2750 cat > conftest.$ac_ext <<EOF |
2761 #line 2762 "configure" | 2751 #line 2752 "configure" |
2762 #include "confdefs.h" | 2752 #include "confdefs.h" |
2763 #include <$ac_hdr> | 2753 #include <$ac_hdr> |
2764 EOF | 2754 EOF |
2765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2766 { (eval echo configure:2767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2756 { (eval echo configure:2757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2767 ac_err=`grep -v '^ *+' conftest.out` | 2757 ac_err=`grep -v '^ *+' conftest.out` |
2768 if test -z "$ac_err"; then | 2758 if test -z "$ac_err"; then |
2769 rm -rf conftest* | 2759 rm -rf conftest* |
2770 eval "ac_cv_header_$ac_safe=yes" | 2760 eval "ac_cv_header_$ac_safe=yes" |
2771 else | 2761 else |
2791 echo "$ac_t""no" 1>&6 | 2781 echo "$ac_t""no" 1>&6 |
2792 fi | 2782 fi |
2793 done | 2783 done |
2794 | 2784 |
2795 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2785 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2796 echo "configure:2797: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2786 echo "configure:2787: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2797 | 2787 |
2798 cat > conftest.$ac_ext <<EOF | 2788 cat > conftest.$ac_ext <<EOF |
2799 #line 2800 "configure" | 2789 #line 2790 "configure" |
2800 #include "confdefs.h" | 2790 #include "confdefs.h" |
2801 #include <sys/types.h> | 2791 #include <sys/types.h> |
2802 #include <sys/wait.h> | 2792 #include <sys/wait.h> |
2803 #ifndef WEXITSTATUS | 2793 #ifndef WEXITSTATUS |
2804 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2794 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2810 int s; | 2800 int s; |
2811 wait (&s); | 2801 wait (&s); |
2812 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2802 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2813 ; return 0; } | 2803 ; return 0; } |
2814 EOF | 2804 EOF |
2815 if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2805 if { (eval echo configure:2806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2816 rm -rf conftest* | 2806 rm -rf conftest* |
2817 ac_cv_header_sys_wait_h=yes | 2807 ac_cv_header_sys_wait_h=yes |
2818 else | 2808 else |
2819 echo "configure: failed program was:" >&5 | 2809 echo "configure: failed program was:" >&5 |
2820 cat conftest.$ac_ext >&5 | 2810 cat conftest.$ac_ext >&5 |
2834 } | 2824 } |
2835 | 2825 |
2836 fi | 2826 fi |
2837 | 2827 |
2838 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2828 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2839 echo "configure:2840: checking for ANSI C header files" >&5 | 2829 echo "configure:2830: checking for ANSI C header files" >&5 |
2840 | 2830 |
2841 cat > conftest.$ac_ext <<EOF | 2831 cat > conftest.$ac_ext <<EOF |
2842 #line 2843 "configure" | 2832 #line 2833 "configure" |
2843 #include "confdefs.h" | 2833 #include "confdefs.h" |
2844 #include <stdlib.h> | 2834 #include <stdlib.h> |
2845 #include <stdarg.h> | 2835 #include <stdarg.h> |
2846 #include <string.h> | 2836 #include <string.h> |
2847 #include <float.h> | 2837 #include <float.h> |
2848 EOF | 2838 EOF |
2849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2850 { (eval echo configure:2851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2840 { (eval echo configure:2841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2851 ac_err=`grep -v '^ *+' conftest.out` | 2841 ac_err=`grep -v '^ *+' conftest.out` |
2852 if test -z "$ac_err"; then | 2842 if test -z "$ac_err"; then |
2853 rm -rf conftest* | 2843 rm -rf conftest* |
2854 ac_cv_header_stdc=yes | 2844 ac_cv_header_stdc=yes |
2855 else | 2845 else |
2862 rm -f conftest* | 2852 rm -f conftest* |
2863 | 2853 |
2864 if test $ac_cv_header_stdc = yes; then | 2854 if test $ac_cv_header_stdc = yes; then |
2865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2855 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2866 cat > conftest.$ac_ext <<EOF | 2856 cat > conftest.$ac_ext <<EOF |
2867 #line 2868 "configure" | 2857 #line 2858 "configure" |
2868 #include "confdefs.h" | 2858 #include "confdefs.h" |
2869 #include <string.h> | 2859 #include <string.h> |
2870 EOF | 2860 EOF |
2871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2872 egrep "memchr" >/dev/null 2>&1; then | 2862 egrep "memchr" >/dev/null 2>&1; then |
2880 fi | 2870 fi |
2881 | 2871 |
2882 if test $ac_cv_header_stdc = yes; then | 2872 if test $ac_cv_header_stdc = yes; then |
2883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2873 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2884 cat > conftest.$ac_ext <<EOF | 2874 cat > conftest.$ac_ext <<EOF |
2885 #line 2886 "configure" | 2875 #line 2876 "configure" |
2886 #include "confdefs.h" | 2876 #include "confdefs.h" |
2887 #include <stdlib.h> | 2877 #include <stdlib.h> |
2888 EOF | 2878 EOF |
2889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2890 egrep "free" >/dev/null 2>&1; then | 2880 egrep "free" >/dev/null 2>&1; then |
2898 fi | 2888 fi |
2899 | 2889 |
2900 if test $ac_cv_header_stdc = yes; then | 2890 if test $ac_cv_header_stdc = yes; then |
2901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2891 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2902 cat > conftest.$ac_ext <<EOF | 2892 cat > conftest.$ac_ext <<EOF |
2903 #line 2904 "configure" | 2893 #line 2894 "configure" |
2904 #include "confdefs.h" | 2894 #include "confdefs.h" |
2905 #include <ctype.h> | 2895 #include <ctype.h> |
2906 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2896 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2907 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2897 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2908 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2909 int main () { int i; for (i = 0; i < 256; i++) | 2899 int main () { int i; for (i = 0; i < 256; i++) |
2910 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2900 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2911 exit (0); } | 2901 exit (0); } |
2912 | 2902 |
2913 EOF | 2903 EOF |
2914 if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2904 if { (eval echo configure:2905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2915 then | 2905 then |
2916 : | 2906 : |
2917 else | 2907 else |
2918 echo "configure: failed program was:" >&5 | 2908 echo "configure: failed program was:" >&5 |
2919 cat conftest.$ac_ext >&5 | 2909 cat conftest.$ac_ext >&5 |
2934 } | 2924 } |
2935 | 2925 |
2936 fi | 2926 fi |
2937 | 2927 |
2938 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2928 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2939 echo "configure:2940: checking whether time.h and sys/time.h may both be included" >&5 | 2929 echo "configure:2930: checking whether time.h and sys/time.h may both be included" >&5 |
2940 | 2930 |
2941 cat > conftest.$ac_ext <<EOF | 2931 cat > conftest.$ac_ext <<EOF |
2942 #line 2943 "configure" | 2932 #line 2933 "configure" |
2943 #include "confdefs.h" | 2933 #include "confdefs.h" |
2944 #include <sys/types.h> | 2934 #include <sys/types.h> |
2945 #include <sys/time.h> | 2935 #include <sys/time.h> |
2946 #include <time.h> | 2936 #include <time.h> |
2947 int main() { | 2937 int main() { |
2948 struct tm *tp; | 2938 struct tm *tp; |
2949 ; return 0; } | 2939 ; return 0; } |
2950 EOF | 2940 EOF |
2951 if { (eval echo configure:2952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2941 if { (eval echo configure:2942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2952 rm -rf conftest* | 2942 rm -rf conftest* |
2953 ac_cv_header_time=yes | 2943 ac_cv_header_time=yes |
2954 else | 2944 else |
2955 echo "configure: failed program was:" >&5 | 2945 echo "configure: failed program was:" >&5 |
2956 cat conftest.$ac_ext >&5 | 2946 cat conftest.$ac_ext >&5 |
2970 } | 2960 } |
2971 | 2961 |
2972 fi | 2962 fi |
2973 | 2963 |
2974 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2964 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2975 echo "configure:2976: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2965 echo "configure:2966: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2976 | 2966 |
2977 cat > conftest.$ac_ext <<EOF | 2967 cat > conftest.$ac_ext <<EOF |
2978 #line 2979 "configure" | 2968 #line 2969 "configure" |
2979 #include "confdefs.h" | 2969 #include "confdefs.h" |
2980 #include <sys/types.h> | 2970 #include <sys/types.h> |
2981 #include <signal.h> | 2971 #include <signal.h> |
2982 /* NetBSD declares sys_siglist in unistd.h. */ | 2972 /* NetBSD declares sys_siglist in unistd.h. */ |
2983 #ifdef HAVE_UNISTD_H | 2973 #ifdef HAVE_UNISTD_H |
2985 #endif | 2975 #endif |
2986 int main() { | 2976 int main() { |
2987 char *msg = *(sys_siglist + 1); | 2977 char *msg = *(sys_siglist + 1); |
2988 ; return 0; } | 2978 ; return 0; } |
2989 EOF | 2979 EOF |
2990 if { (eval echo configure:2991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2980 if { (eval echo configure:2981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2991 rm -rf conftest* | 2981 rm -rf conftest* |
2992 ac_cv_decl_sys_siglist=yes | 2982 ac_cv_decl_sys_siglist=yes |
2993 else | 2983 else |
2994 echo "configure: failed program was:" >&5 | 2984 echo "configure: failed program was:" >&5 |
2995 cat conftest.$ac_ext >&5 | 2985 cat conftest.$ac_ext >&5 |
3010 | 3000 |
3011 fi | 3001 fi |
3012 | 3002 |
3013 | 3003 |
3014 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3004 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3015 echo "configure:3016: checking for struct utimbuf" >&5 | 3005 echo "configure:3006: checking for struct utimbuf" >&5 |
3016 cat > conftest.$ac_ext <<EOF | 3006 cat > conftest.$ac_ext <<EOF |
3017 #line 3018 "configure" | 3007 #line 3008 "configure" |
3018 #include "confdefs.h" | 3008 #include "confdefs.h" |
3019 #ifdef TIME_WITH_SYS_TIME | 3009 #ifdef TIME_WITH_SYS_TIME |
3020 #include <sys/time.h> | 3010 #include <sys/time.h> |
3021 #include <time.h> | 3011 #include <time.h> |
3022 #else | 3012 #else |
3031 #endif | 3021 #endif |
3032 int main() { | 3022 int main() { |
3033 static struct utimbuf x; x.actime = x.modtime; | 3023 static struct utimbuf x; x.actime = x.modtime; |
3034 ; return 0; } | 3024 ; return 0; } |
3035 EOF | 3025 EOF |
3036 if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3026 if { (eval echo configure:3027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3037 rm -rf conftest* | 3027 rm -rf conftest* |
3038 echo "$ac_t""yes" 1>&6 | 3028 echo "$ac_t""yes" 1>&6 |
3039 { test "$extra_verbose" = "yes" && cat << \EOF | 3029 { test "$extra_verbose" = "yes" && cat << \EOF |
3040 Defining HAVE_STRUCT_UTIMBUF | 3030 Defining HAVE_STRUCT_UTIMBUF |
3041 EOF | 3031 EOF |
3051 echo "$ac_t""no" 1>&6 | 3041 echo "$ac_t""no" 1>&6 |
3052 fi | 3042 fi |
3053 rm -f conftest* | 3043 rm -f conftest* |
3054 | 3044 |
3055 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3045 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3056 echo "configure:3057: checking return type of signal handlers" >&5 | 3046 echo "configure:3047: checking return type of signal handlers" >&5 |
3057 | 3047 |
3058 cat > conftest.$ac_ext <<EOF | 3048 cat > conftest.$ac_ext <<EOF |
3059 #line 3060 "configure" | 3049 #line 3050 "configure" |
3060 #include "confdefs.h" | 3050 #include "confdefs.h" |
3061 #include <sys/types.h> | 3051 #include <sys/types.h> |
3062 #include <signal.h> | 3052 #include <signal.h> |
3063 #ifdef signal | 3053 #ifdef signal |
3064 #undef signal | 3054 #undef signal |
3071 | 3061 |
3072 int main() { | 3062 int main() { |
3073 int i; | 3063 int i; |
3074 ; return 0; } | 3064 ; return 0; } |
3075 EOF | 3065 EOF |
3076 if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3066 if { (eval echo configure:3067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3077 rm -rf conftest* | 3067 rm -rf conftest* |
3078 ac_cv_type_signal=void | 3068 ac_cv_type_signal=void |
3079 else | 3069 else |
3080 echo "configure: failed program was:" >&5 | 3070 echo "configure: failed program was:" >&5 |
3081 cat conftest.$ac_ext >&5 | 3071 cat conftest.$ac_ext >&5 |
3093 EOF | 3083 EOF |
3094 } | 3084 } |
3095 | 3085 |
3096 | 3086 |
3097 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3087 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3098 echo "configure:3099: checking for size_t" >&5 | 3088 echo "configure:3089: checking for size_t" >&5 |
3099 | 3089 |
3100 cat > conftest.$ac_ext <<EOF | 3090 cat > conftest.$ac_ext <<EOF |
3101 #line 3102 "configure" | 3091 #line 3092 "configure" |
3102 #include "confdefs.h" | 3092 #include "confdefs.h" |
3103 #include <sys/types.h> | 3093 #include <sys/types.h> |
3104 #if STDC_HEADERS | 3094 #if STDC_HEADERS |
3105 #include <stdlib.h> | 3095 #include <stdlib.h> |
3106 #include <stddef.h> | 3096 #include <stddef.h> |
3127 } | 3117 } |
3128 | 3118 |
3129 fi | 3119 fi |
3130 | 3120 |
3131 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3121 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3132 echo "configure:3133: checking for pid_t" >&5 | 3122 echo "configure:3123: checking for pid_t" >&5 |
3133 | 3123 |
3134 cat > conftest.$ac_ext <<EOF | 3124 cat > conftest.$ac_ext <<EOF |
3135 #line 3136 "configure" | 3125 #line 3126 "configure" |
3136 #include "confdefs.h" | 3126 #include "confdefs.h" |
3137 #include <sys/types.h> | 3127 #include <sys/types.h> |
3138 #if STDC_HEADERS | 3128 #if STDC_HEADERS |
3139 #include <stdlib.h> | 3129 #include <stdlib.h> |
3140 #include <stddef.h> | 3130 #include <stddef.h> |
3161 } | 3151 } |
3162 | 3152 |
3163 fi | 3153 fi |
3164 | 3154 |
3165 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3155 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3166 echo "configure:3167: checking for uid_t in sys/types.h" >&5 | 3156 echo "configure:3157: checking for uid_t in sys/types.h" >&5 |
3167 | 3157 |
3168 cat > conftest.$ac_ext <<EOF | 3158 cat > conftest.$ac_ext <<EOF |
3169 #line 3170 "configure" | 3159 #line 3160 "configure" |
3170 #include "confdefs.h" | 3160 #include "confdefs.h" |
3171 #include <sys/types.h> | 3161 #include <sys/types.h> |
3172 EOF | 3162 EOF |
3173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3174 egrep "uid_t" >/dev/null 2>&1; then | 3164 egrep "uid_t" >/dev/null 2>&1; then |
3200 } | 3190 } |
3201 | 3191 |
3202 fi | 3192 fi |
3203 | 3193 |
3204 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3194 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3205 echo "configure:3206: checking for mode_t" >&5 | 3195 echo "configure:3196: checking for mode_t" >&5 |
3206 | 3196 |
3207 cat > conftest.$ac_ext <<EOF | 3197 cat > conftest.$ac_ext <<EOF |
3208 #line 3209 "configure" | 3198 #line 3199 "configure" |
3209 #include "confdefs.h" | 3199 #include "confdefs.h" |
3210 #include <sys/types.h> | 3200 #include <sys/types.h> |
3211 #if STDC_HEADERS | 3201 #if STDC_HEADERS |
3212 #include <stdlib.h> | 3202 #include <stdlib.h> |
3213 #include <stddef.h> | 3203 #include <stddef.h> |
3234 } | 3224 } |
3235 | 3225 |
3236 fi | 3226 fi |
3237 | 3227 |
3238 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3228 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3239 echo "configure:3240: checking for off_t" >&5 | 3229 echo "configure:3230: checking for off_t" >&5 |
3240 | 3230 |
3241 cat > conftest.$ac_ext <<EOF | 3231 cat > conftest.$ac_ext <<EOF |
3242 #line 3243 "configure" | 3232 #line 3233 "configure" |
3243 #include "confdefs.h" | 3233 #include "confdefs.h" |
3244 #include <sys/types.h> | 3234 #include <sys/types.h> |
3245 #if STDC_HEADERS | 3235 #if STDC_HEADERS |
3246 #include <stdlib.h> | 3236 #include <stdlib.h> |
3247 #include <stddef.h> | 3237 #include <stddef.h> |
3269 | 3259 |
3270 fi | 3260 fi |
3271 | 3261 |
3272 | 3262 |
3273 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3263 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3274 echo "configure:3275: checking for struct timeval" >&5 | 3264 echo "configure:3265: checking for struct timeval" >&5 |
3275 cat > conftest.$ac_ext <<EOF | 3265 cat > conftest.$ac_ext <<EOF |
3276 #line 3277 "configure" | 3266 #line 3267 "configure" |
3277 #include "confdefs.h" | 3267 #include "confdefs.h" |
3278 #ifdef TIME_WITH_SYS_TIME | 3268 #ifdef TIME_WITH_SYS_TIME |
3279 #include <sys/time.h> | 3269 #include <sys/time.h> |
3280 #include <time.h> | 3270 #include <time.h> |
3281 #else | 3271 #else |
3287 #endif | 3277 #endif |
3288 int main() { | 3278 int main() { |
3289 static struct timeval x; x.tv_sec = x.tv_usec; | 3279 static struct timeval x; x.tv_sec = x.tv_usec; |
3290 ; return 0; } | 3280 ; return 0; } |
3291 EOF | 3281 EOF |
3292 if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3293 rm -rf conftest* | 3283 rm -rf conftest* |
3294 echo "$ac_t""yes" 1>&6 | 3284 echo "$ac_t""yes" 1>&6 |
3295 HAVE_TIMEVAL=yes | 3285 HAVE_TIMEVAL=yes |
3296 { test "$extra_verbose" = "yes" && cat << \EOF | 3286 { test "$extra_verbose" = "yes" && cat << \EOF |
3297 Defining HAVE_TIMEVAL | 3287 Defining HAVE_TIMEVAL |
3309 HAVE_TIMEVAL=no | 3299 HAVE_TIMEVAL=no |
3310 fi | 3300 fi |
3311 rm -f conftest* | 3301 rm -f conftest* |
3312 | 3302 |
3313 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3303 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3314 echo "configure:3315: checking whether struct tm is in sys/time.h or time.h" >&5 | 3304 echo "configure:3305: checking whether struct tm is in sys/time.h or time.h" >&5 |
3315 | 3305 |
3316 cat > conftest.$ac_ext <<EOF | 3306 cat > conftest.$ac_ext <<EOF |
3317 #line 3318 "configure" | 3307 #line 3308 "configure" |
3318 #include "confdefs.h" | 3308 #include "confdefs.h" |
3319 #include <sys/types.h> | 3309 #include <sys/types.h> |
3320 #include <time.h> | 3310 #include <time.h> |
3321 int main() { | 3311 int main() { |
3322 struct tm *tp; tp->tm_sec; | 3312 struct tm *tp; tp->tm_sec; |
3323 ; return 0; } | 3313 ; return 0; } |
3324 EOF | 3314 EOF |
3325 if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3315 if { (eval echo configure:3316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3326 rm -rf conftest* | 3316 rm -rf conftest* |
3327 ac_cv_struct_tm=time.h | 3317 ac_cv_struct_tm=time.h |
3328 else | 3318 else |
3329 echo "configure: failed program was:" >&5 | 3319 echo "configure: failed program was:" >&5 |
3330 cat conftest.$ac_ext >&5 | 3320 cat conftest.$ac_ext >&5 |
3344 } | 3334 } |
3345 | 3335 |
3346 fi | 3336 fi |
3347 | 3337 |
3348 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3338 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3349 echo "configure:3350: checking for tm_zone in struct tm" >&5 | 3339 echo "configure:3340: checking for tm_zone in struct tm" >&5 |
3350 | 3340 |
3351 cat > conftest.$ac_ext <<EOF | 3341 cat > conftest.$ac_ext <<EOF |
3352 #line 3353 "configure" | 3342 #line 3343 "configure" |
3353 #include "confdefs.h" | 3343 #include "confdefs.h" |
3354 #include <sys/types.h> | 3344 #include <sys/types.h> |
3355 #include <$ac_cv_struct_tm> | 3345 #include <$ac_cv_struct_tm> |
3356 int main() { | 3346 int main() { |
3357 struct tm tm; tm.tm_zone; | 3347 struct tm tm; tm.tm_zone; |
3358 ; return 0; } | 3348 ; return 0; } |
3359 EOF | 3349 EOF |
3360 if { (eval echo configure:3361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3350 if { (eval echo configure:3351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3361 rm -rf conftest* | 3351 rm -rf conftest* |
3362 ac_cv_struct_tm_zone=yes | 3352 ac_cv_struct_tm_zone=yes |
3363 else | 3353 else |
3364 echo "configure: failed program was:" >&5 | 3354 echo "configure: failed program was:" >&5 |
3365 cat conftest.$ac_ext >&5 | 3355 cat conftest.$ac_ext >&5 |
3378 EOF | 3368 EOF |
3379 } | 3369 } |
3380 | 3370 |
3381 else | 3371 else |
3382 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3372 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3383 echo "configure:3384: checking for tzname" >&5 | 3373 echo "configure:3374: checking for tzname" >&5 |
3384 | 3374 |
3385 cat > conftest.$ac_ext <<EOF | 3375 cat > conftest.$ac_ext <<EOF |
3386 #line 3387 "configure" | 3376 #line 3377 "configure" |
3387 #include "confdefs.h" | 3377 #include "confdefs.h" |
3388 #include <time.h> | 3378 #include <time.h> |
3389 #ifndef tzname /* For SGI. */ | 3379 #ifndef tzname /* For SGI. */ |
3390 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3380 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3391 #endif | 3381 #endif |
3392 int main() { | 3382 int main() { |
3393 atoi(*tzname); | 3383 atoi(*tzname); |
3394 ; return 0; } | 3384 ; return 0; } |
3395 EOF | 3385 EOF |
3396 if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3386 if { (eval echo configure:3387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3397 rm -rf conftest* | 3387 rm -rf conftest* |
3398 ac_cv_var_tzname=yes | 3388 ac_cv_var_tzname=yes |
3399 else | 3389 else |
3400 echo "configure: failed program was:" >&5 | 3390 echo "configure: failed program was:" >&5 |
3401 cat conftest.$ac_ext >&5 | 3391 cat conftest.$ac_ext >&5 |
3417 fi | 3407 fi |
3418 fi | 3408 fi |
3419 | 3409 |
3420 | 3410 |
3421 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3411 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3422 echo "configure:3423: checking for working const" >&5 | 3412 echo "configure:3413: checking for working const" >&5 |
3423 | 3413 |
3424 cat > conftest.$ac_ext <<EOF | 3414 cat > conftest.$ac_ext <<EOF |
3425 #line 3426 "configure" | 3415 #line 3416 "configure" |
3426 #include "confdefs.h" | 3416 #include "confdefs.h" |
3427 | 3417 |
3428 int main() { | 3418 int main() { |
3429 | 3419 |
3430 /* Ultrix mips cc rejects this. */ | 3420 /* Ultrix mips cc rejects this. */ |
3469 const int foo = 10; | 3459 const int foo = 10; |
3470 } | 3460 } |
3471 | 3461 |
3472 ; return 0; } | 3462 ; return 0; } |
3473 EOF | 3463 EOF |
3474 if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3464 if { (eval echo configure:3465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3475 rm -rf conftest* | 3465 rm -rf conftest* |
3476 ac_cv_c_const=yes | 3466 ac_cv_c_const=yes |
3477 else | 3467 else |
3478 echo "configure: failed program was:" >&5 | 3468 echo "configure: failed program was:" >&5 |
3479 cat conftest.$ac_ext >&5 | 3469 cat conftest.$ac_ext >&5 |
3494 | 3484 |
3495 fi | 3485 fi |
3496 | 3486 |
3497 | 3487 |
3498 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3488 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3499 echo "configure:3500: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3489 echo "configure:3490: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3500 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3490 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3501 | 3491 |
3502 cat > conftestmake <<\EOF | 3492 cat > conftestmake <<\EOF |
3503 all: | 3493 all: |
3504 @echo 'ac_maketemp="${MAKE}"' | 3494 @echo 'ac_maketemp="${MAKE}"' |
3519 SET_MAKE="MAKE=${MAKE-make}" | 3509 SET_MAKE="MAKE=${MAKE-make}" |
3520 fi | 3510 fi |
3521 | 3511 |
3522 | 3512 |
3523 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3513 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3524 echo "configure:3525: checking whether byte ordering is bigendian" >&5 | 3514 echo "configure:3515: checking whether byte ordering is bigendian" >&5 |
3525 | 3515 |
3526 ac_cv_c_bigendian=unknown | 3516 ac_cv_c_bigendian=unknown |
3527 # See if sys/param.h defines the BYTE_ORDER macro. | 3517 # See if sys/param.h defines the BYTE_ORDER macro. |
3528 cat > conftest.$ac_ext <<EOF | 3518 cat > conftest.$ac_ext <<EOF |
3529 #line 3530 "configure" | 3519 #line 3520 "configure" |
3530 #include "confdefs.h" | 3520 #include "confdefs.h" |
3531 #include <sys/types.h> | 3521 #include <sys/types.h> |
3532 #include <sys/param.h> | 3522 #include <sys/param.h> |
3533 int main() { | 3523 int main() { |
3534 | 3524 |
3535 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3525 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3536 bogus endian macros | 3526 bogus endian macros |
3537 #endif | 3527 #endif |
3538 ; return 0; } | 3528 ; return 0; } |
3539 EOF | 3529 EOF |
3540 if { (eval echo configure:3541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3530 if { (eval echo configure:3531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3541 rm -rf conftest* | 3531 rm -rf conftest* |
3542 # It does; now see whether it defined to BIG_ENDIAN or not. | 3532 # It does; now see whether it defined to BIG_ENDIAN or not. |
3543 cat > conftest.$ac_ext <<EOF | 3533 cat > conftest.$ac_ext <<EOF |
3544 #line 3545 "configure" | 3534 #line 3535 "configure" |
3545 #include "confdefs.h" | 3535 #include "confdefs.h" |
3546 #include <sys/types.h> | 3536 #include <sys/types.h> |
3547 #include <sys/param.h> | 3537 #include <sys/param.h> |
3548 int main() { | 3538 int main() { |
3549 | 3539 |
3550 #if BYTE_ORDER != BIG_ENDIAN | 3540 #if BYTE_ORDER != BIG_ENDIAN |
3551 not big endian | 3541 not big endian |
3552 #endif | 3542 #endif |
3553 ; return 0; } | 3543 ; return 0; } |
3554 EOF | 3544 EOF |
3555 if { (eval echo configure:3556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3545 if { (eval echo configure:3546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3556 rm -rf conftest* | 3546 rm -rf conftest* |
3557 ac_cv_c_bigendian=yes | 3547 ac_cv_c_bigendian=yes |
3558 else | 3548 else |
3559 echo "configure: failed program was:" >&5 | 3549 echo "configure: failed program was:" >&5 |
3560 cat conftest.$ac_ext >&5 | 3550 cat conftest.$ac_ext >&5 |
3567 cat conftest.$ac_ext >&5 | 3557 cat conftest.$ac_ext >&5 |
3568 fi | 3558 fi |
3569 rm -f conftest* | 3559 rm -f conftest* |
3570 if test $ac_cv_c_bigendian = unknown; then | 3560 if test $ac_cv_c_bigendian = unknown; then |
3571 cat > conftest.$ac_ext <<EOF | 3561 cat > conftest.$ac_ext <<EOF |
3572 #line 3573 "configure" | 3562 #line 3563 "configure" |
3573 #include "confdefs.h" | 3563 #include "confdefs.h" |
3574 main () { | 3564 main () { |
3575 /* Are we little or big endian? From Harbison&Steele. */ | 3565 /* Are we little or big endian? From Harbison&Steele. */ |
3576 union | 3566 union |
3577 { | 3567 { |
3580 } u; | 3570 } u; |
3581 u.l = 1; | 3571 u.l = 1; |
3582 exit (u.c[sizeof (long) - 1] == 1); | 3572 exit (u.c[sizeof (long) - 1] == 1); |
3583 } | 3573 } |
3584 EOF | 3574 EOF |
3585 if { (eval echo configure:3586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3575 if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3586 then | 3576 then |
3587 ac_cv_c_bigendian=no | 3577 ac_cv_c_bigendian=no |
3588 else | 3578 else |
3589 echo "configure: failed program was:" >&5 | 3579 echo "configure: failed program was:" >&5 |
3590 cat conftest.$ac_ext >&5 | 3580 cat conftest.$ac_ext >&5 |
3606 | 3596 |
3607 fi | 3597 fi |
3608 | 3598 |
3609 | 3599 |
3610 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3600 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3611 echo "configure:3612: checking size of short" >&5 | 3601 echo "configure:3602: checking size of short" >&5 |
3612 | 3602 |
3613 cat > conftest.$ac_ext <<EOF | 3603 cat > conftest.$ac_ext <<EOF |
3614 #line 3615 "configure" | 3604 #line 3605 "configure" |
3615 #include "confdefs.h" | 3605 #include "confdefs.h" |
3616 #include <stdio.h> | 3606 #include <stdio.h> |
3617 main() | 3607 main() |
3618 { | 3608 { |
3619 FILE *f=fopen("conftestval", "w"); | 3609 FILE *f=fopen("conftestval", "w"); |
3620 if (!f) exit(1); | 3610 if (!f) exit(1); |
3621 fprintf(f, "%d\n", sizeof(short)); | 3611 fprintf(f, "%d\n", sizeof(short)); |
3622 exit(0); | 3612 exit(0); |
3623 } | 3613 } |
3624 EOF | 3614 EOF |
3625 if { (eval echo configure:3626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3615 if { (eval echo configure:3616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3626 then | 3616 then |
3627 ac_cv_sizeof_short=`cat conftestval` | 3617 ac_cv_sizeof_short=`cat conftestval` |
3628 else | 3618 else |
3629 echo "configure: failed program was:" >&5 | 3619 echo "configure: failed program was:" >&5 |
3630 cat conftest.$ac_ext >&5 | 3620 cat conftest.$ac_ext >&5 |
3647 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3637 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3648 echo "*** PANIC *** Please examine config.log for compilation errors." | 3638 echo "*** PANIC *** Please examine config.log for compilation errors." |
3649 exit 1 | 3639 exit 1 |
3650 fi | 3640 fi |
3651 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3641 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3652 echo "configure:3653: checking size of int" >&5 | 3642 echo "configure:3643: checking size of int" >&5 |
3653 | 3643 |
3654 cat > conftest.$ac_ext <<EOF | 3644 cat > conftest.$ac_ext <<EOF |
3655 #line 3656 "configure" | 3645 #line 3646 "configure" |
3656 #include "confdefs.h" | 3646 #include "confdefs.h" |
3657 #include <stdio.h> | 3647 #include <stdio.h> |
3658 main() | 3648 main() |
3659 { | 3649 { |
3660 FILE *f=fopen("conftestval", "w"); | 3650 FILE *f=fopen("conftestval", "w"); |
3661 if (!f) exit(1); | 3651 if (!f) exit(1); |
3662 fprintf(f, "%d\n", sizeof(int)); | 3652 fprintf(f, "%d\n", sizeof(int)); |
3663 exit(0); | 3653 exit(0); |
3664 } | 3654 } |
3665 EOF | 3655 EOF |
3666 if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3656 if { (eval echo configure:3657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3667 then | 3657 then |
3668 ac_cv_sizeof_int=`cat conftestval` | 3658 ac_cv_sizeof_int=`cat conftestval` |
3669 else | 3659 else |
3670 echo "configure: failed program was:" >&5 | 3660 echo "configure: failed program was:" >&5 |
3671 cat conftest.$ac_ext >&5 | 3661 cat conftest.$ac_ext >&5 |
3682 EOF | 3672 EOF |
3683 } | 3673 } |
3684 | 3674 |
3685 | 3675 |
3686 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3676 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3687 echo "configure:3688: checking size of long" >&5 | 3677 echo "configure:3678: checking size of long" >&5 |
3688 | 3678 |
3689 cat > conftest.$ac_ext <<EOF | 3679 cat > conftest.$ac_ext <<EOF |
3690 #line 3691 "configure" | 3680 #line 3681 "configure" |
3691 #include "confdefs.h" | 3681 #include "confdefs.h" |
3692 #include <stdio.h> | 3682 #include <stdio.h> |
3693 main() | 3683 main() |
3694 { | 3684 { |
3695 FILE *f=fopen("conftestval", "w"); | 3685 FILE *f=fopen("conftestval", "w"); |
3696 if (!f) exit(1); | 3686 if (!f) exit(1); |
3697 fprintf(f, "%d\n", sizeof(long)); | 3687 fprintf(f, "%d\n", sizeof(long)); |
3698 exit(0); | 3688 exit(0); |
3699 } | 3689 } |
3700 EOF | 3690 EOF |
3701 if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3691 if { (eval echo configure:3692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3702 then | 3692 then |
3703 ac_cv_sizeof_long=`cat conftestval` | 3693 ac_cv_sizeof_long=`cat conftestval` |
3704 else | 3694 else |
3705 echo "configure: failed program was:" >&5 | 3695 echo "configure: failed program was:" >&5 |
3706 cat conftest.$ac_ext >&5 | 3696 cat conftest.$ac_ext >&5 |
3717 EOF | 3707 EOF |
3718 } | 3708 } |
3719 | 3709 |
3720 | 3710 |
3721 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3711 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3722 echo "configure:3723: checking size of long long" >&5 | 3712 echo "configure:3713: checking size of long long" >&5 |
3723 | 3713 |
3724 cat > conftest.$ac_ext <<EOF | 3714 cat > conftest.$ac_ext <<EOF |
3725 #line 3726 "configure" | 3715 #line 3716 "configure" |
3726 #include "confdefs.h" | 3716 #include "confdefs.h" |
3727 #include <stdio.h> | 3717 #include <stdio.h> |
3728 main() | 3718 main() |
3729 { | 3719 { |
3730 FILE *f=fopen("conftestval", "w"); | 3720 FILE *f=fopen("conftestval", "w"); |
3731 if (!f) exit(1); | 3721 if (!f) exit(1); |
3732 fprintf(f, "%d\n", sizeof(long long)); | 3722 fprintf(f, "%d\n", sizeof(long long)); |
3733 exit(0); | 3723 exit(0); |
3734 } | 3724 } |
3735 EOF | 3725 EOF |
3736 if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3726 if { (eval echo configure:3727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3737 then | 3727 then |
3738 ac_cv_sizeof_long_long=`cat conftestval` | 3728 ac_cv_sizeof_long_long=`cat conftestval` |
3739 else | 3729 else |
3740 echo "configure: failed program was:" >&5 | 3730 echo "configure: failed program was:" >&5 |
3741 cat conftest.$ac_ext >&5 | 3731 cat conftest.$ac_ext >&5 |
3752 EOF | 3742 EOF |
3753 } | 3743 } |
3754 | 3744 |
3755 | 3745 |
3756 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3746 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3757 echo "configure:3758: checking size of void *" >&5 | 3747 echo "configure:3748: checking size of void *" >&5 |
3758 | 3748 |
3759 cat > conftest.$ac_ext <<EOF | 3749 cat > conftest.$ac_ext <<EOF |
3760 #line 3761 "configure" | 3750 #line 3751 "configure" |
3761 #include "confdefs.h" | 3751 #include "confdefs.h" |
3762 #include <stdio.h> | 3752 #include <stdio.h> |
3763 main() | 3753 main() |
3764 { | 3754 { |
3765 FILE *f=fopen("conftestval", "w"); | 3755 FILE *f=fopen("conftestval", "w"); |
3766 if (!f) exit(1); | 3756 if (!f) exit(1); |
3767 fprintf(f, "%d\n", sizeof(void *)); | 3757 fprintf(f, "%d\n", sizeof(void *)); |
3768 exit(0); | 3758 exit(0); |
3769 } | 3759 } |
3770 EOF | 3760 EOF |
3771 if { (eval echo configure:3772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3761 if { (eval echo configure:3762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3772 then | 3762 then |
3773 ac_cv_sizeof_void_p=`cat conftestval` | 3763 ac_cv_sizeof_void_p=`cat conftestval` |
3774 else | 3764 else |
3775 echo "configure: failed program was:" >&5 | 3765 echo "configure: failed program was:" >&5 |
3776 cat conftest.$ac_ext >&5 | 3766 cat conftest.$ac_ext >&5 |
3788 } | 3778 } |
3789 | 3779 |
3790 | 3780 |
3791 | 3781 |
3792 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3782 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3793 echo "configure:3794: checking for long file names" >&5 | 3783 echo "configure:3784: checking for long file names" >&5 |
3794 | 3784 |
3795 ac_cv_sys_long_file_names=yes | 3785 ac_cv_sys_long_file_names=yes |
3796 # Test for long file names in all the places we know might matter: | 3786 # Test for long file names in all the places we know might matter: |
3797 # . the current directory, where building will happen | 3787 # . the current directory, where building will happen |
3798 # $prefix/lib where we will be installing things | 3788 # $prefix/lib where we will be installing things |
3835 fi | 3825 fi |
3836 | 3826 |
3837 | 3827 |
3838 | 3828 |
3839 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3829 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
3840 echo "configure:3841: checking for sqrt in -lm" >&5 | 3830 echo "configure:3831: checking for sqrt in -lm" >&5 |
3841 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3831 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
3842 | 3832 |
3843 xe_check_libs=" -lm " | 3833 xe_check_libs=" -lm " |
3844 cat > conftest.$ac_ext <<EOF | 3834 cat > conftest.$ac_ext <<EOF |
3845 #line 3846 "configure" | 3835 #line 3836 "configure" |
3846 #include "confdefs.h" | 3836 #include "confdefs.h" |
3847 /* Override any gcc2 internal prototype to avoid an error. */ | 3837 /* Override any gcc2 internal prototype to avoid an error. */ |
3848 /* We use char because int might match the return type of a gcc2 | 3838 /* We use char because int might match the return type of a gcc2 |
3849 builtin and then its argument prototype would still apply. */ | 3839 builtin and then its argument prototype would still apply. */ |
3850 char sqrt(); | 3840 char sqrt(); |
3851 | 3841 |
3852 int main() { | 3842 int main() { |
3853 sqrt() | 3843 sqrt() |
3854 ; return 0; } | 3844 ; return 0; } |
3855 EOF | 3845 EOF |
3856 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3846 if { (eval echo configure:3847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3857 rm -rf conftest* | 3847 rm -rf conftest* |
3858 eval "ac_cv_lib_$ac_lib_var=yes" | 3848 eval "ac_cv_lib_$ac_lib_var=yes" |
3859 else | 3849 else |
3860 echo "configure: failed program was:" >&5 | 3850 echo "configure: failed program was:" >&5 |
3861 cat conftest.$ac_ext >&5 | 3851 cat conftest.$ac_ext >&5 |
3893 EOF | 3883 EOF |
3894 } | 3884 } |
3895 | 3885 |
3896 | 3886 |
3897 echo "checking type of mail spool file locking" 1>&6 | 3887 echo "checking type of mail spool file locking" 1>&6 |
3898 echo "configure:3899: checking type of mail spool file locking" >&5 | 3888 echo "configure:3889: checking type of mail spool file locking" >&5 |
3899 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3889 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3900 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3890 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3901 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3891 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3902 Defining REAL_MAIL_USE_LOCKF | 3892 Defining REAL_MAIL_USE_LOCKF |
3903 EOF | 3893 EOF |
3917 else mail_locking="dot-locking" | 3907 else mail_locking="dot-locking" |
3918 fi | 3908 fi |
3919 | 3909 |
3920 | 3910 |
3921 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3911 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3922 echo "configure:3923: checking for kstat_open in -lkstat" >&5 | 3912 echo "configure:3913: checking for kstat_open in -lkstat" >&5 |
3923 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3913 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3924 | 3914 |
3925 xe_check_libs=" -lkstat " | 3915 xe_check_libs=" -lkstat " |
3926 cat > conftest.$ac_ext <<EOF | 3916 cat > conftest.$ac_ext <<EOF |
3927 #line 3928 "configure" | 3917 #line 3918 "configure" |
3928 #include "confdefs.h" | 3918 #include "confdefs.h" |
3929 /* Override any gcc2 internal prototype to avoid an error. */ | 3919 /* Override any gcc2 internal prototype to avoid an error. */ |
3930 /* We use char because int might match the return type of a gcc2 | 3920 /* We use char because int might match the return type of a gcc2 |
3931 builtin and then its argument prototype would still apply. */ | 3921 builtin and then its argument prototype would still apply. */ |
3932 char kstat_open(); | 3922 char kstat_open(); |
3933 | 3923 |
3934 int main() { | 3924 int main() { |
3935 kstat_open() | 3925 kstat_open() |
3936 ; return 0; } | 3926 ; return 0; } |
3937 EOF | 3927 EOF |
3938 if { (eval echo configure:3939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3928 if { (eval echo configure:3929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3939 rm -rf conftest* | 3929 rm -rf conftest* |
3940 eval "ac_cv_lib_$ac_lib_var=yes" | 3930 eval "ac_cv_lib_$ac_lib_var=yes" |
3941 else | 3931 else |
3942 echo "configure: failed program was:" >&5 | 3932 echo "configure: failed program was:" >&5 |
3943 cat conftest.$ac_ext >&5 | 3933 cat conftest.$ac_ext >&5 |
3967 | 3957 |
3968 | 3958 |
3969 | 3959 |
3970 | 3960 |
3971 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3961 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
3972 echo "configure:3973: checking for kvm_read in -lkvm" >&5 | 3962 echo "configure:3963: checking for kvm_read in -lkvm" >&5 |
3973 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3963 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
3974 | 3964 |
3975 xe_check_libs=" -lkvm " | 3965 xe_check_libs=" -lkvm " |
3976 cat > conftest.$ac_ext <<EOF | 3966 cat > conftest.$ac_ext <<EOF |
3977 #line 3978 "configure" | 3967 #line 3968 "configure" |
3978 #include "confdefs.h" | 3968 #include "confdefs.h" |
3979 /* Override any gcc2 internal prototype to avoid an error. */ | 3969 /* Override any gcc2 internal prototype to avoid an error. */ |
3980 /* We use char because int might match the return type of a gcc2 | 3970 /* We use char because int might match the return type of a gcc2 |
3981 builtin and then its argument prototype would still apply. */ | 3971 builtin and then its argument prototype would still apply. */ |
3982 char kvm_read(); | 3972 char kvm_read(); |
3983 | 3973 |
3984 int main() { | 3974 int main() { |
3985 kvm_read() | 3975 kvm_read() |
3986 ; return 0; } | 3976 ; return 0; } |
3987 EOF | 3977 EOF |
3988 if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3978 if { (eval echo configure:3979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3989 rm -rf conftest* | 3979 rm -rf conftest* |
3990 eval "ac_cv_lib_$ac_lib_var=yes" | 3980 eval "ac_cv_lib_$ac_lib_var=yes" |
3991 else | 3981 else |
3992 echo "configure: failed program was:" >&5 | 3982 echo "configure: failed program was:" >&5 |
3993 cat conftest.$ac_ext >&5 | 3983 cat conftest.$ac_ext >&5 |
4017 | 4007 |
4018 | 4008 |
4019 | 4009 |
4020 | 4010 |
4021 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4011 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4022 echo "configure:4023: checking for cma_open in -lpthreads" >&5 | 4012 echo "configure:4013: checking for cma_open in -lpthreads" >&5 |
4023 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4013 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4024 | 4014 |
4025 xe_check_libs=" -lpthreads " | 4015 xe_check_libs=" -lpthreads " |
4026 cat > conftest.$ac_ext <<EOF | 4016 cat > conftest.$ac_ext <<EOF |
4027 #line 4028 "configure" | 4017 #line 4018 "configure" |
4028 #include "confdefs.h" | 4018 #include "confdefs.h" |
4029 /* Override any gcc2 internal prototype to avoid an error. */ | 4019 /* Override any gcc2 internal prototype to avoid an error. */ |
4030 /* We use char because int might match the return type of a gcc2 | 4020 /* We use char because int might match the return type of a gcc2 |
4031 builtin and then its argument prototype would still apply. */ | 4021 builtin and then its argument prototype would still apply. */ |
4032 char cma_open(); | 4022 char cma_open(); |
4033 | 4023 |
4034 int main() { | 4024 int main() { |
4035 cma_open() | 4025 cma_open() |
4036 ; return 0; } | 4026 ; return 0; } |
4037 EOF | 4027 EOF |
4038 if { (eval echo configure:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4028 if { (eval echo configure:4029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4039 rm -rf conftest* | 4029 rm -rf conftest* |
4040 eval "ac_cv_lib_$ac_lib_var=yes" | 4030 eval "ac_cv_lib_$ac_lib_var=yes" |
4041 else | 4031 else |
4042 echo "configure: failed program was:" >&5 | 4032 echo "configure: failed program was:" >&5 |
4043 cat conftest.$ac_ext >&5 | 4033 cat conftest.$ac_ext >&5 |
4069 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4059 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
4070 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4060 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
4071 fi | 4061 fi |
4072 | 4062 |
4073 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4063 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4074 echo "configure:4075: checking whether the -xildoff compiler flag is required" >&5 | 4064 echo "configure:4065: checking whether the -xildoff compiler flag is required" >&5 |
4075 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4065 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4076 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4066 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4077 then echo "$ac_t""no" 1>&6; | 4067 then echo "$ac_t""no" 1>&6; |
4078 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 4068 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
4079 fi | 4069 fi |
4080 else echo "$ac_t""no" 1>&6 | 4070 else echo "$ac_t""no" 1>&6 |
4081 fi | 4071 fi |
4082 | 4072 |
4083 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4073 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4084 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4074 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4085 echo "configure:4086: checking for \"-z ignore\" linker flag" >&5 | 4075 echo "configure:4076: checking for \"-z ignore\" linker flag" >&5 |
4086 case "`ld -h 2>&1`" in | 4076 case "`ld -h 2>&1`" in |
4087 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4077 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4088 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4078 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4089 *) echo "$ac_t""no" 1>&6 ;; | 4079 *) echo "$ac_t""no" 1>&6 ;; |
4090 esac | 4080 esac |
4091 fi | 4081 fi |
4092 | 4082 |
4093 | 4083 |
4094 echo "checking "for specified window system"" 1>&6 | 4084 echo "checking "for specified window system"" 1>&6 |
4095 echo "configure:4096: checking "for specified window system"" >&5 | 4085 echo "configure:4086: checking "for specified window system"" >&5 |
4096 | 4086 |
4097 if test "$with_x11" != "no"; then | 4087 if test "$with_x11" != "no"; then |
4098 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4088 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4099 window_system=x11 with_x11=yes | 4089 window_system=x11 with_x11=yes |
4100 | 4090 |
4120 # If we find X, set shell vars x_includes and x_libraries to the | 4110 # If we find X, set shell vars x_includes and x_libraries to the |
4121 # paths, otherwise set no_x=yes. | 4111 # paths, otherwise set no_x=yes. |
4122 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4112 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4123 # --without-x overrides everything else, but does not touch the cache. | 4113 # --without-x overrides everything else, but does not touch the cache. |
4124 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4114 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4125 echo "configure:4126: checking for X" >&5 | 4115 echo "configure:4116: checking for X" >&5 |
4126 | 4116 |
4127 # Check whether --with-x or --without-x was given. | 4117 # Check whether --with-x or --without-x was given. |
4128 if test "${with_x+set}" = set; then | 4118 if test "${with_x+set}" = set; then |
4129 withval="$with_x" | 4119 withval="$with_x" |
4130 : | 4120 : |
4180 # Guess where to find include files, by looking for this one X11 .h file. | 4170 # Guess where to find include files, by looking for this one X11 .h file. |
4181 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4171 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4182 | 4172 |
4183 # First, try using that file with no special directory specified. | 4173 # First, try using that file with no special directory specified. |
4184 cat > conftest.$ac_ext <<EOF | 4174 cat > conftest.$ac_ext <<EOF |
4185 #line 4186 "configure" | 4175 #line 4176 "configure" |
4186 #include "confdefs.h" | 4176 #include "confdefs.h" |
4187 #include <$x_direct_test_include> | 4177 #include <$x_direct_test_include> |
4188 EOF | 4178 EOF |
4189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4190 { (eval echo configure:4191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4180 { (eval echo configure:4181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4191 ac_err=`grep -v '^ *+' conftest.out` | 4181 ac_err=`grep -v '^ *+' conftest.out` |
4192 if test -z "$ac_err"; then | 4182 if test -z "$ac_err"; then |
4193 rm -rf conftest* | 4183 rm -rf conftest* |
4194 # We can compile using X headers with no special include directory. | 4184 # We can compile using X headers with no special include directory. |
4195 ac_x_includes= | 4185 ac_x_includes= |
4254 # See if we find them without any special options. | 4244 # See if we find them without any special options. |
4255 # Don't add to $LIBS permanently. | 4245 # Don't add to $LIBS permanently. |
4256 ac_save_LIBS="$LIBS" | 4246 ac_save_LIBS="$LIBS" |
4257 LIBS="-l$x_direct_test_library $LIBS" | 4247 LIBS="-l$x_direct_test_library $LIBS" |
4258 cat > conftest.$ac_ext <<EOF | 4248 cat > conftest.$ac_ext <<EOF |
4259 #line 4260 "configure" | 4249 #line 4250 "configure" |
4260 #include "confdefs.h" | 4250 #include "confdefs.h" |
4261 | 4251 |
4262 int main() { | 4252 int main() { |
4263 ${x_direct_test_function}() | 4253 ${x_direct_test_function}() |
4264 ; return 0; } | 4254 ; return 0; } |
4265 EOF | 4255 EOF |
4266 if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4256 if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4267 rm -rf conftest* | 4257 rm -rf conftest* |
4268 LIBS="$ac_save_LIBS" | 4258 LIBS="$ac_save_LIBS" |
4269 # We can link X programs with no special library path. | 4259 # We can link X programs with no special library path. |
4270 ac_x_libraries= | 4260 ac_x_libraries= |
4271 else | 4261 else |
4370 # For Solaris; some versions of Sun CC require a space after -R and | 4360 # For Solaris; some versions of Sun CC require a space after -R and |
4371 # others require no space. Words are not sufficient . . . . | 4361 # others require no space. Words are not sufficient . . . . |
4372 case "`(uname -sr) 2>/dev/null`" in | 4362 case "`(uname -sr) 2>/dev/null`" in |
4373 "SunOS 5"*) | 4363 "SunOS 5"*) |
4374 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4364 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4375 echo "configure:4376: checking whether -R must be followed by a space" >&5 | 4365 echo "configure:4366: checking whether -R must be followed by a space" >&5 |
4376 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4366 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4377 cat > conftest.$ac_ext <<EOF | 4367 cat > conftest.$ac_ext <<EOF |
4378 #line 4379 "configure" | 4368 #line 4369 "configure" |
4379 #include "confdefs.h" | 4369 #include "confdefs.h" |
4380 | 4370 |
4381 int main() { | 4371 int main() { |
4382 | 4372 |
4383 ; return 0; } | 4373 ; return 0; } |
4384 EOF | 4374 EOF |
4385 if { (eval echo configure:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4375 if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4386 rm -rf conftest* | 4376 rm -rf conftest* |
4387 ac_R_nospace=yes | 4377 ac_R_nospace=yes |
4388 else | 4378 else |
4389 echo "configure: failed program was:" >&5 | 4379 echo "configure: failed program was:" >&5 |
4390 cat conftest.$ac_ext >&5 | 4380 cat conftest.$ac_ext >&5 |
4396 echo "$ac_t""no" 1>&6 | 4386 echo "$ac_t""no" 1>&6 |
4397 X_LIBS="$X_LIBS -R$x_libraries" | 4387 X_LIBS="$X_LIBS -R$x_libraries" |
4398 else | 4388 else |
4399 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4389 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4400 cat > conftest.$ac_ext <<EOF | 4390 cat > conftest.$ac_ext <<EOF |
4401 #line 4402 "configure" | 4391 #line 4392 "configure" |
4402 #include "confdefs.h" | 4392 #include "confdefs.h" |
4403 | 4393 |
4404 int main() { | 4394 int main() { |
4405 | 4395 |
4406 ; return 0; } | 4396 ; return 0; } |
4407 EOF | 4397 EOF |
4408 if { (eval echo configure:4409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4398 if { (eval echo configure:4399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4409 rm -rf conftest* | 4399 rm -rf conftest* |
4410 ac_R_space=yes | 4400 ac_R_space=yes |
4411 else | 4401 else |
4412 echo "configure: failed program was:" >&5 | 4402 echo "configure: failed program was:" >&5 |
4413 cat conftest.$ac_ext >&5 | 4403 cat conftest.$ac_ext >&5 |
4439 if test "$with_dnet" = "no" ; then | 4429 if test "$with_dnet" = "no" ; then |
4440 ac_cv_lib_dnet_dnet_ntoa=no | 4430 ac_cv_lib_dnet_dnet_ntoa=no |
4441 else | 4431 else |
4442 | 4432 |
4443 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4433 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4444 echo "configure:4445: checking for dnet_ntoa in -ldnet" >&5 | 4434 echo "configure:4435: checking for dnet_ntoa in -ldnet" >&5 |
4445 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4435 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4446 | 4436 |
4447 xe_check_libs=" -ldnet " | 4437 xe_check_libs=" -ldnet " |
4448 cat > conftest.$ac_ext <<EOF | 4438 cat > conftest.$ac_ext <<EOF |
4449 #line 4450 "configure" | 4439 #line 4440 "configure" |
4450 #include "confdefs.h" | 4440 #include "confdefs.h" |
4451 /* Override any gcc2 internal prototype to avoid an error. */ | 4441 /* Override any gcc2 internal prototype to avoid an error. */ |
4452 /* We use char because int might match the return type of a gcc2 | 4442 /* We use char because int might match the return type of a gcc2 |
4453 builtin and then its argument prototype would still apply. */ | 4443 builtin and then its argument prototype would still apply. */ |
4454 char dnet_ntoa(); | 4444 char dnet_ntoa(); |
4455 | 4445 |
4456 int main() { | 4446 int main() { |
4457 dnet_ntoa() | 4447 dnet_ntoa() |
4458 ; return 0; } | 4448 ; return 0; } |
4459 EOF | 4449 EOF |
4460 if { (eval echo configure:4461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4450 if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4461 rm -rf conftest* | 4451 rm -rf conftest* |
4462 eval "ac_cv_lib_$ac_lib_var=yes" | 4452 eval "ac_cv_lib_$ac_lib_var=yes" |
4463 else | 4453 else |
4464 echo "configure: failed program was:" >&5 | 4454 echo "configure: failed program was:" >&5 |
4465 cat conftest.$ac_ext >&5 | 4455 cat conftest.$ac_ext >&5 |
4479 fi | 4469 fi |
4480 | 4470 |
4481 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4471 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4482 | 4472 |
4483 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4473 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4484 echo "configure:4485: checking for dnet_ntoa in -ldnet_stub" >&5 | 4474 echo "configure:4475: checking for dnet_ntoa in -ldnet_stub" >&5 |
4485 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4475 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4486 | 4476 |
4487 xe_check_libs=" -ldnet_stub " | 4477 xe_check_libs=" -ldnet_stub " |
4488 cat > conftest.$ac_ext <<EOF | 4478 cat > conftest.$ac_ext <<EOF |
4489 #line 4490 "configure" | 4479 #line 4480 "configure" |
4490 #include "confdefs.h" | 4480 #include "confdefs.h" |
4491 /* Override any gcc2 internal prototype to avoid an error. */ | 4481 /* Override any gcc2 internal prototype to avoid an error. */ |
4492 /* We use char because int might match the return type of a gcc2 | 4482 /* We use char because int might match the return type of a gcc2 |
4493 builtin and then its argument prototype would still apply. */ | 4483 builtin and then its argument prototype would still apply. */ |
4494 char dnet_ntoa(); | 4484 char dnet_ntoa(); |
4495 | 4485 |
4496 int main() { | 4486 int main() { |
4497 dnet_ntoa() | 4487 dnet_ntoa() |
4498 ; return 0; } | 4488 ; return 0; } |
4499 EOF | 4489 EOF |
4500 if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4490 if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4501 rm -rf conftest* | 4491 rm -rf conftest* |
4502 eval "ac_cv_lib_$ac_lib_var=yes" | 4492 eval "ac_cv_lib_$ac_lib_var=yes" |
4503 else | 4493 else |
4504 echo "configure: failed program was:" >&5 | 4494 echo "configure: failed program was:" >&5 |
4505 cat conftest.$ac_ext >&5 | 4495 cat conftest.$ac_ext >&5 |
4524 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4514 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4525 # needs -lnsl. | 4515 # needs -lnsl. |
4526 # The nsl library prevents programs from opening the X display | 4516 # The nsl library prevents programs from opening the X display |
4527 # on Irix 5.2, according to dickey@clark.net. | 4517 # on Irix 5.2, according to dickey@clark.net. |
4528 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4518 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4529 echo "configure:4530: checking for gethostbyname" >&5 | 4519 echo "configure:4520: checking for gethostbyname" >&5 |
4530 | 4520 |
4531 cat > conftest.$ac_ext <<EOF | 4521 cat > conftest.$ac_ext <<EOF |
4532 #line 4533 "configure" | 4522 #line 4523 "configure" |
4533 #include "confdefs.h" | 4523 #include "confdefs.h" |
4534 /* System header to define __stub macros and hopefully few prototypes, | 4524 /* System header to define __stub macros and hopefully few prototypes, |
4535 which can conflict with char gethostbyname(); below. */ | 4525 which can conflict with char gethostbyname(); below. */ |
4536 #include <assert.h> | 4526 #include <assert.h> |
4537 /* Override any gcc2 internal prototype to avoid an error. */ | 4527 /* Override any gcc2 internal prototype to avoid an error. */ |
4550 gethostbyname(); | 4540 gethostbyname(); |
4551 #endif | 4541 #endif |
4552 | 4542 |
4553 ; return 0; } | 4543 ; return 0; } |
4554 EOF | 4544 EOF |
4555 if { (eval echo configure:4556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4545 if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4556 rm -rf conftest* | 4546 rm -rf conftest* |
4557 eval "ac_cv_func_gethostbyname=yes" | 4547 eval "ac_cv_func_gethostbyname=yes" |
4558 else | 4548 else |
4559 echo "configure: failed program was:" >&5 | 4549 echo "configure: failed program was:" >&5 |
4560 cat conftest.$ac_ext >&5 | 4550 cat conftest.$ac_ext >&5 |
4571 fi | 4561 fi |
4572 | 4562 |
4573 if test $ac_cv_func_gethostbyname = no; then | 4563 if test $ac_cv_func_gethostbyname = no; then |
4574 | 4564 |
4575 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4565 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4576 echo "configure:4577: checking for gethostbyname in -lnsl" >&5 | 4566 echo "configure:4567: checking for gethostbyname in -lnsl" >&5 |
4577 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4567 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4578 | 4568 |
4579 xe_check_libs=" -lnsl " | 4569 xe_check_libs=" -lnsl " |
4580 cat > conftest.$ac_ext <<EOF | 4570 cat > conftest.$ac_ext <<EOF |
4581 #line 4582 "configure" | 4571 #line 4572 "configure" |
4582 #include "confdefs.h" | 4572 #include "confdefs.h" |
4583 /* Override any gcc2 internal prototype to avoid an error. */ | 4573 /* Override any gcc2 internal prototype to avoid an error. */ |
4584 /* We use char because int might match the return type of a gcc2 | 4574 /* We use char because int might match the return type of a gcc2 |
4585 builtin and then its argument prototype would still apply. */ | 4575 builtin and then its argument prototype would still apply. */ |
4586 char gethostbyname(); | 4576 char gethostbyname(); |
4587 | 4577 |
4588 int main() { | 4578 int main() { |
4589 gethostbyname() | 4579 gethostbyname() |
4590 ; return 0; } | 4580 ; return 0; } |
4591 EOF | 4581 EOF |
4592 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4582 if { (eval echo configure:4583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4593 rm -rf conftest* | 4583 rm -rf conftest* |
4594 eval "ac_cv_lib_$ac_lib_var=yes" | 4584 eval "ac_cv_lib_$ac_lib_var=yes" |
4595 else | 4585 else |
4596 echo "configure: failed program was:" >&5 | 4586 echo "configure: failed program was:" >&5 |
4597 cat conftest.$ac_ext >&5 | 4587 cat conftest.$ac_ext >&5 |
4617 # on later versions), says simon@lia.di.epfl.ch: it contains | 4607 # on later versions), says simon@lia.di.epfl.ch: it contains |
4618 # gethostby* variants that don't use the nameserver (or something). | 4608 # gethostby* variants that don't use the nameserver (or something). |
4619 # -lsocket must be given before -lnsl if both are needed. | 4609 # -lsocket must be given before -lnsl if both are needed. |
4620 # We assume that if connect needs -lnsl, so does gethostbyname. | 4610 # We assume that if connect needs -lnsl, so does gethostbyname. |
4621 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4611 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4622 echo "configure:4623: checking for connect" >&5 | 4612 echo "configure:4613: checking for connect" >&5 |
4623 | 4613 |
4624 cat > conftest.$ac_ext <<EOF | 4614 cat > conftest.$ac_ext <<EOF |
4625 #line 4626 "configure" | 4615 #line 4616 "configure" |
4626 #include "confdefs.h" | 4616 #include "confdefs.h" |
4627 /* System header to define __stub macros and hopefully few prototypes, | 4617 /* System header to define __stub macros and hopefully few prototypes, |
4628 which can conflict with char connect(); below. */ | 4618 which can conflict with char connect(); below. */ |
4629 #include <assert.h> | 4619 #include <assert.h> |
4630 /* Override any gcc2 internal prototype to avoid an error. */ | 4620 /* Override any gcc2 internal prototype to avoid an error. */ |
4643 connect(); | 4633 connect(); |
4644 #endif | 4634 #endif |
4645 | 4635 |
4646 ; return 0; } | 4636 ; return 0; } |
4647 EOF | 4637 EOF |
4648 if { (eval echo configure:4649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4649 rm -rf conftest* | 4639 rm -rf conftest* |
4650 eval "ac_cv_func_connect=yes" | 4640 eval "ac_cv_func_connect=yes" |
4651 else | 4641 else |
4652 echo "configure: failed program was:" >&5 | 4642 echo "configure: failed program was:" >&5 |
4653 cat conftest.$ac_ext >&5 | 4643 cat conftest.$ac_ext >&5 |
4666 if test $ac_cv_func_connect = no; then | 4656 if test $ac_cv_func_connect = no; then |
4667 | 4657 |
4668 xe_msg_checking="for connect in -lsocket" | 4658 xe_msg_checking="for connect in -lsocket" |
4669 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4659 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4670 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4660 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4671 echo "configure:4672: checking "$xe_msg_checking"" >&5 | 4661 echo "configure:4662: checking "$xe_msg_checking"" >&5 |
4672 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4662 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4673 | 4663 |
4674 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4664 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4675 cat > conftest.$ac_ext <<EOF | 4665 cat > conftest.$ac_ext <<EOF |
4676 #line 4677 "configure" | 4666 #line 4667 "configure" |
4677 #include "confdefs.h" | 4667 #include "confdefs.h" |
4678 /* Override any gcc2 internal prototype to avoid an error. */ | 4668 /* Override any gcc2 internal prototype to avoid an error. */ |
4679 /* We use char because int might match the return type of a gcc2 | 4669 /* We use char because int might match the return type of a gcc2 |
4680 builtin and then its argument prototype would still apply. */ | 4670 builtin and then its argument prototype would still apply. */ |
4681 char connect(); | 4671 char connect(); |
4682 | 4672 |
4683 int main() { | 4673 int main() { |
4684 connect() | 4674 connect() |
4685 ; return 0; } | 4675 ; return 0; } |
4686 EOF | 4676 EOF |
4687 if { (eval echo configure:4688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4677 if { (eval echo configure:4678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4688 rm -rf conftest* | 4678 rm -rf conftest* |
4689 eval "ac_cv_lib_$ac_lib_var=yes" | 4679 eval "ac_cv_lib_$ac_lib_var=yes" |
4690 else | 4680 else |
4691 echo "configure: failed program was:" >&5 | 4681 echo "configure: failed program was:" >&5 |
4692 cat conftest.$ac_ext >&5 | 4682 cat conftest.$ac_ext >&5 |
4706 | 4696 |
4707 fi | 4697 fi |
4708 | 4698 |
4709 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4699 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4710 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4700 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4711 echo "configure:4712: checking for remove" >&5 | 4701 echo "configure:4702: checking for remove" >&5 |
4712 | 4702 |
4713 cat > conftest.$ac_ext <<EOF | 4703 cat > conftest.$ac_ext <<EOF |
4714 #line 4715 "configure" | 4704 #line 4705 "configure" |
4715 #include "confdefs.h" | 4705 #include "confdefs.h" |
4716 /* System header to define __stub macros and hopefully few prototypes, | 4706 /* System header to define __stub macros and hopefully few prototypes, |
4717 which can conflict with char remove(); below. */ | 4707 which can conflict with char remove(); below. */ |
4718 #include <assert.h> | 4708 #include <assert.h> |
4719 /* Override any gcc2 internal prototype to avoid an error. */ | 4709 /* Override any gcc2 internal prototype to avoid an error. */ |
4732 remove(); | 4722 remove(); |
4733 #endif | 4723 #endif |
4734 | 4724 |
4735 ; return 0; } | 4725 ; return 0; } |
4736 EOF | 4726 EOF |
4737 if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4738 rm -rf conftest* | 4728 rm -rf conftest* |
4739 eval "ac_cv_func_remove=yes" | 4729 eval "ac_cv_func_remove=yes" |
4740 else | 4730 else |
4741 echo "configure: failed program was:" >&5 | 4731 echo "configure: failed program was:" >&5 |
4742 cat conftest.$ac_ext >&5 | 4732 cat conftest.$ac_ext >&5 |
4753 fi | 4743 fi |
4754 | 4744 |
4755 if test $ac_cv_func_remove = no; then | 4745 if test $ac_cv_func_remove = no; then |
4756 | 4746 |
4757 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4747 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4758 echo "configure:4759: checking for remove in -lposix" >&5 | 4748 echo "configure:4749: checking for remove in -lposix" >&5 |
4759 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4749 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4760 | 4750 |
4761 xe_check_libs=" -lposix " | 4751 xe_check_libs=" -lposix " |
4762 cat > conftest.$ac_ext <<EOF | 4752 cat > conftest.$ac_ext <<EOF |
4763 #line 4764 "configure" | 4753 #line 4754 "configure" |
4764 #include "confdefs.h" | 4754 #include "confdefs.h" |
4765 /* Override any gcc2 internal prototype to avoid an error. */ | 4755 /* Override any gcc2 internal prototype to avoid an error. */ |
4766 /* We use char because int might match the return type of a gcc2 | 4756 /* We use char because int might match the return type of a gcc2 |
4767 builtin and then its argument prototype would still apply. */ | 4757 builtin and then its argument prototype would still apply. */ |
4768 char remove(); | 4758 char remove(); |
4769 | 4759 |
4770 int main() { | 4760 int main() { |
4771 remove() | 4761 remove() |
4772 ; return 0; } | 4762 ; return 0; } |
4773 EOF | 4763 EOF |
4774 if { (eval echo configure:4775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4764 if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4775 rm -rf conftest* | 4765 rm -rf conftest* |
4776 eval "ac_cv_lib_$ac_lib_var=yes" | 4766 eval "ac_cv_lib_$ac_lib_var=yes" |
4777 else | 4767 else |
4778 echo "configure: failed program was:" >&5 | 4768 echo "configure: failed program was:" >&5 |
4779 cat conftest.$ac_ext >&5 | 4769 cat conftest.$ac_ext >&5 |
4793 | 4783 |
4794 fi | 4784 fi |
4795 | 4785 |
4796 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4786 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4797 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4787 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4798 echo "configure:4799: checking for shmat" >&5 | 4788 echo "configure:4789: checking for shmat" >&5 |
4799 | 4789 |
4800 cat > conftest.$ac_ext <<EOF | 4790 cat > conftest.$ac_ext <<EOF |
4801 #line 4802 "configure" | 4791 #line 4792 "configure" |
4802 #include "confdefs.h" | 4792 #include "confdefs.h" |
4803 /* System header to define __stub macros and hopefully few prototypes, | 4793 /* System header to define __stub macros and hopefully few prototypes, |
4804 which can conflict with char shmat(); below. */ | 4794 which can conflict with char shmat(); below. */ |
4805 #include <assert.h> | 4795 #include <assert.h> |
4806 /* Override any gcc2 internal prototype to avoid an error. */ | 4796 /* Override any gcc2 internal prototype to avoid an error. */ |
4819 shmat(); | 4809 shmat(); |
4820 #endif | 4810 #endif |
4821 | 4811 |
4822 ; return 0; } | 4812 ; return 0; } |
4823 EOF | 4813 EOF |
4824 if { (eval echo configure:4825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4825 rm -rf conftest* | 4815 rm -rf conftest* |
4826 eval "ac_cv_func_shmat=yes" | 4816 eval "ac_cv_func_shmat=yes" |
4827 else | 4817 else |
4828 echo "configure: failed program was:" >&5 | 4818 echo "configure: failed program was:" >&5 |
4829 cat conftest.$ac_ext >&5 | 4819 cat conftest.$ac_ext >&5 |
4840 fi | 4830 fi |
4841 | 4831 |
4842 if test $ac_cv_func_shmat = no; then | 4832 if test $ac_cv_func_shmat = no; then |
4843 | 4833 |
4844 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4834 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4845 echo "configure:4846: checking for shmat in -lipc" >&5 | 4835 echo "configure:4836: checking for shmat in -lipc" >&5 |
4846 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4836 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4847 | 4837 |
4848 xe_check_libs=" -lipc " | 4838 xe_check_libs=" -lipc " |
4849 cat > conftest.$ac_ext <<EOF | 4839 cat > conftest.$ac_ext <<EOF |
4850 #line 4851 "configure" | 4840 #line 4841 "configure" |
4851 #include "confdefs.h" | 4841 #include "confdefs.h" |
4852 /* Override any gcc2 internal prototype to avoid an error. */ | 4842 /* Override any gcc2 internal prototype to avoid an error. */ |
4853 /* We use char because int might match the return type of a gcc2 | 4843 /* We use char because int might match the return type of a gcc2 |
4854 builtin and then its argument prototype would still apply. */ | 4844 builtin and then its argument prototype would still apply. */ |
4855 char shmat(); | 4845 char shmat(); |
4856 | 4846 |
4857 int main() { | 4847 int main() { |
4858 shmat() | 4848 shmat() |
4859 ; return 0; } | 4849 ; return 0; } |
4860 EOF | 4850 EOF |
4861 if { (eval echo configure:4862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4851 if { (eval echo configure:4852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4862 rm -rf conftest* | 4852 rm -rf conftest* |
4863 eval "ac_cv_lib_$ac_lib_var=yes" | 4853 eval "ac_cv_lib_$ac_lib_var=yes" |
4864 else | 4854 else |
4865 echo "configure: failed program was:" >&5 | 4855 echo "configure: failed program was:" >&5 |
4866 cat conftest.$ac_ext >&5 | 4856 cat conftest.$ac_ext >&5 |
4890 # These have to be linked with before -lX11, unlike the other | 4880 # These have to be linked with before -lX11, unlike the other |
4891 # libraries we check for below, so use a different variable. | 4881 # libraries we check for below, so use a different variable. |
4892 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4882 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4893 | 4883 |
4894 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4884 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4895 echo "configure:4896: checking for IceConnectionNumber in -lICE" >&5 | 4885 echo "configure:4886: checking for IceConnectionNumber in -lICE" >&5 |
4896 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4886 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4897 | 4887 |
4898 xe_check_libs=" -lICE " | 4888 xe_check_libs=" -lICE " |
4899 cat > conftest.$ac_ext <<EOF | 4889 cat > conftest.$ac_ext <<EOF |
4900 #line 4901 "configure" | 4890 #line 4891 "configure" |
4901 #include "confdefs.h" | 4891 #include "confdefs.h" |
4902 /* Override any gcc2 internal prototype to avoid an error. */ | 4892 /* Override any gcc2 internal prototype to avoid an error. */ |
4903 /* We use char because int might match the return type of a gcc2 | 4893 /* We use char because int might match the return type of a gcc2 |
4904 builtin and then its argument prototype would still apply. */ | 4894 builtin and then its argument prototype would still apply. */ |
4905 char IceConnectionNumber(); | 4895 char IceConnectionNumber(); |
4906 | 4896 |
4907 int main() { | 4897 int main() { |
4908 IceConnectionNumber() | 4898 IceConnectionNumber() |
4909 ; return 0; } | 4899 ; return 0; } |
4910 EOF | 4900 EOF |
4911 if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4901 if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4912 rm -rf conftest* | 4902 rm -rf conftest* |
4913 eval "ac_cv_lib_$ac_lib_var=yes" | 4903 eval "ac_cv_lib_$ac_lib_var=yes" |
4914 else | 4904 else |
4915 echo "configure: failed program was:" >&5 | 4905 echo "configure: failed program was:" >&5 |
4916 cat conftest.$ac_ext >&5 | 4906 cat conftest.$ac_ext >&5 |
5039 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 5029 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
5040 echo | 5030 echo |
5041 fi | 5031 fi |
5042 | 5032 |
5043 echo "checking for X defines extracted by xmkmf" 1>&6 | 5033 echo "checking for X defines extracted by xmkmf" 1>&6 |
5044 echo "configure:5045: checking for X defines extracted by xmkmf" >&5 | 5034 echo "configure:5035: checking for X defines extracted by xmkmf" >&5 |
5045 rm -fr conftestdir | 5035 rm -fr conftestdir |
5046 if mkdir conftestdir; then | 5036 if mkdir conftestdir; then |
5047 cd conftestdir | 5037 cd conftestdir |
5048 cat > Imakefile <<'EOF' | 5038 cat > Imakefile <<'EOF' |
5049 xetest: | 5039 xetest: |
5071 done | 5061 done |
5072 fi | 5062 fi |
5073 | 5063 |
5074 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5064 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5075 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5065 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5076 echo "configure:5077: checking for X11/Intrinsic.h" >&5 | 5066 echo "configure:5067: checking for X11/Intrinsic.h" >&5 |
5077 | 5067 |
5078 cat > conftest.$ac_ext <<EOF | 5068 cat > conftest.$ac_ext <<EOF |
5079 #line 5080 "configure" | 5069 #line 5070 "configure" |
5080 #include "confdefs.h" | 5070 #include "confdefs.h" |
5081 #include <X11/Intrinsic.h> | 5071 #include <X11/Intrinsic.h> |
5082 EOF | 5072 EOF |
5083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5084 { (eval echo configure:5085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5074 { (eval echo configure:5075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5085 ac_err=`grep -v '^ *+' conftest.out` | 5075 ac_err=`grep -v '^ *+' conftest.out` |
5086 if test -z "$ac_err"; then | 5076 if test -z "$ac_err"; then |
5087 rm -rf conftest* | 5077 rm -rf conftest* |
5088 eval "ac_cv_header_$ac_safe=yes" | 5078 eval "ac_cv_header_$ac_safe=yes" |
5089 else | 5079 else |
5103 fi | 5093 fi |
5104 | 5094 |
5105 | 5095 |
5106 | 5096 |
5107 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5097 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5108 echo "configure:5109: checking for XOpenDisplay in -lX11" >&5 | 5098 echo "configure:5099: checking for XOpenDisplay in -lX11" >&5 |
5109 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5099 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5110 | 5100 |
5111 xe_check_libs=" -lX11 " | 5101 xe_check_libs=" -lX11 " |
5112 cat > conftest.$ac_ext <<EOF | 5102 cat > conftest.$ac_ext <<EOF |
5113 #line 5114 "configure" | 5103 #line 5104 "configure" |
5114 #include "confdefs.h" | 5104 #include "confdefs.h" |
5115 /* Override any gcc2 internal prototype to avoid an error. */ | 5105 /* Override any gcc2 internal prototype to avoid an error. */ |
5116 /* We use char because int might match the return type of a gcc2 | 5106 /* We use char because int might match the return type of a gcc2 |
5117 builtin and then its argument prototype would still apply. */ | 5107 builtin and then its argument prototype would still apply. */ |
5118 char XOpenDisplay(); | 5108 char XOpenDisplay(); |
5119 | 5109 |
5120 int main() { | 5110 int main() { |
5121 XOpenDisplay() | 5111 XOpenDisplay() |
5122 ; return 0; } | 5112 ; return 0; } |
5123 EOF | 5113 EOF |
5124 if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5114 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5125 rm -rf conftest* | 5115 rm -rf conftest* |
5126 eval "ac_cv_lib_$ac_lib_var=yes" | 5116 eval "ac_cv_lib_$ac_lib_var=yes" |
5127 else | 5117 else |
5128 echo "configure: failed program was:" >&5 | 5118 echo "configure: failed program was:" >&5 |
5129 cat conftest.$ac_ext >&5 | 5119 cat conftest.$ac_ext >&5 |
5144 if test "$have_lib_x11" != "yes"; then | 5134 if test "$have_lib_x11" != "yes"; then |
5145 | 5135 |
5146 xe_msg_checking="for XGetFontProperty in -lX11" | 5136 xe_msg_checking="for XGetFontProperty in -lX11" |
5147 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5137 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5148 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5138 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5149 echo "configure:5150: checking "$xe_msg_checking"" >&5 | 5139 echo "configure:5140: checking "$xe_msg_checking"" >&5 |
5150 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5140 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5151 | 5141 |
5152 xe_check_libs=" -lX11 -b i486-linuxaout" | 5142 xe_check_libs=" -lX11 -b i486-linuxaout" |
5153 cat > conftest.$ac_ext <<EOF | 5143 cat > conftest.$ac_ext <<EOF |
5154 #line 5155 "configure" | 5144 #line 5145 "configure" |
5155 #include "confdefs.h" | 5145 #include "confdefs.h" |
5156 /* Override any gcc2 internal prototype to avoid an error. */ | 5146 /* Override any gcc2 internal prototype to avoid an error. */ |
5157 /* We use char because int might match the return type of a gcc2 | 5147 /* We use char because int might match the return type of a gcc2 |
5158 builtin and then its argument prototype would still apply. */ | 5148 builtin and then its argument prototype would still apply. */ |
5159 char XGetFontProperty(); | 5149 char XGetFontProperty(); |
5160 | 5150 |
5161 int main() { | 5151 int main() { |
5162 XGetFontProperty() | 5152 XGetFontProperty() |
5163 ; return 0; } | 5153 ; return 0; } |
5164 EOF | 5154 EOF |
5165 if { (eval echo configure:5166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5155 if { (eval echo configure:5156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5166 rm -rf conftest* | 5156 rm -rf conftest* |
5167 eval "ac_cv_lib_$ac_lib_var=yes" | 5157 eval "ac_cv_lib_$ac_lib_var=yes" |
5168 else | 5158 else |
5169 echo "configure: failed program was:" >&5 | 5159 echo "configure: failed program was:" >&5 |
5170 cat conftest.$ac_ext >&5 | 5160 cat conftest.$ac_ext >&5 |
5187 libs_x="-lX11" | 5177 libs_x="-lX11" |
5188 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5178 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5189 | 5179 |
5190 | 5180 |
5191 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5181 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5192 echo "configure:5193: checking for XShapeSelectInput in -lXext" >&5 | 5182 echo "configure:5183: checking for XShapeSelectInput in -lXext" >&5 |
5193 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5183 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5194 | 5184 |
5195 xe_check_libs=" -lXext " | 5185 xe_check_libs=" -lXext " |
5196 cat > conftest.$ac_ext <<EOF | 5186 cat > conftest.$ac_ext <<EOF |
5197 #line 5198 "configure" | 5187 #line 5188 "configure" |
5198 #include "confdefs.h" | 5188 #include "confdefs.h" |
5199 /* Override any gcc2 internal prototype to avoid an error. */ | 5189 /* Override any gcc2 internal prototype to avoid an error. */ |
5200 /* We use char because int might match the return type of a gcc2 | 5190 /* We use char because int might match the return type of a gcc2 |
5201 builtin and then its argument prototype would still apply. */ | 5191 builtin and then its argument prototype would still apply. */ |
5202 char XShapeSelectInput(); | 5192 char XShapeSelectInput(); |
5203 | 5193 |
5204 int main() { | 5194 int main() { |
5205 XShapeSelectInput() | 5195 XShapeSelectInput() |
5206 ; return 0; } | 5196 ; return 0; } |
5207 EOF | 5197 EOF |
5208 if { (eval echo configure:5209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5209 rm -rf conftest* | 5199 rm -rf conftest* |
5210 eval "ac_cv_lib_$ac_lib_var=yes" | 5200 eval "ac_cv_lib_$ac_lib_var=yes" |
5211 else | 5201 else |
5212 echo "configure: failed program was:" >&5 | 5202 echo "configure: failed program was:" >&5 |
5213 cat conftest.$ac_ext >&5 | 5203 cat conftest.$ac_ext >&5 |
5226 | 5216 |
5227 | 5217 |
5228 | 5218 |
5229 | 5219 |
5230 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5220 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5231 echo "configure:5232: checking for XtOpenDisplay in -lXt" >&5 | 5221 echo "configure:5222: checking for XtOpenDisplay in -lXt" >&5 |
5232 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5222 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5233 | 5223 |
5234 xe_check_libs=" -lXt " | 5224 xe_check_libs=" -lXt " |
5235 cat > conftest.$ac_ext <<EOF | 5225 cat > conftest.$ac_ext <<EOF |
5236 #line 5237 "configure" | 5226 #line 5227 "configure" |
5237 #include "confdefs.h" | 5227 #include "confdefs.h" |
5238 /* Override any gcc2 internal prototype to avoid an error. */ | 5228 /* Override any gcc2 internal prototype to avoid an error. */ |
5239 /* We use char because int might match the return type of a gcc2 | 5229 /* We use char because int might match the return type of a gcc2 |
5240 builtin and then its argument prototype would still apply. */ | 5230 builtin and then its argument prototype would still apply. */ |
5241 char XtOpenDisplay(); | 5231 char XtOpenDisplay(); |
5242 | 5232 |
5243 int main() { | 5233 int main() { |
5244 XtOpenDisplay() | 5234 XtOpenDisplay() |
5245 ; return 0; } | 5235 ; return 0; } |
5246 EOF | 5236 EOF |
5247 if { (eval echo configure:5248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5237 if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5248 rm -rf conftest* | 5238 rm -rf conftest* |
5249 eval "ac_cv_lib_$ac_lib_var=yes" | 5239 eval "ac_cv_lib_$ac_lib_var=yes" |
5250 else | 5240 else |
5251 echo "configure: failed program was:" >&5 | 5241 echo "configure: failed program was:" >&5 |
5252 cat conftest.$ac_ext >&5 | 5242 cat conftest.$ac_ext >&5 |
5265 fi | 5255 fi |
5266 | 5256 |
5267 | 5257 |
5268 | 5258 |
5269 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5259 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5270 echo "configure:5271: checking the version of X11 being used" >&5 | 5260 echo "configure:5261: checking the version of X11 being used" >&5 |
5271 cat > conftest.$ac_ext <<EOF | 5261 cat > conftest.$ac_ext <<EOF |
5272 #line 5273 "configure" | 5262 #line 5263 "configure" |
5273 #include "confdefs.h" | 5263 #include "confdefs.h" |
5274 #include <X11/Intrinsic.h> | 5264 #include <X11/Intrinsic.h> |
5275 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5265 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5276 EOF | 5266 EOF |
5277 if { (eval echo configure:5278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5267 if { (eval echo configure:5268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5278 then | 5268 then |
5279 ./conftest foobar; x11_release=$? | 5269 ./conftest foobar; x11_release=$? |
5280 else | 5270 else |
5281 echo "configure: failed program was:" >&5 | 5271 echo "configure: failed program was:" >&5 |
5282 cat conftest.$ac_ext >&5 | 5272 cat conftest.$ac_ext >&5 |
5296 | 5286 |
5297 for ac_hdr in X11/Xlocale.h | 5287 for ac_hdr in X11/Xlocale.h |
5298 do | 5288 do |
5299 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5289 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5300 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5290 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5301 echo "configure:5302: checking for $ac_hdr" >&5 | 5291 echo "configure:5292: checking for $ac_hdr" >&5 |
5302 | 5292 |
5303 cat > conftest.$ac_ext <<EOF | 5293 cat > conftest.$ac_ext <<EOF |
5304 #line 5305 "configure" | 5294 #line 5295 "configure" |
5305 #include "confdefs.h" | 5295 #include "confdefs.h" |
5306 #include <$ac_hdr> | 5296 #include <$ac_hdr> |
5307 EOF | 5297 EOF |
5308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5309 { (eval echo configure:5310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5299 { (eval echo configure:5300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5310 ac_err=`grep -v '^ *+' conftest.out` | 5300 ac_err=`grep -v '^ *+' conftest.out` |
5311 if test -z "$ac_err"; then | 5301 if test -z "$ac_err"; then |
5312 rm -rf conftest* | 5302 rm -rf conftest* |
5313 eval "ac_cv_header_$ac_safe=yes" | 5303 eval "ac_cv_header_$ac_safe=yes" |
5314 else | 5304 else |
5335 fi | 5325 fi |
5336 done | 5326 done |
5337 | 5327 |
5338 | 5328 |
5339 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5329 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5340 echo "configure:5341: checking for XFree86" >&5 | 5330 echo "configure:5331: checking for XFree86" >&5 |
5341 if test -d "/usr/X386/include" -o \ | 5331 if test -d "/usr/X386/include" -o \ |
5342 -f "/etc/XF86Config" -o \ | 5332 -f "/etc/XF86Config" -o \ |
5343 -f "/etc/X11/XF86Config" -o \ | 5333 -f "/etc/X11/XF86Config" -o \ |
5344 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5334 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5345 echo "$ac_t""yes" 1>&6 | 5335 echo "$ac_t""yes" 1>&6 |
5355 echo "$ac_t""no" 1>&6 | 5345 echo "$ac_t""no" 1>&6 |
5356 fi | 5346 fi |
5357 | 5347 |
5358 test -z "$with_xmu" && { | 5348 test -z "$with_xmu" && { |
5359 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5349 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5360 echo "configure:5361: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5350 echo "configure:5351: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5361 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5351 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5362 | 5352 |
5363 xe_check_libs=" -lXmu " | 5353 xe_check_libs=" -lXmu " |
5364 cat > conftest.$ac_ext <<EOF | 5354 cat > conftest.$ac_ext <<EOF |
5365 #line 5366 "configure" | 5355 #line 5356 "configure" |
5366 #include "confdefs.h" | 5356 #include "confdefs.h" |
5367 /* Override any gcc2 internal prototype to avoid an error. */ | 5357 /* Override any gcc2 internal prototype to avoid an error. */ |
5368 /* We use char because int might match the return type of a gcc2 | 5358 /* We use char because int might match the return type of a gcc2 |
5369 builtin and then its argument prototype would still apply. */ | 5359 builtin and then its argument prototype would still apply. */ |
5370 char XmuReadBitmapDataFromFile(); | 5360 char XmuReadBitmapDataFromFile(); |
5371 | 5361 |
5372 int main() { | 5362 int main() { |
5373 XmuReadBitmapDataFromFile() | 5363 XmuReadBitmapDataFromFile() |
5374 ; return 0; } | 5364 ; return 0; } |
5375 EOF | 5365 EOF |
5376 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5366 if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5377 rm -rf conftest* | 5367 rm -rf conftest* |
5378 eval "ac_cv_lib_$ac_lib_var=yes" | 5368 eval "ac_cv_lib_$ac_lib_var=yes" |
5379 else | 5369 else |
5380 echo "configure: failed program was:" >&5 | 5370 echo "configure: failed program was:" >&5 |
5381 cat conftest.$ac_ext >&5 | 5371 cat conftest.$ac_ext >&5 |
5410 | 5400 |
5411 fi | 5401 fi |
5412 | 5402 |
5413 | 5403 |
5414 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5404 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5415 echo "configure:5416: checking for main in -lXbsd" >&5 | 5405 echo "configure:5406: checking for main in -lXbsd" >&5 |
5416 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5406 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5417 | 5407 |
5418 xe_check_libs=" -lXbsd " | 5408 xe_check_libs=" -lXbsd " |
5419 cat > conftest.$ac_ext <<EOF | 5409 cat > conftest.$ac_ext <<EOF |
5420 #line 5421 "configure" | 5410 #line 5411 "configure" |
5421 #include "confdefs.h" | 5411 #include "confdefs.h" |
5422 | 5412 |
5423 int main() { | 5413 int main() { |
5424 main() | 5414 main() |
5425 ; return 0; } | 5415 ; return 0; } |
5426 EOF | 5416 EOF |
5427 if { (eval echo configure:5428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5417 if { (eval echo configure:5418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5428 rm -rf conftest* | 5418 rm -rf conftest* |
5429 eval "ac_cv_lib_$ac_lib_var=yes" | 5419 eval "ac_cv_lib_$ac_lib_var=yes" |
5430 else | 5420 else |
5431 echo "configure: failed program was:" >&5 | 5421 echo "configure: failed program was:" >&5 |
5432 cat conftest.$ac_ext >&5 | 5422 cat conftest.$ac_ext >&5 |
5476 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5466 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5477 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5467 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5478 esac | 5468 esac |
5479 | 5469 |
5480 echo "checking for session-management option" 1>&6 | 5470 echo "checking for session-management option" 1>&6 |
5481 echo "configure:5482: checking for session-management option" >&5; | 5471 echo "configure:5472: checking for session-management option" >&5; |
5482 if test "$with_session" != "no"; then | 5472 if test "$with_session" != "no"; then |
5483 { test "$extra_verbose" = "yes" && cat << \EOF | 5473 { test "$extra_verbose" = "yes" && cat << \EOF |
5484 Defining HAVE_SESSION | 5474 Defining HAVE_SESSION |
5485 EOF | 5475 EOF |
5486 cat >> confdefs.h <<\EOF | 5476 cat >> confdefs.h <<\EOF |
5491 fi | 5481 fi |
5492 | 5482 |
5493 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5483 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5494 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5484 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5495 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5485 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5496 echo "configure:5497: checking for X11/Xauth.h" >&5 | 5486 echo "configure:5487: checking for X11/Xauth.h" >&5 |
5497 | 5487 |
5498 cat > conftest.$ac_ext <<EOF | 5488 cat > conftest.$ac_ext <<EOF |
5499 #line 5500 "configure" | 5489 #line 5490 "configure" |
5500 #include "confdefs.h" | 5490 #include "confdefs.h" |
5501 #include <X11/Xauth.h> | 5491 #include <X11/Xauth.h> |
5502 EOF | 5492 EOF |
5503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5504 { (eval echo configure:5505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5494 { (eval echo configure:5495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5505 ac_err=`grep -v '^ *+' conftest.out` | 5495 ac_err=`grep -v '^ *+' conftest.out` |
5506 if test -z "$ac_err"; then | 5496 if test -z "$ac_err"; then |
5507 rm -rf conftest* | 5497 rm -rf conftest* |
5508 eval "ac_cv_header_$ac_safe=yes" | 5498 eval "ac_cv_header_$ac_safe=yes" |
5509 else | 5499 else |
5522 with_xauth=no | 5512 with_xauth=no |
5523 fi | 5513 fi |
5524 } | 5514 } |
5525 test -z "$with_xauth" && { | 5515 test -z "$with_xauth" && { |
5526 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5516 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5527 echo "configure:5528: checking for XauGetAuthByAddr in -lXau" >&5 | 5517 echo "configure:5518: checking for XauGetAuthByAddr in -lXau" >&5 |
5528 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5518 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5529 | 5519 |
5530 xe_check_libs=" -lXau " | 5520 xe_check_libs=" -lXau " |
5531 cat > conftest.$ac_ext <<EOF | 5521 cat > conftest.$ac_ext <<EOF |
5532 #line 5533 "configure" | 5522 #line 5523 "configure" |
5533 #include "confdefs.h" | 5523 #include "confdefs.h" |
5534 /* Override any gcc2 internal prototype to avoid an error. */ | 5524 /* Override any gcc2 internal prototype to avoid an error. */ |
5535 /* We use char because int might match the return type of a gcc2 | 5525 /* We use char because int might match the return type of a gcc2 |
5536 builtin and then its argument prototype would still apply. */ | 5526 builtin and then its argument prototype would still apply. */ |
5537 char XauGetAuthByAddr(); | 5527 char XauGetAuthByAddr(); |
5538 | 5528 |
5539 int main() { | 5529 int main() { |
5540 XauGetAuthByAddr() | 5530 XauGetAuthByAddr() |
5541 ; return 0; } | 5531 ; return 0; } |
5542 EOF | 5532 EOF |
5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5533 if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5544 rm -rf conftest* | 5534 rm -rf conftest* |
5545 eval "ac_cv_lib_$ac_lib_var=yes" | 5535 eval "ac_cv_lib_$ac_lib_var=yes" |
5546 else | 5536 else |
5547 echo "configure: failed program was:" >&5 | 5537 echo "configure: failed program was:" >&5 |
5548 cat conftest.$ac_ext >&5 | 5538 cat conftest.$ac_ext >&5 |
5580 | 5570 |
5581 | 5571 |
5582 OFFIX_O="" | 5572 OFFIX_O="" |
5583 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 5573 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` |
5584 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | 5574 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 |
5585 echo "configure:5586: checking for OffiX/DragAndDrop.h" >&5 | 5575 echo "configure:5576: checking for OffiX/DragAndDrop.h" >&5 |
5586 | 5576 |
5587 cat > conftest.$ac_ext <<EOF | 5577 cat > conftest.$ac_ext <<EOF |
5588 #line 5589 "configure" | 5578 #line 5579 "configure" |
5589 #include "confdefs.h" | 5579 #include "confdefs.h" |
5590 #include <OffiX/DragAndDrop.h> | 5580 #include <OffiX/DragAndDrop.h> |
5591 EOF | 5581 EOF |
5592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5593 { (eval echo configure:5594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5583 { (eval echo configure:5584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5594 ac_err=`grep -v '^ *+' conftest.out` | 5584 ac_err=`grep -v '^ *+' conftest.out` |
5595 if test -z "$ac_err"; then | 5585 if test -z "$ac_err"; then |
5596 rm -rf conftest* | 5586 rm -rf conftest* |
5597 eval "ac_cv_header_$ac_safe=yes" | 5587 eval "ac_cv_header_$ac_safe=yes" |
5598 else | 5588 else |
5611 with_offix=no | 5601 with_offix=no |
5612 fi | 5602 fi |
5613 } | 5603 } |
5614 test -z "$with_offix" && { | 5604 test -z "$with_offix" && { |
5615 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | 5605 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 |
5616 echo "configure:5617: checking for DndInitialize in -lDnd" >&5 | 5606 echo "configure:5607: checking for DndInitialize in -lDnd" >&5 |
5617 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | 5607 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` |
5618 | 5608 |
5619 xe_check_libs=" -lDnd " | 5609 xe_check_libs=" -lDnd " |
5620 cat > conftest.$ac_ext <<EOF | 5610 cat > conftest.$ac_ext <<EOF |
5621 #line 5622 "configure" | 5611 #line 5612 "configure" |
5622 #include "confdefs.h" | 5612 #include "confdefs.h" |
5623 /* Override any gcc2 internal prototype to avoid an error. */ | 5613 /* Override any gcc2 internal prototype to avoid an error. */ |
5624 /* We use char because int might match the return type of a gcc2 | 5614 /* We use char because int might match the return type of a gcc2 |
5625 builtin and then its argument prototype would still apply. */ | 5615 builtin and then its argument prototype would still apply. */ |
5626 char DndInitialize(); | 5616 char DndInitialize(); |
5627 | 5617 |
5628 int main() { | 5618 int main() { |
5629 DndInitialize() | 5619 DndInitialize() |
5630 ; return 0; } | 5620 ; return 0; } |
5631 EOF | 5621 EOF |
5632 if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5622 if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5633 rm -rf conftest* | 5623 rm -rf conftest* |
5634 eval "ac_cv_lib_$ac_lib_var=yes" | 5624 eval "ac_cv_lib_$ac_lib_var=yes" |
5635 else | 5625 else |
5636 echo "configure: failed program was:" >&5 | 5626 echo "configure: failed program was:" >&5 |
5637 cat conftest.$ac_ext >&5 | 5627 cat conftest.$ac_ext >&5 |
5667 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5657 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5668 if test "$with_tooltalk" != "no" ; then | 5658 if test "$with_tooltalk" != "no" ; then |
5669 for dir in "" "Tt/" "desktop/" ; do | 5659 for dir in "" "Tt/" "desktop/" ; do |
5670 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5660 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5671 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5661 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5672 echo "configure:5673: checking for ${dir}tt_c.h" >&5 | 5662 echo "configure:5663: checking for ${dir}tt_c.h" >&5 |
5673 | 5663 |
5674 cat > conftest.$ac_ext <<EOF | 5664 cat > conftest.$ac_ext <<EOF |
5675 #line 5676 "configure" | 5665 #line 5666 "configure" |
5676 #include "confdefs.h" | 5666 #include "confdefs.h" |
5677 #include <${dir}tt_c.h> | 5667 #include <${dir}tt_c.h> |
5678 EOF | 5668 EOF |
5679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5680 { (eval echo configure:5681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5670 { (eval echo configure:5671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5681 ac_err=`grep -v '^ *+' conftest.out` | 5671 ac_err=`grep -v '^ *+' conftest.out` |
5682 if test -z "$ac_err"; then | 5672 if test -z "$ac_err"; then |
5683 rm -rf conftest* | 5673 rm -rf conftest* |
5684 eval "ac_cv_header_$ac_safe=yes" | 5674 eval "ac_cv_header_$ac_safe=yes" |
5685 else | 5675 else |
5704 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5694 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5705 | 5695 |
5706 xe_msg_checking="for tt_message_create in -ltt" | 5696 xe_msg_checking="for tt_message_create in -ltt" |
5707 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5697 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5708 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5698 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5709 echo "configure:5710: checking "$xe_msg_checking"" >&5 | 5699 echo "configure:5700: checking "$xe_msg_checking"" >&5 |
5710 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5700 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5711 | 5701 |
5712 xe_check_libs=" -ltt $extra_libs" | 5702 xe_check_libs=" -ltt $extra_libs" |
5713 cat > conftest.$ac_ext <<EOF | 5703 cat > conftest.$ac_ext <<EOF |
5714 #line 5715 "configure" | 5704 #line 5705 "configure" |
5715 #include "confdefs.h" | 5705 #include "confdefs.h" |
5716 /* Override any gcc2 internal prototype to avoid an error. */ | 5706 /* Override any gcc2 internal prototype to avoid an error. */ |
5717 /* We use char because int might match the return type of a gcc2 | 5707 /* We use char because int might match the return type of a gcc2 |
5718 builtin and then its argument prototype would still apply. */ | 5708 builtin and then its argument prototype would still apply. */ |
5719 char tt_message_create(); | 5709 char tt_message_create(); |
5720 | 5710 |
5721 int main() { | 5711 int main() { |
5722 tt_message_create() | 5712 tt_message_create() |
5723 ; return 0; } | 5713 ; return 0; } |
5724 EOF | 5714 EOF |
5725 if { (eval echo configure:5726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5715 if { (eval echo configure:5716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5726 rm -rf conftest* | 5716 rm -rf conftest* |
5727 eval "ac_cv_lib_$ac_lib_var=yes" | 5717 eval "ac_cv_lib_$ac_lib_var=yes" |
5728 else | 5718 else |
5729 echo "configure: failed program was:" >&5 | 5719 echo "configure: failed program was:" >&5 |
5730 cat conftest.$ac_ext >&5 | 5720 cat conftest.$ac_ext >&5 |
5769 fi | 5759 fi |
5770 fi | 5760 fi |
5771 | 5761 |
5772 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5762 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5773 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5763 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5774 echo "configure:5775: checking for Dt/Dt.h" >&5 | 5764 echo "configure:5765: checking for Dt/Dt.h" >&5 |
5775 | 5765 |
5776 cat > conftest.$ac_ext <<EOF | 5766 cat > conftest.$ac_ext <<EOF |
5777 #line 5778 "configure" | 5767 #line 5768 "configure" |
5778 #include "confdefs.h" | 5768 #include "confdefs.h" |
5779 #include <Dt/Dt.h> | 5769 #include <Dt/Dt.h> |
5780 EOF | 5770 EOF |
5781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5782 { (eval echo configure:5783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5772 { (eval echo configure:5773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5783 ac_err=`grep -v '^ *+' conftest.out` | 5773 ac_err=`grep -v '^ *+' conftest.out` |
5784 if test -z "$ac_err"; then | 5774 if test -z "$ac_err"; then |
5785 rm -rf conftest* | 5775 rm -rf conftest* |
5786 eval "ac_cv_header_$ac_safe=yes" | 5776 eval "ac_cv_header_$ac_safe=yes" |
5787 else | 5777 else |
5800 with_cde=no | 5790 with_cde=no |
5801 fi | 5791 fi |
5802 } | 5792 } |
5803 test -z "$with_cde" && { | 5793 test -z "$with_cde" && { |
5804 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5794 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5805 echo "configure:5806: checking for DtDndDragStart in -lDtSvc" >&5 | 5795 echo "configure:5796: checking for DtDndDragStart in -lDtSvc" >&5 |
5806 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5796 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5807 | 5797 |
5808 xe_check_libs=" -lDtSvc " | 5798 xe_check_libs=" -lDtSvc " |
5809 cat > conftest.$ac_ext <<EOF | 5799 cat > conftest.$ac_ext <<EOF |
5810 #line 5811 "configure" | 5800 #line 5801 "configure" |
5811 #include "confdefs.h" | 5801 #include "confdefs.h" |
5812 /* Override any gcc2 internal prototype to avoid an error. */ | 5802 /* Override any gcc2 internal prototype to avoid an error. */ |
5813 /* We use char because int might match the return type of a gcc2 | 5803 /* We use char because int might match the return type of a gcc2 |
5814 builtin and then its argument prototype would still apply. */ | 5804 builtin and then its argument prototype would still apply. */ |
5815 char DtDndDragStart(); | 5805 char DtDndDragStart(); |
5816 | 5806 |
5817 int main() { | 5807 int main() { |
5818 DtDndDragStart() | 5808 DtDndDragStart() |
5819 ; return 0; } | 5809 ; return 0; } |
5820 EOF | 5810 EOF |
5821 if { (eval echo configure:5822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5811 if { (eval echo configure:5812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5822 rm -rf conftest* | 5812 rm -rf conftest* |
5823 eval "ac_cv_lib_$ac_lib_var=yes" | 5813 eval "ac_cv_lib_$ac_lib_var=yes" |
5824 else | 5814 else |
5825 echo "configure: failed program was:" >&5 | 5815 echo "configure: failed program was:" >&5 |
5826 cat conftest.$ac_ext >&5 | 5816 cat conftest.$ac_ext >&5 |
5863 EOF | 5853 EOF |
5864 } | 5854 } |
5865 | 5855 |
5866 | 5856 |
5867 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5857 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
5868 echo "configure:5869: checking for main in -lenergize" >&5 | 5858 echo "configure:5859: checking for main in -lenergize" >&5 |
5869 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5859 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
5870 | 5860 |
5871 xe_check_libs=" -lenergize " | 5861 xe_check_libs=" -lenergize " |
5872 cat > conftest.$ac_ext <<EOF | 5862 cat > conftest.$ac_ext <<EOF |
5873 #line 5874 "configure" | 5863 #line 5864 "configure" |
5874 #include "confdefs.h" | 5864 #include "confdefs.h" |
5875 | 5865 |
5876 int main() { | 5866 int main() { |
5877 main() | 5867 main() |
5878 ; return 0; } | 5868 ; return 0; } |
5879 EOF | 5869 EOF |
5880 if { (eval echo configure:5881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5870 if { (eval echo configure:5871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5881 rm -rf conftest* | 5871 rm -rf conftest* |
5882 eval "ac_cv_lib_$ac_lib_var=yes" | 5872 eval "ac_cv_lib_$ac_lib_var=yes" |
5883 else | 5873 else |
5884 echo "configure: failed program was:" >&5 | 5874 echo "configure: failed program was:" >&5 |
5885 cat conftest.$ac_ext >&5 | 5875 cat conftest.$ac_ext >&5 |
5907 | 5897 |
5908 | 5898 |
5909 if test -z "$energize_version"; then | 5899 if test -z "$energize_version"; then |
5910 | 5900 |
5911 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5901 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
5912 echo "configure:5913: checking for main in -lconn" >&5 | 5902 echo "configure:5903: checking for main in -lconn" >&5 |
5913 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5903 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
5914 | 5904 |
5915 xe_check_libs=" -lconn " | 5905 xe_check_libs=" -lconn " |
5916 cat > conftest.$ac_ext <<EOF | 5906 cat > conftest.$ac_ext <<EOF |
5917 #line 5918 "configure" | 5907 #line 5908 "configure" |
5918 #include "confdefs.h" | 5908 #include "confdefs.h" |
5919 | 5909 |
5920 int main() { | 5910 int main() { |
5921 main() | 5911 main() |
5922 ; return 0; } | 5912 ; return 0; } |
5923 EOF | 5913 EOF |
5924 if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5914 if { (eval echo configure:5915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5925 rm -rf conftest* | 5915 rm -rf conftest* |
5926 eval "ac_cv_lib_$ac_lib_var=yes" | 5916 eval "ac_cv_lib_$ac_lib_var=yes" |
5927 else | 5917 else |
5928 echo "configure: failed program was:" >&5 | 5918 echo "configure: failed program was:" >&5 |
5929 cat conftest.$ac_ext >&5 | 5919 cat conftest.$ac_ext >&5 |
5952 | 5942 |
5953 | 5943 |
5954 fi | 5944 fi |
5955 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5945 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
5956 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5946 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
5957 echo "configure:5958: checking for editorconn.h" >&5 | 5947 echo "configure:5948: checking for editorconn.h" >&5 |
5958 | 5948 |
5959 cat > conftest.$ac_ext <<EOF | 5949 cat > conftest.$ac_ext <<EOF |
5960 #line 5961 "configure" | 5950 #line 5951 "configure" |
5961 #include "confdefs.h" | 5951 #include "confdefs.h" |
5962 #include <editorconn.h> | 5952 #include <editorconn.h> |
5963 EOF | 5953 EOF |
5964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5965 { (eval echo configure:5966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5955 { (eval echo configure:5956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5966 ac_err=`grep -v '^ *+' conftest.out` | 5956 ac_err=`grep -v '^ *+' conftest.out` |
5967 if test -z "$ac_err"; then | 5957 if test -z "$ac_err"; then |
5968 rm -rf conftest* | 5958 rm -rf conftest* |
5969 eval "ac_cv_header_$ac_safe=yes" | 5959 eval "ac_cv_header_$ac_safe=yes" |
5970 else | 5960 else |
6004 | 5994 |
6005 | 5995 |
6006 if test "$with_x11" = "yes"; then | 5996 if test "$with_x11" = "yes"; then |
6007 | 5997 |
6008 echo "checking for X11 graphics libraries" 1>&6 | 5998 echo "checking for X11 graphics libraries" 1>&6 |
6009 echo "configure:6010: checking for X11 graphics libraries" >&5 | 5999 echo "configure:6000: checking for X11 graphics libraries" >&5 |
6010 test -z "$with_gif" && with_gif=yes; | 6000 test -z "$with_gif" && with_gif=yes; |
6011 if test "$with_gif" = "yes"; then | 6001 if test "$with_gif" = "yes"; then |
6012 { test "$extra_verbose" = "yes" && cat << \EOF | 6002 { test "$extra_verbose" = "yes" && cat << \EOF |
6013 Defining HAVE_GIF | 6003 Defining HAVE_GIF |
6014 EOF | 6004 EOF |
6021 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | 6011 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" |
6022 fi | 6012 fi |
6023 fi | 6013 fi |
6024 | 6014 |
6025 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6015 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6026 echo "configure:6027: checking for Xpm - no older than 3.4f" >&5 | 6016 echo "configure:6017: checking for Xpm - no older than 3.4f" >&5 |
6027 xe_check_libs=-lXpm | 6017 xe_check_libs=-lXpm |
6028 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 6018 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
6029 #line 6030 "configure" | 6019 #line 6020 "configure" |
6030 #include "confdefs.h" | 6020 #include "confdefs.h" |
6031 #include <X11/xpm.h> | 6021 #include <X11/xpm.h> |
6032 int main(int c, char **v) { | 6022 int main(int c, char **v) { |
6033 return c == 1 ? 0 : | 6023 return c == 1 ? 0 : |
6034 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6024 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6035 XpmIncludeVersion < 30406 ? 2 : | 6025 XpmIncludeVersion < 30406 ? 2 : |
6036 0 ; | 6026 0 ; |
6037 } | 6027 } |
6038 EOF | 6028 EOF |
6039 if { (eval echo configure:6040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6029 if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6040 then | 6030 then |
6041 ./conftest foobar; xpm_status=$?; | 6031 ./conftest foobar; xpm_status=$?; |
6042 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6032 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
6043 else | 6033 else |
6044 echo "configure: failed program was:" >&5 | 6034 echo "configure: failed program was:" >&5 |
6072 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6062 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6073 fi | 6063 fi |
6074 | 6064 |
6075 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6065 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6076 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6066 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6077 echo "configure:6078: checking for compface.h" >&5 | 6067 echo "configure:6068: checking for compface.h" >&5 |
6078 | 6068 |
6079 cat > conftest.$ac_ext <<EOF | 6069 cat > conftest.$ac_ext <<EOF |
6080 #line 6081 "configure" | 6070 #line 6071 "configure" |
6081 #include "confdefs.h" | 6071 #include "confdefs.h" |
6082 #include <compface.h> | 6072 #include <compface.h> |
6083 EOF | 6073 EOF |
6084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6085 { (eval echo configure:6086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6075 { (eval echo configure:6076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6086 ac_err=`grep -v '^ *+' conftest.out` | 6076 ac_err=`grep -v '^ *+' conftest.out` |
6087 if test -z "$ac_err"; then | 6077 if test -z "$ac_err"; then |
6088 rm -rf conftest* | 6078 rm -rf conftest* |
6089 eval "ac_cv_header_$ac_safe=yes" | 6079 eval "ac_cv_header_$ac_safe=yes" |
6090 else | 6080 else |
6103 with_xface=no | 6093 with_xface=no |
6104 fi | 6094 fi |
6105 } | 6095 } |
6106 test -z "$with_xface" && { | 6096 test -z "$with_xface" && { |
6107 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6097 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6108 echo "configure:6109: checking for UnGenFace in -lcompface" >&5 | 6098 echo "configure:6099: checking for UnGenFace in -lcompface" >&5 |
6109 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6099 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6110 | 6100 |
6111 xe_check_libs=" -lcompface " | 6101 xe_check_libs=" -lcompface " |
6112 cat > conftest.$ac_ext <<EOF | 6102 cat > conftest.$ac_ext <<EOF |
6113 #line 6114 "configure" | 6103 #line 6104 "configure" |
6114 #include "confdefs.h" | 6104 #include "confdefs.h" |
6115 /* Override any gcc2 internal prototype to avoid an error. */ | 6105 /* Override any gcc2 internal prototype to avoid an error. */ |
6116 /* We use char because int might match the return type of a gcc2 | 6106 /* We use char because int might match the return type of a gcc2 |
6117 builtin and then its argument prototype would still apply. */ | 6107 builtin and then its argument prototype would still apply. */ |
6118 char UnGenFace(); | 6108 char UnGenFace(); |
6119 | 6109 |
6120 int main() { | 6110 int main() { |
6121 UnGenFace() | 6111 UnGenFace() |
6122 ; return 0; } | 6112 ; return 0; } |
6123 EOF | 6113 EOF |
6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6114 if { (eval echo configure:6115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6125 rm -rf conftest* | 6115 rm -rf conftest* |
6126 eval "ac_cv_lib_$ac_lib_var=yes" | 6116 eval "ac_cv_lib_$ac_lib_var=yes" |
6127 else | 6117 else |
6128 echo "configure: failed program was:" >&5 | 6118 echo "configure: failed program was:" >&5 |
6129 cat conftest.$ac_ext >&5 | 6119 cat conftest.$ac_ext >&5 |
6155 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6145 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
6156 fi | 6146 fi |
6157 | 6147 |
6158 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6148 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6159 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6149 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6160 echo "configure:6161: checking for jpeglib.h" >&5 | 6150 echo "configure:6151: checking for jpeglib.h" >&5 |
6161 | 6151 |
6162 cat > conftest.$ac_ext <<EOF | 6152 cat > conftest.$ac_ext <<EOF |
6163 #line 6164 "configure" | 6153 #line 6154 "configure" |
6164 #include "confdefs.h" | 6154 #include "confdefs.h" |
6165 #include <jpeglib.h> | 6155 #include <jpeglib.h> |
6166 EOF | 6156 EOF |
6167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6168 { (eval echo configure:6169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6158 { (eval echo configure:6159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6169 ac_err=`grep -v '^ *+' conftest.out` | 6159 ac_err=`grep -v '^ *+' conftest.out` |
6170 if test -z "$ac_err"; then | 6160 if test -z "$ac_err"; then |
6171 rm -rf conftest* | 6161 rm -rf conftest* |
6172 eval "ac_cv_header_$ac_safe=yes" | 6162 eval "ac_cv_header_$ac_safe=yes" |
6173 else | 6163 else |
6186 with_jpeg=no | 6176 with_jpeg=no |
6187 fi | 6177 fi |
6188 } | 6178 } |
6189 test -z "$with_jpeg" && { | 6179 test -z "$with_jpeg" && { |
6190 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6180 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6191 echo "configure:6192: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6181 echo "configure:6182: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6192 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6182 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6193 | 6183 |
6194 xe_check_libs=" -ljpeg " | 6184 xe_check_libs=" -ljpeg " |
6195 cat > conftest.$ac_ext <<EOF | 6185 cat > conftest.$ac_ext <<EOF |
6196 #line 6197 "configure" | 6186 #line 6187 "configure" |
6197 #include "confdefs.h" | 6187 #include "confdefs.h" |
6198 /* Override any gcc2 internal prototype to avoid an error. */ | 6188 /* Override any gcc2 internal prototype to avoid an error. */ |
6199 /* We use char because int might match the return type of a gcc2 | 6189 /* We use char because int might match the return type of a gcc2 |
6200 builtin and then its argument prototype would still apply. */ | 6190 builtin and then its argument prototype would still apply. */ |
6201 char jpeg_destroy_decompress(); | 6191 char jpeg_destroy_decompress(); |
6202 | 6192 |
6203 int main() { | 6193 int main() { |
6204 jpeg_destroy_decompress() | 6194 jpeg_destroy_decompress() |
6205 ; return 0; } | 6195 ; return 0; } |
6206 EOF | 6196 EOF |
6207 if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6197 if { (eval echo configure:6198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6208 rm -rf conftest* | 6198 rm -rf conftest* |
6209 eval "ac_cv_lib_$ac_lib_var=yes" | 6199 eval "ac_cv_lib_$ac_lib_var=yes" |
6210 else | 6200 else |
6211 echo "configure: failed program was:" >&5 | 6201 echo "configure: failed program was:" >&5 |
6212 cat conftest.$ac_ext >&5 | 6202 cat conftest.$ac_ext >&5 |
6238 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6228 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6239 fi | 6229 fi |
6240 | 6230 |
6241 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6231 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6242 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6232 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6243 echo "configure:6244: checking for png.h" >&5 | 6233 echo "configure:6234: checking for png.h" >&5 |
6244 | 6234 |
6245 cat > conftest.$ac_ext <<EOF | 6235 cat > conftest.$ac_ext <<EOF |
6246 #line 6247 "configure" | 6236 #line 6237 "configure" |
6247 #include "confdefs.h" | 6237 #include "confdefs.h" |
6248 #include <png.h> | 6238 #include <png.h> |
6249 EOF | 6239 EOF |
6250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6251 { (eval echo configure:6252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6241 { (eval echo configure:6242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6252 ac_err=`grep -v '^ *+' conftest.out` | 6242 ac_err=`grep -v '^ *+' conftest.out` |
6253 if test -z "$ac_err"; then | 6243 if test -z "$ac_err"; then |
6254 rm -rf conftest* | 6244 rm -rf conftest* |
6255 eval "ac_cv_header_$ac_safe=yes" | 6245 eval "ac_cv_header_$ac_safe=yes" |
6256 else | 6246 else |
6268 echo "$ac_t""no" 1>&6 | 6258 echo "$ac_t""no" 1>&6 |
6269 with_png=no | 6259 with_png=no |
6270 fi | 6260 fi |
6271 } | 6261 } |
6272 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6262 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6273 echo "configure:6274: checking for pow" >&5 | 6263 echo "configure:6264: checking for pow" >&5 |
6274 | 6264 |
6275 cat > conftest.$ac_ext <<EOF | 6265 cat > conftest.$ac_ext <<EOF |
6276 #line 6277 "configure" | 6266 #line 6267 "configure" |
6277 #include "confdefs.h" | 6267 #include "confdefs.h" |
6278 /* System header to define __stub macros and hopefully few prototypes, | 6268 /* System header to define __stub macros and hopefully few prototypes, |
6279 which can conflict with char pow(); below. */ | 6269 which can conflict with char pow(); below. */ |
6280 #include <assert.h> | 6270 #include <assert.h> |
6281 /* Override any gcc2 internal prototype to avoid an error. */ | 6271 /* Override any gcc2 internal prototype to avoid an error. */ |
6294 pow(); | 6284 pow(); |
6295 #endif | 6285 #endif |
6296 | 6286 |
6297 ; return 0; } | 6287 ; return 0; } |
6298 EOF | 6288 EOF |
6299 if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6289 if { (eval echo configure:6290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6300 rm -rf conftest* | 6290 rm -rf conftest* |
6301 eval "ac_cv_func_pow=yes" | 6291 eval "ac_cv_func_pow=yes" |
6302 else | 6292 else |
6303 echo "configure: failed program was:" >&5 | 6293 echo "configure: failed program was:" >&5 |
6304 cat conftest.$ac_ext >&5 | 6294 cat conftest.$ac_ext >&5 |
6319 for extra_libs in "" "-lz" "-lgz"; do | 6309 for extra_libs in "" "-lz" "-lgz"; do |
6320 | 6310 |
6321 xe_msg_checking="for png_read_image in -lpng" | 6311 xe_msg_checking="for png_read_image in -lpng" |
6322 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6312 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6323 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6313 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6324 echo "configure:6325: checking "$xe_msg_checking"" >&5 | 6314 echo "configure:6315: checking "$xe_msg_checking"" >&5 |
6325 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6315 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6326 | 6316 |
6327 xe_check_libs=" -lpng $extra_libs" | 6317 xe_check_libs=" -lpng $extra_libs" |
6328 cat > conftest.$ac_ext <<EOF | 6318 cat > conftest.$ac_ext <<EOF |
6329 #line 6330 "configure" | 6319 #line 6320 "configure" |
6330 #include "confdefs.h" | 6320 #include "confdefs.h" |
6331 /* Override any gcc2 internal prototype to avoid an error. */ | 6321 /* Override any gcc2 internal prototype to avoid an error. */ |
6332 /* We use char because int might match the return type of a gcc2 | 6322 /* We use char because int might match the return type of a gcc2 |
6333 builtin and then its argument prototype would still apply. */ | 6323 builtin and then its argument prototype would still apply. */ |
6334 char png_read_image(); | 6324 char png_read_image(); |
6335 | 6325 |
6336 int main() { | 6326 int main() { |
6337 png_read_image() | 6327 png_read_image() |
6338 ; return 0; } | 6328 ; return 0; } |
6339 EOF | 6329 EOF |
6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6341 rm -rf conftest* | 6331 rm -rf conftest* |
6342 eval "ac_cv_lib_$ac_lib_var=yes" | 6332 eval "ac_cv_lib_$ac_lib_var=yes" |
6343 else | 6333 else |
6344 echo "configure: failed program was:" >&5 | 6334 echo "configure: failed program was:" >&5 |
6345 cat conftest.$ac_ext >&5 | 6335 cat conftest.$ac_ext >&5 |
6377 for extra_libs in "" "-lz" "-lgz"; do | 6367 for extra_libs in "" "-lz" "-lgz"; do |
6378 | 6368 |
6379 xe_msg_checking="for TIFFReadScanline in -ltiff" | 6369 xe_msg_checking="for TIFFReadScanline in -ltiff" |
6380 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6370 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6381 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6371 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6382 echo "configure:6383: checking "$xe_msg_checking"" >&5 | 6372 echo "configure:6373: checking "$xe_msg_checking"" >&5 |
6383 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6373 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
6384 | 6374 |
6385 xe_check_libs=" -ltiff $extra_libs" | 6375 xe_check_libs=" -ltiff $extra_libs" |
6386 cat > conftest.$ac_ext <<EOF | 6376 cat > conftest.$ac_ext <<EOF |
6387 #line 6388 "configure" | 6377 #line 6378 "configure" |
6388 #include "confdefs.h" | 6378 #include "confdefs.h" |
6389 /* Override any gcc2 internal prototype to avoid an error. */ | 6379 /* Override any gcc2 internal prototype to avoid an error. */ |
6390 /* We use char because int might match the return type of a gcc2 | 6380 /* We use char because int might match the return type of a gcc2 |
6391 builtin and then its argument prototype would still apply. */ | 6381 builtin and then its argument prototype would still apply. */ |
6392 char TIFFReadScanline(); | 6382 char TIFFReadScanline(); |
6393 | 6383 |
6394 int main() { | 6384 int main() { |
6395 TIFFReadScanline() | 6385 TIFFReadScanline() |
6396 ; return 0; } | 6386 ; return 0; } |
6397 EOF | 6387 EOF |
6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6388 if { (eval echo configure:6389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6399 rm -rf conftest* | 6389 rm -rf conftest* |
6400 eval "ac_cv_lib_$ac_lib_var=yes" | 6390 eval "ac_cv_lib_$ac_lib_var=yes" |
6401 else | 6391 else |
6402 echo "configure: failed program was:" >&5 | 6392 echo "configure: failed program was:" >&5 |
6403 cat conftest.$ac_ext >&5 | 6393 cat conftest.$ac_ext >&5 |
6426 cat >> confdefs.h <<\EOF | 6416 cat >> confdefs.h <<\EOF |
6427 #define HAVE_TIFF 1 | 6417 #define HAVE_TIFF 1 |
6428 EOF | 6418 EOF |
6429 } | 6419 } |
6430 | 6420 |
6431 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6421 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi |
6432 fi | 6422 fi |
6433 | 6423 |
6434 | 6424 |
6435 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6425 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
6436 echo "configure:6437: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6426 echo "configure:6427: checking for XawScrollbarSetThumb in -lXaw" >&5 |
6437 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6427 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
6438 | 6428 |
6439 xe_check_libs=" -lXaw " | 6429 xe_check_libs=" -lXaw " |
6440 cat > conftest.$ac_ext <<EOF | 6430 cat > conftest.$ac_ext <<EOF |
6441 #line 6442 "configure" | 6431 #line 6432 "configure" |
6442 #include "confdefs.h" | 6432 #include "confdefs.h" |
6443 /* Override any gcc2 internal prototype to avoid an error. */ | 6433 /* Override any gcc2 internal prototype to avoid an error. */ |
6444 /* We use char because int might match the return type of a gcc2 | 6434 /* We use char because int might match the return type of a gcc2 |
6445 builtin and then its argument prototype would still apply. */ | 6435 builtin and then its argument prototype would still apply. */ |
6446 char XawScrollbarSetThumb(); | 6436 char XawScrollbarSetThumb(); |
6447 | 6437 |
6448 int main() { | 6438 int main() { |
6449 XawScrollbarSetThumb() | 6439 XawScrollbarSetThumb() |
6450 ; return 0; } | 6440 ; return 0; } |
6451 EOF | 6441 EOF |
6452 if { (eval echo configure:6453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6442 if { (eval echo configure:6443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6453 rm -rf conftest* | 6443 rm -rf conftest* |
6454 eval "ac_cv_lib_$ac_lib_var=yes" | 6444 eval "ac_cv_lib_$ac_lib_var=yes" |
6455 else | 6445 else |
6456 echo "configure: failed program was:" >&5 | 6446 echo "configure: failed program was:" >&5 |
6457 cat conftest.$ac_ext >&5 | 6447 cat conftest.$ac_ext >&5 |
6471 | 6461 |
6472 | 6462 |
6473 if test "$have_xaw" = "yes"; then | 6463 if test "$have_xaw" = "yes"; then |
6474 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 6464 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
6475 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 6465 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
6476 echo "configure:6477: checking for X11/Xaw/Reports.h" >&5 | 6466 echo "configure:6467: checking for X11/Xaw/Reports.h" >&5 |
6477 | 6467 |
6478 cat > conftest.$ac_ext <<EOF | 6468 cat > conftest.$ac_ext <<EOF |
6479 #line 6480 "configure" | 6469 #line 6470 "configure" |
6480 #include "confdefs.h" | 6470 #include "confdefs.h" |
6481 #include <X11/Xaw/Reports.h> | 6471 #include <X11/Xaw/Reports.h> |
6482 EOF | 6472 EOF |
6483 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6484 { (eval echo configure:6485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6474 { (eval echo configure:6475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6485 ac_err=`grep -v '^ *+' conftest.out` | 6475 ac_err=`grep -v '^ *+' conftest.out` |
6486 if test -z "$ac_err"; then | 6476 if test -z "$ac_err"; then |
6487 rm -rf conftest* | 6477 rm -rf conftest* |
6488 eval "ac_cv_header_$ac_safe=yes" | 6478 eval "ac_cv_header_$ac_safe=yes" |
6489 else | 6479 else |
6505 | 6495 |
6506 fi | 6496 fi |
6507 | 6497 |
6508 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6498 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6509 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6499 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6510 echo "configure:6511: checking for Xm/Xm.h" >&5 | 6500 echo "configure:6501: checking for Xm/Xm.h" >&5 |
6511 | 6501 |
6512 cat > conftest.$ac_ext <<EOF | 6502 cat > conftest.$ac_ext <<EOF |
6513 #line 6514 "configure" | 6503 #line 6504 "configure" |
6514 #include "confdefs.h" | 6504 #include "confdefs.h" |
6515 #include <Xm/Xm.h> | 6505 #include <Xm/Xm.h> |
6516 EOF | 6506 EOF |
6517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6518 { (eval echo configure:6519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6508 { (eval echo configure:6509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6519 ac_err=`grep -v '^ *+' conftest.out` | 6509 ac_err=`grep -v '^ *+' conftest.out` |
6520 if test -z "$ac_err"; then | 6510 if test -z "$ac_err"; then |
6521 rm -rf conftest* | 6511 rm -rf conftest* |
6522 eval "ac_cv_header_$ac_safe=yes" | 6512 eval "ac_cv_header_$ac_safe=yes" |
6523 else | 6513 else |
6530 rm -f conftest* | 6520 rm -f conftest* |
6531 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6521 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6532 echo "$ac_t""yes" 1>&6 | 6522 echo "$ac_t""yes" 1>&6 |
6533 | 6523 |
6534 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6524 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6535 echo "configure:6536: checking for XmStringFree in -lXm" >&5 | 6525 echo "configure:6526: checking for XmStringFree in -lXm" >&5 |
6536 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6526 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6537 | 6527 |
6538 xe_check_libs=" -lXm " | 6528 xe_check_libs=" -lXm " |
6539 cat > conftest.$ac_ext <<EOF | 6529 cat > conftest.$ac_ext <<EOF |
6540 #line 6541 "configure" | 6530 #line 6531 "configure" |
6541 #include "confdefs.h" | 6531 #include "confdefs.h" |
6542 /* Override any gcc2 internal prototype to avoid an error. */ | 6532 /* Override any gcc2 internal prototype to avoid an error. */ |
6543 /* We use char because int might match the return type of a gcc2 | 6533 /* We use char because int might match the return type of a gcc2 |
6544 builtin and then its argument prototype would still apply. */ | 6534 builtin and then its argument prototype would still apply. */ |
6545 char XmStringFree(); | 6535 char XmStringFree(); |
6546 | 6536 |
6547 int main() { | 6537 int main() { |
6548 XmStringFree() | 6538 XmStringFree() |
6549 ; return 0; } | 6539 ; return 0; } |
6550 EOF | 6540 EOF |
6551 if { (eval echo configure:6552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6541 if { (eval echo configure:6542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6552 rm -rf conftest* | 6542 rm -rf conftest* |
6553 eval "ac_cv_lib_$ac_lib_var=yes" | 6543 eval "ac_cv_lib_$ac_lib_var=yes" |
6554 else | 6544 else |
6555 echo "configure: failed program was:" >&5 | 6545 echo "configure: failed program was:" >&5 |
6556 cat conftest.$ac_ext >&5 | 6546 cat conftest.$ac_ext >&5 |
6795 | 6785 |
6796 test -z "$with_mule" && with_mule=no | 6786 test -z "$with_mule" && with_mule=no |
6797 | 6787 |
6798 if test "$with_mule" = "yes" ; then | 6788 if test "$with_mule" = "yes" ; then |
6799 echo "checking for Mule-related features" 1>&6 | 6789 echo "checking for Mule-related features" 1>&6 |
6800 echo "configure:6801: checking for Mule-related features" >&5 | 6790 echo "configure:6791: checking for Mule-related features" >&5 |
6801 { test "$extra_verbose" = "yes" && cat << \EOF | 6791 { test "$extra_verbose" = "yes" && cat << \EOF |
6802 Defining MULE | 6792 Defining MULE |
6803 EOF | 6793 EOF |
6804 cat >> confdefs.h <<\EOF | 6794 cat >> confdefs.h <<\EOF |
6805 #define MULE 1 | 6795 #define MULE 1 |
6812 | 6802 |
6813 for ac_hdr in libintl.h | 6803 for ac_hdr in libintl.h |
6814 do | 6804 do |
6815 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6805 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6816 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6806 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6817 echo "configure:6818: checking for $ac_hdr" >&5 | 6807 echo "configure:6808: checking for $ac_hdr" >&5 |
6818 | 6808 |
6819 cat > conftest.$ac_ext <<EOF | 6809 cat > conftest.$ac_ext <<EOF |
6820 #line 6821 "configure" | 6810 #line 6811 "configure" |
6821 #include "confdefs.h" | 6811 #include "confdefs.h" |
6822 #include <$ac_hdr> | 6812 #include <$ac_hdr> |
6823 EOF | 6813 EOF |
6824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6825 { (eval echo configure:6826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6815 { (eval echo configure:6816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6826 ac_err=`grep -v '^ *+' conftest.out` | 6816 ac_err=`grep -v '^ *+' conftest.out` |
6827 if test -z "$ac_err"; then | 6817 if test -z "$ac_err"; then |
6828 rm -rf conftest* | 6818 rm -rf conftest* |
6829 eval "ac_cv_header_$ac_safe=yes" | 6819 eval "ac_cv_header_$ac_safe=yes" |
6830 else | 6820 else |
6851 fi | 6841 fi |
6852 done | 6842 done |
6853 | 6843 |
6854 | 6844 |
6855 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6845 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6856 echo "configure:6857: checking for strerror in -lintl" >&5 | 6846 echo "configure:6847: checking for strerror in -lintl" >&5 |
6857 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6847 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6858 | 6848 |
6859 xe_check_libs=" -lintl " | 6849 xe_check_libs=" -lintl " |
6860 cat > conftest.$ac_ext <<EOF | 6850 cat > conftest.$ac_ext <<EOF |
6861 #line 6862 "configure" | 6851 #line 6852 "configure" |
6862 #include "confdefs.h" | 6852 #include "confdefs.h" |
6863 /* Override any gcc2 internal prototype to avoid an error. */ | 6853 /* Override any gcc2 internal prototype to avoid an error. */ |
6864 /* We use char because int might match the return type of a gcc2 | 6854 /* We use char because int might match the return type of a gcc2 |
6865 builtin and then its argument prototype would still apply. */ | 6855 builtin and then its argument prototype would still apply. */ |
6866 char strerror(); | 6856 char strerror(); |
6867 | 6857 |
6868 int main() { | 6858 int main() { |
6869 strerror() | 6859 strerror() |
6870 ; return 0; } | 6860 ; return 0; } |
6871 EOF | 6861 EOF |
6872 if { (eval echo configure:6873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6862 if { (eval echo configure:6863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6873 rm -rf conftest* | 6863 rm -rf conftest* |
6874 eval "ac_cv_lib_$ac_lib_var=yes" | 6864 eval "ac_cv_lib_$ac_lib_var=yes" |
6875 else | 6865 else |
6876 echo "configure: failed program was:" >&5 | 6866 echo "configure: failed program was:" >&5 |
6877 cat conftest.$ac_ext >&5 | 6867 cat conftest.$ac_ext >&5 |
6900 fi | 6890 fi |
6901 | 6891 |
6902 | 6892 |
6903 | 6893 |
6904 echo "checking for Mule input methods" 1>&6 | 6894 echo "checking for Mule input methods" 1>&6 |
6905 echo "configure:6906: checking for Mule input methods" >&5 | 6895 echo "configure:6896: checking for Mule input methods" >&5 |
6906 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6896 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
6907 case "$with_xim" in "" | "yes" ) | 6897 case "$with_xim" in "" | "yes" ) |
6908 echo "checking for XIM" 1>&6 | 6898 echo "checking for XIM" 1>&6 |
6909 echo "configure:6910: checking for XIM" >&5 | 6899 echo "configure:6900: checking for XIM" >&5 |
6910 | 6900 |
6911 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6901 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
6912 echo "configure:6913: checking for XmImMbLookupString in -lXm" >&5 | 6902 echo "configure:6903: checking for XmImMbLookupString in -lXm" >&5 |
6913 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6903 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
6914 | 6904 |
6915 xe_check_libs=" -lXm " | 6905 xe_check_libs=" -lXm " |
6916 cat > conftest.$ac_ext <<EOF | 6906 cat > conftest.$ac_ext <<EOF |
6917 #line 6918 "configure" | 6907 #line 6908 "configure" |
6918 #include "confdefs.h" | 6908 #include "confdefs.h" |
6919 /* Override any gcc2 internal prototype to avoid an error. */ | 6909 /* Override any gcc2 internal prototype to avoid an error. */ |
6920 /* We use char because int might match the return type of a gcc2 | 6910 /* We use char because int might match the return type of a gcc2 |
6921 builtin and then its argument prototype would still apply. */ | 6911 builtin and then its argument prototype would still apply. */ |
6922 char XmImMbLookupString(); | 6912 char XmImMbLookupString(); |
6923 | 6913 |
6924 int main() { | 6914 int main() { |
6925 XmImMbLookupString() | 6915 XmImMbLookupString() |
6926 ; return 0; } | 6916 ; return 0; } |
6927 EOF | 6917 EOF |
6928 if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6918 if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6929 rm -rf conftest* | 6919 rm -rf conftest* |
6930 eval "ac_cv_lib_$ac_lib_var=yes" | 6920 eval "ac_cv_lib_$ac_lib_var=yes" |
6931 else | 6921 else |
6932 echo "configure: failed program was:" >&5 | 6922 echo "configure: failed program was:" >&5 |
6933 cat conftest.$ac_ext >&5 | 6923 cat conftest.$ac_ext >&5 |
6986 if test "$with_xfs" = "yes"; then | 6976 if test "$with_xfs" = "yes"; then |
6987 with_xfs=no | 6977 with_xfs=no |
6988 fi | 6978 fi |
6989 else case "$with_xfs" in "yes" ) | 6979 else case "$with_xfs" in "yes" ) |
6990 echo "checking for XFontSet" 1>&6 | 6980 echo "checking for XFontSet" 1>&6 |
6991 echo "configure:6992: checking for XFontSet" >&5 | 6981 echo "configure:6982: checking for XFontSet" >&5 |
6992 | 6982 |
6993 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6983 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
6994 echo "configure:6995: checking for XmbDrawString in -lX11" >&5 | 6984 echo "configure:6985: checking for XmbDrawString in -lX11" >&5 |
6995 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6985 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
6996 | 6986 |
6997 xe_check_libs=" -lX11 " | 6987 xe_check_libs=" -lX11 " |
6998 cat > conftest.$ac_ext <<EOF | 6988 cat > conftest.$ac_ext <<EOF |
6999 #line 7000 "configure" | 6989 #line 6990 "configure" |
7000 #include "confdefs.h" | 6990 #include "confdefs.h" |
7001 /* Override any gcc2 internal prototype to avoid an error. */ | 6991 /* Override any gcc2 internal prototype to avoid an error. */ |
7002 /* We use char because int might match the return type of a gcc2 | 6992 /* We use char because int might match the return type of a gcc2 |
7003 builtin and then its argument prototype would still apply. */ | 6993 builtin and then its argument prototype would still apply. */ |
7004 char XmbDrawString(); | 6994 char XmbDrawString(); |
7005 | 6995 |
7006 int main() { | 6996 int main() { |
7007 XmbDrawString() | 6997 XmbDrawString() |
7008 ; return 0; } | 6998 ; return 0; } |
7009 EOF | 6999 EOF |
7010 if { (eval echo configure:7011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7000 if { (eval echo configure:7001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7011 rm -rf conftest* | 7001 rm -rf conftest* |
7012 eval "ac_cv_lib_$ac_lib_var=yes" | 7002 eval "ac_cv_lib_$ac_lib_var=yes" |
7013 else | 7003 else |
7014 echo "configure: failed program was:" >&5 | 7004 echo "configure: failed program was:" >&5 |
7015 cat conftest.$ac_ext >&5 | 7005 cat conftest.$ac_ext >&5 |
7044 fi | 7034 fi |
7045 fi | 7035 fi |
7046 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7036 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7047 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7037 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7048 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7038 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7049 echo "configure:7050: checking for wnn/jllib.h" >&5 | 7039 echo "configure:7040: checking for wnn/jllib.h" >&5 |
7050 | 7040 |
7051 cat > conftest.$ac_ext <<EOF | 7041 cat > conftest.$ac_ext <<EOF |
7052 #line 7053 "configure" | 7042 #line 7043 "configure" |
7053 #include "confdefs.h" | 7043 #include "confdefs.h" |
7054 #include <wnn/jllib.h> | 7044 #include <wnn/jllib.h> |
7055 EOF | 7045 EOF |
7056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7057 { (eval echo configure:7058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7047 { (eval echo configure:7048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7058 ac_err=`grep -v '^ *+' conftest.out` | 7048 ac_err=`grep -v '^ *+' conftest.out` |
7059 if test -z "$ac_err"; then | 7049 if test -z "$ac_err"; then |
7060 rm -rf conftest* | 7050 rm -rf conftest* |
7061 eval "ac_cv_header_$ac_safe=yes" | 7051 eval "ac_cv_header_$ac_safe=yes" |
7062 else | 7052 else |
7077 } | 7067 } |
7078 if test "$with_wnn" != "no"; then | 7068 if test "$with_wnn" != "no"; then |
7079 for ac_func in crypt | 7069 for ac_func in crypt |
7080 do | 7070 do |
7081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7082 echo "configure:7083: checking for $ac_func" >&5 | 7072 echo "configure:7073: checking for $ac_func" >&5 |
7083 | 7073 |
7084 cat > conftest.$ac_ext <<EOF | 7074 cat > conftest.$ac_ext <<EOF |
7085 #line 7086 "configure" | 7075 #line 7076 "configure" |
7086 #include "confdefs.h" | 7076 #include "confdefs.h" |
7087 /* System header to define __stub macros and hopefully few prototypes, | 7077 /* System header to define __stub macros and hopefully few prototypes, |
7088 which can conflict with char $ac_func(); below. */ | 7078 which can conflict with char $ac_func(); below. */ |
7089 #include <assert.h> | 7079 #include <assert.h> |
7090 /* Override any gcc2 internal prototype to avoid an error. */ | 7080 /* Override any gcc2 internal prototype to avoid an error. */ |
7103 $ac_func(); | 7093 $ac_func(); |
7104 #endif | 7094 #endif |
7105 | 7095 |
7106 ; return 0; } | 7096 ; return 0; } |
7107 EOF | 7097 EOF |
7108 if { (eval echo configure:7109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7098 if { (eval echo configure:7099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7109 rm -rf conftest* | 7099 rm -rf conftest* |
7110 eval "ac_cv_func_$ac_func=yes" | 7100 eval "ac_cv_func_$ac_func=yes" |
7111 else | 7101 else |
7112 echo "configure: failed program was:" >&5 | 7102 echo "configure: failed program was:" >&5 |
7113 cat conftest.$ac_ext >&5 | 7103 cat conftest.$ac_ext >&5 |
7132 fi | 7122 fi |
7133 done | 7123 done |
7134 | 7124 |
7135 test "$ac_cv_func_crypt" != "yes" && { | 7125 test "$ac_cv_func_crypt" != "yes" && { |
7136 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7126 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7137 echo "configure:7138: checking for crypt in -lcrypt" >&5 | 7127 echo "configure:7128: checking for crypt in -lcrypt" >&5 |
7138 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7128 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7139 | 7129 |
7140 xe_check_libs=" -lcrypt " | 7130 xe_check_libs=" -lcrypt " |
7141 cat > conftest.$ac_ext <<EOF | 7131 cat > conftest.$ac_ext <<EOF |
7142 #line 7143 "configure" | 7132 #line 7133 "configure" |
7143 #include "confdefs.h" | 7133 #include "confdefs.h" |
7144 /* Override any gcc2 internal prototype to avoid an error. */ | 7134 /* Override any gcc2 internal prototype to avoid an error. */ |
7145 /* We use char because int might match the return type of a gcc2 | 7135 /* We use char because int might match the return type of a gcc2 |
7146 builtin and then its argument prototype would still apply. */ | 7136 builtin and then its argument prototype would still apply. */ |
7147 char crypt(); | 7137 char crypt(); |
7148 | 7138 |
7149 int main() { | 7139 int main() { |
7150 crypt() | 7140 crypt() |
7151 ; return 0; } | 7141 ; return 0; } |
7152 EOF | 7142 EOF |
7153 if { (eval echo configure:7154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7143 if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7154 rm -rf conftest* | 7144 rm -rf conftest* |
7155 eval "ac_cv_lib_$ac_lib_var=yes" | 7145 eval "ac_cv_lib_$ac_lib_var=yes" |
7156 else | 7146 else |
7157 echo "configure: failed program was:" >&5 | 7147 echo "configure: failed program was:" >&5 |
7158 cat conftest.$ac_ext >&5 | 7148 cat conftest.$ac_ext >&5 |
7182 | 7172 |
7183 } | 7173 } |
7184 fi | 7174 fi |
7185 test -z "$with_wnn" && { | 7175 test -z "$with_wnn" && { |
7186 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7176 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7187 echo "configure:7188: checking for jl_dic_list_e in -lwnn" >&5 | 7177 echo "configure:7178: checking for jl_dic_list_e in -lwnn" >&5 |
7188 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7178 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7189 | 7179 |
7190 xe_check_libs=" -lwnn " | 7180 xe_check_libs=" -lwnn " |
7191 cat > conftest.$ac_ext <<EOF | 7181 cat > conftest.$ac_ext <<EOF |
7192 #line 7193 "configure" | 7182 #line 7183 "configure" |
7193 #include "confdefs.h" | 7183 #include "confdefs.h" |
7194 /* Override any gcc2 internal prototype to avoid an error. */ | 7184 /* Override any gcc2 internal prototype to avoid an error. */ |
7195 /* We use char because int might match the return type of a gcc2 | 7185 /* We use char because int might match the return type of a gcc2 |
7196 builtin and then its argument prototype would still apply. */ | 7186 builtin and then its argument prototype would still apply. */ |
7197 char jl_dic_list_e(); | 7187 char jl_dic_list_e(); |
7198 | 7188 |
7199 int main() { | 7189 int main() { |
7200 jl_dic_list_e() | 7190 jl_dic_list_e() |
7201 ; return 0; } | 7191 ; return 0; } |
7202 EOF | 7192 EOF |
7203 if { (eval echo configure:7204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7193 if { (eval echo configure:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7204 rm -rf conftest* | 7194 rm -rf conftest* |
7205 eval "ac_cv_lib_$ac_lib_var=yes" | 7195 eval "ac_cv_lib_$ac_lib_var=yes" |
7206 else | 7196 else |
7207 echo "configure: failed program was:" >&5 | 7197 echo "configure: failed program was:" >&5 |
7208 cat conftest.$ac_ext >&5 | 7198 cat conftest.$ac_ext >&5 |
7235 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7225 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7236 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7226 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7237 fi | 7227 fi |
7238 | 7228 |
7239 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7229 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7240 echo "configure:7241: checking for jl_fi_dic_list in -lwnn" >&5 | 7230 echo "configure:7231: checking for jl_fi_dic_list in -lwnn" >&5 |
7241 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7231 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7242 | 7232 |
7243 xe_check_libs=" -lwnn " | 7233 xe_check_libs=" -lwnn " |
7244 cat > conftest.$ac_ext <<EOF | 7234 cat > conftest.$ac_ext <<EOF |
7245 #line 7246 "configure" | 7235 #line 7236 "configure" |
7246 #include "confdefs.h" | 7236 #include "confdefs.h" |
7247 /* Override any gcc2 internal prototype to avoid an error. */ | 7237 /* Override any gcc2 internal prototype to avoid an error. */ |
7248 /* We use char because int might match the return type of a gcc2 | 7238 /* We use char because int might match the return type of a gcc2 |
7249 builtin and then its argument prototype would still apply. */ | 7239 builtin and then its argument prototype would still apply. */ |
7250 char jl_fi_dic_list(); | 7240 char jl_fi_dic_list(); |
7251 | 7241 |
7252 int main() { | 7242 int main() { |
7253 jl_fi_dic_list() | 7243 jl_fi_dic_list() |
7254 ; return 0; } | 7244 ; return 0; } |
7255 EOF | 7245 EOF |
7256 if { (eval echo configure:7257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7246 if { (eval echo configure:7247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7257 rm -rf conftest* | 7247 rm -rf conftest* |
7258 eval "ac_cv_lib_$ac_lib_var=yes" | 7248 eval "ac_cv_lib_$ac_lib_var=yes" |
7259 else | 7249 else |
7260 echo "configure: failed program was:" >&5 | 7250 echo "configure: failed program was:" >&5 |
7261 cat conftest.$ac_ext >&5 | 7251 cat conftest.$ac_ext >&5 |
7283 | 7273 |
7284 fi | 7274 fi |
7285 | 7275 |
7286 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7276 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7287 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7277 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7288 echo "configure:7289: checking for canna/RK.h" >&5 | 7278 echo "configure:7279: checking for canna/RK.h" >&5 |
7289 | 7279 |
7290 cat > conftest.$ac_ext <<EOF | 7280 cat > conftest.$ac_ext <<EOF |
7291 #line 7292 "configure" | 7281 #line 7282 "configure" |
7292 #include "confdefs.h" | 7282 #include "confdefs.h" |
7293 #include <canna/RK.h> | 7283 #include <canna/RK.h> |
7294 EOF | 7284 EOF |
7295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7296 { (eval echo configure:7297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7286 { (eval echo configure:7287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7297 ac_err=`grep -v '^ *+' conftest.out` | 7287 ac_err=`grep -v '^ *+' conftest.out` |
7298 if test -z "$ac_err"; then | 7288 if test -z "$ac_err"; then |
7299 rm -rf conftest* | 7289 rm -rf conftest* |
7300 eval "ac_cv_header_$ac_safe=yes" | 7290 eval "ac_cv_header_$ac_safe=yes" |
7301 else | 7291 else |
7314 with_canna=no | 7304 with_canna=no |
7315 fi | 7305 fi |
7316 } | 7306 } |
7317 test -z "$with_canna" && { | 7307 test -z "$with_canna" && { |
7318 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7308 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7319 echo "configure:7320: checking for RkBgnBun in -lRKC" >&5 | 7309 echo "configure:7310: checking for RkBgnBun in -lRKC" >&5 |
7320 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7310 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7321 | 7311 |
7322 xe_check_libs=" -lRKC " | 7312 xe_check_libs=" -lRKC " |
7323 cat > conftest.$ac_ext <<EOF | 7313 cat > conftest.$ac_ext <<EOF |
7324 #line 7325 "configure" | 7314 #line 7315 "configure" |
7325 #include "confdefs.h" | 7315 #include "confdefs.h" |
7326 /* Override any gcc2 internal prototype to avoid an error. */ | 7316 /* Override any gcc2 internal prototype to avoid an error. */ |
7327 /* We use char because int might match the return type of a gcc2 | 7317 /* We use char because int might match the return type of a gcc2 |
7328 builtin and then its argument prototype would still apply. */ | 7318 builtin and then its argument prototype would still apply. */ |
7329 char RkBgnBun(); | 7319 char RkBgnBun(); |
7330 | 7320 |
7331 int main() { | 7321 int main() { |
7332 RkBgnBun() | 7322 RkBgnBun() |
7333 ; return 0; } | 7323 ; return 0; } |
7334 EOF | 7324 EOF |
7335 if { (eval echo configure:7336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7325 if { (eval echo configure:7326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7336 rm -rf conftest* | 7326 rm -rf conftest* |
7337 eval "ac_cv_lib_$ac_lib_var=yes" | 7327 eval "ac_cv_lib_$ac_lib_var=yes" |
7338 else | 7328 else |
7339 echo "configure: failed program was:" >&5 | 7329 echo "configure: failed program was:" >&5 |
7340 cat conftest.$ac_ext >&5 | 7330 cat conftest.$ac_ext >&5 |
7353 fi | 7343 fi |
7354 | 7344 |
7355 } | 7345 } |
7356 test -z "$with_canna" && { | 7346 test -z "$with_canna" && { |
7357 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7347 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7358 echo "configure:7359: checking for jrKanjiControl in -lcanna" >&5 | 7348 echo "configure:7349: checking for jrKanjiControl in -lcanna" >&5 |
7359 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7349 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7360 | 7350 |
7361 xe_check_libs=" -lcanna " | 7351 xe_check_libs=" -lcanna " |
7362 cat > conftest.$ac_ext <<EOF | 7352 cat > conftest.$ac_ext <<EOF |
7363 #line 7364 "configure" | 7353 #line 7354 "configure" |
7364 #include "confdefs.h" | 7354 #include "confdefs.h" |
7365 /* Override any gcc2 internal prototype to avoid an error. */ | 7355 /* Override any gcc2 internal prototype to avoid an error. */ |
7366 /* We use char because int might match the return type of a gcc2 | 7356 /* We use char because int might match the return type of a gcc2 |
7367 builtin and then its argument prototype would still apply. */ | 7357 builtin and then its argument prototype would still apply. */ |
7368 char jrKanjiControl(); | 7358 char jrKanjiControl(); |
7369 | 7359 |
7370 int main() { | 7360 int main() { |
7371 jrKanjiControl() | 7361 jrKanjiControl() |
7372 ; return 0; } | 7362 ; return 0; } |
7373 EOF | 7363 EOF |
7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7364 if { (eval echo configure:7365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7375 rm -rf conftest* | 7365 rm -rf conftest* |
7376 eval "ac_cv_lib_$ac_lib_var=yes" | 7366 eval "ac_cv_lib_$ac_lib_var=yes" |
7377 else | 7367 else |
7378 echo "configure: failed program was:" >&5 | 7368 echo "configure: failed program was:" >&5 |
7379 cat conftest.$ac_ext >&5 | 7369 cat conftest.$ac_ext >&5 |
7469 fi | 7459 fi |
7470 | 7460 |
7471 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid | 7461 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid |
7472 do | 7462 do |
7473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7474 echo "configure:7475: checking for $ac_func" >&5 | 7464 echo "configure:7465: checking for $ac_func" >&5 |
7475 | 7465 |
7476 cat > conftest.$ac_ext <<EOF | 7466 cat > conftest.$ac_ext <<EOF |
7477 #line 7478 "configure" | 7467 #line 7468 "configure" |
7478 #include "confdefs.h" | 7468 #include "confdefs.h" |
7479 /* System header to define __stub macros and hopefully few prototypes, | 7469 /* System header to define __stub macros and hopefully few prototypes, |
7480 which can conflict with char $ac_func(); below. */ | 7470 which can conflict with char $ac_func(); below. */ |
7481 #include <assert.h> | 7471 #include <assert.h> |
7482 /* Override any gcc2 internal prototype to avoid an error. */ | 7472 /* Override any gcc2 internal prototype to avoid an error. */ |
7495 $ac_func(); | 7485 $ac_func(); |
7496 #endif | 7486 #endif |
7497 | 7487 |
7498 ; return 0; } | 7488 ; return 0; } |
7499 EOF | 7489 EOF |
7500 if { (eval echo configure:7501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7501 rm -rf conftest* | 7491 rm -rf conftest* |
7502 eval "ac_cv_func_$ac_func=yes" | 7492 eval "ac_cv_func_$ac_func=yes" |
7503 else | 7493 else |
7504 echo "configure: failed program was:" >&5 | 7494 echo "configure: failed program was:" >&5 |
7505 cat conftest.$ac_ext >&5 | 7495 cat conftest.$ac_ext >&5 |
7532 fi ;; | 7522 fi ;; |
7533 * ) | 7523 * ) |
7534 for ac_func in realpath | 7524 for ac_func in realpath |
7535 do | 7525 do |
7536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7537 echo "configure:7538: checking for $ac_func" >&5 | 7527 echo "configure:7528: checking for $ac_func" >&5 |
7538 | 7528 |
7539 cat > conftest.$ac_ext <<EOF | 7529 cat > conftest.$ac_ext <<EOF |
7540 #line 7541 "configure" | 7530 #line 7531 "configure" |
7541 #include "confdefs.h" | 7531 #include "confdefs.h" |
7542 /* System header to define __stub macros and hopefully few prototypes, | 7532 /* System header to define __stub macros and hopefully few prototypes, |
7543 which can conflict with char $ac_func(); below. */ | 7533 which can conflict with char $ac_func(); below. */ |
7544 #include <assert.h> | 7534 #include <assert.h> |
7545 /* Override any gcc2 internal prototype to avoid an error. */ | 7535 /* Override any gcc2 internal prototype to avoid an error. */ |
7558 $ac_func(); | 7548 $ac_func(); |
7559 #endif | 7549 #endif |
7560 | 7550 |
7561 ; return 0; } | 7551 ; return 0; } |
7562 EOF | 7552 EOF |
7563 if { (eval echo configure:7564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7553 if { (eval echo configure:7554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7564 rm -rf conftest* | 7554 rm -rf conftest* |
7565 eval "ac_cv_func_$ac_func=yes" | 7555 eval "ac_cv_func_$ac_func=yes" |
7566 else | 7556 else |
7567 echo "configure: failed program was:" >&5 | 7557 echo "configure: failed program was:" >&5 |
7568 cat conftest.$ac_ext >&5 | 7558 cat conftest.$ac_ext >&5 |
7591 echo " xemacs will be linked with \"realpath.o\"" | 7581 echo " xemacs will be linked with \"realpath.o\"" |
7592 fi ;; | 7582 fi ;; |
7593 esac | 7583 esac |
7594 | 7584 |
7595 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7585 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7596 echo "configure:7597: checking whether netdb declares h_errno" >&5 | 7586 echo "configure:7587: checking whether netdb declares h_errno" >&5 |
7597 cat > conftest.$ac_ext <<EOF | 7587 cat > conftest.$ac_ext <<EOF |
7598 #line 7599 "configure" | 7588 #line 7589 "configure" |
7599 #include "confdefs.h" | 7589 #include "confdefs.h" |
7600 #include <netdb.h> | 7590 #include <netdb.h> |
7601 int main() { | 7591 int main() { |
7602 return h_errno; | 7592 return h_errno; |
7603 ; return 0; } | 7593 ; return 0; } |
7604 EOF | 7594 EOF |
7605 if { (eval echo configure:7606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7595 if { (eval echo configure:7596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7606 rm -rf conftest* | 7596 rm -rf conftest* |
7607 echo "$ac_t""yes" 1>&6 | 7597 echo "$ac_t""yes" 1>&6 |
7608 { test "$extra_verbose" = "yes" && cat << \EOF | 7598 { test "$extra_verbose" = "yes" && cat << \EOF |
7609 Defining HAVE_H_ERRNO | 7599 Defining HAVE_H_ERRNO |
7610 EOF | 7600 EOF |
7620 echo "$ac_t""no" 1>&6 | 7610 echo "$ac_t""no" 1>&6 |
7621 fi | 7611 fi |
7622 rm -f conftest* | 7612 rm -f conftest* |
7623 | 7613 |
7624 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7614 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7625 echo "configure:7626: checking for sigsetjmp" >&5 | 7615 echo "configure:7616: checking for sigsetjmp" >&5 |
7626 cat > conftest.$ac_ext <<EOF | 7616 cat > conftest.$ac_ext <<EOF |
7627 #line 7628 "configure" | 7617 #line 7618 "configure" |
7628 #include "confdefs.h" | 7618 #include "confdefs.h" |
7629 #include <setjmp.h> | 7619 #include <setjmp.h> |
7630 int main() { | 7620 int main() { |
7631 sigjmp_buf bar; sigsetjmp (bar, 0); | 7621 sigjmp_buf bar; sigsetjmp (bar, 0); |
7632 ; return 0; } | 7622 ; return 0; } |
7633 EOF | 7623 EOF |
7634 if { (eval echo configure:7635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7624 if { (eval echo configure:7625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7635 rm -rf conftest* | 7625 rm -rf conftest* |
7636 echo "$ac_t""yes" 1>&6 | 7626 echo "$ac_t""yes" 1>&6 |
7637 { test "$extra_verbose" = "yes" && cat << \EOF | 7627 { test "$extra_verbose" = "yes" && cat << \EOF |
7638 Defining HAVE_SIGSETJMP | 7628 Defining HAVE_SIGSETJMP |
7639 EOF | 7629 EOF |
7649 echo "$ac_t""no" 1>&6 | 7639 echo "$ac_t""no" 1>&6 |
7650 fi | 7640 fi |
7651 rm -f conftest* | 7641 rm -f conftest* |
7652 | 7642 |
7653 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7643 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7654 echo "configure:7655: checking whether localtime caches TZ" >&5 | 7644 echo "configure:7645: checking whether localtime caches TZ" >&5 |
7655 | 7645 |
7656 if test "$ac_cv_func_tzset" = "yes"; then | 7646 if test "$ac_cv_func_tzset" = "yes"; then |
7657 cat > conftest.$ac_ext <<EOF | 7647 cat > conftest.$ac_ext <<EOF |
7658 #line 7659 "configure" | 7648 #line 7649 "configure" |
7659 #include "confdefs.h" | 7649 #include "confdefs.h" |
7660 #include <time.h> | 7650 #include <time.h> |
7661 #if STDC_HEADERS | 7651 #if STDC_HEADERS |
7662 # include <stdlib.h> | 7652 # include <stdlib.h> |
7663 #endif | 7653 #endif |
7688 if (localtime (&now)->tm_hour != hour_unset) | 7678 if (localtime (&now)->tm_hour != hour_unset) |
7689 exit (1); | 7679 exit (1); |
7690 exit (0); | 7680 exit (0); |
7691 } | 7681 } |
7692 EOF | 7682 EOF |
7693 if { (eval echo configure:7694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7683 if { (eval echo configure:7684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7694 then | 7684 then |
7695 emacs_cv_localtime_cache=no | 7685 emacs_cv_localtime_cache=no |
7696 else | 7686 else |
7697 echo "configure: failed program was:" >&5 | 7687 echo "configure: failed program was:" >&5 |
7698 cat conftest.$ac_ext >&5 | 7688 cat conftest.$ac_ext >&5 |
7717 | 7707 |
7718 fi | 7708 fi |
7719 | 7709 |
7720 if test "$HAVE_TIMEVAL" = "yes"; then | 7710 if test "$HAVE_TIMEVAL" = "yes"; then |
7721 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7711 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7722 echo "configure:7723: checking whether gettimeofday cannot accept two arguments" >&5 | 7712 echo "configure:7713: checking whether gettimeofday cannot accept two arguments" >&5 |
7723 cat > conftest.$ac_ext <<EOF | 7713 cat > conftest.$ac_ext <<EOF |
7724 #line 7725 "configure" | 7714 #line 7715 "configure" |
7725 #include "confdefs.h" | 7715 #include "confdefs.h" |
7726 | 7716 |
7727 #ifdef TIME_WITH_SYS_TIME | 7717 #ifdef TIME_WITH_SYS_TIME |
7728 #include <sys/time.h> | 7718 #include <sys/time.h> |
7729 #include <time.h> | 7719 #include <time.h> |
7741 struct timezone dummy; | 7731 struct timezone dummy; |
7742 gettimeofday (&time, &dummy); | 7732 gettimeofday (&time, &dummy); |
7743 | 7733 |
7744 ; return 0; } | 7734 ; return 0; } |
7745 EOF | 7735 EOF |
7746 if { (eval echo configure:7747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7736 if { (eval echo configure:7737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7747 rm -rf conftest* | 7737 rm -rf conftest* |
7748 echo "$ac_t""no" 1>&6 | 7738 echo "$ac_t""no" 1>&6 |
7749 else | 7739 else |
7750 echo "configure: failed program was:" >&5 | 7740 echo "configure: failed program was:" >&5 |
7751 cat conftest.$ac_ext >&5 | 7741 cat conftest.$ac_ext >&5 |
7763 rm -f conftest* | 7753 rm -f conftest* |
7764 fi | 7754 fi |
7765 | 7755 |
7766 | 7756 |
7767 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7757 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7768 echo "configure:7769: checking for inline" >&5 | 7758 echo "configure:7759: checking for inline" >&5 |
7769 | 7759 |
7770 ac_cv_c_inline=no | 7760 ac_cv_c_inline=no |
7771 for ac_kw in inline __inline__ __inline; do | 7761 for ac_kw in inline __inline__ __inline; do |
7772 cat > conftest.$ac_ext <<EOF | 7762 cat > conftest.$ac_ext <<EOF |
7773 #line 7774 "configure" | 7763 #line 7764 "configure" |
7774 #include "confdefs.h" | 7764 #include "confdefs.h" |
7775 | 7765 |
7776 int main() { | 7766 int main() { |
7777 } $ac_kw foo() { | 7767 } $ac_kw foo() { |
7778 ; return 0; } | 7768 ; return 0; } |
7779 EOF | 7769 EOF |
7780 if { (eval echo configure:7781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7770 if { (eval echo configure:7771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7781 rm -rf conftest* | 7771 rm -rf conftest* |
7782 ac_cv_c_inline=$ac_kw; break | 7772 ac_cv_c_inline=$ac_kw; break |
7783 else | 7773 else |
7784 echo "configure: failed program was:" >&5 | 7774 echo "configure: failed program was:" >&5 |
7785 cat conftest.$ac_ext >&5 | 7775 cat conftest.$ac_ext >&5 |
7825 | 7815 |
7826 | 7816 |
7827 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7817 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7828 # for constant arguments. Useless! | 7818 # for constant arguments. Useless! |
7829 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7819 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
7830 echo "configure:7831: checking for working alloca.h" >&5 | 7820 echo "configure:7821: checking for working alloca.h" >&5 |
7831 | 7821 |
7832 cat > conftest.$ac_ext <<EOF | 7822 cat > conftest.$ac_ext <<EOF |
7833 #line 7834 "configure" | 7823 #line 7824 "configure" |
7834 #include "confdefs.h" | 7824 #include "confdefs.h" |
7835 #include <alloca.h> | 7825 #include <alloca.h> |
7836 int main() { | 7826 int main() { |
7837 char *p = alloca(2 * sizeof(int)); | 7827 char *p = alloca(2 * sizeof(int)); |
7838 ; return 0; } | 7828 ; return 0; } |
7839 EOF | 7829 EOF |
7840 if { (eval echo configure:7841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7830 if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7841 rm -rf conftest* | 7831 rm -rf conftest* |
7842 ac_cv_header_alloca_h=yes | 7832 ac_cv_header_alloca_h=yes |
7843 else | 7833 else |
7844 echo "configure: failed program was:" >&5 | 7834 echo "configure: failed program was:" >&5 |
7845 cat conftest.$ac_ext >&5 | 7835 cat conftest.$ac_ext >&5 |
7859 } | 7849 } |
7860 | 7850 |
7861 fi | 7851 fi |
7862 | 7852 |
7863 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7853 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
7864 echo "configure:7865: checking for alloca" >&5 | 7854 echo "configure:7855: checking for alloca" >&5 |
7865 | 7855 |
7866 cat > conftest.$ac_ext <<EOF | 7856 cat > conftest.$ac_ext <<EOF |
7867 #line 7868 "configure" | 7857 #line 7858 "configure" |
7868 #include "confdefs.h" | 7858 #include "confdefs.h" |
7869 | 7859 |
7870 #ifdef __GNUC__ | 7860 #ifdef __GNUC__ |
7871 # define alloca __builtin_alloca | 7861 # define alloca __builtin_alloca |
7872 #else | 7862 #else |
7885 | 7875 |
7886 int main() { | 7876 int main() { |
7887 char *p = (char *) alloca(1); | 7877 char *p = (char *) alloca(1); |
7888 ; return 0; } | 7878 ; return 0; } |
7889 EOF | 7879 EOF |
7890 if { (eval echo configure:7891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7880 if { (eval echo configure:7881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7891 rm -rf conftest* | 7881 rm -rf conftest* |
7892 ac_cv_func_alloca_works=yes | 7882 ac_cv_func_alloca_works=yes |
7893 else | 7883 else |
7894 echo "configure: failed program was:" >&5 | 7884 echo "configure: failed program was:" >&5 |
7895 cat conftest.$ac_ext >&5 | 7885 cat conftest.$ac_ext >&5 |
7924 EOF | 7914 EOF |
7925 } | 7915 } |
7926 | 7916 |
7927 | 7917 |
7928 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7918 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
7929 echo "configure:7930: checking whether alloca needs Cray hooks" >&5 | 7919 echo "configure:7920: checking whether alloca needs Cray hooks" >&5 |
7930 | 7920 |
7931 cat > conftest.$ac_ext <<EOF | 7921 cat > conftest.$ac_ext <<EOF |
7932 #line 7933 "configure" | 7922 #line 7923 "configure" |
7933 #include "confdefs.h" | 7923 #include "confdefs.h" |
7934 #if defined(CRAY) && ! defined(CRAY2) | 7924 #if defined(CRAY) && ! defined(CRAY2) |
7935 webecray | 7925 webecray |
7936 #else | 7926 #else |
7937 wenotbecray | 7927 wenotbecray |
7951 | 7941 |
7952 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7942 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
7953 if test $ac_cv_os_cray = yes; then | 7943 if test $ac_cv_os_cray = yes; then |
7954 for ac_func in _getb67 GETB67 getb67; do | 7944 for ac_func in _getb67 GETB67 getb67; do |
7955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7956 echo "configure:7957: checking for $ac_func" >&5 | 7946 echo "configure:7947: checking for $ac_func" >&5 |
7957 | 7947 |
7958 cat > conftest.$ac_ext <<EOF | 7948 cat > conftest.$ac_ext <<EOF |
7959 #line 7960 "configure" | 7949 #line 7950 "configure" |
7960 #include "confdefs.h" | 7950 #include "confdefs.h" |
7961 /* System header to define __stub macros and hopefully few prototypes, | 7951 /* System header to define __stub macros and hopefully few prototypes, |
7962 which can conflict with char $ac_func(); below. */ | 7952 which can conflict with char $ac_func(); below. */ |
7963 #include <assert.h> | 7953 #include <assert.h> |
7964 /* Override any gcc2 internal prototype to avoid an error. */ | 7954 /* Override any gcc2 internal prototype to avoid an error. */ |
7977 $ac_func(); | 7967 $ac_func(); |
7978 #endif | 7968 #endif |
7979 | 7969 |
7980 ; return 0; } | 7970 ; return 0; } |
7981 EOF | 7971 EOF |
7982 if { (eval echo configure:7983: \"$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 |
7983 rm -rf conftest* | 7973 rm -rf conftest* |
7984 eval "ac_cv_func_$ac_func=yes" | 7974 eval "ac_cv_func_$ac_func=yes" |
7985 else | 7975 else |
7986 echo "configure: failed program was:" >&5 | 7976 echo "configure: failed program was:" >&5 |
7987 cat conftest.$ac_ext >&5 | 7977 cat conftest.$ac_ext >&5 |
8007 | 7997 |
8008 done | 7998 done |
8009 fi | 7999 fi |
8010 | 8000 |
8011 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8001 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8012 echo "configure:8013: checking stack direction for C alloca" >&5 | 8002 echo "configure:8003: checking stack direction for C alloca" >&5 |
8013 | 8003 |
8014 cat > conftest.$ac_ext <<EOF | 8004 cat > conftest.$ac_ext <<EOF |
8015 #line 8016 "configure" | 8005 #line 8006 "configure" |
8016 #include "confdefs.h" | 8006 #include "confdefs.h" |
8017 find_stack_direction () | 8007 find_stack_direction () |
8018 { | 8008 { |
8019 static char *addr = 0; | 8009 static char *addr = 0; |
8020 auto char dummy; | 8010 auto char dummy; |
8029 main () | 8019 main () |
8030 { | 8020 { |
8031 exit (find_stack_direction() < 0); | 8021 exit (find_stack_direction() < 0); |
8032 } | 8022 } |
8033 EOF | 8023 EOF |
8034 if { (eval echo configure:8035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8024 if { (eval echo configure:8025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8035 then | 8025 then |
8036 ac_cv_c_stack_direction=1 | 8026 ac_cv_c_stack_direction=1 |
8037 else | 8027 else |
8038 echo "configure: failed program was:" >&5 | 8028 echo "configure: failed program was:" >&5 |
8039 cat conftest.$ac_ext >&5 | 8029 cat conftest.$ac_ext >&5 |
8057 echo " xemacs will be linked with \"$ALLOCA\"" | 8047 echo " xemacs will be linked with \"$ALLOCA\"" |
8058 fi | 8048 fi |
8059 | 8049 |
8060 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8050 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8061 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8051 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8062 echo "configure:8063: checking for vfork.h" >&5 | 8052 echo "configure:8053: checking for vfork.h" >&5 |
8063 | 8053 |
8064 cat > conftest.$ac_ext <<EOF | 8054 cat > conftest.$ac_ext <<EOF |
8065 #line 8066 "configure" | 8055 #line 8056 "configure" |
8066 #include "confdefs.h" | 8056 #include "confdefs.h" |
8067 #include <vfork.h> | 8057 #include <vfork.h> |
8068 EOF | 8058 EOF |
8069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8070 { (eval echo configure:8071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8060 { (eval echo configure:8061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8071 ac_err=`grep -v '^ *+' conftest.out` | 8061 ac_err=`grep -v '^ *+' conftest.out` |
8072 if test -z "$ac_err"; then | 8062 if test -z "$ac_err"; then |
8073 rm -rf conftest* | 8063 rm -rf conftest* |
8074 eval "ac_cv_header_$ac_safe=yes" | 8064 eval "ac_cv_header_$ac_safe=yes" |
8075 else | 8065 else |
8093 else | 8083 else |
8094 echo "$ac_t""no" 1>&6 | 8084 echo "$ac_t""no" 1>&6 |
8095 fi | 8085 fi |
8096 | 8086 |
8097 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8087 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8098 echo "configure:8099: checking for working vfork" >&5 | 8088 echo "configure:8089: checking for working vfork" >&5 |
8099 | 8089 |
8100 cat > conftest.$ac_ext <<EOF | 8090 cat > conftest.$ac_ext <<EOF |
8101 #line 8102 "configure" | 8091 #line 8092 "configure" |
8102 #include "confdefs.h" | 8092 #include "confdefs.h" |
8103 /* Thanks to Paul Eggert for this test. */ | 8093 /* Thanks to Paul Eggert for this test. */ |
8104 #include <stdio.h> | 8094 #include <stdio.h> |
8105 #include <sys/types.h> | 8095 #include <sys/types.h> |
8106 #include <sys/stat.h> | 8096 #include <sys/stat.h> |
8191 || fstat(fileno(stdout), &st) != 0 | 8181 || fstat(fileno(stdout), &st) != 0 |
8192 ); | 8182 ); |
8193 } | 8183 } |
8194 } | 8184 } |
8195 EOF | 8185 EOF |
8196 if { (eval echo configure:8197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8186 if { (eval echo configure:8187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8197 then | 8187 then |
8198 ac_cv_func_vfork_works=yes | 8188 ac_cv_func_vfork_works=yes |
8199 else | 8189 else |
8200 echo "configure: failed program was:" >&5 | 8190 echo "configure: failed program was:" >&5 |
8201 cat conftest.$ac_ext >&5 | 8191 cat conftest.$ac_ext >&5 |
8216 | 8206 |
8217 fi | 8207 fi |
8218 | 8208 |
8219 | 8209 |
8220 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8210 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8221 echo "configure:8222: checking for working strcoll" >&5 | 8211 echo "configure:8212: checking for working strcoll" >&5 |
8222 | 8212 |
8223 cat > conftest.$ac_ext <<EOF | 8213 cat > conftest.$ac_ext <<EOF |
8224 #line 8225 "configure" | 8214 #line 8215 "configure" |
8225 #include "confdefs.h" | 8215 #include "confdefs.h" |
8226 #include <string.h> | 8216 #include <string.h> |
8227 main () | 8217 main () |
8228 { | 8218 { |
8229 exit (strcoll ("abc", "def") >= 0 || | 8219 exit (strcoll ("abc", "def") >= 0 || |
8230 strcoll ("ABC", "DEF") >= 0 || | 8220 strcoll ("ABC", "DEF") >= 0 || |
8231 strcoll ("123", "456") >= 0); | 8221 strcoll ("123", "456") >= 0); |
8232 } | 8222 } |
8233 EOF | 8223 EOF |
8234 if { (eval echo configure:8235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8224 if { (eval echo configure:8225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8235 then | 8225 then |
8236 ac_cv_func_strcoll_works=yes | 8226 ac_cv_func_strcoll_works=yes |
8237 else | 8227 else |
8238 echo "configure: failed program was:" >&5 | 8228 echo "configure: failed program was:" >&5 |
8239 cat conftest.$ac_ext >&5 | 8229 cat conftest.$ac_ext >&5 |
8256 | 8246 |
8257 | 8247 |
8258 for ac_func in getpgrp | 8248 for ac_func in getpgrp |
8259 do | 8249 do |
8260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8261 echo "configure:8262: checking for $ac_func" >&5 | 8251 echo "configure:8252: checking for $ac_func" >&5 |
8262 | 8252 |
8263 cat > conftest.$ac_ext <<EOF | 8253 cat > conftest.$ac_ext <<EOF |
8264 #line 8265 "configure" | 8254 #line 8255 "configure" |
8265 #include "confdefs.h" | 8255 #include "confdefs.h" |
8266 /* System header to define __stub macros and hopefully few prototypes, | 8256 /* System header to define __stub macros and hopefully few prototypes, |
8267 which can conflict with char $ac_func(); below. */ | 8257 which can conflict with char $ac_func(); below. */ |
8268 #include <assert.h> | 8258 #include <assert.h> |
8269 /* Override any gcc2 internal prototype to avoid an error. */ | 8259 /* Override any gcc2 internal prototype to avoid an error. */ |
8282 $ac_func(); | 8272 $ac_func(); |
8283 #endif | 8273 #endif |
8284 | 8274 |
8285 ; return 0; } | 8275 ; return 0; } |
8286 EOF | 8276 EOF |
8287 if { (eval echo configure:8288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8277 if { (eval echo configure:8278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8288 rm -rf conftest* | 8278 rm -rf conftest* |
8289 eval "ac_cv_func_$ac_func=yes" | 8279 eval "ac_cv_func_$ac_func=yes" |
8290 else | 8280 else |
8291 echo "configure: failed program was:" >&5 | 8281 echo "configure: failed program was:" >&5 |
8292 cat conftest.$ac_ext >&5 | 8282 cat conftest.$ac_ext >&5 |
8310 echo "$ac_t""no" 1>&6 | 8300 echo "$ac_t""no" 1>&6 |
8311 fi | 8301 fi |
8312 done | 8302 done |
8313 | 8303 |
8314 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8304 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8315 echo "configure:8316: checking whether getpgrp takes no argument" >&5 | 8305 echo "configure:8306: checking whether getpgrp takes no argument" >&5 |
8316 | 8306 |
8317 cat > conftest.$ac_ext <<EOF | 8307 cat > conftest.$ac_ext <<EOF |
8318 #line 8319 "configure" | 8308 #line 8309 "configure" |
8319 #include "confdefs.h" | 8309 #include "confdefs.h" |
8320 | 8310 |
8321 /* | 8311 /* |
8322 * If this system has a BSD-style getpgrp(), | 8312 * If this system has a BSD-style getpgrp(), |
8323 * which takes a pid argument, exit unsuccessfully. | 8313 * which takes a pid argument, exit unsuccessfully. |
8368 exit(s>>8); | 8358 exit(s>>8); |
8369 } | 8359 } |
8370 } | 8360 } |
8371 | 8361 |
8372 EOF | 8362 EOF |
8373 if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8363 if { (eval echo configure:8364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8374 then | 8364 then |
8375 ac_cv_func_getpgrp_void=yes | 8365 ac_cv_func_getpgrp_void=yes |
8376 else | 8366 else |
8377 echo "configure: failed program was:" >&5 | 8367 echo "configure: failed program was:" >&5 |
8378 cat conftest.$ac_ext >&5 | 8368 cat conftest.$ac_ext >&5 |
8394 | 8384 |
8395 fi | 8385 fi |
8396 | 8386 |
8397 | 8387 |
8398 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8388 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8399 echo "configure:8400: checking for working mmap" >&5 | 8389 echo "configure:8390: checking for working mmap" >&5 |
8400 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8390 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8401 cat > conftest.$ac_ext <<EOF | 8391 cat > conftest.$ac_ext <<EOF |
8402 #line 8403 "configure" | 8392 #line 8393 "configure" |
8403 #include "confdefs.h" | 8393 #include "confdefs.h" |
8404 #include <stdio.h> | 8394 #include <stdio.h> |
8405 #include <unistd.h> | 8395 #include <unistd.h> |
8406 #include <fcntl.h> | 8396 #include <fcntl.h> |
8407 #include <sys/mman.h> | 8397 #include <sys/mman.h> |
8430 return 0; | 8420 return 0; |
8431 perror ("conftest: mmap failed"); | 8421 perror ("conftest: mmap failed"); |
8432 return 1; | 8422 return 1; |
8433 } | 8423 } |
8434 EOF | 8424 EOF |
8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8425 if { (eval echo configure:8426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8436 then | 8426 then |
8437 have_mmap=yes | 8427 have_mmap=yes |
8438 else | 8428 else |
8439 echo "configure: failed program was:" >&5 | 8429 echo "configure: failed program was:" >&5 |
8440 cat conftest.$ac_ext >&5 | 8430 cat conftest.$ac_ext >&5 |
8464 } | 8454 } |
8465 | 8455 |
8466 | 8456 |
8467 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8457 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8468 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8458 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8469 echo "configure:8470: checking for termios.h" >&5 | 8459 echo "configure:8460: checking for termios.h" >&5 |
8470 | 8460 |
8471 cat > conftest.$ac_ext <<EOF | 8461 cat > conftest.$ac_ext <<EOF |
8472 #line 8473 "configure" | 8462 #line 8463 "configure" |
8473 #include "confdefs.h" | 8463 #include "confdefs.h" |
8474 #include <termios.h> | 8464 #include <termios.h> |
8475 EOF | 8465 EOF |
8476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8477 { (eval echo configure:8478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8467 { (eval echo configure:8468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8478 ac_err=`grep -v '^ *+' conftest.out` | 8468 ac_err=`grep -v '^ *+' conftest.out` |
8479 if test -z "$ac_err"; then | 8469 if test -z "$ac_err"; then |
8480 rm -rf conftest* | 8470 rm -rf conftest* |
8481 eval "ac_cv_header_$ac_safe=yes" | 8471 eval "ac_cv_header_$ac_safe=yes" |
8482 else | 8472 else |
8515 | 8505 |
8516 else | 8506 else |
8517 echo "$ac_t""no" 1>&6 | 8507 echo "$ac_t""no" 1>&6 |
8518 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8508 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8519 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8509 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8520 echo "configure:8521: checking for termio.h" >&5 | 8510 echo "configure:8511: checking for termio.h" >&5 |
8521 | 8511 |
8522 cat > conftest.$ac_ext <<EOF | 8512 cat > conftest.$ac_ext <<EOF |
8523 #line 8524 "configure" | 8513 #line 8514 "configure" |
8524 #include "confdefs.h" | 8514 #include "confdefs.h" |
8525 #include <termio.h> | 8515 #include <termio.h> |
8526 EOF | 8516 EOF |
8527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8528 { (eval echo configure:8529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8518 { (eval echo configure:8519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8529 ac_err=`grep -v '^ *+' conftest.out` | 8519 ac_err=`grep -v '^ *+' conftest.out` |
8530 if test -z "$ac_err"; then | 8520 if test -z "$ac_err"; then |
8531 rm -rf conftest* | 8521 rm -rf conftest* |
8532 eval "ac_cv_header_$ac_safe=yes" | 8522 eval "ac_cv_header_$ac_safe=yes" |
8533 else | 8523 else |
8555 fi | 8545 fi |
8556 | 8546 |
8557 | 8547 |
8558 | 8548 |
8559 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8549 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8560 echo "configure:8561: checking for socket" >&5 | 8550 echo "configure:8551: checking for socket" >&5 |
8561 | 8551 |
8562 cat > conftest.$ac_ext <<EOF | 8552 cat > conftest.$ac_ext <<EOF |
8563 #line 8564 "configure" | 8553 #line 8554 "configure" |
8564 #include "confdefs.h" | 8554 #include "confdefs.h" |
8565 /* System header to define __stub macros and hopefully few prototypes, | 8555 /* System header to define __stub macros and hopefully few prototypes, |
8566 which can conflict with char socket(); below. */ | 8556 which can conflict with char socket(); below. */ |
8567 #include <assert.h> | 8557 #include <assert.h> |
8568 /* Override any gcc2 internal prototype to avoid an error. */ | 8558 /* Override any gcc2 internal prototype to avoid an error. */ |
8581 socket(); | 8571 socket(); |
8582 #endif | 8572 #endif |
8583 | 8573 |
8584 ; return 0; } | 8574 ; return 0; } |
8585 EOF | 8575 EOF |
8586 if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8576 if { (eval echo configure:8577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8587 rm -rf conftest* | 8577 rm -rf conftest* |
8588 eval "ac_cv_func_socket=yes" | 8578 eval "ac_cv_func_socket=yes" |
8589 else | 8579 else |
8590 echo "configure: failed program was:" >&5 | 8580 echo "configure: failed program was:" >&5 |
8591 cat conftest.$ac_ext >&5 | 8581 cat conftest.$ac_ext >&5 |
8596 | 8586 |
8597 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8587 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8598 echo "$ac_t""yes" 1>&6 | 8588 echo "$ac_t""yes" 1>&6 |
8599 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8589 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8600 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8590 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8601 echo "configure:8602: checking for netinet/in.h" >&5 | 8591 echo "configure:8592: checking for netinet/in.h" >&5 |
8602 | 8592 |
8603 cat > conftest.$ac_ext <<EOF | 8593 cat > conftest.$ac_ext <<EOF |
8604 #line 8605 "configure" | 8594 #line 8595 "configure" |
8605 #include "confdefs.h" | 8595 #include "confdefs.h" |
8606 #include <netinet/in.h> | 8596 #include <netinet/in.h> |
8607 EOF | 8597 EOF |
8608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8609 { (eval echo configure:8610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8599 { (eval echo configure:8600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8610 ac_err=`grep -v '^ *+' conftest.out` | 8600 ac_err=`grep -v '^ *+' conftest.out` |
8611 if test -z "$ac_err"; then | 8601 if test -z "$ac_err"; then |
8612 rm -rf conftest* | 8602 rm -rf conftest* |
8613 eval "ac_cv_header_$ac_safe=yes" | 8603 eval "ac_cv_header_$ac_safe=yes" |
8614 else | 8604 else |
8621 rm -f conftest* | 8611 rm -f conftest* |
8622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8623 echo "$ac_t""yes" 1>&6 | 8613 echo "$ac_t""yes" 1>&6 |
8624 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8614 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8625 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8615 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8626 echo "configure:8627: checking for arpa/inet.h" >&5 | 8616 echo "configure:8617: checking for arpa/inet.h" >&5 |
8627 | 8617 |
8628 cat > conftest.$ac_ext <<EOF | 8618 cat > conftest.$ac_ext <<EOF |
8629 #line 8630 "configure" | 8619 #line 8620 "configure" |
8630 #include "confdefs.h" | 8620 #include "confdefs.h" |
8631 #include <arpa/inet.h> | 8621 #include <arpa/inet.h> |
8632 EOF | 8622 EOF |
8633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8634 { (eval echo configure:8635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8624 { (eval echo configure:8625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8635 ac_err=`grep -v '^ *+' conftest.out` | 8625 ac_err=`grep -v '^ *+' conftest.out` |
8636 if test -z "$ac_err"; then | 8626 if test -z "$ac_err"; then |
8637 rm -rf conftest* | 8627 rm -rf conftest* |
8638 eval "ac_cv_header_$ac_safe=yes" | 8628 eval "ac_cv_header_$ac_safe=yes" |
8639 else | 8629 else |
8654 #define HAVE_SOCKETS 1 | 8644 #define HAVE_SOCKETS 1 |
8655 EOF | 8645 EOF |
8656 } | 8646 } |
8657 | 8647 |
8658 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8648 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8659 echo "configure:8660: checking "for sun_len member in struct sockaddr_un"" >&5 | 8649 echo "configure:8650: checking "for sun_len member in struct sockaddr_un"" >&5 |
8660 cat > conftest.$ac_ext <<EOF | 8650 cat > conftest.$ac_ext <<EOF |
8661 #line 8662 "configure" | 8651 #line 8652 "configure" |
8662 #include "confdefs.h" | 8652 #include "confdefs.h" |
8663 | 8653 |
8664 #include <sys/types.h> | 8654 #include <sys/types.h> |
8665 #include <sys/socket.h> | 8655 #include <sys/socket.h> |
8666 #include <sys/un.h> | 8656 #include <sys/un.h> |
8667 | 8657 |
8668 int main() { | 8658 int main() { |
8669 static struct sockaddr_un x; x.sun_len = 1; | 8659 static struct sockaddr_un x; x.sun_len = 1; |
8670 ; return 0; } | 8660 ; return 0; } |
8671 EOF | 8661 EOF |
8672 if { (eval echo configure:8673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8662 if { (eval echo configure:8663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8673 rm -rf conftest* | 8663 rm -rf conftest* |
8674 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8664 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8675 Defining HAVE_SOCKADDR_SUN_LEN | 8665 Defining HAVE_SOCKADDR_SUN_LEN |
8676 EOF | 8666 EOF |
8677 cat >> confdefs.h <<\EOF | 8667 cat >> confdefs.h <<\EOF |
8698 echo "$ac_t""no" 1>&6 | 8688 echo "$ac_t""no" 1>&6 |
8699 fi | 8689 fi |
8700 | 8690 |
8701 | 8691 |
8702 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8692 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8703 echo "configure:8704: checking for msgget" >&5 | 8693 echo "configure:8694: checking for msgget" >&5 |
8704 | 8694 |
8705 cat > conftest.$ac_ext <<EOF | 8695 cat > conftest.$ac_ext <<EOF |
8706 #line 8707 "configure" | 8696 #line 8697 "configure" |
8707 #include "confdefs.h" | 8697 #include "confdefs.h" |
8708 /* System header to define __stub macros and hopefully few prototypes, | 8698 /* System header to define __stub macros and hopefully few prototypes, |
8709 which can conflict with char msgget(); below. */ | 8699 which can conflict with char msgget(); below. */ |
8710 #include <assert.h> | 8700 #include <assert.h> |
8711 /* Override any gcc2 internal prototype to avoid an error. */ | 8701 /* Override any gcc2 internal prototype to avoid an error. */ |
8724 msgget(); | 8714 msgget(); |
8725 #endif | 8715 #endif |
8726 | 8716 |
8727 ; return 0; } | 8717 ; return 0; } |
8728 EOF | 8718 EOF |
8729 if { (eval echo configure:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8719 if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8730 rm -rf conftest* | 8720 rm -rf conftest* |
8731 eval "ac_cv_func_msgget=yes" | 8721 eval "ac_cv_func_msgget=yes" |
8732 else | 8722 else |
8733 echo "configure: failed program was:" >&5 | 8723 echo "configure: failed program was:" >&5 |
8734 cat conftest.$ac_ext >&5 | 8724 cat conftest.$ac_ext >&5 |
8739 | 8729 |
8740 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8730 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
8741 echo "$ac_t""yes" 1>&6 | 8731 echo "$ac_t""yes" 1>&6 |
8742 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8732 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
8743 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8733 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
8744 echo "configure:8745: checking for sys/ipc.h" >&5 | 8734 echo "configure:8735: checking for sys/ipc.h" >&5 |
8745 | 8735 |
8746 cat > conftest.$ac_ext <<EOF | 8736 cat > conftest.$ac_ext <<EOF |
8747 #line 8748 "configure" | 8737 #line 8738 "configure" |
8748 #include "confdefs.h" | 8738 #include "confdefs.h" |
8749 #include <sys/ipc.h> | 8739 #include <sys/ipc.h> |
8750 EOF | 8740 EOF |
8751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8752 { (eval echo configure:8753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8742 { (eval echo configure:8743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8753 ac_err=`grep -v '^ *+' conftest.out` | 8743 ac_err=`grep -v '^ *+' conftest.out` |
8754 if test -z "$ac_err"; then | 8744 if test -z "$ac_err"; then |
8755 rm -rf conftest* | 8745 rm -rf conftest* |
8756 eval "ac_cv_header_$ac_safe=yes" | 8746 eval "ac_cv_header_$ac_safe=yes" |
8757 else | 8747 else |
8764 rm -f conftest* | 8754 rm -f conftest* |
8765 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8755 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8766 echo "$ac_t""yes" 1>&6 | 8756 echo "$ac_t""yes" 1>&6 |
8767 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8757 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
8768 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8758 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
8769 echo "configure:8770: checking for sys/msg.h" >&5 | 8759 echo "configure:8760: checking for sys/msg.h" >&5 |
8770 | 8760 |
8771 cat > conftest.$ac_ext <<EOF | 8761 cat > conftest.$ac_ext <<EOF |
8772 #line 8773 "configure" | 8762 #line 8763 "configure" |
8773 #include "confdefs.h" | 8763 #include "confdefs.h" |
8774 #include <sys/msg.h> | 8764 #include <sys/msg.h> |
8775 EOF | 8765 EOF |
8776 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8777 { (eval echo configure:8778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8767 { (eval echo configure:8768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8778 ac_err=`grep -v '^ *+' conftest.out` | 8768 ac_err=`grep -v '^ *+' conftest.out` |
8779 if test -z "$ac_err"; then | 8769 if test -z "$ac_err"; then |
8780 rm -rf conftest* | 8770 rm -rf conftest* |
8781 eval "ac_cv_header_$ac_safe=yes" | 8771 eval "ac_cv_header_$ac_safe=yes" |
8782 else | 8772 else |
8810 fi | 8800 fi |
8811 | 8801 |
8812 | 8802 |
8813 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8803 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
8814 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8804 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
8815 echo "configure:8816: checking for dirent.h" >&5 | 8805 echo "configure:8806: checking for dirent.h" >&5 |
8816 | 8806 |
8817 cat > conftest.$ac_ext <<EOF | 8807 cat > conftest.$ac_ext <<EOF |
8818 #line 8819 "configure" | 8808 #line 8809 "configure" |
8819 #include "confdefs.h" | 8809 #include "confdefs.h" |
8820 #include <dirent.h> | 8810 #include <dirent.h> |
8821 EOF | 8811 EOF |
8822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8823 { (eval echo configure:8824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8813 { (eval echo configure:8814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8824 ac_err=`grep -v '^ *+' conftest.out` | 8814 ac_err=`grep -v '^ *+' conftest.out` |
8825 if test -z "$ac_err"; then | 8815 if test -z "$ac_err"; then |
8826 rm -rf conftest* | 8816 rm -rf conftest* |
8827 eval "ac_cv_header_$ac_safe=yes" | 8817 eval "ac_cv_header_$ac_safe=yes" |
8828 else | 8818 else |
8845 | 8835 |
8846 else | 8836 else |
8847 echo "$ac_t""no" 1>&6 | 8837 echo "$ac_t""no" 1>&6 |
8848 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8838 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
8849 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8839 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
8850 echo "configure:8851: checking for sys/dir.h" >&5 | 8840 echo "configure:8841: checking for sys/dir.h" >&5 |
8851 | 8841 |
8852 cat > conftest.$ac_ext <<EOF | 8842 cat > conftest.$ac_ext <<EOF |
8853 #line 8854 "configure" | 8843 #line 8844 "configure" |
8854 #include "confdefs.h" | 8844 #include "confdefs.h" |
8855 #include <sys/dir.h> | 8845 #include <sys/dir.h> |
8856 EOF | 8846 EOF |
8857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8858 { (eval echo configure:8859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8848 { (eval echo configure:8849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8859 ac_err=`grep -v '^ *+' conftest.out` | 8849 ac_err=`grep -v '^ *+' conftest.out` |
8860 if test -z "$ac_err"; then | 8850 if test -z "$ac_err"; then |
8861 rm -rf conftest* | 8851 rm -rf conftest* |
8862 eval "ac_cv_header_$ac_safe=yes" | 8852 eval "ac_cv_header_$ac_safe=yes" |
8863 else | 8853 else |
8886 fi | 8876 fi |
8887 | 8877 |
8888 | 8878 |
8889 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8879 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
8890 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8880 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
8891 echo "configure:8892: checking for nlist.h" >&5 | 8881 echo "configure:8882: checking for nlist.h" >&5 |
8892 | 8882 |
8893 cat > conftest.$ac_ext <<EOF | 8883 cat > conftest.$ac_ext <<EOF |
8894 #line 8895 "configure" | 8884 #line 8885 "configure" |
8895 #include "confdefs.h" | 8885 #include "confdefs.h" |
8896 #include <nlist.h> | 8886 #include <nlist.h> |
8897 EOF | 8887 EOF |
8898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8899 { (eval echo configure:8900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8889 { (eval echo configure:8890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8900 ac_err=`grep -v '^ *+' conftest.out` | 8890 ac_err=`grep -v '^ *+' conftest.out` |
8901 if test -z "$ac_err"; then | 8891 if test -z "$ac_err"; then |
8902 rm -rf conftest* | 8892 rm -rf conftest* |
8903 eval "ac_cv_header_$ac_safe=yes" | 8893 eval "ac_cv_header_$ac_safe=yes" |
8904 else | 8894 else |
8935 break; fi | 8925 break; fi |
8936 done | 8926 done |
8937 | 8927 |
8938 | 8928 |
8939 echo "checking "for sound support"" 1>&6 | 8929 echo "checking "for sound support"" 1>&6 |
8940 echo "configure:8941: checking "for sound support"" >&5 | 8930 echo "configure:8931: checking "for sound support"" >&5 |
8941 case "$with_sound" in | 8931 case "$with_sound" in |
8942 native | both ) with_native_sound=yes;; | 8932 native | both ) with_native_sound=yes;; |
8943 nas | no ) with_native_sound=no;; | 8933 nas | no ) with_native_sound=no;; |
8944 esac | 8934 esac |
8945 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8935 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
8946 | 8936 |
8947 if test "$with_native_sound" != "no"; then | 8937 if test "$with_native_sound" != "no"; then |
8948 if test -n "$native_sound_lib"; then | 8938 if test -n "$native_sound_lib"; then |
8949 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8939 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
8950 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8940 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
8951 echo "configure:8952: checking for multimedia/audio_device.h" >&5 | 8941 echo "configure:8942: checking for multimedia/audio_device.h" >&5 |
8952 | 8942 |
8953 cat > conftest.$ac_ext <<EOF | 8943 cat > conftest.$ac_ext <<EOF |
8954 #line 8955 "configure" | 8944 #line 8945 "configure" |
8955 #include "confdefs.h" | 8945 #include "confdefs.h" |
8956 #include <multimedia/audio_device.h> | 8946 #include <multimedia/audio_device.h> |
8957 EOF | 8947 EOF |
8958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8959 { (eval echo configure:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8949 { (eval echo configure:8950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8960 ac_err=`grep -v '^ *+' conftest.out` | 8950 ac_err=`grep -v '^ *+' conftest.out` |
8961 if test -z "$ac_err"; then | 8951 if test -z "$ac_err"; then |
8962 rm -rf conftest* | 8952 rm -rf conftest* |
8963 eval "ac_cv_header_$ac_safe=yes" | 8953 eval "ac_cv_header_$ac_safe=yes" |
8964 else | 8954 else |
9002 case "$canonical" in | 8992 case "$canonical" in |
9003 *-sgi-* ) | 8993 *-sgi-* ) |
9004 if test -z "$native_sound_lib"; then | 8994 if test -z "$native_sound_lib"; then |
9005 | 8995 |
9006 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8996 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9007 echo "configure:9008: checking for ALopenport in -laudio" >&5 | 8997 echo "configure:8998: checking for ALopenport in -laudio" >&5 |
9008 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8998 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9009 | 8999 |
9010 xe_check_libs=" -laudio " | 9000 xe_check_libs=" -laudio " |
9011 cat > conftest.$ac_ext <<EOF | 9001 cat > conftest.$ac_ext <<EOF |
9012 #line 9013 "configure" | 9002 #line 9003 "configure" |
9013 #include "confdefs.h" | 9003 #include "confdefs.h" |
9014 /* Override any gcc2 internal prototype to avoid an error. */ | 9004 /* Override any gcc2 internal prototype to avoid an error. */ |
9015 /* We use char because int might match the return type of a gcc2 | 9005 /* We use char because int might match the return type of a gcc2 |
9016 builtin and then its argument prototype would still apply. */ | 9006 builtin and then its argument prototype would still apply. */ |
9017 char ALopenport(); | 9007 char ALopenport(); |
9018 | 9008 |
9019 int main() { | 9009 int main() { |
9020 ALopenport() | 9010 ALopenport() |
9021 ; return 0; } | 9011 ; return 0; } |
9022 EOF | 9012 EOF |
9023 if { (eval echo configure:9024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9013 if { (eval echo configure:9014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9024 rm -rf conftest* | 9014 rm -rf conftest* |
9025 eval "ac_cv_lib_$ac_lib_var=yes" | 9015 eval "ac_cv_lib_$ac_lib_var=yes" |
9026 else | 9016 else |
9027 echo "configure: failed program was:" >&5 | 9017 echo "configure: failed program was:" >&5 |
9028 cat conftest.$ac_ext >&5 | 9018 cat conftest.$ac_ext >&5 |
9049 fi ;; | 9039 fi ;; |
9050 hppa*-hp-hpux* ) | 9040 hppa*-hp-hpux* ) |
9051 if test -z "$native_sound_lib"; then | 9041 if test -z "$native_sound_lib"; then |
9052 | 9042 |
9053 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9043 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9054 echo "configure:9055: checking for AOpenAudio in -lAlib" >&5 | 9044 echo "configure:9045: checking for AOpenAudio in -lAlib" >&5 |
9055 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9045 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9056 | 9046 |
9057 xe_check_libs=" -lAlib " | 9047 xe_check_libs=" -lAlib " |
9058 cat > conftest.$ac_ext <<EOF | 9048 cat > conftest.$ac_ext <<EOF |
9059 #line 9060 "configure" | 9049 #line 9050 "configure" |
9060 #include "confdefs.h" | 9050 #include "confdefs.h" |
9061 /* Override any gcc2 internal prototype to avoid an error. */ | 9051 /* Override any gcc2 internal prototype to avoid an error. */ |
9062 /* We use char because int might match the return type of a gcc2 | 9052 /* We use char because int might match the return type of a gcc2 |
9063 builtin and then its argument prototype would still apply. */ | 9053 builtin and then its argument prototype would still apply. */ |
9064 char AOpenAudio(); | 9054 char AOpenAudio(); |
9065 | 9055 |
9066 int main() { | 9056 int main() { |
9067 AOpenAudio() | 9057 AOpenAudio() |
9068 ; return 0; } | 9058 ; return 0; } |
9069 EOF | 9059 EOF |
9070 if { (eval echo configure:9071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9060 if { (eval echo configure:9061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9071 rm -rf conftest* | 9061 rm -rf conftest* |
9072 eval "ac_cv_lib_$ac_lib_var=yes" | 9062 eval "ac_cv_lib_$ac_lib_var=yes" |
9073 else | 9063 else |
9074 echo "configure: failed program was:" >&5 | 9064 echo "configure: failed program was:" >&5 |
9075 cat conftest.$ac_ext >&5 | 9065 cat conftest.$ac_ext >&5 |
9103 | 9093 |
9104 if test -z "$sound_found"; then | 9094 if test -z "$sound_found"; then |
9105 for dir in "machine" "sys" "linux"; do | 9095 for dir in "machine" "sys" "linux"; do |
9106 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9096 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9107 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9097 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9108 echo "configure:9109: checking for ${dir}/soundcard.h" >&5 | 9098 echo "configure:9099: checking for ${dir}/soundcard.h" >&5 |
9109 | 9099 |
9110 cat > conftest.$ac_ext <<EOF | 9100 cat > conftest.$ac_ext <<EOF |
9111 #line 9112 "configure" | 9101 #line 9102 "configure" |
9112 #include "confdefs.h" | 9102 #include "confdefs.h" |
9113 #include <${dir}/soundcard.h> | 9103 #include <${dir}/soundcard.h> |
9114 EOF | 9104 EOF |
9115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9116 { (eval echo configure:9117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9106 { (eval echo configure:9107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9117 ac_err=`grep -v '^ *+' conftest.out` | 9107 ac_err=`grep -v '^ *+' conftest.out` |
9118 if test -z "$ac_err"; then | 9108 if test -z "$ac_err"; then |
9119 rm -rf conftest* | 9109 rm -rf conftest* |
9120 eval "ac_cv_header_$ac_safe=yes" | 9110 eval "ac_cv_header_$ac_safe=yes" |
9121 else | 9111 else |
9179 } | 9169 } |
9180 | 9170 |
9181 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9171 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
9182 echo " xemacs will be linked with \"nas.o\"" | 9172 echo " xemacs will be linked with \"nas.o\"" |
9183 fi | 9173 fi |
9184 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi | 9174 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
9185 cat > conftest.$ac_ext <<EOF | 9175 cat > conftest.$ac_ext <<EOF |
9186 #line 9187 "configure" | 9176 #line 9177 "configure" |
9187 #include "confdefs.h" | 9177 #include "confdefs.h" |
9188 #include <audio/Xtutil.h> | 9178 #include <audio/Xtutil.h> |
9189 EOF | 9179 EOF |
9190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9191 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9181 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9208 | 9198 |
9209 test -z "$with_tty" && with_tty=yes | 9199 test -z "$with_tty" && with_tty=yes |
9210 | 9200 |
9211 if test "$with_tty" = "yes" ; then | 9201 if test "$with_tty" = "yes" ; then |
9212 echo "checking for TTY-related features" 1>&6 | 9202 echo "checking for TTY-related features" 1>&6 |
9213 echo "configure:9214: checking for TTY-related features" >&5 | 9203 echo "configure:9204: checking for TTY-related features" >&5 |
9214 { test "$extra_verbose" = "yes" && cat << \EOF | 9204 { test "$extra_verbose" = "yes" && cat << \EOF |
9215 Defining HAVE_TTY | 9205 Defining HAVE_TTY |
9216 EOF | 9206 EOF |
9217 cat >> confdefs.h <<\EOF | 9207 cat >> confdefs.h <<\EOF |
9218 #define HAVE_TTY 1 | 9208 #define HAVE_TTY 1 |
9224 fi | 9214 fi |
9225 | 9215 |
9226 if test -z "$with_ncurses"; then | 9216 if test -z "$with_ncurses"; then |
9227 | 9217 |
9228 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9218 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9229 echo "configure:9230: checking for tgetent in -lncurses" >&5 | 9219 echo "configure:9220: checking for tgetent in -lncurses" >&5 |
9230 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9220 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9231 | 9221 |
9232 xe_check_libs=" -lncurses " | 9222 xe_check_libs=" -lncurses " |
9233 cat > conftest.$ac_ext <<EOF | 9223 cat > conftest.$ac_ext <<EOF |
9234 #line 9235 "configure" | 9224 #line 9225 "configure" |
9235 #include "confdefs.h" | 9225 #include "confdefs.h" |
9236 /* Override any gcc2 internal prototype to avoid an error. */ | 9226 /* Override any gcc2 internal prototype to avoid an error. */ |
9237 /* We use char because int might match the return type of a gcc2 | 9227 /* We use char because int might match the return type of a gcc2 |
9238 builtin and then its argument prototype would still apply. */ | 9228 builtin and then its argument prototype would still apply. */ |
9239 char tgetent(); | 9229 char tgetent(); |
9240 | 9230 |
9241 int main() { | 9231 int main() { |
9242 tgetent() | 9232 tgetent() |
9243 ; return 0; } | 9233 ; return 0; } |
9244 EOF | 9234 EOF |
9245 if { (eval echo configure:9246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9235 if { (eval echo configure:9236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9246 rm -rf conftest* | 9236 rm -rf conftest* |
9247 eval "ac_cv_lib_$ac_lib_var=yes" | 9237 eval "ac_cv_lib_$ac_lib_var=yes" |
9248 else | 9238 else |
9249 echo "configure: failed program was:" >&5 | 9239 echo "configure: failed program was:" >&5 |
9250 cat conftest.$ac_ext >&5 | 9240 cat conftest.$ac_ext >&5 |
9273 EOF | 9263 EOF |
9274 } | 9264 } |
9275 | 9265 |
9276 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9266 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9277 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9267 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9278 echo "configure:9279: checking for ncurses/curses.h" >&5 | 9268 echo "configure:9269: checking for ncurses/curses.h" >&5 |
9279 | 9269 |
9280 cat > conftest.$ac_ext <<EOF | 9270 cat > conftest.$ac_ext <<EOF |
9281 #line 9282 "configure" | 9271 #line 9272 "configure" |
9282 #include "confdefs.h" | 9272 #include "confdefs.h" |
9283 #include <ncurses/curses.h> | 9273 #include <ncurses/curses.h> |
9284 EOF | 9274 EOF |
9285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9275 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9286 { (eval echo configure:9287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9276 { (eval echo configure:9277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9287 ac_err=`grep -v '^ *+' conftest.out` | 9277 ac_err=`grep -v '^ *+' conftest.out` |
9288 if test -z "$ac_err"; then | 9278 if test -z "$ac_err"; then |
9289 rm -rf conftest* | 9279 rm -rf conftest* |
9290 eval "ac_cv_header_$ac_safe=yes" | 9280 eval "ac_cv_header_$ac_safe=yes" |
9291 else | 9281 else |
9303 echo "$ac_t""no" 1>&6 | 9293 echo "$ac_t""no" 1>&6 |
9304 fi | 9294 fi |
9305 | 9295 |
9306 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9296 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9307 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9297 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9308 echo "configure:9309: checking for ncurses/term.h" >&5 | 9298 echo "configure:9299: checking for ncurses/term.h" >&5 |
9309 | 9299 |
9310 cat > conftest.$ac_ext <<EOF | 9300 cat > conftest.$ac_ext <<EOF |
9311 #line 9312 "configure" | 9301 #line 9302 "configure" |
9312 #include "confdefs.h" | 9302 #include "confdefs.h" |
9313 #include <ncurses/term.h> | 9303 #include <ncurses/term.h> |
9314 EOF | 9304 EOF |
9315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9316 { (eval echo configure:9317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9306 { (eval echo configure:9307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9317 ac_err=`grep -v '^ *+' conftest.out` | 9307 ac_err=`grep -v '^ *+' conftest.out` |
9318 if test -z "$ac_err"; then | 9308 if test -z "$ac_err"; then |
9319 rm -rf conftest* | 9309 rm -rf conftest* |
9320 eval "ac_cv_header_$ac_safe=yes" | 9310 eval "ac_cv_header_$ac_safe=yes" |
9321 else | 9311 else |
9341 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9331 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9342 save_c_switch_site="$c_switch_site" | 9332 save_c_switch_site="$c_switch_site" |
9343 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9333 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9344 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9334 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9345 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9335 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9346 echo "configure:9347: checking for ncurses/curses.h" >&5 | 9336 echo "configure:9337: checking for ncurses/curses.h" >&5 |
9347 | 9337 |
9348 cat > conftest.$ac_ext <<EOF | 9338 cat > conftest.$ac_ext <<EOF |
9349 #line 9350 "configure" | 9339 #line 9340 "configure" |
9350 #include "confdefs.h" | 9340 #include "confdefs.h" |
9351 #include <ncurses/curses.h> | 9341 #include <ncurses/curses.h> |
9352 EOF | 9342 EOF |
9353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9354 { (eval echo configure:9355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9344 { (eval echo configure:9345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9355 ac_err=`grep -v '^ *+' conftest.out` | 9345 ac_err=`grep -v '^ *+' conftest.out` |
9356 if test -z "$ac_err"; then | 9346 if test -z "$ac_err"; then |
9357 rm -rf conftest* | 9347 rm -rf conftest* |
9358 eval "ac_cv_header_$ac_safe=yes" | 9348 eval "ac_cv_header_$ac_safe=yes" |
9359 else | 9349 else |
9384 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9374 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9385 else | 9375 else |
9386 for lib in curses termlib termcap; do | 9376 for lib in curses termlib termcap; do |
9387 | 9377 |
9388 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9378 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9389 echo "configure:9390: checking for tgetent in -l$lib" >&5 | 9379 echo "configure:9380: checking for tgetent in -l$lib" >&5 |
9390 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9380 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9391 | 9381 |
9392 xe_check_libs=" -l$lib " | 9382 xe_check_libs=" -l$lib " |
9393 cat > conftest.$ac_ext <<EOF | 9383 cat > conftest.$ac_ext <<EOF |
9394 #line 9395 "configure" | 9384 #line 9385 "configure" |
9395 #include "confdefs.h" | 9385 #include "confdefs.h" |
9396 /* Override any gcc2 internal prototype to avoid an error. */ | 9386 /* Override any gcc2 internal prototype to avoid an error. */ |
9397 /* We use char because int might match the return type of a gcc2 | 9387 /* We use char because int might match the return type of a gcc2 |
9398 builtin and then its argument prototype would still apply. */ | 9388 builtin and then its argument prototype would still apply. */ |
9399 char tgetent(); | 9389 char tgetent(); |
9400 | 9390 |
9401 int main() { | 9391 int main() { |
9402 tgetent() | 9392 tgetent() |
9403 ; return 0; } | 9393 ; return 0; } |
9404 EOF | 9394 EOF |
9405 if { (eval echo configure:9406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9395 if { (eval echo configure:9396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9406 rm -rf conftest* | 9396 rm -rf conftest* |
9407 eval "ac_cv_lib_$ac_lib_var=yes" | 9397 eval "ac_cv_lib_$ac_lib_var=yes" |
9408 else | 9398 else |
9409 echo "configure: failed program was:" >&5 | 9399 echo "configure: failed program was:" >&5 |
9410 cat conftest.$ac_ext >&5 | 9400 cat conftest.$ac_ext >&5 |
9431 if test -n "$libs_termcap"; then | 9421 if test -n "$libs_termcap"; then |
9432 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9422 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9433 else | 9423 else |
9434 | 9424 |
9435 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9425 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9436 echo "configure:9437: checking for tgetent in -lcurses" >&5 | 9426 echo "configure:9427: checking for tgetent in -lcurses" >&5 |
9437 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9427 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9438 | 9428 |
9439 xe_check_libs=" -lcurses " | 9429 xe_check_libs=" -lcurses " |
9440 cat > conftest.$ac_ext <<EOF | 9430 cat > conftest.$ac_ext <<EOF |
9441 #line 9442 "configure" | 9431 #line 9432 "configure" |
9442 #include "confdefs.h" | 9432 #include "confdefs.h" |
9443 /* Override any gcc2 internal prototype to avoid an error. */ | 9433 /* Override any gcc2 internal prototype to avoid an error. */ |
9444 /* We use char because int might match the return type of a gcc2 | 9434 /* We use char because int might match the return type of a gcc2 |
9445 builtin and then its argument prototype would still apply. */ | 9435 builtin and then its argument prototype would still apply. */ |
9446 char tgetent(); | 9436 char tgetent(); |
9447 | 9437 |
9448 int main() { | 9438 int main() { |
9449 tgetent() | 9439 tgetent() |
9450 ; return 0; } | 9440 ; return 0; } |
9451 EOF | 9441 EOF |
9452 if { (eval echo configure:9453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9442 if { (eval echo configure:9443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9453 rm -rf conftest* | 9443 rm -rf conftest* |
9454 eval "ac_cv_lib_$ac_lib_var=yes" | 9444 eval "ac_cv_lib_$ac_lib_var=yes" |
9455 else | 9445 else |
9456 echo "configure: failed program was:" >&5 | 9446 echo "configure: failed program was:" >&5 |
9457 cat conftest.$ac_ext >&5 | 9447 cat conftest.$ac_ext >&5 |
9465 echo "$ac_t""yes" 1>&6 | 9455 echo "$ac_t""yes" 1>&6 |
9466 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9456 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9467 else | 9457 else |
9468 echo "$ac_t""no" 1>&6 | 9458 echo "$ac_t""no" 1>&6 |
9469 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9459 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9470 echo "configure:9471: checking for tgetent in -ltermcap" >&5 | 9460 echo "configure:9461: checking for tgetent in -ltermcap" >&5 |
9471 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9461 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9472 | 9462 |
9473 xe_check_libs=" -ltermcap " | 9463 xe_check_libs=" -ltermcap " |
9474 cat > conftest.$ac_ext <<EOF | 9464 cat > conftest.$ac_ext <<EOF |
9475 #line 9476 "configure" | 9465 #line 9466 "configure" |
9476 #include "confdefs.h" | 9466 #include "confdefs.h" |
9477 /* Override any gcc2 internal prototype to avoid an error. */ | 9467 /* Override any gcc2 internal prototype to avoid an error. */ |
9478 /* We use char because int might match the return type of a gcc2 | 9468 /* We use char because int might match the return type of a gcc2 |
9479 builtin and then its argument prototype would still apply. */ | 9469 builtin and then its argument prototype would still apply. */ |
9480 char tgetent(); | 9470 char tgetent(); |
9481 | 9471 |
9482 int main() { | 9472 int main() { |
9483 tgetent() | 9473 tgetent() |
9484 ; return 0; } | 9474 ; return 0; } |
9485 EOF | 9475 EOF |
9486 if { (eval echo configure:9487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9476 if { (eval echo configure:9477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9487 rm -rf conftest* | 9477 rm -rf conftest* |
9488 eval "ac_cv_lib_$ac_lib_var=yes" | 9478 eval "ac_cv_lib_$ac_lib_var=yes" |
9489 else | 9479 else |
9490 echo "configure: failed program was:" >&5 | 9480 echo "configure: failed program was:" >&5 |
9491 cat conftest.$ac_ext >&5 | 9481 cat conftest.$ac_ext >&5 |
9529 } | 9519 } |
9530 | 9520 |
9531 | 9521 |
9532 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9522 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9533 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9523 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9534 echo "configure:9535: checking for gpm.h" >&5 | 9524 echo "configure:9525: checking for gpm.h" >&5 |
9535 | 9525 |
9536 cat > conftest.$ac_ext <<EOF | 9526 cat > conftest.$ac_ext <<EOF |
9537 #line 9538 "configure" | 9527 #line 9528 "configure" |
9538 #include "confdefs.h" | 9528 #include "confdefs.h" |
9539 #include <gpm.h> | 9529 #include <gpm.h> |
9540 EOF | 9530 EOF |
9541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9542 { (eval echo configure:9543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9532 { (eval echo configure:9533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9543 ac_err=`grep -v '^ *+' conftest.out` | 9533 ac_err=`grep -v '^ *+' conftest.out` |
9544 if test -z "$ac_err"; then | 9534 if test -z "$ac_err"; then |
9545 rm -rf conftest* | 9535 rm -rf conftest* |
9546 eval "ac_cv_header_$ac_safe=yes" | 9536 eval "ac_cv_header_$ac_safe=yes" |
9547 else | 9537 else |
9560 with_gpm=no | 9550 with_gpm=no |
9561 fi | 9551 fi |
9562 } | 9552 } |
9563 test -z "$with_gpm" && { | 9553 test -z "$with_gpm" && { |
9564 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9554 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9565 echo "configure:9566: checking for Gpm_Open in -lgpm" >&5 | 9555 echo "configure:9556: checking for Gpm_Open in -lgpm" >&5 |
9566 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9556 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9567 | 9557 |
9568 xe_check_libs=" -lgpm " | 9558 xe_check_libs=" -lgpm " |
9569 cat > conftest.$ac_ext <<EOF | 9559 cat > conftest.$ac_ext <<EOF |
9570 #line 9571 "configure" | 9560 #line 9561 "configure" |
9571 #include "confdefs.h" | 9561 #include "confdefs.h" |
9572 /* Override any gcc2 internal prototype to avoid an error. */ | 9562 /* Override any gcc2 internal prototype to avoid an error. */ |
9573 /* We use char because int might match the return type of a gcc2 | 9563 /* We use char because int might match the return type of a gcc2 |
9574 builtin and then its argument prototype would still apply. */ | 9564 builtin and then its argument prototype would still apply. */ |
9575 char Gpm_Open(); | 9565 char Gpm_Open(); |
9576 | 9566 |
9577 int main() { | 9567 int main() { |
9578 Gpm_Open() | 9568 Gpm_Open() |
9579 ; return 0; } | 9569 ; return 0; } |
9580 EOF | 9570 EOF |
9581 if { (eval echo configure:9582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9571 if { (eval echo configure:9572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9582 rm -rf conftest* | 9572 rm -rf conftest* |
9583 eval "ac_cv_lib_$ac_lib_var=yes" | 9573 eval "ac_cv_lib_$ac_lib_var=yes" |
9584 else | 9574 else |
9585 echo "configure: failed program was:" >&5 | 9575 echo "configure: failed program was:" >&5 |
9586 cat conftest.$ac_ext >&5 | 9576 cat conftest.$ac_ext >&5 |
9625 echo " xemacs will be linked with \"event-unixoid.o\"" | 9615 echo " xemacs will be linked with \"event-unixoid.o\"" |
9626 fi | 9616 fi |
9627 | 9617 |
9628 | 9618 |
9629 echo "checking for database support" 1>&6 | 9619 echo "checking for database support" 1>&6 |
9630 echo "configure:9631: checking for database support" >&5 | 9620 echo "configure:9621: checking for database support" >&5 |
9631 | 9621 |
9632 if test "$with_database_gnudbm" != "no"; then | 9622 if test "$with_database_gnudbm" != "no"; then |
9633 | 9623 |
9634 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9624 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9635 echo "configure:9636: checking for dbm_open in -lgdbm" >&5 | 9625 echo "configure:9626: checking for dbm_open in -lgdbm" >&5 |
9636 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9626 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9637 | 9627 |
9638 xe_check_libs=" -lgdbm " | 9628 xe_check_libs=" -lgdbm " |
9639 cat > conftest.$ac_ext <<EOF | 9629 cat > conftest.$ac_ext <<EOF |
9640 #line 9641 "configure" | 9630 #line 9631 "configure" |
9641 #include "confdefs.h" | 9631 #include "confdefs.h" |
9642 /* Override any gcc2 internal prototype to avoid an error. */ | 9632 /* Override any gcc2 internal prototype to avoid an error. */ |
9643 /* We use char because int might match the return type of a gcc2 | 9633 /* We use char because int might match the return type of a gcc2 |
9644 builtin and then its argument prototype would still apply. */ | 9634 builtin and then its argument prototype would still apply. */ |
9645 char dbm_open(); | 9635 char dbm_open(); |
9646 | 9636 |
9647 int main() { | 9637 int main() { |
9648 dbm_open() | 9638 dbm_open() |
9649 ; return 0; } | 9639 ; return 0; } |
9650 EOF | 9640 EOF |
9651 if { (eval echo configure:9652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9641 if { (eval echo configure:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9652 rm -rf conftest* | 9642 rm -rf conftest* |
9653 eval "ac_cv_lib_$ac_lib_var=yes" | 9643 eval "ac_cv_lib_$ac_lib_var=yes" |
9654 else | 9644 else |
9655 echo "configure: failed program was:" >&5 | 9645 echo "configure: failed program was:" >&5 |
9656 cat conftest.$ac_ext >&5 | 9646 cat conftest.$ac_ext >&5 |
9668 fi | 9658 fi |
9669 | 9659 |
9670 | 9660 |
9671 if test "$with_database_gnudbm" != "yes"; then | 9661 if test "$with_database_gnudbm" != "yes"; then |
9672 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9662 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9673 echo "configure:9674: checking for dbm_open" >&5 | 9663 echo "configure:9664: checking for dbm_open" >&5 |
9674 | 9664 |
9675 cat > conftest.$ac_ext <<EOF | 9665 cat > conftest.$ac_ext <<EOF |
9676 #line 9677 "configure" | 9666 #line 9667 "configure" |
9677 #include "confdefs.h" | 9667 #include "confdefs.h" |
9678 /* System header to define __stub macros and hopefully few prototypes, | 9668 /* System header to define __stub macros and hopefully few prototypes, |
9679 which can conflict with char dbm_open(); below. */ | 9669 which can conflict with char dbm_open(); below. */ |
9680 #include <assert.h> | 9670 #include <assert.h> |
9681 /* Override any gcc2 internal prototype to avoid an error. */ | 9671 /* Override any gcc2 internal prototype to avoid an error. */ |
9694 dbm_open(); | 9684 dbm_open(); |
9695 #endif | 9685 #endif |
9696 | 9686 |
9697 ; return 0; } | 9687 ; return 0; } |
9698 EOF | 9688 EOF |
9699 if { (eval echo configure:9700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9689 if { (eval echo configure:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9700 rm -rf conftest* | 9690 rm -rf conftest* |
9701 eval "ac_cv_func_dbm_open=yes" | 9691 eval "ac_cv_func_dbm_open=yes" |
9702 else | 9692 else |
9703 echo "configure: failed program was:" >&5 | 9693 echo "configure: failed program was:" >&5 |
9704 cat conftest.$ac_ext >&5 | 9694 cat conftest.$ac_ext >&5 |
9730 fi | 9720 fi |
9731 fi | 9721 fi |
9732 | 9722 |
9733 if test "$with_database_dbm" != "no"; then | 9723 if test "$with_database_dbm" != "no"; then |
9734 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9724 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9735 echo "configure:9736: checking for dbm_open" >&5 | 9725 echo "configure:9726: checking for dbm_open" >&5 |
9736 | 9726 |
9737 cat > conftest.$ac_ext <<EOF | 9727 cat > conftest.$ac_ext <<EOF |
9738 #line 9739 "configure" | 9728 #line 9729 "configure" |
9739 #include "confdefs.h" | 9729 #include "confdefs.h" |
9740 /* System header to define __stub macros and hopefully few prototypes, | 9730 /* System header to define __stub macros and hopefully few prototypes, |
9741 which can conflict with char dbm_open(); below. */ | 9731 which can conflict with char dbm_open(); below. */ |
9742 #include <assert.h> | 9732 #include <assert.h> |
9743 /* Override any gcc2 internal prototype to avoid an error. */ | 9733 /* Override any gcc2 internal prototype to avoid an error. */ |
9756 dbm_open(); | 9746 dbm_open(); |
9757 #endif | 9747 #endif |
9758 | 9748 |
9759 ; return 0; } | 9749 ; return 0; } |
9760 EOF | 9750 EOF |
9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9751 if { (eval echo configure:9752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9762 rm -rf conftest* | 9752 rm -rf conftest* |
9763 eval "ac_cv_func_dbm_open=yes" | 9753 eval "ac_cv_func_dbm_open=yes" |
9764 else | 9754 else |
9765 echo "configure: failed program was:" >&5 | 9755 echo "configure: failed program was:" >&5 |
9766 cat conftest.$ac_ext >&5 | 9756 cat conftest.$ac_ext >&5 |
9777 fi | 9767 fi |
9778 | 9768 |
9779 if test "$need_libdbm" != "no"; then | 9769 if test "$need_libdbm" != "no"; then |
9780 | 9770 |
9781 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9771 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
9782 echo "configure:9783: checking for dbm_open in -ldbm" >&5 | 9772 echo "configure:9773: checking for dbm_open in -ldbm" >&5 |
9783 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9773 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9784 | 9774 |
9785 xe_check_libs=" -ldbm " | 9775 xe_check_libs=" -ldbm " |
9786 cat > conftest.$ac_ext <<EOF | 9776 cat > conftest.$ac_ext <<EOF |
9787 #line 9788 "configure" | 9777 #line 9778 "configure" |
9788 #include "confdefs.h" | 9778 #include "confdefs.h" |
9789 /* Override any gcc2 internal prototype to avoid an error. */ | 9779 /* Override any gcc2 internal prototype to avoid an error. */ |
9790 /* We use char because int might match the return type of a gcc2 | 9780 /* We use char because int might match the return type of a gcc2 |
9791 builtin and then its argument prototype would still apply. */ | 9781 builtin and then its argument prototype would still apply. */ |
9792 char dbm_open(); | 9782 char dbm_open(); |
9793 | 9783 |
9794 int main() { | 9784 int main() { |
9795 dbm_open() | 9785 dbm_open() |
9796 ; return 0; } | 9786 ; return 0; } |
9797 EOF | 9787 EOF |
9798 if { (eval echo configure:9799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9788 if { (eval echo configure:9789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9799 rm -rf conftest* | 9789 rm -rf conftest* |
9800 eval "ac_cv_lib_$ac_lib_var=yes" | 9790 eval "ac_cv_lib_$ac_lib_var=yes" |
9801 else | 9791 else |
9802 echo "configure: failed program was:" >&5 | 9792 echo "configure: failed program was:" >&5 |
9803 cat conftest.$ac_ext >&5 | 9793 cat conftest.$ac_ext >&5 |
9830 fi | 9820 fi |
9831 fi | 9821 fi |
9832 | 9822 |
9833 if test "$with_database_berkdb" != "no"; then | 9823 if test "$with_database_berkdb" != "no"; then |
9834 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9824 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
9835 echo "configure:9836: checking for dbopen" >&5 | 9825 echo "configure:9826: checking for dbopen" >&5 |
9836 | 9826 |
9837 cat > conftest.$ac_ext <<EOF | 9827 cat > conftest.$ac_ext <<EOF |
9838 #line 9839 "configure" | 9828 #line 9829 "configure" |
9839 #include "confdefs.h" | 9829 #include "confdefs.h" |
9840 /* System header to define __stub macros and hopefully few prototypes, | 9830 /* System header to define __stub macros and hopefully few prototypes, |
9841 which can conflict with char dbopen(); below. */ | 9831 which can conflict with char dbopen(); below. */ |
9842 #include <assert.h> | 9832 #include <assert.h> |
9843 /* Override any gcc2 internal prototype to avoid an error. */ | 9833 /* Override any gcc2 internal prototype to avoid an error. */ |
9856 dbopen(); | 9846 dbopen(); |
9857 #endif | 9847 #endif |
9858 | 9848 |
9859 ; return 0; } | 9849 ; return 0; } |
9860 EOF | 9850 EOF |
9861 if { (eval echo configure:9862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9862 rm -rf conftest* | 9852 rm -rf conftest* |
9863 eval "ac_cv_func_dbopen=yes" | 9853 eval "ac_cv_func_dbopen=yes" |
9864 else | 9854 else |
9865 echo "configure: failed program was:" >&5 | 9855 echo "configure: failed program was:" >&5 |
9866 cat conftest.$ac_ext >&5 | 9856 cat conftest.$ac_ext >&5 |
9877 fi | 9867 fi |
9878 | 9868 |
9879 if test "$need_libdb" != "no"; then | 9869 if test "$need_libdb" != "no"; then |
9880 | 9870 |
9881 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9871 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
9882 echo "configure:9883: checking for dbopen in -ldb" >&5 | 9872 echo "configure:9873: checking for dbopen in -ldb" >&5 |
9883 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9873 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
9884 | 9874 |
9885 xe_check_libs=" -ldb " | 9875 xe_check_libs=" -ldb " |
9886 cat > conftest.$ac_ext <<EOF | 9876 cat > conftest.$ac_ext <<EOF |
9887 #line 9888 "configure" | 9877 #line 9878 "configure" |
9888 #include "confdefs.h" | 9878 #include "confdefs.h" |
9889 /* Override any gcc2 internal prototype to avoid an error. */ | 9879 /* Override any gcc2 internal prototype to avoid an error. */ |
9890 /* We use char because int might match the return type of a gcc2 | 9880 /* We use char because int might match the return type of a gcc2 |
9891 builtin and then its argument prototype would still apply. */ | 9881 builtin and then its argument prototype would still apply. */ |
9892 char dbopen(); | 9882 char dbopen(); |
9893 | 9883 |
9894 int main() { | 9884 int main() { |
9895 dbopen() | 9885 dbopen() |
9896 ; return 0; } | 9886 ; return 0; } |
9897 EOF | 9887 EOF |
9898 if { (eval echo configure:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9888 if { (eval echo configure:9889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9899 rm -rf conftest* | 9889 rm -rf conftest* |
9900 eval "ac_cv_lib_$ac_lib_var=yes" | 9890 eval "ac_cv_lib_$ac_lib_var=yes" |
9901 else | 9891 else |
9902 echo "configure: failed program was:" >&5 | 9892 echo "configure: failed program was:" >&5 |
9903 cat conftest.$ac_ext >&5 | 9893 cat conftest.$ac_ext >&5 |
9917 | 9907 |
9918 fi | 9908 fi |
9919 if test "$with_database_berkdb" = "yes"; then | 9909 if test "$with_database_berkdb" = "yes"; then |
9920 for path in "db/db.h" "db.h"; do | 9910 for path in "db/db.h" "db.h"; do |
9921 cat > conftest.$ac_ext <<EOF | 9911 cat > conftest.$ac_ext <<EOF |
9922 #line 9923 "configure" | 9912 #line 9913 "configure" |
9923 #include "confdefs.h" | 9913 #include "confdefs.h" |
9924 #ifdef HAVE_INTTYPES_H | 9914 #ifdef HAVE_INTTYPES_H |
9925 #define __BIT_TYPES_DEFINED__ | 9915 #define __BIT_TYPES_DEFINED__ |
9926 #include <inttypes.h> | 9916 #include <inttypes.h> |
9927 typedef uint8_t u_int8_t; | 9917 typedef uint8_t u_int8_t; |
9940 | 9930 |
9941 int main() { | 9931 int main() { |
9942 | 9932 |
9943 ; return 0; } | 9933 ; return 0; } |
9944 EOF | 9934 EOF |
9945 if { (eval echo configure:9946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9935 if { (eval echo configure:9936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9946 rm -rf conftest* | 9936 rm -rf conftest* |
9947 db_h_path="$path"; break | 9937 db_h_path="$path"; break |
9948 else | 9938 else |
9949 echo "configure: failed program was:" >&5 | 9939 echo "configure: failed program was:" >&5 |
9950 cat conftest.$ac_ext >&5 | 9940 cat conftest.$ac_ext >&5 |
9992 fi | 9982 fi |
9993 | 9983 |
9994 if test "$with_socks" = "yes"; then | 9984 if test "$with_socks" = "yes"; then |
9995 | 9985 |
9996 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9986 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
9997 echo "configure:9998: checking for SOCKSinit in -lsocks" >&5 | 9987 echo "configure:9988: checking for SOCKSinit in -lsocks" >&5 |
9998 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9988 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
9999 | 9989 |
10000 xe_check_libs=" -lsocks " | 9990 xe_check_libs=" -lsocks " |
10001 cat > conftest.$ac_ext <<EOF | 9991 cat > conftest.$ac_ext <<EOF |
10002 #line 10003 "configure" | 9992 #line 9993 "configure" |
10003 #include "confdefs.h" | 9993 #include "confdefs.h" |
10004 /* Override any gcc2 internal prototype to avoid an error. */ | 9994 /* Override any gcc2 internal prototype to avoid an error. */ |
10005 /* We use char because int might match the return type of a gcc2 | 9995 /* We use char because int might match the return type of a gcc2 |
10006 builtin and then its argument prototype would still apply. */ | 9996 builtin and then its argument prototype would still apply. */ |
10007 char SOCKSinit(); | 9997 char SOCKSinit(); |
10008 | 9998 |
10009 int main() { | 9999 int main() { |
10010 SOCKSinit() | 10000 SOCKSinit() |
10011 ; return 0; } | 10001 ; return 0; } |
10012 EOF | 10002 EOF |
10013 if { (eval echo configure:10014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10003 if { (eval echo configure:10004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10014 rm -rf conftest* | 10004 rm -rf conftest* |
10015 eval "ac_cv_lib_$ac_lib_var=yes" | 10005 eval "ac_cv_lib_$ac_lib_var=yes" |
10016 else | 10006 else |
10017 echo "configure: failed program was:" >&5 | 10007 echo "configure: failed program was:" >&5 |
10018 cat conftest.$ac_ext >&5 | 10008 cat conftest.$ac_ext >&5 |