comparison configure @ 288:e11d67e05968 r21-0b42

Import from CVS: tag r21-0b42
author cvs
date Mon, 13 Aug 2007 10:35:54 +0200
parents 57709be46d1b
children c9fe270a4101
comparison
equal deleted inserted replaced
287:13a0bd77a29d 288:e11d67e05968
2278 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" 2278 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc"
2279 2279
2280 if test "$cflags_specified" = "no"; then 2280 if test "$cflags_specified" = "no"; then
2281 if test "$GCC" = "yes"; then 2281 if test "$GCC" = "yes"; then
2282 CFLAGS="-g -O3 -Wall -Wno-switch" 2282 CFLAGS="-g -O3 -Wall -Wno-switch"
2283 elif test "$__sunpro_c" = "yes"; then 2283 test "$opsys $machine" = "cygwin32 intel386" && \
2284 CFLAGS="-g -O2 -Wall -Wno-switch"
2285 elif test "$__sunpro_c" = "yes"; then
2284 case "$opsys" in 2286 case "$opsys" in
2285 sol2 ) CFLAGS="-v -xO4" ;; 2287 sol2 ) CFLAGS="-v -xO4" ;;
2286 sunos4* ) CFLAGS="-xO2";; 2288 sunos4* ) CFLAGS="-xO2";;
2287 esac 2289 esac
2288 elif test "$CC" = "xlc"; then 2290 elif test "$CC" = "xlc"; then
2353 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then 2355 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then
2354 echo " xemacs will be linked with \"$unexec\"" 2356 echo " xemacs will be linked with \"$unexec\""
2355 fi 2357 fi
2356 2358
2357 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 2359 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
2358 echo "configure:2359: checking for dynodump" >&5 2360 echo "configure:2361: checking for dynodump" >&5
2359 if test "$unexec" != "unexsol2.o"; then 2361 if test "$unexec" != "unexsol2.o"; then
2360 echo "$ac_t""no" 1>&6 2362 echo "$ac_t""no" 1>&6
2361 else 2363 else
2362 echo "$ac_t""yes" 1>&6 2364 echo "$ac_t""yes" 1>&6
2363 { test "$extra_verbose" = "yes" && cat << \EOF 2365 { test "$extra_verbose" = "yes" && cat << \EOF
2453 esac 2455 esac
2454 fi 2456 fi
2455 2457
2456 if test "$add_runtime_path" = "yes"; then 2458 if test "$add_runtime_path" = "yes"; then
2457 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 2459 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
2458 echo "configure:2459: checking "for runtime libraries flag"" >&5 2460 echo "configure:2461: checking "for runtime libraries flag"" >&5
2459 dash_r="" 2461 dash_r=""
2460 for try_dash_r in "-R" "-R " "-rpath "; do 2462 for try_dash_r in "-R" "-R " "-rpath "; do
2461 xe_check_libs="${try_dash_r}/no/such/file-or-directory" 2463 xe_check_libs="${try_dash_r}/no/such/file-or-directory"
2462 2464
2463 if test "$GCC" = "yes"; then 2465 if test "$GCC" = "yes"; then
2471 esac 2473 esac
2472 shift 2474 shift
2473 done 2475 done
2474 fi 2476 fi
2475 cat > conftest.$ac_ext <<EOF 2477 cat > conftest.$ac_ext <<EOF
2476 #line 2477 "configure" 2478 #line 2479 "configure"
2477 #include "confdefs.h" 2479 #include "confdefs.h"
2478 2480
2479 int main() { 2481 int main() {
2480 2482
2481 ; return 0; } 2483 ; return 0; }
2482 EOF 2484 EOF
2483 if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2485 if { (eval echo configure:2486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2484 rm -rf conftest* 2486 rm -rf conftest*
2485 dash_r="$try_dash_r" 2487 dash_r="$try_dash_r"
2486 else 2488 else
2487 echo "configure: failed program was:" >&5 2489 echo "configure: failed program was:" >&5
2488 cat conftest.$ac_ext >&5 2490 cat conftest.$ac_ext >&5
2578 else 2580 else
2579 doug_lea_malloc=no 2581 doug_lea_malloc=no
2580 fi 2582 fi
2581 after_morecore_hook_exists=yes 2583 after_morecore_hook_exists=yes
2582 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 2584 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
2583 echo "configure:2584: checking for malloc_get_state" >&5 2585 echo "configure:2586: checking for malloc_get_state" >&5
2584 2586
2585 cat > conftest.$ac_ext <<EOF 2587 cat > conftest.$ac_ext <<EOF
2586 #line 2587 "configure" 2588 #line 2589 "configure"
2587 #include "confdefs.h" 2589 #include "confdefs.h"
2588 /* System header to define __stub macros and hopefully few prototypes, 2590 /* System header to define __stub macros and hopefully few prototypes,
2589 which can conflict with char malloc_get_state(); below. */ 2591 which can conflict with char malloc_get_state(); below. */
2590 #include <assert.h> 2592 #include <assert.h>
2591 /* Override any gcc2 internal prototype to avoid an error. */ 2593 /* Override any gcc2 internal prototype to avoid an error. */
2604 malloc_get_state(); 2606 malloc_get_state();
2605 #endif 2607 #endif
2606 2608
2607 ; return 0; } 2609 ; return 0; }
2608 EOF 2610 EOF
2609 if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2611 if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2610 rm -rf conftest* 2612 rm -rf conftest*
2611 eval "ac_cv_func_malloc_get_state=yes" 2613 eval "ac_cv_func_malloc_get_state=yes"
2612 else 2614 else
2613 echo "configure: failed program was:" >&5 2615 echo "configure: failed program was:" >&5
2614 cat conftest.$ac_ext >&5 2616 cat conftest.$ac_ext >&5
2624 echo "$ac_t""no" 1>&6 2626 echo "$ac_t""no" 1>&6
2625 doug_lea_malloc=no 2627 doug_lea_malloc=no
2626 fi 2628 fi
2627 2629
2628 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 2630 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
2629 echo "configure:2630: checking for malloc_set_state" >&5 2631 echo "configure:2632: checking for malloc_set_state" >&5
2630 2632
2631 cat > conftest.$ac_ext <<EOF 2633 cat > conftest.$ac_ext <<EOF
2632 #line 2633 "configure" 2634 #line 2635 "configure"
2633 #include "confdefs.h" 2635 #include "confdefs.h"
2634 /* System header to define __stub macros and hopefully few prototypes, 2636 /* System header to define __stub macros and hopefully few prototypes,
2635 which can conflict with char malloc_set_state(); below. */ 2637 which can conflict with char malloc_set_state(); below. */
2636 #include <assert.h> 2638 #include <assert.h>
2637 /* Override any gcc2 internal prototype to avoid an error. */ 2639 /* Override any gcc2 internal prototype to avoid an error. */
2650 malloc_set_state(); 2652 malloc_set_state();
2651 #endif 2653 #endif
2652 2654
2653 ; return 0; } 2655 ; return 0; }
2654 EOF 2656 EOF
2655 if { (eval echo configure:2656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2657 if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2656 rm -rf conftest* 2658 rm -rf conftest*
2657 eval "ac_cv_func_malloc_set_state=yes" 2659 eval "ac_cv_func_malloc_set_state=yes"
2658 else 2660 else
2659 echo "configure: failed program was:" >&5 2661 echo "configure: failed program was:" >&5
2660 cat conftest.$ac_ext >&5 2662 cat conftest.$ac_ext >&5
2670 echo "$ac_t""no" 1>&6 2672 echo "$ac_t""no" 1>&6
2671 doug_lea_malloc=no 2673 doug_lea_malloc=no
2672 fi 2674 fi
2673 2675
2674 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 2676 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
2675 echo "configure:2676: checking whether __after_morecore_hook exists" >&5 2677 echo "configure:2678: checking whether __after_morecore_hook exists" >&5
2676 cat > conftest.$ac_ext <<EOF 2678 cat > conftest.$ac_ext <<EOF
2677 #line 2678 "configure" 2679 #line 2680 "configure"
2678 #include "confdefs.h" 2680 #include "confdefs.h"
2679 extern void (* __after_morecore_hook)(); 2681 extern void (* __after_morecore_hook)();
2680 int main() { 2682 int main() {
2681 __after_morecore_hook = 0 2683 __after_morecore_hook = 0
2682 ; return 0; } 2684 ; return 0; }
2683 EOF 2685 EOF
2684 if { (eval echo configure:2685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2686 if { (eval echo configure:2687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2685 rm -rf conftest* 2687 rm -rf conftest*
2686 echo "$ac_t""yes" 1>&6 2688 echo "$ac_t""yes" 1>&6
2687 else 2689 else
2688 echo "configure: failed program was:" >&5 2690 echo "configure: failed program was:" >&5
2689 cat conftest.$ac_ext >&5 2691 cat conftest.$ac_ext >&5
2738 2740
2739 2741
2740 # Extract the first word of "ranlib", so it can be a program name with args. 2742 # Extract the first word of "ranlib", so it can be a program name with args.
2741 set dummy ranlib; ac_word=$2 2743 set dummy ranlib; ac_word=$2
2742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2744 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2743 echo "configure:2744: checking for $ac_word" >&5 2745 echo "configure:2746: checking for $ac_word" >&5
2744 2746
2745 if test -n "$RANLIB"; then 2747 if test -n "$RANLIB"; then
2746 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2748 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2747 else 2749 else
2748 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2750 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2791 # AIX /bin/install 2793 # AIX /bin/install
2792 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2794 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2793 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2795 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2794 # ./install, which can be erroneously created by make from ./install.sh. 2796 # ./install, which can be erroneously created by make from ./install.sh.
2795 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2797 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2796 echo "configure:2797: checking for a BSD compatible install" >&5 2798 echo "configure:2799: checking for a BSD compatible install" >&5
2797 if test -z "$INSTALL"; then 2799 if test -z "$INSTALL"; then
2798 2800
2799 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 2801 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
2800 for ac_dir in $PATH; do 2802 for ac_dir in $PATH; do
2801 # Account for people who put trailing slashes in PATH elements. 2803 # Account for people who put trailing slashes in PATH elements.
2842 for ac_prog in 'bison -y' byacc 2844 for ac_prog in 'bison -y' byacc
2843 do 2845 do
2844 # Extract the first word of "$ac_prog", so it can be a program name with args. 2846 # Extract the first word of "$ac_prog", so it can be a program name with args.
2845 set dummy $ac_prog; ac_word=$2 2847 set dummy $ac_prog; ac_word=$2
2846 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2848 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2847 echo "configure:2848: checking for $ac_word" >&5 2849 echo "configure:2850: checking for $ac_word" >&5
2848 2850
2849 if test -n "$YACC"; then 2851 if test -n "$YACC"; then
2850 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2852 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2851 else 2853 else
2852 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2854 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2873 2875
2874 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h 2876 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h
2875 do 2877 do
2876 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2878 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2879 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2878 echo "configure:2879: checking for $ac_hdr" >&5 2880 echo "configure:2881: checking for $ac_hdr" >&5
2879 2881
2880 cat > conftest.$ac_ext <<EOF 2882 cat > conftest.$ac_ext <<EOF
2881 #line 2882 "configure" 2883 #line 2884 "configure"
2882 #include "confdefs.h" 2884 #include "confdefs.h"
2883 #include <$ac_hdr> 2885 #include <$ac_hdr>
2884 EOF 2886 EOF
2885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2886 { (eval echo configure:2887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2888 { (eval echo configure:2889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2887 ac_err=`grep -v '^ *+' conftest.out` 2889 ac_err=`grep -v '^ *+' conftest.out`
2888 if test -z "$ac_err"; then 2890 if test -z "$ac_err"; then
2889 rm -rf conftest* 2891 rm -rf conftest*
2890 eval "ac_cv_header_$ac_safe=yes" 2892 eval "ac_cv_header_$ac_safe=yes"
2891 else 2893 else
2914 2916
2915 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h 2917 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h
2916 do 2918 do
2917 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2919 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2918 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2920 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2919 echo "configure:2920: checking for $ac_hdr" >&5 2921 echo "configure:2922: checking for $ac_hdr" >&5
2920 2922
2921 cat > conftest.$ac_ext <<EOF 2923 cat > conftest.$ac_ext <<EOF
2922 #line 2923 "configure" 2924 #line 2925 "configure"
2923 #include "confdefs.h" 2925 #include "confdefs.h"
2924 #include <$ac_hdr> 2926 #include <$ac_hdr>
2925 EOF 2927 EOF
2926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2927 { (eval echo configure:2928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2929 { (eval echo configure:2930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2928 ac_err=`grep -v '^ *+' conftest.out` 2930 ac_err=`grep -v '^ *+' conftest.out`
2929 if test -z "$ac_err"; then 2931 if test -z "$ac_err"; then
2930 rm -rf conftest* 2932 rm -rf conftest*
2931 eval "ac_cv_header_$ac_safe=yes" 2933 eval "ac_cv_header_$ac_safe=yes"
2932 else 2934 else
2955 2957
2956 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h 2958 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h
2957 do 2959 do
2958 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2960 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2959 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2961 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2960 echo "configure:2961: checking for $ac_hdr" >&5 2962 echo "configure:2963: checking for $ac_hdr" >&5
2961 2963
2962 cat > conftest.$ac_ext <<EOF 2964 cat > conftest.$ac_ext <<EOF
2963 #line 2964 "configure" 2965 #line 2966 "configure"
2964 #include "confdefs.h" 2966 #include "confdefs.h"
2965 #include <$ac_hdr> 2967 #include <$ac_hdr>
2966 EOF 2968 EOF
2967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2968 { (eval echo configure:2969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2970 { (eval echo configure:2971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2969 ac_err=`grep -v '^ *+' conftest.out` 2971 ac_err=`grep -v '^ *+' conftest.out`
2970 if test -z "$ac_err"; then 2972 if test -z "$ac_err"; then
2971 rm -rf conftest* 2973 rm -rf conftest*
2972 eval "ac_cv_header_$ac_safe=yes" 2974 eval "ac_cv_header_$ac_safe=yes"
2973 else 2975 else
2993 echo "$ac_t""no" 1>&6 2995 echo "$ac_t""no" 1>&6
2994 fi 2996 fi
2995 done 2997 done
2996 2998
2997 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 2999 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2998 echo "configure:2999: checking for sys/wait.h that is POSIX.1 compatible" >&5 3000 echo "configure:3001: checking for sys/wait.h that is POSIX.1 compatible" >&5
2999 3001
3000 cat > conftest.$ac_ext <<EOF 3002 cat > conftest.$ac_ext <<EOF
3001 #line 3002 "configure" 3003 #line 3004 "configure"
3002 #include "confdefs.h" 3004 #include "confdefs.h"
3003 #include <sys/types.h> 3005 #include <sys/types.h>
3004 #include <sys/wait.h> 3006 #include <sys/wait.h>
3005 #ifndef WEXITSTATUS 3007 #ifndef WEXITSTATUS
3006 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3008 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3012 int s; 3014 int s;
3013 wait (&s); 3015 wait (&s);
3014 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3016 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3015 ; return 0; } 3017 ; return 0; }
3016 EOF 3018 EOF
3017 if { (eval echo configure:3018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3019 if { (eval echo configure:3020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3018 rm -rf conftest* 3020 rm -rf conftest*
3019 ac_cv_header_sys_wait_h=yes 3021 ac_cv_header_sys_wait_h=yes
3020 else 3022 else
3021 echo "configure: failed program was:" >&5 3023 echo "configure: failed program was:" >&5
3022 cat conftest.$ac_ext >&5 3024 cat conftest.$ac_ext >&5
3036 } 3038 }
3037 3039
3038 fi 3040 fi
3039 3041
3040 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3042 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3041 echo "configure:3042: checking for ANSI C header files" >&5 3043 echo "configure:3044: checking for ANSI C header files" >&5
3042 3044
3043 cat > conftest.$ac_ext <<EOF 3045 cat > conftest.$ac_ext <<EOF
3044 #line 3045 "configure" 3046 #line 3047 "configure"
3045 #include "confdefs.h" 3047 #include "confdefs.h"
3046 #include <stdlib.h> 3048 #include <stdlib.h>
3047 #include <stdarg.h> 3049 #include <stdarg.h>
3048 #include <string.h> 3050 #include <string.h>
3049 #include <float.h> 3051 #include <float.h>
3050 EOF 3052 EOF
3051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3052 { (eval echo configure:3053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3054 { (eval echo configure:3055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3053 ac_err=`grep -v '^ *+' conftest.out` 3055 ac_err=`grep -v '^ *+' conftest.out`
3054 if test -z "$ac_err"; then 3056 if test -z "$ac_err"; then
3055 rm -rf conftest* 3057 rm -rf conftest*
3056 ac_cv_header_stdc=yes 3058 ac_cv_header_stdc=yes
3057 else 3059 else
3064 rm -f conftest* 3066 rm -f conftest*
3065 3067
3066 if test $ac_cv_header_stdc = yes; then 3068 if test $ac_cv_header_stdc = yes; then
3067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3069 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3068 cat > conftest.$ac_ext <<EOF 3070 cat > conftest.$ac_ext <<EOF
3069 #line 3070 "configure" 3071 #line 3072 "configure"
3070 #include "confdefs.h" 3072 #include "confdefs.h"
3071 #include <string.h> 3073 #include <string.h>
3072 EOF 3074 EOF
3073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3074 egrep "memchr" >/dev/null 2>&1; then 3076 egrep "memchr" >/dev/null 2>&1; then
3082 fi 3084 fi
3083 3085
3084 if test $ac_cv_header_stdc = yes; then 3086 if test $ac_cv_header_stdc = yes; then
3085 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3086 cat > conftest.$ac_ext <<EOF 3088 cat > conftest.$ac_ext <<EOF
3087 #line 3088 "configure" 3089 #line 3090 "configure"
3088 #include "confdefs.h" 3090 #include "confdefs.h"
3089 #include <stdlib.h> 3091 #include <stdlib.h>
3090 EOF 3092 EOF
3091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3092 egrep "free" >/dev/null 2>&1; then 3094 egrep "free" >/dev/null 2>&1; then
3100 fi 3102 fi
3101 3103
3102 if test $ac_cv_header_stdc = yes; then 3104 if test $ac_cv_header_stdc = yes; then
3103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3105 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3104 cat > conftest.$ac_ext <<EOF 3106 cat > conftest.$ac_ext <<EOF
3105 #line 3106 "configure" 3107 #line 3108 "configure"
3106 #include "confdefs.h" 3108 #include "confdefs.h"
3107 #include <ctype.h> 3109 #include <ctype.h>
3108 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3110 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3109 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3111 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3110 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3112 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3111 int main () { int i; for (i = 0; i < 256; i++) 3113 int main () { int i; for (i = 0; i < 256; i++)
3112 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 3114 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
3113 exit (0); } 3115 exit (0); }
3114 3116
3115 EOF 3117 EOF
3116 if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3118 if { (eval echo configure:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3117 then 3119 then
3118 : 3120 :
3119 else 3121 else
3120 echo "configure: failed program was:" >&5 3122 echo "configure: failed program was:" >&5
3121 cat conftest.$ac_ext >&5 3123 cat conftest.$ac_ext >&5
3136 } 3138 }
3137 3139
3138 fi 3140 fi
3139 3141
3140 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3142 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3141 echo "configure:3142: checking whether time.h and sys/time.h may both be included" >&5 3143 echo "configure:3144: checking whether time.h and sys/time.h may both be included" >&5
3142 3144
3143 cat > conftest.$ac_ext <<EOF 3145 cat > conftest.$ac_ext <<EOF
3144 #line 3145 "configure" 3146 #line 3147 "configure"
3145 #include "confdefs.h" 3147 #include "confdefs.h"
3146 #include <sys/types.h> 3148 #include <sys/types.h>
3147 #include <sys/time.h> 3149 #include <sys/time.h>
3148 #include <time.h> 3150 #include <time.h>
3149 int main() { 3151 int main() {
3150 struct tm *tp; 3152 struct tm *tp;
3151 ; return 0; } 3153 ; return 0; }
3152 EOF 3154 EOF
3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3155 if { (eval echo configure:3156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3154 rm -rf conftest* 3156 rm -rf conftest*
3155 ac_cv_header_time=yes 3157 ac_cv_header_time=yes
3156 else 3158 else
3157 echo "configure: failed program was:" >&5 3159 echo "configure: failed program was:" >&5
3158 cat conftest.$ac_ext >&5 3160 cat conftest.$ac_ext >&5
3172 } 3174 }
3173 3175
3174 fi 3176 fi
3175 3177
3176 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 3178 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
3177 echo "configure:3178: checking for sys_siglist declaration in signal.h or unistd.h" >&5 3179 echo "configure:3180: checking for sys_siglist declaration in signal.h or unistd.h" >&5
3178 3180
3179 cat > conftest.$ac_ext <<EOF 3181 cat > conftest.$ac_ext <<EOF
3180 #line 3181 "configure" 3182 #line 3183 "configure"
3181 #include "confdefs.h" 3183 #include "confdefs.h"
3182 #include <sys/types.h> 3184 #include <sys/types.h>
3183 #include <signal.h> 3185 #include <signal.h>
3184 /* NetBSD declares sys_siglist in unistd.h. */ 3186 /* NetBSD declares sys_siglist in unistd.h. */
3185 #ifdef HAVE_UNISTD_H 3187 #ifdef HAVE_UNISTD_H
3187 #endif 3189 #endif
3188 int main() { 3190 int main() {
3189 char *msg = *(sys_siglist + 1); 3191 char *msg = *(sys_siglist + 1);
3190 ; return 0; } 3192 ; return 0; }
3191 EOF 3193 EOF
3192 if { (eval echo configure:3193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3194 if { (eval echo configure:3195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3193 rm -rf conftest* 3195 rm -rf conftest*
3194 ac_cv_decl_sys_siglist=yes 3196 ac_cv_decl_sys_siglist=yes
3195 else 3197 else
3196 echo "configure: failed program was:" >&5 3198 echo "configure: failed program was:" >&5
3197 cat conftest.$ac_ext >&5 3199 cat conftest.$ac_ext >&5
3212 3214
3213 fi 3215 fi
3214 3216
3215 3217
3216 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 3218 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
3217 echo "configure:3218: checking for struct utimbuf" >&5 3219 echo "configure:3220: checking for struct utimbuf" >&5
3218 cat > conftest.$ac_ext <<EOF 3220 cat > conftest.$ac_ext <<EOF
3219 #line 3220 "configure" 3221 #line 3222 "configure"
3220 #include "confdefs.h" 3222 #include "confdefs.h"
3221 #ifdef TIME_WITH_SYS_TIME 3223 #ifdef TIME_WITH_SYS_TIME
3222 #include <sys/time.h> 3224 #include <sys/time.h>
3223 #include <time.h> 3225 #include <time.h>
3224 #else 3226 #else
3233 #endif 3235 #endif
3234 int main() { 3236 int main() {
3235 static struct utimbuf x; x.actime = x.modtime; 3237 static struct utimbuf x; x.actime = x.modtime;
3236 ; return 0; } 3238 ; return 0; }
3237 EOF 3239 EOF
3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3240 if { (eval echo configure:3241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3239 rm -rf conftest* 3241 rm -rf conftest*
3240 echo "$ac_t""yes" 1>&6 3242 echo "$ac_t""yes" 1>&6
3241 { test "$extra_verbose" = "yes" && cat << \EOF 3243 { test "$extra_verbose" = "yes" && cat << \EOF
3242 Defining HAVE_STRUCT_UTIMBUF 3244 Defining HAVE_STRUCT_UTIMBUF
3243 EOF 3245 EOF
3253 echo "$ac_t""no" 1>&6 3255 echo "$ac_t""no" 1>&6
3254 fi 3256 fi
3255 rm -f conftest* 3257 rm -f conftest*
3256 3258
3257 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3259 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3258 echo "configure:3259: checking return type of signal handlers" >&5 3260 echo "configure:3261: checking return type of signal handlers" >&5
3259 3261
3260 cat > conftest.$ac_ext <<EOF 3262 cat > conftest.$ac_ext <<EOF
3261 #line 3262 "configure" 3263 #line 3264 "configure"
3262 #include "confdefs.h" 3264 #include "confdefs.h"
3263 #include <sys/types.h> 3265 #include <sys/types.h>
3264 #include <signal.h> 3266 #include <signal.h>
3265 #ifdef signal 3267 #ifdef signal
3266 #undef signal 3268 #undef signal
3273 3275
3274 int main() { 3276 int main() {
3275 int i; 3277 int i;
3276 ; return 0; } 3278 ; return 0; }
3277 EOF 3279 EOF
3278 if { (eval echo configure:3279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3280 if { (eval echo configure:3281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3279 rm -rf conftest* 3281 rm -rf conftest*
3280 ac_cv_type_signal=void 3282 ac_cv_type_signal=void
3281 else 3283 else
3282 echo "configure: failed program was:" >&5 3284 echo "configure: failed program was:" >&5
3283 cat conftest.$ac_ext >&5 3285 cat conftest.$ac_ext >&5
3295 EOF 3297 EOF
3296 } 3298 }
3297 3299
3298 3300
3299 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3301 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3300 echo "configure:3301: checking for size_t" >&5 3302 echo "configure:3303: checking for size_t" >&5
3301 3303
3302 cat > conftest.$ac_ext <<EOF 3304 cat > conftest.$ac_ext <<EOF
3303 #line 3304 "configure" 3305 #line 3306 "configure"
3304 #include "confdefs.h" 3306 #include "confdefs.h"
3305 #include <sys/types.h> 3307 #include <sys/types.h>
3306 #if STDC_HEADERS 3308 #if STDC_HEADERS
3307 #include <stdlib.h> 3309 #include <stdlib.h>
3308 #include <stddef.h> 3310 #include <stddef.h>
3329 } 3331 }
3330 3332
3331 fi 3333 fi
3332 3334
3333 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 3335 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3334 echo "configure:3335: checking for pid_t" >&5 3336 echo "configure:3337: checking for pid_t" >&5
3335 3337
3336 cat > conftest.$ac_ext <<EOF 3338 cat > conftest.$ac_ext <<EOF
3337 #line 3338 "configure" 3339 #line 3340 "configure"
3338 #include "confdefs.h" 3340 #include "confdefs.h"
3339 #include <sys/types.h> 3341 #include <sys/types.h>
3340 #if STDC_HEADERS 3342 #if STDC_HEADERS
3341 #include <stdlib.h> 3343 #include <stdlib.h>
3342 #include <stddef.h> 3344 #include <stddef.h>
3363 } 3365 }
3364 3366
3365 fi 3367 fi
3366 3368
3367 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 3369 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3368 echo "configure:3369: checking for uid_t in sys/types.h" >&5 3370 echo "configure:3371: checking for uid_t in sys/types.h" >&5
3369 3371
3370 cat > conftest.$ac_ext <<EOF 3372 cat > conftest.$ac_ext <<EOF
3371 #line 3372 "configure" 3373 #line 3374 "configure"
3372 #include "confdefs.h" 3374 #include "confdefs.h"
3373 #include <sys/types.h> 3375 #include <sys/types.h>
3374 EOF 3376 EOF
3375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3376 egrep "uid_t" >/dev/null 2>&1; then 3378 egrep "uid_t" >/dev/null 2>&1; then
3402 } 3404 }
3403 3405
3404 fi 3406 fi
3405 3407
3406 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 3408 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3407 echo "configure:3408: checking for mode_t" >&5 3409 echo "configure:3410: checking for mode_t" >&5
3408 3410
3409 cat > conftest.$ac_ext <<EOF 3411 cat > conftest.$ac_ext <<EOF
3410 #line 3411 "configure" 3412 #line 3413 "configure"
3411 #include "confdefs.h" 3413 #include "confdefs.h"
3412 #include <sys/types.h> 3414 #include <sys/types.h>
3413 #if STDC_HEADERS 3415 #if STDC_HEADERS
3414 #include <stdlib.h> 3416 #include <stdlib.h>
3415 #include <stddef.h> 3417 #include <stddef.h>
3436 } 3438 }
3437 3439
3438 fi 3440 fi
3439 3441
3440 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3442 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3441 echo "configure:3442: checking for off_t" >&5 3443 echo "configure:3444: checking for off_t" >&5
3442 3444
3443 cat > conftest.$ac_ext <<EOF 3445 cat > conftest.$ac_ext <<EOF
3444 #line 3445 "configure" 3446 #line 3447 "configure"
3445 #include "confdefs.h" 3447 #include "confdefs.h"
3446 #include <sys/types.h> 3448 #include <sys/types.h>
3447 #if STDC_HEADERS 3449 #if STDC_HEADERS
3448 #include <stdlib.h> 3450 #include <stdlib.h>
3449 #include <stddef.h> 3451 #include <stddef.h>
3471 3473
3472 fi 3474 fi
3473 3475
3474 3476
3475 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 3477 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
3476 echo "configure:3477: checking for struct timeval" >&5 3478 echo "configure:3479: checking for struct timeval" >&5
3477 cat > conftest.$ac_ext <<EOF 3479 cat > conftest.$ac_ext <<EOF
3478 #line 3479 "configure" 3480 #line 3481 "configure"
3479 #include "confdefs.h" 3481 #include "confdefs.h"
3480 #ifdef TIME_WITH_SYS_TIME 3482 #ifdef TIME_WITH_SYS_TIME
3481 #include <sys/time.h> 3483 #include <sys/time.h>
3482 #include <time.h> 3484 #include <time.h>
3483 #else 3485 #else
3489 #endif 3491 #endif
3490 int main() { 3492 int main() {
3491 static struct timeval x; x.tv_sec = x.tv_usec; 3493 static struct timeval x; x.tv_sec = x.tv_usec;
3492 ; return 0; } 3494 ; return 0; }
3493 EOF 3495 EOF
3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3496 if { (eval echo configure:3497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3495 rm -rf conftest* 3497 rm -rf conftest*
3496 echo "$ac_t""yes" 1>&6 3498 echo "$ac_t""yes" 1>&6
3497 HAVE_TIMEVAL=yes 3499 HAVE_TIMEVAL=yes
3498 { test "$extra_verbose" = "yes" && cat << \EOF 3500 { test "$extra_verbose" = "yes" && cat << \EOF
3499 Defining HAVE_TIMEVAL 3501 Defining HAVE_TIMEVAL
3511 HAVE_TIMEVAL=no 3513 HAVE_TIMEVAL=no
3512 fi 3514 fi
3513 rm -f conftest* 3515 rm -f conftest*
3514 3516
3515 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 3517 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3516 echo "configure:3517: checking whether struct tm is in sys/time.h or time.h" >&5 3518 echo "configure:3519: checking whether struct tm is in sys/time.h or time.h" >&5
3517 3519
3518 cat > conftest.$ac_ext <<EOF 3520 cat > conftest.$ac_ext <<EOF
3519 #line 3520 "configure" 3521 #line 3522 "configure"
3520 #include "confdefs.h" 3522 #include "confdefs.h"
3521 #include <sys/types.h> 3523 #include <sys/types.h>
3522 #include <time.h> 3524 #include <time.h>
3523 int main() { 3525 int main() {
3524 struct tm *tp; tp->tm_sec; 3526 struct tm *tp; tp->tm_sec;
3525 ; return 0; } 3527 ; return 0; }
3526 EOF 3528 EOF
3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3529 if { (eval echo configure:3530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3528 rm -rf conftest* 3530 rm -rf conftest*
3529 ac_cv_struct_tm=time.h 3531 ac_cv_struct_tm=time.h
3530 else 3532 else
3531 echo "configure: failed program was:" >&5 3533 echo "configure: failed program was:" >&5
3532 cat conftest.$ac_ext >&5 3534 cat conftest.$ac_ext >&5
3546 } 3548 }
3547 3549
3548 fi 3550 fi
3549 3551
3550 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 3552 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3551 echo "configure:3552: checking for tm_zone in struct tm" >&5 3553 echo "configure:3554: checking for tm_zone in struct tm" >&5
3552 3554
3553 cat > conftest.$ac_ext <<EOF 3555 cat > conftest.$ac_ext <<EOF
3554 #line 3555 "configure" 3556 #line 3557 "configure"
3555 #include "confdefs.h" 3557 #include "confdefs.h"
3556 #include <sys/types.h> 3558 #include <sys/types.h>
3557 #include <$ac_cv_struct_tm> 3559 #include <$ac_cv_struct_tm>
3558 int main() { 3560 int main() {
3559 struct tm tm; tm.tm_zone; 3561 struct tm tm; tm.tm_zone;
3560 ; return 0; } 3562 ; return 0; }
3561 EOF 3563 EOF
3562 if { (eval echo configure:3563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3564 if { (eval echo configure:3565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3563 rm -rf conftest* 3565 rm -rf conftest*
3564 ac_cv_struct_tm_zone=yes 3566 ac_cv_struct_tm_zone=yes
3565 else 3567 else
3566 echo "configure: failed program was:" >&5 3568 echo "configure: failed program was:" >&5
3567 cat conftest.$ac_ext >&5 3569 cat conftest.$ac_ext >&5
3580 EOF 3582 EOF
3581 } 3583 }
3582 3584
3583 else 3585 else
3584 echo $ac_n "checking for tzname""... $ac_c" 1>&6 3586 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3585 echo "configure:3586: checking for tzname" >&5 3587 echo "configure:3588: checking for tzname" >&5
3586 3588
3587 cat > conftest.$ac_ext <<EOF 3589 cat > conftest.$ac_ext <<EOF
3588 #line 3589 "configure" 3590 #line 3591 "configure"
3589 #include "confdefs.h" 3591 #include "confdefs.h"
3590 #include <time.h> 3592 #include <time.h>
3591 #ifndef tzname /* For SGI. */ 3593 #ifndef tzname /* For SGI. */
3592 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 3594 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3593 #endif 3595 #endif
3594 int main() { 3596 int main() {
3595 atoi(*tzname); 3597 atoi(*tzname);
3596 ; return 0; } 3598 ; return 0; }
3597 EOF 3599 EOF
3598 if { (eval echo configure:3599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3600 if { (eval echo configure:3601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3599 rm -rf conftest* 3601 rm -rf conftest*
3600 ac_cv_var_tzname=yes 3602 ac_cv_var_tzname=yes
3601 else 3603 else
3602 echo "configure: failed program was:" >&5 3604 echo "configure: failed program was:" >&5
3603 cat conftest.$ac_ext >&5 3605 cat conftest.$ac_ext >&5
3619 fi 3621 fi
3620 fi 3622 fi
3621 3623
3622 3624
3623 echo $ac_n "checking for working const""... $ac_c" 1>&6 3625 echo $ac_n "checking for working const""... $ac_c" 1>&6
3624 echo "configure:3625: checking for working const" >&5 3626 echo "configure:3627: checking for working const" >&5
3625 3627
3626 cat > conftest.$ac_ext <<EOF 3628 cat > conftest.$ac_ext <<EOF
3627 #line 3628 "configure" 3629 #line 3630 "configure"
3628 #include "confdefs.h" 3630 #include "confdefs.h"
3629 3631
3630 int main() { 3632 int main() {
3631 3633
3632 /* Ultrix mips cc rejects this. */ 3634 /* Ultrix mips cc rejects this. */
3671 const int foo = 10; 3673 const int foo = 10;
3672 } 3674 }
3673 3675
3674 ; return 0; } 3676 ; return 0; }
3675 EOF 3677 EOF
3676 if { (eval echo configure:3677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3678 if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3677 rm -rf conftest* 3679 rm -rf conftest*
3678 ac_cv_c_const=yes 3680 ac_cv_c_const=yes
3679 else 3681 else
3680 echo "configure: failed program was:" >&5 3682 echo "configure: failed program was:" >&5
3681 cat conftest.$ac_ext >&5 3683 cat conftest.$ac_ext >&5
3696 3698
3697 fi 3699 fi
3698 3700
3699 3701
3700 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3702 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3701 echo "configure:3702: checking whether ${MAKE-make} sets \${MAKE}" >&5 3703 echo "configure:3704: checking whether ${MAKE-make} sets \${MAKE}" >&5
3702 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3704 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3703 3705
3704 cat > conftestmake <<\EOF 3706 cat > conftestmake <<\EOF
3705 all: 3707 all:
3706 @echo 'ac_maketemp="${MAKE}"' 3708 @echo 'ac_maketemp="${MAKE}"'
3721 SET_MAKE="MAKE=${MAKE-make}" 3723 SET_MAKE="MAKE=${MAKE-make}"
3722 fi 3724 fi
3723 3725
3724 3726
3725 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3727 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3726 echo "configure:3727: checking whether byte ordering is bigendian" >&5 3728 echo "configure:3729: checking whether byte ordering is bigendian" >&5
3727 3729
3728 ac_cv_c_bigendian=unknown 3730 ac_cv_c_bigendian=unknown
3729 # See if sys/param.h defines the BYTE_ORDER macro. 3731 # See if sys/param.h defines the BYTE_ORDER macro.
3730 cat > conftest.$ac_ext <<EOF 3732 cat > conftest.$ac_ext <<EOF
3731 #line 3732 "configure" 3733 #line 3734 "configure"
3732 #include "confdefs.h" 3734 #include "confdefs.h"
3733 #include <sys/types.h> 3735 #include <sys/types.h>
3734 #include <sys/param.h> 3736 #include <sys/param.h>
3735 int main() { 3737 int main() {
3736 3738
3737 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3739 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3738 bogus endian macros 3740 bogus endian macros
3739 #endif 3741 #endif
3740 ; return 0; } 3742 ; return 0; }
3741 EOF 3743 EOF
3742 if { (eval echo configure:3743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3744 if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3743 rm -rf conftest* 3745 rm -rf conftest*
3744 # It does; now see whether it defined to BIG_ENDIAN or not. 3746 # It does; now see whether it defined to BIG_ENDIAN or not.
3745 cat > conftest.$ac_ext <<EOF 3747 cat > conftest.$ac_ext <<EOF
3746 #line 3747 "configure" 3748 #line 3749 "configure"
3747 #include "confdefs.h" 3749 #include "confdefs.h"
3748 #include <sys/types.h> 3750 #include <sys/types.h>
3749 #include <sys/param.h> 3751 #include <sys/param.h>
3750 int main() { 3752 int main() {
3751 3753
3752 #if BYTE_ORDER != BIG_ENDIAN 3754 #if BYTE_ORDER != BIG_ENDIAN
3753 not big endian 3755 not big endian
3754 #endif 3756 #endif
3755 ; return 0; } 3757 ; return 0; }
3756 EOF 3758 EOF
3757 if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3759 if { (eval echo configure:3760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3758 rm -rf conftest* 3760 rm -rf conftest*
3759 ac_cv_c_bigendian=yes 3761 ac_cv_c_bigendian=yes
3760 else 3762 else
3761 echo "configure: failed program was:" >&5 3763 echo "configure: failed program was:" >&5
3762 cat conftest.$ac_ext >&5 3764 cat conftest.$ac_ext >&5
3769 cat conftest.$ac_ext >&5 3771 cat conftest.$ac_ext >&5
3770 fi 3772 fi
3771 rm -f conftest* 3773 rm -f conftest*
3772 if test $ac_cv_c_bigendian = unknown; then 3774 if test $ac_cv_c_bigendian = unknown; then
3773 cat > conftest.$ac_ext <<EOF 3775 cat > conftest.$ac_ext <<EOF
3774 #line 3775 "configure" 3776 #line 3777 "configure"
3775 #include "confdefs.h" 3777 #include "confdefs.h"
3776 main () { 3778 main () {
3777 /* Are we little or big endian? From Harbison&Steele. */ 3779 /* Are we little or big endian? From Harbison&Steele. */
3778 union 3780 union
3779 { 3781 {
3782 } u; 3784 } u;
3783 u.l = 1; 3785 u.l = 1;
3784 exit (u.c[sizeof (long) - 1] == 1); 3786 exit (u.c[sizeof (long) - 1] == 1);
3785 } 3787 }
3786 EOF 3788 EOF
3787 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3789 if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3788 then 3790 then
3789 ac_cv_c_bigendian=no 3791 ac_cv_c_bigendian=no
3790 else 3792 else
3791 echo "configure: failed program was:" >&5 3793 echo "configure: failed program was:" >&5
3792 cat conftest.$ac_ext >&5 3794 cat conftest.$ac_ext >&5
3808 3810
3809 fi 3811 fi
3810 3812
3811 3813
3812 echo $ac_n "checking size of short""... $ac_c" 1>&6 3814 echo $ac_n "checking size of short""... $ac_c" 1>&6
3813 echo "configure:3814: checking size of short" >&5 3815 echo "configure:3816: checking size of short" >&5
3814 3816
3815 cat > conftest.$ac_ext <<EOF 3817 cat > conftest.$ac_ext <<EOF
3816 #line 3817 "configure" 3818 #line 3819 "configure"
3817 #include "confdefs.h" 3819 #include "confdefs.h"
3818 #include <stdio.h> 3820 #include <stdio.h>
3819 main() 3821 main()
3820 { 3822 {
3821 FILE *f=fopen("conftestval", "w"); 3823 FILE *f=fopen("conftestval", "w");
3822 if (!f) exit(1); 3824 if (!f) exit(1);
3823 fprintf(f, "%d\n", sizeof(short)); 3825 fprintf(f, "%d\n", sizeof(short));
3824 exit(0); 3826 exit(0);
3825 } 3827 }
3826 EOF 3828 EOF
3827 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3829 if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3828 then 3830 then
3829 ac_cv_sizeof_short=`cat conftestval` 3831 ac_cv_sizeof_short=`cat conftestval`
3830 else 3832 else
3831 echo "configure: failed program was:" >&5 3833 echo "configure: failed program was:" >&5
3832 cat conftest.$ac_ext >&5 3834 cat conftest.$ac_ext >&5
3849 echo "*** PANIC *** Configure tests are not working - compiler is broken." 3851 echo "*** PANIC *** Configure tests are not working - compiler is broken."
3850 echo "*** PANIC *** Please examine config.log for compilation errors." 3852 echo "*** PANIC *** Please examine config.log for compilation errors."
3851 exit 1 3853 exit 1
3852 fi 3854 fi
3853 echo $ac_n "checking size of int""... $ac_c" 1>&6 3855 echo $ac_n "checking size of int""... $ac_c" 1>&6
3854 echo "configure:3855: checking size of int" >&5 3856 echo "configure:3857: checking size of int" >&5
3855 3857
3856 cat > conftest.$ac_ext <<EOF 3858 cat > conftest.$ac_ext <<EOF
3857 #line 3858 "configure" 3859 #line 3860 "configure"
3858 #include "confdefs.h" 3860 #include "confdefs.h"
3859 #include <stdio.h> 3861 #include <stdio.h>
3860 main() 3862 main()
3861 { 3863 {
3862 FILE *f=fopen("conftestval", "w"); 3864 FILE *f=fopen("conftestval", "w");
3863 if (!f) exit(1); 3865 if (!f) exit(1);
3864 fprintf(f, "%d\n", sizeof(int)); 3866 fprintf(f, "%d\n", sizeof(int));
3865 exit(0); 3867 exit(0);
3866 } 3868 }
3867 EOF 3869 EOF
3868 if { (eval echo configure:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3870 if { (eval echo configure:3871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3869 then 3871 then
3870 ac_cv_sizeof_int=`cat conftestval` 3872 ac_cv_sizeof_int=`cat conftestval`
3871 else 3873 else
3872 echo "configure: failed program was:" >&5 3874 echo "configure: failed program was:" >&5
3873 cat conftest.$ac_ext >&5 3875 cat conftest.$ac_ext >&5
3884 EOF 3886 EOF
3885 } 3887 }
3886 3888
3887 3889
3888 echo $ac_n "checking size of long""... $ac_c" 1>&6 3890 echo $ac_n "checking size of long""... $ac_c" 1>&6
3889 echo "configure:3890: checking size of long" >&5 3891 echo "configure:3892: checking size of long" >&5
3890 3892
3891 cat > conftest.$ac_ext <<EOF 3893 cat > conftest.$ac_ext <<EOF
3892 #line 3893 "configure" 3894 #line 3895 "configure"
3893 #include "confdefs.h" 3895 #include "confdefs.h"
3894 #include <stdio.h> 3896 #include <stdio.h>
3895 main() 3897 main()
3896 { 3898 {
3897 FILE *f=fopen("conftestval", "w"); 3899 FILE *f=fopen("conftestval", "w");
3898 if (!f) exit(1); 3900 if (!f) exit(1);
3899 fprintf(f, "%d\n", sizeof(long)); 3901 fprintf(f, "%d\n", sizeof(long));
3900 exit(0); 3902 exit(0);
3901 } 3903 }
3902 EOF 3904 EOF
3903 if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3905 if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3904 then 3906 then
3905 ac_cv_sizeof_long=`cat conftestval` 3907 ac_cv_sizeof_long=`cat conftestval`
3906 else 3908 else
3907 echo "configure: failed program was:" >&5 3909 echo "configure: failed program was:" >&5
3908 cat conftest.$ac_ext >&5 3910 cat conftest.$ac_ext >&5
3919 EOF 3921 EOF
3920 } 3922 }
3921 3923
3922 3924
3923 echo $ac_n "checking size of long long""... $ac_c" 1>&6 3925 echo $ac_n "checking size of long long""... $ac_c" 1>&6
3924 echo "configure:3925: checking size of long long" >&5 3926 echo "configure:3927: checking size of long long" >&5
3925 3927
3926 cat > conftest.$ac_ext <<EOF 3928 cat > conftest.$ac_ext <<EOF
3927 #line 3928 "configure" 3929 #line 3930 "configure"
3928 #include "confdefs.h" 3930 #include "confdefs.h"
3929 #include <stdio.h> 3931 #include <stdio.h>
3930 main() 3932 main()
3931 { 3933 {
3932 FILE *f=fopen("conftestval", "w"); 3934 FILE *f=fopen("conftestval", "w");
3933 if (!f) exit(1); 3935 if (!f) exit(1);
3934 fprintf(f, "%d\n", sizeof(long long)); 3936 fprintf(f, "%d\n", sizeof(long long));
3935 exit(0); 3937 exit(0);
3936 } 3938 }
3937 EOF 3939 EOF
3938 if { (eval echo configure:3939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3940 if { (eval echo configure:3941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3939 then 3941 then
3940 ac_cv_sizeof_long_long=`cat conftestval` 3942 ac_cv_sizeof_long_long=`cat conftestval`
3941 else 3943 else
3942 echo "configure: failed program was:" >&5 3944 echo "configure: failed program was:" >&5
3943 cat conftest.$ac_ext >&5 3945 cat conftest.$ac_ext >&5
3954 EOF 3956 EOF
3955 } 3957 }
3956 3958
3957 3959
3958 echo $ac_n "checking size of void *""... $ac_c" 1>&6 3960 echo $ac_n "checking size of void *""... $ac_c" 1>&6
3959 echo "configure:3960: checking size of void *" >&5 3961 echo "configure:3962: checking size of void *" >&5
3960 3962
3961 cat > conftest.$ac_ext <<EOF 3963 cat > conftest.$ac_ext <<EOF
3962 #line 3963 "configure" 3964 #line 3965 "configure"
3963 #include "confdefs.h" 3965 #include "confdefs.h"
3964 #include <stdio.h> 3966 #include <stdio.h>
3965 main() 3967 main()
3966 { 3968 {
3967 FILE *f=fopen("conftestval", "w"); 3969 FILE *f=fopen("conftestval", "w");
3968 if (!f) exit(1); 3970 if (!f) exit(1);
3969 fprintf(f, "%d\n", sizeof(void *)); 3971 fprintf(f, "%d\n", sizeof(void *));
3970 exit(0); 3972 exit(0);
3971 } 3973 }
3972 EOF 3974 EOF
3973 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3975 if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3974 then 3976 then
3975 ac_cv_sizeof_void_p=`cat conftestval` 3977 ac_cv_sizeof_void_p=`cat conftestval`
3976 else 3978 else
3977 echo "configure: failed program was:" >&5 3979 echo "configure: failed program was:" >&5
3978 cat conftest.$ac_ext >&5 3980 cat conftest.$ac_ext >&5
3990 } 3992 }
3991 3993
3992 3994
3993 3995
3994 echo $ac_n "checking for long file names""... $ac_c" 1>&6 3996 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3995 echo "configure:3996: checking for long file names" >&5 3997 echo "configure:3998: checking for long file names" >&5
3996 3998
3997 ac_cv_sys_long_file_names=yes 3999 ac_cv_sys_long_file_names=yes
3998 # Test for long file names in all the places we know might matter: 4000 # Test for long file names in all the places we know might matter:
3999 # . the current directory, where building will happen 4001 # . the current directory, where building will happen
4000 # $prefix/lib where we will be installing things 4002 # $prefix/lib where we will be installing things
4037 fi 4039 fi
4038 4040
4039 4041
4040 4042
4041 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 4043 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4042 echo "configure:4043: checking for sin in -lm" >&5 4044 echo "configure:4045: checking for sin in -lm" >&5
4043 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 4045 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4044 4046
4045 xe_check_libs=" -lm " 4047 xe_check_libs=" -lm "
4046 cat > conftest.$ac_ext <<EOF 4048 cat > conftest.$ac_ext <<EOF
4047 #line 4048 "configure" 4049 #line 4050 "configure"
4048 #include "confdefs.h" 4050 #include "confdefs.h"
4049 /* Override any gcc2 internal prototype to avoid an error. */ 4051 /* Override any gcc2 internal prototype to avoid an error. */
4050 /* We use char because int might match the return type of a gcc2 4052 /* We use char because int might match the return type of a gcc2
4051 builtin and then its argument prototype would still apply. */ 4053 builtin and then its argument prototype would still apply. */
4052 char sin(); 4054 char sin();
4053 4055
4054 int main() { 4056 int main() {
4055 sin() 4057 sin()
4056 ; return 0; } 4058 ; return 0; }
4057 EOF 4059 EOF
4058 if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4060 if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4059 rm -rf conftest* 4061 rm -rf conftest*
4060 eval "ac_cv_lib_$ac_lib_var=yes" 4062 eval "ac_cv_lib_$ac_lib_var=yes"
4061 else 4063 else
4062 echo "configure: failed program was:" >&5 4064 echo "configure: failed program was:" >&5
4063 cat conftest.$ac_ext >&5 4065 cat conftest.$ac_ext >&5
4095 EOF 4097 EOF
4096 } 4098 }
4097 4099
4098 4100
4099 cat > conftest.$ac_ext <<EOF 4101 cat > conftest.$ac_ext <<EOF
4100 #line 4101 "configure" 4102 #line 4103 "configure"
4101 #include "confdefs.h" 4103 #include "confdefs.h"
4102 #include <math.h> 4104 #include <math.h>
4103 int main() { 4105 int main() {
4104 return atanh(1.0) + asinh(1.0) + acosh(1.0); 4106 return atanh(1.0) + asinh(1.0) + acosh(1.0);
4105 ; return 0; } 4107 ; return 0; }
4106 EOF 4108 EOF
4107 if { (eval echo configure:4108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4109 if { (eval echo configure:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4108 rm -rf conftest* 4110 rm -rf conftest*
4109 { test "$extra_verbose" = "yes" && cat << \EOF 4111 { test "$extra_verbose" = "yes" && cat << \EOF
4110 Defining HAVE_INVERSE_HYPERBOLIC 4112 Defining HAVE_INVERSE_HYPERBOLIC
4111 EOF 4113 EOF
4112 cat >> confdefs.h <<\EOF 4114 cat >> confdefs.h <<\EOF
4119 cat conftest.$ac_ext >&5 4121 cat conftest.$ac_ext >&5
4120 fi 4122 fi
4121 rm -f conftest* 4123 rm -f conftest*
4122 4124
4123 echo "checking type of mail spool file locking" 1>&6 4125 echo "checking type of mail spool file locking" 1>&6
4124 echo "configure:4125: checking type of mail spool file locking" >&5 4126 echo "configure:4127: checking type of mail spool file locking" >&5
4125 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock 4127 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock
4126 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf 4128 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf
4127 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF 4129 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF
4128 Defining REAL_MAIL_USE_LOCKF 4130 Defining REAL_MAIL_USE_LOCKF
4129 EOF 4131 EOF
4143 else mail_locking="dot-locking" 4145 else mail_locking="dot-locking"
4144 fi 4146 fi
4145 4147
4146 4148
4147 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 4149 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
4148 echo "configure:4149: checking for kstat_open in -lkstat" >&5 4150 echo "configure:4151: checking for kstat_open in -lkstat" >&5
4149 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 4151 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
4150 4152
4151 xe_check_libs=" -lkstat " 4153 xe_check_libs=" -lkstat "
4152 cat > conftest.$ac_ext <<EOF 4154 cat > conftest.$ac_ext <<EOF
4153 #line 4154 "configure" 4155 #line 4156 "configure"
4154 #include "confdefs.h" 4156 #include "confdefs.h"
4155 /* Override any gcc2 internal prototype to avoid an error. */ 4157 /* Override any gcc2 internal prototype to avoid an error. */
4156 /* We use char because int might match the return type of a gcc2 4158 /* We use char because int might match the return type of a gcc2
4157 builtin and then its argument prototype would still apply. */ 4159 builtin and then its argument prototype would still apply. */
4158 char kstat_open(); 4160 char kstat_open();
4159 4161
4160 int main() { 4162 int main() {
4161 kstat_open() 4163 kstat_open()
4162 ; return 0; } 4164 ; return 0; }
4163 EOF 4165 EOF
4164 if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4165 rm -rf conftest* 4167 rm -rf conftest*
4166 eval "ac_cv_lib_$ac_lib_var=yes" 4168 eval "ac_cv_lib_$ac_lib_var=yes"
4167 else 4169 else
4168 echo "configure: failed program was:" >&5 4170 echo "configure: failed program was:" >&5
4169 cat conftest.$ac_ext >&5 4171 cat conftest.$ac_ext >&5
4193 4195
4194 4196
4195 4197
4196 4198
4197 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 4199 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
4198 echo "configure:4199: checking for kvm_read in -lkvm" >&5 4200 echo "configure:4201: checking for kvm_read in -lkvm" >&5
4199 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 4201 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
4200 4202
4201 xe_check_libs=" -lkvm " 4203 xe_check_libs=" -lkvm "
4202 cat > conftest.$ac_ext <<EOF 4204 cat > conftest.$ac_ext <<EOF
4203 #line 4204 "configure" 4205 #line 4206 "configure"
4204 #include "confdefs.h" 4206 #include "confdefs.h"
4205 /* Override any gcc2 internal prototype to avoid an error. */ 4207 /* Override any gcc2 internal prototype to avoid an error. */
4206 /* We use char because int might match the return type of a gcc2 4208 /* We use char because int might match the return type of a gcc2
4207 builtin and then its argument prototype would still apply. */ 4209 builtin and then its argument prototype would still apply. */
4208 char kvm_read(); 4210 char kvm_read();
4209 4211
4210 int main() { 4212 int main() {
4211 kvm_read() 4213 kvm_read()
4212 ; return 0; } 4214 ; return 0; }
4213 EOF 4215 EOF
4214 if { (eval echo configure:4215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4216 if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4215 rm -rf conftest* 4217 rm -rf conftest*
4216 eval "ac_cv_lib_$ac_lib_var=yes" 4218 eval "ac_cv_lib_$ac_lib_var=yes"
4217 else 4219 else
4218 echo "configure: failed program was:" >&5 4220 echo "configure: failed program was:" >&5
4219 cat conftest.$ac_ext >&5 4221 cat conftest.$ac_ext >&5
4244 4246
4245 4247
4246 case "$opsys" in decosf*) 4248 case "$opsys" in decosf*)
4247 4249
4248 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 4250 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4249 echo "configure:4250: checking for cma_open in -lpthreads" >&5 4251 echo "configure:4252: checking for cma_open in -lpthreads" >&5
4250 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 4252 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
4251 4253
4252 xe_check_libs=" -lpthreads " 4254 xe_check_libs=" -lpthreads "
4253 cat > conftest.$ac_ext <<EOF 4255 cat > conftest.$ac_ext <<EOF
4254 #line 4255 "configure" 4256 #line 4257 "configure"
4255 #include "confdefs.h" 4257 #include "confdefs.h"
4256 /* Override any gcc2 internal prototype to avoid an error. */ 4258 /* Override any gcc2 internal prototype to avoid an error. */
4257 /* We use char because int might match the return type of a gcc2 4259 /* We use char because int might match the return type of a gcc2
4258 builtin and then its argument prototype would still apply. */ 4260 builtin and then its argument prototype would still apply. */
4259 char cma_open(); 4261 char cma_open();
4260 4262
4261 int main() { 4263 int main() {
4262 cma_open() 4264 cma_open()
4263 ; return 0; } 4265 ; return 0; }
4264 EOF 4266 EOF
4265 if { (eval echo configure:4266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4267 if { (eval echo configure:4268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4266 rm -rf conftest* 4268 rm -rf conftest*
4267 eval "ac_cv_lib_$ac_lib_var=yes" 4269 eval "ac_cv_lib_$ac_lib_var=yes"
4268 else 4270 else
4269 echo "configure: failed program was:" >&5 4271 echo "configure: failed program was:" >&5
4270 cat conftest.$ac_ext >&5 4272 cat conftest.$ac_ext >&5
4296 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ 4298 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \
4297 c_switch_site="$c_switch_site -threads" ;; 4299 c_switch_site="$c_switch_site -threads" ;;
4298 esac 4300 esac
4299 4301
4300 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 4302 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
4301 echo "configure:4302: checking whether the -xildoff compiler flag is required" >&5 4303 echo "configure:4304: checking whether the -xildoff compiler flag is required" >&5
4302 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 4304 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
4303 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 4305 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
4304 then echo "$ac_t""no" 1>&6; 4306 then echo "$ac_t""no" 1>&6;
4305 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 4307 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
4306 fi 4308 fi
4307 else echo "$ac_t""no" 1>&6 4309 else echo "$ac_t""no" 1>&6
4308 fi 4310 fi
4309 4311
4310 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then 4312 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then
4311 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 4313 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
4312 echo "configure:4313: checking for \"-z ignore\" linker flag" >&5 4314 echo "configure:4315: checking for \"-z ignore\" linker flag" >&5
4313 case "`ld -h 2>&1`" in 4315 case "`ld -h 2>&1`" in
4314 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 4316 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
4315 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 4317 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
4316 *) echo "$ac_t""no" 1>&6 ;; 4318 *) echo "$ac_t""no" 1>&6 ;;
4317 esac 4319 esac
4318 fi 4320 fi
4319 4321
4320 4322
4321 echo "checking "for specified window system"" 1>&6 4323 echo "checking "for specified window system"" 1>&6
4322 echo "configure:4323: checking "for specified window system"" >&5 4324 echo "configure:4325: checking "for specified window system"" >&5
4323 4325
4324 if test "$with_x11" != "no"; then 4326 if test "$with_x11" != "no"; then
4325 test "$x_includes $x_libraries" != "NONE NONE" && \ 4327 test "$x_includes $x_libraries" != "NONE NONE" && \
4326 window_system=x11 with_x11=yes 4328 window_system=x11 with_x11=yes
4327 4329
4350 # If we find X, set shell vars x_includes and x_libraries to the 4352 # If we find X, set shell vars x_includes and x_libraries to the
4351 # paths, otherwise set no_x=yes. 4353 # paths, otherwise set no_x=yes.
4352 # Uses ac_ vars as temps to allow command line to override cache and checks. 4354 # Uses ac_ vars as temps to allow command line to override cache and checks.
4353 # --without-x overrides everything else, but does not touch the cache. 4355 # --without-x overrides everything else, but does not touch the cache.
4354 echo $ac_n "checking for X""... $ac_c" 1>&6 4356 echo $ac_n "checking for X""... $ac_c" 1>&6
4355 echo "configure:4356: checking for X" >&5 4357 echo "configure:4358: checking for X" >&5
4356 4358
4357 # Check whether --with-x or --without-x was given. 4359 # Check whether --with-x or --without-x was given.
4358 if test "${with_x+set}" = set; then 4360 if test "${with_x+set}" = set; then
4359 withval="$with_x" 4361 withval="$with_x"
4360 : 4362 :
4410 # Guess where to find include files, by looking for this one X11 .h file. 4412 # Guess where to find include files, by looking for this one X11 .h file.
4411 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 4413 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
4412 4414
4413 # First, try using that file with no special directory specified. 4415 # First, try using that file with no special directory specified.
4414 cat > conftest.$ac_ext <<EOF 4416 cat > conftest.$ac_ext <<EOF
4415 #line 4416 "configure" 4417 #line 4418 "configure"
4416 #include "confdefs.h" 4418 #include "confdefs.h"
4417 #include <$x_direct_test_include> 4419 #include <$x_direct_test_include>
4418 EOF 4420 EOF
4419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4420 { (eval echo configure:4421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4422 { (eval echo configure:4423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4421 ac_err=`grep -v '^ *+' conftest.out` 4423 ac_err=`grep -v '^ *+' conftest.out`
4422 if test -z "$ac_err"; then 4424 if test -z "$ac_err"; then
4423 rm -rf conftest* 4425 rm -rf conftest*
4424 # We can compile using X headers with no special include directory. 4426 # We can compile using X headers with no special include directory.
4425 ac_x_includes= 4427 ac_x_includes=
4484 # See if we find them without any special options. 4486 # See if we find them without any special options.
4485 # Don't add to $LIBS permanently. 4487 # Don't add to $LIBS permanently.
4486 ac_save_LIBS="$LIBS" 4488 ac_save_LIBS="$LIBS"
4487 LIBS="-l$x_direct_test_library $LIBS" 4489 LIBS="-l$x_direct_test_library $LIBS"
4488 cat > conftest.$ac_ext <<EOF 4490 cat > conftest.$ac_ext <<EOF
4489 #line 4490 "configure" 4491 #line 4492 "configure"
4490 #include "confdefs.h" 4492 #include "confdefs.h"
4491 4493
4492 int main() { 4494 int main() {
4493 ${x_direct_test_function}() 4495 ${x_direct_test_function}()
4494 ; return 0; } 4496 ; return 0; }
4495 EOF 4497 EOF
4496 if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4498 if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4497 rm -rf conftest* 4499 rm -rf conftest*
4498 LIBS="$ac_save_LIBS" 4500 LIBS="$ac_save_LIBS"
4499 # We can link X programs with no special library path. 4501 # We can link X programs with no special library path.
4500 ac_x_libraries= 4502 ac_x_libraries=
4501 else 4503 else
4600 # For Solaris; some versions of Sun CC require a space after -R and 4602 # For Solaris; some versions of Sun CC require a space after -R and
4601 # others require no space. Words are not sufficient . . . . 4603 # others require no space. Words are not sufficient . . . .
4602 case "`(uname -sr) 2>/dev/null`" in 4604 case "`(uname -sr) 2>/dev/null`" in
4603 "SunOS 5"*) 4605 "SunOS 5"*)
4604 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 4606 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
4605 echo "configure:4606: checking whether -R must be followed by a space" >&5 4607 echo "configure:4608: checking whether -R must be followed by a space" >&5
4606 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 4608 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
4607 cat > conftest.$ac_ext <<EOF 4609 cat > conftest.$ac_ext <<EOF
4608 #line 4609 "configure" 4610 #line 4611 "configure"
4609 #include "confdefs.h" 4611 #include "confdefs.h"
4610 4612
4611 int main() { 4613 int main() {
4612 4614
4613 ; return 0; } 4615 ; return 0; }
4614 EOF 4616 EOF
4615 if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4617 if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4616 rm -rf conftest* 4618 rm -rf conftest*
4617 ac_R_nospace=yes 4619 ac_R_nospace=yes
4618 else 4620 else
4619 echo "configure: failed program was:" >&5 4621 echo "configure: failed program was:" >&5
4620 cat conftest.$ac_ext >&5 4622 cat conftest.$ac_ext >&5
4626 echo "$ac_t""no" 1>&6 4628 echo "$ac_t""no" 1>&6
4627 X_LIBS="$X_LIBS -R$x_libraries" 4629 X_LIBS="$X_LIBS -R$x_libraries"
4628 else 4630 else
4629 LIBS="$ac_xsave_LIBS -R $x_libraries" 4631 LIBS="$ac_xsave_LIBS -R $x_libraries"
4630 cat > conftest.$ac_ext <<EOF 4632 cat > conftest.$ac_ext <<EOF
4631 #line 4632 "configure" 4633 #line 4634 "configure"
4632 #include "confdefs.h" 4634 #include "confdefs.h"
4633 4635
4634 int main() { 4636 int main() {
4635 4637
4636 ; return 0; } 4638 ; return 0; }
4637 EOF 4639 EOF
4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4640 if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4639 rm -rf conftest* 4641 rm -rf conftest*
4640 ac_R_space=yes 4642 ac_R_space=yes
4641 else 4643 else
4642 echo "configure: failed program was:" >&5 4644 echo "configure: failed program was:" >&5
4643 cat conftest.$ac_ext >&5 4645 cat conftest.$ac_ext >&5
4669 if test "$with_dnet" = "no" ; then 4671 if test "$with_dnet" = "no" ; then
4670 ac_cv_lib_dnet_dnet_ntoa=no 4672 ac_cv_lib_dnet_dnet_ntoa=no
4671 else 4673 else
4672 4674
4673 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4675 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4674 echo "configure:4675: checking for dnet_ntoa in -ldnet" >&5 4676 echo "configure:4677: checking for dnet_ntoa in -ldnet" >&5
4675 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4677 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4676 4678
4677 xe_check_libs=" -ldnet " 4679 xe_check_libs=" -ldnet "
4678 cat > conftest.$ac_ext <<EOF 4680 cat > conftest.$ac_ext <<EOF
4679 #line 4680 "configure" 4681 #line 4682 "configure"
4680 #include "confdefs.h" 4682 #include "confdefs.h"
4681 /* Override any gcc2 internal prototype to avoid an error. */ 4683 /* Override any gcc2 internal prototype to avoid an error. */
4682 /* We use char because int might match the return type of a gcc2 4684 /* We use char because int might match the return type of a gcc2
4683 builtin and then its argument prototype would still apply. */ 4685 builtin and then its argument prototype would still apply. */
4684 char dnet_ntoa(); 4686 char dnet_ntoa();
4685 4687
4686 int main() { 4688 int main() {
4687 dnet_ntoa() 4689 dnet_ntoa()
4688 ; return 0; } 4690 ; return 0; }
4689 EOF 4691 EOF
4690 if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4692 if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4691 rm -rf conftest* 4693 rm -rf conftest*
4692 eval "ac_cv_lib_$ac_lib_var=yes" 4694 eval "ac_cv_lib_$ac_lib_var=yes"
4693 else 4695 else
4694 echo "configure: failed program was:" >&5 4696 echo "configure: failed program was:" >&5
4695 cat conftest.$ac_ext >&5 4697 cat conftest.$ac_ext >&5
4709 fi 4711 fi
4710 4712
4711 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 4713 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4712 4714
4713 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 4715 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
4714 echo "configure:4715: checking for dnet_ntoa in -ldnet_stub" >&5 4716 echo "configure:4717: checking for dnet_ntoa in -ldnet_stub" >&5
4715 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4717 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4716 4718
4717 xe_check_libs=" -ldnet_stub " 4719 xe_check_libs=" -ldnet_stub "
4718 cat > conftest.$ac_ext <<EOF 4720 cat > conftest.$ac_ext <<EOF
4719 #line 4720 "configure" 4721 #line 4722 "configure"
4720 #include "confdefs.h" 4722 #include "confdefs.h"
4721 /* Override any gcc2 internal prototype to avoid an error. */ 4723 /* Override any gcc2 internal prototype to avoid an error. */
4722 /* We use char because int might match the return type of a gcc2 4724 /* We use char because int might match the return type of a gcc2
4723 builtin and then its argument prototype would still apply. */ 4725 builtin and then its argument prototype would still apply. */
4724 char dnet_ntoa(); 4726 char dnet_ntoa();
4725 4727
4726 int main() { 4728 int main() {
4727 dnet_ntoa() 4729 dnet_ntoa()
4728 ; return 0; } 4730 ; return 0; }
4729 EOF 4731 EOF
4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4732 if { (eval echo configure:4733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4731 rm -rf conftest* 4733 rm -rf conftest*
4732 eval "ac_cv_lib_$ac_lib_var=yes" 4734 eval "ac_cv_lib_$ac_lib_var=yes"
4733 else 4735 else
4734 echo "configure: failed program was:" >&5 4736 echo "configure: failed program was:" >&5
4735 cat conftest.$ac_ext >&5 4737 cat conftest.$ac_ext >&5
4754 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 4756 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
4755 # needs -lnsl. 4757 # needs -lnsl.
4756 # The nsl library prevents programs from opening the X display 4758 # The nsl library prevents programs from opening the X display
4757 # on Irix 5.2, according to dickey@clark.net. 4759 # on Irix 5.2, according to dickey@clark.net.
4758 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 4760 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4759 echo "configure:4760: checking for gethostbyname" >&5 4761 echo "configure:4762: checking for gethostbyname" >&5
4760 4762
4761 cat > conftest.$ac_ext <<EOF 4763 cat > conftest.$ac_ext <<EOF
4762 #line 4763 "configure" 4764 #line 4765 "configure"
4763 #include "confdefs.h" 4765 #include "confdefs.h"
4764 /* System header to define __stub macros and hopefully few prototypes, 4766 /* System header to define __stub macros and hopefully few prototypes,
4765 which can conflict with char gethostbyname(); below. */ 4767 which can conflict with char gethostbyname(); below. */
4766 #include <assert.h> 4768 #include <assert.h>
4767 /* Override any gcc2 internal prototype to avoid an error. */ 4769 /* Override any gcc2 internal prototype to avoid an error. */
4780 gethostbyname(); 4782 gethostbyname();
4781 #endif 4783 #endif
4782 4784
4783 ; return 0; } 4785 ; return 0; }
4784 EOF 4786 EOF
4785 if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4786 rm -rf conftest* 4788 rm -rf conftest*
4787 eval "ac_cv_func_gethostbyname=yes" 4789 eval "ac_cv_func_gethostbyname=yes"
4788 else 4790 else
4789 echo "configure: failed program was:" >&5 4791 echo "configure: failed program was:" >&5
4790 cat conftest.$ac_ext >&5 4792 cat conftest.$ac_ext >&5
4801 fi 4803 fi
4802 4804
4803 if test $ac_cv_func_gethostbyname = no; then 4805 if test $ac_cv_func_gethostbyname = no; then
4804 4806
4805 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 4807 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
4806 echo "configure:4807: checking for gethostbyname in -lnsl" >&5 4808 echo "configure:4809: checking for gethostbyname in -lnsl" >&5
4807 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 4809 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
4808 4810
4809 xe_check_libs=" -lnsl " 4811 xe_check_libs=" -lnsl "
4810 cat > conftest.$ac_ext <<EOF 4812 cat > conftest.$ac_ext <<EOF
4811 #line 4812 "configure" 4813 #line 4814 "configure"
4812 #include "confdefs.h" 4814 #include "confdefs.h"
4813 /* Override any gcc2 internal prototype to avoid an error. */ 4815 /* Override any gcc2 internal prototype to avoid an error. */
4814 /* We use char because int might match the return type of a gcc2 4816 /* We use char because int might match the return type of a gcc2
4815 builtin and then its argument prototype would still apply. */ 4817 builtin and then its argument prototype would still apply. */
4816 char gethostbyname(); 4818 char gethostbyname();
4817 4819
4818 int main() { 4820 int main() {
4819 gethostbyname() 4821 gethostbyname()
4820 ; return 0; } 4822 ; return 0; }
4821 EOF 4823 EOF
4822 if { (eval echo configure:4823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4824 if { (eval echo configure:4825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4823 rm -rf conftest* 4825 rm -rf conftest*
4824 eval "ac_cv_lib_$ac_lib_var=yes" 4826 eval "ac_cv_lib_$ac_lib_var=yes"
4825 else 4827 else
4826 echo "configure: failed program was:" >&5 4828 echo "configure: failed program was:" >&5
4827 cat conftest.$ac_ext >&5 4829 cat conftest.$ac_ext >&5
4847 # on later versions), says simon@lia.di.epfl.ch: it contains 4849 # on later versions), says simon@lia.di.epfl.ch: it contains
4848 # gethostby* variants that don't use the nameserver (or something). 4850 # gethostby* variants that don't use the nameserver (or something).
4849 # -lsocket must be given before -lnsl if both are needed. 4851 # -lsocket must be given before -lnsl if both are needed.
4850 # We assume that if connect needs -lnsl, so does gethostbyname. 4852 # We assume that if connect needs -lnsl, so does gethostbyname.
4851 echo $ac_n "checking for connect""... $ac_c" 1>&6 4853 echo $ac_n "checking for connect""... $ac_c" 1>&6
4852 echo "configure:4853: checking for connect" >&5 4854 echo "configure:4855: checking for connect" >&5
4853 4855
4854 cat > conftest.$ac_ext <<EOF 4856 cat > conftest.$ac_ext <<EOF
4855 #line 4856 "configure" 4857 #line 4858 "configure"
4856 #include "confdefs.h" 4858 #include "confdefs.h"
4857 /* System header to define __stub macros and hopefully few prototypes, 4859 /* System header to define __stub macros and hopefully few prototypes,
4858 which can conflict with char connect(); below. */ 4860 which can conflict with char connect(); below. */
4859 #include <assert.h> 4861 #include <assert.h>
4860 /* Override any gcc2 internal prototype to avoid an error. */ 4862 /* Override any gcc2 internal prototype to avoid an error. */
4873 connect(); 4875 connect();
4874 #endif 4876 #endif
4875 4877
4876 ; return 0; } 4878 ; return 0; }
4877 EOF 4879 EOF
4878 if { (eval echo configure:4879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4880 if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4879 rm -rf conftest* 4881 rm -rf conftest*
4880 eval "ac_cv_func_connect=yes" 4882 eval "ac_cv_func_connect=yes"
4881 else 4883 else
4882 echo "configure: failed program was:" >&5 4884 echo "configure: failed program was:" >&5
4883 cat conftest.$ac_ext >&5 4885 cat conftest.$ac_ext >&5
4896 if test $ac_cv_func_connect = no; then 4898 if test $ac_cv_func_connect = no; then
4897 4899
4898 xe_msg_checking="for connect in -lsocket" 4900 xe_msg_checking="for connect in -lsocket"
4899 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 4901 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
4900 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 4902 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
4901 echo "configure:4902: checking "$xe_msg_checking"" >&5 4903 echo "configure:4904: checking "$xe_msg_checking"" >&5
4902 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 4904 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
4903 4905
4904 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 4906 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
4905 cat > conftest.$ac_ext <<EOF 4907 cat > conftest.$ac_ext <<EOF
4906 #line 4907 "configure" 4908 #line 4909 "configure"
4907 #include "confdefs.h" 4909 #include "confdefs.h"
4908 /* Override any gcc2 internal prototype to avoid an error. */ 4910 /* Override any gcc2 internal prototype to avoid an error. */
4909 /* We use char because int might match the return type of a gcc2 4911 /* We use char because int might match the return type of a gcc2
4910 builtin and then its argument prototype would still apply. */ 4912 builtin and then its argument prototype would still apply. */
4911 char connect(); 4913 char connect();
4912 4914
4913 int main() { 4915 int main() {
4914 connect() 4916 connect()
4915 ; return 0; } 4917 ; return 0; }
4916 EOF 4918 EOF
4917 if { (eval echo configure:4918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4919 if { (eval echo configure:4920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4918 rm -rf conftest* 4920 rm -rf conftest*
4919 eval "ac_cv_lib_$ac_lib_var=yes" 4921 eval "ac_cv_lib_$ac_lib_var=yes"
4920 else 4922 else
4921 echo "configure: failed program was:" >&5 4923 echo "configure: failed program was:" >&5
4922 cat conftest.$ac_ext >&5 4924 cat conftest.$ac_ext >&5
4936 4938
4937 fi 4939 fi
4938 4940
4939 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 4941 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
4940 echo $ac_n "checking for remove""... $ac_c" 1>&6 4942 echo $ac_n "checking for remove""... $ac_c" 1>&6
4941 echo "configure:4942: checking for remove" >&5 4943 echo "configure:4944: checking for remove" >&5
4942 4944
4943 cat > conftest.$ac_ext <<EOF 4945 cat > conftest.$ac_ext <<EOF
4944 #line 4945 "configure" 4946 #line 4947 "configure"
4945 #include "confdefs.h" 4947 #include "confdefs.h"
4946 /* System header to define __stub macros and hopefully few prototypes, 4948 /* System header to define __stub macros and hopefully few prototypes,
4947 which can conflict with char remove(); below. */ 4949 which can conflict with char remove(); below. */
4948 #include <assert.h> 4950 #include <assert.h>
4949 /* Override any gcc2 internal prototype to avoid an error. */ 4951 /* Override any gcc2 internal prototype to avoid an error. */
4962 remove(); 4964 remove();
4963 #endif 4965 #endif
4964 4966
4965 ; return 0; } 4967 ; return 0; }
4966 EOF 4968 EOF
4967 if { (eval echo configure:4968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4969 if { (eval echo configure:4970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4968 rm -rf conftest* 4970 rm -rf conftest*
4969 eval "ac_cv_func_remove=yes" 4971 eval "ac_cv_func_remove=yes"
4970 else 4972 else
4971 echo "configure: failed program was:" >&5 4973 echo "configure: failed program was:" >&5
4972 cat conftest.$ac_ext >&5 4974 cat conftest.$ac_ext >&5
4983 fi 4985 fi
4984 4986
4985 if test $ac_cv_func_remove = no; then 4987 if test $ac_cv_func_remove = no; then
4986 4988
4987 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 4989 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
4988 echo "configure:4989: checking for remove in -lposix" >&5 4990 echo "configure:4991: checking for remove in -lposix" >&5
4989 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 4991 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
4990 4992
4991 xe_check_libs=" -lposix " 4993 xe_check_libs=" -lposix "
4992 cat > conftest.$ac_ext <<EOF 4994 cat > conftest.$ac_ext <<EOF
4993 #line 4994 "configure" 4995 #line 4996 "configure"
4994 #include "confdefs.h" 4996 #include "confdefs.h"
4995 /* Override any gcc2 internal prototype to avoid an error. */ 4997 /* Override any gcc2 internal prototype to avoid an error. */
4996 /* We use char because int might match the return type of a gcc2 4998 /* We use char because int might match the return type of a gcc2
4997 builtin and then its argument prototype would still apply. */ 4999 builtin and then its argument prototype would still apply. */
4998 char remove(); 5000 char remove();
4999 5001
5000 int main() { 5002 int main() {
5001 remove() 5003 remove()
5002 ; return 0; } 5004 ; return 0; }
5003 EOF 5005 EOF
5004 if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5006 if { (eval echo configure:5007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5005 rm -rf conftest* 5007 rm -rf conftest*
5006 eval "ac_cv_lib_$ac_lib_var=yes" 5008 eval "ac_cv_lib_$ac_lib_var=yes"
5007 else 5009 else
5008 echo "configure: failed program was:" >&5 5010 echo "configure: failed program was:" >&5
5009 cat conftest.$ac_ext >&5 5011 cat conftest.$ac_ext >&5
5023 5025
5024 fi 5026 fi
5025 5027
5026 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 5028 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5027 echo $ac_n "checking for shmat""... $ac_c" 1>&6 5029 echo $ac_n "checking for shmat""... $ac_c" 1>&6
5028 echo "configure:5029: checking for shmat" >&5 5030 echo "configure:5031: checking for shmat" >&5
5029 5031
5030 cat > conftest.$ac_ext <<EOF 5032 cat > conftest.$ac_ext <<EOF
5031 #line 5032 "configure" 5033 #line 5034 "configure"
5032 #include "confdefs.h" 5034 #include "confdefs.h"
5033 /* System header to define __stub macros and hopefully few prototypes, 5035 /* System header to define __stub macros and hopefully few prototypes,
5034 which can conflict with char shmat(); below. */ 5036 which can conflict with char shmat(); below. */
5035 #include <assert.h> 5037 #include <assert.h>
5036 /* Override any gcc2 internal prototype to avoid an error. */ 5038 /* Override any gcc2 internal prototype to avoid an error. */
5049 shmat(); 5051 shmat();
5050 #endif 5052 #endif
5051 5053
5052 ; return 0; } 5054 ; return 0; }
5053 EOF 5055 EOF
5054 if { (eval echo configure:5055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5056 if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5055 rm -rf conftest* 5057 rm -rf conftest*
5056 eval "ac_cv_func_shmat=yes" 5058 eval "ac_cv_func_shmat=yes"
5057 else 5059 else
5058 echo "configure: failed program was:" >&5 5060 echo "configure: failed program was:" >&5
5059 cat conftest.$ac_ext >&5 5061 cat conftest.$ac_ext >&5
5070 fi 5072 fi
5071 5073
5072 if test $ac_cv_func_shmat = no; then 5074 if test $ac_cv_func_shmat = no; then
5073 5075
5074 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 5076 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
5075 echo "configure:5076: checking for shmat in -lipc" >&5 5077 echo "configure:5078: checking for shmat in -lipc" >&5
5076 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 5078 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
5077 5079
5078 xe_check_libs=" -lipc " 5080 xe_check_libs=" -lipc "
5079 cat > conftest.$ac_ext <<EOF 5081 cat > conftest.$ac_ext <<EOF
5080 #line 5081 "configure" 5082 #line 5083 "configure"
5081 #include "confdefs.h" 5083 #include "confdefs.h"
5082 /* Override any gcc2 internal prototype to avoid an error. */ 5084 /* Override any gcc2 internal prototype to avoid an error. */
5083 /* We use char because int might match the return type of a gcc2 5085 /* We use char because int might match the return type of a gcc2
5084 builtin and then its argument prototype would still apply. */ 5086 builtin and then its argument prototype would still apply. */
5085 char shmat(); 5087 char shmat();
5086 5088
5087 int main() { 5089 int main() {
5088 shmat() 5090 shmat()
5089 ; return 0; } 5091 ; return 0; }
5090 EOF 5092 EOF
5091 if { (eval echo configure:5092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5093 if { (eval echo configure:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5092 rm -rf conftest* 5094 rm -rf conftest*
5093 eval "ac_cv_lib_$ac_lib_var=yes" 5095 eval "ac_cv_lib_$ac_lib_var=yes"
5094 else 5096 else
5095 echo "configure: failed program was:" >&5 5097 echo "configure: failed program was:" >&5
5096 cat conftest.$ac_ext >&5 5098 cat conftest.$ac_ext >&5
5120 # These have to be linked with before -lX11, unlike the other 5122 # These have to be linked with before -lX11, unlike the other
5121 # libraries we check for below, so use a different variable. 5123 # libraries we check for below, so use a different variable.
5122 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 5124 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
5123 5125
5124 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 5126 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
5125 echo "configure:5126: checking for IceConnectionNumber in -lICE" >&5 5127 echo "configure:5128: checking for IceConnectionNumber in -lICE" >&5
5126 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 5128 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
5127 5129
5128 xe_check_libs=" -lICE " 5130 xe_check_libs=" -lICE "
5129 cat > conftest.$ac_ext <<EOF 5131 cat > conftest.$ac_ext <<EOF
5130 #line 5131 "configure" 5132 #line 5133 "configure"
5131 #include "confdefs.h" 5133 #include "confdefs.h"
5132 /* Override any gcc2 internal prototype to avoid an error. */ 5134 /* Override any gcc2 internal prototype to avoid an error. */
5133 /* We use char because int might match the return type of a gcc2 5135 /* We use char because int might match the return type of a gcc2
5134 builtin and then its argument prototype would still apply. */ 5136 builtin and then its argument prototype would still apply. */
5135 char IceConnectionNumber(); 5137 char IceConnectionNumber();
5136 5138
5137 int main() { 5139 int main() {
5138 IceConnectionNumber() 5140 IceConnectionNumber()
5139 ; return 0; } 5141 ; return 0; }
5140 EOF 5142 EOF
5141 if { (eval echo configure:5142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5143 if { (eval echo configure:5144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5142 rm -rf conftest* 5144 rm -rf conftest*
5143 eval "ac_cv_lib_$ac_lib_var=yes" 5145 eval "ac_cv_lib_$ac_lib_var=yes"
5144 else 5146 else
5145 echo "configure: failed program was:" >&5 5147 echo "configure: failed program was:" >&5
5146 cat conftest.$ac_ext >&5 5148 cat conftest.$ac_ext >&5
5303 EOF 5305 EOF
5304 } 5306 }
5305 5307
5306 5308
5307 echo "checking for X defines extracted by xmkmf" 1>&6 5309 echo "checking for X defines extracted by xmkmf" 1>&6
5308 echo "configure:5309: checking for X defines extracted by xmkmf" >&5 5310 echo "configure:5311: checking for X defines extracted by xmkmf" >&5
5309 rm -fr conftestdir 5311 rm -fr conftestdir
5310 if mkdir conftestdir; then 5312 if mkdir conftestdir; then
5311 cd conftestdir 5313 cd conftestdir
5312 cat > Imakefile <<'EOF' 5314 cat > Imakefile <<'EOF'
5313 xetest: 5315 xetest:
5335 done 5337 done
5336 fi 5338 fi
5337 5339
5338 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 5340 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
5339 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 5341 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
5340 echo "configure:5341: checking for X11/Intrinsic.h" >&5 5342 echo "configure:5343: checking for X11/Intrinsic.h" >&5
5341 5343
5342 cat > conftest.$ac_ext <<EOF 5344 cat > conftest.$ac_ext <<EOF
5343 #line 5344 "configure" 5345 #line 5346 "configure"
5344 #include "confdefs.h" 5346 #include "confdefs.h"
5345 #include <X11/Intrinsic.h> 5347 #include <X11/Intrinsic.h>
5346 EOF 5348 EOF
5347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5348 { (eval echo configure:5349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5350 { (eval echo configure:5351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5349 ac_err=`grep -v '^ *+' conftest.out` 5351 ac_err=`grep -v '^ *+' conftest.out`
5350 if test -z "$ac_err"; then 5352 if test -z "$ac_err"; then
5351 rm -rf conftest* 5353 rm -rf conftest*
5352 eval "ac_cv_header_$ac_safe=yes" 5354 eval "ac_cv_header_$ac_safe=yes"
5353 else 5355 else
5367 fi 5369 fi
5368 5370
5369 5371
5370 5372
5371 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 5373 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
5372 echo "configure:5373: checking for XOpenDisplay in -lX11" >&5 5374 echo "configure:5375: checking for XOpenDisplay in -lX11" >&5
5373 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 5375 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
5374 5376
5375 xe_check_libs=" -lX11 " 5377 xe_check_libs=" -lX11 "
5376 cat > conftest.$ac_ext <<EOF 5378 cat > conftest.$ac_ext <<EOF
5377 #line 5378 "configure" 5379 #line 5380 "configure"
5378 #include "confdefs.h" 5380 #include "confdefs.h"
5379 /* Override any gcc2 internal prototype to avoid an error. */ 5381 /* Override any gcc2 internal prototype to avoid an error. */
5380 /* We use char because int might match the return type of a gcc2 5382 /* We use char because int might match the return type of a gcc2
5381 builtin and then its argument prototype would still apply. */ 5383 builtin and then its argument prototype would still apply. */
5382 char XOpenDisplay(); 5384 char XOpenDisplay();
5383 5385
5384 int main() { 5386 int main() {
5385 XOpenDisplay() 5387 XOpenDisplay()
5386 ; return 0; } 5388 ; return 0; }
5387 EOF 5389 EOF
5388 if { (eval echo configure:5389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5390 if { (eval echo configure:5391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5389 rm -rf conftest* 5391 rm -rf conftest*
5390 eval "ac_cv_lib_$ac_lib_var=yes" 5392 eval "ac_cv_lib_$ac_lib_var=yes"
5391 else 5393 else
5392 echo "configure: failed program was:" >&5 5394 echo "configure: failed program was:" >&5
5393 cat conftest.$ac_ext >&5 5395 cat conftest.$ac_ext >&5
5408 if test "$have_lib_x11" != "yes"; then 5410 if test "$have_lib_x11" != "yes"; then
5409 5411
5410 xe_msg_checking="for XGetFontProperty in -lX11" 5412 xe_msg_checking="for XGetFontProperty in -lX11"
5411 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 5413 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
5412 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5414 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5413 echo "configure:5414: checking "$xe_msg_checking"" >&5 5415 echo "configure:5416: checking "$xe_msg_checking"" >&5
5414 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 5416 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
5415 5417
5416 xe_check_libs=" -lX11 -b i486-linuxaout" 5418 xe_check_libs=" -lX11 -b i486-linuxaout"
5417 cat > conftest.$ac_ext <<EOF 5419 cat > conftest.$ac_ext <<EOF
5418 #line 5419 "configure" 5420 #line 5421 "configure"
5419 #include "confdefs.h" 5421 #include "confdefs.h"
5420 /* Override any gcc2 internal prototype to avoid an error. */ 5422 /* Override any gcc2 internal prototype to avoid an error. */
5421 /* We use char because int might match the return type of a gcc2 5423 /* We use char because int might match the return type of a gcc2
5422 builtin and then its argument prototype would still apply. */ 5424 builtin and then its argument prototype would still apply. */
5423 char XGetFontProperty(); 5425 char XGetFontProperty();
5424 5426
5425 int main() { 5427 int main() {
5426 XGetFontProperty() 5428 XGetFontProperty()
5427 ; return 0; } 5429 ; return 0; }
5428 EOF 5430 EOF
5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5431 if { (eval echo configure:5432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5430 rm -rf conftest* 5432 rm -rf conftest*
5431 eval "ac_cv_lib_$ac_lib_var=yes" 5433 eval "ac_cv_lib_$ac_lib_var=yes"
5432 else 5434 else
5433 echo "configure: failed program was:" >&5 5435 echo "configure: failed program was:" >&5
5434 cat conftest.$ac_ext >&5 5436 cat conftest.$ac_ext >&5
5451 libs_x="-lX11" 5453 libs_x="-lX11"
5452 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 5454 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
5453 5455
5454 5456
5455 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 5457 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
5456 echo "configure:5457: checking for XShapeSelectInput in -lXext" >&5 5458 echo "configure:5459: checking for XShapeSelectInput in -lXext" >&5
5457 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 5459 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
5458 5460
5459 xe_check_libs=" -lXext " 5461 xe_check_libs=" -lXext "
5460 cat > conftest.$ac_ext <<EOF 5462 cat > conftest.$ac_ext <<EOF
5461 #line 5462 "configure" 5463 #line 5464 "configure"
5462 #include "confdefs.h" 5464 #include "confdefs.h"
5463 /* Override any gcc2 internal prototype to avoid an error. */ 5465 /* Override any gcc2 internal prototype to avoid an error. */
5464 /* We use char because int might match the return type of a gcc2 5466 /* We use char because int might match the return type of a gcc2
5465 builtin and then its argument prototype would still apply. */ 5467 builtin and then its argument prototype would still apply. */
5466 char XShapeSelectInput(); 5468 char XShapeSelectInput();
5467 5469
5468 int main() { 5470 int main() {
5469 XShapeSelectInput() 5471 XShapeSelectInput()
5470 ; return 0; } 5472 ; return 0; }
5471 EOF 5473 EOF
5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5474 if { (eval echo configure:5475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5473 rm -rf conftest* 5475 rm -rf conftest*
5474 eval "ac_cv_lib_$ac_lib_var=yes" 5476 eval "ac_cv_lib_$ac_lib_var=yes"
5475 else 5477 else
5476 echo "configure: failed program was:" >&5 5478 echo "configure: failed program was:" >&5
5477 cat conftest.$ac_ext >&5 5479 cat conftest.$ac_ext >&5
5490 5492
5491 5493
5492 5494
5493 5495
5494 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 5496 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
5495 echo "configure:5496: checking for XtOpenDisplay in -lXt" >&5 5497 echo "configure:5498: checking for XtOpenDisplay in -lXt" >&5
5496 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 5498 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
5497 5499
5498 xe_check_libs=" -lXt " 5500 xe_check_libs=" -lXt "
5499 cat > conftest.$ac_ext <<EOF 5501 cat > conftest.$ac_ext <<EOF
5500 #line 5501 "configure" 5502 #line 5503 "configure"
5501 #include "confdefs.h" 5503 #include "confdefs.h"
5502 /* Override any gcc2 internal prototype to avoid an error. */ 5504 /* Override any gcc2 internal prototype to avoid an error. */
5503 /* We use char because int might match the return type of a gcc2 5505 /* We use char because int might match the return type of a gcc2
5504 builtin and then its argument prototype would still apply. */ 5506 builtin and then its argument prototype would still apply. */
5505 char XtOpenDisplay(); 5507 char XtOpenDisplay();
5506 5508
5507 int main() { 5509 int main() {
5508 XtOpenDisplay() 5510 XtOpenDisplay()
5509 ; return 0; } 5511 ; return 0; }
5510 EOF 5512 EOF
5511 if { (eval echo configure:5512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5513 if { (eval echo configure:5514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5512 rm -rf conftest* 5514 rm -rf conftest*
5513 eval "ac_cv_lib_$ac_lib_var=yes" 5515 eval "ac_cv_lib_$ac_lib_var=yes"
5514 else 5516 else
5515 echo "configure: failed program was:" >&5 5517 echo "configure: failed program was:" >&5
5516 cat conftest.$ac_ext >&5 5518 cat conftest.$ac_ext >&5
5529 fi 5531 fi
5530 5532
5531 5533
5532 5534
5533 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 5535 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
5534 echo "configure:5535: checking the version of X11 being used" >&5 5536 echo "configure:5537: checking the version of X11 being used" >&5
5535 cat > conftest.$ac_ext <<EOF 5537 cat > conftest.$ac_ext <<EOF
5536 #line 5537 "configure" 5538 #line 5539 "configure"
5537 #include "confdefs.h" 5539 #include "confdefs.h"
5538 #include <X11/Intrinsic.h> 5540 #include <X11/Intrinsic.h>
5539 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 5541 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
5540 EOF 5542 EOF
5541 if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
5542 then 5544 then
5543 ./conftest foobar; x11_release=$? 5545 ./conftest foobar; x11_release=$?
5544 else 5546 else
5545 echo "configure: failed program was:" >&5 5547 echo "configure: failed program was:" >&5
5546 cat conftest.$ac_ext >&5 5548 cat conftest.$ac_ext >&5
5560 5562
5561 for ac_hdr in X11/Xlocale.h 5563 for ac_hdr in X11/Xlocale.h
5562 do 5564 do
5563 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5565 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5564 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5566 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5565 echo "configure:5566: checking for $ac_hdr" >&5 5567 echo "configure:5568: checking for $ac_hdr" >&5
5566 5568
5567 cat > conftest.$ac_ext <<EOF 5569 cat > conftest.$ac_ext <<EOF
5568 #line 5569 "configure" 5570 #line 5571 "configure"
5569 #include "confdefs.h" 5571 #include "confdefs.h"
5570 #include <$ac_hdr> 5572 #include <$ac_hdr>
5571 EOF 5573 EOF
5572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5573 { (eval echo configure:5574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5575 { (eval echo configure:5576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5574 ac_err=`grep -v '^ *+' conftest.out` 5576 ac_err=`grep -v '^ *+' conftest.out`
5575 if test -z "$ac_err"; then 5577 if test -z "$ac_err"; then
5576 rm -rf conftest* 5578 rm -rf conftest*
5577 eval "ac_cv_header_$ac_safe=yes" 5579 eval "ac_cv_header_$ac_safe=yes"
5578 else 5580 else
5599 fi 5601 fi
5600 done 5602 done
5601 5603
5602 5604
5603 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 5605 echo $ac_n "checking for XFree86""... $ac_c" 1>&6
5604 echo "configure:5605: checking for XFree86" >&5 5606 echo "configure:5607: checking for XFree86" >&5
5605 if test -d "/usr/X386/include" -o \ 5607 if test -d "/usr/X386/include" -o \
5606 -f "/etc/XF86Config" -o \ 5608 -f "/etc/XF86Config" -o \
5607 -f "/etc/X11/XF86Config" -o \ 5609 -f "/etc/X11/XF86Config" -o \
5608 -f "/usr/X11R6/lib/X11/XF86Config"; then 5610 -f "/usr/X11R6/lib/X11/XF86Config"; then
5609 echo "$ac_t""yes" 1>&6 5611 echo "$ac_t""yes" 1>&6
5619 echo "$ac_t""no" 1>&6 5621 echo "$ac_t""no" 1>&6
5620 fi 5622 fi
5621 5623
5622 test -z "$with_xmu" && { 5624 test -z "$with_xmu" && {
5623 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 5625 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
5624 echo "configure:5625: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 5626 echo "configure:5627: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
5625 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 5627 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
5626 5628
5627 xe_check_libs=" -lXmu " 5629 xe_check_libs=" -lXmu "
5628 cat > conftest.$ac_ext <<EOF 5630 cat > conftest.$ac_ext <<EOF
5629 #line 5630 "configure" 5631 #line 5632 "configure"
5630 #include "confdefs.h" 5632 #include "confdefs.h"
5631 /* Override any gcc2 internal prototype to avoid an error. */ 5633 /* Override any gcc2 internal prototype to avoid an error. */
5632 /* We use char because int might match the return type of a gcc2 5634 /* We use char because int might match the return type of a gcc2
5633 builtin and then its argument prototype would still apply. */ 5635 builtin and then its argument prototype would still apply. */
5634 char XmuReadBitmapDataFromFile(); 5636 char XmuReadBitmapDataFromFile();
5635 5637
5636 int main() { 5638 int main() {
5637 XmuReadBitmapDataFromFile() 5639 XmuReadBitmapDataFromFile()
5638 ; return 0; } 5640 ; return 0; }
5639 EOF 5641 EOF
5640 if { (eval echo configure:5641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5642 if { (eval echo configure:5643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5641 rm -rf conftest* 5643 rm -rf conftest*
5642 eval "ac_cv_lib_$ac_lib_var=yes" 5644 eval "ac_cv_lib_$ac_lib_var=yes"
5643 else 5645 else
5644 echo "configure: failed program was:" >&5 5646 echo "configure: failed program was:" >&5
5645 cat conftest.$ac_ext >&5 5647 cat conftest.$ac_ext >&5
5674 5676
5675 fi 5677 fi
5676 5678
5677 5679
5678 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 5680 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
5679 echo "configure:5680: checking for main in -lXbsd" >&5 5681 echo "configure:5682: checking for main in -lXbsd" >&5
5680 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 5682 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
5681 5683
5682 xe_check_libs=" -lXbsd " 5684 xe_check_libs=" -lXbsd "
5683 cat > conftest.$ac_ext <<EOF 5685 cat > conftest.$ac_ext <<EOF
5684 #line 5685 "configure" 5686 #line 5687 "configure"
5685 #include "confdefs.h" 5687 #include "confdefs.h"
5686 5688
5687 int main() { 5689 int main() {
5688 main() 5690 main()
5689 ; return 0; } 5691 ; return 0; }
5690 EOF 5692 EOF
5691 if { (eval echo configure:5692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5693 if { (eval echo configure:5694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5692 rm -rf conftest* 5694 rm -rf conftest*
5693 eval "ac_cv_lib_$ac_lib_var=yes" 5695 eval "ac_cv_lib_$ac_lib_var=yes"
5694 else 5696 else
5695 echo "configure: failed program was:" >&5 5697 echo "configure: failed program was:" >&5
5696 cat conftest.$ac_ext >&5 5698 cat conftest.$ac_ext >&5
5723 fi 5725 fi
5724 5726
5725 fi 5727 fi
5726 if test "$with_msw" != "no"; then 5728 if test "$with_msw" != "no"; then
5727 echo "checking for MS-Windows" 1>&6 5729 echo "checking for MS-Windows" 1>&6
5728 echo "configure:5729: checking for MS-Windows" >&5 5730 echo "configure:5731: checking for MS-Windows" >&5
5729 5731
5730 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 5732 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
5731 echo "configure:5732: checking for main in -lgdi32" >&5 5733 echo "configure:5734: checking for main in -lgdi32" >&5
5732 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 5734 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
5733 5735
5734 xe_check_libs=" -lgdi32 " 5736 xe_check_libs=" -lgdi32 "
5735 cat > conftest.$ac_ext <<EOF 5737 cat > conftest.$ac_ext <<EOF
5736 #line 5737 "configure" 5738 #line 5739 "configure"
5737 #include "confdefs.h" 5739 #include "confdefs.h"
5738 5740
5739 int main() { 5741 int main() {
5740 main() 5742 main()
5741 ; return 0; } 5743 ; return 0; }
5742 EOF 5744 EOF
5743 if { (eval echo configure:5744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5745 if { (eval echo configure:5746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5744 rm -rf conftest* 5746 rm -rf conftest*
5745 eval "ac_cv_lib_$ac_lib_var=yes" 5747 eval "ac_cv_lib_$ac_lib_var=yes"
5746 else 5748 else
5747 echo "configure: failed program was:" >&5 5749 echo "configure: failed program was:" >&5
5748 cat conftest.$ac_ext >&5 5750 cat conftest.$ac_ext >&5
5783 fi 5785 fi
5784 test "$with_toolbars" != "no" && with_toolbars=msw \ 5786 test "$with_toolbars" != "no" && with_toolbars=msw \
5785 && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then 5787 && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then
5786 echo " xemacs will be linked with \"toolbar-msw.o\"" 5788 echo " xemacs will be linked with \"toolbar-msw.o\""
5787 fi 5789 fi
5788 with_dialogs=msw 5790 test "$with_dialogs" != "no" && with_dialogs=msw \
5791 && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then
5792 echo " xemacs will be linked with \"dialog-msw.o\""
5793 fi
5789 else 5794 else
5790 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then 5795 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then
5791 echo " xemacs will be linked with \"scrollbar-msw.o\"" 5796 echo " xemacs will be linked with \"scrollbar-msw.o\""
5792 fi 5797 fi
5793 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then 5798 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then
5794 echo " xemacs will be linked with \"menubar-msw.o\"" 5799 echo " xemacs will be linked with \"menubar-msw.o\""
5795 fi 5800 fi
5796 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then 5801 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then
5797 echo " xemacs will be linked with \"toolbar-msw.o\"" 5802 echo " xemacs will be linked with \"toolbar-msw.o\""
5798 fi 5803 fi
5804 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then
5805 echo " xemacs will be linked with \"dialog-msw.o\""
5806 fi
5799 fi 5807 fi
5800 cat > conftest.$ac_ext <<EOF 5808 cat > conftest.$ac_ext <<EOF
5801 #line 5802 "configure" 5809 #line 5810 "configure"
5802 #include "confdefs.h" 5810 #include "confdefs.h"
5803 #include <fcntl.h> 5811 #include <fcntl.h>
5804 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 5812 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
5805 EOF 5813 EOF
5806 if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 5814 if { (eval echo configure:5815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
5807 then 5815 then
5808 { test "$extra_verbose" = "yes" && cat << \EOF 5816 { test "$extra_verbose" = "yes" && cat << \EOF
5809 Defining HAVE_MSG_SELECT 5817 Defining HAVE_MSG_SELECT
5810 EOF 5818 EOF
5811 cat >> confdefs.h <<\EOF 5819 cat >> confdefs.h <<\EOF
5879 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 5887 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
5880 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 5888 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
5881 esac 5889 esac
5882 5890
5883 echo "checking for session-management option" 1>&6 5891 echo "checking for session-management option" 1>&6
5884 echo "configure:5885: checking for session-management option" >&5; 5892 echo "configure:5893: checking for session-management option" >&5;
5885 if test "$with_session" != "no"; then 5893 if test "$with_session" != "no"; then
5886 { test "$extra_verbose" = "yes" && cat << \EOF 5894 { test "$extra_verbose" = "yes" && cat << \EOF
5887 Defining HAVE_SESSION 5895 Defining HAVE_SESSION
5888 EOF 5896 EOF
5889 cat >> confdefs.h <<\EOF 5897 cat >> confdefs.h <<\EOF
5894 fi 5902 fi
5895 5903
5896 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 5904 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
5897 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 5905 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
5898 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 5906 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
5899 echo "configure:5900: checking for X11/Xauth.h" >&5 5907 echo "configure:5908: checking for X11/Xauth.h" >&5
5900 5908
5901 cat > conftest.$ac_ext <<EOF 5909 cat > conftest.$ac_ext <<EOF
5902 #line 5903 "configure" 5910 #line 5911 "configure"
5903 #include "confdefs.h" 5911 #include "confdefs.h"
5904 #include <X11/Xauth.h> 5912 #include <X11/Xauth.h>
5905 EOF 5913 EOF
5906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5907 { (eval echo configure:5908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5915 { (eval echo configure:5916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5908 ac_err=`grep -v '^ *+' conftest.out` 5916 ac_err=`grep -v '^ *+' conftest.out`
5909 if test -z "$ac_err"; then 5917 if test -z "$ac_err"; then
5910 rm -rf conftest* 5918 rm -rf conftest*
5911 eval "ac_cv_header_$ac_safe=yes" 5919 eval "ac_cv_header_$ac_safe=yes"
5912 else 5920 else
5925 with_xauth=no 5933 with_xauth=no
5926 fi 5934 fi
5927 } 5935 }
5928 test -z "$with_xauth" && { 5936 test -z "$with_xauth" && {
5929 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 5937 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
5930 echo "configure:5931: checking for XauGetAuthByAddr in -lXau" >&5 5938 echo "configure:5939: checking for XauGetAuthByAddr in -lXau" >&5
5931 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 5939 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
5932 5940
5933 xe_check_libs=" -lXau " 5941 xe_check_libs=" -lXau "
5934 cat > conftest.$ac_ext <<EOF 5942 cat > conftest.$ac_ext <<EOF
5935 #line 5936 "configure" 5943 #line 5944 "configure"
5936 #include "confdefs.h" 5944 #include "confdefs.h"
5937 /* Override any gcc2 internal prototype to avoid an error. */ 5945 /* Override any gcc2 internal prototype to avoid an error. */
5938 /* We use char because int might match the return type of a gcc2 5946 /* We use char because int might match the return type of a gcc2
5939 builtin and then its argument prototype would still apply. */ 5947 builtin and then its argument prototype would still apply. */
5940 char XauGetAuthByAddr(); 5948 char XauGetAuthByAddr();
5941 5949
5942 int main() { 5950 int main() {
5943 XauGetAuthByAddr() 5951 XauGetAuthByAddr()
5944 ; return 0; } 5952 ; return 0; }
5945 EOF 5953 EOF
5946 if { (eval echo configure:5947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5954 if { (eval echo configure:5955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5947 rm -rf conftest* 5955 rm -rf conftest*
5948 eval "ac_cv_lib_$ac_lib_var=yes" 5956 eval "ac_cv_lib_$ac_lib_var=yes"
5949 else 5957 else
5950 echo "configure: failed program was:" >&5 5958 echo "configure: failed program was:" >&5
5951 cat conftest.$ac_ext >&5 5959 cat conftest.$ac_ext >&5
5980 libs_xauth="$T" 5988 libs_xauth="$T"
5981 5989
5982 fi 5990 fi
5983 5991
5984 5992
5985 test "$window_system" != "x11" && with_offix=no
5986 if test "$with_xmu" != yes -a "$with_x11" = yes; then
5987 echo "configure: warning: No OffiX without real Xmu support" 1>&2
5988 with_offix=no
5989 fi
5990 if test "$with_dragndrop" = no; then
5991 echo "configure: warning: No OffiX without generic Drag'n'Drop support" 1>&2
5992 with_offix=no
5993 fi
5994 test -z "$with_offix" && with_offix=yes
5995 if test "$with_offix" = "yes"; then
5996 { test "$extra_verbose" = "yes" && cat << \EOF
5997 Defining HAVE_OFFIX_DND
5998 EOF
5999 cat >> confdefs.h <<\EOF
6000 #define HAVE_OFFIX_DND 1
6001 EOF
6002 }
6003
6004 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi
6005 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi
6006 fi
6007
6008 5993
6009 5994
6010 if test "$with_tooltalk" != "no" ; then 5995 if test "$with_tooltalk" != "no" ; then
6011 for dir in "" "Tt/" "desktop/" ; do 5996 for dir in "" "Tt/" "desktop/" ; do
6012 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 5997 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
6013 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 5998 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
6014 echo "configure:6015: checking for ${dir}tt_c.h" >&5 5999 echo "configure:6000: checking for ${dir}tt_c.h" >&5
6015 6000
6016 cat > conftest.$ac_ext <<EOF 6001 cat > conftest.$ac_ext <<EOF
6017 #line 6018 "configure" 6002 #line 6003 "configure"
6018 #include "confdefs.h" 6003 #include "confdefs.h"
6019 #include <${dir}tt_c.h> 6004 #include <${dir}tt_c.h>
6020 EOF 6005 EOF
6021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6022 { (eval echo configure:6023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6007 { (eval echo configure:6008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6023 ac_err=`grep -v '^ *+' conftest.out` 6008 ac_err=`grep -v '^ *+' conftest.out`
6024 if test -z "$ac_err"; then 6009 if test -z "$ac_err"; then
6025 rm -rf conftest* 6010 rm -rf conftest*
6026 eval "ac_cv_header_$ac_safe=yes" 6011 eval "ac_cv_header_$ac_safe=yes"
6027 else 6012 else
6053 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 6038 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
6054 6039
6055 xe_msg_checking="for tt_message_create in -ltt" 6040 xe_msg_checking="for tt_message_create in -ltt"
6056 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6041 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6057 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6042 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6058 echo "configure:6059: checking "$xe_msg_checking"" >&5 6043 echo "configure:6044: checking "$xe_msg_checking"" >&5
6059 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 6044 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
6060 6045
6061 xe_check_libs=" -ltt $extra_libs" 6046 xe_check_libs=" -ltt $extra_libs"
6062 cat > conftest.$ac_ext <<EOF 6047 cat > conftest.$ac_ext <<EOF
6063 #line 6064 "configure" 6048 #line 6049 "configure"
6064 #include "confdefs.h" 6049 #include "confdefs.h"
6065 /* Override any gcc2 internal prototype to avoid an error. */ 6050 /* Override any gcc2 internal prototype to avoid an error. */
6066 /* We use char because int might match the return type of a gcc2 6051 /* We use char because int might match the return type of a gcc2
6067 builtin and then its argument prototype would still apply. */ 6052 builtin and then its argument prototype would still apply. */
6068 char tt_message_create(); 6053 char tt_message_create();
6069 6054
6070 int main() { 6055 int main() {
6071 tt_message_create() 6056 tt_message_create()
6072 ; return 0; } 6057 ; return 0; }
6073 EOF 6058 EOF
6074 if { (eval echo configure:6075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6059 if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6075 rm -rf conftest* 6060 rm -rf conftest*
6076 eval "ac_cv_lib_$ac_lib_var=yes" 6061 eval "ac_cv_lib_$ac_lib_var=yes"
6077 else 6062 else
6078 echo "configure: failed program was:" >&5 6063 echo "configure: failed program was:" >&5
6079 cat conftest.$ac_ext >&5 6064 cat conftest.$ac_ext >&5
6126 fi 6111 fi
6127 fi 6112 fi
6128 6113
6129 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 6114 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
6130 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 6115 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
6131 echo "configure:6132: checking for Dt/Dt.h" >&5 6116 echo "configure:6117: checking for Dt/Dt.h" >&5
6132 6117
6133 cat > conftest.$ac_ext <<EOF 6118 cat > conftest.$ac_ext <<EOF
6134 #line 6135 "configure" 6119 #line 6120 "configure"
6135 #include "confdefs.h" 6120 #include "confdefs.h"
6136 #include <Dt/Dt.h> 6121 #include <Dt/Dt.h>
6137 EOF 6122 EOF
6138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6139 { (eval echo configure:6140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6124 { (eval echo configure:6125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6140 ac_err=`grep -v '^ *+' conftest.out` 6125 ac_err=`grep -v '^ *+' conftest.out`
6141 if test -z "$ac_err"; then 6126 if test -z "$ac_err"; then
6142 rm -rf conftest* 6127 rm -rf conftest*
6143 eval "ac_cv_header_$ac_safe=yes" 6128 eval "ac_cv_header_$ac_safe=yes"
6144 else 6129 else
6157 with_cde=no 6142 with_cde=no
6158 fi 6143 fi
6159 } 6144 }
6160 test -z "$with_cde" && { 6145 test -z "$with_cde" && {
6161 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 6146 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
6162 echo "configure:6163: checking for DtDndDragStart in -lDtSvc" >&5 6147 echo "configure:6148: checking for DtDndDragStart in -lDtSvc" >&5
6163 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 6148 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
6164 6149
6165 xe_check_libs=" -lDtSvc " 6150 xe_check_libs=" -lDtSvc "
6166 cat > conftest.$ac_ext <<EOF 6151 cat > conftest.$ac_ext <<EOF
6167 #line 6168 "configure" 6152 #line 6153 "configure"
6168 #include "confdefs.h" 6153 #include "confdefs.h"
6169 /* Override any gcc2 internal prototype to avoid an error. */ 6154 /* Override any gcc2 internal prototype to avoid an error. */
6170 /* We use char because int might match the return type of a gcc2 6155 /* We use char because int might match the return type of a gcc2
6171 builtin and then its argument prototype would still apply. */ 6156 builtin and then its argument prototype would still apply. */
6172 char DtDndDragStart(); 6157 char DtDndDragStart();
6173 6158
6174 int main() { 6159 int main() {
6175 DtDndDragStart() 6160 DtDndDragStart()
6176 ; return 0; } 6161 ; return 0; }
6177 EOF 6162 EOF
6178 if { (eval echo configure:6179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6163 if { (eval echo configure:6164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6179 rm -rf conftest* 6164 rm -rf conftest*
6180 eval "ac_cv_lib_$ac_lib_var=yes" 6165 eval "ac_cv_lib_$ac_lib_var=yes"
6181 else 6166 else
6182 echo "configure: failed program was:" >&5 6167 echo "configure: failed program was:" >&5
6183 cat conftest.$ac_ext >&5 6168 cat conftest.$ac_ext >&5
6214 dragndrop_proto="$dragndrop_proto CDE" && if test "$extra_verbose" = "yes"; then echo " Appending \"CDE\" to \$dragndrop_proto"; fi 6199 dragndrop_proto="$dragndrop_proto CDE" && if test "$extra_verbose" = "yes"; then echo " Appending \"CDE\" to \$dragndrop_proto"; fi
6215 with_tooltalk=yes # CDE requires Tooltalk 6200 with_tooltalk=yes # CDE requires Tooltalk
6216 need_motif=yes # CDE requires Motif 6201 need_motif=yes # CDE requires Motif
6217 fi 6202 fi
6218 6203
6204 test "$window_system" != "x11" && with_offix=no
6205 if test "$with_xmu" != yes -a "$with_x11" = yes; then
6206 echo "configure: warning: No OffiX without real Xmu support" 1>&2
6207 with_offix=no
6208 fi
6209 if test "$with_dragndrop" = no; then
6210 echo "configure: warning: No OffiX without generic Drag'n'Drop support" 1>&2
6211 with_offix=no
6212 fi
6213 if test "$with_cde" = yes; then
6214 echo "configure: warning: CDE already found, disabling OffiX support" 1>&2
6215 with_offix=no
6216 fi
6217 test -z "$with_offix" && with_offix=yes
6218 if test "$with_offix" = "yes"; then
6219 { test "$extra_verbose" = "yes" && cat << \EOF
6220 Defining HAVE_OFFIX_DND
6221 EOF
6222 cat >> confdefs.h <<\EOF
6223 #define HAVE_OFFIX_DND 1
6224 EOF
6225 }
6226
6227 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi
6228 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi
6229 fi
6230
6219 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 6231 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
6220 echo "configure:6221: checking if drag and drop API is needed" >&5 6232 echo "configure:6233: checking if drag and drop API is needed" >&5
6221 if test "$with_dragndrop" != "no" ; then 6233 if test "$with_dragndrop" != "no" ; then
6222 if test -n "$dragndrop_proto" ; then 6234 if test -n "$dragndrop_proto" ; then
6223 with_dragndrop=yes 6235 with_dragndrop=yes
6224 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 6236 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
6225 { test "$extra_verbose" = "yes" && cat << \EOF 6237 { test "$extra_verbose" = "yes" && cat << \EOF
6236 echo "$ac_t""no" 1>&6 6248 echo "$ac_t""no" 1>&6
6237 fi 6249 fi
6238 fi 6250 fi
6239 6251
6240 echo "checking for LDAP" 1>&6 6252 echo "checking for LDAP" 1>&6
6241 echo "configure:6242: checking for LDAP" >&5 6253 echo "configure:6254: checking for LDAP" >&5
6242 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 6254 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
6243 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 6255 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
6244 echo "configure:6245: checking for ldap.h" >&5 6256 echo "configure:6257: checking for ldap.h" >&5
6245 6257
6246 cat > conftest.$ac_ext <<EOF 6258 cat > conftest.$ac_ext <<EOF
6247 #line 6248 "configure" 6259 #line 6260 "configure"
6248 #include "confdefs.h" 6260 #include "confdefs.h"
6249 #include <ldap.h> 6261 #include <ldap.h>
6250 EOF 6262 EOF
6251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6252 { (eval echo configure:6253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6264 { (eval echo configure:6265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6253 ac_err=`grep -v '^ *+' conftest.out` 6265 ac_err=`grep -v '^ *+' conftest.out`
6254 if test -z "$ac_err"; then 6266 if test -z "$ac_err"; then
6255 rm -rf conftest* 6267 rm -rf conftest*
6256 eval "ac_cv_header_$ac_safe=yes" 6268 eval "ac_cv_header_$ac_safe=yes"
6257 else 6269 else
6270 with_ldap=no 6282 with_ldap=no
6271 fi 6283 fi
6272 } 6284 }
6273 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 6285 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
6274 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 6286 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
6275 echo "configure:6276: checking for lber.h" >&5 6287 echo "configure:6288: checking for lber.h" >&5
6276 6288
6277 cat > conftest.$ac_ext <<EOF 6289 cat > conftest.$ac_ext <<EOF
6278 #line 6279 "configure" 6290 #line 6291 "configure"
6279 #include "confdefs.h" 6291 #include "confdefs.h"
6280 #include <lber.h> 6292 #include <lber.h>
6281 EOF 6293 EOF
6282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6283 { (eval echo configure:6284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6295 { (eval echo configure:6296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6284 ac_err=`grep -v '^ *+' conftest.out` 6296 ac_err=`grep -v '^ *+' conftest.out`
6285 if test -z "$ac_err"; then 6297 if test -z "$ac_err"; then
6286 rm -rf conftest* 6298 rm -rf conftest*
6287 eval "ac_cv_header_$ac_safe=yes" 6299 eval "ac_cv_header_$ac_safe=yes"
6288 else 6300 else
6304 if test "$with_ldap" != "no"; then 6316 if test "$with_ldap" != "no"; then
6305 test -z "$with_umich_ldap" && { 6317 test -z "$with_umich_ldap" && {
6306 xe_msg_checking="for ldap_open in -lldap" 6318 xe_msg_checking="for ldap_open in -lldap"
6307 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 6319 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
6308 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6320 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6309 echo "configure:6310: checking "$xe_msg_checking"" >&5 6321 echo "configure:6322: checking "$xe_msg_checking"" >&5
6310 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 6322 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
6311 6323
6312 xe_check_libs=" -lldap -llber" 6324 xe_check_libs=" -lldap -llber"
6313 cat > conftest.$ac_ext <<EOF 6325 cat > conftest.$ac_ext <<EOF
6314 #line 6315 "configure" 6326 #line 6327 "configure"
6315 #include "confdefs.h" 6327 #include "confdefs.h"
6316 /* Override any gcc2 internal prototype to avoid an error. */ 6328 /* Override any gcc2 internal prototype to avoid an error. */
6317 /* We use char because int might match the return type of a gcc2 6329 /* We use char because int might match the return type of a gcc2
6318 builtin and then its argument prototype would still apply. */ 6330 builtin and then its argument prototype would still apply. */
6319 char ldap_open(); 6331 char ldap_open();
6320 6332
6321 int main() { 6333 int main() {
6322 ldap_open() 6334 ldap_open()
6323 ; return 0; } 6335 ; return 0; }
6324 EOF 6336 EOF
6325 if { (eval echo configure:6326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6337 if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6326 rm -rf conftest* 6338 rm -rf conftest*
6327 eval "ac_cv_lib_$ac_lib_var=yes" 6339 eval "ac_cv_lib_$ac_lib_var=yes"
6328 else 6340 else
6329 echo "configure: failed program was:" >&5 6341 echo "configure: failed program was:" >&5
6330 cat conftest.$ac_ext >&5 6342 cat conftest.$ac_ext >&5
6343 fi 6355 fi
6344 6356
6345 } 6357 }
6346 test "$with_umich_ldap" = "no" && { 6358 test "$with_umich_ldap" = "no" && {
6347 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 6359 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6
6348 echo "configure:6349: checking for ldap_set_option in -lldap10" >&5 6360 echo "configure:6361: checking for ldap_set_option in -lldap10" >&5
6349 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` 6361 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'`
6350 6362
6351 xe_check_libs=" -lldap10 " 6363 xe_check_libs=" -lldap10 "
6352 cat > conftest.$ac_ext <<EOF 6364 cat > conftest.$ac_ext <<EOF
6353 #line 6354 "configure" 6365 #line 6366 "configure"
6354 #include "confdefs.h" 6366 #include "confdefs.h"
6355 /* Override any gcc2 internal prototype to avoid an error. */ 6367 /* Override any gcc2 internal prototype to avoid an error. */
6356 /* We use char because int might match the return type of a gcc2 6368 /* We use char because int might match the return type of a gcc2
6357 builtin and then its argument prototype would still apply. */ 6369 builtin and then its argument prototype would still apply. */
6358 char ldap_set_option(); 6370 char ldap_set_option();
6359 6371
6360 int main() { 6372 int main() {
6361 ldap_set_option() 6373 ldap_set_option()
6362 ; return 0; } 6374 ; return 0; }
6363 EOF 6375 EOF
6364 if { (eval echo configure:6365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6376 if { (eval echo configure:6377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6365 rm -rf conftest* 6377 rm -rf conftest*
6366 eval "ac_cv_lib_$ac_lib_var=yes" 6378 eval "ac_cv_lib_$ac_lib_var=yes"
6367 else 6379 else
6368 echo "configure: failed program was:" >&5 6380 echo "configure: failed program was:" >&5
6369 cat conftest.$ac_ext >&5 6381 cat conftest.$ac_ext >&5
6423 fi 6435 fi
6424 6436
6425 6437
6426 if test "$window_system" != "none"; then 6438 if test "$window_system" != "none"; then
6427 echo "checking for graphics libraries" 1>&6 6439 echo "checking for graphics libraries" 1>&6
6428 echo "configure:6429: checking for graphics libraries" >&5 6440 echo "configure:6441: checking for graphics libraries" >&5
6429 6441
6430 if test -z "$with_xpm"; then 6442 if test -z "$with_xpm"; then
6431 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 6443 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
6432 echo "configure:6433: checking for Xpm - no older than 3.4f" >&5 6444 echo "configure:6445: checking for Xpm - no older than 3.4f" >&5
6433 xe_check_libs=-lXpm 6445 xe_check_libs=-lXpm
6434 cat > conftest.$ac_ext <<EOF 6446 cat > conftest.$ac_ext <<EOF
6435 #line 6436 "configure" 6447 #line 6448 "configure"
6436 #include "confdefs.h" 6448 #include "confdefs.h"
6437 #include <X11/xpm.h> 6449 #include <X11/xpm.h>
6438 int main(int c, char **v) { 6450 int main(int c, char **v) {
6439 return c == 1 ? 0 : 6451 return c == 1 ? 0 :
6440 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 6452 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
6441 XpmIncludeVersion < 30406 ? 2 : 0 ;} 6453 XpmIncludeVersion < 30406 ? 2 : 0 ;}
6442 EOF 6454 EOF
6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 6455 if { (eval echo configure:6456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
6444 then 6456 then
6445 ./conftest dummy_arg; xpm_status=$?; 6457 ./conftest dummy_arg; xpm_status=$?;
6446 if test "$?" = "0"; then 6458 if test "$?" = "0"; then
6447 with_xpm=yes; 6459 with_xpm=yes;
6448 else 6460 else
6479 EOF 6491 EOF
6480 } 6492 }
6481 6493
6482 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 6494 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
6483 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 6495 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
6484 echo "configure:6485: checking for \"FOR_MSW\" xpm" >&5 6496 echo "configure:6497: checking for \"FOR_MSW\" xpm" >&5
6485 xe_check_libs=-lXpm 6497 xe_check_libs=-lXpm
6486 cat > conftest.$ac_ext <<EOF 6498 cat > conftest.$ac_ext <<EOF
6487 #line 6488 "configure" 6499 #line 6500 "configure"
6488 #include "confdefs.h" 6500 #include "confdefs.h"
6489 6501
6490 int main() { 6502 int main() {
6491 XpmCreatePixmapFromData() 6503 XpmCreatePixmapFromData()
6492 ; return 0; } 6504 ; return 0; }
6493 EOF 6505 EOF
6494 if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6506 if { (eval echo configure:6507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6495 rm -rf conftest* 6507 rm -rf conftest*
6496 xpm_for_msw=no 6508 xpm_for_msw=no
6497 else 6509 else
6498 echo "configure: failed program was:" >&5 6510 echo "configure: failed program was:" >&5
6499 cat conftest.$ac_ext >&5 6511 cat conftest.$ac_ext >&5
6516 fi 6528 fi
6517 6529
6518 if test "$with_png $with_tiff" != "no no"; then 6530 if test "$with_png $with_tiff" != "no no"; then
6519 6531
6520 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 6532 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
6521 echo "configure:6522: checking for inflate in -lc" >&5 6533 echo "configure:6534: checking for inflate in -lc" >&5
6522 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 6534 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
6523 6535
6524 xe_check_libs=" -lc " 6536 xe_check_libs=" -lc "
6525 cat > conftest.$ac_ext <<EOF 6537 cat > conftest.$ac_ext <<EOF
6526 #line 6527 "configure" 6538 #line 6539 "configure"
6527 #include "confdefs.h" 6539 #include "confdefs.h"
6528 /* Override any gcc2 internal prototype to avoid an error. */ 6540 /* Override any gcc2 internal prototype to avoid an error. */
6529 /* We use char because int might match the return type of a gcc2 6541 /* We use char because int might match the return type of a gcc2
6530 builtin and then its argument prototype would still apply. */ 6542 builtin and then its argument prototype would still apply. */
6531 char inflate(); 6543 char inflate();
6532 6544
6533 int main() { 6545 int main() {
6534 inflate() 6546 inflate()
6535 ; return 0; } 6547 ; return 0; }
6536 EOF 6548 EOF
6537 if { (eval echo configure:6538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6549 if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6538 rm -rf conftest* 6550 rm -rf conftest*
6539 eval "ac_cv_lib_$ac_lib_var=yes" 6551 eval "ac_cv_lib_$ac_lib_var=yes"
6540 else 6552 else
6541 echo "configure: failed program was:" >&5 6553 echo "configure: failed program was:" >&5
6542 cat conftest.$ac_ext >&5 6554 cat conftest.$ac_ext >&5
6551 : 6563 :
6552 else 6564 else
6553 echo "$ac_t""no" 1>&6 6565 echo "$ac_t""no" 1>&6
6554 6566
6555 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 6567 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
6556 echo "configure:6557: checking for inflate in -lz" >&5 6568 echo "configure:6569: checking for inflate in -lz" >&5
6557 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 6569 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
6558 6570
6559 xe_check_libs=" -lz " 6571 xe_check_libs=" -lz "
6560 cat > conftest.$ac_ext <<EOF 6572 cat > conftest.$ac_ext <<EOF
6561 #line 6562 "configure" 6573 #line 6574 "configure"
6562 #include "confdefs.h" 6574 #include "confdefs.h"
6563 /* Override any gcc2 internal prototype to avoid an error. */ 6575 /* Override any gcc2 internal prototype to avoid an error. */
6564 /* We use char because int might match the return type of a gcc2 6576 /* We use char because int might match the return type of a gcc2
6565 builtin and then its argument prototype would still apply. */ 6577 builtin and then its argument prototype would still apply. */
6566 char inflate(); 6578 char inflate();
6567 6579
6568 int main() { 6580 int main() {
6569 inflate() 6581 inflate()
6570 ; return 0; } 6582 ; return 0; }
6571 EOF 6583 EOF
6572 if { (eval echo configure:6573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6584 if { (eval echo configure:6585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6573 rm -rf conftest* 6585 rm -rf conftest*
6574 eval "ac_cv_lib_$ac_lib_var=yes" 6586 eval "ac_cv_lib_$ac_lib_var=yes"
6575 else 6587 else
6576 echo "configure: failed program was:" >&5 6588 echo "configure: failed program was:" >&5
6577 cat conftest.$ac_ext >&5 6589 cat conftest.$ac_ext >&5
6586 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 6598 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
6587 else 6599 else
6588 echo "$ac_t""no" 1>&6 6600 echo "$ac_t""no" 1>&6
6589 6601
6590 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 6602 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
6591 echo "configure:6592: checking for inflate in -lgz" >&5 6603 echo "configure:6604: checking for inflate in -lgz" >&5
6592 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 6604 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
6593 6605
6594 xe_check_libs=" -lgz " 6606 xe_check_libs=" -lgz "
6595 cat > conftest.$ac_ext <<EOF 6607 cat > conftest.$ac_ext <<EOF
6596 #line 6597 "configure" 6608 #line 6609 "configure"
6597 #include "confdefs.h" 6609 #include "confdefs.h"
6598 /* Override any gcc2 internal prototype to avoid an error. */ 6610 /* Override any gcc2 internal prototype to avoid an error. */
6599 /* We use char because int might match the return type of a gcc2 6611 /* We use char because int might match the return type of a gcc2
6600 builtin and then its argument prototype would still apply. */ 6612 builtin and then its argument prototype would still apply. */
6601 char inflate(); 6613 char inflate();
6602 6614
6603 int main() { 6615 int main() {
6604 inflate() 6616 inflate()
6605 ; return 0; } 6617 ; return 0; }
6606 EOF 6618 EOF
6607 if { (eval echo configure:6608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6608 rm -rf conftest* 6620 rm -rf conftest*
6609 eval "ac_cv_lib_$ac_lib_var=yes" 6621 eval "ac_cv_lib_$ac_lib_var=yes"
6610 else 6622 else
6611 echo "configure: failed program was:" >&5 6623 echo "configure: failed program was:" >&5
6612 cat conftest.$ac_ext >&5 6624 cat conftest.$ac_ext >&5
6630 fi 6642 fi
6631 6643
6632 6644
6633 fi 6645 fi
6634 6646
6635 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 6647 echo $ac_n "checking for gifreader""... $ac_c" 1>&6
6636 echo "configure:6637: checking for giflib - no older than 3.1" >&5 6648 echo "configure:6649: checking for gifreader" >&5
6637 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 6649 test -z "$with_gif" && { ac_safe=`echo "gifrlib.h" | sed 'y%./+-%__p_%'`
6638 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 6650 echo $ac_n "checking for gifrlib.h""... $ac_c" 1>&6
6639 echo "configure:6640: checking for gif_lib.h" >&5 6651 echo "configure:6652: checking for gifrlib.h" >&5
6640 6652
6641 cat > conftest.$ac_ext <<EOF 6653 cat > conftest.$ac_ext <<EOF
6642 #line 6643 "configure" 6654 #line 6655 "configure"
6643 #include "confdefs.h" 6655 #include "confdefs.h"
6644 #include <gif_lib.h> 6656 #include <gifrlib.h>
6645 EOF 6657 EOF
6646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6647 { (eval echo configure:6648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6659 { (eval echo configure:6660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6648 ac_err=`grep -v '^ *+' conftest.out` 6660 ac_err=`grep -v '^ *+' conftest.out`
6649 if test -z "$ac_err"; then 6661 if test -z "$ac_err"; then
6650 rm -rf conftest* 6662 rm -rf conftest*
6651 eval "ac_cv_header_$ac_safe=yes" 6663 eval "ac_cv_header_$ac_safe=yes"
6652 else 6664 else
6664 echo "$ac_t""no" 1>&6 6676 echo "$ac_t""no" 1>&6
6665 with_gif=no 6677 with_gif=no
6666 fi 6678 fi
6667 } 6679 }
6668 test -z "$with_gif" && { 6680 test -z "$with_gif" && {
6669 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 6681 echo $ac_n "checking for GetGifError in -lgifreader""... $ac_c" 1>&6
6670 echo "configure:6671: checking for GetGifError in -lgif" >&5 6682 echo "configure:6683: checking for GetGifError in -lgifreader" >&5
6671 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` 6683 ac_lib_var=`echo gifreader'_'GetGifError | sed 'y%./+-%__p_%'`
6672 6684
6673 xe_check_libs=" -lgif " 6685 xe_check_libs=" -lgifreader "
6674 cat > conftest.$ac_ext <<EOF 6686 cat > conftest.$ac_ext <<EOF
6675 #line 6676 "configure" 6687 #line 6688 "configure"
6676 #include "confdefs.h" 6688 #include "confdefs.h"
6677 /* Override any gcc2 internal prototype to avoid an error. */ 6689 /* Override any gcc2 internal prototype to avoid an error. */
6678 /* We use char because int might match the return type of a gcc2 6690 /* We use char because int might match the return type of a gcc2
6679 builtin and then its argument prototype would still apply. */ 6691 builtin and then its argument prototype would still apply. */
6680 char GetGifError(); 6692 char GetGifError();
6681 6693
6682 int main() { 6694 int main() {
6683 GetGifError() 6695 GetGifError()
6684 ; return 0; } 6696 ; return 0; }
6685 EOF 6697 EOF
6686 if { (eval echo configure:6687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6687 rm -rf conftest* 6699 rm -rf conftest*
6688 eval "ac_cv_lib_$ac_lib_var=yes" 6700 eval "ac_cv_lib_$ac_lib_var=yes"
6689 else 6701 else
6690 echo "configure: failed program was:" >&5 6702 echo "configure: failed program was:" >&5
6691 cat conftest.$ac_ext >&5 6703 cat conftest.$ac_ext >&5
6712 cat >> confdefs.h <<\EOF 6724 cat >> confdefs.h <<\EOF
6713 #define HAVE_GIF 1 6725 #define HAVE_GIF 1
6714 EOF 6726 EOF
6715 } 6727 }
6716 6728
6717 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi 6729 libs_x="-lgifreader $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgifreader\" to \$libs_x"; fi
6718 fi 6730 fi
6719 6731
6720 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 6732 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
6721 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 6733 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
6722 echo "configure:6723: checking for jpeglib.h" >&5 6734 echo "configure:6735: checking for jpeglib.h" >&5
6723 6735
6724 cat > conftest.$ac_ext <<EOF 6736 cat > conftest.$ac_ext <<EOF
6725 #line 6726 "configure" 6737 #line 6738 "configure"
6726 #include "confdefs.h" 6738 #include "confdefs.h"
6727 #include <jpeglib.h> 6739 #include <jpeglib.h>
6728 EOF 6740 EOF
6729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6730 { (eval echo configure:6731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6742 { (eval echo configure:6743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6731 ac_err=`grep -v '^ *+' conftest.out` 6743 ac_err=`grep -v '^ *+' conftest.out`
6732 if test -z "$ac_err"; then 6744 if test -z "$ac_err"; then
6733 rm -rf conftest* 6745 rm -rf conftest*
6734 eval "ac_cv_header_$ac_safe=yes" 6746 eval "ac_cv_header_$ac_safe=yes"
6735 else 6747 else
6748 with_jpeg=no 6760 with_jpeg=no
6749 fi 6761 fi
6750 } 6762 }
6751 test -z "$with_jpeg" && { 6763 test -z "$with_jpeg" && {
6752 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 6764 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
6753 echo "configure:6754: checking for jpeg_destroy_decompress in -ljpeg" >&5 6765 echo "configure:6766: checking for jpeg_destroy_decompress in -ljpeg" >&5
6754 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 6766 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
6755 6767
6756 xe_check_libs=" -ljpeg " 6768 xe_check_libs=" -ljpeg "
6757 cat > conftest.$ac_ext <<EOF 6769 cat > conftest.$ac_ext <<EOF
6758 #line 6759 "configure" 6770 #line 6771 "configure"
6759 #include "confdefs.h" 6771 #include "confdefs.h"
6760 /* Override any gcc2 internal prototype to avoid an error. */ 6772 /* Override any gcc2 internal prototype to avoid an error. */
6761 /* We use char because int might match the return type of a gcc2 6773 /* We use char because int might match the return type of a gcc2
6762 builtin and then its argument prototype would still apply. */ 6774 builtin and then its argument prototype would still apply. */
6763 char jpeg_destroy_decompress(); 6775 char jpeg_destroy_decompress();
6764 6776
6765 int main() { 6777 int main() {
6766 jpeg_destroy_decompress() 6778 jpeg_destroy_decompress()
6767 ; return 0; } 6779 ; return 0; }
6768 EOF 6780 EOF
6769 if { (eval echo configure:6770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6781 if { (eval echo configure:6782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6770 rm -rf conftest* 6782 rm -rf conftest*
6771 eval "ac_cv_lib_$ac_lib_var=yes" 6783 eval "ac_cv_lib_$ac_lib_var=yes"
6772 else 6784 else
6773 echo "configure: failed program was:" >&5 6785 echo "configure: failed program was:" >&5
6774 cat conftest.$ac_ext >&5 6786 cat conftest.$ac_ext >&5
6800 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 6812 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
6801 fi 6813 fi
6802 6814
6803 if test -z "$with_png"; then 6815 if test -z "$with_png"; then
6804 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 6816 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6
6805 echo "configure:6806: checking for png.h - no older than 0.96" >&5 6817 echo "configure:6818: checking for png.h - no older than 0.96" >&5
6806 cat > conftest.$ac_ext <<EOF 6818 cat > conftest.$ac_ext <<EOF
6807 #line 6808 "configure" 6819 #line 6820 "configure"
6808 #include "confdefs.h" 6820 #include "confdefs.h"
6809 #include <png.h> 6821 #include <png.h>
6810 #if PNG_LIBPNG_VER >= 96 6822 #if PNG_LIBPNG_VER >= 96
6811 yes 6823 yes
6812 #endif 6824 #endif
6822 fi 6834 fi
6823 rm -f conftest* 6835 rm -f conftest*
6824 6836
6825 fi 6837 fi
6826 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 6838 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
6827 echo "configure:6828: checking for pow" >&5 6839 echo "configure:6840: checking for pow" >&5
6828 6840
6829 cat > conftest.$ac_ext <<EOF 6841 cat > conftest.$ac_ext <<EOF
6830 #line 6831 "configure" 6842 #line 6843 "configure"
6831 #include "confdefs.h" 6843 #include "confdefs.h"
6832 /* System header to define __stub macros and hopefully few prototypes, 6844 /* System header to define __stub macros and hopefully few prototypes,
6833 which can conflict with char pow(); below. */ 6845 which can conflict with char pow(); below. */
6834 #include <assert.h> 6846 #include <assert.h>
6835 /* Override any gcc2 internal prototype to avoid an error. */ 6847 /* Override any gcc2 internal prototype to avoid an error. */
6848 pow(); 6860 pow();
6849 #endif 6861 #endif
6850 6862
6851 ; return 0; } 6863 ; return 0; }
6852 EOF 6864 EOF
6853 if { (eval echo configure:6854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6865 if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6854 rm -rf conftest* 6866 rm -rf conftest*
6855 eval "ac_cv_func_pow=yes" 6867 eval "ac_cv_func_pow=yes"
6856 else 6868 else
6857 echo "configure: failed program was:" >&5 6869 echo "configure: failed program was:" >&5
6858 cat conftest.$ac_ext >&5 6870 cat conftest.$ac_ext >&5
6869 with_png=no 6881 with_png=no
6870 fi 6882 fi
6871 } 6883 }
6872 test -z "$with_png" && { 6884 test -z "$with_png" && {
6873 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 6885 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
6874 echo "configure:6875: checking for png_read_image in -lpng" >&5 6886 echo "configure:6887: checking for png_read_image in -lpng" >&5
6875 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 6887 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
6876 6888
6877 xe_check_libs=" -lpng " 6889 xe_check_libs=" -lpng "
6878 cat > conftest.$ac_ext <<EOF 6890 cat > conftest.$ac_ext <<EOF
6879 #line 6880 "configure" 6891 #line 6892 "configure"
6880 #include "confdefs.h" 6892 #include "confdefs.h"
6881 /* Override any gcc2 internal prototype to avoid an error. */ 6893 /* Override any gcc2 internal prototype to avoid an error. */
6882 /* We use char because int might match the return type of a gcc2 6894 /* We use char because int might match the return type of a gcc2
6883 builtin and then its argument prototype would still apply. */ 6895 builtin and then its argument prototype would still apply. */
6884 char png_read_image(); 6896 char png_read_image();
6885 6897
6886 int main() { 6898 int main() {
6887 png_read_image() 6899 png_read_image()
6888 ; return 0; } 6900 ; return 0; }
6889 EOF 6901 EOF
6890 if { (eval echo configure:6891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6891 rm -rf conftest* 6903 rm -rf conftest*
6892 eval "ac_cv_lib_$ac_lib_var=yes" 6904 eval "ac_cv_lib_$ac_lib_var=yes"
6893 else 6905 else
6894 echo "configure: failed program was:" >&5 6906 echo "configure: failed program was:" >&5
6895 cat conftest.$ac_ext >&5 6907 cat conftest.$ac_ext >&5
6921 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 6933 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
6922 fi 6934 fi
6923 6935
6924 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 6936 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
6925 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 6937 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
6926 echo "configure:6927: checking for tiffio.h" >&5 6938 echo "configure:6939: checking for tiffio.h" >&5
6927 6939
6928 cat > conftest.$ac_ext <<EOF 6940 cat > conftest.$ac_ext <<EOF
6929 #line 6930 "configure" 6941 #line 6942 "configure"
6930 #include "confdefs.h" 6942 #include "confdefs.h"
6931 #include <tiffio.h> 6943 #include <tiffio.h>
6932 EOF 6944 EOF
6933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6934 { (eval echo configure:6935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6946 { (eval echo configure:6947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6935 ac_err=`grep -v '^ *+' conftest.out` 6947 ac_err=`grep -v '^ *+' conftest.out`
6936 if test -z "$ac_err"; then 6948 if test -z "$ac_err"; then
6937 rm -rf conftest* 6949 rm -rf conftest*
6938 eval "ac_cv_header_$ac_safe=yes" 6950 eval "ac_cv_header_$ac_safe=yes"
6939 else 6951 else
6952 with_tiff=no 6964 with_tiff=no
6953 fi 6965 fi
6954 } 6966 }
6955 test -z "$with_tiff" && { 6967 test -z "$with_tiff" && {
6956 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 6968 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
6957 echo "configure:6958: checking for TIFFClientOpen in -ltiff" >&5 6969 echo "configure:6970: checking for TIFFClientOpen in -ltiff" >&5
6958 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 6970 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
6959 6971
6960 xe_check_libs=" -ltiff " 6972 xe_check_libs=" -ltiff "
6961 cat > conftest.$ac_ext <<EOF 6973 cat > conftest.$ac_ext <<EOF
6962 #line 6963 "configure" 6974 #line 6975 "configure"
6963 #include "confdefs.h" 6975 #include "confdefs.h"
6964 /* Override any gcc2 internal prototype to avoid an error. */ 6976 /* Override any gcc2 internal prototype to avoid an error. */
6965 /* We use char because int might match the return type of a gcc2 6977 /* We use char because int might match the return type of a gcc2
6966 builtin and then its argument prototype would still apply. */ 6978 builtin and then its argument prototype would still apply. */
6967 char TIFFClientOpen(); 6979 char TIFFClientOpen();
6968 6980
6969 int main() { 6981 int main() {
6970 TIFFClientOpen() 6982 TIFFClientOpen()
6971 ; return 0; } 6983 ; return 0; }
6972 EOF 6984 EOF
6973 if { (eval echo configure:6974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6985 if { (eval echo configure:6986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6974 rm -rf conftest* 6986 rm -rf conftest*
6975 eval "ac_cv_lib_$ac_lib_var=yes" 6987 eval "ac_cv_lib_$ac_lib_var=yes"
6976 else 6988 else
6977 echo "configure: failed program was:" >&5 6989 echo "configure: failed program was:" >&5
6978 cat conftest.$ac_ext >&5 6990 cat conftest.$ac_ext >&5
7007 7019
7008 7020
7009 if test "$with_x11" = "yes"; then 7021 if test "$with_x11" = "yes"; then
7010 7022
7011 echo "checking for X11 graphics libraries" 1>&6 7023 echo "checking for X11 graphics libraries" 1>&6
7012 echo "configure:7013: checking for X11 graphics libraries" >&5 7024 echo "configure:7025: checking for X11 graphics libraries" >&5
7013 7025
7014 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 7026 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
7015 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 7027 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
7016 echo "configure:7017: checking for compface.h" >&5 7028 echo "configure:7029: checking for compface.h" >&5
7017 7029
7018 cat > conftest.$ac_ext <<EOF 7030 cat > conftest.$ac_ext <<EOF
7019 #line 7020 "configure" 7031 #line 7032 "configure"
7020 #include "confdefs.h" 7032 #include "confdefs.h"
7021 #include <compface.h> 7033 #include <compface.h>
7022 EOF 7034 EOF
7023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7024 { (eval echo configure:7025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7036 { (eval echo configure:7037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7025 ac_err=`grep -v '^ *+' conftest.out` 7037 ac_err=`grep -v '^ *+' conftest.out`
7026 if test -z "$ac_err"; then 7038 if test -z "$ac_err"; then
7027 rm -rf conftest* 7039 rm -rf conftest*
7028 eval "ac_cv_header_$ac_safe=yes" 7040 eval "ac_cv_header_$ac_safe=yes"
7029 else 7041 else
7042 with_xface=no 7054 with_xface=no
7043 fi 7055 fi
7044 } 7056 }
7045 test -z "$with_xface" && { 7057 test -z "$with_xface" && {
7046 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 7058 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
7047 echo "configure:7048: checking for UnGenFace in -lcompface" >&5 7059 echo "configure:7060: checking for UnGenFace in -lcompface" >&5
7048 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 7060 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
7049 7061
7050 xe_check_libs=" -lcompface " 7062 xe_check_libs=" -lcompface "
7051 cat > conftest.$ac_ext <<EOF 7063 cat > conftest.$ac_ext <<EOF
7052 #line 7053 "configure" 7064 #line 7065 "configure"
7053 #include "confdefs.h" 7065 #include "confdefs.h"
7054 /* Override any gcc2 internal prototype to avoid an error. */ 7066 /* Override any gcc2 internal prototype to avoid an error. */
7055 /* We use char because int might match the return type of a gcc2 7067 /* We use char because int might match the return type of a gcc2
7056 builtin and then its argument prototype would still apply. */ 7068 builtin and then its argument prototype would still apply. */
7057 char UnGenFace(); 7069 char UnGenFace();
7058 7070
7059 int main() { 7071 int main() {
7060 UnGenFace() 7072 UnGenFace()
7061 ; return 0; } 7073 ; return 0; }
7062 EOF 7074 EOF
7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7075 if { (eval echo configure:7076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7064 rm -rf conftest* 7076 rm -rf conftest*
7065 eval "ac_cv_lib_$ac_lib_var=yes" 7077 eval "ac_cv_lib_$ac_lib_var=yes"
7066 else 7078 else
7067 echo "configure: failed program was:" >&5 7079 echo "configure: failed program was:" >&5
7068 cat conftest.$ac_ext >&5 7080 cat conftest.$ac_ext >&5
7094 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi 7106 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi
7095 fi 7107 fi
7096 7108
7097 7109
7098 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 7110 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6
7099 echo "configure:7100: checking for XawScrollbarSetThumb in -lXaw" >&5 7111 echo "configure:7112: checking for XawScrollbarSetThumb in -lXaw" >&5
7100 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 7112 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
7101 7113
7102 xe_check_libs=" -lXaw " 7114 xe_check_libs=" -lXaw "
7103 cat > conftest.$ac_ext <<EOF 7115 cat > conftest.$ac_ext <<EOF
7104 #line 7105 "configure" 7116 #line 7117 "configure"
7105 #include "confdefs.h" 7117 #include "confdefs.h"
7106 /* Override any gcc2 internal prototype to avoid an error. */ 7118 /* Override any gcc2 internal prototype to avoid an error. */
7107 /* We use char because int might match the return type of a gcc2 7119 /* We use char because int might match the return type of a gcc2
7108 builtin and then its argument prototype would still apply. */ 7120 builtin and then its argument prototype would still apply. */
7109 char XawScrollbarSetThumb(); 7121 char XawScrollbarSetThumb();
7110 7122
7111 int main() { 7123 int main() {
7112 XawScrollbarSetThumb() 7124 XawScrollbarSetThumb()
7113 ; return 0; } 7125 ; return 0; }
7114 EOF 7126 EOF
7115 if { (eval echo configure:7116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7127 if { (eval echo configure:7128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7116 rm -rf conftest* 7128 rm -rf conftest*
7117 eval "ac_cv_lib_$ac_lib_var=yes" 7129 eval "ac_cv_lib_$ac_lib_var=yes"
7118 else 7130 else
7119 echo "configure: failed program was:" >&5 7131 echo "configure: failed program was:" >&5
7120 cat conftest.$ac_ext >&5 7132 cat conftest.$ac_ext >&5
7134 7146
7135 7147
7136 7148
7137 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 7149 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
7138 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 7150 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
7139 echo "configure:7140: checking for Xm/Xm.h" >&5 7151 echo "configure:7152: checking for Xm/Xm.h" >&5
7140 7152
7141 cat > conftest.$ac_ext <<EOF 7153 cat > conftest.$ac_ext <<EOF
7142 #line 7143 "configure" 7154 #line 7155 "configure"
7143 #include "confdefs.h" 7155 #include "confdefs.h"
7144 #include <Xm/Xm.h> 7156 #include <Xm/Xm.h>
7145 EOF 7157 EOF
7146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7147 { (eval echo configure:7148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7159 { (eval echo configure:7160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7148 ac_err=`grep -v '^ *+' conftest.out` 7160 ac_err=`grep -v '^ *+' conftest.out`
7149 if test -z "$ac_err"; then 7161 if test -z "$ac_err"; then
7150 rm -rf conftest* 7162 rm -rf conftest*
7151 eval "ac_cv_header_$ac_safe=yes" 7163 eval "ac_cv_header_$ac_safe=yes"
7152 else 7164 else
7159 rm -f conftest* 7171 rm -f conftest*
7160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7161 echo "$ac_t""yes" 1>&6 7173 echo "$ac_t""yes" 1>&6
7162 7174
7163 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 7175 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
7164 echo "configure:7165: checking for XmStringFree in -lXm" >&5 7176 echo "configure:7177: checking for XmStringFree in -lXm" >&5
7165 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 7177 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
7166 7178
7167 xe_check_libs=" -lXm " 7179 xe_check_libs=" -lXm "
7168 cat > conftest.$ac_ext <<EOF 7180 cat > conftest.$ac_ext <<EOF
7169 #line 7170 "configure" 7181 #line 7182 "configure"
7170 #include "confdefs.h" 7182 #include "confdefs.h"
7171 /* Override any gcc2 internal prototype to avoid an error. */ 7183 /* Override any gcc2 internal prototype to avoid an error. */
7172 /* We use char because int might match the return type of a gcc2 7184 /* We use char because int might match the return type of a gcc2
7173 builtin and then its argument prototype would still apply. */ 7185 builtin and then its argument prototype would still apply. */
7174 char XmStringFree(); 7186 char XmStringFree();
7175 7187
7176 int main() { 7188 int main() {
7177 XmStringFree() 7189 XmStringFree()
7178 ; return 0; } 7190 ; return 0; }
7179 EOF 7191 EOF
7180 if { (eval echo configure:7181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7192 if { (eval echo configure:7193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7181 rm -rf conftest* 7193 rm -rf conftest*
7182 eval "ac_cv_lib_$ac_lib_var=yes" 7194 eval "ac_cv_lib_$ac_lib_var=yes"
7183 else 7195 else
7184 echo "configure: failed program was:" >&5 7196 echo "configure: failed program was:" >&5
7185 cat conftest.$ac_ext >&5 7197 cat conftest.$ac_ext >&5
7204 fi 7216 fi
7205 7217
7206 7218
7207 if test "$have_motif" = "yes"; then 7219 if test "$have_motif" = "yes"; then
7208 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 7220 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
7209 echo "configure:7210: checking for Lesstif" >&5 7221 echo "configure:7222: checking for Lesstif" >&5
7210 cat > conftest.$ac_ext <<EOF 7222 cat > conftest.$ac_ext <<EOF
7211 #line 7212 "configure" 7223 #line 7224 "configure"
7212 #include "confdefs.h" 7224 #include "confdefs.h"
7213 #include <Xm/Xm.h> 7225 #include <Xm/Xm.h>
7214 #ifdef LESSTIF_VERSION 7226 #ifdef LESSTIF_VERSION
7215 yes 7227 yes
7216 #endif 7228 #endif
7490 fi 7502 fi
7491 fi 7503 fi
7492 7504
7493 if test "$with_mule" = "yes" ; then 7505 if test "$with_mule" = "yes" ; then
7494 echo "checking for Mule-related features" 1>&6 7506 echo "checking for Mule-related features" 1>&6
7495 echo "configure:7496: checking for Mule-related features" >&5 7507 echo "configure:7508: checking for Mule-related features" >&5
7496 { test "$extra_verbose" = "yes" && cat << \EOF 7508 { test "$extra_verbose" = "yes" && cat << \EOF
7497 Defining MULE 7509 Defining MULE
7498 EOF 7510 EOF
7499 cat >> confdefs.h <<\EOF 7511 cat >> confdefs.h <<\EOF
7500 #define MULE 1 7512 #define MULE 1
7515 7527
7516 for ac_hdr in libintl.h 7528 for ac_hdr in libintl.h
7517 do 7529 do
7518 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7519 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7520 echo "configure:7521: checking for $ac_hdr" >&5 7532 echo "configure:7533: checking for $ac_hdr" >&5
7521 7533
7522 cat > conftest.$ac_ext <<EOF 7534 cat > conftest.$ac_ext <<EOF
7523 #line 7524 "configure" 7535 #line 7536 "configure"
7524 #include "confdefs.h" 7536 #include "confdefs.h"
7525 #include <$ac_hdr> 7537 #include <$ac_hdr>
7526 EOF 7538 EOF
7527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7528 { (eval echo configure:7529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7540 { (eval echo configure:7541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7529 ac_err=`grep -v '^ *+' conftest.out` 7541 ac_err=`grep -v '^ *+' conftest.out`
7530 if test -z "$ac_err"; then 7542 if test -z "$ac_err"; then
7531 rm -rf conftest* 7543 rm -rf conftest*
7532 eval "ac_cv_header_$ac_safe=yes" 7544 eval "ac_cv_header_$ac_safe=yes"
7533 else 7545 else
7554 fi 7566 fi
7555 done 7567 done
7556 7568
7557 7569
7558 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 7570 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
7559 echo "configure:7560: checking for strerror in -lintl" >&5 7571 echo "configure:7572: checking for strerror in -lintl" >&5
7560 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 7572 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
7561 7573
7562 xe_check_libs=" -lintl " 7574 xe_check_libs=" -lintl "
7563 cat > conftest.$ac_ext <<EOF 7575 cat > conftest.$ac_ext <<EOF
7564 #line 7565 "configure" 7576 #line 7577 "configure"
7565 #include "confdefs.h" 7577 #include "confdefs.h"
7566 /* Override any gcc2 internal prototype to avoid an error. */ 7578 /* Override any gcc2 internal prototype to avoid an error. */
7567 /* We use char because int might match the return type of a gcc2 7579 /* We use char because int might match the return type of a gcc2
7568 builtin and then its argument prototype would still apply. */ 7580 builtin and then its argument prototype would still apply. */
7569 char strerror(); 7581 char strerror();
7570 7582
7571 int main() { 7583 int main() {
7572 strerror() 7584 strerror()
7573 ; return 0; } 7585 ; return 0; }
7574 EOF 7586 EOF
7575 if { (eval echo configure:7576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7587 if { (eval echo configure:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7576 rm -rf conftest* 7588 rm -rf conftest*
7577 eval "ac_cv_lib_$ac_lib_var=yes" 7589 eval "ac_cv_lib_$ac_lib_var=yes"
7578 else 7590 else
7579 echo "configure: failed program was:" >&5 7591 echo "configure: failed program was:" >&5
7580 cat conftest.$ac_ext >&5 7592 cat conftest.$ac_ext >&5
7603 fi 7615 fi
7604 7616
7605 7617
7606 7618
7607 echo "checking for Mule input methods" 1>&6 7619 echo "checking for Mule input methods" 1>&6
7608 echo "configure:7609: checking for Mule input methods" >&5 7620 echo "configure:7621: checking for Mule input methods" >&5
7609 case "$with_xim" in "" | "yes" ) 7621 case "$with_xim" in "" | "yes" )
7610 echo "checking for XIM" 1>&6 7622 echo "checking for XIM" 1>&6
7611 echo "configure:7612: checking for XIM" >&5 7623 echo "configure:7624: checking for XIM" >&5
7612 if test "$have_lesstif" = "yes"; then with_xim=xlib 7624 if test "$have_lesstif" = "yes"; then with_xim=xlib
7613 else 7625 else
7614 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 7626 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
7615 echo "configure:7616: checking for XmImMbLookupString in -lXm" >&5 7627 echo "configure:7628: checking for XmImMbLookupString in -lXm" >&5
7616 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 7628 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
7617 7629
7618 xe_check_libs=" -lXm " 7630 xe_check_libs=" -lXm "
7619 cat > conftest.$ac_ext <<EOF 7631 cat > conftest.$ac_ext <<EOF
7620 #line 7621 "configure" 7632 #line 7633 "configure"
7621 #include "confdefs.h" 7633 #include "confdefs.h"
7622 /* Override any gcc2 internal prototype to avoid an error. */ 7634 /* Override any gcc2 internal prototype to avoid an error. */
7623 /* We use char because int might match the return type of a gcc2 7635 /* We use char because int might match the return type of a gcc2
7624 builtin and then its argument prototype would still apply. */ 7636 builtin and then its argument prototype would still apply. */
7625 char XmImMbLookupString(); 7637 char XmImMbLookupString();
7626 7638
7627 int main() { 7639 int main() {
7628 XmImMbLookupString() 7640 XmImMbLookupString()
7629 ; return 0; } 7641 ; return 0; }
7630 EOF 7642 EOF
7631 if { (eval echo configure:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7643 if { (eval echo configure:7644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7632 rm -rf conftest* 7644 rm -rf conftest*
7633 eval "ac_cv_lib_$ac_lib_var=yes" 7645 eval "ac_cv_lib_$ac_lib_var=yes"
7634 else 7646 else
7635 echo "configure: failed program was:" >&5 7647 echo "configure: failed program was:" >&5
7636 cat conftest.$ac_ext >&5 7648 cat conftest.$ac_ext >&5
7692 fi 7704 fi
7693 fi 7705 fi
7694 7706
7695 if test "$with_xfs" = "yes" ; then 7707 if test "$with_xfs" = "yes" ; then
7696 echo "checking for XFontSet" 1>&6 7708 echo "checking for XFontSet" 1>&6
7697 echo "configure:7698: checking for XFontSet" >&5 7709 echo "configure:7710: checking for XFontSet" >&5
7698 7710
7699 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 7711 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
7700 echo "configure:7701: checking for XmbDrawString in -lX11" >&5 7712 echo "configure:7713: checking for XmbDrawString in -lX11" >&5
7701 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 7713 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
7702 7714
7703 xe_check_libs=" -lX11 " 7715 xe_check_libs=" -lX11 "
7704 cat > conftest.$ac_ext <<EOF 7716 cat > conftest.$ac_ext <<EOF
7705 #line 7706 "configure" 7717 #line 7718 "configure"
7706 #include "confdefs.h" 7718 #include "confdefs.h"
7707 /* Override any gcc2 internal prototype to avoid an error. */ 7719 /* Override any gcc2 internal prototype to avoid an error. */
7708 /* We use char because int might match the return type of a gcc2 7720 /* We use char because int might match the return type of a gcc2
7709 builtin and then its argument prototype would still apply. */ 7721 builtin and then its argument prototype would still apply. */
7710 char XmbDrawString(); 7722 char XmbDrawString();
7711 7723
7712 int main() { 7724 int main() {
7713 XmbDrawString() 7725 XmbDrawString()
7714 ; return 0; } 7726 ; return 0; }
7715 EOF 7727 EOF
7716 if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7728 if { (eval echo configure:7729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7717 rm -rf conftest* 7729 rm -rf conftest*
7718 eval "ac_cv_lib_$ac_lib_var=yes" 7730 eval "ac_cv_lib_$ac_lib_var=yes"
7719 else 7731 else
7720 echo "configure: failed program was:" >&5 7732 echo "configure: failed program was:" >&5
7721 cat conftest.$ac_ext >&5 7733 cat conftest.$ac_ext >&5
7751 fi 7763 fi
7752 fi 7764 fi
7753 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 7765 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
7754 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 7766 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
7755 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 7767 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
7756 echo "configure:7757: checking for wnn/jllib.h" >&5 7768 echo "configure:7769: checking for wnn/jllib.h" >&5
7757 7769
7758 cat > conftest.$ac_ext <<EOF 7770 cat > conftest.$ac_ext <<EOF
7759 #line 7760 "configure" 7771 #line 7772 "configure"
7760 #include "confdefs.h" 7772 #include "confdefs.h"
7761 #include <wnn/jllib.h> 7773 #include <wnn/jllib.h>
7762 EOF 7774 EOF
7763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7764 { (eval echo configure:7765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7776 { (eval echo configure:7777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7765 ac_err=`grep -v '^ *+' conftest.out` 7777 ac_err=`grep -v '^ *+' conftest.out`
7766 if test -z "$ac_err"; then 7778 if test -z "$ac_err"; then
7767 rm -rf conftest* 7779 rm -rf conftest*
7768 eval "ac_cv_header_$ac_safe=yes" 7780 eval "ac_cv_header_$ac_safe=yes"
7769 else 7781 else
7784 } 7796 }
7785 if test "$with_wnn" != "no"; then 7797 if test "$with_wnn" != "no"; then
7786 for ac_func in crypt 7798 for ac_func in crypt
7787 do 7799 do
7788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7789 echo "configure:7790: checking for $ac_func" >&5 7801 echo "configure:7802: checking for $ac_func" >&5
7790 7802
7791 cat > conftest.$ac_ext <<EOF 7803 cat > conftest.$ac_ext <<EOF
7792 #line 7793 "configure" 7804 #line 7805 "configure"
7793 #include "confdefs.h" 7805 #include "confdefs.h"
7794 /* System header to define __stub macros and hopefully few prototypes, 7806 /* System header to define __stub macros and hopefully few prototypes,
7795 which can conflict with char $ac_func(); below. */ 7807 which can conflict with char $ac_func(); below. */
7796 #include <assert.h> 7808 #include <assert.h>
7797 /* Override any gcc2 internal prototype to avoid an error. */ 7809 /* Override any gcc2 internal prototype to avoid an error. */
7810 $ac_func(); 7822 $ac_func();
7811 #endif 7823 #endif
7812 7824
7813 ; return 0; } 7825 ; return 0; }
7814 EOF 7826 EOF
7815 if { (eval echo configure:7816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7827 if { (eval echo configure:7828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7816 rm -rf conftest* 7828 rm -rf conftest*
7817 eval "ac_cv_func_$ac_func=yes" 7829 eval "ac_cv_func_$ac_func=yes"
7818 else 7830 else
7819 echo "configure: failed program was:" >&5 7831 echo "configure: failed program was:" >&5
7820 cat conftest.$ac_ext >&5 7832 cat conftest.$ac_ext >&5
7839 fi 7851 fi
7840 done 7852 done
7841 7853
7842 test "$ac_cv_func_crypt" != "yes" && { 7854 test "$ac_cv_func_crypt" != "yes" && {
7843 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 7855 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
7844 echo "configure:7845: checking for crypt in -lcrypt" >&5 7856 echo "configure:7857: checking for crypt in -lcrypt" >&5
7845 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 7857 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
7846 7858
7847 xe_check_libs=" -lcrypt " 7859 xe_check_libs=" -lcrypt "
7848 cat > conftest.$ac_ext <<EOF 7860 cat > conftest.$ac_ext <<EOF
7849 #line 7850 "configure" 7861 #line 7862 "configure"
7850 #include "confdefs.h" 7862 #include "confdefs.h"
7851 /* Override any gcc2 internal prototype to avoid an error. */ 7863 /* Override any gcc2 internal prototype to avoid an error. */
7852 /* We use char because int might match the return type of a gcc2 7864 /* We use char because int might match the return type of a gcc2
7853 builtin and then its argument prototype would still apply. */ 7865 builtin and then its argument prototype would still apply. */
7854 char crypt(); 7866 char crypt();
7855 7867
7856 int main() { 7868 int main() {
7857 crypt() 7869 crypt()
7858 ; return 0; } 7870 ; return 0; }
7859 EOF 7871 EOF
7860 if { (eval echo configure:7861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7872 if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7861 rm -rf conftest* 7873 rm -rf conftest*
7862 eval "ac_cv_lib_$ac_lib_var=yes" 7874 eval "ac_cv_lib_$ac_lib_var=yes"
7863 else 7875 else
7864 echo "configure: failed program was:" >&5 7876 echo "configure: failed program was:" >&5
7865 cat conftest.$ac_ext >&5 7877 cat conftest.$ac_ext >&5
7889 7901
7890 } 7902 }
7891 fi 7903 fi
7892 test -z "$with_wnn" && { 7904 test -z "$with_wnn" && {
7893 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 7905 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
7894 echo "configure:7895: checking for jl_dic_list_e in -lwnn" >&5 7906 echo "configure:7907: checking for jl_dic_list_e in -lwnn" >&5
7895 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 7907 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
7896 7908
7897 xe_check_libs=" -lwnn " 7909 xe_check_libs=" -lwnn "
7898 cat > conftest.$ac_ext <<EOF 7910 cat > conftest.$ac_ext <<EOF
7899 #line 7900 "configure" 7911 #line 7912 "configure"
7900 #include "confdefs.h" 7912 #include "confdefs.h"
7901 /* Override any gcc2 internal prototype to avoid an error. */ 7913 /* Override any gcc2 internal prototype to avoid an error. */
7902 /* We use char because int might match the return type of a gcc2 7914 /* We use char because int might match the return type of a gcc2
7903 builtin and then its argument prototype would still apply. */ 7915 builtin and then its argument prototype would still apply. */
7904 char jl_dic_list_e(); 7916 char jl_dic_list_e();
7905 7917
7906 int main() { 7918 int main() {
7907 jl_dic_list_e() 7919 jl_dic_list_e()
7908 ; return 0; } 7920 ; return 0; }
7909 EOF 7921 EOF
7910 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7922 if { (eval echo configure:7923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7911 rm -rf conftest* 7923 rm -rf conftest*
7912 eval "ac_cv_lib_$ac_lib_var=yes" 7924 eval "ac_cv_lib_$ac_lib_var=yes"
7913 else 7925 else
7914 echo "configure: failed program was:" >&5 7926 echo "configure: failed program was:" >&5
7915 cat conftest.$ac_ext >&5 7927 cat conftest.$ac_ext >&5
7943 echo " xemacs will be linked with \"mule-wnnfns.o\"" 7955 echo " xemacs will be linked with \"mule-wnnfns.o\""
7944 fi 7956 fi
7945 if test "$with_wnn6" != "no"; then 7957 if test "$with_wnn6" != "no"; then
7946 7958
7947 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 7959 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6
7948 echo "configure:7949: checking for jl_fi_dic_list in -lwnn" >&5 7960 echo "configure:7961: checking for jl_fi_dic_list in -lwnn" >&5
7949 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 7961 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
7950 7962
7951 xe_check_libs=" -lwnn " 7963 xe_check_libs=" -lwnn "
7952 cat > conftest.$ac_ext <<EOF 7964 cat > conftest.$ac_ext <<EOF
7953 #line 7954 "configure" 7965 #line 7966 "configure"
7954 #include "confdefs.h" 7966 #include "confdefs.h"
7955 /* Override any gcc2 internal prototype to avoid an error. */ 7967 /* Override any gcc2 internal prototype to avoid an error. */
7956 /* We use char because int might match the return type of a gcc2 7968 /* We use char because int might match the return type of a gcc2
7957 builtin and then its argument prototype would still apply. */ 7969 builtin and then its argument prototype would still apply. */
7958 char jl_fi_dic_list(); 7970 char jl_fi_dic_list();
7959 7971
7960 int main() { 7972 int main() {
7961 jl_fi_dic_list() 7973 jl_fi_dic_list()
7962 ; return 0; } 7974 ; return 0; }
7963 EOF 7975 EOF
7964 if { (eval echo configure:7965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7976 if { (eval echo configure:7977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7965 rm -rf conftest* 7977 rm -rf conftest*
7966 eval "ac_cv_lib_$ac_lib_var=yes" 7978 eval "ac_cv_lib_$ac_lib_var=yes"
7967 else 7979 else
7968 echo "configure: failed program was:" >&5 7980 echo "configure: failed program was:" >&5
7969 cat conftest.$ac_ext >&5 7981 cat conftest.$ac_ext >&5
7994 8006
7995 canna_includes_found=no 8007 canna_includes_found=no
7996 if test "$with_canna" != "no"; then 8008 if test "$with_canna" != "no"; then
7997 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 8009 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
7998 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 8010 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
7999 echo "configure:8000: checking for canna/jrkanji.h" >&5 8011 echo "configure:8012: checking for canna/jrkanji.h" >&5
8000 8012
8001 cat > conftest.$ac_ext <<EOF 8013 cat > conftest.$ac_ext <<EOF
8002 #line 8003 "configure" 8014 #line 8015 "configure"
8003 #include "confdefs.h" 8015 #include "confdefs.h"
8004 #include <canna/jrkanji.h> 8016 #include <canna/jrkanji.h>
8005 EOF 8017 EOF
8006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8007 { (eval echo configure:8008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8019 { (eval echo configure:8020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8008 ac_err=`grep -v '^ *+' conftest.out` 8020 ac_err=`grep -v '^ *+' conftest.out`
8009 if test -z "$ac_err"; then 8021 if test -z "$ac_err"; then
8010 rm -rf conftest* 8022 rm -rf conftest*
8011 eval "ac_cv_header_$ac_safe=yes" 8023 eval "ac_cv_header_$ac_safe=yes"
8012 else 8024 else
8029 -d "/usr/local/canna/include"; then 8041 -d "/usr/local/canna/include"; then
8030 save_c_switch_site="$c_switch_site" 8042 save_c_switch_site="$c_switch_site"
8031 c_switch_site="$c_switch_site -I/usr/local/canna/include" 8043 c_switch_site="$c_switch_site -I/usr/local/canna/include"
8032 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 8044 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
8033 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 8045 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
8034 echo "configure:8035: checking for canna/jrkanji.h" >&5 8046 echo "configure:8047: checking for canna/jrkanji.h" >&5
8035 8047
8036 cat > conftest.$ac_ext <<EOF 8048 cat > conftest.$ac_ext <<EOF
8037 #line 8038 "configure" 8049 #line 8050 "configure"
8038 #include "confdefs.h" 8050 #include "confdefs.h"
8039 #include <canna/jrkanji.h> 8051 #include <canna/jrkanji.h>
8040 EOF 8052 EOF
8041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8042 { (eval echo configure:8043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8054 { (eval echo configure:8055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8043 ac_err=`grep -v '^ *+' conftest.out` 8055 ac_err=`grep -v '^ *+' conftest.out`
8044 if test -z "$ac_err"; then 8056 if test -z "$ac_err"; then
8045 rm -rf conftest* 8057 rm -rf conftest*
8046 eval "ac_cv_header_$ac_safe=yes" 8058 eval "ac_cv_header_$ac_safe=yes"
8047 else 8059 else
8065 fi 8077 fi
8066 fi 8078 fi
8067 8079
8068 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 8080 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
8069 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 8081 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
8070 echo "configure:8071: checking for canna/RK.h" >&5 8082 echo "configure:8083: checking for canna/RK.h" >&5
8071 8083
8072 cat > conftest.$ac_ext <<EOF 8084 cat > conftest.$ac_ext <<EOF
8073 #line 8074 "configure" 8085 #line 8086 "configure"
8074 #include "confdefs.h" 8086 #include "confdefs.h"
8075 #include <canna/RK.h> 8087 #include <canna/RK.h>
8076 EOF 8088 EOF
8077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8078 { (eval echo configure:8079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8090 { (eval echo configure:8091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8079 ac_err=`grep -v '^ *+' conftest.out` 8091 ac_err=`grep -v '^ *+' conftest.out`
8080 if test -z "$ac_err"; then 8092 if test -z "$ac_err"; then
8081 rm -rf conftest* 8093 rm -rf conftest*
8082 eval "ac_cv_header_$ac_safe=yes" 8094 eval "ac_cv_header_$ac_safe=yes"
8083 else 8095 else
8096 with_canna=no 8108 with_canna=no
8097 fi 8109 fi
8098 } 8110 }
8099 test -z "$with_canna" && { 8111 test -z "$with_canna" && {
8100 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 8112 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
8101 echo "configure:8102: checking for RkBgnBun in -lRKC" >&5 8113 echo "configure:8114: checking for RkBgnBun in -lRKC" >&5
8102 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 8114 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
8103 8115
8104 xe_check_libs=" -lRKC " 8116 xe_check_libs=" -lRKC "
8105 cat > conftest.$ac_ext <<EOF 8117 cat > conftest.$ac_ext <<EOF
8106 #line 8107 "configure" 8118 #line 8119 "configure"
8107 #include "confdefs.h" 8119 #include "confdefs.h"
8108 /* Override any gcc2 internal prototype to avoid an error. */ 8120 /* Override any gcc2 internal prototype to avoid an error. */
8109 /* We use char because int might match the return type of a gcc2 8121 /* We use char because int might match the return type of a gcc2
8110 builtin and then its argument prototype would still apply. */ 8122 builtin and then its argument prototype would still apply. */
8111 char RkBgnBun(); 8123 char RkBgnBun();
8112 8124
8113 int main() { 8125 int main() {
8114 RkBgnBun() 8126 RkBgnBun()
8115 ; return 0; } 8127 ; return 0; }
8116 EOF 8128 EOF
8117 if { (eval echo configure:8118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8129 if { (eval echo configure:8130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8118 rm -rf conftest* 8130 rm -rf conftest*
8119 eval "ac_cv_lib_$ac_lib_var=yes" 8131 eval "ac_cv_lib_$ac_lib_var=yes"
8120 else 8132 else
8121 echo "configure: failed program was:" >&5 8133 echo "configure: failed program was:" >&5
8122 cat conftest.$ac_ext >&5 8134 cat conftest.$ac_ext >&5
8135 fi 8147 fi
8136 8148
8137 } 8149 }
8138 test -z "$with_canna" && { 8150 test -z "$with_canna" && {
8139 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 8151 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
8140 echo "configure:8141: checking for jrKanjiControl in -lcanna" >&5 8152 echo "configure:8153: checking for jrKanjiControl in -lcanna" >&5
8141 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 8153 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
8142 8154
8143 xe_check_libs=" -lcanna " 8155 xe_check_libs=" -lcanna "
8144 cat > conftest.$ac_ext <<EOF 8156 cat > conftest.$ac_ext <<EOF
8145 #line 8146 "configure" 8157 #line 8158 "configure"
8146 #include "confdefs.h" 8158 #include "confdefs.h"
8147 /* Override any gcc2 internal prototype to avoid an error. */ 8159 /* Override any gcc2 internal prototype to avoid an error. */
8148 /* We use char because int might match the return type of a gcc2 8160 /* We use char because int might match the return type of a gcc2
8149 builtin and then its argument prototype would still apply. */ 8161 builtin and then its argument prototype would still apply. */
8150 char jrKanjiControl(); 8162 char jrKanjiControl();
8151 8163
8152 int main() { 8164 int main() {
8153 jrKanjiControl() 8165 jrKanjiControl()
8154 ; return 0; } 8166 ; return 0; }
8155 EOF 8167 EOF
8156 if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8168 if { (eval echo configure:8169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8157 rm -rf conftest* 8169 rm -rf conftest*
8158 eval "ac_cv_lib_$ac_lib_var=yes" 8170 eval "ac_cv_lib_$ac_lib_var=yes"
8159 else 8171 else
8160 echo "configure: failed program was:" >&5 8172 echo "configure: failed program was:" >&5
8161 cat conftest.$ac_ext >&5 8173 cat conftest.$ac_ext >&5
8200 8212
8201 if test "$need_motif" = "yes" ; then 8213 if test "$need_motif" = "yes" ; then
8202 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 8214 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
8203 8215
8204 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 8216 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
8205 echo "configure:8206: checking for layout_object_getvalue in -li18n" >&5 8217 echo "configure:8218: checking for layout_object_getvalue in -li18n" >&5
8206 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 8218 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
8207 8219
8208 xe_check_libs=" -li18n " 8220 xe_check_libs=" -li18n "
8209 cat > conftest.$ac_ext <<EOF 8221 cat > conftest.$ac_ext <<EOF
8210 #line 8211 "configure" 8222 #line 8223 "configure"
8211 #include "confdefs.h" 8223 #include "confdefs.h"
8212 /* Override any gcc2 internal prototype to avoid an error. */ 8224 /* Override any gcc2 internal prototype to avoid an error. */
8213 /* We use char because int might match the return type of a gcc2 8225 /* We use char because int might match the return type of a gcc2
8214 builtin and then its argument prototype would still apply. */ 8226 builtin and then its argument prototype would still apply. */
8215 char layout_object_getvalue(); 8227 char layout_object_getvalue();
8216 8228
8217 int main() { 8229 int main() {
8218 layout_object_getvalue() 8230 layout_object_getvalue()
8219 ; return 0; } 8231 ; return 0; }
8220 EOF 8232 EOF
8221 if { (eval echo configure:8222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8222 rm -rf conftest* 8234 rm -rf conftest*
8223 eval "ac_cv_lib_$ac_lib_var=yes" 8235 eval "ac_cv_lib_$ac_lib_var=yes"
8224 else 8236 else
8225 echo "configure: failed program was:" >&5 8237 echo "configure: failed program was:" >&5
8226 cat conftest.$ac_ext >&5 8238 cat conftest.$ac_ext >&5
8302 fi 8314 fi
8303 8315
8304 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf 8316 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf
8305 do 8317 do
8306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8307 echo "configure:8308: checking for $ac_func" >&5 8319 echo "configure:8320: checking for $ac_func" >&5
8308 8320
8309 cat > conftest.$ac_ext <<EOF 8321 cat > conftest.$ac_ext <<EOF
8310 #line 8311 "configure" 8322 #line 8323 "configure"
8311 #include "confdefs.h" 8323 #include "confdefs.h"
8312 /* System header to define __stub macros and hopefully few prototypes, 8324 /* System header to define __stub macros and hopefully few prototypes,
8313 which can conflict with char $ac_func(); below. */ 8325 which can conflict with char $ac_func(); below. */
8314 #include <assert.h> 8326 #include <assert.h>
8315 /* Override any gcc2 internal prototype to avoid an error. */ 8327 /* Override any gcc2 internal prototype to avoid an error. */
8328 $ac_func(); 8340 $ac_func();
8329 #endif 8341 #endif
8330 8342
8331 ; return 0; } 8343 ; return 0; }
8332 EOF 8344 EOF
8333 if { (eval echo configure:8334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8345 if { (eval echo configure:8346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8334 rm -rf conftest* 8346 rm -rf conftest*
8335 eval "ac_cv_func_$ac_func=yes" 8347 eval "ac_cv_func_$ac_func=yes"
8336 else 8348 else
8337 echo "configure: failed program was:" >&5 8349 echo "configure: failed program was:" >&5
8338 cat conftest.$ac_ext >&5 8350 cat conftest.$ac_ext >&5
8365 fi ;; 8377 fi ;;
8366 * ) 8378 * )
8367 for ac_func in realpath 8379 for ac_func in realpath
8368 do 8380 do
8369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8370 echo "configure:8371: checking for $ac_func" >&5 8382 echo "configure:8383: checking for $ac_func" >&5
8371 8383
8372 cat > conftest.$ac_ext <<EOF 8384 cat > conftest.$ac_ext <<EOF
8373 #line 8374 "configure" 8385 #line 8386 "configure"
8374 #include "confdefs.h" 8386 #include "confdefs.h"
8375 /* System header to define __stub macros and hopefully few prototypes, 8387 /* System header to define __stub macros and hopefully few prototypes,
8376 which can conflict with char $ac_func(); below. */ 8388 which can conflict with char $ac_func(); below. */
8377 #include <assert.h> 8389 #include <assert.h>
8378 /* Override any gcc2 internal prototype to avoid an error. */ 8390 /* Override any gcc2 internal prototype to avoid an error. */
8391 $ac_func(); 8403 $ac_func();
8392 #endif 8404 #endif
8393 8405
8394 ; return 0; } 8406 ; return 0; }
8395 EOF 8407 EOF
8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8408 if { (eval echo configure:8409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8397 rm -rf conftest* 8409 rm -rf conftest*
8398 eval "ac_cv_func_$ac_func=yes" 8410 eval "ac_cv_func_$ac_func=yes"
8399 else 8411 else
8400 echo "configure: failed program was:" >&5 8412 echo "configure: failed program was:" >&5
8401 cat conftest.$ac_ext >&5 8413 cat conftest.$ac_ext >&5
8424 echo " xemacs will be linked with \"realpath.o\"" 8436 echo " xemacs will be linked with \"realpath.o\""
8425 fi ;; 8437 fi ;;
8426 esac 8438 esac
8427 8439
8428 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 8440 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
8429 echo "configure:8430: checking whether netdb declares h_errno" >&5 8441 echo "configure:8442: checking whether netdb declares h_errno" >&5
8430 cat > conftest.$ac_ext <<EOF 8442 cat > conftest.$ac_ext <<EOF
8431 #line 8432 "configure" 8443 #line 8444 "configure"
8432 #include "confdefs.h" 8444 #include "confdefs.h"
8433 #include <netdb.h> 8445 #include <netdb.h>
8434 int main() { 8446 int main() {
8435 return h_errno; 8447 return h_errno;
8436 ; return 0; } 8448 ; return 0; }
8437 EOF 8449 EOF
8438 if { (eval echo configure:8439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8450 if { (eval echo configure:8451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8439 rm -rf conftest* 8451 rm -rf conftest*
8440 echo "$ac_t""yes" 1>&6 8452 echo "$ac_t""yes" 1>&6
8441 { test "$extra_verbose" = "yes" && cat << \EOF 8453 { test "$extra_verbose" = "yes" && cat << \EOF
8442 Defining HAVE_H_ERRNO 8454 Defining HAVE_H_ERRNO
8443 EOF 8455 EOF
8453 echo "$ac_t""no" 1>&6 8465 echo "$ac_t""no" 1>&6
8454 fi 8466 fi
8455 rm -f conftest* 8467 rm -f conftest*
8456 8468
8457 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 8469 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
8458 echo "configure:8459: checking for sigsetjmp" >&5 8470 echo "configure:8471: checking for sigsetjmp" >&5
8459 cat > conftest.$ac_ext <<EOF 8471 cat > conftest.$ac_ext <<EOF
8460 #line 8461 "configure" 8472 #line 8473 "configure"
8461 #include "confdefs.h" 8473 #include "confdefs.h"
8462 #include <setjmp.h> 8474 #include <setjmp.h>
8463 int main() { 8475 int main() {
8464 sigjmp_buf bar; sigsetjmp (bar, 0); 8476 sigjmp_buf bar; sigsetjmp (bar, 0);
8465 ; return 0; } 8477 ; return 0; }
8466 EOF 8478 EOF
8467 if { (eval echo configure:8468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8479 if { (eval echo configure:8480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8468 rm -rf conftest* 8480 rm -rf conftest*
8469 echo "$ac_t""yes" 1>&6 8481 echo "$ac_t""yes" 1>&6
8470 { test "$extra_verbose" = "yes" && cat << \EOF 8482 { test "$extra_verbose" = "yes" && cat << \EOF
8471 Defining HAVE_SIGSETJMP 8483 Defining HAVE_SIGSETJMP
8472 EOF 8484 EOF
8482 echo "$ac_t""no" 1>&6 8494 echo "$ac_t""no" 1>&6
8483 fi 8495 fi
8484 rm -f conftest* 8496 rm -f conftest*
8485 8497
8486 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 8498 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8487 echo "configure:8488: checking whether localtime caches TZ" >&5 8499 echo "configure:8500: checking whether localtime caches TZ" >&5
8488 8500
8489 if test "$ac_cv_func_tzset" = "yes"; then 8501 if test "$ac_cv_func_tzset" = "yes"; then
8490 cat > conftest.$ac_ext <<EOF 8502 cat > conftest.$ac_ext <<EOF
8491 #line 8492 "configure" 8503 #line 8504 "configure"
8492 #include "confdefs.h" 8504 #include "confdefs.h"
8493 #include <time.h> 8505 #include <time.h>
8494 #if STDC_HEADERS 8506 #if STDC_HEADERS
8495 # include <stdlib.h> 8507 # include <stdlib.h>
8496 #endif 8508 #endif
8521 if (localtime (&now)->tm_hour != hour_unset) 8533 if (localtime (&now)->tm_hour != hour_unset)
8522 exit (1); 8534 exit (1);
8523 exit (0); 8535 exit (0);
8524 } 8536 }
8525 EOF 8537 EOF
8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8538 if { (eval echo configure:8539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8527 then 8539 then
8528 emacs_cv_localtime_cache=no 8540 emacs_cv_localtime_cache=no
8529 else 8541 else
8530 echo "configure: failed program was:" >&5 8542 echo "configure: failed program was:" >&5
8531 cat conftest.$ac_ext >&5 8543 cat conftest.$ac_ext >&5
8550 8562
8551 fi 8563 fi
8552 8564
8553 if test "$HAVE_TIMEVAL" = "yes"; then 8565 if test "$HAVE_TIMEVAL" = "yes"; then
8554 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 8566 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
8555 echo "configure:8556: checking whether gettimeofday accepts one or two arguments" >&5 8567 echo "configure:8568: checking whether gettimeofday accepts one or two arguments" >&5
8556 cat > conftest.$ac_ext <<EOF 8568 cat > conftest.$ac_ext <<EOF
8557 #line 8558 "configure" 8569 #line 8570 "configure"
8558 #include "confdefs.h" 8570 #include "confdefs.h"
8559 8571
8560 #ifdef TIME_WITH_SYS_TIME 8572 #ifdef TIME_WITH_SYS_TIME
8561 #include <sys/time.h> 8573 #include <sys/time.h>
8562 #include <time.h> 8574 #include <time.h>
8574 struct timezone dummy; 8586 struct timezone dummy;
8575 gettimeofday (&time, &dummy); 8587 gettimeofday (&time, &dummy);
8576 8588
8577 ; return 0; } 8589 ; return 0; }
8578 EOF 8590 EOF
8579 if { (eval echo configure:8580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8591 if { (eval echo configure:8592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8580 rm -rf conftest* 8592 rm -rf conftest*
8581 echo "$ac_t""two" 1>&6 8593 echo "$ac_t""two" 1>&6
8582 else 8594 else
8583 echo "configure: failed program was:" >&5 8595 echo "configure: failed program was:" >&5
8584 cat conftest.$ac_ext >&5 8596 cat conftest.$ac_ext >&5
8596 rm -f conftest* 8608 rm -f conftest*
8597 fi 8609 fi
8598 8610
8599 8611
8600 echo $ac_n "checking for inline""... $ac_c" 1>&6 8612 echo $ac_n "checking for inline""... $ac_c" 1>&6
8601 echo "configure:8602: checking for inline" >&5 8613 echo "configure:8614: checking for inline" >&5
8602 8614
8603 ac_cv_c_inline=no 8615 ac_cv_c_inline=no
8604 for ac_kw in inline __inline__ __inline; do 8616 for ac_kw in inline __inline__ __inline; do
8605 cat > conftest.$ac_ext <<EOF 8617 cat > conftest.$ac_ext <<EOF
8606 #line 8607 "configure" 8618 #line 8619 "configure"
8607 #include "confdefs.h" 8619 #include "confdefs.h"
8608 8620
8609 int main() { 8621 int main() {
8610 } $ac_kw foo() { 8622 } $ac_kw foo() {
8611 ; return 0; } 8623 ; return 0; }
8612 EOF 8624 EOF
8613 if { (eval echo configure:8614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8625 if { (eval echo configure:8626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8614 rm -rf conftest* 8626 rm -rf conftest*
8615 ac_cv_c_inline=$ac_kw; break 8627 ac_cv_c_inline=$ac_kw; break
8616 else 8628 else
8617 echo "configure: failed program was:" >&5 8629 echo "configure: failed program was:" >&5
8618 cat conftest.$ac_ext >&5 8630 cat conftest.$ac_ext >&5
8658 8670
8659 8671
8660 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 8672 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8661 # for constant arguments. Useless! 8673 # for constant arguments. Useless!
8662 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 8674 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
8663 echo "configure:8664: checking for working alloca.h" >&5 8675 echo "configure:8676: checking for working alloca.h" >&5
8664 8676
8665 cat > conftest.$ac_ext <<EOF 8677 cat > conftest.$ac_ext <<EOF
8666 #line 8667 "configure" 8678 #line 8679 "configure"
8667 #include "confdefs.h" 8679 #include "confdefs.h"
8668 #include <alloca.h> 8680 #include <alloca.h>
8669 int main() { 8681 int main() {
8670 char *p = alloca(2 * sizeof(int)); 8682 char *p = alloca(2 * sizeof(int));
8671 ; return 0; } 8683 ; return 0; }
8672 EOF 8684 EOF
8673 if { (eval echo configure:8674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8685 if { (eval echo configure:8686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8674 rm -rf conftest* 8686 rm -rf conftest*
8675 ac_cv_header_alloca_h=yes 8687 ac_cv_header_alloca_h=yes
8676 else 8688 else
8677 echo "configure: failed program was:" >&5 8689 echo "configure: failed program was:" >&5
8678 cat conftest.$ac_ext >&5 8690 cat conftest.$ac_ext >&5
8692 } 8704 }
8693 8705
8694 fi 8706 fi
8695 8707
8696 echo $ac_n "checking for alloca""... $ac_c" 1>&6 8708 echo $ac_n "checking for alloca""... $ac_c" 1>&6
8697 echo "configure:8698: checking for alloca" >&5 8709 echo "configure:8710: checking for alloca" >&5
8698 8710
8699 cat > conftest.$ac_ext <<EOF 8711 cat > conftest.$ac_ext <<EOF
8700 #line 8701 "configure" 8712 #line 8713 "configure"
8701 #include "confdefs.h" 8713 #include "confdefs.h"
8702 8714
8703 #ifdef __GNUC__ 8715 #ifdef __GNUC__
8704 # define alloca __builtin_alloca 8716 # define alloca __builtin_alloca
8705 #else 8717 #else
8718 8730
8719 int main() { 8731 int main() {
8720 char *p = (char *) alloca(1); 8732 char *p = (char *) alloca(1);
8721 ; return 0; } 8733 ; return 0; }
8722 EOF 8734 EOF
8723 if { (eval echo configure:8724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8735 if { (eval echo configure:8736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8724 rm -rf conftest* 8736 rm -rf conftest*
8725 ac_cv_func_alloca_works=yes 8737 ac_cv_func_alloca_works=yes
8726 else 8738 else
8727 echo "configure: failed program was:" >&5 8739 echo "configure: failed program was:" >&5
8728 cat conftest.$ac_ext >&5 8740 cat conftest.$ac_ext >&5
8757 EOF 8769 EOF
8758 } 8770 }
8759 8771
8760 8772
8761 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 8773 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
8762 echo "configure:8763: checking whether alloca needs Cray hooks" >&5 8774 echo "configure:8775: checking whether alloca needs Cray hooks" >&5
8763 8775
8764 cat > conftest.$ac_ext <<EOF 8776 cat > conftest.$ac_ext <<EOF
8765 #line 8766 "configure" 8777 #line 8778 "configure"
8766 #include "confdefs.h" 8778 #include "confdefs.h"
8767 #if defined(CRAY) && ! defined(CRAY2) 8779 #if defined(CRAY) && ! defined(CRAY2)
8768 webecray 8780 webecray
8769 #else 8781 #else
8770 wenotbecray 8782 wenotbecray
8784 8796
8785 echo "$ac_t""$ac_cv_os_cray" 1>&6 8797 echo "$ac_t""$ac_cv_os_cray" 1>&6
8786 if test $ac_cv_os_cray = yes; then 8798 if test $ac_cv_os_cray = yes; then
8787 for ac_func in _getb67 GETB67 getb67; do 8799 for ac_func in _getb67 GETB67 getb67; do
8788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8789 echo "configure:8790: checking for $ac_func" >&5 8801 echo "configure:8802: checking for $ac_func" >&5
8790 8802
8791 cat > conftest.$ac_ext <<EOF 8803 cat > conftest.$ac_ext <<EOF
8792 #line 8793 "configure" 8804 #line 8805 "configure"
8793 #include "confdefs.h" 8805 #include "confdefs.h"
8794 /* System header to define __stub macros and hopefully few prototypes, 8806 /* System header to define __stub macros and hopefully few prototypes,
8795 which can conflict with char $ac_func(); below. */ 8807 which can conflict with char $ac_func(); below. */
8796 #include <assert.h> 8808 #include <assert.h>
8797 /* Override any gcc2 internal prototype to avoid an error. */ 8809 /* Override any gcc2 internal prototype to avoid an error. */
8810 $ac_func(); 8822 $ac_func();
8811 #endif 8823 #endif
8812 8824
8813 ; return 0; } 8825 ; return 0; }
8814 EOF 8826 EOF
8815 if { (eval echo configure:8816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8827 if { (eval echo configure:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8816 rm -rf conftest* 8828 rm -rf conftest*
8817 eval "ac_cv_func_$ac_func=yes" 8829 eval "ac_cv_func_$ac_func=yes"
8818 else 8830 else
8819 echo "configure: failed program was:" >&5 8831 echo "configure: failed program was:" >&5
8820 cat conftest.$ac_ext >&5 8832 cat conftest.$ac_ext >&5
8840 8852
8841 done 8853 done
8842 fi 8854 fi
8843 8855
8844 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 8856 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
8845 echo "configure:8846: checking stack direction for C alloca" >&5 8857 echo "configure:8858: checking stack direction for C alloca" >&5
8846 8858
8847 cat > conftest.$ac_ext <<EOF 8859 cat > conftest.$ac_ext <<EOF
8848 #line 8849 "configure" 8860 #line 8861 "configure"
8849 #include "confdefs.h" 8861 #include "confdefs.h"
8850 find_stack_direction () 8862 find_stack_direction ()
8851 { 8863 {
8852 static char *addr = 0; 8864 static char *addr = 0;
8853 auto char dummy; 8865 auto char dummy;
8862 main () 8874 main ()
8863 { 8875 {
8864 exit (find_stack_direction() < 0); 8876 exit (find_stack_direction() < 0);
8865 } 8877 }
8866 EOF 8878 EOF
8867 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8879 if { (eval echo configure:8880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8868 then 8880 then
8869 ac_cv_c_stack_direction=1 8881 ac_cv_c_stack_direction=1
8870 else 8882 else
8871 echo "configure: failed program was:" >&5 8883 echo "configure: failed program was:" >&5
8872 cat conftest.$ac_ext >&5 8884 cat conftest.$ac_ext >&5
8890 echo " xemacs will be linked with \"$ALLOCA\"" 8902 echo " xemacs will be linked with \"$ALLOCA\""
8891 fi 8903 fi
8892 8904
8893 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8905 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8894 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8906 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8895 echo "configure:8896: checking for vfork.h" >&5 8907 echo "configure:8908: checking for vfork.h" >&5
8896 8908
8897 cat > conftest.$ac_ext <<EOF 8909 cat > conftest.$ac_ext <<EOF
8898 #line 8899 "configure" 8910 #line 8911 "configure"
8899 #include "confdefs.h" 8911 #include "confdefs.h"
8900 #include <vfork.h> 8912 #include <vfork.h>
8901 EOF 8913 EOF
8902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8903 { (eval echo configure:8904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8915 { (eval echo configure:8916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8904 ac_err=`grep -v '^ *+' conftest.out` 8916 ac_err=`grep -v '^ *+' conftest.out`
8905 if test -z "$ac_err"; then 8917 if test -z "$ac_err"; then
8906 rm -rf conftest* 8918 rm -rf conftest*
8907 eval "ac_cv_header_$ac_safe=yes" 8919 eval "ac_cv_header_$ac_safe=yes"
8908 else 8920 else
8926 else 8938 else
8927 echo "$ac_t""no" 1>&6 8939 echo "$ac_t""no" 1>&6
8928 fi 8940 fi
8929 8941
8930 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8942 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8931 echo "configure:8932: checking for working vfork" >&5 8943 echo "configure:8944: checking for working vfork" >&5
8932 8944
8933 cat > conftest.$ac_ext <<EOF 8945 cat > conftest.$ac_ext <<EOF
8934 #line 8935 "configure" 8946 #line 8947 "configure"
8935 #include "confdefs.h" 8947 #include "confdefs.h"
8936 /* Thanks to Paul Eggert for this test. */ 8948 /* Thanks to Paul Eggert for this test. */
8937 #include <stdio.h> 8949 #include <stdio.h>
8938 #include <sys/types.h> 8950 #include <sys/types.h>
8939 #include <sys/stat.h> 8951 #include <sys/stat.h>
9024 || fstat(fileno(stdout), &st) != 0 9036 || fstat(fileno(stdout), &st) != 0
9025 ); 9037 );
9026 } 9038 }
9027 } 9039 }
9028 EOF 9040 EOF
9029 if { (eval echo configure:9030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 9041 if { (eval echo configure:9042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
9030 then 9042 then
9031 ac_cv_func_vfork_works=yes 9043 ac_cv_func_vfork_works=yes
9032 else 9044 else
9033 echo "configure: failed program was:" >&5 9045 echo "configure: failed program was:" >&5
9034 cat conftest.$ac_ext >&5 9046 cat conftest.$ac_ext >&5
9049 9061
9050 fi 9062 fi
9051 9063
9052 9064
9053 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 9065 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
9054 echo "configure:9055: checking for working strcoll" >&5 9066 echo "configure:9067: checking for working strcoll" >&5
9055 9067
9056 cat > conftest.$ac_ext <<EOF 9068 cat > conftest.$ac_ext <<EOF
9057 #line 9058 "configure" 9069 #line 9070 "configure"
9058 #include "confdefs.h" 9070 #include "confdefs.h"
9059 #include <string.h> 9071 #include <string.h>
9060 main () 9072 main ()
9061 { 9073 {
9062 exit (strcoll ("abc", "def") >= 0 || 9074 exit (strcoll ("abc", "def") >= 0 ||
9063 strcoll ("ABC", "DEF") >= 0 || 9075 strcoll ("ABC", "DEF") >= 0 ||
9064 strcoll ("123", "456") >= 0); 9076 strcoll ("123", "456") >= 0);
9065 } 9077 }
9066 EOF 9078 EOF
9067 if { (eval echo configure:9068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 9079 if { (eval echo configure:9080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
9068 then 9080 then
9069 ac_cv_func_strcoll_works=yes 9081 ac_cv_func_strcoll_works=yes
9070 else 9082 else
9071 echo "configure: failed program was:" >&5 9083 echo "configure: failed program was:" >&5
9072 cat conftest.$ac_ext >&5 9084 cat conftest.$ac_ext >&5
9089 9101
9090 9102
9091 for ac_func in getpgrp 9103 for ac_func in getpgrp
9092 do 9104 do
9093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9094 echo "configure:9095: checking for $ac_func" >&5 9106 echo "configure:9107: checking for $ac_func" >&5
9095 9107
9096 cat > conftest.$ac_ext <<EOF 9108 cat > conftest.$ac_ext <<EOF
9097 #line 9098 "configure" 9109 #line 9110 "configure"
9098 #include "confdefs.h" 9110 #include "confdefs.h"
9099 /* System header to define __stub macros and hopefully few prototypes, 9111 /* System header to define __stub macros and hopefully few prototypes,
9100 which can conflict with char $ac_func(); below. */ 9112 which can conflict with char $ac_func(); below. */
9101 #include <assert.h> 9113 #include <assert.h>
9102 /* Override any gcc2 internal prototype to avoid an error. */ 9114 /* Override any gcc2 internal prototype to avoid an error. */
9115 $ac_func(); 9127 $ac_func();
9116 #endif 9128 #endif
9117 9129
9118 ; return 0; } 9130 ; return 0; }
9119 EOF 9131 EOF
9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9132 if { (eval echo configure:9133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9121 rm -rf conftest* 9133 rm -rf conftest*
9122 eval "ac_cv_func_$ac_func=yes" 9134 eval "ac_cv_func_$ac_func=yes"
9123 else 9135 else
9124 echo "configure: failed program was:" >&5 9136 echo "configure: failed program was:" >&5
9125 cat conftest.$ac_ext >&5 9137 cat conftest.$ac_ext >&5
9143 echo "$ac_t""no" 1>&6 9155 echo "$ac_t""no" 1>&6
9144 fi 9156 fi
9145 done 9157 done
9146 9158
9147 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 9159 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
9148 echo "configure:9149: checking whether getpgrp takes no argument" >&5 9160 echo "configure:9161: checking whether getpgrp takes no argument" >&5
9149 9161
9150 cat > conftest.$ac_ext <<EOF 9162 cat > conftest.$ac_ext <<EOF
9151 #line 9152 "configure" 9163 #line 9164 "configure"
9152 #include "confdefs.h" 9164 #include "confdefs.h"
9153 9165
9154 /* 9166 /*
9155 * If this system has a BSD-style getpgrp(), 9167 * If this system has a BSD-style getpgrp(),
9156 * which takes a pid argument, exit unsuccessfully. 9168 * which takes a pid argument, exit unsuccessfully.
9201 exit(s>>8); 9213 exit(s>>8);
9202 } 9214 }
9203 } 9215 }
9204 9216
9205 EOF 9217 EOF
9206 if { (eval echo configure:9207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 9218 if { (eval echo configure:9219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
9207 then 9219 then
9208 ac_cv_func_getpgrp_void=yes 9220 ac_cv_func_getpgrp_void=yes
9209 else 9221 else
9210 echo "configure: failed program was:" >&5 9222 echo "configure: failed program was:" >&5
9211 cat conftest.$ac_ext >&5 9223 cat conftest.$ac_ext >&5
9227 9239
9228 fi 9240 fi
9229 9241
9230 9242
9231 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 9243 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
9232 echo "configure:9233: checking for working mmap" >&5 9244 echo "configure:9245: checking for working mmap" >&5
9233 case "$opsys" in ultrix* ) have_mmap=no ;; *) 9245 case "$opsys" in ultrix* ) have_mmap=no ;; *)
9234 cat > conftest.$ac_ext <<EOF 9246 cat > conftest.$ac_ext <<EOF
9235 #line 9236 "configure" 9247 #line 9248 "configure"
9236 #include "confdefs.h" 9248 #include "confdefs.h"
9237 #include <stdio.h> 9249 #include <stdio.h>
9238 #include <unistd.h> 9250 #include <unistd.h>
9239 #include <fcntl.h> 9251 #include <fcntl.h>
9240 #include <sys/mman.h> 9252 #include <sys/mman.h>
9263 return 0; 9275 return 0;
9264 perror ("conftest: mmap failed"); 9276 perror ("conftest: mmap failed");
9265 return 1; 9277 return 1;
9266 } 9278 }
9267 EOF 9279 EOF
9268 if { (eval echo configure:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 9280 if { (eval echo configure:9281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
9269 then 9281 then
9270 have_mmap=yes 9282 have_mmap=yes
9271 else 9283 else
9272 echo "configure: failed program was:" >&5 9284 echo "configure: failed program was:" >&5
9273 cat conftest.$ac_ext >&5 9285 cat conftest.$ac_ext >&5
9297 } 9309 }
9298 9310
9299 9311
9300 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 9312 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
9301 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 9313 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
9302 echo "configure:9303: checking for termios.h" >&5 9314 echo "configure:9315: checking for termios.h" >&5
9303 9315
9304 cat > conftest.$ac_ext <<EOF 9316 cat > conftest.$ac_ext <<EOF
9305 #line 9306 "configure" 9317 #line 9318 "configure"
9306 #include "confdefs.h" 9318 #include "confdefs.h"
9307 #include <termios.h> 9319 #include <termios.h>
9308 EOF 9320 EOF
9309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9321 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9310 { (eval echo configure:9311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9322 { (eval echo configure:9323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9311 ac_err=`grep -v '^ *+' conftest.out` 9323 ac_err=`grep -v '^ *+' conftest.out`
9312 if test -z "$ac_err"; then 9324 if test -z "$ac_err"; then
9313 rm -rf conftest* 9325 rm -rf conftest*
9314 eval "ac_cv_header_$ac_safe=yes" 9326 eval "ac_cv_header_$ac_safe=yes"
9315 else 9327 else
9348 9360
9349 else 9361 else
9350 echo "$ac_t""no" 1>&6 9362 echo "$ac_t""no" 1>&6
9351 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 9363 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
9352 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 9364 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
9353 echo "configure:9354: checking for termio.h" >&5 9365 echo "configure:9366: checking for termio.h" >&5
9354 9366
9355 cat > conftest.$ac_ext <<EOF 9367 cat > conftest.$ac_ext <<EOF
9356 #line 9357 "configure" 9368 #line 9369 "configure"
9357 #include "confdefs.h" 9369 #include "confdefs.h"
9358 #include <termio.h> 9370 #include <termio.h>
9359 EOF 9371 EOF
9360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9361 { (eval echo configure:9362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9373 { (eval echo configure:9374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9362 ac_err=`grep -v '^ *+' conftest.out` 9374 ac_err=`grep -v '^ *+' conftest.out`
9363 if test -z "$ac_err"; then 9375 if test -z "$ac_err"; then
9364 rm -rf conftest* 9376 rm -rf conftest*
9365 eval "ac_cv_header_$ac_safe=yes" 9377 eval "ac_cv_header_$ac_safe=yes"
9366 else 9378 else
9388 fi 9400 fi
9389 9401
9390 9402
9391 9403
9392 echo $ac_n "checking for socket""... $ac_c" 1>&6 9404 echo $ac_n "checking for socket""... $ac_c" 1>&6
9393 echo "configure:9394: checking for socket" >&5 9405 echo "configure:9406: checking for socket" >&5
9394 9406
9395 cat > conftest.$ac_ext <<EOF 9407 cat > conftest.$ac_ext <<EOF
9396 #line 9397 "configure" 9408 #line 9409 "configure"
9397 #include "confdefs.h" 9409 #include "confdefs.h"
9398 /* System header to define __stub macros and hopefully few prototypes, 9410 /* System header to define __stub macros and hopefully few prototypes,
9399 which can conflict with char socket(); below. */ 9411 which can conflict with char socket(); below. */
9400 #include <assert.h> 9412 #include <assert.h>
9401 /* Override any gcc2 internal prototype to avoid an error. */ 9413 /* Override any gcc2 internal prototype to avoid an error. */
9414 socket(); 9426 socket();
9415 #endif 9427 #endif
9416 9428
9417 ; return 0; } 9429 ; return 0; }
9418 EOF 9430 EOF
9419 if { (eval echo configure:9420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9420 rm -rf conftest* 9432 rm -rf conftest*
9421 eval "ac_cv_func_socket=yes" 9433 eval "ac_cv_func_socket=yes"
9422 else 9434 else
9423 echo "configure: failed program was:" >&5 9435 echo "configure: failed program was:" >&5
9424 cat conftest.$ac_ext >&5 9436 cat conftest.$ac_ext >&5
9429 9441
9430 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 9442 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
9431 echo "$ac_t""yes" 1>&6 9443 echo "$ac_t""yes" 1>&6
9432 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 9444 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
9433 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 9445 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
9434 echo "configure:9435: checking for netinet/in.h" >&5 9446 echo "configure:9447: checking for netinet/in.h" >&5
9435 9447
9436 cat > conftest.$ac_ext <<EOF 9448 cat > conftest.$ac_ext <<EOF
9437 #line 9438 "configure" 9449 #line 9450 "configure"
9438 #include "confdefs.h" 9450 #include "confdefs.h"
9439 #include <netinet/in.h> 9451 #include <netinet/in.h>
9440 EOF 9452 EOF
9441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9442 { (eval echo configure:9443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9454 { (eval echo configure:9455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9443 ac_err=`grep -v '^ *+' conftest.out` 9455 ac_err=`grep -v '^ *+' conftest.out`
9444 if test -z "$ac_err"; then 9456 if test -z "$ac_err"; then
9445 rm -rf conftest* 9457 rm -rf conftest*
9446 eval "ac_cv_header_$ac_safe=yes" 9458 eval "ac_cv_header_$ac_safe=yes"
9447 else 9459 else
9454 rm -f conftest* 9466 rm -f conftest*
9455 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9467 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9456 echo "$ac_t""yes" 1>&6 9468 echo "$ac_t""yes" 1>&6
9457 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 9469 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
9458 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 9470 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
9459 echo "configure:9460: checking for arpa/inet.h" >&5 9471 echo "configure:9472: checking for arpa/inet.h" >&5
9460 9472
9461 cat > conftest.$ac_ext <<EOF 9473 cat > conftest.$ac_ext <<EOF
9462 #line 9463 "configure" 9474 #line 9475 "configure"
9463 #include "confdefs.h" 9475 #include "confdefs.h"
9464 #include <arpa/inet.h> 9476 #include <arpa/inet.h>
9465 EOF 9477 EOF
9466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9467 { (eval echo configure:9468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9479 { (eval echo configure:9480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9468 ac_err=`grep -v '^ *+' conftest.out` 9480 ac_err=`grep -v '^ *+' conftest.out`
9469 if test -z "$ac_err"; then 9481 if test -z "$ac_err"; then
9470 rm -rf conftest* 9482 rm -rf conftest*
9471 eval "ac_cv_header_$ac_safe=yes" 9483 eval "ac_cv_header_$ac_safe=yes"
9472 else 9484 else
9487 #define HAVE_SOCKETS 1 9499 #define HAVE_SOCKETS 1
9488 EOF 9500 EOF
9489 } 9501 }
9490 9502
9491 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 9503 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
9492 echo "configure:9493: checking "for sun_len member in struct sockaddr_un"" >&5 9504 echo "configure:9505: checking "for sun_len member in struct sockaddr_un"" >&5
9493 cat > conftest.$ac_ext <<EOF 9505 cat > conftest.$ac_ext <<EOF
9494 #line 9495 "configure" 9506 #line 9507 "configure"
9495 #include "confdefs.h" 9507 #include "confdefs.h"
9496 9508
9497 #include <sys/types.h> 9509 #include <sys/types.h>
9498 #include <sys/socket.h> 9510 #include <sys/socket.h>
9499 #include <sys/un.h> 9511 #include <sys/un.h>
9500 9512
9501 int main() { 9513 int main() {
9502 static struct sockaddr_un x; x.sun_len = 1; 9514 static struct sockaddr_un x; x.sun_len = 1;
9503 ; return 0; } 9515 ; return 0; }
9504 EOF 9516 EOF
9505 if { (eval echo configure:9506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9517 if { (eval echo configure:9518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9506 rm -rf conftest* 9518 rm -rf conftest*
9507 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 9519 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
9508 Defining HAVE_SOCKADDR_SUN_LEN 9520 Defining HAVE_SOCKADDR_SUN_LEN
9509 EOF 9521 EOF
9510 cat >> confdefs.h <<\EOF 9522 cat >> confdefs.h <<\EOF
9518 rm -rf conftest* 9530 rm -rf conftest*
9519 echo "$ac_t""no" 1>&6 9531 echo "$ac_t""no" 1>&6
9520 fi 9532 fi
9521 rm -f conftest* 9533 rm -f conftest*
9522 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 9534 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
9523 echo "configure:9524: checking "for ip_mreq struct in netinet/in.h"" >&5 9535 echo "configure:9536: checking "for ip_mreq struct in netinet/in.h"" >&5
9524 cat > conftest.$ac_ext <<EOF 9536 cat > conftest.$ac_ext <<EOF
9525 #line 9526 "configure" 9537 #line 9538 "configure"
9526 #include "confdefs.h" 9538 #include "confdefs.h"
9527 9539
9528 #include <sys/types.h> 9540 #include <sys/types.h>
9529 #include <netinet/in.h> 9541 #include <netinet/in.h>
9530 9542
9531 int main() { 9543 int main() {
9532 static struct ip_mreq x; 9544 static struct ip_mreq x;
9533 ; return 0; } 9545 ; return 0; }
9534 EOF 9546 EOF
9535 if { (eval echo configure:9536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9547 if { (eval echo configure:9548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9536 rm -rf conftest* 9548 rm -rf conftest*
9537 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 9549 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
9538 Defining HAVE_MULTICAST 9550 Defining HAVE_MULTICAST
9539 EOF 9551 EOF
9540 cat >> confdefs.h <<\EOF 9552 cat >> confdefs.h <<\EOF
9561 echo "$ac_t""no" 1>&6 9573 echo "$ac_t""no" 1>&6
9562 fi 9574 fi
9563 9575
9564 9576
9565 echo $ac_n "checking for msgget""... $ac_c" 1>&6 9577 echo $ac_n "checking for msgget""... $ac_c" 1>&6
9566 echo "configure:9567: checking for msgget" >&5 9578 echo "configure:9579: checking for msgget" >&5
9567 9579
9568 cat > conftest.$ac_ext <<EOF 9580 cat > conftest.$ac_ext <<EOF
9569 #line 9570 "configure" 9581 #line 9582 "configure"
9570 #include "confdefs.h" 9582 #include "confdefs.h"
9571 /* System header to define __stub macros and hopefully few prototypes, 9583 /* System header to define __stub macros and hopefully few prototypes,
9572 which can conflict with char msgget(); below. */ 9584 which can conflict with char msgget(); below. */
9573 #include <assert.h> 9585 #include <assert.h>
9574 /* Override any gcc2 internal prototype to avoid an error. */ 9586 /* Override any gcc2 internal prototype to avoid an error. */
9587 msgget(); 9599 msgget();
9588 #endif 9600 #endif
9589 9601
9590 ; return 0; } 9602 ; return 0; }
9591 EOF 9603 EOF
9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9604 if { (eval echo configure:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9593 rm -rf conftest* 9605 rm -rf conftest*
9594 eval "ac_cv_func_msgget=yes" 9606 eval "ac_cv_func_msgget=yes"
9595 else 9607 else
9596 echo "configure: failed program was:" >&5 9608 echo "configure: failed program was:" >&5
9597 cat conftest.$ac_ext >&5 9609 cat conftest.$ac_ext >&5
9602 9614
9603 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 9615 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
9604 echo "$ac_t""yes" 1>&6 9616 echo "$ac_t""yes" 1>&6
9605 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 9617 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
9606 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 9618 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
9607 echo "configure:9608: checking for sys/ipc.h" >&5 9619 echo "configure:9620: checking for sys/ipc.h" >&5
9608 9620
9609 cat > conftest.$ac_ext <<EOF 9621 cat > conftest.$ac_ext <<EOF
9610 #line 9611 "configure" 9622 #line 9623 "configure"
9611 #include "confdefs.h" 9623 #include "confdefs.h"
9612 #include <sys/ipc.h> 9624 #include <sys/ipc.h>
9613 EOF 9625 EOF
9614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9615 { (eval echo configure:9616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9627 { (eval echo configure:9628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9616 ac_err=`grep -v '^ *+' conftest.out` 9628 ac_err=`grep -v '^ *+' conftest.out`
9617 if test -z "$ac_err"; then 9629 if test -z "$ac_err"; then
9618 rm -rf conftest* 9630 rm -rf conftest*
9619 eval "ac_cv_header_$ac_safe=yes" 9631 eval "ac_cv_header_$ac_safe=yes"
9620 else 9632 else
9627 rm -f conftest* 9639 rm -f conftest*
9628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9629 echo "$ac_t""yes" 1>&6 9641 echo "$ac_t""yes" 1>&6
9630 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 9642 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
9631 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 9643 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
9632 echo "configure:9633: checking for sys/msg.h" >&5 9644 echo "configure:9645: checking for sys/msg.h" >&5
9633 9645
9634 cat > conftest.$ac_ext <<EOF 9646 cat > conftest.$ac_ext <<EOF
9635 #line 9636 "configure" 9647 #line 9648 "configure"
9636 #include "confdefs.h" 9648 #include "confdefs.h"
9637 #include <sys/msg.h> 9649 #include <sys/msg.h>
9638 EOF 9650 EOF
9639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9640 { (eval echo configure:9641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9652 { (eval echo configure:9653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9641 ac_err=`grep -v '^ *+' conftest.out` 9653 ac_err=`grep -v '^ *+' conftest.out`
9642 if test -z "$ac_err"; then 9654 if test -z "$ac_err"; then
9643 rm -rf conftest* 9655 rm -rf conftest*
9644 eval "ac_cv_header_$ac_safe=yes" 9656 eval "ac_cv_header_$ac_safe=yes"
9645 else 9657 else
9673 fi 9685 fi
9674 9686
9675 9687
9676 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 9688 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
9677 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 9689 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
9678 echo "configure:9679: checking for dirent.h" >&5 9690 echo "configure:9691: checking for dirent.h" >&5
9679 9691
9680 cat > conftest.$ac_ext <<EOF 9692 cat > conftest.$ac_ext <<EOF
9681 #line 9682 "configure" 9693 #line 9694 "configure"
9682 #include "confdefs.h" 9694 #include "confdefs.h"
9683 #include <dirent.h> 9695 #include <dirent.h>
9684 EOF 9696 EOF
9685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9686 { (eval echo configure:9687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9698 { (eval echo configure:9699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9687 ac_err=`grep -v '^ *+' conftest.out` 9699 ac_err=`grep -v '^ *+' conftest.out`
9688 if test -z "$ac_err"; then 9700 if test -z "$ac_err"; then
9689 rm -rf conftest* 9701 rm -rf conftest*
9690 eval "ac_cv_header_$ac_safe=yes" 9702 eval "ac_cv_header_$ac_safe=yes"
9691 else 9703 else
9708 9720
9709 else 9721 else
9710 echo "$ac_t""no" 1>&6 9722 echo "$ac_t""no" 1>&6
9711 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 9723 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
9712 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 9724 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
9713 echo "configure:9714: checking for sys/dir.h" >&5 9725 echo "configure:9726: checking for sys/dir.h" >&5
9714 9726
9715 cat > conftest.$ac_ext <<EOF 9727 cat > conftest.$ac_ext <<EOF
9716 #line 9717 "configure" 9728 #line 9729 "configure"
9717 #include "confdefs.h" 9729 #include "confdefs.h"
9718 #include <sys/dir.h> 9730 #include <sys/dir.h>
9719 EOF 9731 EOF
9720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9721 { (eval echo configure:9722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9733 { (eval echo configure:9734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9722 ac_err=`grep -v '^ *+' conftest.out` 9734 ac_err=`grep -v '^ *+' conftest.out`
9723 if test -z "$ac_err"; then 9735 if test -z "$ac_err"; then
9724 rm -rf conftest* 9736 rm -rf conftest*
9725 eval "ac_cv_header_$ac_safe=yes" 9737 eval "ac_cv_header_$ac_safe=yes"
9726 else 9738 else
9749 fi 9761 fi
9750 9762
9751 9763
9752 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 9764 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
9753 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 9765 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
9754 echo "configure:9755: checking for nlist.h" >&5 9766 echo "configure:9767: checking for nlist.h" >&5
9755 9767
9756 cat > conftest.$ac_ext <<EOF 9768 cat > conftest.$ac_ext <<EOF
9757 #line 9758 "configure" 9769 #line 9770 "configure"
9758 #include "confdefs.h" 9770 #include "confdefs.h"
9759 #include <nlist.h> 9771 #include <nlist.h>
9760 EOF 9772 EOF
9761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9762 { (eval echo configure:9763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9774 { (eval echo configure:9775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9763 ac_err=`grep -v '^ *+' conftest.out` 9775 ac_err=`grep -v '^ *+' conftest.out`
9764 if test -z "$ac_err"; then 9776 if test -z "$ac_err"; then
9765 rm -rf conftest* 9777 rm -rf conftest*
9766 eval "ac_cv_header_$ac_safe=yes" 9778 eval "ac_cv_header_$ac_safe=yes"
9767 else 9779 else
9787 fi 9799 fi
9788 9800
9789 9801
9790 9802
9791 echo "checking "for sound support"" 1>&6 9803 echo "checking "for sound support"" 1>&6
9792 echo "configure:9793: checking "for sound support"" >&5 9804 echo "configure:9805: checking "for sound support"" >&5
9793 case "$with_sound" in 9805 case "$with_sound" in
9794 native | both ) with_native_sound=yes;; 9806 native | both ) with_native_sound=yes;;
9795 nas | no ) with_native_sound=no;; 9807 nas | no ) with_native_sound=no;;
9796 esac 9808 esac
9797 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 9809 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
9798 9810
9799 if test "$with_native_sound" != "no"; then 9811 if test "$with_native_sound" != "no"; then
9800 if test -n "$native_sound_lib"; then 9812 if test -n "$native_sound_lib"; then
9801 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 9813 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
9802 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 9814 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
9803 echo "configure:9804: checking for multimedia/audio_device.h" >&5 9815 echo "configure:9816: checking for multimedia/audio_device.h" >&5
9804 9816
9805 cat > conftest.$ac_ext <<EOF 9817 cat > conftest.$ac_ext <<EOF
9806 #line 9807 "configure" 9818 #line 9819 "configure"
9807 #include "confdefs.h" 9819 #include "confdefs.h"
9808 #include <multimedia/audio_device.h> 9820 #include <multimedia/audio_device.h>
9809 EOF 9821 EOF
9810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9811 { (eval echo configure:9812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9823 { (eval echo configure:9824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9812 ac_err=`grep -v '^ *+' conftest.out` 9824 ac_err=`grep -v '^ *+' conftest.out`
9813 if test -z "$ac_err"; then 9825 if test -z "$ac_err"; then
9814 rm -rf conftest* 9826 rm -rf conftest*
9815 eval "ac_cv_header_$ac_safe=yes" 9827 eval "ac_cv_header_$ac_safe=yes"
9816 else 9828 else
9854 case "$canonical" in 9866 case "$canonical" in
9855 *-sgi-* ) 9867 *-sgi-* )
9856 if test -z "$native_sound_lib"; then 9868 if test -z "$native_sound_lib"; then
9857 9869
9858 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 9870 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
9859 echo "configure:9860: checking for ALopenport in -laudio" >&5 9871 echo "configure:9872: checking for ALopenport in -laudio" >&5
9860 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 9872 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
9861 9873
9862 xe_check_libs=" -laudio " 9874 xe_check_libs=" -laudio "
9863 cat > conftest.$ac_ext <<EOF 9875 cat > conftest.$ac_ext <<EOF
9864 #line 9865 "configure" 9876 #line 9877 "configure"
9865 #include "confdefs.h" 9877 #include "confdefs.h"
9866 /* Override any gcc2 internal prototype to avoid an error. */ 9878 /* Override any gcc2 internal prototype to avoid an error. */
9867 /* We use char because int might match the return type of a gcc2 9879 /* We use char because int might match the return type of a gcc2
9868 builtin and then its argument prototype would still apply. */ 9880 builtin and then its argument prototype would still apply. */
9869 char ALopenport(); 9881 char ALopenport();
9870 9882
9871 int main() { 9883 int main() {
9872 ALopenport() 9884 ALopenport()
9873 ; return 0; } 9885 ; return 0; }
9874 EOF 9886 EOF
9875 if { (eval echo configure:9876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9887 if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9876 rm -rf conftest* 9888 rm -rf conftest*
9877 eval "ac_cv_lib_$ac_lib_var=yes" 9889 eval "ac_cv_lib_$ac_lib_var=yes"
9878 else 9890 else
9879 echo "configure: failed program was:" >&5 9891 echo "configure: failed program was:" >&5
9880 cat conftest.$ac_ext >&5 9892 cat conftest.$ac_ext >&5
9901 fi ;; 9913 fi ;;
9902 hppa*-hp-hpux* ) 9914 hppa*-hp-hpux* )
9903 if test -z "$native_sound_lib"; then 9915 if test -z "$native_sound_lib"; then
9904 9916
9905 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 9917 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
9906 echo "configure:9907: checking for AOpenAudio in -lAlib" >&5 9918 echo "configure:9919: checking for AOpenAudio in -lAlib" >&5
9907 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 9919 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
9908 9920
9909 xe_check_libs=" -lAlib " 9921 xe_check_libs=" -lAlib "
9910 cat > conftest.$ac_ext <<EOF 9922 cat > conftest.$ac_ext <<EOF
9911 #line 9912 "configure" 9923 #line 9924 "configure"
9912 #include "confdefs.h" 9924 #include "confdefs.h"
9913 /* Override any gcc2 internal prototype to avoid an error. */ 9925 /* Override any gcc2 internal prototype to avoid an error. */
9914 /* We use char because int might match the return type of a gcc2 9926 /* We use char because int might match the return type of a gcc2
9915 builtin and then its argument prototype would still apply. */ 9927 builtin and then its argument prototype would still apply. */
9916 char AOpenAudio(); 9928 char AOpenAudio();
9917 9929
9918 int main() { 9930 int main() {
9919 AOpenAudio() 9931 AOpenAudio()
9920 ; return 0; } 9932 ; return 0; }
9921 EOF 9933 EOF
9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9934 if { (eval echo configure:9935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9923 rm -rf conftest* 9935 rm -rf conftest*
9924 eval "ac_cv_lib_$ac_lib_var=yes" 9936 eval "ac_cv_lib_$ac_lib_var=yes"
9925 else 9937 else
9926 echo "configure: failed program was:" >&5 9938 echo "configure: failed program was:" >&5
9927 cat conftest.$ac_ext >&5 9939 cat conftest.$ac_ext >&5
9955 9967
9956 if test -z "$sound_found"; then 9968 if test -z "$sound_found"; then
9957 for dir in "machine" "sys" "linux"; do 9969 for dir in "machine" "sys" "linux"; do
9958 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 9970 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
9959 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 9971 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
9960 echo "configure:9961: checking for ${dir}/soundcard.h" >&5 9972 echo "configure:9973: checking for ${dir}/soundcard.h" >&5
9961 9973
9962 cat > conftest.$ac_ext <<EOF 9974 cat > conftest.$ac_ext <<EOF
9963 #line 9964 "configure" 9975 #line 9976 "configure"
9964 #include "confdefs.h" 9976 #include "confdefs.h"
9965 #include <${dir}/soundcard.h> 9977 #include <${dir}/soundcard.h>
9966 EOF 9978 EOF
9967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9968 { (eval echo configure:9969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9980 { (eval echo configure:9981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9969 ac_err=`grep -v '^ *+' conftest.out` 9981 ac_err=`grep -v '^ *+' conftest.out`
9970 if test -z "$ac_err"; then 9982 if test -z "$ac_err"; then
9971 rm -rf conftest* 9983 rm -rf conftest*
9972 eval "ac_cv_header_$ac_safe=yes" 9984 eval "ac_cv_header_$ac_safe=yes"
9973 else 9985 else
10033 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 10045 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
10034 echo " xemacs will be linked with \"nas.o\"" 10046 echo " xemacs will be linked with \"nas.o\""
10035 fi 10047 fi
10036 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 10048 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
10037 cat > conftest.$ac_ext <<EOF 10049 cat > conftest.$ac_ext <<EOF
10038 #line 10039 "configure" 10050 #line 10051 "configure"
10039 #include "confdefs.h" 10051 #include "confdefs.h"
10040 #include <audio/Xtutil.h> 10052 #include <audio/Xtutil.h>
10041 EOF 10053 EOF
10042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10043 egrep "AuXtErrorJump" >/dev/null 2>&1; then 10055 egrep "AuXtErrorJump" >/dev/null 2>&1; then
10060 10072
10061 test -z "$with_tty" && with_tty=yes 10073 test -z "$with_tty" && with_tty=yes
10062 10074
10063 if test "$with_tty" = "yes" ; then 10075 if test "$with_tty" = "yes" ; then
10064 echo "checking for TTY-related features" 1>&6 10076 echo "checking for TTY-related features" 1>&6
10065 echo "configure:10066: checking for TTY-related features" >&5 10077 echo "configure:10078: checking for TTY-related features" >&5
10066 { test "$extra_verbose" = "yes" && cat << \EOF 10078 { test "$extra_verbose" = "yes" && cat << \EOF
10067 Defining HAVE_TTY 10079 Defining HAVE_TTY
10068 EOF 10080 EOF
10069 cat >> confdefs.h <<\EOF 10081 cat >> confdefs.h <<\EOF
10070 #define HAVE_TTY 1 10082 #define HAVE_TTY 1
10076 fi 10088 fi
10077 10089
10078 if test -z "$with_ncurses"; then 10090 if test -z "$with_ncurses"; then
10079 10091
10080 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 10092 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
10081 echo "configure:10082: checking for tgetent in -lncurses" >&5 10093 echo "configure:10094: checking for tgetent in -lncurses" >&5
10082 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 10094 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
10083 10095
10084 xe_check_libs=" -lncurses " 10096 xe_check_libs=" -lncurses "
10085 cat > conftest.$ac_ext <<EOF 10097 cat > conftest.$ac_ext <<EOF
10086 #line 10087 "configure" 10098 #line 10099 "configure"
10087 #include "confdefs.h" 10099 #include "confdefs.h"
10088 /* Override any gcc2 internal prototype to avoid an error. */ 10100 /* Override any gcc2 internal prototype to avoid an error. */
10089 /* We use char because int might match the return type of a gcc2 10101 /* We use char because int might match the return type of a gcc2
10090 builtin and then its argument prototype would still apply. */ 10102 builtin and then its argument prototype would still apply. */
10091 char tgetent(); 10103 char tgetent();
10092 10104
10093 int main() { 10105 int main() {
10094 tgetent() 10106 tgetent()
10095 ; return 0; } 10107 ; return 0; }
10096 EOF 10108 EOF
10097 if { (eval echo configure:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10109 if { (eval echo configure:10110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10098 rm -rf conftest* 10110 rm -rf conftest*
10099 eval "ac_cv_lib_$ac_lib_var=yes" 10111 eval "ac_cv_lib_$ac_lib_var=yes"
10100 else 10112 else
10101 echo "configure: failed program was:" >&5 10113 echo "configure: failed program was:" >&5
10102 cat conftest.$ac_ext >&5 10114 cat conftest.$ac_ext >&5
10125 EOF 10137 EOF
10126 } 10138 }
10127 10139
10128 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 10140 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
10129 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 10141 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
10130 echo "configure:10131: checking for ncurses/curses.h" >&5 10142 echo "configure:10143: checking for ncurses/curses.h" >&5
10131 10143
10132 cat > conftest.$ac_ext <<EOF 10144 cat > conftest.$ac_ext <<EOF
10133 #line 10134 "configure" 10145 #line 10146 "configure"
10134 #include "confdefs.h" 10146 #include "confdefs.h"
10135 #include <ncurses/curses.h> 10147 #include <ncurses/curses.h>
10136 EOF 10148 EOF
10137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10138 { (eval echo configure:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10150 { (eval echo configure:10151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10139 ac_err=`grep -v '^ *+' conftest.out` 10151 ac_err=`grep -v '^ *+' conftest.out`
10140 if test -z "$ac_err"; then 10152 if test -z "$ac_err"; then
10141 rm -rf conftest* 10153 rm -rf conftest*
10142 eval "ac_cv_header_$ac_safe=yes" 10154 eval "ac_cv_header_$ac_safe=yes"
10143 else 10155 else
10155 echo "$ac_t""no" 1>&6 10167 echo "$ac_t""no" 1>&6
10156 fi 10168 fi
10157 10169
10158 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 10170 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
10159 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 10171 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
10160 echo "configure:10161: checking for ncurses/term.h" >&5 10172 echo "configure:10173: checking for ncurses/term.h" >&5
10161 10173
10162 cat > conftest.$ac_ext <<EOF 10174 cat > conftest.$ac_ext <<EOF
10163 #line 10164 "configure" 10175 #line 10176 "configure"
10164 #include "confdefs.h" 10176 #include "confdefs.h"
10165 #include <ncurses/term.h> 10177 #include <ncurses/term.h>
10166 EOF 10178 EOF
10167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10168 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10180 { (eval echo configure:10181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10169 ac_err=`grep -v '^ *+' conftest.out` 10181 ac_err=`grep -v '^ *+' conftest.out`
10170 if test -z "$ac_err"; then 10182 if test -z "$ac_err"; then
10171 rm -rf conftest* 10183 rm -rf conftest*
10172 eval "ac_cv_header_$ac_safe=yes" 10184 eval "ac_cv_header_$ac_safe=yes"
10173 else 10185 else
10193 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 10205 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
10194 save_c_switch_site="$c_switch_site" 10206 save_c_switch_site="$c_switch_site"
10195 c_switch_site="$c_switch_site -I/usr/include/ncurses" 10207 c_switch_site="$c_switch_site -I/usr/include/ncurses"
10196 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 10208 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
10197 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 10209 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
10198 echo "configure:10199: checking for ncurses/curses.h" >&5 10210 echo "configure:10211: checking for ncurses/curses.h" >&5
10199 10211
10200 cat > conftest.$ac_ext <<EOF 10212 cat > conftest.$ac_ext <<EOF
10201 #line 10202 "configure" 10213 #line 10214 "configure"
10202 #include "confdefs.h" 10214 #include "confdefs.h"
10203 #include <ncurses/curses.h> 10215 #include <ncurses/curses.h>
10204 EOF 10216 EOF
10205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10206 { (eval echo configure:10207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10218 { (eval echo configure:10219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10207 ac_err=`grep -v '^ *+' conftest.out` 10219 ac_err=`grep -v '^ *+' conftest.out`
10208 if test -z "$ac_err"; then 10220 if test -z "$ac_err"; then
10209 rm -rf conftest* 10221 rm -rf conftest*
10210 eval "ac_cv_header_$ac_safe=yes" 10222 eval "ac_cv_header_$ac_safe=yes"
10211 else 10223 else
10236 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 10248 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
10237 else 10249 else
10238 for lib in curses termlib termcap; do 10250 for lib in curses termlib termcap; do
10239 10251
10240 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 10252 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
10241 echo "configure:10242: checking for tgetent in -l$lib" >&5 10253 echo "configure:10254: checking for tgetent in -l$lib" >&5
10242 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 10254 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
10243 10255
10244 xe_check_libs=" -l$lib " 10256 xe_check_libs=" -l$lib "
10245 cat > conftest.$ac_ext <<EOF 10257 cat > conftest.$ac_ext <<EOF
10246 #line 10247 "configure" 10258 #line 10259 "configure"
10247 #include "confdefs.h" 10259 #include "confdefs.h"
10248 /* Override any gcc2 internal prototype to avoid an error. */ 10260 /* Override any gcc2 internal prototype to avoid an error. */
10249 /* We use char because int might match the return type of a gcc2 10261 /* We use char because int might match the return type of a gcc2
10250 builtin and then its argument prototype would still apply. */ 10262 builtin and then its argument prototype would still apply. */
10251 char tgetent(); 10263 char tgetent();
10252 10264
10253 int main() { 10265 int main() {
10254 tgetent() 10266 tgetent()
10255 ; return 0; } 10267 ; return 0; }
10256 EOF 10268 EOF
10257 if { (eval echo configure:10258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10258 rm -rf conftest* 10270 rm -rf conftest*
10259 eval "ac_cv_lib_$ac_lib_var=yes" 10271 eval "ac_cv_lib_$ac_lib_var=yes"
10260 else 10272 else
10261 echo "configure: failed program was:" >&5 10273 echo "configure: failed program was:" >&5
10262 cat conftest.$ac_ext >&5 10274 cat conftest.$ac_ext >&5
10283 if test -n "$libs_termcap"; then 10295 if test -n "$libs_termcap"; then
10284 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 10296 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
10285 else 10297 else
10286 10298
10287 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 10299 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
10288 echo "configure:10289: checking for tgetent in -lcurses" >&5 10300 echo "configure:10301: checking for tgetent in -lcurses" >&5
10289 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 10301 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
10290 10302
10291 xe_check_libs=" -lcurses " 10303 xe_check_libs=" -lcurses "
10292 cat > conftest.$ac_ext <<EOF 10304 cat > conftest.$ac_ext <<EOF
10293 #line 10294 "configure" 10305 #line 10306 "configure"
10294 #include "confdefs.h" 10306 #include "confdefs.h"
10295 /* Override any gcc2 internal prototype to avoid an error. */ 10307 /* Override any gcc2 internal prototype to avoid an error. */
10296 /* We use char because int might match the return type of a gcc2 10308 /* We use char because int might match the return type of a gcc2
10297 builtin and then its argument prototype would still apply. */ 10309 builtin and then its argument prototype would still apply. */
10298 char tgetent(); 10310 char tgetent();
10299 10311
10300 int main() { 10312 int main() {
10301 tgetent() 10313 tgetent()
10302 ; return 0; } 10314 ; return 0; }
10303 EOF 10315 EOF
10304 if { (eval echo configure:10305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10316 if { (eval echo configure:10317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10305 rm -rf conftest* 10317 rm -rf conftest*
10306 eval "ac_cv_lib_$ac_lib_var=yes" 10318 eval "ac_cv_lib_$ac_lib_var=yes"
10307 else 10319 else
10308 echo "configure: failed program was:" >&5 10320 echo "configure: failed program was:" >&5
10309 cat conftest.$ac_ext >&5 10321 cat conftest.$ac_ext >&5
10317 echo "$ac_t""yes" 1>&6 10329 echo "$ac_t""yes" 1>&6
10318 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 10330 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
10319 else 10331 else
10320 echo "$ac_t""no" 1>&6 10332 echo "$ac_t""no" 1>&6
10321 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 10333 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
10322 echo "configure:10323: checking for tgetent in -ltermcap" >&5 10334 echo "configure:10335: checking for tgetent in -ltermcap" >&5
10323 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 10335 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
10324 10336
10325 xe_check_libs=" -ltermcap " 10337 xe_check_libs=" -ltermcap "
10326 cat > conftest.$ac_ext <<EOF 10338 cat > conftest.$ac_ext <<EOF
10327 #line 10328 "configure" 10339 #line 10340 "configure"
10328 #include "confdefs.h" 10340 #include "confdefs.h"
10329 /* Override any gcc2 internal prototype to avoid an error. */ 10341 /* Override any gcc2 internal prototype to avoid an error. */
10330 /* We use char because int might match the return type of a gcc2 10342 /* We use char because int might match the return type of a gcc2
10331 builtin and then its argument prototype would still apply. */ 10343 builtin and then its argument prototype would still apply. */
10332 char tgetent(); 10344 char tgetent();
10333 10345
10334 int main() { 10346 int main() {
10335 tgetent() 10347 tgetent()
10336 ; return 0; } 10348 ; return 0; }
10337 EOF 10349 EOF
10338 if { (eval echo configure:10339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10350 if { (eval echo configure:10351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10339 rm -rf conftest* 10351 rm -rf conftest*
10340 eval "ac_cv_lib_$ac_lib_var=yes" 10352 eval "ac_cv_lib_$ac_lib_var=yes"
10341 else 10353 else
10342 echo "configure: failed program was:" >&5 10354 echo "configure: failed program was:" >&5
10343 cat conftest.$ac_ext >&5 10355 cat conftest.$ac_ext >&5
10381 } 10393 }
10382 10394
10383 10395
10384 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 10396 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
10385 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 10397 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
10386 echo "configure:10387: checking for gpm.h" >&5 10398 echo "configure:10399: checking for gpm.h" >&5
10387 10399
10388 cat > conftest.$ac_ext <<EOF 10400 cat > conftest.$ac_ext <<EOF
10389 #line 10390 "configure" 10401 #line 10402 "configure"
10390 #include "confdefs.h" 10402 #include "confdefs.h"
10391 #include <gpm.h> 10403 #include <gpm.h>
10392 EOF 10404 EOF
10393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10394 { (eval echo configure:10395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10406 { (eval echo configure:10407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10395 ac_err=`grep -v '^ *+' conftest.out` 10407 ac_err=`grep -v '^ *+' conftest.out`
10396 if test -z "$ac_err"; then 10408 if test -z "$ac_err"; then
10397 rm -rf conftest* 10409 rm -rf conftest*
10398 eval "ac_cv_header_$ac_safe=yes" 10410 eval "ac_cv_header_$ac_safe=yes"
10399 else 10411 else
10412 with_gpm=no 10424 with_gpm=no
10413 fi 10425 fi
10414 } 10426 }
10415 test -z "$with_gpm" && { 10427 test -z "$with_gpm" && {
10416 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 10428 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
10417 echo "configure:10418: checking for Gpm_Open in -lgpm" >&5 10429 echo "configure:10430: checking for Gpm_Open in -lgpm" >&5
10418 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 10430 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
10419 10431
10420 xe_check_libs=" -lgpm " 10432 xe_check_libs=" -lgpm "
10421 cat > conftest.$ac_ext <<EOF 10433 cat > conftest.$ac_ext <<EOF
10422 #line 10423 "configure" 10434 #line 10435 "configure"
10423 #include "confdefs.h" 10435 #include "confdefs.h"
10424 /* Override any gcc2 internal prototype to avoid an error. */ 10436 /* Override any gcc2 internal prototype to avoid an error. */
10425 /* We use char because int might match the return type of a gcc2 10437 /* We use char because int might match the return type of a gcc2
10426 builtin and then its argument prototype would still apply. */ 10438 builtin and then its argument prototype would still apply. */
10427 char Gpm_Open(); 10439 char Gpm_Open();
10428 10440
10429 int main() { 10441 int main() {
10430 Gpm_Open() 10442 Gpm_Open()
10431 ; return 0; } 10443 ; return 0; }
10432 EOF 10444 EOF
10433 if { (eval echo configure:10434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10445 if { (eval echo configure:10446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10434 rm -rf conftest* 10446 rm -rf conftest*
10435 eval "ac_cv_lib_$ac_lib_var=yes" 10447 eval "ac_cv_lib_$ac_lib_var=yes"
10436 else 10448 else
10437 echo "configure: failed program was:" >&5 10449 echo "configure: failed program was:" >&5
10438 cat conftest.$ac_ext >&5 10450 cat conftest.$ac_ext >&5
10477 echo " xemacs will be linked with \"event-unixoid.o\"" 10489 echo " xemacs will be linked with \"event-unixoid.o\""
10478 fi 10490 fi
10479 10491
10480 10492
10481 echo "checking for database support" 1>&6 10493 echo "checking for database support" 1>&6
10482 echo "configure:10483: checking for database support" >&5 10494 echo "configure:10495: checking for database support" >&5
10483 10495
10484 if test "$with_database_gnudbm" != "no"; then 10496 if test "$with_database_gnudbm" != "no"; then
10485 for ac_hdr in ndbm.h 10497 for ac_hdr in ndbm.h
10486 do 10498 do
10487 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10499 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10488 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10500 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10489 echo "configure:10490: checking for $ac_hdr" >&5 10501 echo "configure:10502: checking for $ac_hdr" >&5
10490 10502
10491 cat > conftest.$ac_ext <<EOF 10503 cat > conftest.$ac_ext <<EOF
10492 #line 10493 "configure" 10504 #line 10505 "configure"
10493 #include "confdefs.h" 10505 #include "confdefs.h"
10494 #include <$ac_hdr> 10506 #include <$ac_hdr>
10495 EOF 10507 EOF
10496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10497 { (eval echo configure:10498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10509 { (eval echo configure:10510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10498 ac_err=`grep -v '^ *+' conftest.out` 10510 ac_err=`grep -v '^ *+' conftest.out`
10499 if test -z "$ac_err"; then 10511 if test -z "$ac_err"; then
10500 rm -rf conftest* 10512 rm -rf conftest*
10501 eval "ac_cv_header_$ac_safe=yes" 10513 eval "ac_cv_header_$ac_safe=yes"
10502 else 10514 else
10524 done 10536 done
10525 10537
10526 if test "$have_ndbm_h" = "yes"; then 10538 if test "$have_ndbm_h" = "yes"; then
10527 10539
10528 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 10540 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
10529 echo "configure:10530: checking for dbm_open in -lgdbm" >&5 10541 echo "configure:10542: checking for dbm_open in -lgdbm" >&5
10530 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 10542 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
10531 10543
10532 xe_check_libs=" -lgdbm " 10544 xe_check_libs=" -lgdbm "
10533 cat > conftest.$ac_ext <<EOF 10545 cat > conftest.$ac_ext <<EOF
10534 #line 10535 "configure" 10546 #line 10547 "configure"
10535 #include "confdefs.h" 10547 #include "confdefs.h"
10536 /* Override any gcc2 internal prototype to avoid an error. */ 10548 /* Override any gcc2 internal prototype to avoid an error. */
10537 /* We use char because int might match the return type of a gcc2 10549 /* We use char because int might match the return type of a gcc2
10538 builtin and then its argument prototype would still apply. */ 10550 builtin and then its argument prototype would still apply. */
10539 char dbm_open(); 10551 char dbm_open();
10540 10552
10541 int main() { 10553 int main() {
10542 dbm_open() 10554 dbm_open()
10543 ; return 0; } 10555 ; return 0; }
10544 EOF 10556 EOF
10545 if { (eval echo configure:10546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10557 if { (eval echo configure:10558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10546 rm -rf conftest* 10558 rm -rf conftest*
10547 eval "ac_cv_lib_$ac_lib_var=yes" 10559 eval "ac_cv_lib_$ac_lib_var=yes"
10548 else 10560 else
10549 echo "configure: failed program was:" >&5 10561 echo "configure: failed program was:" >&5
10550 cat conftest.$ac_ext >&5 10562 cat conftest.$ac_ext >&5
10563 10575
10564 10576
10565 fi 10577 fi
10566 if test "$with_database_gnudbm" != "yes"; then 10578 if test "$with_database_gnudbm" != "yes"; then
10567 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 10579 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
10568 echo "configure:10569: checking for dbm_open" >&5 10580 echo "configure:10581: checking for dbm_open" >&5
10569 10581
10570 cat > conftest.$ac_ext <<EOF 10582 cat > conftest.$ac_ext <<EOF
10571 #line 10572 "configure" 10583 #line 10584 "configure"
10572 #include "confdefs.h" 10584 #include "confdefs.h"
10573 /* System header to define __stub macros and hopefully few prototypes, 10585 /* System header to define __stub macros and hopefully few prototypes,
10574 which can conflict with char dbm_open(); below. */ 10586 which can conflict with char dbm_open(); below. */
10575 #include <assert.h> 10587 #include <assert.h>
10576 /* Override any gcc2 internal prototype to avoid an error. */ 10588 /* Override any gcc2 internal prototype to avoid an error. */
10589 dbm_open(); 10601 dbm_open();
10590 #endif 10602 #endif
10591 10603
10592 ; return 0; } 10604 ; return 0; }
10593 EOF 10605 EOF
10594 if { (eval echo configure:10595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10606 if { (eval echo configure:10607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10595 rm -rf conftest* 10607 rm -rf conftest*
10596 eval "ac_cv_func_dbm_open=yes" 10608 eval "ac_cv_func_dbm_open=yes"
10597 else 10609 else
10598 echo "configure: failed program was:" >&5 10610 echo "configure: failed program was:" >&5
10599 cat conftest.$ac_ext >&5 10611 cat conftest.$ac_ext >&5
10625 fi 10637 fi
10626 fi 10638 fi
10627 10639
10628 if test "$with_database_dbm" != "no"; then 10640 if test "$with_database_dbm" != "no"; then
10629 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 10641 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
10630 echo "configure:10631: checking for dbm_open" >&5 10642 echo "configure:10643: checking for dbm_open" >&5
10631 10643
10632 cat > conftest.$ac_ext <<EOF 10644 cat > conftest.$ac_ext <<EOF
10633 #line 10634 "configure" 10645 #line 10646 "configure"
10634 #include "confdefs.h" 10646 #include "confdefs.h"
10635 /* System header to define __stub macros and hopefully few prototypes, 10647 /* System header to define __stub macros and hopefully few prototypes,
10636 which can conflict with char dbm_open(); below. */ 10648 which can conflict with char dbm_open(); below. */
10637 #include <assert.h> 10649 #include <assert.h>
10638 /* Override any gcc2 internal prototype to avoid an error. */ 10650 /* Override any gcc2 internal prototype to avoid an error. */
10651 dbm_open(); 10663 dbm_open();
10652 #endif 10664 #endif
10653 10665
10654 ; return 0; } 10666 ; return 0; }
10655 EOF 10667 EOF
10656 if { (eval echo configure:10657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10668 if { (eval echo configure:10669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10657 rm -rf conftest* 10669 rm -rf conftest*
10658 eval "ac_cv_func_dbm_open=yes" 10670 eval "ac_cv_func_dbm_open=yes"
10659 else 10671 else
10660 echo "configure: failed program was:" >&5 10672 echo "configure: failed program was:" >&5
10661 cat conftest.$ac_ext >&5 10673 cat conftest.$ac_ext >&5
10672 fi 10684 fi
10673 10685
10674 if test "$need_libdbm" != "no"; then 10686 if test "$need_libdbm" != "no"; then
10675 10687
10676 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 10688 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
10677 echo "configure:10678: checking for dbm_open in -ldbm" >&5 10689 echo "configure:10690: checking for dbm_open in -ldbm" >&5
10678 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 10690 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
10679 10691
10680 xe_check_libs=" -ldbm " 10692 xe_check_libs=" -ldbm "
10681 cat > conftest.$ac_ext <<EOF 10693 cat > conftest.$ac_ext <<EOF
10682 #line 10683 "configure" 10694 #line 10695 "configure"
10683 #include "confdefs.h" 10695 #include "confdefs.h"
10684 /* Override any gcc2 internal prototype to avoid an error. */ 10696 /* Override any gcc2 internal prototype to avoid an error. */
10685 /* We use char because int might match the return type of a gcc2 10697 /* We use char because int might match the return type of a gcc2
10686 builtin and then its argument prototype would still apply. */ 10698 builtin and then its argument prototype would still apply. */
10687 char dbm_open(); 10699 char dbm_open();
10688 10700
10689 int main() { 10701 int main() {
10690 dbm_open() 10702 dbm_open()
10691 ; return 0; } 10703 ; return 0; }
10692 EOF 10704 EOF
10693 if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10705 if { (eval echo configure:10706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10694 rm -rf conftest* 10706 rm -rf conftest*
10695 eval "ac_cv_lib_$ac_lib_var=yes" 10707 eval "ac_cv_lib_$ac_lib_var=yes"
10696 else 10708 else
10697 echo "configure: failed program was:" >&5 10709 echo "configure: failed program was:" >&5
10698 cat conftest.$ac_ext >&5 10710 cat conftest.$ac_ext >&5
10725 fi 10737 fi
10726 fi 10738 fi
10727 10739
10728 if test "$with_database_berkdb" != "no"; then 10740 if test "$with_database_berkdb" != "no"; then
10729 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 10741 echo $ac_n "checking for dbopen""... $ac_c" 1>&6
10730 echo "configure:10731: checking for dbopen" >&5 10742 echo "configure:10743: checking for dbopen" >&5
10731 10743
10732 cat > conftest.$ac_ext <<EOF 10744 cat > conftest.$ac_ext <<EOF
10733 #line 10734 "configure" 10745 #line 10746 "configure"
10734 #include "confdefs.h" 10746 #include "confdefs.h"
10735 /* System header to define __stub macros and hopefully few prototypes, 10747 /* System header to define __stub macros and hopefully few prototypes,
10736 which can conflict with char dbopen(); below. */ 10748 which can conflict with char dbopen(); below. */
10737 #include <assert.h> 10749 #include <assert.h>
10738 /* Override any gcc2 internal prototype to avoid an error. */ 10750 /* Override any gcc2 internal prototype to avoid an error. */
10751 dbopen(); 10763 dbopen();
10752 #endif 10764 #endif
10753 10765
10754 ; return 0; } 10766 ; return 0; }
10755 EOF 10767 EOF
10756 if { (eval echo configure:10757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10768 if { (eval echo configure:10769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10757 rm -rf conftest* 10769 rm -rf conftest*
10758 eval "ac_cv_func_dbopen=yes" 10770 eval "ac_cv_func_dbopen=yes"
10759 else 10771 else
10760 echo "configure: failed program was:" >&5 10772 echo "configure: failed program was:" >&5
10761 cat conftest.$ac_ext >&5 10773 cat conftest.$ac_ext >&5
10772 fi 10784 fi
10773 10785
10774 if test "$need_libdb" != "no"; then 10786 if test "$need_libdb" != "no"; then
10775 10787
10776 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 10788 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
10777 echo "configure:10778: checking for dbopen in -ldb" >&5 10789 echo "configure:10790: checking for dbopen in -ldb" >&5
10778 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` 10790 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'`
10779 10791
10780 xe_check_libs=" -ldb " 10792 xe_check_libs=" -ldb "
10781 cat > conftest.$ac_ext <<EOF 10793 cat > conftest.$ac_ext <<EOF
10782 #line 10783 "configure" 10794 #line 10795 "configure"
10783 #include "confdefs.h" 10795 #include "confdefs.h"
10784 /* Override any gcc2 internal prototype to avoid an error. */ 10796 /* Override any gcc2 internal prototype to avoid an error. */
10785 /* We use char because int might match the return type of a gcc2 10797 /* We use char because int might match the return type of a gcc2
10786 builtin and then its argument prototype would still apply. */ 10798 builtin and then its argument prototype would still apply. */
10787 char dbopen(); 10799 char dbopen();
10788 10800
10789 int main() { 10801 int main() {
10790 dbopen() 10802 dbopen()
10791 ; return 0; } 10803 ; return 0; }
10792 EOF 10804 EOF
10793 if { (eval echo configure:10794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10805 if { (eval echo configure:10806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10794 rm -rf conftest* 10806 rm -rf conftest*
10795 eval "ac_cv_lib_$ac_lib_var=yes" 10807 eval "ac_cv_lib_$ac_lib_var=yes"
10796 else 10808 else
10797 echo "configure: failed program was:" >&5 10809 echo "configure: failed program was:" >&5
10798 cat conftest.$ac_ext >&5 10810 cat conftest.$ac_ext >&5
10812 10824
10813 fi 10825 fi
10814 if test "$with_database_berkdb" = "yes"; then 10826 if test "$with_database_berkdb" = "yes"; then
10815 for path in "db/db.h" "db.h"; do 10827 for path in "db/db.h" "db.h"; do
10816 cat > conftest.$ac_ext <<EOF 10828 cat > conftest.$ac_ext <<EOF
10817 #line 10818 "configure" 10829 #line 10830 "configure"
10818 #include "confdefs.h" 10830 #include "confdefs.h"
10819 #ifdef HAVE_INTTYPES_H 10831 #ifdef HAVE_INTTYPES_H
10820 #define __BIT_TYPES_DEFINED__ 10832 #define __BIT_TYPES_DEFINED__
10821 #include <inttypes.h> 10833 #include <inttypes.h>
10822 typedef uint8_t u_int8_t; 10834 typedef uint8_t u_int8_t;
10830 10842
10831 int main() { 10843 int main() {
10832 10844
10833 ; return 0; } 10845 ; return 0; }
10834 EOF 10846 EOF
10835 if { (eval echo configure:10836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 10847 if { (eval echo configure:10848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10836 rm -rf conftest* 10848 rm -rf conftest*
10837 db_h_path="$path"; break 10849 db_h_path="$path"; break
10838 else 10850 else
10839 echo "configure: failed program was:" >&5 10851 echo "configure: failed program was:" >&5
10840 cat conftest.$ac_ext >&5 10852 cat conftest.$ac_ext >&5
10881 fi 10893 fi
10882 10894
10883 if test "$with_socks" = "yes"; then 10895 if test "$with_socks" = "yes"; then
10884 10896
10885 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 10897 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
10886 echo "configure:10887: checking for SOCKSinit in -lsocks" >&5 10898 echo "configure:10899: checking for SOCKSinit in -lsocks" >&5
10887 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 10899 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
10888 10900
10889 xe_check_libs=" -lsocks " 10901 xe_check_libs=" -lsocks "
10890 cat > conftest.$ac_ext <<EOF 10902 cat > conftest.$ac_ext <<EOF
10891 #line 10892 "configure" 10903 #line 10904 "configure"
10892 #include "confdefs.h" 10904 #include "confdefs.h"
10893 /* Override any gcc2 internal prototype to avoid an error. */ 10905 /* Override any gcc2 internal prototype to avoid an error. */
10894 /* We use char because int might match the return type of a gcc2 10906 /* We use char because int might match the return type of a gcc2
10895 builtin and then its argument prototype would still apply. */ 10907 builtin and then its argument prototype would still apply. */
10896 char SOCKSinit(); 10908 char SOCKSinit();
10897 10909
10898 int main() { 10910 int main() {
10899 SOCKSinit() 10911 SOCKSinit()
10900 ; return 0; } 10912 ; return 0; }
10901 EOF 10913 EOF
10902 if { (eval echo configure:10903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 10914 if { (eval echo configure:10915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
10903 rm -rf conftest* 10915 rm -rf conftest*
10904 eval "ac_cv_lib_$ac_lib_var=yes" 10916 eval "ac_cv_lib_$ac_lib_var=yes"
10905 else 10917 else
10906 echo "configure: failed program was:" >&5 10918 echo "configure: failed program was:" >&5
10907 cat conftest.$ac_ext >&5 10919 cat conftest.$ac_ext >&5
10954 10966
10955 for ac_hdr in dlfcn.h 10967 for ac_hdr in dlfcn.h
10956 do 10968 do
10957 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10969 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10958 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10970 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10959 echo "configure:10960: checking for $ac_hdr" >&5 10971 echo "configure:10972: checking for $ac_hdr" >&5
10960 10972
10961 cat > conftest.$ac_ext <<EOF 10973 cat > conftest.$ac_ext <<EOF
10962 #line 10963 "configure" 10974 #line 10975 "configure"
10963 #include "confdefs.h" 10975 #include "confdefs.h"
10964 #include <$ac_hdr> 10976 #include <$ac_hdr>
10965 EOF 10977 EOF
10966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10967 { (eval echo configure:10968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10979 { (eval echo configure:10980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10968 ac_err=`grep -v '^ *+' conftest.out` 10980 ac_err=`grep -v '^ *+' conftest.out`
10969 if test -z "$ac_err"; then 10981 if test -z "$ac_err"; then
10970 rm -rf conftest* 10982 rm -rf conftest*
10971 eval "ac_cv_header_$ac_safe=yes" 10983 eval "ac_cv_header_$ac_safe=yes"
10972 else 10984 else
10993 fi 11005 fi
10994 done 11006 done
10995 11007
10996 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11008 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
10997 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 11009 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
10998 echo "configure:10999: checking for dlopen in -ldl" >&5 11010 echo "configure:11011: checking for dlopen in -ldl" >&5
10999 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 11011 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11000 11012
11001 xe_check_libs=" -ldl " 11013 xe_check_libs=" -ldl "
11002 cat > conftest.$ac_ext <<EOF 11014 cat > conftest.$ac_ext <<EOF
11003 #line 11004 "configure" 11015 #line 11016 "configure"
11004 #include "confdefs.h" 11016 #include "confdefs.h"
11005 /* Override any gcc2 internal prototype to avoid an error. */ 11017 /* Override any gcc2 internal prototype to avoid an error. */
11006 /* We use char because int might match the return type of a gcc2 11018 /* We use char because int might match the return type of a gcc2
11007 builtin and then its argument prototype would still apply. */ 11019 builtin and then its argument prototype would still apply. */
11008 char dlopen(); 11020 char dlopen();
11009 11021
11010 int main() { 11022 int main() {
11011 dlopen() 11023 dlopen()
11012 ; return 0; } 11024 ; return 0; }
11013 EOF 11025 EOF
11014 if { (eval echo configure:11015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11026 if { (eval echo configure:11027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11015 rm -rf conftest* 11027 rm -rf conftest*
11016 eval "ac_cv_lib_$ac_lib_var=yes" 11028 eval "ac_cv_lib_$ac_lib_var=yes"
11017 else 11029 else
11018 echo "configure: failed program was:" >&5 11030 echo "configure: failed program was:" >&5
11019 cat conftest.$ac_ext >&5 11031 cat conftest.$ac_ext >&5
11038 fi 11050 fi
11039 11051
11040 } 11052 }
11041 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11053 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
11042 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 11054 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6
11043 echo "configure:11044: checking for _dlopen in -lc" >&5 11055 echo "configure:11056: checking for _dlopen in -lc" >&5
11044 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` 11056 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'`
11045 11057
11046 xe_check_libs=" -lc " 11058 xe_check_libs=" -lc "
11047 cat > conftest.$ac_ext <<EOF 11059 cat > conftest.$ac_ext <<EOF
11048 #line 11049 "configure" 11060 #line 11061 "configure"
11049 #include "confdefs.h" 11061 #include "confdefs.h"
11050 /* Override any gcc2 internal prototype to avoid an error. */ 11062 /* Override any gcc2 internal prototype to avoid an error. */
11051 /* We use char because int might match the return type of a gcc2 11063 /* We use char because int might match the return type of a gcc2
11052 builtin and then its argument prototype would still apply. */ 11064 builtin and then its argument prototype would still apply. */
11053 char _dlopen(); 11065 char _dlopen();
11054 11066
11055 int main() { 11067 int main() {
11056 _dlopen() 11068 _dlopen()
11057 ; return 0; } 11069 ; return 0; }
11058 EOF 11070 EOF
11059 if { (eval echo configure:11060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11071 if { (eval echo configure:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11060 rm -rf conftest* 11072 rm -rf conftest*
11061 eval "ac_cv_lib_$ac_lib_var=yes" 11073 eval "ac_cv_lib_$ac_lib_var=yes"
11062 else 11074 else
11063 echo "configure: failed program was:" >&5 11075 echo "configure: failed program was:" >&5
11064 cat conftest.$ac_ext >&5 11076 cat conftest.$ac_ext >&5
11083 fi 11095 fi
11084 11096
11085 } 11097 }
11086 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11098 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
11087 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 11099 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
11088 echo "configure:11089: checking for dlopen in -lc" >&5 11100 echo "configure:11101: checking for dlopen in -lc" >&5
11089 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` 11101 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
11090 11102
11091 xe_check_libs=" -lc " 11103 xe_check_libs=" -lc "
11092 cat > conftest.$ac_ext <<EOF 11104 cat > conftest.$ac_ext <<EOF
11093 #line 11094 "configure" 11105 #line 11106 "configure"
11094 #include "confdefs.h" 11106 #include "confdefs.h"
11095 /* Override any gcc2 internal prototype to avoid an error. */ 11107 /* Override any gcc2 internal prototype to avoid an error. */
11096 /* We use char because int might match the return type of a gcc2 11108 /* We use char because int might match the return type of a gcc2
11097 builtin and then its argument prototype would still apply. */ 11109 builtin and then its argument prototype would still apply. */
11098 char dlopen(); 11110 char dlopen();
11099 11111
11100 int main() { 11112 int main() {
11101 dlopen() 11113 dlopen()
11102 ; return 0; } 11114 ; return 0; }
11103 EOF 11115 EOF
11104 if { (eval echo configure:11105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11116 if { (eval echo configure:11117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11105 rm -rf conftest* 11117 rm -rf conftest*
11106 eval "ac_cv_lib_$ac_lib_var=yes" 11118 eval "ac_cv_lib_$ac_lib_var=yes"
11107 else 11119 else
11108 echo "configure: failed program was:" >&5 11120 echo "configure: failed program was:" >&5
11109 cat conftest.$ac_ext >&5 11121 cat conftest.$ac_ext >&5
11128 fi 11140 fi
11129 11141
11130 } 11142 }
11131 test -z "$with_shlib" && { 11143 test -z "$with_shlib" && {
11132 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 11144 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
11133 echo "configure:11134: checking for shl_load in -ldld" >&5 11145 echo "configure:11146: checking for shl_load in -ldld" >&5
11134 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 11146 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
11135 11147
11136 xe_check_libs=" -ldld " 11148 xe_check_libs=" -ldld "
11137 cat > conftest.$ac_ext <<EOF 11149 cat > conftest.$ac_ext <<EOF
11138 #line 11139 "configure" 11150 #line 11151 "configure"
11139 #include "confdefs.h" 11151 #include "confdefs.h"
11140 /* Override any gcc2 internal prototype to avoid an error. */ 11152 /* Override any gcc2 internal prototype to avoid an error. */
11141 /* We use char because int might match the return type of a gcc2 11153 /* We use char because int might match the return type of a gcc2
11142 builtin and then its argument prototype would still apply. */ 11154 builtin and then its argument prototype would still apply. */
11143 char shl_load(); 11155 char shl_load();
11144 11156
11145 int main() { 11157 int main() {
11146 shl_load() 11158 shl_load()
11147 ; return 0; } 11159 ; return 0; }
11148 EOF 11160 EOF
11149 if { (eval echo configure:11150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11161 if { (eval echo configure:11162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11150 rm -rf conftest* 11162 rm -rf conftest*
11151 eval "ac_cv_lib_$ac_lib_var=yes" 11163 eval "ac_cv_lib_$ac_lib_var=yes"
11152 else 11164 else
11153 echo "configure: failed program was:" >&5 11165 echo "configure: failed program was:" >&5
11154 cat conftest.$ac_ext >&5 11166 cat conftest.$ac_ext >&5
11173 fi 11185 fi
11174 11186
11175 } 11187 }
11176 test -z "$with_shlib" && { 11188 test -z "$with_shlib" && {
11177 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 11189 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
11178 echo "configure:11179: checking for dld_init in -ldld" >&5 11190 echo "configure:11191: checking for dld_init in -ldld" >&5
11179 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 11191 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
11180 11192
11181 xe_check_libs=" -ldld " 11193 xe_check_libs=" -ldld "
11182 cat > conftest.$ac_ext <<EOF 11194 cat > conftest.$ac_ext <<EOF
11183 #line 11184 "configure" 11195 #line 11196 "configure"
11184 #include "confdefs.h" 11196 #include "confdefs.h"
11185 /* Override any gcc2 internal prototype to avoid an error. */ 11197 /* Override any gcc2 internal prototype to avoid an error. */
11186 /* We use char because int might match the return type of a gcc2 11198 /* We use char because int might match the return type of a gcc2
11187 builtin and then its argument prototype would still apply. */ 11199 builtin and then its argument prototype would still apply. */
11188 char dld_init(); 11200 char dld_init();
11189 11201
11190 int main() { 11202 int main() {
11191 dld_init() 11203 dld_init()
11192 ; return 0; } 11204 ; return 0; }
11193 EOF 11205 EOF
11194 if { (eval echo configure:11195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11195 rm -rf conftest* 11207 rm -rf conftest*
11196 eval "ac_cv_lib_$ac_lib_var=yes" 11208 eval "ac_cv_lib_$ac_lib_var=yes"
11197 else 11209 else
11198 echo "configure: failed program was:" >&5 11210 echo "configure: failed program was:" >&5
11199 cat conftest.$ac_ext >&5 11211 cat conftest.$ac_ext >&5
11239 dll_lflags="-shared" 11251 dll_lflags="-shared"
11240 dll_cflags="-r" 11252 dll_cflags="-r"
11241 dll_oflags="-o " 11253 dll_oflags="-o "
11242 11254
11243 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 11255 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6
11244 echo "configure:11245: checking how to build a shared library" >&5 11256 echo "configure:11257: checking how to build a shared library" >&5
11245 case `uname -rs` in 11257 case `uname -rs` in
11246 UNIX_SV*|UNIX_System_V*) 11258 UNIX_SV*|UNIX_System_V*)
11247 dll_lflags="-G" 11259 dll_lflags="-G"
11248 dll_cflags=-Kpic 11260 dll_cflags=-Kpic
11249 dll_ld="ld" 11261 dll_ld="ld"
11330 11342
11331 11343
11332 for ac_func in dlerror 11344 for ac_func in dlerror
11333 do 11345 do
11334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11335 echo "configure:11336: checking for $ac_func" >&5 11347 echo "configure:11348: checking for $ac_func" >&5
11336 11348
11337 cat > conftest.$ac_ext <<EOF 11349 cat > conftest.$ac_ext <<EOF
11338 #line 11339 "configure" 11350 #line 11351 "configure"
11339 #include "confdefs.h" 11351 #include "confdefs.h"
11340 /* System header to define __stub macros and hopefully few prototypes, 11352 /* System header to define __stub macros and hopefully few prototypes,
11341 which can conflict with char $ac_func(); below. */ 11353 which can conflict with char $ac_func(); below. */
11342 #include <assert.h> 11354 #include <assert.h>
11343 /* Override any gcc2 internal prototype to avoid an error. */ 11355 /* Override any gcc2 internal prototype to avoid an error. */
11356 $ac_func(); 11368 $ac_func();
11357 #endif 11369 #endif
11358 11370
11359 ; return 0; } 11371 ; return 0; }
11360 EOF 11372 EOF
11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 11373 if { (eval echo configure:11374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
11362 rm -rf conftest* 11374 rm -rf conftest*
11363 eval "ac_cv_func_$ac_func=yes" 11375 eval "ac_cv_func_$ac_func=yes"
11364 else 11376 else
11365 echo "configure: failed program was:" >&5 11377 echo "configure: failed program was:" >&5
11366 cat conftest.$ac_ext >&5 11378 cat conftest.$ac_ext >&5
11392 *) ;; 11404 *) ;;
11393 esac 11405 esac
11394 fi 11406 fi
11395 11407
11396 cat > conftest.$ac_ext <<EOF 11408 cat > conftest.$ac_ext <<EOF
11397 #line 11398 "configure" 11409 #line 11410 "configure"
11398 #include "confdefs.h" 11410 #include "confdefs.h"
11399 int main(int c,char *v[]){return 0;} 11411 int main(int c,char *v[]){return 0;}
11400 EOF 11412 EOF
11401 if { (eval echo configure:11402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 11413 if { (eval echo configure:11414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
11402 then 11414 then
11403 : 11415 :
11404 else 11416 else
11405 echo "configure: failed program was:" >&5 11417 echo "configure: failed program was:" >&5
11406 cat conftest.$ac_ext >&5 11418 cat conftest.$ac_ext >&5