comparison configure @ 165:5a88923fcbfe r20-3b9

Import from CVS: tag r20-3b9
author cvs
date Mon, 13 Aug 2007 09:44:42 +0200
parents 0132846995bd
children 85ec50267440
comparison
equal deleted inserted replaced
164:4e0740e5aab2 165:5a88923fcbfe
2122 #endif /* not THIS_IS_CONFIGURE */ 2122 #endif /* not THIS_IS_CONFIGURE */
2123 #endif /* 0 */ 2123 #endif /* 0 */
2124 ' > $tempcname 2124 ' > $tempcname
2125 CPP=`eval "echo $CPP"` 2125 CPP=`eval "echo $CPP"`
2126 eval `$CPP -Isrc $tempcname \ 2126 eval `$CPP -Isrc $tempcname \
2127 | sed -n -e "s/[ \t]*=[ \t\"]*/='/" -e "s/[ \t\"]*\$/'/" -e "s/^configure___//p"` 2127 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
2128
2129 2128
2130 rm $tempcname 2129 rm $tempcname
2131 2130
2132 test "$extra_verbose" = "yes" && \ 2131 test "$extra_verbose" = "yes" && \
2133 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system c_switch_x_system ld_switch_machine ld_switch_system ld_switch_x_system unexec ld_switch_call_shared ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" 2132 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system c_switch_x_system ld_switch_machine ld_switch_system ld_switch_x_system unexec ld_switch_call_shared ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo ""
2186 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then 2185 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then
2187 echo " xemacs will be linked with \"$unexec\"" 2186 echo " xemacs will be linked with \"$unexec\""
2188 fi 2187 fi
2189 2188
2190 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 2189 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
2191 echo "configure:2192: checking for dynodump" >&5 2190 echo "configure:2191: checking for dynodump" >&5
2192 if test "$unexec" != "unexsol2.o"; then 2191 if test "$unexec" != "unexsol2.o"; then
2193 echo "$ac_t""no" 1>&6 2192 echo "$ac_t""no" 1>&6
2194 else 2193 else
2195 echo "$ac_t""yes" 1>&6 2194 echo "$ac_t""yes" 1>&6
2196 { test "$extra_verbose" = "yes" && cat << \EOF 2195 { test "$extra_verbose" = "yes" && cat << \EOF
2242 for dir in "/usr/ccs/lib"; do 2241 for dir in "/usr/ccs/lib"; do
2243 test -d "$dir" && ld_switch_site="$ld_switch_site -L${dir}" && if test "$extra_verbose" = "yes"; then echo " Appending \"-L${dir}\" to \$ld_switch_site"; fi 2242 test -d "$dir" && ld_switch_site="$ld_switch_site -L${dir}" && if test "$extra_verbose" = "yes"; then echo " Appending \"-L${dir}\" to \$ld_switch_site"; fi
2244 done 2243 done
2245 2244
2246 if test -n "$site_runtime_libraries" ; then 2245 if test -n "$site_runtime_libraries" ; then
2247 LD_RUN_PATH="`echo $site_runtime_libraries | sed 's/ */:/'`" 2246 LD_RUN_PATH="`echo $site_runtime_libraries | sed -e 's/ */:/g'`"
2248 export LD_RUN_PATH 2247 export LD_RUN_PATH
2249 fi 2248 fi
2250 2249
2251 2250
2252 if test "$dynamic" = "no"; then add_runtime_path=no 2251 if test "$dynamic" = "no"; then add_runtime_path=no
2257 esac 2256 esac
2258 fi 2257 fi
2259 2258
2260 if test "$add_runtime_path" = "yes"; then 2259 if test "$add_runtime_path" = "yes"; then
2261 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 2260 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
2262 echo "configure:2263: checking "for runtime libraries flag"" >&5 2261 echo "configure:2262: checking "for runtime libraries flag"" >&5
2263 dash_r="" 2262 dash_r=""
2264 for try_dash_r in "-R" "-R " "-rpath "; do 2263 for try_dash_r in "-R" "-R " "-rpath "; do
2265 xe_check_libs="${try_dash_r}/no/such/file-or-directory" 2264 xe_check_libs="${try_dash_r}/no/such/file-or-directory"
2266 cat > conftest.$ac_ext <<EOF 2265 cat > conftest.$ac_ext <<EOF
2267 #line 2268 "configure" 2266 #line 2267 "configure"
2268 #include "confdefs.h" 2267 #include "confdefs.h"
2269 2268
2270 int main() { 2269 int main() {
2271 2270
2272 ; return 0; } 2271 ; return 0; }
2273 EOF 2272 EOF
2274 if { (eval echo configure:2275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2273 if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2275 rm -rf conftest* 2274 rm -rf conftest*
2276 dash_r="$try_dash_r" 2275 dash_r="$try_dash_r"
2277 else 2276 else
2278 echo "configure: failed program was:" >&5 2277 echo "configure: failed program was:" >&5
2279 cat conftest.$ac_ext >&5 2278 cat conftest.$ac_ext >&5
2300 2299
2301 2300
2302 2301
2303 2302
2304 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then 2303 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then
2305 ld_switch_site=`echo '' $ld_switch_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//"` 2304 ld_switch_site=`echo '' $ld_switch_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"`
2306 ld_switch_x_site=`echo '' $ld_switch_x_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//"` 2305 ld_switch_x_site=`echo '' $ld_switch_x_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"`
2307 2306
2308 runpath="" runpath_dirs="" 2307 runpath="" runpath_dirs=""
2309 if test -n "$LD_RUN_PATH"; then 2308 if test -n "$LD_RUN_PATH"; then
2310 runpath="$LD_RUN_PATH" 2309 runpath="$LD_RUN_PATH"
2311 elif test "$GCC" = "yes"; then 2310 elif test "$GCC" = "yes"; then
2363 2362
2364 2363
2365 # Extract the first word of "ranlib", so it can be a program name with args. 2364 # Extract the first word of "ranlib", so it can be a program name with args.
2366 set dummy ranlib; ac_word=$2 2365 set dummy ranlib; ac_word=$2
2367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2368 echo "configure:2369: checking for $ac_word" >&5 2367 echo "configure:2368: checking for $ac_word" >&5
2369 2368
2370 if test -n "$RANLIB"; then 2369 if test -n "$RANLIB"; then
2371 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2370 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2372 else 2371 else
2373 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2372 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2416 # AIX /bin/install 2415 # AIX /bin/install
2417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2419 # ./install, which can be erroneously created by make from ./install.sh. 2418 # ./install, which can be erroneously created by make from ./install.sh.
2420 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2419 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2421 echo "configure:2422: checking for a BSD compatible install" >&5 2420 echo "configure:2421: checking for a BSD compatible install" >&5
2422 if test -z "$INSTALL"; then 2421 if test -z "$INSTALL"; then
2423 2422
2424 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 2423 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
2425 for ac_dir in $PATH; do 2424 for ac_dir in $PATH; do
2426 # Account for people who put trailing slashes in PATH elements. 2425 # Account for people who put trailing slashes in PATH elements.
2467 for ac_prog in 'bison -y' byacc 2466 for ac_prog in 'bison -y' byacc
2468 do 2467 do
2469 # Extract the first word of "$ac_prog", so it can be a program name with args. 2468 # Extract the first word of "$ac_prog", so it can be a program name with args.
2470 set dummy $ac_prog; ac_word=$2 2469 set dummy $ac_prog; ac_word=$2
2471 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2470 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2472 echo "configure:2473: checking for $ac_word" >&5 2471 echo "configure:2472: checking for $ac_word" >&5
2473 2472
2474 if test -n "$YACC"; then 2473 if test -n "$YACC"; then
2475 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2474 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2476 else 2475 else
2477 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2476 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2498 2497
2499 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h 2498 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h
2500 do 2499 do
2501 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2500 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2501 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2503 echo "configure:2504: checking for $ac_hdr" >&5 2502 echo "configure:2503: checking for $ac_hdr" >&5
2504 2503
2505 cat > conftest.$ac_ext <<EOF 2504 cat > conftest.$ac_ext <<EOF
2506 #line 2507 "configure" 2505 #line 2506 "configure"
2507 #include "confdefs.h" 2506 #include "confdefs.h"
2508 #include <$ac_hdr> 2507 #include <$ac_hdr>
2509 EOF 2508 EOF
2510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2511 { (eval echo configure:2512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2510 { (eval echo configure:2511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2512 ac_err=`grep -v '^ *+' conftest.out` 2511 ac_err=`grep -v '^ *+' conftest.out`
2513 if test -z "$ac_err"; then 2512 if test -z "$ac_err"; then
2514 rm -rf conftest* 2513 rm -rf conftest*
2515 eval "ac_cv_header_$ac_safe=yes" 2514 eval "ac_cv_header_$ac_safe=yes"
2516 else 2515 else
2539 2538
2540 for ac_hdr in utime.h locale.h libgen.h fcntl.h 2539 for ac_hdr in utime.h locale.h libgen.h fcntl.h
2541 do 2540 do
2542 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2541 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2543 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2542 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2544 echo "configure:2545: checking for $ac_hdr" >&5 2543 echo "configure:2544: checking for $ac_hdr" >&5
2545 2544
2546 cat > conftest.$ac_ext <<EOF 2545 cat > conftest.$ac_ext <<EOF
2547 #line 2548 "configure" 2546 #line 2547 "configure"
2548 #include "confdefs.h" 2547 #include "confdefs.h"
2549 #include <$ac_hdr> 2548 #include <$ac_hdr>
2550 EOF 2549 EOF
2551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2552 { (eval echo configure:2553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2551 { (eval echo configure:2552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2553 ac_err=`grep -v '^ *+' conftest.out` 2552 ac_err=`grep -v '^ *+' conftest.out`
2554 if test -z "$ac_err"; then 2553 if test -z "$ac_err"; then
2555 rm -rf conftest* 2554 rm -rf conftest*
2556 eval "ac_cv_header_$ac_safe=yes" 2555 eval "ac_cv_header_$ac_safe=yes"
2557 else 2556 else
2580 2579
2581 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h 2580 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h
2582 do 2581 do
2583 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2582 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2585 echo "configure:2586: checking for $ac_hdr" >&5 2584 echo "configure:2585: checking for $ac_hdr" >&5
2586 2585
2587 cat > conftest.$ac_ext <<EOF 2586 cat > conftest.$ac_ext <<EOF
2588 #line 2589 "configure" 2587 #line 2588 "configure"
2589 #include "confdefs.h" 2588 #include "confdefs.h"
2590 #include <$ac_hdr> 2589 #include <$ac_hdr>
2591 EOF 2590 EOF
2592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2593 { (eval echo configure:2594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2592 { (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2594 ac_err=`grep -v '^ *+' conftest.out` 2593 ac_err=`grep -v '^ *+' conftest.out`
2595 if test -z "$ac_err"; then 2594 if test -z "$ac_err"; then
2596 rm -rf conftest* 2595 rm -rf conftest*
2597 eval "ac_cv_header_$ac_safe=yes" 2596 eval "ac_cv_header_$ac_safe=yes"
2598 else 2597 else
2618 echo "$ac_t""no" 1>&6 2617 echo "$ac_t""no" 1>&6
2619 fi 2618 fi
2620 done 2619 done
2621 2620
2622 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 2621 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2623 echo "configure:2624: checking for sys/wait.h that is POSIX.1 compatible" >&5 2622 echo "configure:2623: checking for sys/wait.h that is POSIX.1 compatible" >&5
2624 2623
2625 cat > conftest.$ac_ext <<EOF 2624 cat > conftest.$ac_ext <<EOF
2626 #line 2627 "configure" 2625 #line 2626 "configure"
2627 #include "confdefs.h" 2626 #include "confdefs.h"
2628 #include <sys/types.h> 2627 #include <sys/types.h>
2629 #include <sys/wait.h> 2628 #include <sys/wait.h>
2630 #ifndef WEXITSTATUS 2629 #ifndef WEXITSTATUS
2631 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 2630 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2637 int s; 2636 int s;
2638 wait (&s); 2637 wait (&s);
2639 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 2638 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2640 ; return 0; } 2639 ; return 0; }
2641 EOF 2640 EOF
2642 if { (eval echo configure:2643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2641 if { (eval echo configure:2642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2643 rm -rf conftest* 2642 rm -rf conftest*
2644 ac_cv_header_sys_wait_h=yes 2643 ac_cv_header_sys_wait_h=yes
2645 else 2644 else
2646 echo "configure: failed program was:" >&5 2645 echo "configure: failed program was:" >&5
2647 cat conftest.$ac_ext >&5 2646 cat conftest.$ac_ext >&5
2661 } 2660 }
2662 2661
2663 fi 2662 fi
2664 2663
2665 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2664 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2666 echo "configure:2667: checking for ANSI C header files" >&5 2665 echo "configure:2666: checking for ANSI C header files" >&5
2667 2666
2668 cat > conftest.$ac_ext <<EOF 2667 cat > conftest.$ac_ext <<EOF
2669 #line 2670 "configure" 2668 #line 2669 "configure"
2670 #include "confdefs.h" 2669 #include "confdefs.h"
2671 #include <stdlib.h> 2670 #include <stdlib.h>
2672 #include <stdarg.h> 2671 #include <stdarg.h>
2673 #include <string.h> 2672 #include <string.h>
2674 #include <float.h> 2673 #include <float.h>
2675 EOF 2674 EOF
2676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2677 { (eval echo configure:2678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2676 { (eval echo configure:2677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2678 ac_err=`grep -v '^ *+' conftest.out` 2677 ac_err=`grep -v '^ *+' conftest.out`
2679 if test -z "$ac_err"; then 2678 if test -z "$ac_err"; then
2680 rm -rf conftest* 2679 rm -rf conftest*
2681 ac_cv_header_stdc=yes 2680 ac_cv_header_stdc=yes
2682 else 2681 else
2689 rm -f conftest* 2688 rm -f conftest*
2690 2689
2691 if test $ac_cv_header_stdc = yes; then 2690 if test $ac_cv_header_stdc = yes; then
2692 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2691 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2693 cat > conftest.$ac_ext <<EOF 2692 cat > conftest.$ac_ext <<EOF
2694 #line 2695 "configure" 2693 #line 2694 "configure"
2695 #include "confdefs.h" 2694 #include "confdefs.h"
2696 #include <string.h> 2695 #include <string.h>
2697 EOF 2696 EOF
2698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2699 egrep "memchr" >/dev/null 2>&1; then 2698 egrep "memchr" >/dev/null 2>&1; then
2707 fi 2706 fi
2708 2707
2709 if test $ac_cv_header_stdc = yes; then 2708 if test $ac_cv_header_stdc = yes; then
2710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2709 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2711 cat > conftest.$ac_ext <<EOF 2710 cat > conftest.$ac_ext <<EOF
2712 #line 2713 "configure" 2711 #line 2712 "configure"
2713 #include "confdefs.h" 2712 #include "confdefs.h"
2714 #include <stdlib.h> 2713 #include <stdlib.h>
2715 EOF 2714 EOF
2716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2717 egrep "free" >/dev/null 2>&1; then 2716 egrep "free" >/dev/null 2>&1; then
2725 fi 2724 fi
2726 2725
2727 if test $ac_cv_header_stdc = yes; then 2726 if test $ac_cv_header_stdc = yes; then
2728 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2729 cat > conftest.$ac_ext <<EOF 2728 cat > conftest.$ac_ext <<EOF
2730 #line 2731 "configure" 2729 #line 2730 "configure"
2731 #include "confdefs.h" 2730 #include "confdefs.h"
2732 #include <ctype.h> 2731 #include <ctype.h>
2733 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2732 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2734 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2733 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2734 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2736 int main () { int i; for (i = 0; i < 256; i++) 2735 int main () { int i; for (i = 0; i < 256; i++)
2737 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2736 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2738 exit (0); } 2737 exit (0); }
2739 2738
2740 EOF 2739 EOF
2741 if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 2740 if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
2742 then 2741 then
2743 : 2742 :
2744 else 2743 else
2745 echo "configure: failed program was:" >&5 2744 echo "configure: failed program was:" >&5
2746 cat conftest.$ac_ext >&5 2745 cat conftest.$ac_ext >&5
2761 } 2760 }
2762 2761
2763 fi 2762 fi
2764 2763
2765 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2764 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2766 echo "configure:2767: checking whether time.h and sys/time.h may both be included" >&5 2765 echo "configure:2766: checking whether time.h and sys/time.h may both be included" >&5
2767 2766
2768 cat > conftest.$ac_ext <<EOF 2767 cat > conftest.$ac_ext <<EOF
2769 #line 2770 "configure" 2768 #line 2769 "configure"
2770 #include "confdefs.h" 2769 #include "confdefs.h"
2771 #include <sys/types.h> 2770 #include <sys/types.h>
2772 #include <sys/time.h> 2771 #include <sys/time.h>
2773 #include <time.h> 2772 #include <time.h>
2774 int main() { 2773 int main() {
2775 struct tm *tp; 2774 struct tm *tp;
2776 ; return 0; } 2775 ; return 0; }
2777 EOF 2776 EOF
2778 if { (eval echo configure:2779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2777 if { (eval echo configure:2778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2779 rm -rf conftest* 2778 rm -rf conftest*
2780 ac_cv_header_time=yes 2779 ac_cv_header_time=yes
2781 else 2780 else
2782 echo "configure: failed program was:" >&5 2781 echo "configure: failed program was:" >&5
2783 cat conftest.$ac_ext >&5 2782 cat conftest.$ac_ext >&5
2797 } 2796 }
2798 2797
2799 fi 2798 fi
2800 2799
2801 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2800 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2802 echo "configure:2803: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2801 echo "configure:2802: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2803 2802
2804 cat > conftest.$ac_ext <<EOF 2803 cat > conftest.$ac_ext <<EOF
2805 #line 2806 "configure" 2804 #line 2805 "configure"
2806 #include "confdefs.h" 2805 #include "confdefs.h"
2807 #include <sys/types.h> 2806 #include <sys/types.h>
2808 #include <signal.h> 2807 #include <signal.h>
2809 /* NetBSD declares sys_siglist in unistd.h. */ 2808 /* NetBSD declares sys_siglist in unistd.h. */
2810 #ifdef HAVE_UNISTD_H 2809 #ifdef HAVE_UNISTD_H
2812 #endif 2811 #endif
2813 int main() { 2812 int main() {
2814 char *msg = *(sys_siglist + 1); 2813 char *msg = *(sys_siglist + 1);
2815 ; return 0; } 2814 ; return 0; }
2816 EOF 2815 EOF
2817 if { (eval echo configure:2818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2816 if { (eval echo configure:2817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2818 rm -rf conftest* 2817 rm -rf conftest*
2819 ac_cv_decl_sys_siglist=yes 2818 ac_cv_decl_sys_siglist=yes
2820 else 2819 else
2821 echo "configure: failed program was:" >&5 2820 echo "configure: failed program was:" >&5
2822 cat conftest.$ac_ext >&5 2821 cat conftest.$ac_ext >&5
2837 2836
2838 fi 2837 fi
2839 2838
2840 2839
2841 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2840 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2842 echo "configure:2843: checking for struct utimbuf" >&5 2841 echo "configure:2842: checking for struct utimbuf" >&5
2843 cat > conftest.$ac_ext <<EOF 2842 cat > conftest.$ac_ext <<EOF
2844 #line 2845 "configure" 2843 #line 2844 "configure"
2845 #include "confdefs.h" 2844 #include "confdefs.h"
2846 #ifdef TIME_WITH_SYS_TIME 2845 #ifdef TIME_WITH_SYS_TIME
2847 #include <sys/time.h> 2846 #include <sys/time.h>
2848 #include <time.h> 2847 #include <time.h>
2849 #else 2848 #else
2858 #endif 2857 #endif
2859 int main() { 2858 int main() {
2860 static struct utimbuf x; x.actime = x.modtime; 2859 static struct utimbuf x; x.actime = x.modtime;
2861 ; return 0; } 2860 ; return 0; }
2862 EOF 2861 EOF
2863 if { (eval echo configure:2864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2862 if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2864 rm -rf conftest* 2863 rm -rf conftest*
2865 echo "$ac_t""yes" 1>&6 2864 echo "$ac_t""yes" 1>&6
2866 { test "$extra_verbose" = "yes" && cat << \EOF 2865 { test "$extra_verbose" = "yes" && cat << \EOF
2867 Defining HAVE_STRUCT_UTIMBUF 2866 Defining HAVE_STRUCT_UTIMBUF
2868 EOF 2867 EOF
2878 echo "$ac_t""no" 1>&6 2877 echo "$ac_t""no" 1>&6
2879 fi 2878 fi
2880 rm -f conftest* 2879 rm -f conftest*
2881 2880
2882 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2881 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2883 echo "configure:2884: checking return type of signal handlers" >&5 2882 echo "configure:2883: checking return type of signal handlers" >&5
2884 2883
2885 cat > conftest.$ac_ext <<EOF 2884 cat > conftest.$ac_ext <<EOF
2886 #line 2887 "configure" 2885 #line 2886 "configure"
2887 #include "confdefs.h" 2886 #include "confdefs.h"
2888 #include <sys/types.h> 2887 #include <sys/types.h>
2889 #include <signal.h> 2888 #include <signal.h>
2890 #ifdef signal 2889 #ifdef signal
2891 #undef signal 2890 #undef signal
2898 2897
2899 int main() { 2898 int main() {
2900 int i; 2899 int i;
2901 ; return 0; } 2900 ; return 0; }
2902 EOF 2901 EOF
2903 if { (eval echo configure:2904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2902 if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2904 rm -rf conftest* 2903 rm -rf conftest*
2905 ac_cv_type_signal=void 2904 ac_cv_type_signal=void
2906 else 2905 else
2907 echo "configure: failed program was:" >&5 2906 echo "configure: failed program was:" >&5
2908 cat conftest.$ac_ext >&5 2907 cat conftest.$ac_ext >&5
2920 EOF 2919 EOF
2921 } 2920 }
2922 2921
2923 2922
2924 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2923 echo $ac_n "checking for size_t""... $ac_c" 1>&6
2925 echo "configure:2926: checking for size_t" >&5 2924 echo "configure:2925: checking for size_t" >&5
2926 2925
2927 cat > conftest.$ac_ext <<EOF 2926 cat > conftest.$ac_ext <<EOF
2928 #line 2929 "configure" 2927 #line 2928 "configure"
2929 #include "confdefs.h" 2928 #include "confdefs.h"
2930 #include <sys/types.h> 2929 #include <sys/types.h>
2931 #if STDC_HEADERS 2930 #if STDC_HEADERS
2932 #include <stdlib.h> 2931 #include <stdlib.h>
2933 #include <stddef.h> 2932 #include <stddef.h>
2954 } 2953 }
2955 2954
2956 fi 2955 fi
2957 2956
2958 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 2957 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
2959 echo "configure:2960: checking for pid_t" >&5 2958 echo "configure:2959: checking for pid_t" >&5
2960 2959
2961 cat > conftest.$ac_ext <<EOF 2960 cat > conftest.$ac_ext <<EOF
2962 #line 2963 "configure" 2961 #line 2962 "configure"
2963 #include "confdefs.h" 2962 #include "confdefs.h"
2964 #include <sys/types.h> 2963 #include <sys/types.h>
2965 #if STDC_HEADERS 2964 #if STDC_HEADERS
2966 #include <stdlib.h> 2965 #include <stdlib.h>
2967 #include <stddef.h> 2966 #include <stddef.h>
2988 } 2987 }
2989 2988
2990 fi 2989 fi
2991 2990
2992 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 2991 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2993 echo "configure:2994: checking for uid_t in sys/types.h" >&5 2992 echo "configure:2993: checking for uid_t in sys/types.h" >&5
2994 2993
2995 cat > conftest.$ac_ext <<EOF 2994 cat > conftest.$ac_ext <<EOF
2996 #line 2997 "configure" 2995 #line 2996 "configure"
2997 #include "confdefs.h" 2996 #include "confdefs.h"
2998 #include <sys/types.h> 2997 #include <sys/types.h>
2999 EOF 2998 EOF
3000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3001 egrep "uid_t" >/dev/null 2>&1; then 3000 egrep "uid_t" >/dev/null 2>&1; then
3027 } 3026 }
3028 3027
3029 fi 3028 fi
3030 3029
3031 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 3030 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3032 echo "configure:3033: checking for mode_t" >&5 3031 echo "configure:3032: checking for mode_t" >&5
3033 3032
3034 cat > conftest.$ac_ext <<EOF 3033 cat > conftest.$ac_ext <<EOF
3035 #line 3036 "configure" 3034 #line 3035 "configure"
3036 #include "confdefs.h" 3035 #include "confdefs.h"
3037 #include <sys/types.h> 3036 #include <sys/types.h>
3038 #if STDC_HEADERS 3037 #if STDC_HEADERS
3039 #include <stdlib.h> 3038 #include <stdlib.h>
3040 #include <stddef.h> 3039 #include <stddef.h>
3061 } 3060 }
3062 3061
3063 fi 3062 fi
3064 3063
3065 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3064 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3066 echo "configure:3067: checking for off_t" >&5 3065 echo "configure:3066: checking for off_t" >&5
3067 3066
3068 cat > conftest.$ac_ext <<EOF 3067 cat > conftest.$ac_ext <<EOF
3069 #line 3070 "configure" 3068 #line 3069 "configure"
3070 #include "confdefs.h" 3069 #include "confdefs.h"
3071 #include <sys/types.h> 3070 #include <sys/types.h>
3072 #if STDC_HEADERS 3071 #if STDC_HEADERS
3073 #include <stdlib.h> 3072 #include <stdlib.h>
3074 #include <stddef.h> 3073 #include <stddef.h>
3096 3095
3097 fi 3096 fi
3098 3097
3099 3098
3100 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 3099 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
3101 echo "configure:3102: checking for struct timeval" >&5 3100 echo "configure:3101: checking for struct timeval" >&5
3102 cat > conftest.$ac_ext <<EOF 3101 cat > conftest.$ac_ext <<EOF
3103 #line 3104 "configure" 3102 #line 3103 "configure"
3104 #include "confdefs.h" 3103 #include "confdefs.h"
3105 #ifdef TIME_WITH_SYS_TIME 3104 #ifdef TIME_WITH_SYS_TIME
3106 #include <sys/time.h> 3105 #include <sys/time.h>
3107 #include <time.h> 3106 #include <time.h>
3108 #else 3107 #else
3114 #endif 3113 #endif
3115 int main() { 3114 int main() {
3116 static struct timeval x; x.tv_sec = x.tv_usec; 3115 static struct timeval x; x.tv_sec = x.tv_usec;
3117 ; return 0; } 3116 ; return 0; }
3118 EOF 3117 EOF
3119 if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3118 if { (eval echo configure:3119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3120 rm -rf conftest* 3119 rm -rf conftest*
3121 echo "$ac_t""yes" 1>&6 3120 echo "$ac_t""yes" 1>&6
3122 HAVE_TIMEVAL=yes 3121 HAVE_TIMEVAL=yes
3123 { test "$extra_verbose" = "yes" && cat << \EOF 3122 { test "$extra_verbose" = "yes" && cat << \EOF
3124 Defining HAVE_TIMEVAL 3123 Defining HAVE_TIMEVAL
3136 HAVE_TIMEVAL=no 3135 HAVE_TIMEVAL=no
3137 fi 3136 fi
3138 rm -f conftest* 3137 rm -f conftest*
3139 3138
3140 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 3139 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3141 echo "configure:3142: checking whether struct tm is in sys/time.h or time.h" >&5 3140 echo "configure:3141: checking whether struct tm is in sys/time.h or time.h" >&5
3142 3141
3143 cat > conftest.$ac_ext <<EOF 3142 cat > conftest.$ac_ext <<EOF
3144 #line 3145 "configure" 3143 #line 3144 "configure"
3145 #include "confdefs.h" 3144 #include "confdefs.h"
3146 #include <sys/types.h> 3145 #include <sys/types.h>
3147 #include <time.h> 3146 #include <time.h>
3148 int main() { 3147 int main() {
3149 struct tm *tp; tp->tm_sec; 3148 struct tm *tp; tp->tm_sec;
3150 ; return 0; } 3149 ; return 0; }
3151 EOF 3150 EOF
3152 if { (eval echo configure:3153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3151 if { (eval echo configure:3152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3153 rm -rf conftest* 3152 rm -rf conftest*
3154 ac_cv_struct_tm=time.h 3153 ac_cv_struct_tm=time.h
3155 else 3154 else
3156 echo "configure: failed program was:" >&5 3155 echo "configure: failed program was:" >&5
3157 cat conftest.$ac_ext >&5 3156 cat conftest.$ac_ext >&5
3171 } 3170 }
3172 3171
3173 fi 3172 fi
3174 3173
3175 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 3174 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3176 echo "configure:3177: checking for tm_zone in struct tm" >&5 3175 echo "configure:3176: checking for tm_zone in struct tm" >&5
3177 3176
3178 cat > conftest.$ac_ext <<EOF 3177 cat > conftest.$ac_ext <<EOF
3179 #line 3180 "configure" 3178 #line 3179 "configure"
3180 #include "confdefs.h" 3179 #include "confdefs.h"
3181 #include <sys/types.h> 3180 #include <sys/types.h>
3182 #include <$ac_cv_struct_tm> 3181 #include <$ac_cv_struct_tm>
3183 int main() { 3182 int main() {
3184 struct tm tm; tm.tm_zone; 3183 struct tm tm; tm.tm_zone;
3185 ; return 0; } 3184 ; return 0; }
3186 EOF 3185 EOF
3187 if { (eval echo configure:3188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3186 if { (eval echo configure:3187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3188 rm -rf conftest* 3187 rm -rf conftest*
3189 ac_cv_struct_tm_zone=yes 3188 ac_cv_struct_tm_zone=yes
3190 else 3189 else
3191 echo "configure: failed program was:" >&5 3190 echo "configure: failed program was:" >&5
3192 cat conftest.$ac_ext >&5 3191 cat conftest.$ac_ext >&5
3205 EOF 3204 EOF
3206 } 3205 }
3207 3206
3208 else 3207 else
3209 echo $ac_n "checking for tzname""... $ac_c" 1>&6 3208 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3210 echo "configure:3211: checking for tzname" >&5 3209 echo "configure:3210: checking for tzname" >&5
3211 3210
3212 cat > conftest.$ac_ext <<EOF 3211 cat > conftest.$ac_ext <<EOF
3213 #line 3214 "configure" 3212 #line 3213 "configure"
3214 #include "confdefs.h" 3213 #include "confdefs.h"
3215 #include <time.h> 3214 #include <time.h>
3216 #ifndef tzname /* For SGI. */ 3215 #ifndef tzname /* For SGI. */
3217 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 3216 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3218 #endif 3217 #endif
3219 int main() { 3218 int main() {
3220 atoi(*tzname); 3219 atoi(*tzname);
3221 ; return 0; } 3220 ; return 0; }
3222 EOF 3221 EOF
3223 if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3222 if { (eval echo configure:3223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3224 rm -rf conftest* 3223 rm -rf conftest*
3225 ac_cv_var_tzname=yes 3224 ac_cv_var_tzname=yes
3226 else 3225 else
3227 echo "configure: failed program was:" >&5 3226 echo "configure: failed program was:" >&5
3228 cat conftest.$ac_ext >&5 3227 cat conftest.$ac_ext >&5
3244 fi 3243 fi
3245 fi 3244 fi
3246 3245
3247 3246
3248 echo $ac_n "checking for working const""... $ac_c" 1>&6 3247 echo $ac_n "checking for working const""... $ac_c" 1>&6
3249 echo "configure:3250: checking for working const" >&5 3248 echo "configure:3249: checking for working const" >&5
3250 3249
3251 cat > conftest.$ac_ext <<EOF 3250 cat > conftest.$ac_ext <<EOF
3252 #line 3253 "configure" 3251 #line 3252 "configure"
3253 #include "confdefs.h" 3252 #include "confdefs.h"
3254 3253
3255 int main() { 3254 int main() {
3256 3255
3257 /* Ultrix mips cc rejects this. */ 3256 /* Ultrix mips cc rejects this. */
3296 const int foo = 10; 3295 const int foo = 10;
3297 } 3296 }
3298 3297
3299 ; return 0; } 3298 ; return 0; }
3300 EOF 3299 EOF
3301 if { (eval echo configure:3302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3300 if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3302 rm -rf conftest* 3301 rm -rf conftest*
3303 ac_cv_c_const=yes 3302 ac_cv_c_const=yes
3304 else 3303 else
3305 echo "configure: failed program was:" >&5 3304 echo "configure: failed program was:" >&5
3306 cat conftest.$ac_ext >&5 3305 cat conftest.$ac_ext >&5
3321 3320
3322 fi 3321 fi
3323 3322
3324 3323
3325 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3324 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3326 echo "configure:3327: checking whether ${MAKE-make} sets \${MAKE}" >&5 3325 echo "configure:3326: checking whether ${MAKE-make} sets \${MAKE}" >&5
3327 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3326 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3328 3327
3329 cat > conftestmake <<\EOF 3328 cat > conftestmake <<\EOF
3330 all: 3329 all:
3331 @echo 'ac_maketemp="${MAKE}"' 3330 @echo 'ac_maketemp="${MAKE}"'
3346 SET_MAKE="MAKE=${MAKE-make}" 3345 SET_MAKE="MAKE=${MAKE-make}"
3347 fi 3346 fi
3348 3347
3349 3348
3350 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3349 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3351 echo "configure:3352: checking whether byte ordering is bigendian" >&5 3350 echo "configure:3351: checking whether byte ordering is bigendian" >&5
3352 3351
3353 ac_cv_c_bigendian=unknown 3352 ac_cv_c_bigendian=unknown
3354 # See if sys/param.h defines the BYTE_ORDER macro. 3353 # See if sys/param.h defines the BYTE_ORDER macro.
3355 cat > conftest.$ac_ext <<EOF 3354 cat > conftest.$ac_ext <<EOF
3356 #line 3357 "configure" 3355 #line 3356 "configure"
3357 #include "confdefs.h" 3356 #include "confdefs.h"
3358 #include <sys/types.h> 3357 #include <sys/types.h>
3359 #include <sys/param.h> 3358 #include <sys/param.h>
3360 int main() { 3359 int main() {
3361 3360
3362 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3361 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3363 bogus endian macros 3362 bogus endian macros
3364 #endif 3363 #endif
3365 ; return 0; } 3364 ; return 0; }
3366 EOF 3365 EOF
3367 if { (eval echo configure:3368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3366 if { (eval echo configure:3367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3368 rm -rf conftest* 3367 rm -rf conftest*
3369 # It does; now see whether it defined to BIG_ENDIAN or not. 3368 # It does; now see whether it defined to BIG_ENDIAN or not.
3370 cat > conftest.$ac_ext <<EOF 3369 cat > conftest.$ac_ext <<EOF
3371 #line 3372 "configure" 3370 #line 3371 "configure"
3372 #include "confdefs.h" 3371 #include "confdefs.h"
3373 #include <sys/types.h> 3372 #include <sys/types.h>
3374 #include <sys/param.h> 3373 #include <sys/param.h>
3375 int main() { 3374 int main() {
3376 3375
3377 #if BYTE_ORDER != BIG_ENDIAN 3376 #if BYTE_ORDER != BIG_ENDIAN
3378 not big endian 3377 not big endian
3379 #endif 3378 #endif
3380 ; return 0; } 3379 ; return 0; }
3381 EOF 3380 EOF
3382 if { (eval echo configure:3383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3381 if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3383 rm -rf conftest* 3382 rm -rf conftest*
3384 ac_cv_c_bigendian=yes 3383 ac_cv_c_bigendian=yes
3385 else 3384 else
3386 echo "configure: failed program was:" >&5 3385 echo "configure: failed program was:" >&5
3387 cat conftest.$ac_ext >&5 3386 cat conftest.$ac_ext >&5
3394 cat conftest.$ac_ext >&5 3393 cat conftest.$ac_ext >&5
3395 fi 3394 fi
3396 rm -f conftest* 3395 rm -f conftest*
3397 if test $ac_cv_c_bigendian = unknown; then 3396 if test $ac_cv_c_bigendian = unknown; then
3398 cat > conftest.$ac_ext <<EOF 3397 cat > conftest.$ac_ext <<EOF
3399 #line 3400 "configure" 3398 #line 3399 "configure"
3400 #include "confdefs.h" 3399 #include "confdefs.h"
3401 main () { 3400 main () {
3402 /* Are we little or big endian? From Harbison&Steele. */ 3401 /* Are we little or big endian? From Harbison&Steele. */
3403 union 3402 union
3404 { 3403 {
3407 } u; 3406 } u;
3408 u.l = 1; 3407 u.l = 1;
3409 exit (u.c[sizeof (long) - 1] == 1); 3408 exit (u.c[sizeof (long) - 1] == 1);
3410 } 3409 }
3411 EOF 3410 EOF
3412 if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3411 if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3413 then 3412 then
3414 ac_cv_c_bigendian=no 3413 ac_cv_c_bigendian=no
3415 else 3414 else
3416 echo "configure: failed program was:" >&5 3415 echo "configure: failed program was:" >&5
3417 cat conftest.$ac_ext >&5 3416 cat conftest.$ac_ext >&5
3433 3432
3434 fi 3433 fi
3435 3434
3436 3435
3437 echo $ac_n "checking size of short""... $ac_c" 1>&6 3436 echo $ac_n "checking size of short""... $ac_c" 1>&6
3438 echo "configure:3439: checking size of short" >&5 3437 echo "configure:3438: checking size of short" >&5
3439 3438
3440 cat > conftest.$ac_ext <<EOF 3439 cat > conftest.$ac_ext <<EOF
3441 #line 3442 "configure" 3440 #line 3441 "configure"
3442 #include "confdefs.h" 3441 #include "confdefs.h"
3443 #include <stdio.h> 3442 #include <stdio.h>
3444 main() 3443 main()
3445 { 3444 {
3446 FILE *f=fopen("conftestval", "w"); 3445 FILE *f=fopen("conftestval", "w");
3447 if (!f) exit(1); 3446 if (!f) exit(1);
3448 fprintf(f, "%d\n", sizeof(short)); 3447 fprintf(f, "%d\n", sizeof(short));
3449 exit(0); 3448 exit(0);
3450 } 3449 }
3451 EOF 3450 EOF
3452 if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3451 if { (eval echo configure:3452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3453 then 3452 then
3454 ac_cv_sizeof_short=`cat conftestval` 3453 ac_cv_sizeof_short=`cat conftestval`
3455 else 3454 else
3456 echo "configure: failed program was:" >&5 3455 echo "configure: failed program was:" >&5
3457 cat conftest.$ac_ext >&5 3456 cat conftest.$ac_ext >&5
3474 echo "*** PANIC *** Configure tests are not working - compiler is broken." 3473 echo "*** PANIC *** Configure tests are not working - compiler is broken."
3475 echo "*** PANIC *** Please examine config.log for compilation errors." 3474 echo "*** PANIC *** Please examine config.log for compilation errors."
3476 exit 1 3475 exit 1
3477 fi 3476 fi
3478 echo $ac_n "checking size of int""... $ac_c" 1>&6 3477 echo $ac_n "checking size of int""... $ac_c" 1>&6
3479 echo "configure:3480: checking size of int" >&5 3478 echo "configure:3479: checking size of int" >&5
3480 3479
3481 cat > conftest.$ac_ext <<EOF 3480 cat > conftest.$ac_ext <<EOF
3482 #line 3483 "configure" 3481 #line 3482 "configure"
3483 #include "confdefs.h" 3482 #include "confdefs.h"
3484 #include <stdio.h> 3483 #include <stdio.h>
3485 main() 3484 main()
3486 { 3485 {
3487 FILE *f=fopen("conftestval", "w"); 3486 FILE *f=fopen("conftestval", "w");
3488 if (!f) exit(1); 3487 if (!f) exit(1);
3489 fprintf(f, "%d\n", sizeof(int)); 3488 fprintf(f, "%d\n", sizeof(int));
3490 exit(0); 3489 exit(0);
3491 } 3490 }
3492 EOF 3491 EOF
3493 if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3492 if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3494 then 3493 then
3495 ac_cv_sizeof_int=`cat conftestval` 3494 ac_cv_sizeof_int=`cat conftestval`
3496 else 3495 else
3497 echo "configure: failed program was:" >&5 3496 echo "configure: failed program was:" >&5
3498 cat conftest.$ac_ext >&5 3497 cat conftest.$ac_ext >&5
3509 EOF 3508 EOF
3510 } 3509 }
3511 3510
3512 3511
3513 echo $ac_n "checking size of long""... $ac_c" 1>&6 3512 echo $ac_n "checking size of long""... $ac_c" 1>&6
3514 echo "configure:3515: checking size of long" >&5 3513 echo "configure:3514: checking size of long" >&5
3515 3514
3516 cat > conftest.$ac_ext <<EOF 3515 cat > conftest.$ac_ext <<EOF
3517 #line 3518 "configure" 3516 #line 3517 "configure"
3518 #include "confdefs.h" 3517 #include "confdefs.h"
3519 #include <stdio.h> 3518 #include <stdio.h>
3520 main() 3519 main()
3521 { 3520 {
3522 FILE *f=fopen("conftestval", "w"); 3521 FILE *f=fopen("conftestval", "w");
3523 if (!f) exit(1); 3522 if (!f) exit(1);
3524 fprintf(f, "%d\n", sizeof(long)); 3523 fprintf(f, "%d\n", sizeof(long));
3525 exit(0); 3524 exit(0);
3526 } 3525 }
3527 EOF 3526 EOF
3528 if { (eval echo configure:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3527 if { (eval echo configure:3528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3529 then 3528 then
3530 ac_cv_sizeof_long=`cat conftestval` 3529 ac_cv_sizeof_long=`cat conftestval`
3531 else 3530 else
3532 echo "configure: failed program was:" >&5 3531 echo "configure: failed program was:" >&5
3533 cat conftest.$ac_ext >&5 3532 cat conftest.$ac_ext >&5
3544 EOF 3543 EOF
3545 } 3544 }
3546 3545
3547 3546
3548 echo $ac_n "checking size of long long""... $ac_c" 1>&6 3547 echo $ac_n "checking size of long long""... $ac_c" 1>&6
3549 echo "configure:3550: checking size of long long" >&5 3548 echo "configure:3549: checking size of long long" >&5
3550 3549
3551 cat > conftest.$ac_ext <<EOF 3550 cat > conftest.$ac_ext <<EOF
3552 #line 3553 "configure" 3551 #line 3552 "configure"
3553 #include "confdefs.h" 3552 #include "confdefs.h"
3554 #include <stdio.h> 3553 #include <stdio.h>
3555 main() 3554 main()
3556 { 3555 {
3557 FILE *f=fopen("conftestval", "w"); 3556 FILE *f=fopen("conftestval", "w");
3558 if (!f) exit(1); 3557 if (!f) exit(1);
3559 fprintf(f, "%d\n", sizeof(long long)); 3558 fprintf(f, "%d\n", sizeof(long long));
3560 exit(0); 3559 exit(0);
3561 } 3560 }
3562 EOF 3561 EOF
3563 if { (eval echo configure:3564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3562 if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3564 then 3563 then
3565 ac_cv_sizeof_long_long=`cat conftestval` 3564 ac_cv_sizeof_long_long=`cat conftestval`
3566 else 3565 else
3567 echo "configure: failed program was:" >&5 3566 echo "configure: failed program was:" >&5
3568 cat conftest.$ac_ext >&5 3567 cat conftest.$ac_ext >&5
3579 EOF 3578 EOF
3580 } 3579 }
3581 3580
3582 3581
3583 echo $ac_n "checking size of void *""... $ac_c" 1>&6 3582 echo $ac_n "checking size of void *""... $ac_c" 1>&6
3584 echo "configure:3585: checking size of void *" >&5 3583 echo "configure:3584: checking size of void *" >&5
3585 3584
3586 cat > conftest.$ac_ext <<EOF 3585 cat > conftest.$ac_ext <<EOF
3587 #line 3588 "configure" 3586 #line 3587 "configure"
3588 #include "confdefs.h" 3587 #include "confdefs.h"
3589 #include <stdio.h> 3588 #include <stdio.h>
3590 main() 3589 main()
3591 { 3590 {
3592 FILE *f=fopen("conftestval", "w"); 3591 FILE *f=fopen("conftestval", "w");
3593 if (!f) exit(1); 3592 if (!f) exit(1);
3594 fprintf(f, "%d\n", sizeof(void *)); 3593 fprintf(f, "%d\n", sizeof(void *));
3595 exit(0); 3594 exit(0);
3596 } 3595 }
3597 EOF 3596 EOF
3598 if { (eval echo configure:3599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 3597 if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
3599 then 3598 then
3600 ac_cv_sizeof_void_p=`cat conftestval` 3599 ac_cv_sizeof_void_p=`cat conftestval`
3601 else 3600 else
3602 echo "configure: failed program was:" >&5 3601 echo "configure: failed program was:" >&5
3603 cat conftest.$ac_ext >&5 3602 cat conftest.$ac_ext >&5
3615 } 3614 }
3616 3615
3617 3616
3618 3617
3619 echo $ac_n "checking for long file names""... $ac_c" 1>&6 3618 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3620 echo "configure:3621: checking for long file names" >&5 3619 echo "configure:3620: checking for long file names" >&5
3621 3620
3622 ac_cv_sys_long_file_names=yes 3621 ac_cv_sys_long_file_names=yes
3623 # Test for long file names in all the places we know might matter: 3622 # Test for long file names in all the places we know might matter:
3624 # . the current directory, where building will happen 3623 # . the current directory, where building will happen
3625 # $prefix/lib where we will be installing things 3624 # $prefix/lib where we will be installing things
3662 fi 3661 fi
3663 3662
3664 3663
3665 3664
3666 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 3665 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
3667 echo "configure:3668: checking for sqrt in -lm" >&5 3666 echo "configure:3667: checking for sqrt in -lm" >&5
3668 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 3667 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
3669 3668
3670 xe_check_libs=" -lm " 3669 xe_check_libs=" -lm "
3671 cat > conftest.$ac_ext <<EOF 3670 cat > conftest.$ac_ext <<EOF
3672 #line 3673 "configure" 3671 #line 3672 "configure"
3673 #include "confdefs.h" 3672 #include "confdefs.h"
3674 /* Override any gcc2 internal prototype to avoid an error. */ 3673 /* Override any gcc2 internal prototype to avoid an error. */
3675 /* We use char because int might match the return type of a gcc2 3674 /* We use char because int might match the return type of a gcc2
3676 builtin and then its argument prototype would still apply. */ 3675 builtin and then its argument prototype would still apply. */
3677 char sqrt(); 3676 char sqrt();
3678 3677
3679 int main() { 3678 int main() {
3680 sqrt() 3679 sqrt()
3681 ; return 0; } 3680 ; return 0; }
3682 EOF 3681 EOF
3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3682 if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3684 rm -rf conftest* 3683 rm -rf conftest*
3685 eval "ac_cv_lib_$ac_lib_var=yes" 3684 eval "ac_cv_lib_$ac_lib_var=yes"
3686 else 3685 else
3687 echo "configure: failed program was:" >&5 3686 echo "configure: failed program was:" >&5
3688 cat conftest.$ac_ext >&5 3687 cat conftest.$ac_ext >&5
3721 EOF 3720 EOF
3722 } 3721 }
3723 3722
3724 3723
3725 echo "checking type of mail spool file locking" 1>&6 3724 echo "checking type of mail spool file locking" 1>&6
3726 echo "configure:3727: checking type of mail spool file locking" >&5 3725 echo "configure:3726: checking type of mail spool file locking" >&5
3727 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock 3726 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock
3728 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf 3727 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf
3729 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF 3728 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF
3730 Defining REAL_MAIL_USE_LOCKF 3729 Defining REAL_MAIL_USE_LOCKF
3731 EOF 3730 EOF
3745 else mail_locking="dot-locking" 3744 else mail_locking="dot-locking"
3746 fi 3745 fi
3747 3746
3748 3747
3749 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 3748 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
3750 echo "configure:3751: checking for kstat_open in -lkstat" >&5 3749 echo "configure:3750: checking for kstat_open in -lkstat" >&5
3751 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 3750 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
3752 3751
3753 xe_check_libs=" -lkstat " 3752 xe_check_libs=" -lkstat "
3754 cat > conftest.$ac_ext <<EOF 3753 cat > conftest.$ac_ext <<EOF
3755 #line 3756 "configure" 3754 #line 3755 "configure"
3756 #include "confdefs.h" 3755 #include "confdefs.h"
3757 /* Override any gcc2 internal prototype to avoid an error. */ 3756 /* Override any gcc2 internal prototype to avoid an error. */
3758 /* We use char because int might match the return type of a gcc2 3757 /* We use char because int might match the return type of a gcc2
3759 builtin and then its argument prototype would still apply. */ 3758 builtin and then its argument prototype would still apply. */
3760 char kstat_open(); 3759 char kstat_open();
3761 3760
3762 int main() { 3761 int main() {
3763 kstat_open() 3762 kstat_open()
3764 ; return 0; } 3763 ; return 0; }
3765 EOF 3764 EOF
3766 if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3765 if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3767 rm -rf conftest* 3766 rm -rf conftest*
3768 eval "ac_cv_lib_$ac_lib_var=yes" 3767 eval "ac_cv_lib_$ac_lib_var=yes"
3769 else 3768 else
3770 echo "configure: failed program was:" >&5 3769 echo "configure: failed program was:" >&5
3771 cat conftest.$ac_ext >&5 3770 cat conftest.$ac_ext >&5
3795 3794
3796 3795
3797 3796
3798 3797
3799 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 3798 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
3800 echo "configure:3801: checking for kvm_read in -lkvm" >&5 3799 echo "configure:3800: checking for kvm_read in -lkvm" >&5
3801 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 3800 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
3802 3801
3803 xe_check_libs=" -lkvm " 3802 xe_check_libs=" -lkvm "
3804 cat > conftest.$ac_ext <<EOF 3803 cat > conftest.$ac_ext <<EOF
3805 #line 3806 "configure" 3804 #line 3805 "configure"
3806 #include "confdefs.h" 3805 #include "confdefs.h"
3807 /* Override any gcc2 internal prototype to avoid an error. */ 3806 /* Override any gcc2 internal prototype to avoid an error. */
3808 /* We use char because int might match the return type of a gcc2 3807 /* We use char because int might match the return type of a gcc2
3809 builtin and then its argument prototype would still apply. */ 3808 builtin and then its argument prototype would still apply. */
3810 char kvm_read(); 3809 char kvm_read();
3811 3810
3812 int main() { 3811 int main() {
3813 kvm_read() 3812 kvm_read()
3814 ; return 0; } 3813 ; return 0; }
3815 EOF 3814 EOF
3816 if { (eval echo configure:3817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3815 if { (eval echo configure:3816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3817 rm -rf conftest* 3816 rm -rf conftest*
3818 eval "ac_cv_lib_$ac_lib_var=yes" 3817 eval "ac_cv_lib_$ac_lib_var=yes"
3819 else 3818 else
3820 echo "configure: failed program was:" >&5 3819 echo "configure: failed program was:" >&5
3821 cat conftest.$ac_ext >&5 3820 cat conftest.$ac_ext >&5
3845 3844
3846 3845
3847 3846
3848 3847
3849 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3848 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3850 echo "configure:3851: checking for cma_open in -lpthreads" >&5 3849 echo "configure:3850: checking for cma_open in -lpthreads" >&5
3851 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3850 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3852 3851
3853 xe_check_libs=" -lpthreads " 3852 xe_check_libs=" -lpthreads "
3854 cat > conftest.$ac_ext <<EOF 3853 cat > conftest.$ac_ext <<EOF
3855 #line 3856 "configure" 3854 #line 3855 "configure"
3856 #include "confdefs.h" 3855 #include "confdefs.h"
3857 /* Override any gcc2 internal prototype to avoid an error. */ 3856 /* Override any gcc2 internal prototype to avoid an error. */
3858 /* We use char because int might match the return type of a gcc2 3857 /* We use char because int might match the return type of a gcc2
3859 builtin and then its argument prototype would still apply. */ 3858 builtin and then its argument prototype would still apply. */
3860 char cma_open(); 3859 char cma_open();
3861 3860
3862 int main() { 3861 int main() {
3863 cma_open() 3862 cma_open()
3864 ; return 0; } 3863 ; return 0; }
3865 EOF 3864 EOF
3866 if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3867 rm -rf conftest* 3866 rm -rf conftest*
3868 eval "ac_cv_lib_$ac_lib_var=yes" 3867 eval "ac_cv_lib_$ac_lib_var=yes"
3869 else 3868 else
3870 echo "configure: failed program was:" >&5 3869 echo "configure: failed program was:" >&5
3871 cat conftest.$ac_ext >&5 3870 cat conftest.$ac_ext >&5
3897 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then 3896 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then
3898 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac 3897 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac
3899 fi 3898 fi
3900 3899
3901 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 3900 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
3902 echo "configure:3903: checking whether the -xildoff compiler flag is required" >&5 3901 echo "configure:3902: checking whether the -xildoff compiler flag is required" >&5
3903 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 3902 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
3904 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 3903 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
3905 then echo "$ac_t""no" 1>&6; 3904 then echo "$ac_t""no" 1>&6;
3906 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 3905 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
3907 fi 3906 fi
3908 else echo "$ac_t""no" 1>&6 3907 else echo "$ac_t""no" 1>&6
3909 fi 3908 fi
3910 3909
3911 if test "$opsys" = "sol2" -a "${OS_RELEASE:-0}" -ge 56; then 3910 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then
3912 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 3911 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
3913 echo "configure:3914: checking for \"-z ignore\" linker flag" >&5 3912 echo "configure:3913: checking for \"-z ignore\" linker flag" >&5
3914 case "`ld -h 2>&1`" in 3913 case "`ld -h 2>&1`" in
3915 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 3914 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
3916 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 3915 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
3917 *) echo "$ac_t""no" 1>&6 ;; 3916 *) echo "$ac_t""no" 1>&6 ;;
3918 esac 3917 esac
3919 fi 3918 fi
3920 3919
3921 3920
3922 echo "checking "for specified window system"" 1>&6 3921 echo "checking "for specified window system"" 1>&6
3923 echo "configure:3924: checking "for specified window system"" >&5 3922 echo "configure:3923: checking "for specified window system"" >&5
3924 3923
3925 if test "$x_includes $x_libraries" = "NONE NONE"; then 3924 if test "$x_includes $x_libraries" = "NONE NONE"; then
3926 if test -n "$OPENWINHOME" \ 3925 if test -n "$OPENWINHOME" \
3927 -a "$OPENWINHOME" != "/usr/openwin" \ 3926 -a "$OPENWINHOME" != "/usr/openwin" \
3928 -a -d "$OPENWINHOME"; then 3927 -a -d "$OPENWINHOME"; then
3939 # If we find X, set shell vars x_includes and x_libraries to the 3938 # If we find X, set shell vars x_includes and x_libraries to the
3940 # paths, otherwise set no_x=yes. 3939 # paths, otherwise set no_x=yes.
3941 # Uses ac_ vars as temps to allow command line to override cache and checks. 3940 # Uses ac_ vars as temps to allow command line to override cache and checks.
3942 # --without-x overrides everything else, but does not touch the cache. 3941 # --without-x overrides everything else, but does not touch the cache.
3943 echo $ac_n "checking for X""... $ac_c" 1>&6 3942 echo $ac_n "checking for X""... $ac_c" 1>&6
3944 echo "configure:3945: checking for X" >&5 3943 echo "configure:3944: checking for X" >&5
3945 3944
3946 # Check whether --with-x or --without-x was given. 3945 # Check whether --with-x or --without-x was given.
3947 if test "${with_x+set}" = set; then 3946 if test "${with_x+set}" = set; then
3948 withval="$with_x" 3947 withval="$with_x"
3949 : 3948 :
3999 # Guess where to find include files, by looking for this one X11 .h file. 3998 # Guess where to find include files, by looking for this one X11 .h file.
4000 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 3999 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
4001 4000
4002 # First, try using that file with no special directory specified. 4001 # First, try using that file with no special directory specified.
4003 cat > conftest.$ac_ext <<EOF 4002 cat > conftest.$ac_ext <<EOF
4004 #line 4005 "configure" 4003 #line 4004 "configure"
4005 #include "confdefs.h" 4004 #include "confdefs.h"
4006 #include <$x_direct_test_include> 4005 #include <$x_direct_test_include>
4007 EOF 4006 EOF
4008 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4009 { (eval echo configure:4010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4008 { (eval echo configure:4009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4010 ac_err=`grep -v '^ *+' conftest.out` 4009 ac_err=`grep -v '^ *+' conftest.out`
4011 if test -z "$ac_err"; then 4010 if test -z "$ac_err"; then
4012 rm -rf conftest* 4011 rm -rf conftest*
4013 # We can compile using X headers with no special include directory. 4012 # We can compile using X headers with no special include directory.
4014 ac_x_includes= 4013 ac_x_includes=
4073 # See if we find them without any special options. 4072 # See if we find them without any special options.
4074 # Don't add to $LIBS permanently. 4073 # Don't add to $LIBS permanently.
4075 ac_save_LIBS="$LIBS" 4074 ac_save_LIBS="$LIBS"
4076 LIBS="-l$x_direct_test_library $LIBS" 4075 LIBS="-l$x_direct_test_library $LIBS"
4077 cat > conftest.$ac_ext <<EOF 4076 cat > conftest.$ac_ext <<EOF
4078 #line 4079 "configure" 4077 #line 4078 "configure"
4079 #include "confdefs.h" 4078 #include "confdefs.h"
4080 4079
4081 int main() { 4080 int main() {
4082 ${x_direct_test_function}() 4081 ${x_direct_test_function}()
4083 ; return 0; } 4082 ; return 0; }
4084 EOF 4083 EOF
4085 if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4084 if { (eval echo configure:4085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4086 rm -rf conftest* 4085 rm -rf conftest*
4087 LIBS="$ac_save_LIBS" 4086 LIBS="$ac_save_LIBS"
4088 # We can link X programs with no special library path. 4087 # We can link X programs with no special library path.
4089 ac_x_libraries= 4088 ac_x_libraries=
4090 else 4089 else
4189 # For Solaris; some versions of Sun CC require a space after -R and 4188 # For Solaris; some versions of Sun CC require a space after -R and
4190 # others require no space. Words are not sufficient . . . . 4189 # others require no space. Words are not sufficient . . . .
4191 case "`(uname -sr) 2>/dev/null`" in 4190 case "`(uname -sr) 2>/dev/null`" in
4192 "SunOS 5"*) 4191 "SunOS 5"*)
4193 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 4192 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
4194 echo "configure:4195: checking whether -R must be followed by a space" >&5 4193 echo "configure:4194: checking whether -R must be followed by a space" >&5
4195 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 4194 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
4196 cat > conftest.$ac_ext <<EOF 4195 cat > conftest.$ac_ext <<EOF
4197 #line 4198 "configure" 4196 #line 4197 "configure"
4198 #include "confdefs.h" 4197 #include "confdefs.h"
4199 4198
4200 int main() { 4199 int main() {
4201 4200
4202 ; return 0; } 4201 ; return 0; }
4203 EOF 4202 EOF
4204 if { (eval echo configure:4205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4203 if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4205 rm -rf conftest* 4204 rm -rf conftest*
4206 ac_R_nospace=yes 4205 ac_R_nospace=yes
4207 else 4206 else
4208 echo "configure: failed program was:" >&5 4207 echo "configure: failed program was:" >&5
4209 cat conftest.$ac_ext >&5 4208 cat conftest.$ac_ext >&5
4215 echo "$ac_t""no" 1>&6 4214 echo "$ac_t""no" 1>&6
4216 X_LIBS="$X_LIBS -R$x_libraries" 4215 X_LIBS="$X_LIBS -R$x_libraries"
4217 else 4216 else
4218 LIBS="$ac_xsave_LIBS -R $x_libraries" 4217 LIBS="$ac_xsave_LIBS -R $x_libraries"
4219 cat > conftest.$ac_ext <<EOF 4218 cat > conftest.$ac_ext <<EOF
4220 #line 4221 "configure" 4219 #line 4220 "configure"
4221 #include "confdefs.h" 4220 #include "confdefs.h"
4222 4221
4223 int main() { 4222 int main() {
4224 4223
4225 ; return 0; } 4224 ; return 0; }
4226 EOF 4225 EOF
4227 if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4226 if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4228 rm -rf conftest* 4227 rm -rf conftest*
4229 ac_R_space=yes 4228 ac_R_space=yes
4230 else 4229 else
4231 echo "configure: failed program was:" >&5 4230 echo "configure: failed program was:" >&5
4232 cat conftest.$ac_ext >&5 4231 cat conftest.$ac_ext >&5
4258 if test "$with_dnet" = "no" ; then 4257 if test "$with_dnet" = "no" ; then
4259 ac_cv_lib_dnet_dnet_ntoa=no 4258 ac_cv_lib_dnet_dnet_ntoa=no
4260 else 4259 else
4261 4260
4262 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4261 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4263 echo "configure:4264: checking for dnet_ntoa in -ldnet" >&5 4262 echo "configure:4263: checking for dnet_ntoa in -ldnet" >&5
4264 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4263 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4265 4264
4266 xe_check_libs=" -ldnet " 4265 xe_check_libs=" -ldnet "
4267 cat > conftest.$ac_ext <<EOF 4266 cat > conftest.$ac_ext <<EOF
4268 #line 4269 "configure" 4267 #line 4268 "configure"
4269 #include "confdefs.h" 4268 #include "confdefs.h"
4270 /* Override any gcc2 internal prototype to avoid an error. */ 4269 /* Override any gcc2 internal prototype to avoid an error. */
4271 /* We use char because int might match the return type of a gcc2 4270 /* We use char because int might match the return type of a gcc2
4272 builtin and then its argument prototype would still apply. */ 4271 builtin and then its argument prototype would still apply. */
4273 char dnet_ntoa(); 4272 char dnet_ntoa();
4274 4273
4275 int main() { 4274 int main() {
4276 dnet_ntoa() 4275 dnet_ntoa()
4277 ; return 0; } 4276 ; return 0; }
4278 EOF 4277 EOF
4279 if { (eval echo configure:4280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4278 if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4280 rm -rf conftest* 4279 rm -rf conftest*
4281 eval "ac_cv_lib_$ac_lib_var=yes" 4280 eval "ac_cv_lib_$ac_lib_var=yes"
4282 else 4281 else
4283 echo "configure: failed program was:" >&5 4282 echo "configure: failed program was:" >&5
4284 cat conftest.$ac_ext >&5 4283 cat conftest.$ac_ext >&5
4298 fi 4297 fi
4299 4298
4300 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 4299 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4301 4300
4302 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 4301 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
4303 echo "configure:4304: checking for dnet_ntoa in -ldnet_stub" >&5 4302 echo "configure:4303: checking for dnet_ntoa in -ldnet_stub" >&5
4304 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4303 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4305 4304
4306 xe_check_libs=" -ldnet_stub " 4305 xe_check_libs=" -ldnet_stub "
4307 cat > conftest.$ac_ext <<EOF 4306 cat > conftest.$ac_ext <<EOF
4308 #line 4309 "configure" 4307 #line 4308 "configure"
4309 #include "confdefs.h" 4308 #include "confdefs.h"
4310 /* Override any gcc2 internal prototype to avoid an error. */ 4309 /* Override any gcc2 internal prototype to avoid an error. */
4311 /* We use char because int might match the return type of a gcc2 4310 /* We use char because int might match the return type of a gcc2
4312 builtin and then its argument prototype would still apply. */ 4311 builtin and then its argument prototype would still apply. */
4313 char dnet_ntoa(); 4312 char dnet_ntoa();
4314 4313
4315 int main() { 4314 int main() {
4316 dnet_ntoa() 4315 dnet_ntoa()
4317 ; return 0; } 4316 ; return 0; }
4318 EOF 4317 EOF
4319 if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4318 if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4320 rm -rf conftest* 4319 rm -rf conftest*
4321 eval "ac_cv_lib_$ac_lib_var=yes" 4320 eval "ac_cv_lib_$ac_lib_var=yes"
4322 else 4321 else
4323 echo "configure: failed program was:" >&5 4322 echo "configure: failed program was:" >&5
4324 cat conftest.$ac_ext >&5 4323 cat conftest.$ac_ext >&5
4343 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 4342 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
4344 # needs -lnsl. 4343 # needs -lnsl.
4345 # The nsl library prevents programs from opening the X display 4344 # The nsl library prevents programs from opening the X display
4346 # on Irix 5.2, according to dickey@clark.net. 4345 # on Irix 5.2, according to dickey@clark.net.
4347 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 4346 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
4348 echo "configure:4349: checking for gethostbyname" >&5 4347 echo "configure:4348: checking for gethostbyname" >&5
4349 4348
4350 cat > conftest.$ac_ext <<EOF 4349 cat > conftest.$ac_ext <<EOF
4351 #line 4352 "configure" 4350 #line 4351 "configure"
4352 #include "confdefs.h" 4351 #include "confdefs.h"
4353 /* System header to define __stub macros and hopefully few prototypes, 4352 /* System header to define __stub macros and hopefully few prototypes,
4354 which can conflict with char gethostbyname(); below. */ 4353 which can conflict with char gethostbyname(); below. */
4355 #include <assert.h> 4354 #include <assert.h>
4356 /* Override any gcc2 internal prototype to avoid an error. */ 4355 /* Override any gcc2 internal prototype to avoid an error. */
4369 gethostbyname(); 4368 gethostbyname();
4370 #endif 4369 #endif
4371 4370
4372 ; return 0; } 4371 ; return 0; }
4373 EOF 4372 EOF
4374 if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4373 if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4375 rm -rf conftest* 4374 rm -rf conftest*
4376 eval "ac_cv_func_gethostbyname=yes" 4375 eval "ac_cv_func_gethostbyname=yes"
4377 else 4376 else
4378 echo "configure: failed program was:" >&5 4377 echo "configure: failed program was:" >&5
4379 cat conftest.$ac_ext >&5 4378 cat conftest.$ac_ext >&5
4390 fi 4389 fi
4391 4390
4392 if test $ac_cv_func_gethostbyname = no; then 4391 if test $ac_cv_func_gethostbyname = no; then
4393 4392
4394 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 4393 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
4395 echo "configure:4396: checking for gethostbyname in -lnsl" >&5 4394 echo "configure:4395: checking for gethostbyname in -lnsl" >&5
4396 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 4395 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
4397 4396
4398 xe_check_libs=" -lnsl " 4397 xe_check_libs=" -lnsl "
4399 cat > conftest.$ac_ext <<EOF 4398 cat > conftest.$ac_ext <<EOF
4400 #line 4401 "configure" 4399 #line 4400 "configure"
4401 #include "confdefs.h" 4400 #include "confdefs.h"
4402 /* Override any gcc2 internal prototype to avoid an error. */ 4401 /* Override any gcc2 internal prototype to avoid an error. */
4403 /* We use char because int might match the return type of a gcc2 4402 /* We use char because int might match the return type of a gcc2
4404 builtin and then its argument prototype would still apply. */ 4403 builtin and then its argument prototype would still apply. */
4405 char gethostbyname(); 4404 char gethostbyname();
4406 4405
4407 int main() { 4406 int main() {
4408 gethostbyname() 4407 gethostbyname()
4409 ; return 0; } 4408 ; return 0; }
4410 EOF 4409 EOF
4411 if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4412 rm -rf conftest* 4411 rm -rf conftest*
4413 eval "ac_cv_lib_$ac_lib_var=yes" 4412 eval "ac_cv_lib_$ac_lib_var=yes"
4414 else 4413 else
4415 echo "configure: failed program was:" >&5 4414 echo "configure: failed program was:" >&5
4416 cat conftest.$ac_ext >&5 4415 cat conftest.$ac_ext >&5
4436 # on later versions), says simon@lia.di.epfl.ch: it contains 4435 # on later versions), says simon@lia.di.epfl.ch: it contains
4437 # gethostby* variants that don't use the nameserver (or something). 4436 # gethostby* variants that don't use the nameserver (or something).
4438 # -lsocket must be given before -lnsl if both are needed. 4437 # -lsocket must be given before -lnsl if both are needed.
4439 # We assume that if connect needs -lnsl, so does gethostbyname. 4438 # We assume that if connect needs -lnsl, so does gethostbyname.
4440 echo $ac_n "checking for connect""... $ac_c" 1>&6 4439 echo $ac_n "checking for connect""... $ac_c" 1>&6
4441 echo "configure:4442: checking for connect" >&5 4440 echo "configure:4441: checking for connect" >&5
4442 4441
4443 cat > conftest.$ac_ext <<EOF 4442 cat > conftest.$ac_ext <<EOF
4444 #line 4445 "configure" 4443 #line 4444 "configure"
4445 #include "confdefs.h" 4444 #include "confdefs.h"
4446 /* System header to define __stub macros and hopefully few prototypes, 4445 /* System header to define __stub macros and hopefully few prototypes,
4447 which can conflict with char connect(); below. */ 4446 which can conflict with char connect(); below. */
4448 #include <assert.h> 4447 #include <assert.h>
4449 /* Override any gcc2 internal prototype to avoid an error. */ 4448 /* Override any gcc2 internal prototype to avoid an error. */
4462 connect(); 4461 connect();
4463 #endif 4462 #endif
4464 4463
4465 ; return 0; } 4464 ; return 0; }
4466 EOF 4465 EOF
4467 if { (eval echo configure:4468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4466 if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4468 rm -rf conftest* 4467 rm -rf conftest*
4469 eval "ac_cv_func_connect=yes" 4468 eval "ac_cv_func_connect=yes"
4470 else 4469 else
4471 echo "configure: failed program was:" >&5 4470 echo "configure: failed program was:" >&5
4472 cat conftest.$ac_ext >&5 4471 cat conftest.$ac_ext >&5
4485 if test $ac_cv_func_connect = no; then 4484 if test $ac_cv_func_connect = no; then
4486 4485
4487 xe_msg_checking="for connect in -lsocket" 4486 xe_msg_checking="for connect in -lsocket"
4488 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 4487 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
4489 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 4488 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
4490 echo "configure:4491: checking "$xe_msg_checking"" >&5 4489 echo "configure:4490: checking "$xe_msg_checking"" >&5
4491 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 4490 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
4492 4491
4493 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 4492 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
4494 cat > conftest.$ac_ext <<EOF 4493 cat > conftest.$ac_ext <<EOF
4495 #line 4496 "configure" 4494 #line 4495 "configure"
4496 #include "confdefs.h" 4495 #include "confdefs.h"
4497 /* Override any gcc2 internal prototype to avoid an error. */ 4496 /* Override any gcc2 internal prototype to avoid an error. */
4498 /* We use char because int might match the return type of a gcc2 4497 /* We use char because int might match the return type of a gcc2
4499 builtin and then its argument prototype would still apply. */ 4498 builtin and then its argument prototype would still apply. */
4500 char connect(); 4499 char connect();
4501 4500
4502 int main() { 4501 int main() {
4503 connect() 4502 connect()
4504 ; return 0; } 4503 ; return 0; }
4505 EOF 4504 EOF
4506 if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4505 if { (eval echo configure:4506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4507 rm -rf conftest* 4506 rm -rf conftest*
4508 eval "ac_cv_lib_$ac_lib_var=yes" 4507 eval "ac_cv_lib_$ac_lib_var=yes"
4509 else 4508 else
4510 echo "configure: failed program was:" >&5 4509 echo "configure: failed program was:" >&5
4511 cat conftest.$ac_ext >&5 4510 cat conftest.$ac_ext >&5
4525 4524
4526 fi 4525 fi
4527 4526
4528 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 4527 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
4529 echo $ac_n "checking for remove""... $ac_c" 1>&6 4528 echo $ac_n "checking for remove""... $ac_c" 1>&6
4530 echo "configure:4531: checking for remove" >&5 4529 echo "configure:4530: checking for remove" >&5
4531 4530
4532 cat > conftest.$ac_ext <<EOF 4531 cat > conftest.$ac_ext <<EOF
4533 #line 4534 "configure" 4532 #line 4533 "configure"
4534 #include "confdefs.h" 4533 #include "confdefs.h"
4535 /* System header to define __stub macros and hopefully few prototypes, 4534 /* System header to define __stub macros and hopefully few prototypes,
4536 which can conflict with char remove(); below. */ 4535 which can conflict with char remove(); below. */
4537 #include <assert.h> 4536 #include <assert.h>
4538 /* Override any gcc2 internal prototype to avoid an error. */ 4537 /* Override any gcc2 internal prototype to avoid an error. */
4551 remove(); 4550 remove();
4552 #endif 4551 #endif
4553 4552
4554 ; return 0; } 4553 ; return 0; }
4555 EOF 4554 EOF
4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4555 if { (eval echo configure:4556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4557 rm -rf conftest* 4556 rm -rf conftest*
4558 eval "ac_cv_func_remove=yes" 4557 eval "ac_cv_func_remove=yes"
4559 else 4558 else
4560 echo "configure: failed program was:" >&5 4559 echo "configure: failed program was:" >&5
4561 cat conftest.$ac_ext >&5 4560 cat conftest.$ac_ext >&5
4572 fi 4571 fi
4573 4572
4574 if test $ac_cv_func_remove = no; then 4573 if test $ac_cv_func_remove = no; then
4575 4574
4576 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 4575 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
4577 echo "configure:4578: checking for remove in -lposix" >&5 4576 echo "configure:4577: checking for remove in -lposix" >&5
4578 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 4577 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
4579 4578
4580 xe_check_libs=" -lposix " 4579 xe_check_libs=" -lposix "
4581 cat > conftest.$ac_ext <<EOF 4580 cat > conftest.$ac_ext <<EOF
4582 #line 4583 "configure" 4581 #line 4582 "configure"
4583 #include "confdefs.h" 4582 #include "confdefs.h"
4584 /* Override any gcc2 internal prototype to avoid an error. */ 4583 /* Override any gcc2 internal prototype to avoid an error. */
4585 /* We use char because int might match the return type of a gcc2 4584 /* We use char because int might match the return type of a gcc2
4586 builtin and then its argument prototype would still apply. */ 4585 builtin and then its argument prototype would still apply. */
4587 char remove(); 4586 char remove();
4588 4587
4589 int main() { 4588 int main() {
4590 remove() 4589 remove()
4591 ; return 0; } 4590 ; return 0; }
4592 EOF 4591 EOF
4593 if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4592 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4594 rm -rf conftest* 4593 rm -rf conftest*
4595 eval "ac_cv_lib_$ac_lib_var=yes" 4594 eval "ac_cv_lib_$ac_lib_var=yes"
4596 else 4595 else
4597 echo "configure: failed program was:" >&5 4596 echo "configure: failed program was:" >&5
4598 cat conftest.$ac_ext >&5 4597 cat conftest.$ac_ext >&5
4612 4611
4613 fi 4612 fi
4614 4613
4615 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 4614 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4616 echo $ac_n "checking for shmat""... $ac_c" 1>&6 4615 echo $ac_n "checking for shmat""... $ac_c" 1>&6
4617 echo "configure:4618: checking for shmat" >&5 4616 echo "configure:4617: checking for shmat" >&5
4618 4617
4619 cat > conftest.$ac_ext <<EOF 4618 cat > conftest.$ac_ext <<EOF
4620 #line 4621 "configure" 4619 #line 4620 "configure"
4621 #include "confdefs.h" 4620 #include "confdefs.h"
4622 /* System header to define __stub macros and hopefully few prototypes, 4621 /* System header to define __stub macros and hopefully few prototypes,
4623 which can conflict with char shmat(); below. */ 4622 which can conflict with char shmat(); below. */
4624 #include <assert.h> 4623 #include <assert.h>
4625 /* Override any gcc2 internal prototype to avoid an error. */ 4624 /* Override any gcc2 internal prototype to avoid an error. */
4638 shmat(); 4637 shmat();
4639 #endif 4638 #endif
4640 4639
4641 ; return 0; } 4640 ; return 0; }
4642 EOF 4641 EOF
4643 if { (eval echo configure:4644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4642 if { (eval echo configure:4643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4644 rm -rf conftest* 4643 rm -rf conftest*
4645 eval "ac_cv_func_shmat=yes" 4644 eval "ac_cv_func_shmat=yes"
4646 else 4645 else
4647 echo "configure: failed program was:" >&5 4646 echo "configure: failed program was:" >&5
4648 cat conftest.$ac_ext >&5 4647 cat conftest.$ac_ext >&5
4659 fi 4658 fi
4660 4659
4661 if test $ac_cv_func_shmat = no; then 4660 if test $ac_cv_func_shmat = no; then
4662 4661
4663 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 4662 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
4664 echo "configure:4665: checking for shmat in -lipc" >&5 4663 echo "configure:4664: checking for shmat in -lipc" >&5
4665 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 4664 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
4666 4665
4667 xe_check_libs=" -lipc " 4666 xe_check_libs=" -lipc "
4668 cat > conftest.$ac_ext <<EOF 4667 cat > conftest.$ac_ext <<EOF
4669 #line 4670 "configure" 4668 #line 4669 "configure"
4670 #include "confdefs.h" 4669 #include "confdefs.h"
4671 /* Override any gcc2 internal prototype to avoid an error. */ 4670 /* Override any gcc2 internal prototype to avoid an error. */
4672 /* We use char because int might match the return type of a gcc2 4671 /* We use char because int might match the return type of a gcc2
4673 builtin and then its argument prototype would still apply. */ 4672 builtin and then its argument prototype would still apply. */
4674 char shmat(); 4673 char shmat();
4675 4674
4676 int main() { 4675 int main() {
4677 shmat() 4676 shmat()
4678 ; return 0; } 4677 ; return 0; }
4679 EOF 4678 EOF
4680 if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4679 if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4681 rm -rf conftest* 4680 rm -rf conftest*
4682 eval "ac_cv_lib_$ac_lib_var=yes" 4681 eval "ac_cv_lib_$ac_lib_var=yes"
4683 else 4682 else
4684 echo "configure: failed program was:" >&5 4683 echo "configure: failed program was:" >&5
4685 cat conftest.$ac_ext >&5 4684 cat conftest.$ac_ext >&5
4709 # These have to be linked with before -lX11, unlike the other 4708 # These have to be linked with before -lX11, unlike the other
4710 # libraries we check for below, so use a different variable. 4709 # libraries we check for below, so use a different variable.
4711 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 4710 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
4712 4711
4713 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 4712 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
4714 echo "configure:4715: checking for IceConnectionNumber in -lICE" >&5 4713 echo "configure:4714: checking for IceConnectionNumber in -lICE" >&5
4715 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 4714 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
4716 4715
4717 xe_check_libs=" -lICE " 4716 xe_check_libs=" -lICE "
4718 cat > conftest.$ac_ext <<EOF 4717 cat > conftest.$ac_ext <<EOF
4719 #line 4720 "configure" 4718 #line 4719 "configure"
4720 #include "confdefs.h" 4719 #include "confdefs.h"
4721 /* Override any gcc2 internal prototype to avoid an error. */ 4720 /* Override any gcc2 internal prototype to avoid an error. */
4722 /* We use char because int might match the return type of a gcc2 4721 /* We use char because int might match the return type of a gcc2
4723 builtin and then its argument prototype would still apply. */ 4722 builtin and then its argument prototype would still apply. */
4724 char IceConnectionNumber(); 4723 char IceConnectionNumber();
4725 4724
4726 int main() { 4725 int main() {
4727 IceConnectionNumber() 4726 IceConnectionNumber()
4728 ; return 0; } 4727 ; return 0; }
4729 EOF 4728 EOF
4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4729 if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4731 rm -rf conftest* 4730 rm -rf conftest*
4732 eval "ac_cv_lib_$ac_lib_var=yes" 4731 eval "ac_cv_lib_$ac_lib_var=yes"
4733 else 4732 else
4734 echo "configure: failed program was:" >&5 4733 echo "configure: failed program was:" >&5
4735 cat conftest.$ac_ext >&5 4734 cat conftest.$ac_ext >&5
4803 4802
4804 ld_switch_x_site="$X_LIBS" 4803 ld_switch_x_site="$X_LIBS"
4805 4804
4806 4805
4807 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then 4806 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then
4808 ld_switch_site=`echo '' $ld_switch_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//"` 4807 ld_switch_site=`echo '' $ld_switch_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"`
4809 ld_switch_x_site=`echo '' $ld_switch_x_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//"` 4808 ld_switch_x_site=`echo '' $ld_switch_x_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"`
4810 4809
4811 runpath="" runpath_dirs="" 4810 runpath="" runpath_dirs=""
4812 if test -n "$LD_RUN_PATH"; then 4811 if test -n "$LD_RUN_PATH"; then
4813 runpath="$LD_RUN_PATH" 4812 runpath="$LD_RUN_PATH"
4814 elif test "$GCC" = "yes"; then 4813 elif test "$GCC" = "yes"; then
4857 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done 4856 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done
4858 echo 4857 echo
4859 fi 4858 fi
4860 4859
4861 echo "checking for X defines extracted by xmkmf" 1>&6 4860 echo "checking for X defines extracted by xmkmf" 1>&6
4862 echo "configure:4863: checking for X defines extracted by xmkmf" >&5 4861 echo "configure:4862: checking for X defines extracted by xmkmf" >&5
4863 rm -fr conftestdir 4862 rm -fr conftestdir
4864 if mkdir conftestdir; then 4863 if mkdir conftestdir; then
4865 cd conftestdir 4864 cd conftestdir
4866 cat > Imakefile <<'EOF' 4865 cat > Imakefile <<'EOF'
4867 xetest: 4866 xetest:
4889 done 4888 done
4890 fi 4889 fi
4891 4890
4892 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 4891 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
4893 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 4892 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
4894 echo "configure:4895: checking for X11/Intrinsic.h" >&5 4893 echo "configure:4894: checking for X11/Intrinsic.h" >&5
4895 4894
4896 cat > conftest.$ac_ext <<EOF 4895 cat > conftest.$ac_ext <<EOF
4897 #line 4898 "configure" 4896 #line 4897 "configure"
4898 #include "confdefs.h" 4897 #include "confdefs.h"
4899 #include <X11/Intrinsic.h> 4898 #include <X11/Intrinsic.h>
4900 EOF 4899 EOF
4901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4902 { (eval echo configure:4903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4901 { (eval echo configure:4902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4903 ac_err=`grep -v '^ *+' conftest.out` 4902 ac_err=`grep -v '^ *+' conftest.out`
4904 if test -z "$ac_err"; then 4903 if test -z "$ac_err"; then
4905 rm -rf conftest* 4904 rm -rf conftest*
4906 eval "ac_cv_header_$ac_safe=yes" 4905 eval "ac_cv_header_$ac_safe=yes"
4907 else 4906 else
4921 fi 4920 fi
4922 4921
4923 4922
4924 4923
4925 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 4924 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
4926 echo "configure:4927: checking for XOpenDisplay in -lX11" >&5 4925 echo "configure:4926: checking for XOpenDisplay in -lX11" >&5
4927 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 4926 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
4928 4927
4929 xe_check_libs=" -lX11 " 4928 xe_check_libs=" -lX11 "
4930 cat > conftest.$ac_ext <<EOF 4929 cat > conftest.$ac_ext <<EOF
4931 #line 4932 "configure" 4930 #line 4931 "configure"
4932 #include "confdefs.h" 4931 #include "confdefs.h"
4933 /* Override any gcc2 internal prototype to avoid an error. */ 4932 /* Override any gcc2 internal prototype to avoid an error. */
4934 /* We use char because int might match the return type of a gcc2 4933 /* We use char because int might match the return type of a gcc2
4935 builtin and then its argument prototype would still apply. */ 4934 builtin and then its argument prototype would still apply. */
4936 char XOpenDisplay(); 4935 char XOpenDisplay();
4937 4936
4938 int main() { 4937 int main() {
4939 XOpenDisplay() 4938 XOpenDisplay()
4940 ; return 0; } 4939 ; return 0; }
4941 EOF 4940 EOF
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4943 rm -rf conftest* 4942 rm -rf conftest*
4944 eval "ac_cv_lib_$ac_lib_var=yes" 4943 eval "ac_cv_lib_$ac_lib_var=yes"
4945 else 4944 else
4946 echo "configure: failed program was:" >&5 4945 echo "configure: failed program was:" >&5
4947 cat conftest.$ac_ext >&5 4946 cat conftest.$ac_ext >&5
4962 if test "$have_lib_x11" != "yes"; then 4961 if test "$have_lib_x11" != "yes"; then
4963 4962
4964 xe_msg_checking="for XGetFontProperty in -lX11" 4963 xe_msg_checking="for XGetFontProperty in -lX11"
4965 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 4964 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
4966 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 4965 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
4967 echo "configure:4968: checking "$xe_msg_checking"" >&5 4966 echo "configure:4967: checking "$xe_msg_checking"" >&5
4968 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 4967 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
4969 4968
4970 xe_check_libs=" -lX11 -b i486-linuxaout" 4969 xe_check_libs=" -lX11 -b i486-linuxaout"
4971 cat > conftest.$ac_ext <<EOF 4970 cat > conftest.$ac_ext <<EOF
4972 #line 4973 "configure" 4971 #line 4972 "configure"
4973 #include "confdefs.h" 4972 #include "confdefs.h"
4974 /* Override any gcc2 internal prototype to avoid an error. */ 4973 /* Override any gcc2 internal prototype to avoid an error. */
4975 /* We use char because int might match the return type of a gcc2 4974 /* We use char because int might match the return type of a gcc2
4976 builtin and then its argument prototype would still apply. */ 4975 builtin and then its argument prototype would still apply. */
4977 char XGetFontProperty(); 4976 char XGetFontProperty();
4978 4977
4979 int main() { 4978 int main() {
4980 XGetFontProperty() 4979 XGetFontProperty()
4981 ; return 0; } 4980 ; return 0; }
4982 EOF 4981 EOF
4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4984 rm -rf conftest* 4983 rm -rf conftest*
4985 eval "ac_cv_lib_$ac_lib_var=yes" 4984 eval "ac_cv_lib_$ac_lib_var=yes"
4986 else 4985 else
4987 echo "configure: failed program was:" >&5 4986 echo "configure: failed program was:" >&5
4988 cat conftest.$ac_ext >&5 4987 cat conftest.$ac_ext >&5
5005 libs_x="-lX11" 5004 libs_x="-lX11"
5006 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 5005 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
5007 5006
5008 5007
5009 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 5008 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
5010 echo "configure:5011: checking for XShapeSelectInput in -lXext" >&5 5009 echo "configure:5010: checking for XShapeSelectInput in -lXext" >&5
5011 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 5010 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
5012 5011
5013 xe_check_libs=" -lXext " 5012 xe_check_libs=" -lXext "
5014 cat > conftest.$ac_ext <<EOF 5013 cat > conftest.$ac_ext <<EOF
5015 #line 5016 "configure" 5014 #line 5015 "configure"
5016 #include "confdefs.h" 5015 #include "confdefs.h"
5017 /* Override any gcc2 internal prototype to avoid an error. */ 5016 /* Override any gcc2 internal prototype to avoid an error. */
5018 /* We use char because int might match the return type of a gcc2 5017 /* We use char because int might match the return type of a gcc2
5019 builtin and then its argument prototype would still apply. */ 5018 builtin and then its argument prototype would still apply. */
5020 char XShapeSelectInput(); 5019 char XShapeSelectInput();
5021 5020
5022 int main() { 5021 int main() {
5023 XShapeSelectInput() 5022 XShapeSelectInput()
5024 ; return 0; } 5023 ; return 0; }
5025 EOF 5024 EOF
5026 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5025 if { (eval echo configure:5026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5027 rm -rf conftest* 5026 rm -rf conftest*
5028 eval "ac_cv_lib_$ac_lib_var=yes" 5027 eval "ac_cv_lib_$ac_lib_var=yes"
5029 else 5028 else
5030 echo "configure: failed program was:" >&5 5029 echo "configure: failed program was:" >&5
5031 cat conftest.$ac_ext >&5 5030 cat conftest.$ac_ext >&5
5045 5044
5046 5045
5047 case "$opsys" in sunos4* ) libs_x="-u _XtToolkitInitialize -lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _XtToolkitInitialize -lXt\" to \$libs_x"; fi ;; 5046 case "$opsys" in sunos4* ) libs_x="-u _XtToolkitInitialize -lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _XtToolkitInitialize -lXt\" to \$libs_x"; fi ;;
5048 * ) 5047 * )
5049 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 5048 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
5050 echo "configure:5051: checking for XtOpenDisplay in -lXt" >&5 5049 echo "configure:5050: checking for XtOpenDisplay in -lXt" >&5
5051 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 5050 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
5052 5051
5053 xe_check_libs=" -lXt " 5052 xe_check_libs=" -lXt "
5054 cat > conftest.$ac_ext <<EOF 5053 cat > conftest.$ac_ext <<EOF
5055 #line 5056 "configure" 5054 #line 5055 "configure"
5056 #include "confdefs.h" 5055 #include "confdefs.h"
5057 /* Override any gcc2 internal prototype to avoid an error. */ 5056 /* Override any gcc2 internal prototype to avoid an error. */
5058 /* We use char because int might match the return type of a gcc2 5057 /* We use char because int might match the return type of a gcc2
5059 builtin and then its argument prototype would still apply. */ 5058 builtin and then its argument prototype would still apply. */
5060 char XtOpenDisplay(); 5059 char XtOpenDisplay();
5061 5060
5062 int main() { 5061 int main() {
5063 XtOpenDisplay() 5062 XtOpenDisplay()
5064 ; return 0; } 5063 ; return 0; }
5065 EOF 5064 EOF
5066 if { (eval echo configure:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5065 if { (eval echo configure:5066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5067 rm -rf conftest* 5066 rm -rf conftest*
5068 eval "ac_cv_lib_$ac_lib_var=yes" 5067 eval "ac_cv_lib_$ac_lib_var=yes"
5069 else 5068 else
5070 echo "configure: failed program was:" >&5 5069 echo "configure: failed program was:" >&5
5071 cat conftest.$ac_ext >&5 5070 cat conftest.$ac_ext >&5
5085 5084
5086 ;; 5085 ;;
5087 esac 5086 esac
5088 5087
5089 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 5088 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
5090 echo "configure:5091: checking the version of X11 being used" >&5 5089 echo "configure:5090: checking the version of X11 being used" >&5
5091 cat > conftest.$ac_ext <<EOF 5090 cat > conftest.$ac_ext <<EOF
5092 #line 5093 "configure" 5091 #line 5092 "configure"
5093 #include "confdefs.h" 5092 #include "confdefs.h"
5094 #include <X11/Intrinsic.h> 5093 #include <X11/Intrinsic.h>
5095 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } 5094 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; }
5096 EOF 5095 EOF
5097 if { (eval echo configure:5098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 5096 if { (eval echo configure:5097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
5098 then 5097 then
5099 ./conftest foobar; x11_release=$? 5098 ./conftest foobar; x11_release=$?
5100 else 5099 else
5101 echo "configure: failed program was:" >&5 5100 echo "configure: failed program was:" >&5
5102 cat conftest.$ac_ext >&5 5101 cat conftest.$ac_ext >&5
5116 5115
5117 for ac_hdr in X11/Xlocale.h 5116 for ac_hdr in X11/Xlocale.h
5118 do 5117 do
5119 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5118 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5120 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5119 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5121 echo "configure:5122: checking for $ac_hdr" >&5 5120 echo "configure:5121: checking for $ac_hdr" >&5
5122 5121
5123 cat > conftest.$ac_ext <<EOF 5122 cat > conftest.$ac_ext <<EOF
5124 #line 5125 "configure" 5123 #line 5124 "configure"
5125 #include "confdefs.h" 5124 #include "confdefs.h"
5126 #include <$ac_hdr> 5125 #include <$ac_hdr>
5127 EOF 5126 EOF
5128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5129 { (eval echo configure:5130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5128 { (eval echo configure:5129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5130 ac_err=`grep -v '^ *+' conftest.out` 5129 ac_err=`grep -v '^ *+' conftest.out`
5131 if test -z "$ac_err"; then 5130 if test -z "$ac_err"; then
5132 rm -rf conftest* 5131 rm -rf conftest*
5133 eval "ac_cv_header_$ac_safe=yes" 5132 eval "ac_cv_header_$ac_safe=yes"
5134 else 5133 else
5155 fi 5154 fi
5156 done 5155 done
5157 5156
5158 5157
5159 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 5158 echo $ac_n "checking for XFree86""... $ac_c" 1>&6
5160 echo "configure:5161: checking for XFree86" >&5 5159 echo "configure:5160: checking for XFree86" >&5
5161 if test -d "/usr/X386/include" -o \ 5160 if test -d "/usr/X386/include" -o \
5162 -f "/etc/XF86Config" -o \ 5161 -f "/etc/XF86Config" -o \
5163 -f "/etc/X11/XF86Config" -o \ 5162 -f "/etc/X11/XF86Config" -o \
5164 -f "/usr/X11R6/lib/X11/XF86Config"; then 5163 -f "/usr/X11R6/lib/X11/XF86Config"; then
5165 echo "$ac_t""yes" 1>&6 5164 echo "$ac_t""yes" 1>&6
5177 5176
5178 case "$opsys" in sunos4* ) libs_x="-u _get_applicationShellWidgetClass -lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _get_applicationShellWidgetClass -lXmu\" to \$libs_x"; fi ;; 5177 case "$opsys" in sunos4* ) libs_x="-u _get_applicationShellWidgetClass -lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _get_applicationShellWidgetClass -lXmu\" to \$libs_x"; fi ;;
5179 * ) if test -z "$with_xmu"; then 5178 * ) if test -z "$with_xmu"; then
5180 5179
5181 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 5180 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
5182 echo "configure:5183: checking for XmuConvertStandardSelection in -lXmu" >&5 5181 echo "configure:5182: checking for XmuConvertStandardSelection in -lXmu" >&5
5183 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 5182 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
5184 5183
5185 xe_check_libs=" -lXmu " 5184 xe_check_libs=" -lXmu "
5186 cat > conftest.$ac_ext <<EOF 5185 cat > conftest.$ac_ext <<EOF
5187 #line 5188 "configure" 5186 #line 5187 "configure"
5188 #include "confdefs.h" 5187 #include "confdefs.h"
5189 /* Override any gcc2 internal prototype to avoid an error. */ 5188 /* Override any gcc2 internal prototype to avoid an error. */
5190 /* We use char because int might match the return type of a gcc2 5189 /* We use char because int might match the return type of a gcc2
5191 builtin and then its argument prototype would still apply. */ 5190 builtin and then its argument prototype would still apply. */
5192 char XmuConvertStandardSelection(); 5191 char XmuConvertStandardSelection();
5193 5192
5194 int main() { 5193 int main() {
5195 XmuConvertStandardSelection() 5194 XmuConvertStandardSelection()
5196 ; return 0; } 5195 ; return 0; }
5197 EOF 5196 EOF
5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5197 if { (eval echo configure:5198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5199 rm -rf conftest* 5198 rm -rf conftest*
5200 eval "ac_cv_lib_$ac_lib_var=yes" 5199 eval "ac_cv_lib_$ac_lib_var=yes"
5201 else 5200 else
5202 echo "configure: failed program was:" >&5 5201 echo "configure: failed program was:" >&5
5203 cat conftest.$ac_ext >&5 5202 cat conftest.$ac_ext >&5
5226 fi ;; 5225 fi ;;
5227 esac 5226 esac
5228 5227
5229 5228
5230 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 5229 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
5231 echo "configure:5232: checking for main in -lXbsd" >&5 5230 echo "configure:5231: checking for main in -lXbsd" >&5
5232 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 5231 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
5233 5232
5234 xe_check_libs=" -lXbsd " 5233 xe_check_libs=" -lXbsd "
5235 cat > conftest.$ac_ext <<EOF 5234 cat > conftest.$ac_ext <<EOF
5236 #line 5237 "configure" 5235 #line 5236 "configure"
5237 #include "confdefs.h" 5236 #include "confdefs.h"
5238 5237
5239 int main() { 5238 int main() {
5240 main() 5239 main()
5241 ; return 0; } 5240 ; return 0; }
5242 EOF 5241 EOF
5243 if { (eval echo configure:5244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5242 if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5244 rm -rf conftest* 5243 rm -rf conftest*
5245 eval "ac_cv_lib_$ac_lib_var=yes" 5244 eval "ac_cv_lib_$ac_lib_var=yes"
5246 else 5245 else
5247 echo "configure: failed program was:" >&5 5246 echo "configure: failed program was:" >&5
5248 cat conftest.$ac_ext >&5 5247 cat conftest.$ac_ext >&5
5261 5260
5262 5261
5263 5262
5264 5263
5265 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 5264 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6
5266 echo "configure:5267: checking for XawScrollbarSetThumb in -lXaw" >&5 5265 echo "configure:5266: checking for XawScrollbarSetThumb in -lXaw" >&5
5267 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 5266 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
5268 5267
5269 xe_check_libs=" -lXaw " 5268 xe_check_libs=" -lXaw "
5270 cat > conftest.$ac_ext <<EOF 5269 cat > conftest.$ac_ext <<EOF
5271 #line 5272 "configure" 5270 #line 5271 "configure"
5272 #include "confdefs.h" 5271 #include "confdefs.h"
5273 /* Override any gcc2 internal prototype to avoid an error. */ 5272 /* Override any gcc2 internal prototype to avoid an error. */
5274 /* We use char because int might match the return type of a gcc2 5273 /* We use char because int might match the return type of a gcc2
5275 builtin and then its argument prototype would still apply. */ 5274 builtin and then its argument prototype would still apply. */
5276 char XawScrollbarSetThumb(); 5275 char XawScrollbarSetThumb();
5277 5276
5278 int main() { 5277 int main() {
5279 XawScrollbarSetThumb() 5278 XawScrollbarSetThumb()
5280 ; return 0; } 5279 ; return 0; }
5281 EOF 5280 EOF
5282 if { (eval echo configure:5283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5281 if { (eval echo configure:5282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5283 rm -rf conftest* 5282 rm -rf conftest*
5284 eval "ac_cv_lib_$ac_lib_var=yes" 5283 eval "ac_cv_lib_$ac_lib_var=yes"
5285 else 5284 else
5286 echo "configure: failed program was:" >&5 5285 echo "configure: failed program was:" >&5
5287 cat conftest.$ac_ext >&5 5286 cat conftest.$ac_ext >&5
5334 esac 5333 esac
5335 5334
5336 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 5335 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
5337 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 5336 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
5338 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 5337 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
5339 echo "configure:5340: checking for X11/Xauth.h" >&5 5338 echo "configure:5339: checking for X11/Xauth.h" >&5
5340 5339
5341 cat > conftest.$ac_ext <<EOF 5340 cat > conftest.$ac_ext <<EOF
5342 #line 5343 "configure" 5341 #line 5342 "configure"
5343 #include "confdefs.h" 5342 #include "confdefs.h"
5344 #include <X11/Xauth.h> 5343 #include <X11/Xauth.h>
5345 EOF 5344 EOF
5346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5347 { (eval echo configure:5348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5346 { (eval echo configure:5347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5348 ac_err=`grep -v '^ *+' conftest.out` 5347 ac_err=`grep -v '^ *+' conftest.out`
5349 if test -z "$ac_err"; then 5348 if test -z "$ac_err"; then
5350 rm -rf conftest* 5349 rm -rf conftest*
5351 eval "ac_cv_header_$ac_safe=yes" 5350 eval "ac_cv_header_$ac_safe=yes"
5352 else 5351 else
5365 with_xauth=no 5364 with_xauth=no
5366 fi 5365 fi
5367 } 5366 }
5368 test -z "$with_xauth" && { 5367 test -z "$with_xauth" && {
5369 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 5368 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
5370 echo "configure:5371: checking for XauGetAuthByAddr in -lXau" >&5 5369 echo "configure:5370: checking for XauGetAuthByAddr in -lXau" >&5
5371 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 5370 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
5372 5371
5373 xe_check_libs=" -lXau " 5372 xe_check_libs=" -lXau "
5374 cat > conftest.$ac_ext <<EOF 5373 cat > conftest.$ac_ext <<EOF
5375 #line 5376 "configure" 5374 #line 5375 "configure"
5376 #include "confdefs.h" 5375 #include "confdefs.h"
5377 /* Override any gcc2 internal prototype to avoid an error. */ 5376 /* Override any gcc2 internal prototype to avoid an error. */
5378 /* We use char because int might match the return type of a gcc2 5377 /* We use char because int might match the return type of a gcc2
5379 builtin and then its argument prototype would still apply. */ 5378 builtin and then its argument prototype would still apply. */
5380 char XauGetAuthByAddr(); 5379 char XauGetAuthByAddr();
5381 5380
5382 int main() { 5381 int main() {
5383 XauGetAuthByAddr() 5382 XauGetAuthByAddr()
5384 ; return 0; } 5383 ; return 0; }
5385 EOF 5384 EOF
5386 if { (eval echo configure:5387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5385 if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5387 rm -rf conftest* 5386 rm -rf conftest*
5388 eval "ac_cv_lib_$ac_lib_var=yes" 5387 eval "ac_cv_lib_$ac_lib_var=yes"
5389 else 5388 else
5390 echo "configure: failed program was:" >&5 5389 echo "configure: failed program was:" >&5
5391 cat conftest.$ac_ext >&5 5390 cat conftest.$ac_ext >&5
5422 fi 5421 fi
5423 5422
5424 5423
5425 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` 5424 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'`
5426 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 5425 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6
5427 echo "configure:5428: checking for OffiX/DragAndDrop.h" >&5 5426 echo "configure:5427: checking for OffiX/DragAndDrop.h" >&5
5428 5427
5429 cat > conftest.$ac_ext <<EOF 5428 cat > conftest.$ac_ext <<EOF
5430 #line 5431 "configure" 5429 #line 5430 "configure"
5431 #include "confdefs.h" 5430 #include "confdefs.h"
5432 #include <OffiX/DragAndDrop.h> 5431 #include <OffiX/DragAndDrop.h>
5433 EOF 5432 EOF
5434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5435 { (eval echo configure:5436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5434 { (eval echo configure:5435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5436 ac_err=`grep -v '^ *+' conftest.out` 5435 ac_err=`grep -v '^ *+' conftest.out`
5437 if test -z "$ac_err"; then 5436 if test -z "$ac_err"; then
5438 rm -rf conftest* 5437 rm -rf conftest*
5439 eval "ac_cv_header_$ac_safe=yes" 5438 eval "ac_cv_header_$ac_safe=yes"
5440 else 5439 else
5453 with_offix=no 5452 with_offix=no
5454 fi 5453 fi
5455 } 5454 }
5456 test -z "$with_offix" && { 5455 test -z "$with_offix" && {
5457 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 5456 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6
5458 echo "configure:5459: checking for DndInitialize in -lDnd" >&5 5457 echo "configure:5458: checking for DndInitialize in -lDnd" >&5
5459 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` 5458 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'`
5460 5459
5461 xe_check_libs=" -lDnd " 5460 xe_check_libs=" -lDnd "
5462 cat > conftest.$ac_ext <<EOF 5461 cat > conftest.$ac_ext <<EOF
5463 #line 5464 "configure" 5462 #line 5463 "configure"
5464 #include "confdefs.h" 5463 #include "confdefs.h"
5465 /* Override any gcc2 internal prototype to avoid an error. */ 5464 /* Override any gcc2 internal prototype to avoid an error. */
5466 /* We use char because int might match the return type of a gcc2 5465 /* We use char because int might match the return type of a gcc2
5467 builtin and then its argument prototype would still apply. */ 5466 builtin and then its argument prototype would still apply. */
5468 char DndInitialize(); 5467 char DndInitialize();
5469 5468
5470 int main() { 5469 int main() {
5471 DndInitialize() 5470 DndInitialize()
5472 ; return 0; } 5471 ; return 0; }
5473 EOF 5472 EOF
5474 if { (eval echo configure:5475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5473 if { (eval echo configure:5474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5475 rm -rf conftest* 5474 rm -rf conftest*
5476 eval "ac_cv_lib_$ac_lib_var=yes" 5475 eval "ac_cv_lib_$ac_lib_var=yes"
5477 else 5476 else
5478 echo "configure: failed program was:" >&5 5477 echo "configure: failed program was:" >&5
5479 cat conftest.$ac_ext >&5 5478 cat conftest.$ac_ext >&5
5508 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk 5507 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk
5509 if test "$with_tooltalk" != "no" ; then 5508 if test "$with_tooltalk" != "no" ; then
5510 for dir in "" "Tt/" "desktop/" ; do 5509 for dir in "" "Tt/" "desktop/" ; do
5511 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 5510 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
5512 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 5511 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
5513 echo "configure:5514: checking for ${dir}tt_c.h" >&5 5512 echo "configure:5513: checking for ${dir}tt_c.h" >&5
5514 5513
5515 cat > conftest.$ac_ext <<EOF 5514 cat > conftest.$ac_ext <<EOF
5516 #line 5517 "configure" 5515 #line 5516 "configure"
5517 #include "confdefs.h" 5516 #include "confdefs.h"
5518 #include <${dir}tt_c.h> 5517 #include <${dir}tt_c.h>
5519 EOF 5518 EOF
5520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5521 { (eval echo configure:5522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5520 { (eval echo configure:5521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5522 ac_err=`grep -v '^ *+' conftest.out` 5521 ac_err=`grep -v '^ *+' conftest.out`
5523 if test -z "$ac_err"; then 5522 if test -z "$ac_err"; then
5524 rm -rf conftest* 5523 rm -rf conftest*
5525 eval "ac_cv_header_$ac_safe=yes" 5524 eval "ac_cv_header_$ac_safe=yes"
5526 else 5525 else
5545 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 5544 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
5546 5545
5547 xe_msg_checking="for tt_message_create in -ltt" 5546 xe_msg_checking="for tt_message_create in -ltt"
5548 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 5547 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
5549 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 5548 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
5550 echo "configure:5551: checking "$xe_msg_checking"" >&5 5549 echo "configure:5550: checking "$xe_msg_checking"" >&5
5551 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 5550 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
5552 5551
5553 xe_check_libs=" -ltt $extra_libs" 5552 xe_check_libs=" -ltt $extra_libs"
5554 cat > conftest.$ac_ext <<EOF 5553 cat > conftest.$ac_ext <<EOF
5555 #line 5556 "configure" 5554 #line 5555 "configure"
5556 #include "confdefs.h" 5555 #include "confdefs.h"
5557 /* Override any gcc2 internal prototype to avoid an error. */ 5556 /* Override any gcc2 internal prototype to avoid an error. */
5558 /* We use char because int might match the return type of a gcc2 5557 /* We use char because int might match the return type of a gcc2
5559 builtin and then its argument prototype would still apply. */ 5558 builtin and then its argument prototype would still apply. */
5560 char tt_message_create(); 5559 char tt_message_create();
5561 5560
5562 int main() { 5561 int main() {
5563 tt_message_create() 5562 tt_message_create()
5564 ; return 0; } 5563 ; return 0; }
5565 EOF 5564 EOF
5566 if { (eval echo configure:5567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5565 if { (eval echo configure:5566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5567 rm -rf conftest* 5566 rm -rf conftest*
5568 eval "ac_cv_lib_$ac_lib_var=yes" 5567 eval "ac_cv_lib_$ac_lib_var=yes"
5569 else 5568 else
5570 echo "configure: failed program was:" >&5 5569 echo "configure: failed program was:" >&5
5571 cat conftest.$ac_ext >&5 5570 cat conftest.$ac_ext >&5
5610 fi 5609 fi
5611 fi 5610 fi
5612 5611
5613 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 5612 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
5614 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 5613 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
5615 echo "configure:5616: checking for Dt/Dt.h" >&5 5614 echo "configure:5615: checking for Dt/Dt.h" >&5
5616 5615
5617 cat > conftest.$ac_ext <<EOF 5616 cat > conftest.$ac_ext <<EOF
5618 #line 5619 "configure" 5617 #line 5618 "configure"
5619 #include "confdefs.h" 5618 #include "confdefs.h"
5620 #include <Dt/Dt.h> 5619 #include <Dt/Dt.h>
5621 EOF 5620 EOF
5622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5623 { (eval echo configure:5624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5622 { (eval echo configure:5623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5624 ac_err=`grep -v '^ *+' conftest.out` 5623 ac_err=`grep -v '^ *+' conftest.out`
5625 if test -z "$ac_err"; then 5624 if test -z "$ac_err"; then
5626 rm -rf conftest* 5625 rm -rf conftest*
5627 eval "ac_cv_header_$ac_safe=yes" 5626 eval "ac_cv_header_$ac_safe=yes"
5628 else 5627 else
5641 with_cde=no 5640 with_cde=no
5642 fi 5641 fi
5643 } 5642 }
5644 test -z "$with_cde" && { 5643 test -z "$with_cde" && {
5645 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 5644 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
5646 echo "configure:5647: checking for DtDndDragStart in -lDtSvc" >&5 5645 echo "configure:5646: checking for DtDndDragStart in -lDtSvc" >&5
5647 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 5646 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
5648 5647
5649 xe_check_libs=" -lDtSvc " 5648 xe_check_libs=" -lDtSvc "
5650 cat > conftest.$ac_ext <<EOF 5649 cat > conftest.$ac_ext <<EOF
5651 #line 5652 "configure" 5650 #line 5651 "configure"
5652 #include "confdefs.h" 5651 #include "confdefs.h"
5653 /* Override any gcc2 internal prototype to avoid an error. */ 5652 /* Override any gcc2 internal prototype to avoid an error. */
5654 /* We use char because int might match the return type of a gcc2 5653 /* We use char because int might match the return type of a gcc2
5655 builtin and then its argument prototype would still apply. */ 5654 builtin and then its argument prototype would still apply. */
5656 char DtDndDragStart(); 5655 char DtDndDragStart();
5657 5656
5658 int main() { 5657 int main() {
5659 DtDndDragStart() 5658 DtDndDragStart()
5660 ; return 0; } 5659 ; return 0; }
5661 EOF 5660 EOF
5662 if { (eval echo configure:5663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5663 rm -rf conftest* 5662 rm -rf conftest*
5664 eval "ac_cv_lib_$ac_lib_var=yes" 5663 eval "ac_cv_lib_$ac_lib_var=yes"
5665 else 5664 else
5666 echo "configure: failed program was:" >&5 5665 echo "configure: failed program was:" >&5
5667 cat conftest.$ac_ext >&5 5666 cat conftest.$ac_ext >&5
5704 EOF 5703 EOF
5705 } 5704 }
5706 5705
5707 5706
5708 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 5707 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6
5709 echo "configure:5710: checking for main in -lenergize" >&5 5708 echo "configure:5709: checking for main in -lenergize" >&5
5710 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` 5709 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'`
5711 5710
5712 xe_check_libs=" -lenergize " 5711 xe_check_libs=" -lenergize "
5713 cat > conftest.$ac_ext <<EOF 5712 cat > conftest.$ac_ext <<EOF
5714 #line 5715 "configure" 5713 #line 5714 "configure"
5715 #include "confdefs.h" 5714 #include "confdefs.h"
5716 5715
5717 int main() { 5716 int main() {
5718 main() 5717 main()
5719 ; return 0; } 5718 ; return 0; }
5720 EOF 5719 EOF
5721 if { (eval echo configure:5722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5720 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5722 rm -rf conftest* 5721 rm -rf conftest*
5723 eval "ac_cv_lib_$ac_lib_var=yes" 5722 eval "ac_cv_lib_$ac_lib_var=yes"
5724 else 5723 else
5725 echo "configure: failed program was:" >&5 5724 echo "configure: failed program was:" >&5
5726 cat conftest.$ac_ext >&5 5725 cat conftest.$ac_ext >&5
5748 5747
5749 5748
5750 if test -z "$energize_version"; then 5749 if test -z "$energize_version"; then
5751 5750
5752 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 5751 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6
5753 echo "configure:5754: checking for main in -lconn" >&5 5752 echo "configure:5753: checking for main in -lconn" >&5
5754 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` 5753 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'`
5755 5754
5756 xe_check_libs=" -lconn " 5755 xe_check_libs=" -lconn "
5757 cat > conftest.$ac_ext <<EOF 5756 cat > conftest.$ac_ext <<EOF
5758 #line 5759 "configure" 5757 #line 5758 "configure"
5759 #include "confdefs.h" 5758 #include "confdefs.h"
5760 5759
5761 int main() { 5760 int main() {
5762 main() 5761 main()
5763 ; return 0; } 5762 ; return 0; }
5764 EOF 5763 EOF
5765 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5764 if { (eval echo configure:5765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5766 rm -rf conftest* 5765 rm -rf conftest*
5767 eval "ac_cv_lib_$ac_lib_var=yes" 5766 eval "ac_cv_lib_$ac_lib_var=yes"
5768 else 5767 else
5769 echo "configure: failed program was:" >&5 5768 echo "configure: failed program was:" >&5
5770 cat conftest.$ac_ext >&5 5769 cat conftest.$ac_ext >&5
5793 5792
5794 5793
5795 fi 5794 fi
5796 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` 5795 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'`
5797 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 5796 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6
5798 echo "configure:5799: checking for editorconn.h" >&5 5797 echo "configure:5798: checking for editorconn.h" >&5
5799 5798
5800 cat > conftest.$ac_ext <<EOF 5799 cat > conftest.$ac_ext <<EOF
5801 #line 5802 "configure" 5800 #line 5801 "configure"
5802 #include "confdefs.h" 5801 #include "confdefs.h"
5803 #include <editorconn.h> 5802 #include <editorconn.h>
5804 EOF 5803 EOF
5805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5806 { (eval echo configure:5807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5805 { (eval echo configure:5806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5807 ac_err=`grep -v '^ *+' conftest.out` 5806 ac_err=`grep -v '^ *+' conftest.out`
5808 if test -z "$ac_err"; then 5807 if test -z "$ac_err"; then
5809 rm -rf conftest* 5808 rm -rf conftest*
5810 eval "ac_cv_header_$ac_safe=yes" 5809 eval "ac_cv_header_$ac_safe=yes"
5811 else 5810 else
5843 5842
5844 fi 5843 fi
5845 5844
5846 5845
5847 echo "checking for graphics libraries" 1>&6 5846 echo "checking for graphics libraries" 1>&6
5848 echo "configure:5849: checking for graphics libraries" >&5 5847 echo "configure:5848: checking for graphics libraries" >&5
5849 test -z "$with_gif" && with_gif=yes; 5848 test -z "$with_gif" && with_gif=yes;
5850 if test "$with_gif" = "yes"; then 5849 if test "$with_gif" = "yes"; then
5851 { test "$extra_verbose" = "yes" && cat << \EOF 5850 { test "$extra_verbose" = "yes" && cat << \EOF
5852 Defining HAVE_GIF 5851 Defining HAVE_GIF
5853 EOF 5852 EOF
5860 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" 5859 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\""
5861 fi 5860 fi
5862 fi 5861 fi
5863 5862
5864 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 5863 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
5865 echo "configure:5866: checking for Xpm - no older than 3.4f" >&5 5864 echo "configure:5865: checking for Xpm - no older than 3.4f" >&5
5866 xe_check_libs=-lXpm 5865 xe_check_libs=-lXpm
5867 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF 5866 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF
5868 #line 5869 "configure" 5867 #line 5868 "configure"
5869 #include "confdefs.h" 5868 #include "confdefs.h"
5870 #include <X11/xpm.h> 5869 #include <X11/xpm.h>
5871 int main(int c, char **v) { 5870 int main(int c, char **v) {
5872 return c == 1 ? 0 : 5871 return c == 1 ? 0 :
5873 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 5872 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
5874 XpmIncludeVersion < 30406 ? 2 : 5873 XpmIncludeVersion < 30406 ? 2 :
5875 0 ; 5874 0 ;
5876 } 5875 }
5877 EOF 5876 EOF
5878 if { (eval echo configure:5879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 5877 if { (eval echo configure:5878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
5879 then 5878 then
5880 ./conftest foobar; xpm_status=$?; 5879 ./conftest foobar; xpm_status=$?;
5881 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; 5880 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi;
5882 else 5881 else
5883 echo "configure: failed program was:" >&5 5882 echo "configure: failed program was:" >&5
5911 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 5910 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
5912 fi 5911 fi
5913 5912
5914 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 5913 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
5915 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 5914 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
5916 echo "configure:5917: checking for compface.h" >&5 5915 echo "configure:5916: checking for compface.h" >&5
5917 5916
5918 cat > conftest.$ac_ext <<EOF 5917 cat > conftest.$ac_ext <<EOF
5919 #line 5920 "configure" 5918 #line 5919 "configure"
5920 #include "confdefs.h" 5919 #include "confdefs.h"
5921 #include <compface.h> 5920 #include <compface.h>
5922 EOF 5921 EOF
5923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5924 { (eval echo configure:5925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5923 { (eval echo configure:5924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5925 ac_err=`grep -v '^ *+' conftest.out` 5924 ac_err=`grep -v '^ *+' conftest.out`
5926 if test -z "$ac_err"; then 5925 if test -z "$ac_err"; then
5927 rm -rf conftest* 5926 rm -rf conftest*
5928 eval "ac_cv_header_$ac_safe=yes" 5927 eval "ac_cv_header_$ac_safe=yes"
5929 else 5928 else
5942 with_xface=no 5941 with_xface=no
5943 fi 5942 fi
5944 } 5943 }
5945 test -z "$with_xface" && { 5944 test -z "$with_xface" && {
5946 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 5945 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
5947 echo "configure:5948: checking for UnGenFace in -lcompface" >&5 5946 echo "configure:5947: checking for UnGenFace in -lcompface" >&5
5948 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 5947 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
5949 5948
5950 xe_check_libs=" -lcompface " 5949 xe_check_libs=" -lcompface "
5951 cat > conftest.$ac_ext <<EOF 5950 cat > conftest.$ac_ext <<EOF
5952 #line 5953 "configure" 5951 #line 5952 "configure"
5953 #include "confdefs.h" 5952 #include "confdefs.h"
5954 /* Override any gcc2 internal prototype to avoid an error. */ 5953 /* Override any gcc2 internal prototype to avoid an error. */
5955 /* We use char because int might match the return type of a gcc2 5954 /* We use char because int might match the return type of a gcc2
5956 builtin and then its argument prototype would still apply. */ 5955 builtin and then its argument prototype would still apply. */
5957 char UnGenFace(); 5956 char UnGenFace();
5958 5957
5959 int main() { 5958 int main() {
5960 UnGenFace() 5959 UnGenFace()
5961 ; return 0; } 5960 ; return 0; }
5962 EOF 5961 EOF
5963 if { (eval echo configure:5964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5962 if { (eval echo configure:5963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
5964 rm -rf conftest* 5963 rm -rf conftest*
5965 eval "ac_cv_lib_$ac_lib_var=yes" 5964 eval "ac_cv_lib_$ac_lib_var=yes"
5966 else 5965 else
5967 echo "configure: failed program was:" >&5 5966 echo "configure: failed program was:" >&5
5968 cat conftest.$ac_ext >&5 5967 cat conftest.$ac_ext >&5
5994 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi 5993 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi
5995 fi 5994 fi
5996 5995
5997 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 5996 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
5998 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 5997 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
5999 echo "configure:6000: checking for jpeglib.h" >&5 5998 echo "configure:5999: checking for jpeglib.h" >&5
6000 5999
6001 cat > conftest.$ac_ext <<EOF 6000 cat > conftest.$ac_ext <<EOF
6002 #line 6003 "configure" 6001 #line 6002 "configure"
6003 #include "confdefs.h" 6002 #include "confdefs.h"
6004 #include <jpeglib.h> 6003 #include <jpeglib.h>
6005 EOF 6004 EOF
6006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6007 { (eval echo configure:6008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6006 { (eval echo configure:6007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6008 ac_err=`grep -v '^ *+' conftest.out` 6007 ac_err=`grep -v '^ *+' conftest.out`
6009 if test -z "$ac_err"; then 6008 if test -z "$ac_err"; then
6010 rm -rf conftest* 6009 rm -rf conftest*
6011 eval "ac_cv_header_$ac_safe=yes" 6010 eval "ac_cv_header_$ac_safe=yes"
6012 else 6011 else
6025 with_jpeg=no 6024 with_jpeg=no
6026 fi 6025 fi
6027 } 6026 }
6028 test -z "$with_jpeg" && { 6027 test -z "$with_jpeg" && {
6029 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 6028 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
6030 echo "configure:6031: checking for jpeg_destroy_decompress in -ljpeg" >&5 6029 echo "configure:6030: checking for jpeg_destroy_decompress in -ljpeg" >&5
6031 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 6030 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
6032 6031
6033 xe_check_libs=" -ljpeg " 6032 xe_check_libs=" -ljpeg "
6034 cat > conftest.$ac_ext <<EOF 6033 cat > conftest.$ac_ext <<EOF
6035 #line 6036 "configure" 6034 #line 6035 "configure"
6036 #include "confdefs.h" 6035 #include "confdefs.h"
6037 /* Override any gcc2 internal prototype to avoid an error. */ 6036 /* Override any gcc2 internal prototype to avoid an error. */
6038 /* We use char because int might match the return type of a gcc2 6037 /* We use char because int might match the return type of a gcc2
6039 builtin and then its argument prototype would still apply. */ 6038 builtin and then its argument prototype would still apply. */
6040 char jpeg_destroy_decompress(); 6039 char jpeg_destroy_decompress();
6041 6040
6042 int main() { 6041 int main() {
6043 jpeg_destroy_decompress() 6042 jpeg_destroy_decompress()
6044 ; return 0; } 6043 ; return 0; }
6045 EOF 6044 EOF
6046 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6045 if { (eval echo configure:6046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6047 rm -rf conftest* 6046 rm -rf conftest*
6048 eval "ac_cv_lib_$ac_lib_var=yes" 6047 eval "ac_cv_lib_$ac_lib_var=yes"
6049 else 6048 else
6050 echo "configure: failed program was:" >&5 6049 echo "configure: failed program was:" >&5
6051 cat conftest.$ac_ext >&5 6050 cat conftest.$ac_ext >&5
6077 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 6076 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
6078 fi 6077 fi
6079 6078
6080 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 6079 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
6081 echo $ac_n "checking for png.h""... $ac_c" 1>&6 6080 echo $ac_n "checking for png.h""... $ac_c" 1>&6
6082 echo "configure:6083: checking for png.h" >&5 6081 echo "configure:6082: checking for png.h" >&5
6083 6082
6084 cat > conftest.$ac_ext <<EOF 6083 cat > conftest.$ac_ext <<EOF
6085 #line 6086 "configure" 6084 #line 6085 "configure"
6086 #include "confdefs.h" 6085 #include "confdefs.h"
6087 #include <png.h> 6086 #include <png.h>
6088 EOF 6087 EOF
6089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6090 { (eval echo configure:6091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6089 { (eval echo configure:6090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6091 ac_err=`grep -v '^ *+' conftest.out` 6090 ac_err=`grep -v '^ *+' conftest.out`
6092 if test -z "$ac_err"; then 6091 if test -z "$ac_err"; then
6093 rm -rf conftest* 6092 rm -rf conftest*
6094 eval "ac_cv_header_$ac_safe=yes" 6093 eval "ac_cv_header_$ac_safe=yes"
6095 else 6094 else
6107 echo "$ac_t""no" 1>&6 6106 echo "$ac_t""no" 1>&6
6108 with_png=no 6107 with_png=no
6109 fi 6108 fi
6110 } 6109 }
6111 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 6110 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
6112 echo "configure:6113: checking for pow" >&5 6111 echo "configure:6112: checking for pow" >&5
6113 6112
6114 cat > conftest.$ac_ext <<EOF 6113 cat > conftest.$ac_ext <<EOF
6115 #line 6116 "configure" 6114 #line 6115 "configure"
6116 #include "confdefs.h" 6115 #include "confdefs.h"
6117 /* System header to define __stub macros and hopefully few prototypes, 6116 /* System header to define __stub macros and hopefully few prototypes,
6118 which can conflict with char pow(); below. */ 6117 which can conflict with char pow(); below. */
6119 #include <assert.h> 6118 #include <assert.h>
6120 /* Override any gcc2 internal prototype to avoid an error. */ 6119 /* Override any gcc2 internal prototype to avoid an error. */
6133 pow(); 6132 pow();
6134 #endif 6133 #endif
6135 6134
6136 ; return 0; } 6135 ; return 0; }
6137 EOF 6136 EOF
6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6137 if { (eval echo configure:6138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6139 rm -rf conftest* 6138 rm -rf conftest*
6140 eval "ac_cv_func_pow=yes" 6139 eval "ac_cv_func_pow=yes"
6141 else 6140 else
6142 echo "configure: failed program was:" >&5 6141 echo "configure: failed program was:" >&5
6143 cat conftest.$ac_ext >&5 6142 cat conftest.$ac_ext >&5
6158 for extra_libs in "" "-lz" "-lgz"; do 6157 for extra_libs in "" "-lz" "-lgz"; do
6159 6158
6160 xe_msg_checking="for png_read_image in -lpng" 6159 xe_msg_checking="for png_read_image in -lpng"
6161 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6160 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6162 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6161 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6163 echo "configure:6164: checking "$xe_msg_checking"" >&5 6162 echo "configure:6163: checking "$xe_msg_checking"" >&5
6164 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 6163 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
6165 6164
6166 xe_check_libs=" -lpng $extra_libs" 6165 xe_check_libs=" -lpng $extra_libs"
6167 cat > conftest.$ac_ext <<EOF 6166 cat > conftest.$ac_ext <<EOF
6168 #line 6169 "configure" 6167 #line 6168 "configure"
6169 #include "confdefs.h" 6168 #include "confdefs.h"
6170 /* Override any gcc2 internal prototype to avoid an error. */ 6169 /* Override any gcc2 internal prototype to avoid an error. */
6171 /* We use char because int might match the return type of a gcc2 6170 /* We use char because int might match the return type of a gcc2
6172 builtin and then its argument prototype would still apply. */ 6171 builtin and then its argument prototype would still apply. */
6173 char png_read_image(); 6172 char png_read_image();
6174 6173
6175 int main() { 6174 int main() {
6176 png_read_image() 6175 png_read_image()
6177 ; return 0; } 6176 ; return 0; }
6178 EOF 6177 EOF
6179 if { (eval echo configure:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6178 if { (eval echo configure:6179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6180 rm -rf conftest* 6179 rm -rf conftest*
6181 eval "ac_cv_lib_$ac_lib_var=yes" 6180 eval "ac_cv_lib_$ac_lib_var=yes"
6182 else 6181 else
6183 echo "configure: failed program was:" >&5 6182 echo "configure: failed program was:" >&5
6184 cat conftest.$ac_ext >&5 6183 cat conftest.$ac_ext >&5
6224 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi 6223 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi
6225 fi 6224 fi
6226 6225
6227 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6226 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6228 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6227 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6229 echo "configure:6230: checking for Xm/Xm.h" >&5 6228 echo "configure:6229: checking for Xm/Xm.h" >&5
6230 6229
6231 cat > conftest.$ac_ext <<EOF 6230 cat > conftest.$ac_ext <<EOF
6232 #line 6233 "configure" 6231 #line 6232 "configure"
6233 #include "confdefs.h" 6232 #include "confdefs.h"
6234 #include <Xm/Xm.h> 6233 #include <Xm/Xm.h>
6235 EOF 6234 EOF
6236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6237 { (eval echo configure:6238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6236 { (eval echo configure:6237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6238 ac_err=`grep -v '^ *+' conftest.out` 6237 ac_err=`grep -v '^ *+' conftest.out`
6239 if test -z "$ac_err"; then 6238 if test -z "$ac_err"; then
6240 rm -rf conftest* 6239 rm -rf conftest*
6241 eval "ac_cv_header_$ac_safe=yes" 6240 eval "ac_cv_header_$ac_safe=yes"
6242 else 6241 else
6249 rm -f conftest* 6248 rm -f conftest*
6250 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6249 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6251 echo "$ac_t""yes" 1>&6 6250 echo "$ac_t""yes" 1>&6
6252 6251
6253 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6252 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6254 echo "configure:6255: checking for XmStringFree in -lXm" >&5 6253 echo "configure:6254: checking for XmStringFree in -lXm" >&5
6255 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6254 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6256 6255
6257 xe_check_libs=" -lXm " 6256 xe_check_libs=" -lXm "
6258 cat > conftest.$ac_ext <<EOF 6257 cat > conftest.$ac_ext <<EOF
6259 #line 6260 "configure" 6258 #line 6259 "configure"
6260 #include "confdefs.h" 6259 #include "confdefs.h"
6261 /* Override any gcc2 internal prototype to avoid an error. */ 6260 /* Override any gcc2 internal prototype to avoid an error. */
6262 /* We use char because int might match the return type of a gcc2 6261 /* We use char because int might match the return type of a gcc2
6263 builtin and then its argument prototype would still apply. */ 6262 builtin and then its argument prototype would still apply. */
6264 char XmStringFree(); 6263 char XmStringFree();
6265 6264
6266 int main() { 6265 int main() {
6267 XmStringFree() 6266 XmStringFree()
6268 ; return 0; } 6267 ; return 0; }
6269 EOF 6268 EOF
6270 if { (eval echo configure:6271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6269 if { (eval echo configure:6270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6271 rm -rf conftest* 6270 rm -rf conftest*
6272 eval "ac_cv_lib_$ac_lib_var=yes" 6271 eval "ac_cv_lib_$ac_lib_var=yes"
6273 else 6272 else
6274 echo "configure: failed program was:" >&5 6273 echo "configure: failed program was:" >&5
6275 cat conftest.$ac_ext >&5 6274 cat conftest.$ac_ext >&5
6513 6512
6514 test -z "$with_mule" && with_mule=no 6513 test -z "$with_mule" && with_mule=no
6515 6514
6516 if test "$with_mule" = "yes" ; then 6515 if test "$with_mule" = "yes" ; then
6517 echo "checking for Mule-related features" 1>&6 6516 echo "checking for Mule-related features" 1>&6
6518 echo "configure:6519: checking for Mule-related features" >&5 6517 echo "configure:6518: checking for Mule-related features" >&5
6519 { test "$extra_verbose" = "yes" && cat << \EOF 6518 { test "$extra_verbose" = "yes" && cat << \EOF
6520 Defining MULE 6519 Defining MULE
6521 EOF 6520 EOF
6522 cat >> confdefs.h <<\EOF 6521 cat >> confdefs.h <<\EOF
6523 #define MULE 1 6522 #define MULE 1
6530 6529
6531 for ac_hdr in libintl.h 6530 for ac_hdr in libintl.h
6532 do 6531 do
6533 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6534 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6535 echo "configure:6536: checking for $ac_hdr" >&5 6534 echo "configure:6535: checking for $ac_hdr" >&5
6536 6535
6537 cat > conftest.$ac_ext <<EOF 6536 cat > conftest.$ac_ext <<EOF
6538 #line 6539 "configure" 6537 #line 6538 "configure"
6539 #include "confdefs.h" 6538 #include "confdefs.h"
6540 #include <$ac_hdr> 6539 #include <$ac_hdr>
6541 EOF 6540 EOF
6542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6543 { (eval echo configure:6544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6542 { (eval echo configure:6543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6544 ac_err=`grep -v '^ *+' conftest.out` 6543 ac_err=`grep -v '^ *+' conftest.out`
6545 if test -z "$ac_err"; then 6544 if test -z "$ac_err"; then
6546 rm -rf conftest* 6545 rm -rf conftest*
6547 eval "ac_cv_header_$ac_safe=yes" 6546 eval "ac_cv_header_$ac_safe=yes"
6548 else 6547 else
6569 fi 6568 fi
6570 done 6569 done
6571 6570
6572 6571
6573 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 6572 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
6574 echo "configure:6575: checking for strerror in -lintl" >&5 6573 echo "configure:6574: checking for strerror in -lintl" >&5
6575 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 6574 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
6576 6575
6577 xe_check_libs=" -lintl " 6576 xe_check_libs=" -lintl "
6578 cat > conftest.$ac_ext <<EOF 6577 cat > conftest.$ac_ext <<EOF
6579 #line 6580 "configure" 6578 #line 6579 "configure"
6580 #include "confdefs.h" 6579 #include "confdefs.h"
6581 /* Override any gcc2 internal prototype to avoid an error. */ 6580 /* Override any gcc2 internal prototype to avoid an error. */
6582 /* We use char because int might match the return type of a gcc2 6581 /* We use char because int might match the return type of a gcc2
6583 builtin and then its argument prototype would still apply. */ 6582 builtin and then its argument prototype would still apply. */
6584 char strerror(); 6583 char strerror();
6585 6584
6586 int main() { 6585 int main() {
6587 strerror() 6586 strerror()
6588 ; return 0; } 6587 ; return 0; }
6589 EOF 6588 EOF
6590 if { (eval echo configure:6591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6589 if { (eval echo configure:6590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6591 rm -rf conftest* 6590 rm -rf conftest*
6592 eval "ac_cv_lib_$ac_lib_var=yes" 6591 eval "ac_cv_lib_$ac_lib_var=yes"
6593 else 6592 else
6594 echo "configure: failed program was:" >&5 6593 echo "configure: failed program was:" >&5
6595 cat conftest.$ac_ext >&5 6594 cat conftest.$ac_ext >&5
6618 fi 6617 fi
6619 6618
6620 6619
6621 6620
6622 echo "checking for Mule input methods" 1>&6 6621 echo "checking for Mule input methods" 1>&6
6623 echo "configure:6624: checking for Mule input methods" >&5 6622 echo "configure:6623: checking for Mule input methods" >&5
6624 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no 6623 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no
6625 case "$with_xim" in "" | "yes" ) 6624 case "$with_xim" in "" | "yes" )
6626 echo "checking for XIM" 1>&6 6625 echo "checking for XIM" 1>&6
6627 echo "configure:6628: checking for XIM" >&5 6626 echo "configure:6627: checking for XIM" >&5
6628 6627
6629 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 6628 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
6630 echo "configure:6631: checking for XmImMbLookupString in -lXm" >&5 6629 echo "configure:6630: checking for XmImMbLookupString in -lXm" >&5
6631 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 6630 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
6632 6631
6633 xe_check_libs=" -lXm " 6632 xe_check_libs=" -lXm "
6634 cat > conftest.$ac_ext <<EOF 6633 cat > conftest.$ac_ext <<EOF
6635 #line 6636 "configure" 6634 #line 6635 "configure"
6636 #include "confdefs.h" 6635 #include "confdefs.h"
6637 /* Override any gcc2 internal prototype to avoid an error. */ 6636 /* Override any gcc2 internal prototype to avoid an error. */
6638 /* We use char because int might match the return type of a gcc2 6637 /* We use char because int might match the return type of a gcc2
6639 builtin and then its argument prototype would still apply. */ 6638 builtin and then its argument prototype would still apply. */
6640 char XmImMbLookupString(); 6639 char XmImMbLookupString();
6641 6640
6642 int main() { 6641 int main() {
6643 XmImMbLookupString() 6642 XmImMbLookupString()
6644 ; return 0; } 6643 ; return 0; }
6645 EOF 6644 EOF
6646 if { (eval echo configure:6647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6645 if { (eval echo configure:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6647 rm -rf conftest* 6646 rm -rf conftest*
6648 eval "ac_cv_lib_$ac_lib_var=yes" 6647 eval "ac_cv_lib_$ac_lib_var=yes"
6649 else 6648 else
6650 echo "configure: failed program was:" >&5 6649 echo "configure: failed program was:" >&5
6651 cat conftest.$ac_ext >&5 6650 cat conftest.$ac_ext >&5
6703 fi 6702 fi
6704 fi 6703 fi
6705 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 6704 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
6706 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 6705 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
6707 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 6706 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
6708 echo "configure:6709: checking for wnn/jllib.h" >&5 6707 echo "configure:6708: checking for wnn/jllib.h" >&5
6709 6708
6710 cat > conftest.$ac_ext <<EOF 6709 cat > conftest.$ac_ext <<EOF
6711 #line 6712 "configure" 6710 #line 6711 "configure"
6712 #include "confdefs.h" 6711 #include "confdefs.h"
6713 #include <wnn/jllib.h> 6712 #include <wnn/jllib.h>
6714 EOF 6713 EOF
6715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6716 { (eval echo configure:6717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6715 { (eval echo configure:6716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6717 ac_err=`grep -v '^ *+' conftest.out` 6716 ac_err=`grep -v '^ *+' conftest.out`
6718 if test -z "$ac_err"; then 6717 if test -z "$ac_err"; then
6719 rm -rf conftest* 6718 rm -rf conftest*
6720 eval "ac_cv_header_$ac_safe=yes" 6719 eval "ac_cv_header_$ac_safe=yes"
6721 else 6720 else
6734 with_wnn=no 6733 with_wnn=no
6735 fi 6734 fi
6736 } 6735 }
6737 test -z "$with_wnn" && { 6736 test -z "$with_wnn" && {
6738 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 6737 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
6739 echo "configure:6740: checking for jl_dic_list_e in -lwnn" >&5 6738 echo "configure:6739: checking for jl_dic_list_e in -lwnn" >&5
6740 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 6739 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
6741 6740
6742 xe_check_libs=" -lwnn " 6741 xe_check_libs=" -lwnn "
6743 cat > conftest.$ac_ext <<EOF 6742 cat > conftest.$ac_ext <<EOF
6744 #line 6745 "configure" 6743 #line 6744 "configure"
6745 #include "confdefs.h" 6744 #include "confdefs.h"
6746 /* Override any gcc2 internal prototype to avoid an error. */ 6745 /* Override any gcc2 internal prototype to avoid an error. */
6747 /* We use char because int might match the return type of a gcc2 6746 /* We use char because int might match the return type of a gcc2
6748 builtin and then its argument prototype would still apply. */ 6747 builtin and then its argument prototype would still apply. */
6749 char jl_dic_list_e(); 6748 char jl_dic_list_e();
6750 6749
6751 int main() { 6750 int main() {
6752 jl_dic_list_e() 6751 jl_dic_list_e()
6753 ; return 0; } 6752 ; return 0; }
6754 EOF 6753 EOF
6755 if { (eval echo configure:6756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6756 rm -rf conftest* 6755 rm -rf conftest*
6757 eval "ac_cv_lib_$ac_lib_var=yes" 6756 eval "ac_cv_lib_$ac_lib_var=yes"
6758 else 6757 else
6759 echo "configure: failed program was:" >&5 6758 echo "configure: failed program was:" >&5
6760 cat conftest.$ac_ext >&5 6759 cat conftest.$ac_ext >&5
6787 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then 6786 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then
6788 echo " xemacs will be linked with \"mule-wnnfns.o\"" 6787 echo " xemacs will be linked with \"mule-wnnfns.o\""
6789 fi 6788 fi
6790 6789
6791 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 6790 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6
6792 echo "configure:6793: checking for jl_fi_dic_list in -lwnn" >&5 6791 echo "configure:6792: checking for jl_fi_dic_list in -lwnn" >&5
6793 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 6792 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
6794 6793
6795 xe_check_libs=" -lwnn " 6794 xe_check_libs=" -lwnn "
6796 cat > conftest.$ac_ext <<EOF 6795 cat > conftest.$ac_ext <<EOF
6797 #line 6798 "configure" 6796 #line 6797 "configure"
6798 #include "confdefs.h" 6797 #include "confdefs.h"
6799 /* Override any gcc2 internal prototype to avoid an error. */ 6798 /* Override any gcc2 internal prototype to avoid an error. */
6800 /* We use char because int might match the return type of a gcc2 6799 /* We use char because int might match the return type of a gcc2
6801 builtin and then its argument prototype would still apply. */ 6800 builtin and then its argument prototype would still apply. */
6802 char jl_fi_dic_list(); 6801 char jl_fi_dic_list();
6803 6802
6804 int main() { 6803 int main() {
6805 jl_fi_dic_list() 6804 jl_fi_dic_list()
6806 ; return 0; } 6805 ; return 0; }
6807 EOF 6806 EOF
6808 if { (eval echo configure:6809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6807 if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6809 rm -rf conftest* 6808 rm -rf conftest*
6810 eval "ac_cv_lib_$ac_lib_var=yes" 6809 eval "ac_cv_lib_$ac_lib_var=yes"
6811 else 6810 else
6812 echo "configure: failed program was:" >&5 6811 echo "configure: failed program was:" >&5
6813 cat conftest.$ac_ext >&5 6812 cat conftest.$ac_ext >&5
6835 6834
6836 fi 6835 fi
6837 6836
6838 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 6837 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
6839 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 6838 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
6840 echo "configure:6841: checking for canna/RK.h" >&5 6839 echo "configure:6840: checking for canna/RK.h" >&5
6841 6840
6842 cat > conftest.$ac_ext <<EOF 6841 cat > conftest.$ac_ext <<EOF
6843 #line 6844 "configure" 6842 #line 6843 "configure"
6844 #include "confdefs.h" 6843 #include "confdefs.h"
6845 #include <canna/RK.h> 6844 #include <canna/RK.h>
6846 EOF 6845 EOF
6847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6848 { (eval echo configure:6849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6847 { (eval echo configure:6848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6849 ac_err=`grep -v '^ *+' conftest.out` 6848 ac_err=`grep -v '^ *+' conftest.out`
6850 if test -z "$ac_err"; then 6849 if test -z "$ac_err"; then
6851 rm -rf conftest* 6850 rm -rf conftest*
6852 eval "ac_cv_header_$ac_safe=yes" 6851 eval "ac_cv_header_$ac_safe=yes"
6853 else 6852 else
6866 with_canna=no 6865 with_canna=no
6867 fi 6866 fi
6868 } 6867 }
6869 test -z "$with_canna" && { 6868 test -z "$with_canna" && {
6870 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 6869 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
6871 echo "configure:6872: checking for RkBgnBun in -lRKC" >&5 6870 echo "configure:6871: checking for RkBgnBun in -lRKC" >&5
6872 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 6871 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
6873 6872
6874 xe_check_libs=" -lRKC " 6873 xe_check_libs=" -lRKC "
6875 cat > conftest.$ac_ext <<EOF 6874 cat > conftest.$ac_ext <<EOF
6876 #line 6877 "configure" 6875 #line 6876 "configure"
6877 #include "confdefs.h" 6876 #include "confdefs.h"
6878 /* Override any gcc2 internal prototype to avoid an error. */ 6877 /* Override any gcc2 internal prototype to avoid an error. */
6879 /* We use char because int might match the return type of a gcc2 6878 /* We use char because int might match the return type of a gcc2
6880 builtin and then its argument prototype would still apply. */ 6879 builtin and then its argument prototype would still apply. */
6881 char RkBgnBun(); 6880 char RkBgnBun();
6882 6881
6883 int main() { 6882 int main() {
6884 RkBgnBun() 6883 RkBgnBun()
6885 ; return 0; } 6884 ; return 0; }
6886 EOF 6885 EOF
6887 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6886 if { (eval echo configure:6887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6888 rm -rf conftest* 6887 rm -rf conftest*
6889 eval "ac_cv_lib_$ac_lib_var=yes" 6888 eval "ac_cv_lib_$ac_lib_var=yes"
6890 else 6889 else
6891 echo "configure: failed program was:" >&5 6890 echo "configure: failed program was:" >&5
6892 cat conftest.$ac_ext >&5 6891 cat conftest.$ac_ext >&5
6905 fi 6904 fi
6906 6905
6907 } 6906 }
6908 test -z "$with_canna" && { 6907 test -z "$with_canna" && {
6909 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 6908 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
6910 echo "configure:6911: checking for jrKanjiControl in -lcanna" >&5 6909 echo "configure:6910: checking for jrKanjiControl in -lcanna" >&5
6911 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 6910 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
6912 6911
6913 xe_check_libs=" -lcanna " 6912 xe_check_libs=" -lcanna "
6914 cat > conftest.$ac_ext <<EOF 6913 cat > conftest.$ac_ext <<EOF
6915 #line 6916 "configure" 6914 #line 6915 "configure"
6916 #include "confdefs.h" 6915 #include "confdefs.h"
6917 /* Override any gcc2 internal prototype to avoid an error. */ 6916 /* Override any gcc2 internal prototype to avoid an error. */
6918 /* We use char because int might match the return type of a gcc2 6917 /* We use char because int might match the return type of a gcc2
6919 builtin and then its argument prototype would still apply. */ 6918 builtin and then its argument prototype would still apply. */
6920 char jrKanjiControl(); 6919 char jrKanjiControl();
6921 6920
6922 int main() { 6921 int main() {
6923 jrKanjiControl() 6922 jrKanjiControl()
6924 ; return 0; } 6923 ; return 0; }
6925 EOF 6924 EOF
6926 if { (eval echo configure:6927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6925 if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6927 rm -rf conftest* 6926 rm -rf conftest*
6928 eval "ac_cv_lib_$ac_lib_var=yes" 6927 eval "ac_cv_lib_$ac_lib_var=yes"
6929 else 6928 else
6930 echo "configure: failed program was:" >&5 6929 echo "configure: failed program was:" >&5
6931 cat conftest.$ac_ext >&5 6930 cat conftest.$ac_ext >&5
6970 6969
6971 if test "$need_motif" = "yes" ; then 6970 if test "$need_motif" = "yes" ; then
6972 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 6971 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
6973 6972
6974 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then 6973 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then
6975 ld_switch_site=`echo '' $ld_switch_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//"` 6974 ld_switch_site=`echo '' $ld_switch_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"`
6976 ld_switch_x_site=`echo '' $ld_switch_x_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//"` 6975 ld_switch_x_site=`echo '' $ld_switch_x_site | sed -e 's:^ ::' -e "s/$dash_r[^ ]*//g"`
6977 6976
6978 runpath="" runpath_dirs="" 6977 runpath="" runpath_dirs=""
6979 if test -n "$LD_RUN_PATH"; then 6978 if test -n "$LD_RUN_PATH"; then
6980 runpath="$LD_RUN_PATH" 6979 runpath="$LD_RUN_PATH"
6981 elif test "$GCC" = "yes"; then 6980 elif test "$GCC" = "yes"; then
7021 fi 7020 fi
7022 7021
7023 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset utimes waitpid 7022 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset utimes waitpid
7024 do 7023 do
7025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7026 echo "configure:7027: checking for $ac_func" >&5 7025 echo "configure:7026: checking for $ac_func" >&5
7027 7026
7028 cat > conftest.$ac_ext <<EOF 7027 cat > conftest.$ac_ext <<EOF
7029 #line 7030 "configure" 7028 #line 7029 "configure"
7030 #include "confdefs.h" 7029 #include "confdefs.h"
7031 /* System header to define __stub macros and hopefully few prototypes, 7030 /* System header to define __stub macros and hopefully few prototypes,
7032 which can conflict with char $ac_func(); below. */ 7031 which can conflict with char $ac_func(); below. */
7033 #include <assert.h> 7032 #include <assert.h>
7034 /* Override any gcc2 internal prototype to avoid an error. */ 7033 /* Override any gcc2 internal prototype to avoid an error. */
7047 $ac_func(); 7046 $ac_func();
7048 #endif 7047 #endif
7049 7048
7050 ; return 0; } 7049 ; return 0; }
7051 EOF 7050 EOF
7052 if { (eval echo configure:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7051 if { (eval echo configure:7052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7053 rm -rf conftest* 7052 rm -rf conftest*
7054 eval "ac_cv_func_$ac_func=yes" 7053 eval "ac_cv_func_$ac_func=yes"
7055 else 7054 else
7056 echo "configure: failed program was:" >&5 7055 echo "configure: failed program was:" >&5
7057 cat conftest.$ac_ext >&5 7056 cat conftest.$ac_ext >&5
7084 fi ;; 7083 fi ;;
7085 * ) 7084 * )
7086 for ac_func in realpath 7085 for ac_func in realpath
7087 do 7086 do
7088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7089 echo "configure:7090: checking for $ac_func" >&5 7088 echo "configure:7089: checking for $ac_func" >&5
7090 7089
7091 cat > conftest.$ac_ext <<EOF 7090 cat > conftest.$ac_ext <<EOF
7092 #line 7093 "configure" 7091 #line 7092 "configure"
7093 #include "confdefs.h" 7092 #include "confdefs.h"
7094 /* System header to define __stub macros and hopefully few prototypes, 7093 /* System header to define __stub macros and hopefully few prototypes,
7095 which can conflict with char $ac_func(); below. */ 7094 which can conflict with char $ac_func(); below. */
7096 #include <assert.h> 7095 #include <assert.h>
7097 /* Override any gcc2 internal prototype to avoid an error. */ 7096 /* Override any gcc2 internal prototype to avoid an error. */
7110 $ac_func(); 7109 $ac_func();
7111 #endif 7110 #endif
7112 7111
7113 ; return 0; } 7112 ; return 0; }
7114 EOF 7113 EOF
7115 if { (eval echo configure:7116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7114 if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7116 rm -rf conftest* 7115 rm -rf conftest*
7117 eval "ac_cv_func_$ac_func=yes" 7116 eval "ac_cv_func_$ac_func=yes"
7118 else 7117 else
7119 echo "configure: failed program was:" >&5 7118 echo "configure: failed program was:" >&5
7120 cat conftest.$ac_ext >&5 7119 cat conftest.$ac_ext >&5
7143 echo " xemacs will be linked with \"realpath.o\"" 7142 echo " xemacs will be linked with \"realpath.o\""
7144 fi ;; 7143 fi ;;
7145 esac 7144 esac
7146 7145
7147 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 7146 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
7148 echo "configure:7149: checking whether netdb declares h_errno" >&5 7147 echo "configure:7148: checking whether netdb declares h_errno" >&5
7149 cat > conftest.$ac_ext <<EOF 7148 cat > conftest.$ac_ext <<EOF
7150 #line 7151 "configure" 7149 #line 7150 "configure"
7151 #include "confdefs.h" 7150 #include "confdefs.h"
7152 #include <netdb.h> 7151 #include <netdb.h>
7153 int main() { 7152 int main() {
7154 return h_errno; 7153 return h_errno;
7155 ; return 0; } 7154 ; return 0; }
7156 EOF 7155 EOF
7157 if { (eval echo configure:7158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7158 rm -rf conftest* 7157 rm -rf conftest*
7159 echo "$ac_t""yes" 1>&6 7158 echo "$ac_t""yes" 1>&6
7160 { test "$extra_verbose" = "yes" && cat << \EOF 7159 { test "$extra_verbose" = "yes" && cat << \EOF
7161 Defining HAVE_H_ERRNO 7160 Defining HAVE_H_ERRNO
7162 EOF 7161 EOF
7172 echo "$ac_t""no" 1>&6 7171 echo "$ac_t""no" 1>&6
7173 fi 7172 fi
7174 rm -f conftest* 7173 rm -f conftest*
7175 7174
7176 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 7175 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
7177 echo "configure:7178: checking for sigsetjmp" >&5 7176 echo "configure:7177: checking for sigsetjmp" >&5
7178 cat > conftest.$ac_ext <<EOF 7177 cat > conftest.$ac_ext <<EOF
7179 #line 7180 "configure" 7178 #line 7179 "configure"
7180 #include "confdefs.h" 7179 #include "confdefs.h"
7181 #include <setjmp.h> 7180 #include <setjmp.h>
7182 int main() { 7181 int main() {
7183 sigjmp_buf bar; sigsetjmp (bar, 0); 7182 sigjmp_buf bar; sigsetjmp (bar, 0);
7184 ; return 0; } 7183 ; return 0; }
7185 EOF 7184 EOF
7186 if { (eval echo configure:7187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7185 if { (eval echo configure:7186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7187 rm -rf conftest* 7186 rm -rf conftest*
7188 echo "$ac_t""yes" 1>&6 7187 echo "$ac_t""yes" 1>&6
7189 { test "$extra_verbose" = "yes" && cat << \EOF 7188 { test "$extra_verbose" = "yes" && cat << \EOF
7190 Defining HAVE_SIGSETJMP 7189 Defining HAVE_SIGSETJMP
7191 EOF 7190 EOF
7201 echo "$ac_t""no" 1>&6 7200 echo "$ac_t""no" 1>&6
7202 fi 7201 fi
7203 rm -f conftest* 7202 rm -f conftest*
7204 7203
7205 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7204 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7206 echo "configure:7207: checking whether localtime caches TZ" >&5 7205 echo "configure:7206: checking whether localtime caches TZ" >&5
7207 7206
7208 if test "$ac_cv_func_tzset" = "yes"; then 7207 if test "$ac_cv_func_tzset" = "yes"; then
7209 cat > conftest.$ac_ext <<EOF 7208 cat > conftest.$ac_ext <<EOF
7210 #line 7211 "configure" 7209 #line 7210 "configure"
7211 #include "confdefs.h" 7210 #include "confdefs.h"
7212 #include <time.h> 7211 #include <time.h>
7213 #if STDC_HEADERS 7212 #if STDC_HEADERS
7214 # include <stdlib.h> 7213 # include <stdlib.h>
7215 #endif 7214 #endif
7240 if (localtime (&now)->tm_hour != hour_unset) 7239 if (localtime (&now)->tm_hour != hour_unset)
7241 exit (1); 7240 exit (1);
7242 exit (0); 7241 exit (0);
7243 } 7242 }
7244 EOF 7243 EOF
7245 if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7244 if { (eval echo configure:7245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7246 then 7245 then
7247 emacs_cv_localtime_cache=no 7246 emacs_cv_localtime_cache=no
7248 else 7247 else
7249 echo "configure: failed program was:" >&5 7248 echo "configure: failed program was:" >&5
7250 cat conftest.$ac_ext >&5 7249 cat conftest.$ac_ext >&5
7269 7268
7270 fi 7269 fi
7271 7270
7272 if test "$HAVE_TIMEVAL" = "yes"; then 7271 if test "$HAVE_TIMEVAL" = "yes"; then
7273 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 7272 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6
7274 echo "configure:7275: checking whether gettimeofday cannot accept two arguments" >&5 7273 echo "configure:7274: checking whether gettimeofday cannot accept two arguments" >&5
7275 cat > conftest.$ac_ext <<EOF 7274 cat > conftest.$ac_ext <<EOF
7276 #line 7277 "configure" 7275 #line 7276 "configure"
7277 #include "confdefs.h" 7276 #include "confdefs.h"
7278 7277
7279 #ifdef TIME_WITH_SYS_TIME 7278 #ifdef TIME_WITH_SYS_TIME
7280 #include <sys/time.h> 7279 #include <sys/time.h>
7281 #include <time.h> 7280 #include <time.h>
7293 struct timezone dummy; 7292 struct timezone dummy;
7294 gettimeofday (&time, &dummy); 7293 gettimeofday (&time, &dummy);
7295 7294
7296 ; return 0; } 7295 ; return 0; }
7297 EOF 7296 EOF
7298 if { (eval echo configure:7299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7297 if { (eval echo configure:7298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7299 rm -rf conftest* 7298 rm -rf conftest*
7300 echo "$ac_t""no" 1>&6 7299 echo "$ac_t""no" 1>&6
7301 else 7300 else
7302 echo "configure: failed program was:" >&5 7301 echo "configure: failed program was:" >&5
7303 cat conftest.$ac_ext >&5 7302 cat conftest.$ac_ext >&5
7315 rm -f conftest* 7314 rm -f conftest*
7316 fi 7315 fi
7317 7316
7318 7317
7319 echo $ac_n "checking for inline""... $ac_c" 1>&6 7318 echo $ac_n "checking for inline""... $ac_c" 1>&6
7320 echo "configure:7321: checking for inline" >&5 7319 echo "configure:7320: checking for inline" >&5
7321 7320
7322 ac_cv_c_inline=no 7321 ac_cv_c_inline=no
7323 for ac_kw in inline __inline__ __inline; do 7322 for ac_kw in inline __inline__ __inline; do
7324 cat > conftest.$ac_ext <<EOF 7323 cat > conftest.$ac_ext <<EOF
7325 #line 7326 "configure" 7324 #line 7325 "configure"
7326 #include "confdefs.h" 7325 #include "confdefs.h"
7327 7326
7328 int main() { 7327 int main() {
7329 } $ac_kw foo() { 7328 } $ac_kw foo() {
7330 ; return 0; } 7329 ; return 0; }
7331 EOF 7330 EOF
7332 if { (eval echo configure:7333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7331 if { (eval echo configure:7332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7333 rm -rf conftest* 7332 rm -rf conftest*
7334 ac_cv_c_inline=$ac_kw; break 7333 ac_cv_c_inline=$ac_kw; break
7335 else 7334 else
7336 echo "configure: failed program was:" >&5 7335 echo "configure: failed program was:" >&5
7337 cat conftest.$ac_ext >&5 7336 cat conftest.$ac_ext >&5
7377 7376
7378 7377
7379 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7378 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7380 # for constant arguments. Useless! 7379 # for constant arguments. Useless!
7381 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 7380 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
7382 echo "configure:7383: checking for working alloca.h" >&5 7381 echo "configure:7382: checking for working alloca.h" >&5
7383 7382
7384 cat > conftest.$ac_ext <<EOF 7383 cat > conftest.$ac_ext <<EOF
7385 #line 7386 "configure" 7384 #line 7385 "configure"
7386 #include "confdefs.h" 7385 #include "confdefs.h"
7387 #include <alloca.h> 7386 #include <alloca.h>
7388 int main() { 7387 int main() {
7389 char *p = alloca(2 * sizeof(int)); 7388 char *p = alloca(2 * sizeof(int));
7390 ; return 0; } 7389 ; return 0; }
7391 EOF 7390 EOF
7392 if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7391 if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7393 rm -rf conftest* 7392 rm -rf conftest*
7394 ac_cv_header_alloca_h=yes 7393 ac_cv_header_alloca_h=yes
7395 else 7394 else
7396 echo "configure: failed program was:" >&5 7395 echo "configure: failed program was:" >&5
7397 cat conftest.$ac_ext >&5 7396 cat conftest.$ac_ext >&5
7411 } 7410 }
7412 7411
7413 fi 7412 fi
7414 7413
7415 echo $ac_n "checking for alloca""... $ac_c" 1>&6 7414 echo $ac_n "checking for alloca""... $ac_c" 1>&6
7416 echo "configure:7417: checking for alloca" >&5 7415 echo "configure:7416: checking for alloca" >&5
7417 7416
7418 cat > conftest.$ac_ext <<EOF 7417 cat > conftest.$ac_ext <<EOF
7419 #line 7420 "configure" 7418 #line 7419 "configure"
7420 #include "confdefs.h" 7419 #include "confdefs.h"
7421 7420
7422 #ifdef __GNUC__ 7421 #ifdef __GNUC__
7423 # define alloca __builtin_alloca 7422 # define alloca __builtin_alloca
7424 #else 7423 #else
7437 7436
7438 int main() { 7437 int main() {
7439 char *p = (char *) alloca(1); 7438 char *p = (char *) alloca(1);
7440 ; return 0; } 7439 ; return 0; }
7441 EOF 7440 EOF
7442 if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7441 if { (eval echo configure:7442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7443 rm -rf conftest* 7442 rm -rf conftest*
7444 ac_cv_func_alloca_works=yes 7443 ac_cv_func_alloca_works=yes
7445 else 7444 else
7446 echo "configure: failed program was:" >&5 7445 echo "configure: failed program was:" >&5
7447 cat conftest.$ac_ext >&5 7446 cat conftest.$ac_ext >&5
7476 EOF 7475 EOF
7477 } 7476 }
7478 7477
7479 7478
7480 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 7479 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
7481 echo "configure:7482: checking whether alloca needs Cray hooks" >&5 7480 echo "configure:7481: checking whether alloca needs Cray hooks" >&5
7482 7481
7483 cat > conftest.$ac_ext <<EOF 7482 cat > conftest.$ac_ext <<EOF
7484 #line 7485 "configure" 7483 #line 7484 "configure"
7485 #include "confdefs.h" 7484 #include "confdefs.h"
7486 #if defined(CRAY) && ! defined(CRAY2) 7485 #if defined(CRAY) && ! defined(CRAY2)
7487 webecray 7486 webecray
7488 #else 7487 #else
7489 wenotbecray 7488 wenotbecray
7503 7502
7504 echo "$ac_t""$ac_cv_os_cray" 1>&6 7503 echo "$ac_t""$ac_cv_os_cray" 1>&6
7505 if test $ac_cv_os_cray = yes; then 7504 if test $ac_cv_os_cray = yes; then
7506 for ac_func in _getb67 GETB67 getb67; do 7505 for ac_func in _getb67 GETB67 getb67; do
7507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7508 echo "configure:7509: checking for $ac_func" >&5 7507 echo "configure:7508: checking for $ac_func" >&5
7509 7508
7510 cat > conftest.$ac_ext <<EOF 7509 cat > conftest.$ac_ext <<EOF
7511 #line 7512 "configure" 7510 #line 7511 "configure"
7512 #include "confdefs.h" 7511 #include "confdefs.h"
7513 /* System header to define __stub macros and hopefully few prototypes, 7512 /* System header to define __stub macros and hopefully few prototypes,
7514 which can conflict with char $ac_func(); below. */ 7513 which can conflict with char $ac_func(); below. */
7515 #include <assert.h> 7514 #include <assert.h>
7516 /* Override any gcc2 internal prototype to avoid an error. */ 7515 /* Override any gcc2 internal prototype to avoid an error. */
7529 $ac_func(); 7528 $ac_func();
7530 #endif 7529 #endif
7531 7530
7532 ; return 0; } 7531 ; return 0; }
7533 EOF 7532 EOF
7534 if { (eval echo configure:7535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7533 if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7535 rm -rf conftest* 7534 rm -rf conftest*
7536 eval "ac_cv_func_$ac_func=yes" 7535 eval "ac_cv_func_$ac_func=yes"
7537 else 7536 else
7538 echo "configure: failed program was:" >&5 7537 echo "configure: failed program was:" >&5
7539 cat conftest.$ac_ext >&5 7538 cat conftest.$ac_ext >&5
7559 7558
7560 done 7559 done
7561 fi 7560 fi
7562 7561
7563 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 7562 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
7564 echo "configure:7565: checking stack direction for C alloca" >&5 7563 echo "configure:7564: checking stack direction for C alloca" >&5
7565 7564
7566 cat > conftest.$ac_ext <<EOF 7565 cat > conftest.$ac_ext <<EOF
7567 #line 7568 "configure" 7566 #line 7567 "configure"
7568 #include "confdefs.h" 7567 #include "confdefs.h"
7569 find_stack_direction () 7568 find_stack_direction ()
7570 { 7569 {
7571 static char *addr = 0; 7570 static char *addr = 0;
7572 auto char dummy; 7571 auto char dummy;
7581 main () 7580 main ()
7582 { 7581 {
7583 exit (find_stack_direction() < 0); 7582 exit (find_stack_direction() < 0);
7584 } 7583 }
7585 EOF 7584 EOF
7586 if { (eval echo configure:7587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7585 if { (eval echo configure:7586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7587 then 7586 then
7588 ac_cv_c_stack_direction=1 7587 ac_cv_c_stack_direction=1
7589 else 7588 else
7590 echo "configure: failed program was:" >&5 7589 echo "configure: failed program was:" >&5
7591 cat conftest.$ac_ext >&5 7590 cat conftest.$ac_ext >&5
7609 echo " xemacs will be linked with \"$ALLOCA\"" 7608 echo " xemacs will be linked with \"$ALLOCA\""
7610 fi 7609 fi
7611 7610
7612 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 7611 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
7613 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 7612 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
7614 echo "configure:7615: checking for vfork.h" >&5 7613 echo "configure:7614: checking for vfork.h" >&5
7615 7614
7616 cat > conftest.$ac_ext <<EOF 7615 cat > conftest.$ac_ext <<EOF
7617 #line 7618 "configure" 7616 #line 7617 "configure"
7618 #include "confdefs.h" 7617 #include "confdefs.h"
7619 #include <vfork.h> 7618 #include <vfork.h>
7620 EOF 7619 EOF
7621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7622 { (eval echo configure:7623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7621 { (eval echo configure:7622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7623 ac_err=`grep -v '^ *+' conftest.out` 7622 ac_err=`grep -v '^ *+' conftest.out`
7624 if test -z "$ac_err"; then 7623 if test -z "$ac_err"; then
7625 rm -rf conftest* 7624 rm -rf conftest*
7626 eval "ac_cv_header_$ac_safe=yes" 7625 eval "ac_cv_header_$ac_safe=yes"
7627 else 7626 else
7645 else 7644 else
7646 echo "$ac_t""no" 1>&6 7645 echo "$ac_t""no" 1>&6
7647 fi 7646 fi
7648 7647
7649 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 7648 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
7650 echo "configure:7651: checking for working vfork" >&5 7649 echo "configure:7650: checking for working vfork" >&5
7651 7650
7652 cat > conftest.$ac_ext <<EOF 7651 cat > conftest.$ac_ext <<EOF
7653 #line 7654 "configure" 7652 #line 7653 "configure"
7654 #include "confdefs.h" 7653 #include "confdefs.h"
7655 /* Thanks to Paul Eggert for this test. */ 7654 /* Thanks to Paul Eggert for this test. */
7656 #include <stdio.h> 7655 #include <stdio.h>
7657 #include <sys/types.h> 7656 #include <sys/types.h>
7658 #include <sys/stat.h> 7657 #include <sys/stat.h>
7743 || fstat(fileno(stdout), &st) != 0 7742 || fstat(fileno(stdout), &st) != 0
7744 ); 7743 );
7745 } 7744 }
7746 } 7745 }
7747 EOF 7746 EOF
7748 if { (eval echo configure:7749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7747 if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7749 then 7748 then
7750 ac_cv_func_vfork_works=yes 7749 ac_cv_func_vfork_works=yes
7751 else 7750 else
7752 echo "configure: failed program was:" >&5 7751 echo "configure: failed program was:" >&5
7753 cat conftest.$ac_ext >&5 7752 cat conftest.$ac_ext >&5
7768 7767
7769 fi 7768 fi
7770 7769
7771 7770
7772 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 7771 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
7773 echo "configure:7774: checking for working strcoll" >&5 7772 echo "configure:7773: checking for working strcoll" >&5
7774 7773
7775 cat > conftest.$ac_ext <<EOF 7774 cat > conftest.$ac_ext <<EOF
7776 #line 7777 "configure" 7775 #line 7776 "configure"
7777 #include "confdefs.h" 7776 #include "confdefs.h"
7778 #include <string.h> 7777 #include <string.h>
7779 main () 7778 main ()
7780 { 7779 {
7781 exit (strcoll ("abc", "def") >= 0 || 7780 exit (strcoll ("abc", "def") >= 0 ||
7782 strcoll ("ABC", "DEF") >= 0 || 7781 strcoll ("ABC", "DEF") >= 0 ||
7783 strcoll ("123", "456") >= 0); 7782 strcoll ("123", "456") >= 0);
7784 } 7783 }
7785 EOF 7784 EOF
7786 if { (eval echo configure:7787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7785 if { (eval echo configure:7786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7787 then 7786 then
7788 ac_cv_func_strcoll_works=yes 7787 ac_cv_func_strcoll_works=yes
7789 else 7788 else
7790 echo "configure: failed program was:" >&5 7789 echo "configure: failed program was:" >&5
7791 cat conftest.$ac_ext >&5 7790 cat conftest.$ac_ext >&5
7808 7807
7809 7808
7810 for ac_func in getpgrp 7809 for ac_func in getpgrp
7811 do 7810 do
7812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7813 echo "configure:7814: checking for $ac_func" >&5 7812 echo "configure:7813: checking for $ac_func" >&5
7814 7813
7815 cat > conftest.$ac_ext <<EOF 7814 cat > conftest.$ac_ext <<EOF
7816 #line 7817 "configure" 7815 #line 7816 "configure"
7817 #include "confdefs.h" 7816 #include "confdefs.h"
7818 /* System header to define __stub macros and hopefully few prototypes, 7817 /* System header to define __stub macros and hopefully few prototypes,
7819 which can conflict with char $ac_func(); below. */ 7818 which can conflict with char $ac_func(); below. */
7820 #include <assert.h> 7819 #include <assert.h>
7821 /* Override any gcc2 internal prototype to avoid an error. */ 7820 /* Override any gcc2 internal prototype to avoid an error. */
7834 $ac_func(); 7833 $ac_func();
7835 #endif 7834 #endif
7836 7835
7837 ; return 0; } 7836 ; return 0; }
7838 EOF 7837 EOF
7839 if { (eval echo configure:7840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7838 if { (eval echo configure:7839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7840 rm -rf conftest* 7839 rm -rf conftest*
7841 eval "ac_cv_func_$ac_func=yes" 7840 eval "ac_cv_func_$ac_func=yes"
7842 else 7841 else
7843 echo "configure: failed program was:" >&5 7842 echo "configure: failed program was:" >&5
7844 cat conftest.$ac_ext >&5 7843 cat conftest.$ac_ext >&5
7862 echo "$ac_t""no" 1>&6 7861 echo "$ac_t""no" 1>&6
7863 fi 7862 fi
7864 done 7863 done
7865 7864
7866 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 7865 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
7867 echo "configure:7868: checking whether getpgrp takes no argument" >&5 7866 echo "configure:7867: checking whether getpgrp takes no argument" >&5
7868 7867
7869 cat > conftest.$ac_ext <<EOF 7868 cat > conftest.$ac_ext <<EOF
7870 #line 7871 "configure" 7869 #line 7870 "configure"
7871 #include "confdefs.h" 7870 #include "confdefs.h"
7872 7871
7873 /* 7872 /*
7874 * If this system has a BSD-style getpgrp(), 7873 * If this system has a BSD-style getpgrp(),
7875 * which takes a pid argument, exit unsuccessfully. 7874 * which takes a pid argument, exit unsuccessfully.
7920 exit(s>>8); 7919 exit(s>>8);
7921 } 7920 }
7922 } 7921 }
7923 7922
7924 EOF 7923 EOF
7925 if { (eval echo configure:7926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7926 then 7925 then
7927 ac_cv_func_getpgrp_void=yes 7926 ac_cv_func_getpgrp_void=yes
7928 else 7927 else
7929 echo "configure: failed program was:" >&5 7928 echo "configure: failed program was:" >&5
7930 cat conftest.$ac_ext >&5 7929 cat conftest.$ac_ext >&5
7946 7945
7947 fi 7946 fi
7948 7947
7949 7948
7950 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 7949 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
7951 echo "configure:7952: checking for working mmap" >&5 7950 echo "configure:7951: checking for working mmap" >&5
7952 case "$opsys" in ultrix* ) have_mmap=no ;; *) 7951 case "$opsys" in ultrix* ) have_mmap=no ;; *)
7953 cat > conftest.$ac_ext <<EOF 7952 cat > conftest.$ac_ext <<EOF
7954 #line 7955 "configure" 7953 #line 7954 "configure"
7955 #include "confdefs.h" 7954 #include "confdefs.h"
7956 #include <stdio.h> 7955 #include <stdio.h>
7957 #include <unistd.h> 7956 #include <unistd.h>
7958 #include <fcntl.h> 7957 #include <fcntl.h>
7959 #include <sys/mman.h> 7958 #include <sys/mman.h>
7982 return 0; 7981 return 0;
7983 perror ("conftest: mmap failed"); 7982 perror ("conftest: mmap failed");
7984 return 1; 7983 return 1;
7985 } 7984 }
7986 EOF 7985 EOF
7987 if { (eval echo configure:7988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7986 if { (eval echo configure:7987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7988 then 7987 then
7989 have_mmap=yes 7988 have_mmap=yes
7990 else 7989 else
7991 echo "configure: failed program was:" >&5 7990 echo "configure: failed program was:" >&5
7992 cat conftest.$ac_ext >&5 7991 cat conftest.$ac_ext >&5
8015 EOF 8014 EOF
8016 } 8015 }
8017 8016
8018 8017
8019 echo $ac_n "checking for socket""... $ac_c" 1>&6 8018 echo $ac_n "checking for socket""... $ac_c" 1>&6
8020 echo "configure:8021: checking for socket" >&5 8019 echo "configure:8020: checking for socket" >&5
8021 8020
8022 cat > conftest.$ac_ext <<EOF 8021 cat > conftest.$ac_ext <<EOF
8023 #line 8024 "configure" 8022 #line 8023 "configure"
8024 #include "confdefs.h" 8023 #include "confdefs.h"
8025 /* System header to define __stub macros and hopefully few prototypes, 8024 /* System header to define __stub macros and hopefully few prototypes,
8026 which can conflict with char socket(); below. */ 8025 which can conflict with char socket(); below. */
8027 #include <assert.h> 8026 #include <assert.h>
8028 /* Override any gcc2 internal prototype to avoid an error. */ 8027 /* Override any gcc2 internal prototype to avoid an error. */
8041 socket(); 8040 socket();
8042 #endif 8041 #endif
8043 8042
8044 ; return 0; } 8043 ; return 0; }
8045 EOF 8044 EOF
8046 if { (eval echo configure:8047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8045 if { (eval echo configure:8046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8047 rm -rf conftest* 8046 rm -rf conftest*
8048 eval "ac_cv_func_socket=yes" 8047 eval "ac_cv_func_socket=yes"
8049 else 8048 else
8050 echo "configure: failed program was:" >&5 8049 echo "configure: failed program was:" >&5
8051 cat conftest.$ac_ext >&5 8050 cat conftest.$ac_ext >&5
8056 8055
8057 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 8056 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
8058 echo "$ac_t""yes" 1>&6 8057 echo "$ac_t""yes" 1>&6
8059 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8058 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8060 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8059 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8061 echo "configure:8062: checking for netinet/in.h" >&5 8060 echo "configure:8061: checking for netinet/in.h" >&5
8062 8061
8063 cat > conftest.$ac_ext <<EOF 8062 cat > conftest.$ac_ext <<EOF
8064 #line 8065 "configure" 8063 #line 8064 "configure"
8065 #include "confdefs.h" 8064 #include "confdefs.h"
8066 #include <netinet/in.h> 8065 #include <netinet/in.h>
8067 EOF 8066 EOF
8068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8069 { (eval echo configure:8070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8068 { (eval echo configure:8069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8070 ac_err=`grep -v '^ *+' conftest.out` 8069 ac_err=`grep -v '^ *+' conftest.out`
8071 if test -z "$ac_err"; then 8070 if test -z "$ac_err"; then
8072 rm -rf conftest* 8071 rm -rf conftest*
8073 eval "ac_cv_header_$ac_safe=yes" 8072 eval "ac_cv_header_$ac_safe=yes"
8074 else 8073 else
8081 rm -f conftest* 8080 rm -f conftest*
8082 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8083 echo "$ac_t""yes" 1>&6 8082 echo "$ac_t""yes" 1>&6
8084 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8083 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8085 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8084 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8086 echo "configure:8087: checking for arpa/inet.h" >&5 8085 echo "configure:8086: checking for arpa/inet.h" >&5
8087 8086
8088 cat > conftest.$ac_ext <<EOF 8087 cat > conftest.$ac_ext <<EOF
8089 #line 8090 "configure" 8088 #line 8089 "configure"
8090 #include "confdefs.h" 8089 #include "confdefs.h"
8091 #include <arpa/inet.h> 8090 #include <arpa/inet.h>
8092 EOF 8091 EOF
8093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8094 { (eval echo configure:8095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8093 { (eval echo configure:8094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8095 ac_err=`grep -v '^ *+' conftest.out` 8094 ac_err=`grep -v '^ *+' conftest.out`
8096 if test -z "$ac_err"; then 8095 if test -z "$ac_err"; then
8097 rm -rf conftest* 8096 rm -rf conftest*
8098 eval "ac_cv_header_$ac_safe=yes" 8097 eval "ac_cv_header_$ac_safe=yes"
8099 else 8098 else
8114 #define HAVE_SOCKETS 1 8113 #define HAVE_SOCKETS 1
8115 EOF 8114 EOF
8116 } 8115 }
8117 8116
8118 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 8117 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
8119 echo "configure:8120: checking "for sun_len member in struct sockaddr_un"" >&5 8118 echo "configure:8119: checking "for sun_len member in struct sockaddr_un"" >&5
8120 cat > conftest.$ac_ext <<EOF 8119 cat > conftest.$ac_ext <<EOF
8121 #line 8122 "configure" 8120 #line 8121 "configure"
8122 #include "confdefs.h" 8121 #include "confdefs.h"
8123 8122
8124 #include <sys/types.h> 8123 #include <sys/types.h>
8125 #include <sys/socket.h> 8124 #include <sys/socket.h>
8126 #include <sys/un.h> 8125 #include <sys/un.h>
8127 8126
8128 int main() { 8127 int main() {
8129 static struct sockaddr_un x; x.sun_len = 1; 8128 static struct sockaddr_un x; x.sun_len = 1;
8130 ; return 0; } 8129 ; return 0; }
8131 EOF 8130 EOF
8132 if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8131 if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8133 rm -rf conftest* 8132 rm -rf conftest*
8134 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 8133 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
8135 Defining HAVE_SOCKADDR_SUN_LEN 8134 Defining HAVE_SOCKADDR_SUN_LEN
8136 EOF 8135 EOF
8137 cat >> confdefs.h <<\EOF 8136 cat >> confdefs.h <<\EOF
8158 echo "$ac_t""no" 1>&6 8157 echo "$ac_t""no" 1>&6
8159 fi 8158 fi
8160 8159
8161 8160
8162 echo $ac_n "checking for msgget""... $ac_c" 1>&6 8161 echo $ac_n "checking for msgget""... $ac_c" 1>&6
8163 echo "configure:8164: checking for msgget" >&5 8162 echo "configure:8163: checking for msgget" >&5
8164 8163
8165 cat > conftest.$ac_ext <<EOF 8164 cat > conftest.$ac_ext <<EOF
8166 #line 8167 "configure" 8165 #line 8166 "configure"
8167 #include "confdefs.h" 8166 #include "confdefs.h"
8168 /* System header to define __stub macros and hopefully few prototypes, 8167 /* System header to define __stub macros and hopefully few prototypes,
8169 which can conflict with char msgget(); below. */ 8168 which can conflict with char msgget(); below. */
8170 #include <assert.h> 8169 #include <assert.h>
8171 /* Override any gcc2 internal prototype to avoid an error. */ 8170 /* Override any gcc2 internal prototype to avoid an error. */
8184 msgget(); 8183 msgget();
8185 #endif 8184 #endif
8186 8185
8187 ; return 0; } 8186 ; return 0; }
8188 EOF 8187 EOF
8189 if { (eval echo configure:8190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8188 if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8190 rm -rf conftest* 8189 rm -rf conftest*
8191 eval "ac_cv_func_msgget=yes" 8190 eval "ac_cv_func_msgget=yes"
8192 else 8191 else
8193 echo "configure: failed program was:" >&5 8192 echo "configure: failed program was:" >&5
8194 cat conftest.$ac_ext >&5 8193 cat conftest.$ac_ext >&5
8199 8198
8200 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 8199 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
8201 echo "$ac_t""yes" 1>&6 8200 echo "$ac_t""yes" 1>&6
8202 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 8201 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
8203 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 8202 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
8204 echo "configure:8205: checking for sys/ipc.h" >&5 8203 echo "configure:8204: checking for sys/ipc.h" >&5
8205 8204
8206 cat > conftest.$ac_ext <<EOF 8205 cat > conftest.$ac_ext <<EOF
8207 #line 8208 "configure" 8206 #line 8207 "configure"
8208 #include "confdefs.h" 8207 #include "confdefs.h"
8209 #include <sys/ipc.h> 8208 #include <sys/ipc.h>
8210 EOF 8209 EOF
8211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8212 { (eval echo configure:8213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8211 { (eval echo configure:8212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8213 ac_err=`grep -v '^ *+' conftest.out` 8212 ac_err=`grep -v '^ *+' conftest.out`
8214 if test -z "$ac_err"; then 8213 if test -z "$ac_err"; then
8215 rm -rf conftest* 8214 rm -rf conftest*
8216 eval "ac_cv_header_$ac_safe=yes" 8215 eval "ac_cv_header_$ac_safe=yes"
8217 else 8216 else
8224 rm -f conftest* 8223 rm -f conftest*
8225 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8226 echo "$ac_t""yes" 1>&6 8225 echo "$ac_t""yes" 1>&6
8227 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 8226 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
8228 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 8227 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
8229 echo "configure:8230: checking for sys/msg.h" >&5 8228 echo "configure:8229: checking for sys/msg.h" >&5
8230 8229
8231 cat > conftest.$ac_ext <<EOF 8230 cat > conftest.$ac_ext <<EOF
8232 #line 8233 "configure" 8231 #line 8232 "configure"
8233 #include "confdefs.h" 8232 #include "confdefs.h"
8234 #include <sys/msg.h> 8233 #include <sys/msg.h>
8235 EOF 8234 EOF
8236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8237 { (eval echo configure:8238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8236 { (eval echo configure:8237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8238 ac_err=`grep -v '^ *+' conftest.out` 8237 ac_err=`grep -v '^ *+' conftest.out`
8239 if test -z "$ac_err"; then 8238 if test -z "$ac_err"; then
8240 rm -rf conftest* 8239 rm -rf conftest*
8241 eval "ac_cv_header_$ac_safe=yes" 8240 eval "ac_cv_header_$ac_safe=yes"
8242 else 8241 else
8270 fi 8269 fi
8271 8270
8272 8271
8273 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 8272 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
8274 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 8273 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
8275 echo "configure:8276: checking for dirent.h" >&5 8274 echo "configure:8275: checking for dirent.h" >&5
8276 8275
8277 cat > conftest.$ac_ext <<EOF 8276 cat > conftest.$ac_ext <<EOF
8278 #line 8279 "configure" 8277 #line 8278 "configure"
8279 #include "confdefs.h" 8278 #include "confdefs.h"
8280 #include <dirent.h> 8279 #include <dirent.h>
8281 EOF 8280 EOF
8282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8283 { (eval echo configure:8284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8282 { (eval echo configure:8283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8284 ac_err=`grep -v '^ *+' conftest.out` 8283 ac_err=`grep -v '^ *+' conftest.out`
8285 if test -z "$ac_err"; then 8284 if test -z "$ac_err"; then
8286 rm -rf conftest* 8285 rm -rf conftest*
8287 eval "ac_cv_header_$ac_safe=yes" 8286 eval "ac_cv_header_$ac_safe=yes"
8288 else 8287 else
8305 8304
8306 else 8305 else
8307 echo "$ac_t""no" 1>&6 8306 echo "$ac_t""no" 1>&6
8308 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 8307 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
8309 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 8308 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
8310 echo "configure:8311: checking for sys/dir.h" >&5 8309 echo "configure:8310: checking for sys/dir.h" >&5
8311 8310
8312 cat > conftest.$ac_ext <<EOF 8311 cat > conftest.$ac_ext <<EOF
8313 #line 8314 "configure" 8312 #line 8313 "configure"
8314 #include "confdefs.h" 8313 #include "confdefs.h"
8315 #include <sys/dir.h> 8314 #include <sys/dir.h>
8316 EOF 8315 EOF
8317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8318 { (eval echo configure:8319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8317 { (eval echo configure:8318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8319 ac_err=`grep -v '^ *+' conftest.out` 8318 ac_err=`grep -v '^ *+' conftest.out`
8320 if test -z "$ac_err"; then 8319 if test -z "$ac_err"; then
8321 rm -rf conftest* 8320 rm -rf conftest*
8322 eval "ac_cv_header_$ac_safe=yes" 8321 eval "ac_cv_header_$ac_safe=yes"
8323 else 8322 else
8346 fi 8345 fi
8347 8346
8348 8347
8349 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 8348 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
8350 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 8349 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
8351 echo "configure:8352: checking for nlist.h" >&5 8350 echo "configure:8351: checking for nlist.h" >&5
8352 8351
8353 cat > conftest.$ac_ext <<EOF 8352 cat > conftest.$ac_ext <<EOF
8354 #line 8355 "configure" 8353 #line 8354 "configure"
8355 #include "confdefs.h" 8354 #include "confdefs.h"
8356 #include <nlist.h> 8355 #include <nlist.h>
8357 EOF 8356 EOF
8358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8359 { (eval echo configure:8360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8358 { (eval echo configure:8359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8360 ac_err=`grep -v '^ *+' conftest.out` 8359 ac_err=`grep -v '^ *+' conftest.out`
8361 if test -z "$ac_err"; then 8360 if test -z "$ac_err"; then
8362 rm -rf conftest* 8361 rm -rf conftest*
8363 eval "ac_cv_header_$ac_safe=yes" 8362 eval "ac_cv_header_$ac_safe=yes"
8364 else 8363 else
8458 8457
8459 8458
8460 8459
8461 8460
8462 echo "checking "for sound support"" 1>&6 8461 echo "checking "for sound support"" 1>&6
8463 echo "configure:8464: checking "for sound support"" >&5 8462 echo "configure:8463: checking "for sound support"" >&5
8464 case "$with_sound" in 8463 case "$with_sound" in
8465 native | both ) with_native_sound=yes;; 8464 native | both ) with_native_sound=yes;;
8466 nas | no ) with_native_sound=no;; 8465 nas | no ) with_native_sound=no;;
8467 esac 8466 esac
8468 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 8467 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
8469 8468
8470 if test "$with_native_sound" != "no"; then 8469 if test "$with_native_sound" != "no"; then
8471 if test -n "$native_sound_lib"; then 8470 if test -n "$native_sound_lib"; then
8472 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 8471 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
8473 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 8472 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
8474 echo "configure:8475: checking for multimedia/audio_device.h" >&5 8473 echo "configure:8474: checking for multimedia/audio_device.h" >&5
8475 8474
8476 cat > conftest.$ac_ext <<EOF 8475 cat > conftest.$ac_ext <<EOF
8477 #line 8478 "configure" 8476 #line 8477 "configure"
8478 #include "confdefs.h" 8477 #include "confdefs.h"
8479 #include <multimedia/audio_device.h> 8478 #include <multimedia/audio_device.h>
8480 EOF 8479 EOF
8481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8482 { (eval echo configure:8483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8481 { (eval echo configure:8482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8483 ac_err=`grep -v '^ *+' conftest.out` 8482 ac_err=`grep -v '^ *+' conftest.out`
8484 if test -z "$ac_err"; then 8483 if test -z "$ac_err"; then
8485 rm -rf conftest* 8484 rm -rf conftest*
8486 eval "ac_cv_header_$ac_safe=yes" 8485 eval "ac_cv_header_$ac_safe=yes"
8487 else 8486 else
8525 case "$canonical" in 8524 case "$canonical" in
8526 *-sgi-* ) 8525 *-sgi-* )
8527 if test -z "$native_sound_lib"; then 8526 if test -z "$native_sound_lib"; then
8528 8527
8529 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 8528 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
8530 echo "configure:8531: checking for ALopenport in -laudio" >&5 8529 echo "configure:8530: checking for ALopenport in -laudio" >&5
8531 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 8530 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
8532 8531
8533 xe_check_libs=" -laudio " 8532 xe_check_libs=" -laudio "
8534 cat > conftest.$ac_ext <<EOF 8533 cat > conftest.$ac_ext <<EOF
8535 #line 8536 "configure" 8534 #line 8535 "configure"
8536 #include "confdefs.h" 8535 #include "confdefs.h"
8537 /* Override any gcc2 internal prototype to avoid an error. */ 8536 /* Override any gcc2 internal prototype to avoid an error. */
8538 /* We use char because int might match the return type of a gcc2 8537 /* We use char because int might match the return type of a gcc2
8539 builtin and then its argument prototype would still apply. */ 8538 builtin and then its argument prototype would still apply. */
8540 char ALopenport(); 8539 char ALopenport();
8541 8540
8542 int main() { 8541 int main() {
8543 ALopenport() 8542 ALopenport()
8544 ; return 0; } 8543 ; return 0; }
8545 EOF 8544 EOF
8546 if { (eval echo configure:8547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8547 rm -rf conftest* 8546 rm -rf conftest*
8548 eval "ac_cv_lib_$ac_lib_var=yes" 8547 eval "ac_cv_lib_$ac_lib_var=yes"
8549 else 8548 else
8550 echo "configure: failed program was:" >&5 8549 echo "configure: failed program was:" >&5
8551 cat conftest.$ac_ext >&5 8550 cat conftest.$ac_ext >&5
8572 fi ;; 8571 fi ;;
8573 hppa*-hp-hpux* ) 8572 hppa*-hp-hpux* )
8574 if test -z "$native_sound_lib"; then 8573 if test -z "$native_sound_lib"; then
8575 8574
8576 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 8575 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
8577 echo "configure:8578: checking for AOpenAudio in -lAlib" >&5 8576 echo "configure:8577: checking for AOpenAudio in -lAlib" >&5
8578 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 8577 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
8579 8578
8580 xe_check_libs=" -lAlib " 8579 xe_check_libs=" -lAlib "
8581 cat > conftest.$ac_ext <<EOF 8580 cat > conftest.$ac_ext <<EOF
8582 #line 8583 "configure" 8581 #line 8582 "configure"
8583 #include "confdefs.h" 8582 #include "confdefs.h"
8584 /* Override any gcc2 internal prototype to avoid an error. */ 8583 /* Override any gcc2 internal prototype to avoid an error. */
8585 /* We use char because int might match the return type of a gcc2 8584 /* We use char because int might match the return type of a gcc2
8586 builtin and then its argument prototype would still apply. */ 8585 builtin and then its argument prototype would still apply. */
8587 char AOpenAudio(); 8586 char AOpenAudio();
8588 8587
8589 int main() { 8588 int main() {
8590 AOpenAudio() 8589 AOpenAudio()
8591 ; return 0; } 8590 ; return 0; }
8592 EOF 8591 EOF
8593 if { (eval echo configure:8594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8592 if { (eval echo configure:8593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8594 rm -rf conftest* 8593 rm -rf conftest*
8595 eval "ac_cv_lib_$ac_lib_var=yes" 8594 eval "ac_cv_lib_$ac_lib_var=yes"
8596 else 8595 else
8597 echo "configure: failed program was:" >&5 8596 echo "configure: failed program was:" >&5
8598 cat conftest.$ac_ext >&5 8597 cat conftest.$ac_ext >&5
8626 8625
8627 if test -z "$sound_found"; then 8626 if test -z "$sound_found"; then
8628 for dir in "machine" "sys" "linux"; do 8627 for dir in "machine" "sys" "linux"; do
8629 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 8628 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
8630 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 8629 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
8631 echo "configure:8632: checking for ${dir}/soundcard.h" >&5 8630 echo "configure:8631: checking for ${dir}/soundcard.h" >&5
8632 8631
8633 cat > conftest.$ac_ext <<EOF 8632 cat > conftest.$ac_ext <<EOF
8634 #line 8635 "configure" 8633 #line 8634 "configure"
8635 #include "confdefs.h" 8634 #include "confdefs.h"
8636 #include <${dir}/soundcard.h> 8635 #include <${dir}/soundcard.h>
8637 EOF 8636 EOF
8638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8639 { (eval echo configure:8640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8638 { (eval echo configure:8639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8640 ac_err=`grep -v '^ *+' conftest.out` 8639 ac_err=`grep -v '^ *+' conftest.out`
8641 if test -z "$ac_err"; then 8640 if test -z "$ac_err"; then
8642 rm -rf conftest* 8641 rm -rf conftest*
8643 eval "ac_cv_header_$ac_safe=yes" 8642 eval "ac_cv_header_$ac_safe=yes"
8644 else 8643 else
8704 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 8703 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
8705 echo " xemacs will be linked with \"nas.o\"" 8704 echo " xemacs will be linked with \"nas.o\""
8706 fi 8705 fi
8707 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi 8706 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi
8708 cat > conftest.$ac_ext <<EOF 8707 cat > conftest.$ac_ext <<EOF
8709 #line 8710 "configure" 8708 #line 8709 "configure"
8710 #include "confdefs.h" 8709 #include "confdefs.h"
8711 #include <audio/Xtutil.h> 8710 #include <audio/Xtutil.h>
8712 EOF 8711 EOF
8713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8714 egrep "AuXtErrorJump" >/dev/null 2>&1; then 8713 egrep "AuXtErrorJump" >/dev/null 2>&1; then
8731 8730
8732 test -z "$with_tty" && with_tty=yes 8731 test -z "$with_tty" && with_tty=yes
8733 8732
8734 if test "$with_tty" = "yes" ; then 8733 if test "$with_tty" = "yes" ; then
8735 echo "checking for TTY-related features" 1>&6 8734 echo "checking for TTY-related features" 1>&6
8736 echo "configure:8737: checking for TTY-related features" >&5 8735 echo "configure:8736: checking for TTY-related features" >&5
8737 { test "$extra_verbose" = "yes" && cat << \EOF 8736 { test "$extra_verbose" = "yes" && cat << \EOF
8738 Defining HAVE_TTY 8737 Defining HAVE_TTY
8739 EOF 8738 EOF
8740 cat >> confdefs.h <<\EOF 8739 cat >> confdefs.h <<\EOF
8741 #define HAVE_TTY 1 8740 #define HAVE_TTY 1
8746 echo " xemacs will be linked with \"console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o\"" 8745 echo " xemacs will be linked with \"console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o\""
8747 fi 8746 fi
8748 8747
8749 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 8748 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
8750 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 8749 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
8751 echo "configure:8752: checking for termios.h" >&5 8750 echo "configure:8751: checking for termios.h" >&5
8752 8751
8753 cat > conftest.$ac_ext <<EOF 8752 cat > conftest.$ac_ext <<EOF
8754 #line 8755 "configure" 8753 #line 8754 "configure"
8755 #include "confdefs.h" 8754 #include "confdefs.h"
8756 #include <termios.h> 8755 #include <termios.h>
8757 EOF 8756 EOF
8758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8759 { (eval echo configure:8760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8758 { (eval echo configure:8759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8760 ac_err=`grep -v '^ *+' conftest.out` 8759 ac_err=`grep -v '^ *+' conftest.out`
8761 if test -z "$ac_err"; then 8760 if test -z "$ac_err"; then
8762 rm -rf conftest* 8761 rm -rf conftest*
8763 eval "ac_cv_header_$ac_safe=yes" 8762 eval "ac_cv_header_$ac_safe=yes"
8764 else 8763 else
8781 8780
8782 else 8781 else
8783 echo "$ac_t""no" 1>&6 8782 echo "$ac_t""no" 1>&6
8784 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 8783 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
8785 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 8784 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
8786 echo "configure:8787: checking for termio.h" >&5 8785 echo "configure:8786: checking for termio.h" >&5
8787 8786
8788 cat > conftest.$ac_ext <<EOF 8787 cat > conftest.$ac_ext <<EOF
8789 #line 8790 "configure" 8788 #line 8789 "configure"
8790 #include "confdefs.h" 8789 #include "confdefs.h"
8791 #include <termio.h> 8790 #include <termio.h>
8792 EOF 8791 EOF
8793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8794 { (eval echo configure:8795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8793 { (eval echo configure:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8795 ac_err=`grep -v '^ *+' conftest.out` 8794 ac_err=`grep -v '^ *+' conftest.out`
8796 if test -z "$ac_err"; then 8795 if test -z "$ac_err"; then
8797 rm -rf conftest* 8796 rm -rf conftest*
8798 eval "ac_cv_header_$ac_safe=yes" 8797 eval "ac_cv_header_$ac_safe=yes"
8799 else 8798 else
8822 8821
8823 8822
8824 if test -z "$with_ncurses"; then 8823 if test -z "$with_ncurses"; then
8825 8824
8826 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 8825 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
8827 echo "configure:8828: checking for tgetent in -lncurses" >&5 8826 echo "configure:8827: checking for tgetent in -lncurses" >&5
8828 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 8827 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
8829 8828
8830 xe_check_libs=" -lncurses " 8829 xe_check_libs=" -lncurses "
8831 cat > conftest.$ac_ext <<EOF 8830 cat > conftest.$ac_ext <<EOF
8832 #line 8833 "configure" 8831 #line 8832 "configure"
8833 #include "confdefs.h" 8832 #include "confdefs.h"
8834 /* Override any gcc2 internal prototype to avoid an error. */ 8833 /* Override any gcc2 internal prototype to avoid an error. */
8835 /* We use char because int might match the return type of a gcc2 8834 /* We use char because int might match the return type of a gcc2
8836 builtin and then its argument prototype would still apply. */ 8835 builtin and then its argument prototype would still apply. */
8837 char tgetent(); 8836 char tgetent();
8838 8837
8839 int main() { 8838 int main() {
8840 tgetent() 8839 tgetent()
8841 ; return 0; } 8840 ; return 0; }
8842 EOF 8841 EOF
8843 if { (eval echo configure:8844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8842 if { (eval echo configure:8843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8844 rm -rf conftest* 8843 rm -rf conftest*
8845 eval "ac_cv_lib_$ac_lib_var=yes" 8844 eval "ac_cv_lib_$ac_lib_var=yes"
8846 else 8845 else
8847 echo "configure: failed program was:" >&5 8846 echo "configure: failed program was:" >&5
8848 cat conftest.$ac_ext >&5 8847 cat conftest.$ac_ext >&5
8871 EOF 8870 EOF
8872 } 8871 }
8873 8872
8874 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 8873 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
8875 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 8874 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
8876 echo "configure:8877: checking for ncurses/curses.h" >&5 8875 echo "configure:8876: checking for ncurses/curses.h" >&5
8877 8876
8878 cat > conftest.$ac_ext <<EOF 8877 cat > conftest.$ac_ext <<EOF
8879 #line 8880 "configure" 8878 #line 8879 "configure"
8880 #include "confdefs.h" 8879 #include "confdefs.h"
8881 #include <ncurses/curses.h> 8880 #include <ncurses/curses.h>
8882 EOF 8881 EOF
8883 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8884 { (eval echo configure:8885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8883 { (eval echo configure:8884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8885 ac_err=`grep -v '^ *+' conftest.out` 8884 ac_err=`grep -v '^ *+' conftest.out`
8886 if test -z "$ac_err"; then 8885 if test -z "$ac_err"; then
8887 rm -rf conftest* 8886 rm -rf conftest*
8888 eval "ac_cv_header_$ac_safe=yes" 8887 eval "ac_cv_header_$ac_safe=yes"
8889 else 8888 else
8901 echo "$ac_t""no" 1>&6 8900 echo "$ac_t""no" 1>&6
8902 fi 8901 fi
8903 8902
8904 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 8903 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
8905 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 8904 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
8906 echo "configure:8907: checking for ncurses/term.h" >&5 8905 echo "configure:8906: checking for ncurses/term.h" >&5
8907 8906
8908 cat > conftest.$ac_ext <<EOF 8907 cat > conftest.$ac_ext <<EOF
8909 #line 8910 "configure" 8908 #line 8909 "configure"
8910 #include "confdefs.h" 8909 #include "confdefs.h"
8911 #include <ncurses/term.h> 8910 #include <ncurses/term.h>
8912 EOF 8911 EOF
8913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8914 { (eval echo configure:8915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8913 { (eval echo configure:8914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8915 ac_err=`grep -v '^ *+' conftest.out` 8914 ac_err=`grep -v '^ *+' conftest.out`
8916 if test -z "$ac_err"; then 8915 if test -z "$ac_err"; then
8917 rm -rf conftest* 8916 rm -rf conftest*
8918 eval "ac_cv_header_$ac_safe=yes" 8917 eval "ac_cv_header_$ac_safe=yes"
8919 else 8918 else
8939 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 8938 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
8940 save_c_switch_site="$c_switch_site" 8939 save_c_switch_site="$c_switch_site"
8941 c_switch_site="$c_switch_site -I/usr/include/ncurses" 8940 c_switch_site="$c_switch_site -I/usr/include/ncurses"
8942 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 8941 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
8943 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 8942 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
8944 echo "configure:8945: checking for ncurses/curses.h" >&5 8943 echo "configure:8944: checking for ncurses/curses.h" >&5
8945 8944
8946 cat > conftest.$ac_ext <<EOF 8945 cat > conftest.$ac_ext <<EOF
8947 #line 8948 "configure" 8946 #line 8947 "configure"
8948 #include "confdefs.h" 8947 #include "confdefs.h"
8949 #include <ncurses/curses.h> 8948 #include <ncurses/curses.h>
8950 EOF 8949 EOF
8951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8952 { (eval echo configure:8953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8951 { (eval echo configure:8952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8953 ac_err=`grep -v '^ *+' conftest.out` 8952 ac_err=`grep -v '^ *+' conftest.out`
8954 if test -z "$ac_err"; then 8953 if test -z "$ac_err"; then
8955 rm -rf conftest* 8954 rm -rf conftest*
8956 eval "ac_cv_header_$ac_safe=yes" 8955 eval "ac_cv_header_$ac_safe=yes"
8957 else 8956 else
8982 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 8981 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
8983 else 8982 else
8984 for lib in curses termlib termcap; do 8983 for lib in curses termlib termcap; do
8985 8984
8986 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 8985 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
8987 echo "configure:8988: checking for tgetent in -l$lib" >&5 8986 echo "configure:8987: checking for tgetent in -l$lib" >&5
8988 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 8987 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
8989 8988
8990 xe_check_libs=" -l$lib " 8989 xe_check_libs=" -l$lib "
8991 cat > conftest.$ac_ext <<EOF 8990 cat > conftest.$ac_ext <<EOF
8992 #line 8993 "configure" 8991 #line 8992 "configure"
8993 #include "confdefs.h" 8992 #include "confdefs.h"
8994 /* Override any gcc2 internal prototype to avoid an error. */ 8993 /* Override any gcc2 internal prototype to avoid an error. */
8995 /* We use char because int might match the return type of a gcc2 8994 /* We use char because int might match the return type of a gcc2
8996 builtin and then its argument prototype would still apply. */ 8995 builtin and then its argument prototype would still apply. */
8997 char tgetent(); 8996 char tgetent();
8998 8997
8999 int main() { 8998 int main() {
9000 tgetent() 8999 tgetent()
9001 ; return 0; } 9000 ; return 0; }
9002 EOF 9001 EOF
9003 if { (eval echo configure:9004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9004 rm -rf conftest* 9003 rm -rf conftest*
9005 eval "ac_cv_lib_$ac_lib_var=yes" 9004 eval "ac_cv_lib_$ac_lib_var=yes"
9006 else 9005 else
9007 echo "configure: failed program was:" >&5 9006 echo "configure: failed program was:" >&5
9008 cat conftest.$ac_ext >&5 9007 cat conftest.$ac_ext >&5
9029 if test -n "$libs_termcap"; then 9028 if test -n "$libs_termcap"; then
9030 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 9029 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
9031 else 9030 else
9032 9031
9033 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 9032 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
9034 echo "configure:9035: checking for tgetent in -lcurses" >&5 9033 echo "configure:9034: checking for tgetent in -lcurses" >&5
9035 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 9034 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
9036 9035
9037 xe_check_libs=" -lcurses " 9036 xe_check_libs=" -lcurses "
9038 cat > conftest.$ac_ext <<EOF 9037 cat > conftest.$ac_ext <<EOF
9039 #line 9040 "configure" 9038 #line 9039 "configure"
9040 #include "confdefs.h" 9039 #include "confdefs.h"
9041 /* Override any gcc2 internal prototype to avoid an error. */ 9040 /* Override any gcc2 internal prototype to avoid an error. */
9042 /* We use char because int might match the return type of a gcc2 9041 /* We use char because int might match the return type of a gcc2
9043 builtin and then its argument prototype would still apply. */ 9042 builtin and then its argument prototype would still apply. */
9044 char tgetent(); 9043 char tgetent();
9045 9044
9046 int main() { 9045 int main() {
9047 tgetent() 9046 tgetent()
9048 ; return 0; } 9047 ; return 0; }
9049 EOF 9048 EOF
9050 if { (eval echo configure:9051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9049 if { (eval echo configure:9050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9051 rm -rf conftest* 9050 rm -rf conftest*
9052 eval "ac_cv_lib_$ac_lib_var=yes" 9051 eval "ac_cv_lib_$ac_lib_var=yes"
9053 else 9052 else
9054 echo "configure: failed program was:" >&5 9053 echo "configure: failed program was:" >&5
9055 cat conftest.$ac_ext >&5 9054 cat conftest.$ac_ext >&5
9063 echo "$ac_t""yes" 1>&6 9062 echo "$ac_t""yes" 1>&6
9064 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 9063 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
9065 else 9064 else
9066 echo "$ac_t""no" 1>&6 9065 echo "$ac_t""no" 1>&6
9067 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 9066 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
9068 echo "configure:9069: checking for tgetent in -ltermcap" >&5 9067 echo "configure:9068: checking for tgetent in -ltermcap" >&5
9069 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 9068 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
9070 9069
9071 xe_check_libs=" -ltermcap " 9070 xe_check_libs=" -ltermcap "
9072 cat > conftest.$ac_ext <<EOF 9071 cat > conftest.$ac_ext <<EOF
9073 #line 9074 "configure" 9072 #line 9073 "configure"
9074 #include "confdefs.h" 9073 #include "confdefs.h"
9075 /* Override any gcc2 internal prototype to avoid an error. */ 9074 /* Override any gcc2 internal prototype to avoid an error. */
9076 /* We use char because int might match the return type of a gcc2 9075 /* We use char because int might match the return type of a gcc2
9077 builtin and then its argument prototype would still apply. */ 9076 builtin and then its argument prototype would still apply. */
9078 char tgetent(); 9077 char tgetent();
9079 9078
9080 int main() { 9079 int main() {
9081 tgetent() 9080 tgetent()
9082 ; return 0; } 9081 ; return 0; }
9083 EOF 9082 EOF
9084 if { (eval echo configure:9085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9083 if { (eval echo configure:9084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9085 rm -rf conftest* 9084 rm -rf conftest*
9086 eval "ac_cv_lib_$ac_lib_var=yes" 9085 eval "ac_cv_lib_$ac_lib_var=yes"
9087 else 9086 else
9088 echo "configure: failed program was:" >&5 9087 echo "configure: failed program was:" >&5
9089 cat conftest.$ac_ext >&5 9088 cat conftest.$ac_ext >&5
9127 } 9126 }
9128 9127
9129 9128
9130 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 9129 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
9131 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 9130 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
9132 echo "configure:9133: checking for gpm.h" >&5 9131 echo "configure:9132: checking for gpm.h" >&5
9133 9132
9134 cat > conftest.$ac_ext <<EOF 9133 cat > conftest.$ac_ext <<EOF
9135 #line 9136 "configure" 9134 #line 9135 "configure"
9136 #include "confdefs.h" 9135 #include "confdefs.h"
9137 #include <gpm.h> 9136 #include <gpm.h>
9138 EOF 9137 EOF
9139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9140 { (eval echo configure:9141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9139 { (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9141 ac_err=`grep -v '^ *+' conftest.out` 9140 ac_err=`grep -v '^ *+' conftest.out`
9142 if test -z "$ac_err"; then 9141 if test -z "$ac_err"; then
9143 rm -rf conftest* 9142 rm -rf conftest*
9144 eval "ac_cv_header_$ac_safe=yes" 9143 eval "ac_cv_header_$ac_safe=yes"
9145 else 9144 else
9158 with_gpm=no 9157 with_gpm=no
9159 fi 9158 fi
9160 } 9159 }
9161 test -z "$with_gpm" && { 9160 test -z "$with_gpm" && {
9162 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 9161 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
9163 echo "configure:9164: checking for Gpm_Open in -lgpm" >&5 9162 echo "configure:9163: checking for Gpm_Open in -lgpm" >&5
9164 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 9163 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
9165 9164
9166 xe_check_libs=" -lgpm " 9165 xe_check_libs=" -lgpm "
9167 cat > conftest.$ac_ext <<EOF 9166 cat > conftest.$ac_ext <<EOF
9168 #line 9169 "configure" 9167 #line 9168 "configure"
9169 #include "confdefs.h" 9168 #include "confdefs.h"
9170 /* Override any gcc2 internal prototype to avoid an error. */ 9169 /* Override any gcc2 internal prototype to avoid an error. */
9171 /* We use char because int might match the return type of a gcc2 9170 /* We use char because int might match the return type of a gcc2
9172 builtin and then its argument prototype would still apply. */ 9171 builtin and then its argument prototype would still apply. */
9173 char Gpm_Open(); 9172 char Gpm_Open();
9174 9173
9175 int main() { 9174 int main() {
9176 Gpm_Open() 9175 Gpm_Open()
9177 ; return 0; } 9176 ; return 0; }
9178 EOF 9177 EOF
9179 if { (eval echo configure:9180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9178 if { (eval echo configure:9179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9180 rm -rf conftest* 9179 rm -rf conftest*
9181 eval "ac_cv_lib_$ac_lib_var=yes" 9180 eval "ac_cv_lib_$ac_lib_var=yes"
9182 else 9181 else
9183 echo "configure: failed program was:" >&5 9182 echo "configure: failed program was:" >&5
9184 cat conftest.$ac_ext >&5 9183 cat conftest.$ac_ext >&5
9223 echo " xemacs will be linked with \"event-unixoid.o\"" 9222 echo " xemacs will be linked with \"event-unixoid.o\""
9224 fi 9223 fi
9225 9224
9226 9225
9227 echo "checking for database support" 1>&6 9226 echo "checking for database support" 1>&6
9228 echo "configure:9229: checking for database support" >&5 9227 echo "configure:9228: checking for database support" >&5
9229 9228
9230 if test "$with_database_gnudbm" != "no"; then 9229 if test "$with_database_gnudbm" != "no"; then
9231 9230
9232 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 9231 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
9233 echo "configure:9234: checking for dbm_open in -lgdbm" >&5 9232 echo "configure:9233: checking for dbm_open in -lgdbm" >&5
9234 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 9233 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
9235 9234
9236 xe_check_libs=" -lgdbm " 9235 xe_check_libs=" -lgdbm "
9237 cat > conftest.$ac_ext <<EOF 9236 cat > conftest.$ac_ext <<EOF
9238 #line 9239 "configure" 9237 #line 9238 "configure"
9239 #include "confdefs.h" 9238 #include "confdefs.h"
9240 /* Override any gcc2 internal prototype to avoid an error. */ 9239 /* Override any gcc2 internal prototype to avoid an error. */
9241 /* We use char because int might match the return type of a gcc2 9240 /* We use char because int might match the return type of a gcc2
9242 builtin and then its argument prototype would still apply. */ 9241 builtin and then its argument prototype would still apply. */
9243 char dbm_open(); 9242 char dbm_open();
9244 9243
9245 int main() { 9244 int main() {
9246 dbm_open() 9245 dbm_open()
9247 ; return 0; } 9246 ; return 0; }
9248 EOF 9247 EOF
9249 if { (eval echo configure:9250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9250 rm -rf conftest* 9249 rm -rf conftest*
9251 eval "ac_cv_lib_$ac_lib_var=yes" 9250 eval "ac_cv_lib_$ac_lib_var=yes"
9252 else 9251 else
9253 echo "configure: failed program was:" >&5 9252 echo "configure: failed program was:" >&5
9254 cat conftest.$ac_ext >&5 9253 cat conftest.$ac_ext >&5
9266 fi 9265 fi
9267 9266
9268 9267
9269 if test "$with_database_gnudbm" != "yes"; then 9268 if test "$with_database_gnudbm" != "yes"; then
9270 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 9269 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
9271 echo "configure:9272: checking for dbm_open" >&5 9270 echo "configure:9271: checking for dbm_open" >&5
9272 9271
9273 cat > conftest.$ac_ext <<EOF 9272 cat > conftest.$ac_ext <<EOF
9274 #line 9275 "configure" 9273 #line 9274 "configure"
9275 #include "confdefs.h" 9274 #include "confdefs.h"
9276 /* System header to define __stub macros and hopefully few prototypes, 9275 /* System header to define __stub macros and hopefully few prototypes,
9277 which can conflict with char dbm_open(); below. */ 9276 which can conflict with char dbm_open(); below. */
9278 #include <assert.h> 9277 #include <assert.h>
9279 /* Override any gcc2 internal prototype to avoid an error. */ 9278 /* Override any gcc2 internal prototype to avoid an error. */
9292 dbm_open(); 9291 dbm_open();
9293 #endif 9292 #endif
9294 9293
9295 ; return 0; } 9294 ; return 0; }
9296 EOF 9295 EOF
9297 if { (eval echo configure:9298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9296 if { (eval echo configure:9297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9298 rm -rf conftest* 9297 rm -rf conftest*
9299 eval "ac_cv_func_dbm_open=yes" 9298 eval "ac_cv_func_dbm_open=yes"
9300 else 9299 else
9301 echo "configure: failed program was:" >&5 9300 echo "configure: failed program was:" >&5
9302 cat conftest.$ac_ext >&5 9301 cat conftest.$ac_ext >&5
9328 fi 9327 fi
9329 fi 9328 fi
9330 9329
9331 if test "$with_database_dbm" != "no"; then 9330 if test "$with_database_dbm" != "no"; then
9332 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 9331 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
9333 echo "configure:9334: checking for dbm_open" >&5 9332 echo "configure:9333: checking for dbm_open" >&5
9334 9333
9335 cat > conftest.$ac_ext <<EOF 9334 cat > conftest.$ac_ext <<EOF
9336 #line 9337 "configure" 9335 #line 9336 "configure"
9337 #include "confdefs.h" 9336 #include "confdefs.h"
9338 /* System header to define __stub macros and hopefully few prototypes, 9337 /* System header to define __stub macros and hopefully few prototypes,
9339 which can conflict with char dbm_open(); below. */ 9338 which can conflict with char dbm_open(); below. */
9340 #include <assert.h> 9339 #include <assert.h>
9341 /* Override any gcc2 internal prototype to avoid an error. */ 9340 /* Override any gcc2 internal prototype to avoid an error. */
9354 dbm_open(); 9353 dbm_open();
9355 #endif 9354 #endif
9356 9355
9357 ; return 0; } 9356 ; return 0; }
9358 EOF 9357 EOF
9359 if { (eval echo configure:9360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9358 if { (eval echo configure:9359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9360 rm -rf conftest* 9359 rm -rf conftest*
9361 eval "ac_cv_func_dbm_open=yes" 9360 eval "ac_cv_func_dbm_open=yes"
9362 else 9361 else
9363 echo "configure: failed program was:" >&5 9362 echo "configure: failed program was:" >&5
9364 cat conftest.$ac_ext >&5 9363 cat conftest.$ac_ext >&5
9375 fi 9374 fi
9376 9375
9377 if test "$need_libdbm" != "no"; then 9376 if test "$need_libdbm" != "no"; then
9378 9377
9379 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 9378 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
9380 echo "configure:9381: checking for dbm_open in -ldbm" >&5 9379 echo "configure:9380: checking for dbm_open in -ldbm" >&5
9381 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 9380 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
9382 9381
9383 xe_check_libs=" -ldbm " 9382 xe_check_libs=" -ldbm "
9384 cat > conftest.$ac_ext <<EOF 9383 cat > conftest.$ac_ext <<EOF
9385 #line 9386 "configure" 9384 #line 9385 "configure"
9386 #include "confdefs.h" 9385 #include "confdefs.h"
9387 /* Override any gcc2 internal prototype to avoid an error. */ 9386 /* Override any gcc2 internal prototype to avoid an error. */
9388 /* We use char because int might match the return type of a gcc2 9387 /* We use char because int might match the return type of a gcc2
9389 builtin and then its argument prototype would still apply. */ 9388 builtin and then its argument prototype would still apply. */
9390 char dbm_open(); 9389 char dbm_open();
9391 9390
9392 int main() { 9391 int main() {
9393 dbm_open() 9392 dbm_open()
9394 ; return 0; } 9393 ; return 0; }
9395 EOF 9394 EOF
9396 if { (eval echo configure:9397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9395 if { (eval echo configure:9396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9397 rm -rf conftest* 9396 rm -rf conftest*
9398 eval "ac_cv_lib_$ac_lib_var=yes" 9397 eval "ac_cv_lib_$ac_lib_var=yes"
9399 else 9398 else
9400 echo "configure: failed program was:" >&5 9399 echo "configure: failed program was:" >&5
9401 cat conftest.$ac_ext >&5 9400 cat conftest.$ac_ext >&5
9428 fi 9427 fi
9429 fi 9428 fi
9430 9429
9431 if test "$with_database_berkdb" != "no"; then 9430 if test "$with_database_berkdb" != "no"; then
9432 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 9431 echo $ac_n "checking for dbopen""... $ac_c" 1>&6
9433 echo "configure:9434: checking for dbopen" >&5 9432 echo "configure:9433: checking for dbopen" >&5
9434 9433
9435 cat > conftest.$ac_ext <<EOF 9434 cat > conftest.$ac_ext <<EOF
9436 #line 9437 "configure" 9435 #line 9436 "configure"
9437 #include "confdefs.h" 9436 #include "confdefs.h"
9438 /* System header to define __stub macros and hopefully few prototypes, 9437 /* System header to define __stub macros and hopefully few prototypes,
9439 which can conflict with char dbopen(); below. */ 9438 which can conflict with char dbopen(); below. */
9440 #include <assert.h> 9439 #include <assert.h>
9441 /* Override any gcc2 internal prototype to avoid an error. */ 9440 /* Override any gcc2 internal prototype to avoid an error. */
9454 dbopen(); 9453 dbopen();
9455 #endif 9454 #endif
9456 9455
9457 ; return 0; } 9456 ; return 0; }
9458 EOF 9457 EOF
9459 if { (eval echo configure:9460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9460 rm -rf conftest* 9459 rm -rf conftest*
9461 eval "ac_cv_func_dbopen=yes" 9460 eval "ac_cv_func_dbopen=yes"
9462 else 9461 else
9463 echo "configure: failed program was:" >&5 9462 echo "configure: failed program was:" >&5
9464 cat conftest.$ac_ext >&5 9463 cat conftest.$ac_ext >&5
9475 fi 9474 fi
9476 9475
9477 if test "$need_libdb" != "no"; then 9476 if test "$need_libdb" != "no"; then
9478 9477
9479 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 9478 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
9480 echo "configure:9481: checking for dbopen in -ldb" >&5 9479 echo "configure:9480: checking for dbopen in -ldb" >&5
9481 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` 9480 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'`
9482 9481
9483 xe_check_libs=" -ldb " 9482 xe_check_libs=" -ldb "
9484 cat > conftest.$ac_ext <<EOF 9483 cat > conftest.$ac_ext <<EOF
9485 #line 9486 "configure" 9484 #line 9485 "configure"
9486 #include "confdefs.h" 9485 #include "confdefs.h"
9487 /* Override any gcc2 internal prototype to avoid an error. */ 9486 /* Override any gcc2 internal prototype to avoid an error. */
9488 /* We use char because int might match the return type of a gcc2 9487 /* We use char because int might match the return type of a gcc2
9489 builtin and then its argument prototype would still apply. */ 9488 builtin and then its argument prototype would still apply. */
9490 char dbopen(); 9489 char dbopen();
9491 9490
9492 int main() { 9491 int main() {
9493 dbopen() 9492 dbopen()
9494 ; return 0; } 9493 ; return 0; }
9495 EOF 9494 EOF
9496 if { (eval echo configure:9497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9495 if { (eval echo configure:9496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9497 rm -rf conftest* 9496 rm -rf conftest*
9498 eval "ac_cv_lib_$ac_lib_var=yes" 9497 eval "ac_cv_lib_$ac_lib_var=yes"
9499 else 9498 else
9500 echo "configure: failed program was:" >&5 9499 echo "configure: failed program was:" >&5
9501 cat conftest.$ac_ext >&5 9500 cat conftest.$ac_ext >&5
9515 9514
9516 fi 9515 fi
9517 if test "$with_database_berkdb" = "yes"; then 9516 if test "$with_database_berkdb" = "yes"; then
9518 for path in "db/db.h" "db.h"; do 9517 for path in "db/db.h" "db.h"; do
9519 cat > conftest.$ac_ext <<EOF 9518 cat > conftest.$ac_ext <<EOF
9520 #line 9521 "configure" 9519 #line 9520 "configure"
9521 #include "confdefs.h" 9520 #include "confdefs.h"
9522 #ifdef HAVE_INTTYPES_H 9521 #ifdef HAVE_INTTYPES_H
9523 #define __BIT_TYPES_DEFINED__ 9522 #define __BIT_TYPES_DEFINED__
9524 #include <inttypes.h> 9523 #include <inttypes.h>
9525 typedef uint8_t u_int8_t; 9524 typedef uint8_t u_int8_t;
9533 9532
9534 int main() { 9533 int main() {
9535 9534
9536 ; return 0; } 9535 ; return 0; }
9537 EOF 9536 EOF
9538 if { (eval echo configure:9539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 9537 if { (eval echo configure:9538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9539 rm -rf conftest* 9538 rm -rf conftest*
9540 db_h_path="$path"; break 9539 db_h_path="$path"; break
9541 else 9540 else
9542 echo "configure: failed program was:" >&5 9541 echo "configure: failed program was:" >&5
9543 cat conftest.$ac_ext >&5 9542 cat conftest.$ac_ext >&5
9585 fi 9584 fi
9586 9585
9587 if test "$with_socks" = "yes"; then 9586 if test "$with_socks" = "yes"; then
9588 9587
9589 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 9588 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
9590 echo "configure:9591: checking for SOCKSinit in -lsocks" >&5 9589 echo "configure:9590: checking for SOCKSinit in -lsocks" >&5
9591 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 9590 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
9592 9591
9593 xe_check_libs=" -lsocks " 9592 xe_check_libs=" -lsocks "
9594 cat > conftest.$ac_ext <<EOF 9593 cat > conftest.$ac_ext <<EOF
9595 #line 9596 "configure" 9594 #line 9595 "configure"
9596 #include "confdefs.h" 9595 #include "confdefs.h"
9597 /* Override any gcc2 internal prototype to avoid an error. */ 9596 /* Override any gcc2 internal prototype to avoid an error. */
9598 /* We use char because int might match the return type of a gcc2 9597 /* We use char because int might match the return type of a gcc2
9599 builtin and then its argument prototype would still apply. */ 9598 builtin and then its argument prototype would still apply. */
9600 char SOCKSinit(); 9599 char SOCKSinit();
9601 9600
9602 int main() { 9601 int main() {
9603 SOCKSinit() 9602 SOCKSinit()
9604 ; return 0; } 9603 ; return 0; }
9605 EOF 9604 EOF
9606 if { (eval echo configure:9607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9605 if { (eval echo configure:9606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9607 rm -rf conftest* 9606 rm -rf conftest*
9608 eval "ac_cv_lib_$ac_lib_var=yes" 9607 eval "ac_cv_lib_$ac_lib_var=yes"
9609 else 9608 else
9610 echo "configure: failed program was:" >&5 9609 echo "configure: failed program was:" >&5
9611 cat conftest.$ac_ext >&5 9610 cat conftest.$ac_ext >&5
10577 echo creating $dir/Makefile 10576 echo creating $dir/Makefile
10578 ( 10577 (
10579 cd $dir 10578 cd $dir
10580 rm -f junk.c 10579 rm -f junk.c
10581 < Makefile.in \ 10580 < Makefile.in \
10582 sed -e 's/^# Generated.*//' \ 10581 sed -e '/^# Generated/d' \
10583 -e 's%/\*\*/#.*%%' \ 10582 -e 's%/\*\*/#.*%%' \
10584 -e 's/^[ \f\t]*#[ \f\t]*/#/' \ 10583 -e 's/^ *# */#/' \
10585 -e '/^##/d' \ 10584 -e '/^##/d' \
10586 -e '/^#/ { 10585 -e '/^#/ {
10587 p 10586 p
10588 d 10587 d
10589 }' -e '/./ { 10588 }' -e '/./ {
10592 s/$/"/ 10591 s/$/"/
10593 }' > junk.c; 10592 }' > junk.c;
10594 $CPP -I. -I${top_srcdir}/src $CPPFLAGS junk.c > junk.cpp; 10593 $CPP -I. -I${top_srcdir}/src $CPPFLAGS junk.c > junk.cpp;
10595 < junk.cpp \ 10594 < junk.cpp \
10596 sed -e 's/^#.*//' \ 10595 sed -e 's/^#.*//' \
10597 -e 's/^[ \f\t][ \f\t]*$//' \ 10596 -e 's/^[ ][ ]*$//' \
10598 -e 's/^ / /' \ 10597 -e 's/^ / /' \
10599 | sed -n -e '/^..*$/p' \ 10598 | sed -n -e '/^..*$/p' \
10600 | sed '/^"/ { 10599 | sed '/^"/ {
10601 s/\\\([\"]\)/\1/g 10600 s/\\\([\"]\)/\1/g
10602 s/^"// 10601 s/^"//
10603 s/"$// 10602 s/"$//
10604 }' > Makefile.new 10603 }' > Makefile.new
10605 chmod 444 Makefile.new 10604 chmod 444 Makefile.new
10606 mv -f Makefile.new Makefile 10605 mv -f Makefile.new Makefile
10607 rm -f junk.c junk.cpp 10606 rm -f junk.c junk.cpp
10608 ) 10607 )
10609 done 10608 done
10610 10609
10611 exit 0 10610 exit 0
10612 EOF 10611 EOF
10613 chmod +x $CONFIG_STATUS 10612 chmod +x $CONFIG_STATUS