Mercurial > hg > xemacs-beta
comparison configure @ 223:2c611d1463a6 r20-4b10
Import from CVS: tag r20-4b10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:10:54 +0200 |
parents | 262b8bb4a523 |
children | 12579d965149 |
comparison
equal
deleted
inserted
replaced
222:aae4c8b01452 | 223:2c611d1463a6 |
---|---|
2079 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" | 2079 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" |
2080 | 2080 |
2081 if test -z "$CFLAGS"; then | 2081 if test -z "$CFLAGS"; then |
2082 if test "$GCC" = "yes"; then | 2082 if test "$GCC" = "yes"; then |
2083 CFLAGS="-g -O2 -Wall -Wno-switch" | 2083 CFLAGS="-g -O2 -Wall -Wno-switch" |
2084 test "$opsys $machine" = "linux intel386" && \ | 2084 elif test "$__sunpro_c" = "yes"; then |
2085 CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" | |
2086 elif test "$__sunpro_c" = "yes"; then | |
2087 case "$opsys" in | 2085 case "$opsys" in |
2088 sol2 ) CFLAGS="-v -xO4" ;; | 2086 sol2 ) CFLAGS="-v -xO4" ;; |
2089 sunos4* ) CFLAGS="-xO2";; | 2087 sunos4* ) CFLAGS="-xO2";; |
2090 esac | 2088 esac |
2091 elif test "$CC" = "xlc"; then | 2089 elif test "$CC" = "xlc"; then |
2138 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2136 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2139 echo " xemacs will be linked with \"$unexec\"" | 2137 echo " xemacs will be linked with \"$unexec\"" |
2140 fi | 2138 fi |
2141 | 2139 |
2142 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2140 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2143 echo "configure:2144: checking for dynodump" >&5 | 2141 echo "configure:2142: checking for dynodump" >&5 |
2144 if test "$unexec" != "unexsol2.o"; then | 2142 if test "$unexec" != "unexsol2.o"; then |
2145 echo "$ac_t""no" 1>&6 | 2143 echo "$ac_t""no" 1>&6 |
2146 else | 2144 else |
2147 echo "$ac_t""yes" 1>&6 | 2145 echo "$ac_t""yes" 1>&6 |
2148 { test "$extra_verbose" = "yes" && cat << \EOF | 2146 { test "$extra_verbose" = "yes" && cat << \EOF |
2236 esac | 2234 esac |
2237 fi | 2235 fi |
2238 | 2236 |
2239 if test "$add_runtime_path" = "yes"; then | 2237 if test "$add_runtime_path" = "yes"; then |
2240 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2238 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2241 echo "configure:2242: checking "for runtime libraries flag"" >&5 | 2239 echo "configure:2240: checking "for runtime libraries flag"" >&5 |
2242 dash_r="" | 2240 dash_r="" |
2243 for try_dash_r in "-R" "-R " "-rpath "; do | 2241 for try_dash_r in "-R" "-R " "-rpath "; do |
2244 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2242 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2245 cat > conftest.$ac_ext <<EOF | 2243 cat > conftest.$ac_ext <<EOF |
2246 #line 2247 "configure" | 2244 #line 2245 "configure" |
2247 #include "confdefs.h" | 2245 #include "confdefs.h" |
2248 | 2246 |
2249 int main() { | 2247 int main() { |
2250 | 2248 |
2251 ; return 0; } | 2249 ; return 0; } |
2252 EOF | 2250 EOF |
2253 if { (eval echo configure:2254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2251 if { (eval echo configure:2252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2254 rm -rf conftest* | 2252 rm -rf conftest* |
2255 dash_r="$try_dash_r" | 2253 dash_r="$try_dash_r" |
2256 else | 2254 else |
2257 echo "configure: failed program was:" >&5 | 2255 echo "configure: failed program was:" >&5 |
2258 cat conftest.$ac_ext >&5 | 2256 cat conftest.$ac_ext >&5 |
2346 | 2344 |
2347 | 2345 |
2348 # Extract the first word of "ranlib", so it can be a program name with args. | 2346 # Extract the first word of "ranlib", so it can be a program name with args. |
2349 set dummy ranlib; ac_word=$2 | 2347 set dummy ranlib; ac_word=$2 |
2350 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2351 echo "configure:2352: checking for $ac_word" >&5 | 2349 echo "configure:2350: checking for $ac_word" >&5 |
2352 | 2350 |
2353 if test -n "$RANLIB"; then | 2351 if test -n "$RANLIB"; then |
2354 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2352 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2355 else | 2353 else |
2356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2399 # AIX /bin/install | 2397 # AIX /bin/install |
2400 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2398 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2401 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2399 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2402 # ./install, which can be erroneously created by make from ./install.sh. | 2400 # ./install, which can be erroneously created by make from ./install.sh. |
2403 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2401 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2404 echo "configure:2405: checking for a BSD compatible install" >&5 | 2402 echo "configure:2403: checking for a BSD compatible install" >&5 |
2405 if test -z "$INSTALL"; then | 2403 if test -z "$INSTALL"; then |
2406 | 2404 |
2407 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2405 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2408 for ac_dir in $PATH; do | 2406 for ac_dir in $PATH; do |
2409 # Account for people who put trailing slashes in PATH elements. | 2407 # Account for people who put trailing slashes in PATH elements. |
2450 for ac_prog in 'bison -y' byacc | 2448 for ac_prog in 'bison -y' byacc |
2451 do | 2449 do |
2452 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2450 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2453 set dummy $ac_prog; ac_word=$2 | 2451 set dummy $ac_prog; ac_word=$2 |
2454 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2455 echo "configure:2456: checking for $ac_word" >&5 | 2453 echo "configure:2454: checking for $ac_word" >&5 |
2456 | 2454 |
2457 if test -n "$YACC"; then | 2455 if test -n "$YACC"; then |
2458 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2456 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2459 else | 2457 else |
2460 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2481 | 2479 |
2482 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2480 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2483 do | 2481 do |
2484 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2482 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2485 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2483 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2486 echo "configure:2487: checking for $ac_hdr" >&5 | 2484 echo "configure:2485: checking for $ac_hdr" >&5 |
2487 | 2485 |
2488 cat > conftest.$ac_ext <<EOF | 2486 cat > conftest.$ac_ext <<EOF |
2489 #line 2490 "configure" | 2487 #line 2488 "configure" |
2490 #include "confdefs.h" | 2488 #include "confdefs.h" |
2491 #include <$ac_hdr> | 2489 #include <$ac_hdr> |
2492 EOF | 2490 EOF |
2493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2494 { (eval echo configure:2495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2492 { (eval echo configure:2493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2495 ac_err=`grep -v '^ *+' conftest.out` | 2493 ac_err=`grep -v '^ *+' conftest.out` |
2496 if test -z "$ac_err"; then | 2494 if test -z "$ac_err"; then |
2497 rm -rf conftest* | 2495 rm -rf conftest* |
2498 eval "ac_cv_header_$ac_safe=yes" | 2496 eval "ac_cv_header_$ac_safe=yes" |
2499 else | 2497 else |
2522 | 2520 |
2523 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2521 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2524 do | 2522 do |
2525 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2523 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2526 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2527 echo "configure:2528: checking for $ac_hdr" >&5 | 2525 echo "configure:2526: checking for $ac_hdr" >&5 |
2528 | 2526 |
2529 cat > conftest.$ac_ext <<EOF | 2527 cat > conftest.$ac_ext <<EOF |
2530 #line 2531 "configure" | 2528 #line 2529 "configure" |
2531 #include "confdefs.h" | 2529 #include "confdefs.h" |
2532 #include <$ac_hdr> | 2530 #include <$ac_hdr> |
2533 EOF | 2531 EOF |
2534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2535 { (eval echo configure:2536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2533 { (eval echo configure:2534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2536 ac_err=`grep -v '^ *+' conftest.out` | 2534 ac_err=`grep -v '^ *+' conftest.out` |
2537 if test -z "$ac_err"; then | 2535 if test -z "$ac_err"; then |
2538 rm -rf conftest* | 2536 rm -rf conftest* |
2539 eval "ac_cv_header_$ac_safe=yes" | 2537 eval "ac_cv_header_$ac_safe=yes" |
2540 else | 2538 else |
2563 | 2561 |
2564 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2562 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
2565 do | 2563 do |
2566 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2564 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2567 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2568 echo "configure:2569: checking for $ac_hdr" >&5 | 2566 echo "configure:2567: checking for $ac_hdr" >&5 |
2569 | 2567 |
2570 cat > conftest.$ac_ext <<EOF | 2568 cat > conftest.$ac_ext <<EOF |
2571 #line 2572 "configure" | 2569 #line 2570 "configure" |
2572 #include "confdefs.h" | 2570 #include "confdefs.h" |
2573 #include <$ac_hdr> | 2571 #include <$ac_hdr> |
2574 EOF | 2572 EOF |
2575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2576 { (eval echo configure:2577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2574 { (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2577 ac_err=`grep -v '^ *+' conftest.out` | 2575 ac_err=`grep -v '^ *+' conftest.out` |
2578 if test -z "$ac_err"; then | 2576 if test -z "$ac_err"; then |
2579 rm -rf conftest* | 2577 rm -rf conftest* |
2580 eval "ac_cv_header_$ac_safe=yes" | 2578 eval "ac_cv_header_$ac_safe=yes" |
2581 else | 2579 else |
2601 echo "$ac_t""no" 1>&6 | 2599 echo "$ac_t""no" 1>&6 |
2602 fi | 2600 fi |
2603 done | 2601 done |
2604 | 2602 |
2605 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2603 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2606 echo "configure:2607: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2604 echo "configure:2605: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2607 | 2605 |
2608 cat > conftest.$ac_ext <<EOF | 2606 cat > conftest.$ac_ext <<EOF |
2609 #line 2610 "configure" | 2607 #line 2608 "configure" |
2610 #include "confdefs.h" | 2608 #include "confdefs.h" |
2611 #include <sys/types.h> | 2609 #include <sys/types.h> |
2612 #include <sys/wait.h> | 2610 #include <sys/wait.h> |
2613 #ifndef WEXITSTATUS | 2611 #ifndef WEXITSTATUS |
2614 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2612 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2620 int s; | 2618 int s; |
2621 wait (&s); | 2619 wait (&s); |
2622 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2620 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2623 ; return 0; } | 2621 ; return 0; } |
2624 EOF | 2622 EOF |
2625 if { (eval echo configure:2626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2623 if { (eval echo configure:2624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2626 rm -rf conftest* | 2624 rm -rf conftest* |
2627 ac_cv_header_sys_wait_h=yes | 2625 ac_cv_header_sys_wait_h=yes |
2628 else | 2626 else |
2629 echo "configure: failed program was:" >&5 | 2627 echo "configure: failed program was:" >&5 |
2630 cat conftest.$ac_ext >&5 | 2628 cat conftest.$ac_ext >&5 |
2644 } | 2642 } |
2645 | 2643 |
2646 fi | 2644 fi |
2647 | 2645 |
2648 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2646 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2649 echo "configure:2650: checking for ANSI C header files" >&5 | 2647 echo "configure:2648: checking for ANSI C header files" >&5 |
2650 | 2648 |
2651 cat > conftest.$ac_ext <<EOF | 2649 cat > conftest.$ac_ext <<EOF |
2652 #line 2653 "configure" | 2650 #line 2651 "configure" |
2653 #include "confdefs.h" | 2651 #include "confdefs.h" |
2654 #include <stdlib.h> | 2652 #include <stdlib.h> |
2655 #include <stdarg.h> | 2653 #include <stdarg.h> |
2656 #include <string.h> | 2654 #include <string.h> |
2657 #include <float.h> | 2655 #include <float.h> |
2658 EOF | 2656 EOF |
2659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2660 { (eval echo configure:2661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2658 { (eval echo configure:2659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2661 ac_err=`grep -v '^ *+' conftest.out` | 2659 ac_err=`grep -v '^ *+' conftest.out` |
2662 if test -z "$ac_err"; then | 2660 if test -z "$ac_err"; then |
2663 rm -rf conftest* | 2661 rm -rf conftest* |
2664 ac_cv_header_stdc=yes | 2662 ac_cv_header_stdc=yes |
2665 else | 2663 else |
2672 rm -f conftest* | 2670 rm -f conftest* |
2673 | 2671 |
2674 if test $ac_cv_header_stdc = yes; then | 2672 if test $ac_cv_header_stdc = yes; then |
2675 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2673 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2676 cat > conftest.$ac_ext <<EOF | 2674 cat > conftest.$ac_ext <<EOF |
2677 #line 2678 "configure" | 2675 #line 2676 "configure" |
2678 #include "confdefs.h" | 2676 #include "confdefs.h" |
2679 #include <string.h> | 2677 #include <string.h> |
2680 EOF | 2678 EOF |
2681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2682 egrep "memchr" >/dev/null 2>&1; then | 2680 egrep "memchr" >/dev/null 2>&1; then |
2690 fi | 2688 fi |
2691 | 2689 |
2692 if test $ac_cv_header_stdc = yes; then | 2690 if test $ac_cv_header_stdc = yes; then |
2693 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2691 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2694 cat > conftest.$ac_ext <<EOF | 2692 cat > conftest.$ac_ext <<EOF |
2695 #line 2696 "configure" | 2693 #line 2694 "configure" |
2696 #include "confdefs.h" | 2694 #include "confdefs.h" |
2697 #include <stdlib.h> | 2695 #include <stdlib.h> |
2698 EOF | 2696 EOF |
2699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2700 egrep "free" >/dev/null 2>&1; then | 2698 egrep "free" >/dev/null 2>&1; then |
2708 fi | 2706 fi |
2709 | 2707 |
2710 if test $ac_cv_header_stdc = yes; then | 2708 if test $ac_cv_header_stdc = yes; then |
2711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2712 cat > conftest.$ac_ext <<EOF | 2710 cat > conftest.$ac_ext <<EOF |
2713 #line 2714 "configure" | 2711 #line 2712 "configure" |
2714 #include "confdefs.h" | 2712 #include "confdefs.h" |
2715 #include <ctype.h> | 2713 #include <ctype.h> |
2716 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2714 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2717 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2715 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2718 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2716 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2719 int main () { int i; for (i = 0; i < 256; i++) | 2717 int main () { int i; for (i = 0; i < 256; i++) |
2720 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2718 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2721 exit (0); } | 2719 exit (0); } |
2722 | 2720 |
2723 EOF | 2721 EOF |
2724 if { (eval echo configure:2725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2722 if { (eval echo configure:2723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2725 then | 2723 then |
2726 : | 2724 : |
2727 else | 2725 else |
2728 echo "configure: failed program was:" >&5 | 2726 echo "configure: failed program was:" >&5 |
2729 cat conftest.$ac_ext >&5 | 2727 cat conftest.$ac_ext >&5 |
2744 } | 2742 } |
2745 | 2743 |
2746 fi | 2744 fi |
2747 | 2745 |
2748 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2746 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2749 echo "configure:2750: checking whether time.h and sys/time.h may both be included" >&5 | 2747 echo "configure:2748: checking whether time.h and sys/time.h may both be included" >&5 |
2750 | 2748 |
2751 cat > conftest.$ac_ext <<EOF | 2749 cat > conftest.$ac_ext <<EOF |
2752 #line 2753 "configure" | 2750 #line 2751 "configure" |
2753 #include "confdefs.h" | 2751 #include "confdefs.h" |
2754 #include <sys/types.h> | 2752 #include <sys/types.h> |
2755 #include <sys/time.h> | 2753 #include <sys/time.h> |
2756 #include <time.h> | 2754 #include <time.h> |
2757 int main() { | 2755 int main() { |
2758 struct tm *tp; | 2756 struct tm *tp; |
2759 ; return 0; } | 2757 ; return 0; } |
2760 EOF | 2758 EOF |
2761 if { (eval echo configure:2762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2759 if { (eval echo configure:2760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2762 rm -rf conftest* | 2760 rm -rf conftest* |
2763 ac_cv_header_time=yes | 2761 ac_cv_header_time=yes |
2764 else | 2762 else |
2765 echo "configure: failed program was:" >&5 | 2763 echo "configure: failed program was:" >&5 |
2766 cat conftest.$ac_ext >&5 | 2764 cat conftest.$ac_ext >&5 |
2780 } | 2778 } |
2781 | 2779 |
2782 fi | 2780 fi |
2783 | 2781 |
2784 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2782 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2785 echo "configure:2786: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2783 echo "configure:2784: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2786 | 2784 |
2787 cat > conftest.$ac_ext <<EOF | 2785 cat > conftest.$ac_ext <<EOF |
2788 #line 2789 "configure" | 2786 #line 2787 "configure" |
2789 #include "confdefs.h" | 2787 #include "confdefs.h" |
2790 #include <sys/types.h> | 2788 #include <sys/types.h> |
2791 #include <signal.h> | 2789 #include <signal.h> |
2792 /* NetBSD declares sys_siglist in unistd.h. */ | 2790 /* NetBSD declares sys_siglist in unistd.h. */ |
2793 #ifdef HAVE_UNISTD_H | 2791 #ifdef HAVE_UNISTD_H |
2795 #endif | 2793 #endif |
2796 int main() { | 2794 int main() { |
2797 char *msg = *(sys_siglist + 1); | 2795 char *msg = *(sys_siglist + 1); |
2798 ; return 0; } | 2796 ; return 0; } |
2799 EOF | 2797 EOF |
2800 if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2798 if { (eval echo configure:2799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2801 rm -rf conftest* | 2799 rm -rf conftest* |
2802 ac_cv_decl_sys_siglist=yes | 2800 ac_cv_decl_sys_siglist=yes |
2803 else | 2801 else |
2804 echo "configure: failed program was:" >&5 | 2802 echo "configure: failed program was:" >&5 |
2805 cat conftest.$ac_ext >&5 | 2803 cat conftest.$ac_ext >&5 |
2820 | 2818 |
2821 fi | 2819 fi |
2822 | 2820 |
2823 | 2821 |
2824 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2822 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2825 echo "configure:2826: checking for struct utimbuf" >&5 | 2823 echo "configure:2824: checking for struct utimbuf" >&5 |
2826 cat > conftest.$ac_ext <<EOF | 2824 cat > conftest.$ac_ext <<EOF |
2827 #line 2828 "configure" | 2825 #line 2826 "configure" |
2828 #include "confdefs.h" | 2826 #include "confdefs.h" |
2829 #ifdef TIME_WITH_SYS_TIME | 2827 #ifdef TIME_WITH_SYS_TIME |
2830 #include <sys/time.h> | 2828 #include <sys/time.h> |
2831 #include <time.h> | 2829 #include <time.h> |
2832 #else | 2830 #else |
2841 #endif | 2839 #endif |
2842 int main() { | 2840 int main() { |
2843 static struct utimbuf x; x.actime = x.modtime; | 2841 static struct utimbuf x; x.actime = x.modtime; |
2844 ; return 0; } | 2842 ; return 0; } |
2845 EOF | 2843 EOF |
2846 if { (eval echo configure:2847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2844 if { (eval echo configure:2845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2847 rm -rf conftest* | 2845 rm -rf conftest* |
2848 echo "$ac_t""yes" 1>&6 | 2846 echo "$ac_t""yes" 1>&6 |
2849 { test "$extra_verbose" = "yes" && cat << \EOF | 2847 { test "$extra_verbose" = "yes" && cat << \EOF |
2850 Defining HAVE_STRUCT_UTIMBUF | 2848 Defining HAVE_STRUCT_UTIMBUF |
2851 EOF | 2849 EOF |
2861 echo "$ac_t""no" 1>&6 | 2859 echo "$ac_t""no" 1>&6 |
2862 fi | 2860 fi |
2863 rm -f conftest* | 2861 rm -f conftest* |
2864 | 2862 |
2865 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2863 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2866 echo "configure:2867: checking return type of signal handlers" >&5 | 2864 echo "configure:2865: checking return type of signal handlers" >&5 |
2867 | 2865 |
2868 cat > conftest.$ac_ext <<EOF | 2866 cat > conftest.$ac_ext <<EOF |
2869 #line 2870 "configure" | 2867 #line 2868 "configure" |
2870 #include "confdefs.h" | 2868 #include "confdefs.h" |
2871 #include <sys/types.h> | 2869 #include <sys/types.h> |
2872 #include <signal.h> | 2870 #include <signal.h> |
2873 #ifdef signal | 2871 #ifdef signal |
2874 #undef signal | 2872 #undef signal |
2881 | 2879 |
2882 int main() { | 2880 int main() { |
2883 int i; | 2881 int i; |
2884 ; return 0; } | 2882 ; return 0; } |
2885 EOF | 2883 EOF |
2886 if { (eval echo configure:2887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2884 if { (eval echo configure:2885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2887 rm -rf conftest* | 2885 rm -rf conftest* |
2888 ac_cv_type_signal=void | 2886 ac_cv_type_signal=void |
2889 else | 2887 else |
2890 echo "configure: failed program was:" >&5 | 2888 echo "configure: failed program was:" >&5 |
2891 cat conftest.$ac_ext >&5 | 2889 cat conftest.$ac_ext >&5 |
2903 EOF | 2901 EOF |
2904 } | 2902 } |
2905 | 2903 |
2906 | 2904 |
2907 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2905 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
2908 echo "configure:2909: checking for size_t" >&5 | 2906 echo "configure:2907: checking for size_t" >&5 |
2909 | 2907 |
2910 cat > conftest.$ac_ext <<EOF | 2908 cat > conftest.$ac_ext <<EOF |
2911 #line 2912 "configure" | 2909 #line 2910 "configure" |
2912 #include "confdefs.h" | 2910 #include "confdefs.h" |
2913 #include <sys/types.h> | 2911 #include <sys/types.h> |
2914 #if STDC_HEADERS | 2912 #if STDC_HEADERS |
2915 #include <stdlib.h> | 2913 #include <stdlib.h> |
2916 #include <stddef.h> | 2914 #include <stddef.h> |
2937 } | 2935 } |
2938 | 2936 |
2939 fi | 2937 fi |
2940 | 2938 |
2941 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 2939 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
2942 echo "configure:2943: checking for pid_t" >&5 | 2940 echo "configure:2941: checking for pid_t" >&5 |
2943 | 2941 |
2944 cat > conftest.$ac_ext <<EOF | 2942 cat > conftest.$ac_ext <<EOF |
2945 #line 2946 "configure" | 2943 #line 2944 "configure" |
2946 #include "confdefs.h" | 2944 #include "confdefs.h" |
2947 #include <sys/types.h> | 2945 #include <sys/types.h> |
2948 #if STDC_HEADERS | 2946 #if STDC_HEADERS |
2949 #include <stdlib.h> | 2947 #include <stdlib.h> |
2950 #include <stddef.h> | 2948 #include <stddef.h> |
2971 } | 2969 } |
2972 | 2970 |
2973 fi | 2971 fi |
2974 | 2972 |
2975 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 2973 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
2976 echo "configure:2977: checking for uid_t in sys/types.h" >&5 | 2974 echo "configure:2975: checking for uid_t in sys/types.h" >&5 |
2977 | 2975 |
2978 cat > conftest.$ac_ext <<EOF | 2976 cat > conftest.$ac_ext <<EOF |
2979 #line 2980 "configure" | 2977 #line 2978 "configure" |
2980 #include "confdefs.h" | 2978 #include "confdefs.h" |
2981 #include <sys/types.h> | 2979 #include <sys/types.h> |
2982 EOF | 2980 EOF |
2983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2984 egrep "uid_t" >/dev/null 2>&1; then | 2982 egrep "uid_t" >/dev/null 2>&1; then |
3010 } | 3008 } |
3011 | 3009 |
3012 fi | 3010 fi |
3013 | 3011 |
3014 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3012 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3015 echo "configure:3016: checking for mode_t" >&5 | 3013 echo "configure:3014: checking for mode_t" >&5 |
3016 | 3014 |
3017 cat > conftest.$ac_ext <<EOF | 3015 cat > conftest.$ac_ext <<EOF |
3018 #line 3019 "configure" | 3016 #line 3017 "configure" |
3019 #include "confdefs.h" | 3017 #include "confdefs.h" |
3020 #include <sys/types.h> | 3018 #include <sys/types.h> |
3021 #if STDC_HEADERS | 3019 #if STDC_HEADERS |
3022 #include <stdlib.h> | 3020 #include <stdlib.h> |
3023 #include <stddef.h> | 3021 #include <stddef.h> |
3044 } | 3042 } |
3045 | 3043 |
3046 fi | 3044 fi |
3047 | 3045 |
3048 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3046 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3049 echo "configure:3050: checking for off_t" >&5 | 3047 echo "configure:3048: checking for off_t" >&5 |
3050 | 3048 |
3051 cat > conftest.$ac_ext <<EOF | 3049 cat > conftest.$ac_ext <<EOF |
3052 #line 3053 "configure" | 3050 #line 3051 "configure" |
3053 #include "confdefs.h" | 3051 #include "confdefs.h" |
3054 #include <sys/types.h> | 3052 #include <sys/types.h> |
3055 #if STDC_HEADERS | 3053 #if STDC_HEADERS |
3056 #include <stdlib.h> | 3054 #include <stdlib.h> |
3057 #include <stddef.h> | 3055 #include <stddef.h> |
3079 | 3077 |
3080 fi | 3078 fi |
3081 | 3079 |
3082 | 3080 |
3083 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3081 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3084 echo "configure:3085: checking for struct timeval" >&5 | 3082 echo "configure:3083: checking for struct timeval" >&5 |
3085 cat > conftest.$ac_ext <<EOF | 3083 cat > conftest.$ac_ext <<EOF |
3086 #line 3087 "configure" | 3084 #line 3085 "configure" |
3087 #include "confdefs.h" | 3085 #include "confdefs.h" |
3088 #ifdef TIME_WITH_SYS_TIME | 3086 #ifdef TIME_WITH_SYS_TIME |
3089 #include <sys/time.h> | 3087 #include <sys/time.h> |
3090 #include <time.h> | 3088 #include <time.h> |
3091 #else | 3089 #else |
3097 #endif | 3095 #endif |
3098 int main() { | 3096 int main() { |
3099 static struct timeval x; x.tv_sec = x.tv_usec; | 3097 static struct timeval x; x.tv_sec = x.tv_usec; |
3100 ; return 0; } | 3098 ; return 0; } |
3101 EOF | 3099 EOF |
3102 if { (eval echo configure:3103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3100 if { (eval echo configure:3101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3103 rm -rf conftest* | 3101 rm -rf conftest* |
3104 echo "$ac_t""yes" 1>&6 | 3102 echo "$ac_t""yes" 1>&6 |
3105 HAVE_TIMEVAL=yes | 3103 HAVE_TIMEVAL=yes |
3106 { test "$extra_verbose" = "yes" && cat << \EOF | 3104 { test "$extra_verbose" = "yes" && cat << \EOF |
3107 Defining HAVE_TIMEVAL | 3105 Defining HAVE_TIMEVAL |
3119 HAVE_TIMEVAL=no | 3117 HAVE_TIMEVAL=no |
3120 fi | 3118 fi |
3121 rm -f conftest* | 3119 rm -f conftest* |
3122 | 3120 |
3123 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3121 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3124 echo "configure:3125: checking whether struct tm is in sys/time.h or time.h" >&5 | 3122 echo "configure:3123: checking whether struct tm is in sys/time.h or time.h" >&5 |
3125 | 3123 |
3126 cat > conftest.$ac_ext <<EOF | 3124 cat > conftest.$ac_ext <<EOF |
3127 #line 3128 "configure" | 3125 #line 3126 "configure" |
3128 #include "confdefs.h" | 3126 #include "confdefs.h" |
3129 #include <sys/types.h> | 3127 #include <sys/types.h> |
3130 #include <time.h> | 3128 #include <time.h> |
3131 int main() { | 3129 int main() { |
3132 struct tm *tp; tp->tm_sec; | 3130 struct tm *tp; tp->tm_sec; |
3133 ; return 0; } | 3131 ; return 0; } |
3134 EOF | 3132 EOF |
3135 if { (eval echo configure:3136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3133 if { (eval echo configure:3134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3136 rm -rf conftest* | 3134 rm -rf conftest* |
3137 ac_cv_struct_tm=time.h | 3135 ac_cv_struct_tm=time.h |
3138 else | 3136 else |
3139 echo "configure: failed program was:" >&5 | 3137 echo "configure: failed program was:" >&5 |
3140 cat conftest.$ac_ext >&5 | 3138 cat conftest.$ac_ext >&5 |
3154 } | 3152 } |
3155 | 3153 |
3156 fi | 3154 fi |
3157 | 3155 |
3158 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3156 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3159 echo "configure:3160: checking for tm_zone in struct tm" >&5 | 3157 echo "configure:3158: checking for tm_zone in struct tm" >&5 |
3160 | 3158 |
3161 cat > conftest.$ac_ext <<EOF | 3159 cat > conftest.$ac_ext <<EOF |
3162 #line 3163 "configure" | 3160 #line 3161 "configure" |
3163 #include "confdefs.h" | 3161 #include "confdefs.h" |
3164 #include <sys/types.h> | 3162 #include <sys/types.h> |
3165 #include <$ac_cv_struct_tm> | 3163 #include <$ac_cv_struct_tm> |
3166 int main() { | 3164 int main() { |
3167 struct tm tm; tm.tm_zone; | 3165 struct tm tm; tm.tm_zone; |
3168 ; return 0; } | 3166 ; return 0; } |
3169 EOF | 3167 EOF |
3170 if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3168 if { (eval echo configure:3169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3171 rm -rf conftest* | 3169 rm -rf conftest* |
3172 ac_cv_struct_tm_zone=yes | 3170 ac_cv_struct_tm_zone=yes |
3173 else | 3171 else |
3174 echo "configure: failed program was:" >&5 | 3172 echo "configure: failed program was:" >&5 |
3175 cat conftest.$ac_ext >&5 | 3173 cat conftest.$ac_ext >&5 |
3188 EOF | 3186 EOF |
3189 } | 3187 } |
3190 | 3188 |
3191 else | 3189 else |
3192 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3190 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3193 echo "configure:3194: checking for tzname" >&5 | 3191 echo "configure:3192: checking for tzname" >&5 |
3194 | 3192 |
3195 cat > conftest.$ac_ext <<EOF | 3193 cat > conftest.$ac_ext <<EOF |
3196 #line 3197 "configure" | 3194 #line 3195 "configure" |
3197 #include "confdefs.h" | 3195 #include "confdefs.h" |
3198 #include <time.h> | 3196 #include <time.h> |
3199 #ifndef tzname /* For SGI. */ | 3197 #ifndef tzname /* For SGI. */ |
3200 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3198 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3201 #endif | 3199 #endif |
3202 int main() { | 3200 int main() { |
3203 atoi(*tzname); | 3201 atoi(*tzname); |
3204 ; return 0; } | 3202 ; return 0; } |
3205 EOF | 3203 EOF |
3206 if { (eval echo configure:3207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3204 if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3207 rm -rf conftest* | 3205 rm -rf conftest* |
3208 ac_cv_var_tzname=yes | 3206 ac_cv_var_tzname=yes |
3209 else | 3207 else |
3210 echo "configure: failed program was:" >&5 | 3208 echo "configure: failed program was:" >&5 |
3211 cat conftest.$ac_ext >&5 | 3209 cat conftest.$ac_ext >&5 |
3227 fi | 3225 fi |
3228 fi | 3226 fi |
3229 | 3227 |
3230 | 3228 |
3231 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3229 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3232 echo "configure:3233: checking for working const" >&5 | 3230 echo "configure:3231: checking for working const" >&5 |
3233 | 3231 |
3234 cat > conftest.$ac_ext <<EOF | 3232 cat > conftest.$ac_ext <<EOF |
3235 #line 3236 "configure" | 3233 #line 3234 "configure" |
3236 #include "confdefs.h" | 3234 #include "confdefs.h" |
3237 | 3235 |
3238 int main() { | 3236 int main() { |
3239 | 3237 |
3240 /* Ultrix mips cc rejects this. */ | 3238 /* Ultrix mips cc rejects this. */ |
3279 const int foo = 10; | 3277 const int foo = 10; |
3280 } | 3278 } |
3281 | 3279 |
3282 ; return 0; } | 3280 ; return 0; } |
3283 EOF | 3281 EOF |
3284 if { (eval echo configure:3285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3285 rm -rf conftest* | 3283 rm -rf conftest* |
3286 ac_cv_c_const=yes | 3284 ac_cv_c_const=yes |
3287 else | 3285 else |
3288 echo "configure: failed program was:" >&5 | 3286 echo "configure: failed program was:" >&5 |
3289 cat conftest.$ac_ext >&5 | 3287 cat conftest.$ac_ext >&5 |
3304 | 3302 |
3305 fi | 3303 fi |
3306 | 3304 |
3307 | 3305 |
3308 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3306 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3309 echo "configure:3310: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3307 echo "configure:3308: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3310 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3308 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3311 | 3309 |
3312 cat > conftestmake <<\EOF | 3310 cat > conftestmake <<\EOF |
3313 all: | 3311 all: |
3314 @echo 'ac_maketemp="${MAKE}"' | 3312 @echo 'ac_maketemp="${MAKE}"' |
3329 SET_MAKE="MAKE=${MAKE-make}" | 3327 SET_MAKE="MAKE=${MAKE-make}" |
3330 fi | 3328 fi |
3331 | 3329 |
3332 | 3330 |
3333 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3331 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3334 echo "configure:3335: checking whether byte ordering is bigendian" >&5 | 3332 echo "configure:3333: checking whether byte ordering is bigendian" >&5 |
3335 | 3333 |
3336 ac_cv_c_bigendian=unknown | 3334 ac_cv_c_bigendian=unknown |
3337 # See if sys/param.h defines the BYTE_ORDER macro. | 3335 # See if sys/param.h defines the BYTE_ORDER macro. |
3338 cat > conftest.$ac_ext <<EOF | 3336 cat > conftest.$ac_ext <<EOF |
3339 #line 3340 "configure" | 3337 #line 3338 "configure" |
3340 #include "confdefs.h" | 3338 #include "confdefs.h" |
3341 #include <sys/types.h> | 3339 #include <sys/types.h> |
3342 #include <sys/param.h> | 3340 #include <sys/param.h> |
3343 int main() { | 3341 int main() { |
3344 | 3342 |
3345 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3343 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3346 bogus endian macros | 3344 bogus endian macros |
3347 #endif | 3345 #endif |
3348 ; return 0; } | 3346 ; return 0; } |
3349 EOF | 3347 EOF |
3350 if { (eval echo configure:3351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3348 if { (eval echo configure:3349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3351 rm -rf conftest* | 3349 rm -rf conftest* |
3352 # It does; now see whether it defined to BIG_ENDIAN or not. | 3350 # It does; now see whether it defined to BIG_ENDIAN or not. |
3353 cat > conftest.$ac_ext <<EOF | 3351 cat > conftest.$ac_ext <<EOF |
3354 #line 3355 "configure" | 3352 #line 3353 "configure" |
3355 #include "confdefs.h" | 3353 #include "confdefs.h" |
3356 #include <sys/types.h> | 3354 #include <sys/types.h> |
3357 #include <sys/param.h> | 3355 #include <sys/param.h> |
3358 int main() { | 3356 int main() { |
3359 | 3357 |
3360 #if BYTE_ORDER != BIG_ENDIAN | 3358 #if BYTE_ORDER != BIG_ENDIAN |
3361 not big endian | 3359 not big endian |
3362 #endif | 3360 #endif |
3363 ; return 0; } | 3361 ; return 0; } |
3364 EOF | 3362 EOF |
3365 if { (eval echo configure:3366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3363 if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3366 rm -rf conftest* | 3364 rm -rf conftest* |
3367 ac_cv_c_bigendian=yes | 3365 ac_cv_c_bigendian=yes |
3368 else | 3366 else |
3369 echo "configure: failed program was:" >&5 | 3367 echo "configure: failed program was:" >&5 |
3370 cat conftest.$ac_ext >&5 | 3368 cat conftest.$ac_ext >&5 |
3377 cat conftest.$ac_ext >&5 | 3375 cat conftest.$ac_ext >&5 |
3378 fi | 3376 fi |
3379 rm -f conftest* | 3377 rm -f conftest* |
3380 if test $ac_cv_c_bigendian = unknown; then | 3378 if test $ac_cv_c_bigendian = unknown; then |
3381 cat > conftest.$ac_ext <<EOF | 3379 cat > conftest.$ac_ext <<EOF |
3382 #line 3383 "configure" | 3380 #line 3381 "configure" |
3383 #include "confdefs.h" | 3381 #include "confdefs.h" |
3384 main () { | 3382 main () { |
3385 /* Are we little or big endian? From Harbison&Steele. */ | 3383 /* Are we little or big endian? From Harbison&Steele. */ |
3386 union | 3384 union |
3387 { | 3385 { |
3390 } u; | 3388 } u; |
3391 u.l = 1; | 3389 u.l = 1; |
3392 exit (u.c[sizeof (long) - 1] == 1); | 3390 exit (u.c[sizeof (long) - 1] == 1); |
3393 } | 3391 } |
3394 EOF | 3392 EOF |
3395 if { (eval echo configure:3396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3393 if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3396 then | 3394 then |
3397 ac_cv_c_bigendian=no | 3395 ac_cv_c_bigendian=no |
3398 else | 3396 else |
3399 echo "configure: failed program was:" >&5 | 3397 echo "configure: failed program was:" >&5 |
3400 cat conftest.$ac_ext >&5 | 3398 cat conftest.$ac_ext >&5 |
3416 | 3414 |
3417 fi | 3415 fi |
3418 | 3416 |
3419 | 3417 |
3420 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3418 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3421 echo "configure:3422: checking size of short" >&5 | 3419 echo "configure:3420: checking size of short" >&5 |
3422 | 3420 |
3423 cat > conftest.$ac_ext <<EOF | 3421 cat > conftest.$ac_ext <<EOF |
3424 #line 3425 "configure" | 3422 #line 3423 "configure" |
3425 #include "confdefs.h" | 3423 #include "confdefs.h" |
3426 #include <stdio.h> | 3424 #include <stdio.h> |
3427 main() | 3425 main() |
3428 { | 3426 { |
3429 FILE *f=fopen("conftestval", "w"); | 3427 FILE *f=fopen("conftestval", "w"); |
3430 if (!f) exit(1); | 3428 if (!f) exit(1); |
3431 fprintf(f, "%d\n", sizeof(short)); | 3429 fprintf(f, "%d\n", sizeof(short)); |
3432 exit(0); | 3430 exit(0); |
3433 } | 3431 } |
3434 EOF | 3432 EOF |
3435 if { (eval echo configure:3436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3433 if { (eval echo configure:3434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3436 then | 3434 then |
3437 ac_cv_sizeof_short=`cat conftestval` | 3435 ac_cv_sizeof_short=`cat conftestval` |
3438 else | 3436 else |
3439 echo "configure: failed program was:" >&5 | 3437 echo "configure: failed program was:" >&5 |
3440 cat conftest.$ac_ext >&5 | 3438 cat conftest.$ac_ext >&5 |
3457 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3455 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3458 echo "*** PANIC *** Please examine config.log for compilation errors." | 3456 echo "*** PANIC *** Please examine config.log for compilation errors." |
3459 exit 1 | 3457 exit 1 |
3460 fi | 3458 fi |
3461 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3459 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3462 echo "configure:3463: checking size of int" >&5 | 3460 echo "configure:3461: checking size of int" >&5 |
3463 | 3461 |
3464 cat > conftest.$ac_ext <<EOF | 3462 cat > conftest.$ac_ext <<EOF |
3465 #line 3466 "configure" | 3463 #line 3464 "configure" |
3466 #include "confdefs.h" | 3464 #include "confdefs.h" |
3467 #include <stdio.h> | 3465 #include <stdio.h> |
3468 main() | 3466 main() |
3469 { | 3467 { |
3470 FILE *f=fopen("conftestval", "w"); | 3468 FILE *f=fopen("conftestval", "w"); |
3471 if (!f) exit(1); | 3469 if (!f) exit(1); |
3472 fprintf(f, "%d\n", sizeof(int)); | 3470 fprintf(f, "%d\n", sizeof(int)); |
3473 exit(0); | 3471 exit(0); |
3474 } | 3472 } |
3475 EOF | 3473 EOF |
3476 if { (eval echo configure:3477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3474 if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3477 then | 3475 then |
3478 ac_cv_sizeof_int=`cat conftestval` | 3476 ac_cv_sizeof_int=`cat conftestval` |
3479 else | 3477 else |
3480 echo "configure: failed program was:" >&5 | 3478 echo "configure: failed program was:" >&5 |
3481 cat conftest.$ac_ext >&5 | 3479 cat conftest.$ac_ext >&5 |
3492 EOF | 3490 EOF |
3493 } | 3491 } |
3494 | 3492 |
3495 | 3493 |
3496 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3494 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3497 echo "configure:3498: checking size of long" >&5 | 3495 echo "configure:3496: checking size of long" >&5 |
3498 | 3496 |
3499 cat > conftest.$ac_ext <<EOF | 3497 cat > conftest.$ac_ext <<EOF |
3500 #line 3501 "configure" | 3498 #line 3499 "configure" |
3501 #include "confdefs.h" | 3499 #include "confdefs.h" |
3502 #include <stdio.h> | 3500 #include <stdio.h> |
3503 main() | 3501 main() |
3504 { | 3502 { |
3505 FILE *f=fopen("conftestval", "w"); | 3503 FILE *f=fopen("conftestval", "w"); |
3506 if (!f) exit(1); | 3504 if (!f) exit(1); |
3507 fprintf(f, "%d\n", sizeof(long)); | 3505 fprintf(f, "%d\n", sizeof(long)); |
3508 exit(0); | 3506 exit(0); |
3509 } | 3507 } |
3510 EOF | 3508 EOF |
3511 if { (eval echo configure:3512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3509 if { (eval echo configure:3510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3512 then | 3510 then |
3513 ac_cv_sizeof_long=`cat conftestval` | 3511 ac_cv_sizeof_long=`cat conftestval` |
3514 else | 3512 else |
3515 echo "configure: failed program was:" >&5 | 3513 echo "configure: failed program was:" >&5 |
3516 cat conftest.$ac_ext >&5 | 3514 cat conftest.$ac_ext >&5 |
3527 EOF | 3525 EOF |
3528 } | 3526 } |
3529 | 3527 |
3530 | 3528 |
3531 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3529 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3532 echo "configure:3533: checking size of long long" >&5 | 3530 echo "configure:3531: checking size of long long" >&5 |
3533 | 3531 |
3534 cat > conftest.$ac_ext <<EOF | 3532 cat > conftest.$ac_ext <<EOF |
3535 #line 3536 "configure" | 3533 #line 3534 "configure" |
3536 #include "confdefs.h" | 3534 #include "confdefs.h" |
3537 #include <stdio.h> | 3535 #include <stdio.h> |
3538 main() | 3536 main() |
3539 { | 3537 { |
3540 FILE *f=fopen("conftestval", "w"); | 3538 FILE *f=fopen("conftestval", "w"); |
3541 if (!f) exit(1); | 3539 if (!f) exit(1); |
3542 fprintf(f, "%d\n", sizeof(long long)); | 3540 fprintf(f, "%d\n", sizeof(long long)); |
3543 exit(0); | 3541 exit(0); |
3544 } | 3542 } |
3545 EOF | 3543 EOF |
3546 if { (eval echo configure:3547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3544 if { (eval echo configure:3545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3547 then | 3545 then |
3548 ac_cv_sizeof_long_long=`cat conftestval` | 3546 ac_cv_sizeof_long_long=`cat conftestval` |
3549 else | 3547 else |
3550 echo "configure: failed program was:" >&5 | 3548 echo "configure: failed program was:" >&5 |
3551 cat conftest.$ac_ext >&5 | 3549 cat conftest.$ac_ext >&5 |
3562 EOF | 3560 EOF |
3563 } | 3561 } |
3564 | 3562 |
3565 | 3563 |
3566 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3564 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3567 echo "configure:3568: checking size of void *" >&5 | 3565 echo "configure:3566: checking size of void *" >&5 |
3568 | 3566 |
3569 cat > conftest.$ac_ext <<EOF | 3567 cat > conftest.$ac_ext <<EOF |
3570 #line 3571 "configure" | 3568 #line 3569 "configure" |
3571 #include "confdefs.h" | 3569 #include "confdefs.h" |
3572 #include <stdio.h> | 3570 #include <stdio.h> |
3573 main() | 3571 main() |
3574 { | 3572 { |
3575 FILE *f=fopen("conftestval", "w"); | 3573 FILE *f=fopen("conftestval", "w"); |
3576 if (!f) exit(1); | 3574 if (!f) exit(1); |
3577 fprintf(f, "%d\n", sizeof(void *)); | 3575 fprintf(f, "%d\n", sizeof(void *)); |
3578 exit(0); | 3576 exit(0); |
3579 } | 3577 } |
3580 EOF | 3578 EOF |
3581 if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3579 if { (eval echo configure:3580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3582 then | 3580 then |
3583 ac_cv_sizeof_void_p=`cat conftestval` | 3581 ac_cv_sizeof_void_p=`cat conftestval` |
3584 else | 3582 else |
3585 echo "configure: failed program was:" >&5 | 3583 echo "configure: failed program was:" >&5 |
3586 cat conftest.$ac_ext >&5 | 3584 cat conftest.$ac_ext >&5 |
3598 } | 3596 } |
3599 | 3597 |
3600 | 3598 |
3601 | 3599 |
3602 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3600 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3603 echo "configure:3604: checking for long file names" >&5 | 3601 echo "configure:3602: checking for long file names" >&5 |
3604 | 3602 |
3605 ac_cv_sys_long_file_names=yes | 3603 ac_cv_sys_long_file_names=yes |
3606 # Test for long file names in all the places we know might matter: | 3604 # Test for long file names in all the places we know might matter: |
3607 # . the current directory, where building will happen | 3605 # . the current directory, where building will happen |
3608 # $prefix/lib where we will be installing things | 3606 # $prefix/lib where we will be installing things |
3645 fi | 3643 fi |
3646 | 3644 |
3647 | 3645 |
3648 | 3646 |
3649 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3647 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3650 echo "configure:3651: checking for sin in -lm" >&5 | 3648 echo "configure:3649: checking for sin in -lm" >&5 |
3651 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3649 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3652 | 3650 |
3653 xe_check_libs=" -lm " | 3651 xe_check_libs=" -lm " |
3654 cat > conftest.$ac_ext <<EOF | 3652 cat > conftest.$ac_ext <<EOF |
3655 #line 3656 "configure" | 3653 #line 3654 "configure" |
3656 #include "confdefs.h" | 3654 #include "confdefs.h" |
3657 /* Override any gcc2 internal prototype to avoid an error. */ | 3655 /* Override any gcc2 internal prototype to avoid an error. */ |
3658 /* We use char because int might match the return type of a gcc2 | 3656 /* We use char because int might match the return type of a gcc2 |
3659 builtin and then its argument prototype would still apply. */ | 3657 builtin and then its argument prototype would still apply. */ |
3660 char sin(); | 3658 char sin(); |
3661 | 3659 |
3662 int main() { | 3660 int main() { |
3663 sin() | 3661 sin() |
3664 ; return 0; } | 3662 ; return 0; } |
3665 EOF | 3663 EOF |
3666 if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3664 if { (eval echo configure:3665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3667 rm -rf conftest* | 3665 rm -rf conftest* |
3668 eval "ac_cv_lib_$ac_lib_var=yes" | 3666 eval "ac_cv_lib_$ac_lib_var=yes" |
3669 else | 3667 else |
3670 echo "configure: failed program was:" >&5 | 3668 echo "configure: failed program was:" >&5 |
3671 cat conftest.$ac_ext >&5 | 3669 cat conftest.$ac_ext >&5 |
3703 EOF | 3701 EOF |
3704 } | 3702 } |
3705 | 3703 |
3706 | 3704 |
3707 echo "checking type of mail spool file locking" 1>&6 | 3705 echo "checking type of mail spool file locking" 1>&6 |
3708 echo "configure:3709: checking type of mail spool file locking" >&5 | 3706 echo "configure:3707: checking type of mail spool file locking" >&5 |
3709 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3707 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3710 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3708 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3711 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3709 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3712 Defining REAL_MAIL_USE_LOCKF | 3710 Defining REAL_MAIL_USE_LOCKF |
3713 EOF | 3711 EOF |
3727 else mail_locking="dot-locking" | 3725 else mail_locking="dot-locking" |
3728 fi | 3726 fi |
3729 | 3727 |
3730 | 3728 |
3731 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3729 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3732 echo "configure:3733: checking for kstat_open in -lkstat" >&5 | 3730 echo "configure:3731: checking for kstat_open in -lkstat" >&5 |
3733 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3731 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3734 | 3732 |
3735 xe_check_libs=" -lkstat " | 3733 xe_check_libs=" -lkstat " |
3736 cat > conftest.$ac_ext <<EOF | 3734 cat > conftest.$ac_ext <<EOF |
3737 #line 3738 "configure" | 3735 #line 3736 "configure" |
3738 #include "confdefs.h" | 3736 #include "confdefs.h" |
3739 /* Override any gcc2 internal prototype to avoid an error. */ | 3737 /* Override any gcc2 internal prototype to avoid an error. */ |
3740 /* We use char because int might match the return type of a gcc2 | 3738 /* We use char because int might match the return type of a gcc2 |
3741 builtin and then its argument prototype would still apply. */ | 3739 builtin and then its argument prototype would still apply. */ |
3742 char kstat_open(); | 3740 char kstat_open(); |
3743 | 3741 |
3744 int main() { | 3742 int main() { |
3745 kstat_open() | 3743 kstat_open() |
3746 ; return 0; } | 3744 ; return 0; } |
3747 EOF | 3745 EOF |
3748 if { (eval echo configure:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3746 if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3749 rm -rf conftest* | 3747 rm -rf conftest* |
3750 eval "ac_cv_lib_$ac_lib_var=yes" | 3748 eval "ac_cv_lib_$ac_lib_var=yes" |
3751 else | 3749 else |
3752 echo "configure: failed program was:" >&5 | 3750 echo "configure: failed program was:" >&5 |
3753 cat conftest.$ac_ext >&5 | 3751 cat conftest.$ac_ext >&5 |
3777 | 3775 |
3778 | 3776 |
3779 | 3777 |
3780 | 3778 |
3781 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3779 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
3782 echo "configure:3783: checking for kvm_read in -lkvm" >&5 | 3780 echo "configure:3781: checking for kvm_read in -lkvm" >&5 |
3783 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3781 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
3784 | 3782 |
3785 xe_check_libs=" -lkvm " | 3783 xe_check_libs=" -lkvm " |
3786 cat > conftest.$ac_ext <<EOF | 3784 cat > conftest.$ac_ext <<EOF |
3787 #line 3788 "configure" | 3785 #line 3786 "configure" |
3788 #include "confdefs.h" | 3786 #include "confdefs.h" |
3789 /* Override any gcc2 internal prototype to avoid an error. */ | 3787 /* Override any gcc2 internal prototype to avoid an error. */ |
3790 /* We use char because int might match the return type of a gcc2 | 3788 /* We use char because int might match the return type of a gcc2 |
3791 builtin and then its argument prototype would still apply. */ | 3789 builtin and then its argument prototype would still apply. */ |
3792 char kvm_read(); | 3790 char kvm_read(); |
3793 | 3791 |
3794 int main() { | 3792 int main() { |
3795 kvm_read() | 3793 kvm_read() |
3796 ; return 0; } | 3794 ; return 0; } |
3797 EOF | 3795 EOF |
3798 if { (eval echo configure:3799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3796 if { (eval echo configure:3797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3799 rm -rf conftest* | 3797 rm -rf conftest* |
3800 eval "ac_cv_lib_$ac_lib_var=yes" | 3798 eval "ac_cv_lib_$ac_lib_var=yes" |
3801 else | 3799 else |
3802 echo "configure: failed program was:" >&5 | 3800 echo "configure: failed program was:" >&5 |
3803 cat conftest.$ac_ext >&5 | 3801 cat conftest.$ac_ext >&5 |
3827 | 3825 |
3828 | 3826 |
3829 | 3827 |
3830 | 3828 |
3831 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3829 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3832 echo "configure:3833: checking for cma_open in -lpthreads" >&5 | 3830 echo "configure:3831: checking for cma_open in -lpthreads" >&5 |
3833 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3831 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3834 | 3832 |
3835 xe_check_libs=" -lpthreads " | 3833 xe_check_libs=" -lpthreads " |
3836 cat > conftest.$ac_ext <<EOF | 3834 cat > conftest.$ac_ext <<EOF |
3837 #line 3838 "configure" | 3835 #line 3836 "configure" |
3838 #include "confdefs.h" | 3836 #include "confdefs.h" |
3839 /* Override any gcc2 internal prototype to avoid an error. */ | 3837 /* Override any gcc2 internal prototype to avoid an error. */ |
3840 /* We use char because int might match the return type of a gcc2 | 3838 /* We use char because int might match the return type of a gcc2 |
3841 builtin and then its argument prototype would still apply. */ | 3839 builtin and then its argument prototype would still apply. */ |
3842 char cma_open(); | 3840 char cma_open(); |
3843 | 3841 |
3844 int main() { | 3842 int main() { |
3845 cma_open() | 3843 cma_open() |
3846 ; return 0; } | 3844 ; return 0; } |
3847 EOF | 3845 EOF |
3848 if { (eval echo configure:3849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3846 if { (eval echo configure:3847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3849 rm -rf conftest* | 3847 rm -rf conftest* |
3850 eval "ac_cv_lib_$ac_lib_var=yes" | 3848 eval "ac_cv_lib_$ac_lib_var=yes" |
3851 else | 3849 else |
3852 echo "configure: failed program was:" >&5 | 3850 echo "configure: failed program was:" >&5 |
3853 cat conftest.$ac_ext >&5 | 3851 cat conftest.$ac_ext >&5 |
3879 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3877 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
3880 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3878 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
3881 fi | 3879 fi |
3882 | 3880 |
3883 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3881 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
3884 echo "configure:3885: checking whether the -xildoff compiler flag is required" >&5 | 3882 echo "configure:3883: checking whether the -xildoff compiler flag is required" >&5 |
3885 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3883 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
3886 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3884 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
3887 then echo "$ac_t""no" 1>&6; | 3885 then echo "$ac_t""no" 1>&6; |
3888 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 | 3886 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 |
3889 fi | 3887 fi |
3890 else echo "$ac_t""no" 1>&6 | 3888 else echo "$ac_t""no" 1>&6 |
3891 fi | 3889 fi |
3892 | 3890 |
3893 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 3891 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
3894 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 3892 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
3895 echo "configure:3896: checking for \"-z ignore\" linker flag" >&5 | 3893 echo "configure:3894: checking for \"-z ignore\" linker flag" >&5 |
3896 case "`ld -h 2>&1`" in | 3894 case "`ld -h 2>&1`" in |
3897 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 3895 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
3898 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 3896 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
3899 *) echo "$ac_t""no" 1>&6 ;; | 3897 *) echo "$ac_t""no" 1>&6 ;; |
3900 esac | 3898 esac |
3901 fi | 3899 fi |
3902 | 3900 |
3903 | 3901 |
3904 echo "checking "for specified window system"" 1>&6 | 3902 echo "checking "for specified window system"" 1>&6 |
3905 echo "configure:3906: checking "for specified window system"" >&5 | 3903 echo "configure:3904: checking "for specified window system"" >&5 |
3906 | 3904 |
3907 if test "$with_x11" != "no"; then | 3905 if test "$with_x11" != "no"; then |
3908 test "$x_includes $x_libraries" != "NONE NONE" && \ | 3906 test "$x_includes $x_libraries" != "NONE NONE" && \ |
3909 window_system=x11 with_x11=yes | 3907 window_system=x11 with_x11=yes |
3910 | 3908 |
3930 # If we find X, set shell vars x_includes and x_libraries to the | 3928 # If we find X, set shell vars x_includes and x_libraries to the |
3931 # paths, otherwise set no_x=yes. | 3929 # paths, otherwise set no_x=yes. |
3932 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3930 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3933 # --without-x overrides everything else, but does not touch the cache. | 3931 # --without-x overrides everything else, but does not touch the cache. |
3934 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3932 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3935 echo "configure:3936: checking for X" >&5 | 3933 echo "configure:3934: checking for X" >&5 |
3936 | 3934 |
3937 # Check whether --with-x or --without-x was given. | 3935 # Check whether --with-x or --without-x was given. |
3938 if test "${with_x+set}" = set; then | 3936 if test "${with_x+set}" = set; then |
3939 withval="$with_x" | 3937 withval="$with_x" |
3940 : | 3938 : |
3990 # Guess where to find include files, by looking for this one X11 .h file. | 3988 # Guess where to find include files, by looking for this one X11 .h file. |
3991 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3989 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
3992 | 3990 |
3993 # First, try using that file with no special directory specified. | 3991 # First, try using that file with no special directory specified. |
3994 cat > conftest.$ac_ext <<EOF | 3992 cat > conftest.$ac_ext <<EOF |
3995 #line 3996 "configure" | 3993 #line 3994 "configure" |
3996 #include "confdefs.h" | 3994 #include "confdefs.h" |
3997 #include <$x_direct_test_include> | 3995 #include <$x_direct_test_include> |
3998 EOF | 3996 EOF |
3999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4000 { (eval echo configure:4001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3998 { (eval echo configure:3999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4001 ac_err=`grep -v '^ *+' conftest.out` | 3999 ac_err=`grep -v '^ *+' conftest.out` |
4002 if test -z "$ac_err"; then | 4000 if test -z "$ac_err"; then |
4003 rm -rf conftest* | 4001 rm -rf conftest* |
4004 # We can compile using X headers with no special include directory. | 4002 # We can compile using X headers with no special include directory. |
4005 ac_x_includes= | 4003 ac_x_includes= |
4064 # See if we find them without any special options. | 4062 # See if we find them without any special options. |
4065 # Don't add to $LIBS permanently. | 4063 # Don't add to $LIBS permanently. |
4066 ac_save_LIBS="$LIBS" | 4064 ac_save_LIBS="$LIBS" |
4067 LIBS="-l$x_direct_test_library $LIBS" | 4065 LIBS="-l$x_direct_test_library $LIBS" |
4068 cat > conftest.$ac_ext <<EOF | 4066 cat > conftest.$ac_ext <<EOF |
4069 #line 4070 "configure" | 4067 #line 4068 "configure" |
4070 #include "confdefs.h" | 4068 #include "confdefs.h" |
4071 | 4069 |
4072 int main() { | 4070 int main() { |
4073 ${x_direct_test_function}() | 4071 ${x_direct_test_function}() |
4074 ; return 0; } | 4072 ; return 0; } |
4075 EOF | 4073 EOF |
4076 if { (eval echo configure:4077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4074 if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4077 rm -rf conftest* | 4075 rm -rf conftest* |
4078 LIBS="$ac_save_LIBS" | 4076 LIBS="$ac_save_LIBS" |
4079 # We can link X programs with no special library path. | 4077 # We can link X programs with no special library path. |
4080 ac_x_libraries= | 4078 ac_x_libraries= |
4081 else | 4079 else |
4180 # For Solaris; some versions of Sun CC require a space after -R and | 4178 # For Solaris; some versions of Sun CC require a space after -R and |
4181 # others require no space. Words are not sufficient . . . . | 4179 # others require no space. Words are not sufficient . . . . |
4182 case "`(uname -sr) 2>/dev/null`" in | 4180 case "`(uname -sr) 2>/dev/null`" in |
4183 "SunOS 5"*) | 4181 "SunOS 5"*) |
4184 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4182 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4185 echo "configure:4186: checking whether -R must be followed by a space" >&5 | 4183 echo "configure:4184: checking whether -R must be followed by a space" >&5 |
4186 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4184 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4187 cat > conftest.$ac_ext <<EOF | 4185 cat > conftest.$ac_ext <<EOF |
4188 #line 4189 "configure" | 4186 #line 4187 "configure" |
4189 #include "confdefs.h" | 4187 #include "confdefs.h" |
4190 | 4188 |
4191 int main() { | 4189 int main() { |
4192 | 4190 |
4193 ; return 0; } | 4191 ; return 0; } |
4194 EOF | 4192 EOF |
4195 if { (eval echo configure:4196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4193 if { (eval echo configure:4194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4196 rm -rf conftest* | 4194 rm -rf conftest* |
4197 ac_R_nospace=yes | 4195 ac_R_nospace=yes |
4198 else | 4196 else |
4199 echo "configure: failed program was:" >&5 | 4197 echo "configure: failed program was:" >&5 |
4200 cat conftest.$ac_ext >&5 | 4198 cat conftest.$ac_ext >&5 |
4206 echo "$ac_t""no" 1>&6 | 4204 echo "$ac_t""no" 1>&6 |
4207 X_LIBS="$X_LIBS -R$x_libraries" | 4205 X_LIBS="$X_LIBS -R$x_libraries" |
4208 else | 4206 else |
4209 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4207 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4210 cat > conftest.$ac_ext <<EOF | 4208 cat > conftest.$ac_ext <<EOF |
4211 #line 4212 "configure" | 4209 #line 4210 "configure" |
4212 #include "confdefs.h" | 4210 #include "confdefs.h" |
4213 | 4211 |
4214 int main() { | 4212 int main() { |
4215 | 4213 |
4216 ; return 0; } | 4214 ; return 0; } |
4217 EOF | 4215 EOF |
4218 if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4216 if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4219 rm -rf conftest* | 4217 rm -rf conftest* |
4220 ac_R_space=yes | 4218 ac_R_space=yes |
4221 else | 4219 else |
4222 echo "configure: failed program was:" >&5 | 4220 echo "configure: failed program was:" >&5 |
4223 cat conftest.$ac_ext >&5 | 4221 cat conftest.$ac_ext >&5 |
4249 if test "$with_dnet" = "no" ; then | 4247 if test "$with_dnet" = "no" ; then |
4250 ac_cv_lib_dnet_dnet_ntoa=no | 4248 ac_cv_lib_dnet_dnet_ntoa=no |
4251 else | 4249 else |
4252 | 4250 |
4253 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4251 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4254 echo "configure:4255: checking for dnet_ntoa in -ldnet" >&5 | 4252 echo "configure:4253: checking for dnet_ntoa in -ldnet" >&5 |
4255 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4253 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4256 | 4254 |
4257 xe_check_libs=" -ldnet " | 4255 xe_check_libs=" -ldnet " |
4258 cat > conftest.$ac_ext <<EOF | 4256 cat > conftest.$ac_ext <<EOF |
4259 #line 4260 "configure" | 4257 #line 4258 "configure" |
4260 #include "confdefs.h" | 4258 #include "confdefs.h" |
4261 /* Override any gcc2 internal prototype to avoid an error. */ | 4259 /* Override any gcc2 internal prototype to avoid an error. */ |
4262 /* We use char because int might match the return type of a gcc2 | 4260 /* We use char because int might match the return type of a gcc2 |
4263 builtin and then its argument prototype would still apply. */ | 4261 builtin and then its argument prototype would still apply. */ |
4264 char dnet_ntoa(); | 4262 char dnet_ntoa(); |
4265 | 4263 |
4266 int main() { | 4264 int main() { |
4267 dnet_ntoa() | 4265 dnet_ntoa() |
4268 ; return 0; } | 4266 ; return 0; } |
4269 EOF | 4267 EOF |
4270 if { (eval echo configure:4271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4268 if { (eval echo configure:4269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4271 rm -rf conftest* | 4269 rm -rf conftest* |
4272 eval "ac_cv_lib_$ac_lib_var=yes" | 4270 eval "ac_cv_lib_$ac_lib_var=yes" |
4273 else | 4271 else |
4274 echo "configure: failed program was:" >&5 | 4272 echo "configure: failed program was:" >&5 |
4275 cat conftest.$ac_ext >&5 | 4273 cat conftest.$ac_ext >&5 |
4289 fi | 4287 fi |
4290 | 4288 |
4291 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4289 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4292 | 4290 |
4293 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4291 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4294 echo "configure:4295: checking for dnet_ntoa in -ldnet_stub" >&5 | 4292 echo "configure:4293: checking for dnet_ntoa in -ldnet_stub" >&5 |
4295 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4293 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4296 | 4294 |
4297 xe_check_libs=" -ldnet_stub " | 4295 xe_check_libs=" -ldnet_stub " |
4298 cat > conftest.$ac_ext <<EOF | 4296 cat > conftest.$ac_ext <<EOF |
4299 #line 4300 "configure" | 4297 #line 4298 "configure" |
4300 #include "confdefs.h" | 4298 #include "confdefs.h" |
4301 /* Override any gcc2 internal prototype to avoid an error. */ | 4299 /* Override any gcc2 internal prototype to avoid an error. */ |
4302 /* We use char because int might match the return type of a gcc2 | 4300 /* We use char because int might match the return type of a gcc2 |
4303 builtin and then its argument prototype would still apply. */ | 4301 builtin and then its argument prototype would still apply. */ |
4304 char dnet_ntoa(); | 4302 char dnet_ntoa(); |
4305 | 4303 |
4306 int main() { | 4304 int main() { |
4307 dnet_ntoa() | 4305 dnet_ntoa() |
4308 ; return 0; } | 4306 ; return 0; } |
4309 EOF | 4307 EOF |
4310 if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4308 if { (eval echo configure:4309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4311 rm -rf conftest* | 4309 rm -rf conftest* |
4312 eval "ac_cv_lib_$ac_lib_var=yes" | 4310 eval "ac_cv_lib_$ac_lib_var=yes" |
4313 else | 4311 else |
4314 echo "configure: failed program was:" >&5 | 4312 echo "configure: failed program was:" >&5 |
4315 cat conftest.$ac_ext >&5 | 4313 cat conftest.$ac_ext >&5 |
4334 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4332 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4335 # needs -lnsl. | 4333 # needs -lnsl. |
4336 # The nsl library prevents programs from opening the X display | 4334 # The nsl library prevents programs from opening the X display |
4337 # on Irix 5.2, according to dickey@clark.net. | 4335 # on Irix 5.2, according to dickey@clark.net. |
4338 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4336 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4339 echo "configure:4340: checking for gethostbyname" >&5 | 4337 echo "configure:4338: checking for gethostbyname" >&5 |
4340 | 4338 |
4341 cat > conftest.$ac_ext <<EOF | 4339 cat > conftest.$ac_ext <<EOF |
4342 #line 4343 "configure" | 4340 #line 4341 "configure" |
4343 #include "confdefs.h" | 4341 #include "confdefs.h" |
4344 /* System header to define __stub macros and hopefully few prototypes, | 4342 /* System header to define __stub macros and hopefully few prototypes, |
4345 which can conflict with char gethostbyname(); below. */ | 4343 which can conflict with char gethostbyname(); below. */ |
4346 #include <assert.h> | 4344 #include <assert.h> |
4347 /* Override any gcc2 internal prototype to avoid an error. */ | 4345 /* Override any gcc2 internal prototype to avoid an error. */ |
4360 gethostbyname(); | 4358 gethostbyname(); |
4361 #endif | 4359 #endif |
4362 | 4360 |
4363 ; return 0; } | 4361 ; return 0; } |
4364 EOF | 4362 EOF |
4365 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4363 if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4366 rm -rf conftest* | 4364 rm -rf conftest* |
4367 eval "ac_cv_func_gethostbyname=yes" | 4365 eval "ac_cv_func_gethostbyname=yes" |
4368 else | 4366 else |
4369 echo "configure: failed program was:" >&5 | 4367 echo "configure: failed program was:" >&5 |
4370 cat conftest.$ac_ext >&5 | 4368 cat conftest.$ac_ext >&5 |
4381 fi | 4379 fi |
4382 | 4380 |
4383 if test $ac_cv_func_gethostbyname = no; then | 4381 if test $ac_cv_func_gethostbyname = no; then |
4384 | 4382 |
4385 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4383 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4386 echo "configure:4387: checking for gethostbyname in -lnsl" >&5 | 4384 echo "configure:4385: checking for gethostbyname in -lnsl" >&5 |
4387 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4385 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4388 | 4386 |
4389 xe_check_libs=" -lnsl " | 4387 xe_check_libs=" -lnsl " |
4390 cat > conftest.$ac_ext <<EOF | 4388 cat > conftest.$ac_ext <<EOF |
4391 #line 4392 "configure" | 4389 #line 4390 "configure" |
4392 #include "confdefs.h" | 4390 #include "confdefs.h" |
4393 /* Override any gcc2 internal prototype to avoid an error. */ | 4391 /* Override any gcc2 internal prototype to avoid an error. */ |
4394 /* We use char because int might match the return type of a gcc2 | 4392 /* We use char because int might match the return type of a gcc2 |
4395 builtin and then its argument prototype would still apply. */ | 4393 builtin and then its argument prototype would still apply. */ |
4396 char gethostbyname(); | 4394 char gethostbyname(); |
4397 | 4395 |
4398 int main() { | 4396 int main() { |
4399 gethostbyname() | 4397 gethostbyname() |
4400 ; return 0; } | 4398 ; return 0; } |
4401 EOF | 4399 EOF |
4402 if { (eval echo configure:4403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4400 if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4403 rm -rf conftest* | 4401 rm -rf conftest* |
4404 eval "ac_cv_lib_$ac_lib_var=yes" | 4402 eval "ac_cv_lib_$ac_lib_var=yes" |
4405 else | 4403 else |
4406 echo "configure: failed program was:" >&5 | 4404 echo "configure: failed program was:" >&5 |
4407 cat conftest.$ac_ext >&5 | 4405 cat conftest.$ac_ext >&5 |
4427 # on later versions), says simon@lia.di.epfl.ch: it contains | 4425 # on later versions), says simon@lia.di.epfl.ch: it contains |
4428 # gethostby* variants that don't use the nameserver (or something). | 4426 # gethostby* variants that don't use the nameserver (or something). |
4429 # -lsocket must be given before -lnsl if both are needed. | 4427 # -lsocket must be given before -lnsl if both are needed. |
4430 # We assume that if connect needs -lnsl, so does gethostbyname. | 4428 # We assume that if connect needs -lnsl, so does gethostbyname. |
4431 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4429 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4432 echo "configure:4433: checking for connect" >&5 | 4430 echo "configure:4431: checking for connect" >&5 |
4433 | 4431 |
4434 cat > conftest.$ac_ext <<EOF | 4432 cat > conftest.$ac_ext <<EOF |
4435 #line 4436 "configure" | 4433 #line 4434 "configure" |
4436 #include "confdefs.h" | 4434 #include "confdefs.h" |
4437 /* System header to define __stub macros and hopefully few prototypes, | 4435 /* System header to define __stub macros and hopefully few prototypes, |
4438 which can conflict with char connect(); below. */ | 4436 which can conflict with char connect(); below. */ |
4439 #include <assert.h> | 4437 #include <assert.h> |
4440 /* Override any gcc2 internal prototype to avoid an error. */ | 4438 /* Override any gcc2 internal prototype to avoid an error. */ |
4453 connect(); | 4451 connect(); |
4454 #endif | 4452 #endif |
4455 | 4453 |
4456 ; return 0; } | 4454 ; return 0; } |
4457 EOF | 4455 EOF |
4458 if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4459 rm -rf conftest* | 4457 rm -rf conftest* |
4460 eval "ac_cv_func_connect=yes" | 4458 eval "ac_cv_func_connect=yes" |
4461 else | 4459 else |
4462 echo "configure: failed program was:" >&5 | 4460 echo "configure: failed program was:" >&5 |
4463 cat conftest.$ac_ext >&5 | 4461 cat conftest.$ac_ext >&5 |
4476 if test $ac_cv_func_connect = no; then | 4474 if test $ac_cv_func_connect = no; then |
4477 | 4475 |
4478 xe_msg_checking="for connect in -lsocket" | 4476 xe_msg_checking="for connect in -lsocket" |
4479 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4477 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4480 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4478 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4481 echo "configure:4482: checking "$xe_msg_checking"" >&5 | 4479 echo "configure:4480: checking "$xe_msg_checking"" >&5 |
4482 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4480 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4483 | 4481 |
4484 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4482 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4485 cat > conftest.$ac_ext <<EOF | 4483 cat > conftest.$ac_ext <<EOF |
4486 #line 4487 "configure" | 4484 #line 4485 "configure" |
4487 #include "confdefs.h" | 4485 #include "confdefs.h" |
4488 /* Override any gcc2 internal prototype to avoid an error. */ | 4486 /* Override any gcc2 internal prototype to avoid an error. */ |
4489 /* We use char because int might match the return type of a gcc2 | 4487 /* We use char because int might match the return type of a gcc2 |
4490 builtin and then its argument prototype would still apply. */ | 4488 builtin and then its argument prototype would still apply. */ |
4491 char connect(); | 4489 char connect(); |
4492 | 4490 |
4493 int main() { | 4491 int main() { |
4494 connect() | 4492 connect() |
4495 ; return 0; } | 4493 ; return 0; } |
4496 EOF | 4494 EOF |
4497 if { (eval echo configure:4498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4495 if { (eval echo configure:4496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4498 rm -rf conftest* | 4496 rm -rf conftest* |
4499 eval "ac_cv_lib_$ac_lib_var=yes" | 4497 eval "ac_cv_lib_$ac_lib_var=yes" |
4500 else | 4498 else |
4501 echo "configure: failed program was:" >&5 | 4499 echo "configure: failed program was:" >&5 |
4502 cat conftest.$ac_ext >&5 | 4500 cat conftest.$ac_ext >&5 |
4516 | 4514 |
4517 fi | 4515 fi |
4518 | 4516 |
4519 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4517 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4520 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4518 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4521 echo "configure:4522: checking for remove" >&5 | 4519 echo "configure:4520: checking for remove" >&5 |
4522 | 4520 |
4523 cat > conftest.$ac_ext <<EOF | 4521 cat > conftest.$ac_ext <<EOF |
4524 #line 4525 "configure" | 4522 #line 4523 "configure" |
4525 #include "confdefs.h" | 4523 #include "confdefs.h" |
4526 /* System header to define __stub macros and hopefully few prototypes, | 4524 /* System header to define __stub macros and hopefully few prototypes, |
4527 which can conflict with char remove(); below. */ | 4525 which can conflict with char remove(); below. */ |
4528 #include <assert.h> | 4526 #include <assert.h> |
4529 /* Override any gcc2 internal prototype to avoid an error. */ | 4527 /* Override any gcc2 internal prototype to avoid an error. */ |
4542 remove(); | 4540 remove(); |
4543 #endif | 4541 #endif |
4544 | 4542 |
4545 ; return 0; } | 4543 ; return 0; } |
4546 EOF | 4544 EOF |
4547 if { (eval echo configure:4548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4545 if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4548 rm -rf conftest* | 4546 rm -rf conftest* |
4549 eval "ac_cv_func_remove=yes" | 4547 eval "ac_cv_func_remove=yes" |
4550 else | 4548 else |
4551 echo "configure: failed program was:" >&5 | 4549 echo "configure: failed program was:" >&5 |
4552 cat conftest.$ac_ext >&5 | 4550 cat conftest.$ac_ext >&5 |
4563 fi | 4561 fi |
4564 | 4562 |
4565 if test $ac_cv_func_remove = no; then | 4563 if test $ac_cv_func_remove = no; then |
4566 | 4564 |
4567 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4565 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4568 echo "configure:4569: checking for remove in -lposix" >&5 | 4566 echo "configure:4567: checking for remove in -lposix" >&5 |
4569 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4567 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4570 | 4568 |
4571 xe_check_libs=" -lposix " | 4569 xe_check_libs=" -lposix " |
4572 cat > conftest.$ac_ext <<EOF | 4570 cat > conftest.$ac_ext <<EOF |
4573 #line 4574 "configure" | 4571 #line 4572 "configure" |
4574 #include "confdefs.h" | 4572 #include "confdefs.h" |
4575 /* Override any gcc2 internal prototype to avoid an error. */ | 4573 /* Override any gcc2 internal prototype to avoid an error. */ |
4576 /* We use char because int might match the return type of a gcc2 | 4574 /* We use char because int might match the return type of a gcc2 |
4577 builtin and then its argument prototype would still apply. */ | 4575 builtin and then its argument prototype would still apply. */ |
4578 char remove(); | 4576 char remove(); |
4579 | 4577 |
4580 int main() { | 4578 int main() { |
4581 remove() | 4579 remove() |
4582 ; return 0; } | 4580 ; return 0; } |
4583 EOF | 4581 EOF |
4584 if { (eval echo configure:4585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4582 if { (eval echo configure:4583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4585 rm -rf conftest* | 4583 rm -rf conftest* |
4586 eval "ac_cv_lib_$ac_lib_var=yes" | 4584 eval "ac_cv_lib_$ac_lib_var=yes" |
4587 else | 4585 else |
4588 echo "configure: failed program was:" >&5 | 4586 echo "configure: failed program was:" >&5 |
4589 cat conftest.$ac_ext >&5 | 4587 cat conftest.$ac_ext >&5 |
4603 | 4601 |
4604 fi | 4602 fi |
4605 | 4603 |
4606 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4604 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4607 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4605 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4608 echo "configure:4609: checking for shmat" >&5 | 4606 echo "configure:4607: checking for shmat" >&5 |
4609 | 4607 |
4610 cat > conftest.$ac_ext <<EOF | 4608 cat > conftest.$ac_ext <<EOF |
4611 #line 4612 "configure" | 4609 #line 4610 "configure" |
4612 #include "confdefs.h" | 4610 #include "confdefs.h" |
4613 /* System header to define __stub macros and hopefully few prototypes, | 4611 /* System header to define __stub macros and hopefully few prototypes, |
4614 which can conflict with char shmat(); below. */ | 4612 which can conflict with char shmat(); below. */ |
4615 #include <assert.h> | 4613 #include <assert.h> |
4616 /* Override any gcc2 internal prototype to avoid an error. */ | 4614 /* Override any gcc2 internal prototype to avoid an error. */ |
4629 shmat(); | 4627 shmat(); |
4630 #endif | 4628 #endif |
4631 | 4629 |
4632 ; return 0; } | 4630 ; return 0; } |
4633 EOF | 4631 EOF |
4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4632 if { (eval echo configure:4633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4635 rm -rf conftest* | 4633 rm -rf conftest* |
4636 eval "ac_cv_func_shmat=yes" | 4634 eval "ac_cv_func_shmat=yes" |
4637 else | 4635 else |
4638 echo "configure: failed program was:" >&5 | 4636 echo "configure: failed program was:" >&5 |
4639 cat conftest.$ac_ext >&5 | 4637 cat conftest.$ac_ext >&5 |
4650 fi | 4648 fi |
4651 | 4649 |
4652 if test $ac_cv_func_shmat = no; then | 4650 if test $ac_cv_func_shmat = no; then |
4653 | 4651 |
4654 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4652 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4655 echo "configure:4656: checking for shmat in -lipc" >&5 | 4653 echo "configure:4654: checking for shmat in -lipc" >&5 |
4656 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4654 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4657 | 4655 |
4658 xe_check_libs=" -lipc " | 4656 xe_check_libs=" -lipc " |
4659 cat > conftest.$ac_ext <<EOF | 4657 cat > conftest.$ac_ext <<EOF |
4660 #line 4661 "configure" | 4658 #line 4659 "configure" |
4661 #include "confdefs.h" | 4659 #include "confdefs.h" |
4662 /* Override any gcc2 internal prototype to avoid an error. */ | 4660 /* Override any gcc2 internal prototype to avoid an error. */ |
4663 /* We use char because int might match the return type of a gcc2 | 4661 /* We use char because int might match the return type of a gcc2 |
4664 builtin and then its argument prototype would still apply. */ | 4662 builtin and then its argument prototype would still apply. */ |
4665 char shmat(); | 4663 char shmat(); |
4666 | 4664 |
4667 int main() { | 4665 int main() { |
4668 shmat() | 4666 shmat() |
4669 ; return 0; } | 4667 ; return 0; } |
4670 EOF | 4668 EOF |
4671 if { (eval echo configure:4672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4669 if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4672 rm -rf conftest* | 4670 rm -rf conftest* |
4673 eval "ac_cv_lib_$ac_lib_var=yes" | 4671 eval "ac_cv_lib_$ac_lib_var=yes" |
4674 else | 4672 else |
4675 echo "configure: failed program was:" >&5 | 4673 echo "configure: failed program was:" >&5 |
4676 cat conftest.$ac_ext >&5 | 4674 cat conftest.$ac_ext >&5 |
4700 # These have to be linked with before -lX11, unlike the other | 4698 # These have to be linked with before -lX11, unlike the other |
4701 # libraries we check for below, so use a different variable. | 4699 # libraries we check for below, so use a different variable. |
4702 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4700 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4703 | 4701 |
4704 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4702 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4705 echo "configure:4706: checking for IceConnectionNumber in -lICE" >&5 | 4703 echo "configure:4704: checking for IceConnectionNumber in -lICE" >&5 |
4706 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4704 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4707 | 4705 |
4708 xe_check_libs=" -lICE " | 4706 xe_check_libs=" -lICE " |
4709 cat > conftest.$ac_ext <<EOF | 4707 cat > conftest.$ac_ext <<EOF |
4710 #line 4711 "configure" | 4708 #line 4709 "configure" |
4711 #include "confdefs.h" | 4709 #include "confdefs.h" |
4712 /* Override any gcc2 internal prototype to avoid an error. */ | 4710 /* Override any gcc2 internal prototype to avoid an error. */ |
4713 /* We use char because int might match the return type of a gcc2 | 4711 /* We use char because int might match the return type of a gcc2 |
4714 builtin and then its argument prototype would still apply. */ | 4712 builtin and then its argument prototype would still apply. */ |
4715 char IceConnectionNumber(); | 4713 char IceConnectionNumber(); |
4716 | 4714 |
4717 int main() { | 4715 int main() { |
4718 IceConnectionNumber() | 4716 IceConnectionNumber() |
4719 ; return 0; } | 4717 ; return 0; } |
4720 EOF | 4718 EOF |
4721 if { (eval echo configure:4722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4719 if { (eval echo configure:4720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4722 rm -rf conftest* | 4720 rm -rf conftest* |
4723 eval "ac_cv_lib_$ac_lib_var=yes" | 4721 eval "ac_cv_lib_$ac_lib_var=yes" |
4724 else | 4722 else |
4725 echo "configure: failed program was:" >&5 | 4723 echo "configure: failed program was:" >&5 |
4726 cat conftest.$ac_ext >&5 | 4724 cat conftest.$ac_ext >&5 |
4849 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4847 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
4850 echo | 4848 echo |
4851 fi | 4849 fi |
4852 | 4850 |
4853 echo "checking for X defines extracted by xmkmf" 1>&6 | 4851 echo "checking for X defines extracted by xmkmf" 1>&6 |
4854 echo "configure:4855: checking for X defines extracted by xmkmf" >&5 | 4852 echo "configure:4853: checking for X defines extracted by xmkmf" >&5 |
4855 rm -fr conftestdir | 4853 rm -fr conftestdir |
4856 if mkdir conftestdir; then | 4854 if mkdir conftestdir; then |
4857 cd conftestdir | 4855 cd conftestdir |
4858 cat > Imakefile <<'EOF' | 4856 cat > Imakefile <<'EOF' |
4859 xetest: | 4857 xetest: |
4881 done | 4879 done |
4882 fi | 4880 fi |
4883 | 4881 |
4884 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 4882 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
4885 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 4883 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
4886 echo "configure:4887: checking for X11/Intrinsic.h" >&5 | 4884 echo "configure:4885: checking for X11/Intrinsic.h" >&5 |
4887 | 4885 |
4888 cat > conftest.$ac_ext <<EOF | 4886 cat > conftest.$ac_ext <<EOF |
4889 #line 4890 "configure" | 4887 #line 4888 "configure" |
4890 #include "confdefs.h" | 4888 #include "confdefs.h" |
4891 #include <X11/Intrinsic.h> | 4889 #include <X11/Intrinsic.h> |
4892 EOF | 4890 EOF |
4893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4894 { (eval echo configure:4895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4892 { (eval echo configure:4893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4895 ac_err=`grep -v '^ *+' conftest.out` | 4893 ac_err=`grep -v '^ *+' conftest.out` |
4896 if test -z "$ac_err"; then | 4894 if test -z "$ac_err"; then |
4897 rm -rf conftest* | 4895 rm -rf conftest* |
4898 eval "ac_cv_header_$ac_safe=yes" | 4896 eval "ac_cv_header_$ac_safe=yes" |
4899 else | 4897 else |
4913 fi | 4911 fi |
4914 | 4912 |
4915 | 4913 |
4916 | 4914 |
4917 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 4915 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
4918 echo "configure:4919: checking for XOpenDisplay in -lX11" >&5 | 4916 echo "configure:4917: checking for XOpenDisplay in -lX11" >&5 |
4919 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 4917 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
4920 | 4918 |
4921 xe_check_libs=" -lX11 " | 4919 xe_check_libs=" -lX11 " |
4922 cat > conftest.$ac_ext <<EOF | 4920 cat > conftest.$ac_ext <<EOF |
4923 #line 4924 "configure" | 4921 #line 4922 "configure" |
4924 #include "confdefs.h" | 4922 #include "confdefs.h" |
4925 /* Override any gcc2 internal prototype to avoid an error. */ | 4923 /* Override any gcc2 internal prototype to avoid an error. */ |
4926 /* We use char because int might match the return type of a gcc2 | 4924 /* We use char because int might match the return type of a gcc2 |
4927 builtin and then its argument prototype would still apply. */ | 4925 builtin and then its argument prototype would still apply. */ |
4928 char XOpenDisplay(); | 4926 char XOpenDisplay(); |
4929 | 4927 |
4930 int main() { | 4928 int main() { |
4931 XOpenDisplay() | 4929 XOpenDisplay() |
4932 ; return 0; } | 4930 ; return 0; } |
4933 EOF | 4931 EOF |
4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4932 if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4935 rm -rf conftest* | 4933 rm -rf conftest* |
4936 eval "ac_cv_lib_$ac_lib_var=yes" | 4934 eval "ac_cv_lib_$ac_lib_var=yes" |
4937 else | 4935 else |
4938 echo "configure: failed program was:" >&5 | 4936 echo "configure: failed program was:" >&5 |
4939 cat conftest.$ac_ext >&5 | 4937 cat conftest.$ac_ext >&5 |
4954 if test "$have_lib_x11" != "yes"; then | 4952 if test "$have_lib_x11" != "yes"; then |
4955 | 4953 |
4956 xe_msg_checking="for XGetFontProperty in -lX11" | 4954 xe_msg_checking="for XGetFontProperty in -lX11" |
4957 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 4955 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
4958 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4956 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4959 echo "configure:4960: checking "$xe_msg_checking"" >&5 | 4957 echo "configure:4958: checking "$xe_msg_checking"" >&5 |
4960 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 4958 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
4961 | 4959 |
4962 xe_check_libs=" -lX11 -b i486-linuxaout" | 4960 xe_check_libs=" -lX11 -b i486-linuxaout" |
4963 cat > conftest.$ac_ext <<EOF | 4961 cat > conftest.$ac_ext <<EOF |
4964 #line 4965 "configure" | 4962 #line 4963 "configure" |
4965 #include "confdefs.h" | 4963 #include "confdefs.h" |
4966 /* Override any gcc2 internal prototype to avoid an error. */ | 4964 /* Override any gcc2 internal prototype to avoid an error. */ |
4967 /* We use char because int might match the return type of a gcc2 | 4965 /* We use char because int might match the return type of a gcc2 |
4968 builtin and then its argument prototype would still apply. */ | 4966 builtin and then its argument prototype would still apply. */ |
4969 char XGetFontProperty(); | 4967 char XGetFontProperty(); |
4970 | 4968 |
4971 int main() { | 4969 int main() { |
4972 XGetFontProperty() | 4970 XGetFontProperty() |
4973 ; return 0; } | 4971 ; return 0; } |
4974 EOF | 4972 EOF |
4975 if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4973 if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4976 rm -rf conftest* | 4974 rm -rf conftest* |
4977 eval "ac_cv_lib_$ac_lib_var=yes" | 4975 eval "ac_cv_lib_$ac_lib_var=yes" |
4978 else | 4976 else |
4979 echo "configure: failed program was:" >&5 | 4977 echo "configure: failed program was:" >&5 |
4980 cat conftest.$ac_ext >&5 | 4978 cat conftest.$ac_ext >&5 |
4997 libs_x="-lX11" | 4995 libs_x="-lX11" |
4998 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 4996 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
4999 | 4997 |
5000 | 4998 |
5001 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 4999 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5002 echo "configure:5003: checking for XShapeSelectInput in -lXext" >&5 | 5000 echo "configure:5001: checking for XShapeSelectInput in -lXext" >&5 |
5003 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5001 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5004 | 5002 |
5005 xe_check_libs=" -lXext " | 5003 xe_check_libs=" -lXext " |
5006 cat > conftest.$ac_ext <<EOF | 5004 cat > conftest.$ac_ext <<EOF |
5007 #line 5008 "configure" | 5005 #line 5006 "configure" |
5008 #include "confdefs.h" | 5006 #include "confdefs.h" |
5009 /* Override any gcc2 internal prototype to avoid an error. */ | 5007 /* Override any gcc2 internal prototype to avoid an error. */ |
5010 /* We use char because int might match the return type of a gcc2 | 5008 /* We use char because int might match the return type of a gcc2 |
5011 builtin and then its argument prototype would still apply. */ | 5009 builtin and then its argument prototype would still apply. */ |
5012 char XShapeSelectInput(); | 5010 char XShapeSelectInput(); |
5013 | 5011 |
5014 int main() { | 5012 int main() { |
5015 XShapeSelectInput() | 5013 XShapeSelectInput() |
5016 ; return 0; } | 5014 ; return 0; } |
5017 EOF | 5015 EOF |
5018 if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5016 if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5019 rm -rf conftest* | 5017 rm -rf conftest* |
5020 eval "ac_cv_lib_$ac_lib_var=yes" | 5018 eval "ac_cv_lib_$ac_lib_var=yes" |
5021 else | 5019 else |
5022 echo "configure: failed program was:" >&5 | 5020 echo "configure: failed program was:" >&5 |
5023 cat conftest.$ac_ext >&5 | 5021 cat conftest.$ac_ext >&5 |
5036 | 5034 |
5037 | 5035 |
5038 | 5036 |
5039 | 5037 |
5040 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5038 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5041 echo "configure:5042: checking for XtOpenDisplay in -lXt" >&5 | 5039 echo "configure:5040: checking for XtOpenDisplay in -lXt" >&5 |
5042 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5040 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5043 | 5041 |
5044 xe_check_libs=" -lXt " | 5042 xe_check_libs=" -lXt " |
5045 cat > conftest.$ac_ext <<EOF | 5043 cat > conftest.$ac_ext <<EOF |
5046 #line 5047 "configure" | 5044 #line 5045 "configure" |
5047 #include "confdefs.h" | 5045 #include "confdefs.h" |
5048 /* Override any gcc2 internal prototype to avoid an error. */ | 5046 /* Override any gcc2 internal prototype to avoid an error. */ |
5049 /* We use char because int might match the return type of a gcc2 | 5047 /* We use char because int might match the return type of a gcc2 |
5050 builtin and then its argument prototype would still apply. */ | 5048 builtin and then its argument prototype would still apply. */ |
5051 char XtOpenDisplay(); | 5049 char XtOpenDisplay(); |
5052 | 5050 |
5053 int main() { | 5051 int main() { |
5054 XtOpenDisplay() | 5052 XtOpenDisplay() |
5055 ; return 0; } | 5053 ; return 0; } |
5056 EOF | 5054 EOF |
5057 if { (eval echo configure:5058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5055 if { (eval echo configure:5056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5058 rm -rf conftest* | 5056 rm -rf conftest* |
5059 eval "ac_cv_lib_$ac_lib_var=yes" | 5057 eval "ac_cv_lib_$ac_lib_var=yes" |
5060 else | 5058 else |
5061 echo "configure: failed program was:" >&5 | 5059 echo "configure: failed program was:" >&5 |
5062 cat conftest.$ac_ext >&5 | 5060 cat conftest.$ac_ext >&5 |
5075 fi | 5073 fi |
5076 | 5074 |
5077 | 5075 |
5078 | 5076 |
5079 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5077 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5080 echo "configure:5081: checking the version of X11 being used" >&5 | 5078 echo "configure:5079: checking the version of X11 being used" >&5 |
5081 cat > conftest.$ac_ext <<EOF | 5079 cat > conftest.$ac_ext <<EOF |
5082 #line 5083 "configure" | 5080 #line 5081 "configure" |
5083 #include "confdefs.h" | 5081 #include "confdefs.h" |
5084 #include <X11/Intrinsic.h> | 5082 #include <X11/Intrinsic.h> |
5085 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5083 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5086 EOF | 5084 EOF |
5087 if { (eval echo configure:5088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5085 if { (eval echo configure:5086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5088 then | 5086 then |
5089 ./conftest foobar; x11_release=$? | 5087 ./conftest foobar; x11_release=$? |
5090 else | 5088 else |
5091 echo "configure: failed program was:" >&5 | 5089 echo "configure: failed program was:" >&5 |
5092 cat conftest.$ac_ext >&5 | 5090 cat conftest.$ac_ext >&5 |
5106 | 5104 |
5107 for ac_hdr in X11/Xlocale.h | 5105 for ac_hdr in X11/Xlocale.h |
5108 do | 5106 do |
5109 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5107 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5110 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5108 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5111 echo "configure:5112: checking for $ac_hdr" >&5 | 5109 echo "configure:5110: checking for $ac_hdr" >&5 |
5112 | 5110 |
5113 cat > conftest.$ac_ext <<EOF | 5111 cat > conftest.$ac_ext <<EOF |
5114 #line 5115 "configure" | 5112 #line 5113 "configure" |
5115 #include "confdefs.h" | 5113 #include "confdefs.h" |
5116 #include <$ac_hdr> | 5114 #include <$ac_hdr> |
5117 EOF | 5115 EOF |
5118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5119 { (eval echo configure:5120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5117 { (eval echo configure:5118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5120 ac_err=`grep -v '^ *+' conftest.out` | 5118 ac_err=`grep -v '^ *+' conftest.out` |
5121 if test -z "$ac_err"; then | 5119 if test -z "$ac_err"; then |
5122 rm -rf conftest* | 5120 rm -rf conftest* |
5123 eval "ac_cv_header_$ac_safe=yes" | 5121 eval "ac_cv_header_$ac_safe=yes" |
5124 else | 5122 else |
5145 fi | 5143 fi |
5146 done | 5144 done |
5147 | 5145 |
5148 | 5146 |
5149 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5147 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5150 echo "configure:5151: checking for XFree86" >&5 | 5148 echo "configure:5149: checking for XFree86" >&5 |
5151 if test -d "/usr/X386/include" -o \ | 5149 if test -d "/usr/X386/include" -o \ |
5152 -f "/etc/XF86Config" -o \ | 5150 -f "/etc/XF86Config" -o \ |
5153 -f "/etc/X11/XF86Config" -o \ | 5151 -f "/etc/X11/XF86Config" -o \ |
5154 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5152 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5155 echo "$ac_t""yes" 1>&6 | 5153 echo "$ac_t""yes" 1>&6 |
5165 echo "$ac_t""no" 1>&6 | 5163 echo "$ac_t""no" 1>&6 |
5166 fi | 5164 fi |
5167 | 5165 |
5168 test -z "$with_xmu" && { | 5166 test -z "$with_xmu" && { |
5169 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5167 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5170 echo "configure:5171: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5168 echo "configure:5169: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5171 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5169 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5172 | 5170 |
5173 xe_check_libs=" -lXmu " | 5171 xe_check_libs=" -lXmu " |
5174 cat > conftest.$ac_ext <<EOF | 5172 cat > conftest.$ac_ext <<EOF |
5175 #line 5176 "configure" | 5173 #line 5174 "configure" |
5176 #include "confdefs.h" | 5174 #include "confdefs.h" |
5177 /* Override any gcc2 internal prototype to avoid an error. */ | 5175 /* Override any gcc2 internal prototype to avoid an error. */ |
5178 /* We use char because int might match the return type of a gcc2 | 5176 /* We use char because int might match the return type of a gcc2 |
5179 builtin and then its argument prototype would still apply. */ | 5177 builtin and then its argument prototype would still apply. */ |
5180 char XmuReadBitmapDataFromFile(); | 5178 char XmuReadBitmapDataFromFile(); |
5181 | 5179 |
5182 int main() { | 5180 int main() { |
5183 XmuReadBitmapDataFromFile() | 5181 XmuReadBitmapDataFromFile() |
5184 ; return 0; } | 5182 ; return 0; } |
5185 EOF | 5183 EOF |
5186 if { (eval echo configure:5187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5184 if { (eval echo configure:5185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5187 rm -rf conftest* | 5185 rm -rf conftest* |
5188 eval "ac_cv_lib_$ac_lib_var=yes" | 5186 eval "ac_cv_lib_$ac_lib_var=yes" |
5189 else | 5187 else |
5190 echo "configure: failed program was:" >&5 | 5188 echo "configure: failed program was:" >&5 |
5191 cat conftest.$ac_ext >&5 | 5189 cat conftest.$ac_ext >&5 |
5220 | 5218 |
5221 fi | 5219 fi |
5222 | 5220 |
5223 | 5221 |
5224 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5222 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5225 echo "configure:5226: checking for main in -lXbsd" >&5 | 5223 echo "configure:5224: checking for main in -lXbsd" >&5 |
5226 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5224 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5227 | 5225 |
5228 xe_check_libs=" -lXbsd " | 5226 xe_check_libs=" -lXbsd " |
5229 cat > conftest.$ac_ext <<EOF | 5227 cat > conftest.$ac_ext <<EOF |
5230 #line 5231 "configure" | 5228 #line 5229 "configure" |
5231 #include "confdefs.h" | 5229 #include "confdefs.h" |
5232 | 5230 |
5233 int main() { | 5231 int main() { |
5234 main() | 5232 main() |
5235 ; return 0; } | 5233 ; return 0; } |
5236 EOF | 5234 EOF |
5237 if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5235 if { (eval echo configure:5236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5238 rm -rf conftest* | 5236 rm -rf conftest* |
5239 eval "ac_cv_lib_$ac_lib_var=yes" | 5237 eval "ac_cv_lib_$ac_lib_var=yes" |
5240 else | 5238 else |
5241 echo "configure: failed program was:" >&5 | 5239 echo "configure: failed program was:" >&5 |
5242 cat conftest.$ac_ext >&5 | 5240 cat conftest.$ac_ext >&5 |
5286 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5284 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5287 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5285 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5288 esac | 5286 esac |
5289 | 5287 |
5290 echo "checking for session-management option" 1>&6 | 5288 echo "checking for session-management option" 1>&6 |
5291 echo "configure:5292: checking for session-management option" >&5; | 5289 echo "configure:5290: checking for session-management option" >&5; |
5292 if test "$with_session" = "yes"; then | 5290 if test "$with_session" = "yes"; then |
5293 { test "$extra_verbose" = "yes" && cat << \EOF | 5291 { test "$extra_verbose" = "yes" && cat << \EOF |
5294 Defining HAVE_SESSION | 5292 Defining HAVE_SESSION |
5295 EOF | 5293 EOF |
5296 cat >> confdefs.h <<\EOF | 5294 cat >> confdefs.h <<\EOF |
5301 fi | 5299 fi |
5302 | 5300 |
5303 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5301 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5304 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5302 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5305 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5303 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5306 echo "configure:5307: checking for X11/Xauth.h" >&5 | 5304 echo "configure:5305: checking for X11/Xauth.h" >&5 |
5307 | 5305 |
5308 cat > conftest.$ac_ext <<EOF | 5306 cat > conftest.$ac_ext <<EOF |
5309 #line 5310 "configure" | 5307 #line 5308 "configure" |
5310 #include "confdefs.h" | 5308 #include "confdefs.h" |
5311 #include <X11/Xauth.h> | 5309 #include <X11/Xauth.h> |
5312 EOF | 5310 EOF |
5313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5314 { (eval echo configure:5315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5312 { (eval echo configure:5313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5315 ac_err=`grep -v '^ *+' conftest.out` | 5313 ac_err=`grep -v '^ *+' conftest.out` |
5316 if test -z "$ac_err"; then | 5314 if test -z "$ac_err"; then |
5317 rm -rf conftest* | 5315 rm -rf conftest* |
5318 eval "ac_cv_header_$ac_safe=yes" | 5316 eval "ac_cv_header_$ac_safe=yes" |
5319 else | 5317 else |
5332 with_xauth=no | 5330 with_xauth=no |
5333 fi | 5331 fi |
5334 } | 5332 } |
5335 test -z "$with_xauth" && { | 5333 test -z "$with_xauth" && { |
5336 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5334 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5337 echo "configure:5338: checking for XauGetAuthByAddr in -lXau" >&5 | 5335 echo "configure:5336: checking for XauGetAuthByAddr in -lXau" >&5 |
5338 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5336 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5339 | 5337 |
5340 xe_check_libs=" -lXau " | 5338 xe_check_libs=" -lXau " |
5341 cat > conftest.$ac_ext <<EOF | 5339 cat > conftest.$ac_ext <<EOF |
5342 #line 5343 "configure" | 5340 #line 5341 "configure" |
5343 #include "confdefs.h" | 5341 #include "confdefs.h" |
5344 /* Override any gcc2 internal prototype to avoid an error. */ | 5342 /* Override any gcc2 internal prototype to avoid an error. */ |
5345 /* We use char because int might match the return type of a gcc2 | 5343 /* We use char because int might match the return type of a gcc2 |
5346 builtin and then its argument prototype would still apply. */ | 5344 builtin and then its argument prototype would still apply. */ |
5347 char XauGetAuthByAddr(); | 5345 char XauGetAuthByAddr(); |
5348 | 5346 |
5349 int main() { | 5347 int main() { |
5350 XauGetAuthByAddr() | 5348 XauGetAuthByAddr() |
5351 ; return 0; } | 5349 ; return 0; } |
5352 EOF | 5350 EOF |
5353 if { (eval echo configure:5354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5351 if { (eval echo configure:5352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5354 rm -rf conftest* | 5352 rm -rf conftest* |
5355 eval "ac_cv_lib_$ac_lib_var=yes" | 5353 eval "ac_cv_lib_$ac_lib_var=yes" |
5356 else | 5354 else |
5357 echo "configure: failed program was:" >&5 | 5355 echo "configure: failed program was:" >&5 |
5358 cat conftest.$ac_ext >&5 | 5356 cat conftest.$ac_ext >&5 |
5408 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5406 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5409 if test "$with_tooltalk" != "no" ; then | 5407 if test "$with_tooltalk" != "no" ; then |
5410 for dir in "" "Tt/" "desktop/" ; do | 5408 for dir in "" "Tt/" "desktop/" ; do |
5411 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5409 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5412 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5410 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5413 echo "configure:5414: checking for ${dir}tt_c.h" >&5 | 5411 echo "configure:5412: checking for ${dir}tt_c.h" >&5 |
5414 | 5412 |
5415 cat > conftest.$ac_ext <<EOF | 5413 cat > conftest.$ac_ext <<EOF |
5416 #line 5417 "configure" | 5414 #line 5415 "configure" |
5417 #include "confdefs.h" | 5415 #include "confdefs.h" |
5418 #include <${dir}tt_c.h> | 5416 #include <${dir}tt_c.h> |
5419 EOF | 5417 EOF |
5420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5421 { (eval echo configure:5422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5419 { (eval echo configure:5420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5422 ac_err=`grep -v '^ *+' conftest.out` | 5420 ac_err=`grep -v '^ *+' conftest.out` |
5423 if test -z "$ac_err"; then | 5421 if test -z "$ac_err"; then |
5424 rm -rf conftest* | 5422 rm -rf conftest* |
5425 eval "ac_cv_header_$ac_safe=yes" | 5423 eval "ac_cv_header_$ac_safe=yes" |
5426 else | 5424 else |
5445 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5443 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5446 | 5444 |
5447 xe_msg_checking="for tt_message_create in -ltt" | 5445 xe_msg_checking="for tt_message_create in -ltt" |
5448 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5446 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5449 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5447 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5450 echo "configure:5451: checking "$xe_msg_checking"" >&5 | 5448 echo "configure:5449: checking "$xe_msg_checking"" >&5 |
5451 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5449 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5452 | 5450 |
5453 xe_check_libs=" -ltt $extra_libs" | 5451 xe_check_libs=" -ltt $extra_libs" |
5454 cat > conftest.$ac_ext <<EOF | 5452 cat > conftest.$ac_ext <<EOF |
5455 #line 5456 "configure" | 5453 #line 5454 "configure" |
5456 #include "confdefs.h" | 5454 #include "confdefs.h" |
5457 /* Override any gcc2 internal prototype to avoid an error. */ | 5455 /* Override any gcc2 internal prototype to avoid an error. */ |
5458 /* We use char because int might match the return type of a gcc2 | 5456 /* We use char because int might match the return type of a gcc2 |
5459 builtin and then its argument prototype would still apply. */ | 5457 builtin and then its argument prototype would still apply. */ |
5460 char tt_message_create(); | 5458 char tt_message_create(); |
5461 | 5459 |
5462 int main() { | 5460 int main() { |
5463 tt_message_create() | 5461 tt_message_create() |
5464 ; return 0; } | 5462 ; return 0; } |
5465 EOF | 5463 EOF |
5466 if { (eval echo configure:5467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5467 rm -rf conftest* | 5465 rm -rf conftest* |
5468 eval "ac_cv_lib_$ac_lib_var=yes" | 5466 eval "ac_cv_lib_$ac_lib_var=yes" |
5469 else | 5467 else |
5470 echo "configure: failed program was:" >&5 | 5468 echo "configure: failed program was:" >&5 |
5471 cat conftest.$ac_ext >&5 | 5469 cat conftest.$ac_ext >&5 |
5510 fi | 5508 fi |
5511 fi | 5509 fi |
5512 | 5510 |
5513 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5511 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5514 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5512 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5515 echo "configure:5516: checking for Dt/Dt.h" >&5 | 5513 echo "configure:5514: checking for Dt/Dt.h" >&5 |
5516 | 5514 |
5517 cat > conftest.$ac_ext <<EOF | 5515 cat > conftest.$ac_ext <<EOF |
5518 #line 5519 "configure" | 5516 #line 5517 "configure" |
5519 #include "confdefs.h" | 5517 #include "confdefs.h" |
5520 #include <Dt/Dt.h> | 5518 #include <Dt/Dt.h> |
5521 EOF | 5519 EOF |
5522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5523 { (eval echo configure:5524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5521 { (eval echo configure:5522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5524 ac_err=`grep -v '^ *+' conftest.out` | 5522 ac_err=`grep -v '^ *+' conftest.out` |
5525 if test -z "$ac_err"; then | 5523 if test -z "$ac_err"; then |
5526 rm -rf conftest* | 5524 rm -rf conftest* |
5527 eval "ac_cv_header_$ac_safe=yes" | 5525 eval "ac_cv_header_$ac_safe=yes" |
5528 else | 5526 else |
5541 with_cde=no | 5539 with_cde=no |
5542 fi | 5540 fi |
5543 } | 5541 } |
5544 test -z "$with_cde" && { | 5542 test -z "$with_cde" && { |
5545 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5543 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5546 echo "configure:5547: checking for DtDndDragStart in -lDtSvc" >&5 | 5544 echo "configure:5545: checking for DtDndDragStart in -lDtSvc" >&5 |
5547 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5545 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5548 | 5546 |
5549 xe_check_libs=" -lDtSvc " | 5547 xe_check_libs=" -lDtSvc " |
5550 cat > conftest.$ac_ext <<EOF | 5548 cat > conftest.$ac_ext <<EOF |
5551 #line 5552 "configure" | 5549 #line 5550 "configure" |
5552 #include "confdefs.h" | 5550 #include "confdefs.h" |
5553 /* Override any gcc2 internal prototype to avoid an error. */ | 5551 /* Override any gcc2 internal prototype to avoid an error. */ |
5554 /* We use char because int might match the return type of a gcc2 | 5552 /* We use char because int might match the return type of a gcc2 |
5555 builtin and then its argument prototype would still apply. */ | 5553 builtin and then its argument prototype would still apply. */ |
5556 char DtDndDragStart(); | 5554 char DtDndDragStart(); |
5557 | 5555 |
5558 int main() { | 5556 int main() { |
5559 DtDndDragStart() | 5557 DtDndDragStart() |
5560 ; return 0; } | 5558 ; return 0; } |
5561 EOF | 5559 EOF |
5562 if { (eval echo configure:5563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5560 if { (eval echo configure:5561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5563 rm -rf conftest* | 5561 rm -rf conftest* |
5564 eval "ac_cv_lib_$ac_lib_var=yes" | 5562 eval "ac_cv_lib_$ac_lib_var=yes" |
5565 else | 5563 else |
5566 echo "configure: failed program was:" >&5 | 5564 echo "configure: failed program was:" >&5 |
5567 cat conftest.$ac_ext >&5 | 5565 cat conftest.$ac_ext >&5 |
5597 | 5595 |
5598 | 5596 |
5599 if test "$with_x11" = "yes"; then | 5597 if test "$with_x11" = "yes"; then |
5600 | 5598 |
5601 echo "checking for X11 graphics libraries" 1>&6 | 5599 echo "checking for X11 graphics libraries" 1>&6 |
5602 echo "configure:5603: checking for X11 graphics libraries" >&5 | 5600 echo "configure:5601: checking for X11 graphics libraries" >&5 |
5603 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5601 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
5604 echo "configure:5605: checking for Xpm - no older than 3.4f" >&5 | 5602 echo "configure:5603: checking for Xpm - no older than 3.4f" >&5 |
5605 xe_check_libs=-lXpm | 5603 xe_check_libs=-lXpm |
5606 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5604 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
5607 #line 5608 "configure" | 5605 #line 5606 "configure" |
5608 #include "confdefs.h" | 5606 #include "confdefs.h" |
5609 #include <X11/xpm.h> | 5607 #include <X11/xpm.h> |
5610 int main(int c, char **v) { | 5608 int main(int c, char **v) { |
5611 return c == 1 ? 0 : | 5609 return c == 1 ? 0 : |
5612 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5610 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
5613 XpmIncludeVersion < 30406 ? 2 : | 5611 XpmIncludeVersion < 30406 ? 2 : |
5614 0 ; | 5612 0 ; |
5615 } | 5613 } |
5616 EOF | 5614 EOF |
5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5615 if { (eval echo configure:5616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5618 then | 5616 then |
5619 ./conftest foobar; xpm_status=$?; | 5617 ./conftest foobar; xpm_status=$?; |
5620 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5618 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
5621 else | 5619 else |
5622 echo "configure: failed program was:" >&5 | 5620 echo "configure: failed program was:" >&5 |
5650 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5648 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
5651 fi | 5649 fi |
5652 | 5650 |
5653 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5651 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
5654 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5652 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
5655 echo "configure:5656: checking for compface.h" >&5 | 5653 echo "configure:5654: checking for compface.h" >&5 |
5656 | 5654 |
5657 cat > conftest.$ac_ext <<EOF | 5655 cat > conftest.$ac_ext <<EOF |
5658 #line 5659 "configure" | 5656 #line 5657 "configure" |
5659 #include "confdefs.h" | 5657 #include "confdefs.h" |
5660 #include <compface.h> | 5658 #include <compface.h> |
5661 EOF | 5659 EOF |
5662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5663 { (eval echo configure:5664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5661 { (eval echo configure:5662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5664 ac_err=`grep -v '^ *+' conftest.out` | 5662 ac_err=`grep -v '^ *+' conftest.out` |
5665 if test -z "$ac_err"; then | 5663 if test -z "$ac_err"; then |
5666 rm -rf conftest* | 5664 rm -rf conftest* |
5667 eval "ac_cv_header_$ac_safe=yes" | 5665 eval "ac_cv_header_$ac_safe=yes" |
5668 else | 5666 else |
5681 with_xface=no | 5679 with_xface=no |
5682 fi | 5680 fi |
5683 } | 5681 } |
5684 test -z "$with_xface" && { | 5682 test -z "$with_xface" && { |
5685 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5683 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
5686 echo "configure:5687: checking for UnGenFace in -lcompface" >&5 | 5684 echo "configure:5685: checking for UnGenFace in -lcompface" >&5 |
5687 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5685 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
5688 | 5686 |
5689 xe_check_libs=" -lcompface " | 5687 xe_check_libs=" -lcompface " |
5690 cat > conftest.$ac_ext <<EOF | 5688 cat > conftest.$ac_ext <<EOF |
5691 #line 5692 "configure" | 5689 #line 5690 "configure" |
5692 #include "confdefs.h" | 5690 #include "confdefs.h" |
5693 /* Override any gcc2 internal prototype to avoid an error. */ | 5691 /* Override any gcc2 internal prototype to avoid an error. */ |
5694 /* We use char because int might match the return type of a gcc2 | 5692 /* We use char because int might match the return type of a gcc2 |
5695 builtin and then its argument prototype would still apply. */ | 5693 builtin and then its argument prototype would still apply. */ |
5696 char UnGenFace(); | 5694 char UnGenFace(); |
5697 | 5695 |
5698 int main() { | 5696 int main() { |
5699 UnGenFace() | 5697 UnGenFace() |
5700 ; return 0; } | 5698 ; return 0; } |
5701 EOF | 5699 EOF |
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5700 if { (eval echo configure:5701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5703 rm -rf conftest* | 5701 rm -rf conftest* |
5704 eval "ac_cv_lib_$ac_lib_var=yes" | 5702 eval "ac_cv_lib_$ac_lib_var=yes" |
5705 else | 5703 else |
5706 echo "configure: failed program was:" >&5 | 5704 echo "configure: failed program was:" >&5 |
5707 cat conftest.$ac_ext >&5 | 5705 cat conftest.$ac_ext >&5 |
5733 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 5731 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
5734 fi | 5732 fi |
5735 | 5733 |
5736 test -z "$with_imagick" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` | 5734 test -z "$with_imagick" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` |
5737 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 | 5735 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 |
5738 echo "configure:5739: checking for magick/magick.h" >&5 | 5736 echo "configure:5737: checking for magick/magick.h" >&5 |
5739 | 5737 |
5740 cat > conftest.$ac_ext <<EOF | 5738 cat > conftest.$ac_ext <<EOF |
5741 #line 5742 "configure" | 5739 #line 5740 "configure" |
5742 #include "confdefs.h" | 5740 #include "confdefs.h" |
5743 #include <magick/magick.h> | 5741 #include <magick/magick.h> |
5744 EOF | 5742 EOF |
5745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5746 { (eval echo configure:5747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5744 { (eval echo configure:5745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5747 ac_err=`grep -v '^ *+' conftest.out` | 5745 ac_err=`grep -v '^ *+' conftest.out` |
5748 if test -z "$ac_err"; then | 5746 if test -z "$ac_err"; then |
5749 rm -rf conftest* | 5747 rm -rf conftest* |
5750 eval "ac_cv_header_$ac_safe=yes" | 5748 eval "ac_cv_header_$ac_safe=yes" |
5751 else | 5749 else |
5759 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5757 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5760 echo "$ac_t""yes" 1>&6 | 5758 echo "$ac_t""yes" 1>&6 |
5761 : | 5759 : |
5762 else | 5760 else |
5763 echo "$ac_t""no" 1>&6 | 5761 echo "$ac_t""no" 1>&6 |
5762 ac_safe=`echo "X11/magick/magick.h" | sed 'y%./+-%__p_%'` | |
5763 echo $ac_n "checking for X11/magick/magick.h""... $ac_c" 1>&6 | |
5764 echo "configure:5765: checking for X11/magick/magick.h" >&5 | |
5765 | |
5766 cat > conftest.$ac_ext <<EOF | |
5767 #line 5768 "configure" | |
5768 #include "confdefs.h" | |
5769 #include <X11/magick/magick.h> | |
5770 EOF | |
5771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
5772 { (eval echo configure:5773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
5773 ac_err=`grep -v '^ *+' conftest.out` | |
5774 if test -z "$ac_err"; then | |
5775 rm -rf conftest* | |
5776 eval "ac_cv_header_$ac_safe=yes" | |
5777 else | |
5778 echo "$ac_err" >&5 | |
5779 echo "configure: failed program was:" >&5 | |
5780 cat conftest.$ac_ext >&5 | |
5781 rm -rf conftest* | |
5782 eval "ac_cv_header_$ac_safe=no" | |
5783 fi | |
5784 rm -f conftest* | |
5785 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
5786 echo "$ac_t""yes" 1>&6 | |
5787 { test "$extra_verbose" = "yes" && cat << \EOF | |
5788 Defining MAGICK_HEADERS_ARE_UNDER_X11 | |
5789 EOF | |
5790 cat >> confdefs.h <<\EOF | |
5791 #define MAGICK_HEADERS_ARE_UNDER_X11 1 | |
5792 EOF | |
5793 } | |
5794 | |
5795 else | |
5796 echo "$ac_t""no" 1>&6 | |
5764 with_imagick=no | 5797 with_imagick=no |
5798 fi | |
5799 | |
5765 fi | 5800 fi |
5766 } | 5801 } |
5767 test -z "$with_imagick" && { | 5802 test -z "$with_imagick" && { |
5768 imagick_libs="" | 5803 imagick_libs="" |
5769 | 5804 |
5770 echo $ac_n "checking for XDPSPixelsPerPoint in -ldps""... $ac_c" 1>&6 | 5805 echo $ac_n "checking for XDPSPixelsPerPoint in -ldps""... $ac_c" 1>&6 |
5771 echo "configure:5772: checking for XDPSPixelsPerPoint in -ldps" >&5 | 5806 echo "configure:5807: checking for XDPSPixelsPerPoint in -ldps" >&5 |
5772 ac_lib_var=`echo dps'_'XDPSPixelsPerPoint | sed 'y%./+-%__p_%'` | 5807 ac_lib_var=`echo dps'_'XDPSPixelsPerPoint | sed 'y%./+-%__p_%'` |
5773 | 5808 |
5774 xe_check_libs="-ldpstk -ldps " | 5809 xe_check_libs="-ldpstk -ldps " |
5775 cat > conftest.$ac_ext <<EOF | 5810 cat > conftest.$ac_ext <<EOF |
5776 #line 5777 "configure" | 5811 #line 5812 "configure" |
5777 #include "confdefs.h" | 5812 #include "confdefs.h" |
5778 /* Override any gcc2 internal prototype to avoid an error. */ | 5813 /* Override any gcc2 internal prototype to avoid an error. */ |
5779 /* We use char because int might match the return type of a gcc2 | 5814 /* We use char because int might match the return type of a gcc2 |
5780 builtin and then its argument prototype would still apply. */ | 5815 builtin and then its argument prototype would still apply. */ |
5781 char XDPSPixelsPerPoint(); | 5816 char XDPSPixelsPerPoint(); |
5782 | 5817 |
5783 int main() { | 5818 int main() { |
5784 XDPSPixelsPerPoint() | 5819 XDPSPixelsPerPoint() |
5785 ; return 0; } | 5820 ; return 0; } |
5786 EOF | 5821 EOF |
5787 if { (eval echo configure:5788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5822 if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5788 rm -rf conftest* | 5823 rm -rf conftest* |
5789 eval "ac_cv_lib_$ac_lib_var=yes" | 5824 eval "ac_cv_lib_$ac_lib_var=yes" |
5790 else | 5825 else |
5791 echo "configure: failed program was:" >&5 | 5826 echo "configure: failed program was:" >&5 |
5792 cat conftest.$ac_ext >&5 | 5827 cat conftest.$ac_ext >&5 |
5804 fi | 5839 fi |
5805 | 5840 |
5806 | 5841 |
5807 | 5842 |
5808 echo $ac_n "checking for FPX_SetToolkitMemoryLimit in -lfpx""... $ac_c" 1>&6 | 5843 echo $ac_n "checking for FPX_SetToolkitMemoryLimit in -lfpx""... $ac_c" 1>&6 |
5809 echo "configure:5810: checking for FPX_SetToolkitMemoryLimit in -lfpx" >&5 | 5844 echo "configure:5845: checking for FPX_SetToolkitMemoryLimit in -lfpx" >&5 |
5810 ac_lib_var=`echo fpx'_'FPX_SetToolkitMemoryLimit | sed 'y%./+-%__p_%'` | 5845 ac_lib_var=`echo fpx'_'FPX_SetToolkitMemoryLimit | sed 'y%./+-%__p_%'` |
5811 | 5846 |
5812 xe_check_libs=" -lfpx " | 5847 xe_check_libs=" -lfpx " |
5813 cat > conftest.$ac_ext <<EOF | 5848 cat > conftest.$ac_ext <<EOF |
5814 #line 5815 "configure" | 5849 #line 5850 "configure" |
5815 #include "confdefs.h" | 5850 #include "confdefs.h" |
5816 /* Override any gcc2 internal prototype to avoid an error. */ | 5851 /* Override any gcc2 internal prototype to avoid an error. */ |
5817 /* We use char because int might match the return type of a gcc2 | 5852 /* We use char because int might match the return type of a gcc2 |
5818 builtin and then its argument prototype would still apply. */ | 5853 builtin and then its argument prototype would still apply. */ |
5819 char FPX_SetToolkitMemoryLimit(); | 5854 char FPX_SetToolkitMemoryLimit(); |
5820 | 5855 |
5821 int main() { | 5856 int main() { |
5822 FPX_SetToolkitMemoryLimit() | 5857 FPX_SetToolkitMemoryLimit() |
5823 ; return 0; } | 5858 ; return 0; } |
5824 EOF | 5859 EOF |
5825 if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5860 if { (eval echo configure:5861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5826 rm -rf conftest* | 5861 rm -rf conftest* |
5827 eval "ac_cv_lib_$ac_lib_var=yes" | 5862 eval "ac_cv_lib_$ac_lib_var=yes" |
5828 else | 5863 else |
5829 echo "configure: failed program was:" >&5 | 5864 echo "configure: failed program was:" >&5 |
5830 cat conftest.$ac_ext >&5 | 5865 cat conftest.$ac_ext >&5 |
5842 fi | 5877 fi |
5843 | 5878 |
5844 | 5879 |
5845 | 5880 |
5846 echo $ac_n "checking for DF24getdims in -ldf""... $ac_c" 1>&6 | 5881 echo $ac_n "checking for DF24getdims in -ldf""... $ac_c" 1>&6 |
5847 echo "configure:5848: checking for DF24getdims in -ldf" >&5 | 5882 echo "configure:5883: checking for DF24getdims in -ldf" >&5 |
5848 ac_lib_var=`echo df'_'DF24getdims | sed 'y%./+-%__p_%'` | 5883 ac_lib_var=`echo df'_'DF24getdims | sed 'y%./+-%__p_%'` |
5849 | 5884 |
5850 xe_check_libs=" -ldf " | 5885 xe_check_libs=" -ldf " |
5851 cat > conftest.$ac_ext <<EOF | 5886 cat > conftest.$ac_ext <<EOF |
5852 #line 5853 "configure" | 5887 #line 5888 "configure" |
5853 #include "confdefs.h" | 5888 #include "confdefs.h" |
5854 /* Override any gcc2 internal prototype to avoid an error. */ | 5889 /* Override any gcc2 internal prototype to avoid an error. */ |
5855 /* We use char because int might match the return type of a gcc2 | 5890 /* We use char because int might match the return type of a gcc2 |
5856 builtin and then its argument prototype would still apply. */ | 5891 builtin and then its argument prototype would still apply. */ |
5857 char DF24getdims(); | 5892 char DF24getdims(); |
5858 | 5893 |
5859 int main() { | 5894 int main() { |
5860 DF24getdims() | 5895 DF24getdims() |
5861 ; return 0; } | 5896 ; return 0; } |
5862 EOF | 5897 EOF |
5863 if { (eval echo configure:5864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5898 if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5864 rm -rf conftest* | 5899 rm -rf conftest* |
5865 eval "ac_cv_lib_$ac_lib_var=yes" | 5900 eval "ac_cv_lib_$ac_lib_var=yes" |
5866 else | 5901 else |
5867 echo "configure: failed program was:" >&5 | 5902 echo "configure: failed program was:" >&5 |
5868 cat conftest.$ac_ext >&5 | 5903 cat conftest.$ac_ext >&5 |
5880 fi | 5915 fi |
5881 | 5916 |
5882 | 5917 |
5883 | 5918 |
5884 echo $ac_n "checking for jbg_dec_init in -ljbig""... $ac_c" 1>&6 | 5919 echo $ac_n "checking for jbg_dec_init in -ljbig""... $ac_c" 1>&6 |
5885 echo "configure:5886: checking for jbg_dec_init in -ljbig" >&5 | 5920 echo "configure:5921: checking for jbg_dec_init in -ljbig" >&5 |
5886 ac_lib_var=`echo jbig'_'jbg_dec_init | sed 'y%./+-%__p_%'` | 5921 ac_lib_var=`echo jbig'_'jbg_dec_init | sed 'y%./+-%__p_%'` |
5887 | 5922 |
5888 xe_check_libs=" -ljbig " | 5923 xe_check_libs=" -ljbig " |
5889 cat > conftest.$ac_ext <<EOF | 5924 cat > conftest.$ac_ext <<EOF |
5890 #line 5891 "configure" | 5925 #line 5926 "configure" |
5891 #include "confdefs.h" | 5926 #include "confdefs.h" |
5892 /* Override any gcc2 internal prototype to avoid an error. */ | 5927 /* Override any gcc2 internal prototype to avoid an error. */ |
5893 /* We use char because int might match the return type of a gcc2 | 5928 /* We use char because int might match the return type of a gcc2 |
5894 builtin and then its argument prototype would still apply. */ | 5929 builtin and then its argument prototype would still apply. */ |
5895 char jbg_dec_init(); | 5930 char jbg_dec_init(); |
5896 | 5931 |
5897 int main() { | 5932 int main() { |
5898 jbg_dec_init() | 5933 jbg_dec_init() |
5899 ; return 0; } | 5934 ; return 0; } |
5900 EOF | 5935 EOF |
5901 if { (eval echo configure:5902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5936 if { (eval echo configure:5937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5902 rm -rf conftest* | 5937 rm -rf conftest* |
5903 eval "ac_cv_lib_$ac_lib_var=yes" | 5938 eval "ac_cv_lib_$ac_lib_var=yes" |
5904 else | 5939 else |
5905 echo "configure: failed program was:" >&5 | 5940 echo "configure: failed program was:" >&5 |
5906 cat conftest.$ac_ext >&5 | 5941 cat conftest.$ac_ext >&5 |
5918 fi | 5953 fi |
5919 | 5954 |
5920 | 5955 |
5921 | 5956 |
5922 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 | 5957 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 |
5923 echo "configure:5924: checking for jpeg_read_header in -ljpeg" >&5 | 5958 echo "configure:5959: checking for jpeg_read_header in -ljpeg" >&5 |
5924 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` | 5959 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` |
5925 | 5960 |
5926 xe_check_libs=" -ljpeg " | 5961 xe_check_libs=" -ljpeg " |
5927 cat > conftest.$ac_ext <<EOF | 5962 cat > conftest.$ac_ext <<EOF |
5928 #line 5929 "configure" | 5963 #line 5964 "configure" |
5929 #include "confdefs.h" | 5964 #include "confdefs.h" |
5930 /* Override any gcc2 internal prototype to avoid an error. */ | 5965 /* Override any gcc2 internal prototype to avoid an error. */ |
5931 /* We use char because int might match the return type of a gcc2 | 5966 /* We use char because int might match the return type of a gcc2 |
5932 builtin and then its argument prototype would still apply. */ | 5967 builtin and then its argument prototype would still apply. */ |
5933 char jpeg_read_header(); | 5968 char jpeg_read_header(); |
5934 | 5969 |
5935 int main() { | 5970 int main() { |
5936 jpeg_read_header() | 5971 jpeg_read_header() |
5937 ; return 0; } | 5972 ; return 0; } |
5938 EOF | 5973 EOF |
5939 if { (eval echo configure:5940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5940 rm -rf conftest* | 5975 rm -rf conftest* |
5941 eval "ac_cv_lib_$ac_lib_var=yes" | 5976 eval "ac_cv_lib_$ac_lib_var=yes" |
5942 else | 5977 else |
5943 echo "configure: failed program was:" >&5 | 5978 echo "configure: failed program was:" >&5 |
5944 cat conftest.$ac_ext >&5 | 5979 cat conftest.$ac_ext >&5 |
5956 fi | 5991 fi |
5957 | 5992 |
5958 | 5993 |
5959 | 5994 |
5960 echo $ac_n "checking for OpenMPEG in -lmpeg""... $ac_c" 1>&6 | 5995 echo $ac_n "checking for OpenMPEG in -lmpeg""... $ac_c" 1>&6 |
5961 echo "configure:5962: checking for OpenMPEG in -lmpeg" >&5 | 5996 echo "configure:5997: checking for OpenMPEG in -lmpeg" >&5 |
5962 ac_lib_var=`echo mpeg'_'OpenMPEG | sed 'y%./+-%__p_%'` | 5997 ac_lib_var=`echo mpeg'_'OpenMPEG | sed 'y%./+-%__p_%'` |
5963 | 5998 |
5964 xe_check_libs=" -lmpeg " | 5999 xe_check_libs=" -lmpeg " |
5965 cat > conftest.$ac_ext <<EOF | 6000 cat > conftest.$ac_ext <<EOF |
5966 #line 5967 "configure" | 6001 #line 6002 "configure" |
5967 #include "confdefs.h" | 6002 #include "confdefs.h" |
5968 /* Override any gcc2 internal prototype to avoid an error. */ | 6003 /* Override any gcc2 internal prototype to avoid an error. */ |
5969 /* We use char because int might match the return type of a gcc2 | 6004 /* We use char because int might match the return type of a gcc2 |
5970 builtin and then its argument prototype would still apply. */ | 6005 builtin and then its argument prototype would still apply. */ |
5971 char OpenMPEG(); | 6006 char OpenMPEG(); |
5972 | 6007 |
5973 int main() { | 6008 int main() { |
5974 OpenMPEG() | 6009 OpenMPEG() |
5975 ; return 0; } | 6010 ; return 0; } |
5976 EOF | 6011 EOF |
5977 if { (eval echo configure:5978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6012 if { (eval echo configure:6013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5978 rm -rf conftest* | 6013 rm -rf conftest* |
5979 eval "ac_cv_lib_$ac_lib_var=yes" | 6014 eval "ac_cv_lib_$ac_lib_var=yes" |
5980 else | 6015 else |
5981 echo "configure: failed program was:" >&5 | 6016 echo "configure: failed program was:" >&5 |
5982 cat conftest.$ac_ext >&5 | 6017 cat conftest.$ac_ext >&5 |
5993 echo "$ac_t""no" 1>&6 | 6028 echo "$ac_t""no" 1>&6 |
5994 fi | 6029 fi |
5995 | 6030 |
5996 | 6031 |
5997 | 6032 |
6033 echo $ac_n "checking for TT_Init_FreeType in -lttf""... $ac_c" 1>&6 | |
6034 echo "configure:6035: checking for TT_Init_FreeType in -lttf" >&5 | |
6035 ac_lib_var=`echo ttf'_'TT_Init_FreeType | sed 'y%./+-%__p_%'` | |
6036 | |
6037 xe_check_libs=" -lttf " | |
6038 cat > conftest.$ac_ext <<EOF | |
6039 #line 6040 "configure" | |
6040 #include "confdefs.h" | |
6041 /* Override any gcc2 internal prototype to avoid an error. */ | |
6042 /* We use char because int might match the return type of a gcc2 | |
6043 builtin and then its argument prototype would still apply. */ | |
6044 char TT_Init_FreeType(); | |
6045 | |
6046 int main() { | |
6047 TT_Init_FreeType() | |
6048 ; return 0; } | |
6049 EOF | |
6050 if { (eval echo configure:6051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6051 rm -rf conftest* | |
6052 eval "ac_cv_lib_$ac_lib_var=yes" | |
6053 else | |
6054 echo "configure: failed program was:" >&5 | |
6055 cat conftest.$ac_ext >&5 | |
6056 rm -rf conftest* | |
6057 eval "ac_cv_lib_$ac_lib_var=no" | |
6058 fi | |
6059 rm -f conftest* | |
6060 xe_check_libs="" | |
6061 | |
6062 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6063 echo "$ac_t""yes" 1>&6 | |
6064 imagick_libs="$imagick_libs -lttf" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lttf\" to \$imagick_libs"; fi | |
6065 else | |
6066 echo "$ac_t""no" 1>&6 | |
6067 fi | |
6068 | |
6069 | |
6070 | |
5998 echo $ac_n "checking for png_create_read_struct in -lpng""... $ac_c" 1>&6 | 6071 echo $ac_n "checking for png_create_read_struct in -lpng""... $ac_c" 1>&6 |
5999 echo "configure:6000: checking for png_create_read_struct in -lpng" >&5 | 6072 echo "configure:6073: checking for png_create_read_struct in -lpng" >&5 |
6000 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` | 6073 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` |
6001 | 6074 |
6002 xe_check_libs=" -lpng " | 6075 xe_check_libs=" -lpng " |
6003 cat > conftest.$ac_ext <<EOF | 6076 cat > conftest.$ac_ext <<EOF |
6004 #line 6005 "configure" | 6077 #line 6078 "configure" |
6005 #include "confdefs.h" | 6078 #include "confdefs.h" |
6006 /* Override any gcc2 internal prototype to avoid an error. */ | 6079 /* Override any gcc2 internal prototype to avoid an error. */ |
6007 /* We use char because int might match the return type of a gcc2 | 6080 /* We use char because int might match the return type of a gcc2 |
6008 builtin and then its argument prototype would still apply. */ | 6081 builtin and then its argument prototype would still apply. */ |
6009 char png_create_read_struct(); | 6082 char png_create_read_struct(); |
6010 | 6083 |
6011 int main() { | 6084 int main() { |
6012 png_create_read_struct() | 6085 png_create_read_struct() |
6013 ; return 0; } | 6086 ; return 0; } |
6014 EOF | 6087 EOF |
6015 if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6088 if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6016 rm -rf conftest* | 6089 rm -rf conftest* |
6017 eval "ac_cv_lib_$ac_lib_var=yes" | 6090 eval "ac_cv_lib_$ac_lib_var=yes" |
6018 else | 6091 else |
6019 echo "configure: failed program was:" >&5 | 6092 echo "configure: failed program was:" >&5 |
6020 cat conftest.$ac_ext >&5 | 6093 cat conftest.$ac_ext >&5 |
6030 else | 6103 else |
6031 echo "$ac_t""no" 1>&6 | 6104 echo "$ac_t""no" 1>&6 |
6032 xe_msg_checking="for png_create_read_struct in -lpng" | 6105 xe_msg_checking="for png_create_read_struct in -lpng" |
6033 test -n "-lz" && xe_msg_checking="$xe_msg_checking using extra libs -lz" | 6106 test -n "-lz" && xe_msg_checking="$xe_msg_checking using extra libs -lz" |
6034 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6107 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6035 echo "configure:6036: checking "$xe_msg_checking"" >&5 | 6108 echo "configure:6109: checking "$xe_msg_checking"" >&5 |
6036 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` | 6109 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` |
6037 | 6110 |
6038 xe_check_libs=" -lpng -lz" | 6111 xe_check_libs=" -lpng -lz" |
6039 cat > conftest.$ac_ext <<EOF | 6112 cat > conftest.$ac_ext <<EOF |
6040 #line 6041 "configure" | 6113 #line 6114 "configure" |
6041 #include "confdefs.h" | 6114 #include "confdefs.h" |
6042 /* Override any gcc2 internal prototype to avoid an error. */ | 6115 /* Override any gcc2 internal prototype to avoid an error. */ |
6043 /* We use char because int might match the return type of a gcc2 | 6116 /* We use char because int might match the return type of a gcc2 |
6044 builtin and then its argument prototype would still apply. */ | 6117 builtin and then its argument prototype would still apply. */ |
6045 char png_create_read_struct(); | 6118 char png_create_read_struct(); |
6046 | 6119 |
6047 int main() { | 6120 int main() { |
6048 png_create_read_struct() | 6121 png_create_read_struct() |
6049 ; return 0; } | 6122 ; return 0; } |
6050 EOF | 6123 EOF |
6051 if { (eval echo configure:6052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6052 rm -rf conftest* | 6125 rm -rf conftest* |
6053 eval "ac_cv_lib_$ac_lib_var=yes" | 6126 eval "ac_cv_lib_$ac_lib_var=yes" |
6054 else | 6127 else |
6055 echo "configure: failed program was:" >&5 | 6128 echo "configure: failed program was:" >&5 |
6056 cat conftest.$ac_ext >&5 | 6129 cat conftest.$ac_ext >&5 |
6071 fi | 6144 fi |
6072 | 6145 |
6073 | 6146 |
6074 | 6147 |
6075 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 | 6148 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 |
6076 echo "configure:6077: checking for TIFFOpen in -ltiff" >&5 | 6149 echo "configure:6150: checking for TIFFOpen in -ltiff" >&5 |
6077 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | 6150 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` |
6078 | 6151 |
6079 xe_check_libs=" -ltiff " | 6152 xe_check_libs=" -ltiff " |
6080 cat > conftest.$ac_ext <<EOF | 6153 cat > conftest.$ac_ext <<EOF |
6081 #line 6082 "configure" | 6154 #line 6155 "configure" |
6082 #include "confdefs.h" | 6155 #include "confdefs.h" |
6083 /* Override any gcc2 internal prototype to avoid an error. */ | 6156 /* Override any gcc2 internal prototype to avoid an error. */ |
6084 /* We use char because int might match the return type of a gcc2 | 6157 /* We use char because int might match the return type of a gcc2 |
6085 builtin and then its argument prototype would still apply. */ | 6158 builtin and then its argument prototype would still apply. */ |
6086 char TIFFOpen(); | 6159 char TIFFOpen(); |
6087 | 6160 |
6088 int main() { | 6161 int main() { |
6089 TIFFOpen() | 6162 TIFFOpen() |
6090 ; return 0; } | 6163 ; return 0; } |
6091 EOF | 6164 EOF |
6092 if { (eval echo configure:6093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6093 rm -rf conftest* | 6166 rm -rf conftest* |
6094 eval "ac_cv_lib_$ac_lib_var=yes" | 6167 eval "ac_cv_lib_$ac_lib_var=yes" |
6095 else | 6168 else |
6096 echo "configure: failed program was:" >&5 | 6169 echo "configure: failed program was:" >&5 |
6097 cat conftest.$ac_ext >&5 | 6170 cat conftest.$ac_ext >&5 |
6107 else | 6180 else |
6108 echo "$ac_t""no" 1>&6 | 6181 echo "$ac_t""no" 1>&6 |
6109 xe_msg_checking="for TIFFOpen in -ltiff" | 6182 xe_msg_checking="for TIFFOpen in -ltiff" |
6110 test -n "-ljpeg -lz" && xe_msg_checking="$xe_msg_checking using extra libs -ljpeg -lz" | 6183 test -n "-ljpeg -lz" && xe_msg_checking="$xe_msg_checking using extra libs -ljpeg -lz" |
6111 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6184 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6112 echo "configure:6113: checking "$xe_msg_checking"" >&5 | 6185 echo "configure:6186: checking "$xe_msg_checking"" >&5 |
6113 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | 6186 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` |
6114 | 6187 |
6115 xe_check_libs=" -ltiff -ljpeg -lz" | 6188 xe_check_libs=" -ltiff -ljpeg -lz" |
6116 cat > conftest.$ac_ext <<EOF | 6189 cat > conftest.$ac_ext <<EOF |
6117 #line 6118 "configure" | 6190 #line 6191 "configure" |
6118 #include "confdefs.h" | 6191 #include "confdefs.h" |
6119 /* Override any gcc2 internal prototype to avoid an error. */ | 6192 /* Override any gcc2 internal prototype to avoid an error. */ |
6120 /* We use char because int might match the return type of a gcc2 | 6193 /* We use char because int might match the return type of a gcc2 |
6121 builtin and then its argument prototype would still apply. */ | 6194 builtin and then its argument prototype would still apply. */ |
6122 char TIFFOpen(); | 6195 char TIFFOpen(); |
6123 | 6196 |
6124 int main() { | 6197 int main() { |
6125 TIFFOpen() | 6198 TIFFOpen() |
6126 ; return 0; } | 6199 ; return 0; } |
6127 EOF | 6200 EOF |
6128 if { (eval echo configure:6129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6201 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6129 rm -rf conftest* | 6202 rm -rf conftest* |
6130 eval "ac_cv_lib_$ac_lib_var=yes" | 6203 eval "ac_cv_lib_$ac_lib_var=yes" |
6131 else | 6204 else |
6132 echo "configure: failed program was:" >&5 | 6205 echo "configure: failed program was:" >&5 |
6133 cat conftest.$ac_ext >&5 | 6206 cat conftest.$ac_ext >&5 |
6150 | 6223 |
6151 libs_x="$libs_x $imagick_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$imagick_libs\" to \$libs_x"; fi | 6224 libs_x="$libs_x $imagick_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$imagick_libs\" to \$libs_x"; fi |
6152 } | 6225 } |
6153 test -z "$with_imagick" && { | 6226 test -z "$with_imagick" && { |
6154 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 | 6227 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 |
6155 echo "configure:6156: checking for MogrifyImage in -lMagick" >&5 | 6228 echo "configure:6229: checking for MogrifyImage in -lMagick" >&5 |
6156 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` | 6229 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` |
6157 | 6230 |
6158 xe_check_libs=" -lMagick " | 6231 xe_check_libs=" -lMagick " |
6159 cat > conftest.$ac_ext <<EOF | 6232 cat > conftest.$ac_ext <<EOF |
6160 #line 6161 "configure" | 6233 #line 6234 "configure" |
6161 #include "confdefs.h" | 6234 #include "confdefs.h" |
6162 /* Override any gcc2 internal prototype to avoid an error. */ | 6235 /* Override any gcc2 internal prototype to avoid an error. */ |
6163 /* We use char because int might match the return type of a gcc2 | 6236 /* We use char because int might match the return type of a gcc2 |
6164 builtin and then its argument prototype would still apply. */ | 6237 builtin and then its argument prototype would still apply. */ |
6165 char MogrifyImage(); | 6238 char MogrifyImage(); |
6166 | 6239 |
6167 int main() { | 6240 int main() { |
6168 MogrifyImage() | 6241 MogrifyImage() |
6169 ; return 0; } | 6242 ; return 0; } |
6170 EOF | 6243 EOF |
6171 if { (eval echo configure:6172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6244 if { (eval echo configure:6245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6172 rm -rf conftest* | 6245 rm -rf conftest* |
6173 eval "ac_cv_lib_$ac_lib_var=yes" | 6246 eval "ac_cv_lib_$ac_lib_var=yes" |
6174 else | 6247 else |
6175 echo "configure: failed program was:" >&5 | 6248 echo "configure: failed program was:" >&5 |
6176 cat conftest.$ac_ext >&5 | 6249 cat conftest.$ac_ext >&5 |
6202 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi | 6275 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi |
6203 fi | 6276 fi |
6204 | 6277 |
6205 | 6278 |
6206 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6279 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
6207 echo "configure:6208: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6280 echo "configure:6281: checking for XawScrollbarSetThumb in -lXaw" >&5 |
6208 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6281 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
6209 | 6282 |
6210 xe_check_libs=" -lXaw " | 6283 xe_check_libs=" -lXaw " |
6211 cat > conftest.$ac_ext <<EOF | 6284 cat > conftest.$ac_ext <<EOF |
6212 #line 6213 "configure" | 6285 #line 6286 "configure" |
6213 #include "confdefs.h" | 6286 #include "confdefs.h" |
6214 /* Override any gcc2 internal prototype to avoid an error. */ | 6287 /* Override any gcc2 internal prototype to avoid an error. */ |
6215 /* We use char because int might match the return type of a gcc2 | 6288 /* We use char because int might match the return type of a gcc2 |
6216 builtin and then its argument prototype would still apply. */ | 6289 builtin and then its argument prototype would still apply. */ |
6217 char XawScrollbarSetThumb(); | 6290 char XawScrollbarSetThumb(); |
6218 | 6291 |
6219 int main() { | 6292 int main() { |
6220 XawScrollbarSetThumb() | 6293 XawScrollbarSetThumb() |
6221 ; return 0; } | 6294 ; return 0; } |
6222 EOF | 6295 EOF |
6223 if { (eval echo configure:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6296 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6224 rm -rf conftest* | 6297 rm -rf conftest* |
6225 eval "ac_cv_lib_$ac_lib_var=yes" | 6298 eval "ac_cv_lib_$ac_lib_var=yes" |
6226 else | 6299 else |
6227 echo "configure: failed program was:" >&5 | 6300 echo "configure: failed program was:" >&5 |
6228 cat conftest.$ac_ext >&5 | 6301 cat conftest.$ac_ext >&5 |
6242 | 6315 |
6243 | 6316 |
6244 | 6317 |
6245 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6318 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6246 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6319 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6247 echo "configure:6248: checking for Xm/Xm.h" >&5 | 6320 echo "configure:6321: checking for Xm/Xm.h" >&5 |
6248 | 6321 |
6249 cat > conftest.$ac_ext <<EOF | 6322 cat > conftest.$ac_ext <<EOF |
6250 #line 6251 "configure" | 6323 #line 6324 "configure" |
6251 #include "confdefs.h" | 6324 #include "confdefs.h" |
6252 #include <Xm/Xm.h> | 6325 #include <Xm/Xm.h> |
6253 EOF | 6326 EOF |
6254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6255 { (eval echo configure:6256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6328 { (eval echo configure:6329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6256 ac_err=`grep -v '^ *+' conftest.out` | 6329 ac_err=`grep -v '^ *+' conftest.out` |
6257 if test -z "$ac_err"; then | 6330 if test -z "$ac_err"; then |
6258 rm -rf conftest* | 6331 rm -rf conftest* |
6259 eval "ac_cv_header_$ac_safe=yes" | 6332 eval "ac_cv_header_$ac_safe=yes" |
6260 else | 6333 else |
6267 rm -f conftest* | 6340 rm -f conftest* |
6268 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6269 echo "$ac_t""yes" 1>&6 | 6342 echo "$ac_t""yes" 1>&6 |
6270 | 6343 |
6271 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6344 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6272 echo "configure:6273: checking for XmStringFree in -lXm" >&5 | 6345 echo "configure:6346: checking for XmStringFree in -lXm" >&5 |
6273 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6346 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6274 | 6347 |
6275 xe_check_libs=" -lXm " | 6348 xe_check_libs=" -lXm " |
6276 cat > conftest.$ac_ext <<EOF | 6349 cat > conftest.$ac_ext <<EOF |
6277 #line 6278 "configure" | 6350 #line 6351 "configure" |
6278 #include "confdefs.h" | 6351 #include "confdefs.h" |
6279 /* Override any gcc2 internal prototype to avoid an error. */ | 6352 /* Override any gcc2 internal prototype to avoid an error. */ |
6280 /* We use char because int might match the return type of a gcc2 | 6353 /* We use char because int might match the return type of a gcc2 |
6281 builtin and then its argument prototype would still apply. */ | 6354 builtin and then its argument prototype would still apply. */ |
6282 char XmStringFree(); | 6355 char XmStringFree(); |
6283 | 6356 |
6284 int main() { | 6357 int main() { |
6285 XmStringFree() | 6358 XmStringFree() |
6286 ; return 0; } | 6359 ; return 0; } |
6287 EOF | 6360 EOF |
6288 if { (eval echo configure:6289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6361 if { (eval echo configure:6362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6289 rm -rf conftest* | 6362 rm -rf conftest* |
6290 eval "ac_cv_lib_$ac_lib_var=yes" | 6363 eval "ac_cv_lib_$ac_lib_var=yes" |
6291 else | 6364 else |
6292 echo "configure: failed program was:" >&5 | 6365 echo "configure: failed program was:" >&5 |
6293 cat conftest.$ac_ext >&5 | 6366 cat conftest.$ac_ext >&5 |
6546 exit 1 | 6619 exit 1 |
6547 fi | 6620 fi |
6548 | 6621 |
6549 if test "$with_mule" = "yes" ; then | 6622 if test "$with_mule" = "yes" ; then |
6550 echo "checking for Mule-related features" 1>&6 | 6623 echo "checking for Mule-related features" 1>&6 |
6551 echo "configure:6552: checking for Mule-related features" >&5 | 6624 echo "configure:6625: checking for Mule-related features" >&5 |
6552 { test "$extra_verbose" = "yes" && cat << \EOF | 6625 { test "$extra_verbose" = "yes" && cat << \EOF |
6553 Defining MULE | 6626 Defining MULE |
6554 EOF | 6627 EOF |
6555 cat >> confdefs.h <<\EOF | 6628 cat >> confdefs.h <<\EOF |
6556 #define MULE 1 | 6629 #define MULE 1 |
6563 | 6636 |
6564 for ac_hdr in libintl.h | 6637 for ac_hdr in libintl.h |
6565 do | 6638 do |
6566 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6639 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6567 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6640 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6568 echo "configure:6569: checking for $ac_hdr" >&5 | 6641 echo "configure:6642: checking for $ac_hdr" >&5 |
6569 | 6642 |
6570 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
6571 #line 6572 "configure" | 6644 #line 6645 "configure" |
6572 #include "confdefs.h" | 6645 #include "confdefs.h" |
6573 #include <$ac_hdr> | 6646 #include <$ac_hdr> |
6574 EOF | 6647 EOF |
6575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6576 { (eval echo configure:6577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6649 { (eval echo configure:6650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6577 ac_err=`grep -v '^ *+' conftest.out` | 6650 ac_err=`grep -v '^ *+' conftest.out` |
6578 if test -z "$ac_err"; then | 6651 if test -z "$ac_err"; then |
6579 rm -rf conftest* | 6652 rm -rf conftest* |
6580 eval "ac_cv_header_$ac_safe=yes" | 6653 eval "ac_cv_header_$ac_safe=yes" |
6581 else | 6654 else |
6602 fi | 6675 fi |
6603 done | 6676 done |
6604 | 6677 |
6605 | 6678 |
6606 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6679 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6607 echo "configure:6608: checking for strerror in -lintl" >&5 | 6680 echo "configure:6681: checking for strerror in -lintl" >&5 |
6608 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6681 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6609 | 6682 |
6610 xe_check_libs=" -lintl " | 6683 xe_check_libs=" -lintl " |
6611 cat > conftest.$ac_ext <<EOF | 6684 cat > conftest.$ac_ext <<EOF |
6612 #line 6613 "configure" | 6685 #line 6686 "configure" |
6613 #include "confdefs.h" | 6686 #include "confdefs.h" |
6614 /* Override any gcc2 internal prototype to avoid an error. */ | 6687 /* Override any gcc2 internal prototype to avoid an error. */ |
6615 /* We use char because int might match the return type of a gcc2 | 6688 /* We use char because int might match the return type of a gcc2 |
6616 builtin and then its argument prototype would still apply. */ | 6689 builtin and then its argument prototype would still apply. */ |
6617 char strerror(); | 6690 char strerror(); |
6618 | 6691 |
6619 int main() { | 6692 int main() { |
6620 strerror() | 6693 strerror() |
6621 ; return 0; } | 6694 ; return 0; } |
6622 EOF | 6695 EOF |
6623 if { (eval echo configure:6624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6696 if { (eval echo configure:6697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6624 rm -rf conftest* | 6697 rm -rf conftest* |
6625 eval "ac_cv_lib_$ac_lib_var=yes" | 6698 eval "ac_cv_lib_$ac_lib_var=yes" |
6626 else | 6699 else |
6627 echo "configure: failed program was:" >&5 | 6700 echo "configure: failed program was:" >&5 |
6628 cat conftest.$ac_ext >&5 | 6701 cat conftest.$ac_ext >&5 |
6651 fi | 6724 fi |
6652 | 6725 |
6653 | 6726 |
6654 | 6727 |
6655 echo "checking for Mule input methods" 1>&6 | 6728 echo "checking for Mule input methods" 1>&6 |
6656 echo "configure:6657: checking for Mule input methods" >&5 | 6729 echo "configure:6730: checking for Mule input methods" >&5 |
6657 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6730 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
6658 case "$with_xim" in "" | "yes" ) | 6731 case "$with_xim" in "" | "yes" ) |
6659 echo "checking for XIM" 1>&6 | 6732 echo "checking for XIM" 1>&6 |
6660 echo "configure:6661: checking for XIM" >&5 | 6733 echo "configure:6734: checking for XIM" >&5 |
6661 | 6734 |
6662 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6735 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
6663 echo "configure:6664: checking for XmImMbLookupString in -lXm" >&5 | 6736 echo "configure:6737: checking for XmImMbLookupString in -lXm" >&5 |
6664 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6737 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
6665 | 6738 |
6666 xe_check_libs=" -lXm " | 6739 xe_check_libs=" -lXm " |
6667 cat > conftest.$ac_ext <<EOF | 6740 cat > conftest.$ac_ext <<EOF |
6668 #line 6669 "configure" | 6741 #line 6742 "configure" |
6669 #include "confdefs.h" | 6742 #include "confdefs.h" |
6670 /* Override any gcc2 internal prototype to avoid an error. */ | 6743 /* Override any gcc2 internal prototype to avoid an error. */ |
6671 /* We use char because int might match the return type of a gcc2 | 6744 /* We use char because int might match the return type of a gcc2 |
6672 builtin and then its argument prototype would still apply. */ | 6745 builtin and then its argument prototype would still apply. */ |
6673 char XmImMbLookupString(); | 6746 char XmImMbLookupString(); |
6674 | 6747 |
6675 int main() { | 6748 int main() { |
6676 XmImMbLookupString() | 6749 XmImMbLookupString() |
6677 ; return 0; } | 6750 ; return 0; } |
6678 EOF | 6751 EOF |
6679 if { (eval echo configure:6680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6752 if { (eval echo configure:6753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6680 rm -rf conftest* | 6753 rm -rf conftest* |
6681 eval "ac_cv_lib_$ac_lib_var=yes" | 6754 eval "ac_cv_lib_$ac_lib_var=yes" |
6682 else | 6755 else |
6683 echo "configure: failed program was:" >&5 | 6756 echo "configure: failed program was:" >&5 |
6684 cat conftest.$ac_ext >&5 | 6757 cat conftest.$ac_ext >&5 |
6739 fi | 6812 fi |
6740 fi | 6813 fi |
6741 | 6814 |
6742 if test "$with_xfs" = "yes" ; then | 6815 if test "$with_xfs" = "yes" ; then |
6743 echo "checking for XFontSet" 1>&6 | 6816 echo "checking for XFontSet" 1>&6 |
6744 echo "configure:6745: checking for XFontSet" >&5 | 6817 echo "configure:6818: checking for XFontSet" >&5 |
6745 | 6818 |
6746 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6819 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
6747 echo "configure:6748: checking for XmbDrawString in -lX11" >&5 | 6820 echo "configure:6821: checking for XmbDrawString in -lX11" >&5 |
6748 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6821 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
6749 | 6822 |
6750 xe_check_libs=" -lX11 " | 6823 xe_check_libs=" -lX11 " |
6751 cat > conftest.$ac_ext <<EOF | 6824 cat > conftest.$ac_ext <<EOF |
6752 #line 6753 "configure" | 6825 #line 6826 "configure" |
6753 #include "confdefs.h" | 6826 #include "confdefs.h" |
6754 /* Override any gcc2 internal prototype to avoid an error. */ | 6827 /* Override any gcc2 internal prototype to avoid an error. */ |
6755 /* We use char because int might match the return type of a gcc2 | 6828 /* We use char because int might match the return type of a gcc2 |
6756 builtin and then its argument prototype would still apply. */ | 6829 builtin and then its argument prototype would still apply. */ |
6757 char XmbDrawString(); | 6830 char XmbDrawString(); |
6758 | 6831 |
6759 int main() { | 6832 int main() { |
6760 XmbDrawString() | 6833 XmbDrawString() |
6761 ; return 0; } | 6834 ; return 0; } |
6762 EOF | 6835 EOF |
6763 if { (eval echo configure:6764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6836 if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6764 rm -rf conftest* | 6837 rm -rf conftest* |
6765 eval "ac_cv_lib_$ac_lib_var=yes" | 6838 eval "ac_cv_lib_$ac_lib_var=yes" |
6766 else | 6839 else |
6767 echo "configure: failed program was:" >&5 | 6840 echo "configure: failed program was:" >&5 |
6768 cat conftest.$ac_ext >&5 | 6841 cat conftest.$ac_ext >&5 |
6798 fi | 6871 fi |
6799 fi | 6872 fi |
6800 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6873 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
6801 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6874 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
6802 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6875 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
6803 echo "configure:6804: checking for wnn/jllib.h" >&5 | 6876 echo "configure:6877: checking for wnn/jllib.h" >&5 |
6804 | 6877 |
6805 cat > conftest.$ac_ext <<EOF | 6878 cat > conftest.$ac_ext <<EOF |
6806 #line 6807 "configure" | 6879 #line 6880 "configure" |
6807 #include "confdefs.h" | 6880 #include "confdefs.h" |
6808 #include <wnn/jllib.h> | 6881 #include <wnn/jllib.h> |
6809 EOF | 6882 EOF |
6810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6883 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6811 { (eval echo configure:6812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6884 { (eval echo configure:6885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6812 ac_err=`grep -v '^ *+' conftest.out` | 6885 ac_err=`grep -v '^ *+' conftest.out` |
6813 if test -z "$ac_err"; then | 6886 if test -z "$ac_err"; then |
6814 rm -rf conftest* | 6887 rm -rf conftest* |
6815 eval "ac_cv_header_$ac_safe=yes" | 6888 eval "ac_cv_header_$ac_safe=yes" |
6816 else | 6889 else |
6831 } | 6904 } |
6832 if test "$with_wnn" != "no"; then | 6905 if test "$with_wnn" != "no"; then |
6833 for ac_func in crypt | 6906 for ac_func in crypt |
6834 do | 6907 do |
6835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6836 echo "configure:6837: checking for $ac_func" >&5 | 6909 echo "configure:6910: checking for $ac_func" >&5 |
6837 | 6910 |
6838 cat > conftest.$ac_ext <<EOF | 6911 cat > conftest.$ac_ext <<EOF |
6839 #line 6840 "configure" | 6912 #line 6913 "configure" |
6840 #include "confdefs.h" | 6913 #include "confdefs.h" |
6841 /* System header to define __stub macros and hopefully few prototypes, | 6914 /* System header to define __stub macros and hopefully few prototypes, |
6842 which can conflict with char $ac_func(); below. */ | 6915 which can conflict with char $ac_func(); below. */ |
6843 #include <assert.h> | 6916 #include <assert.h> |
6844 /* Override any gcc2 internal prototype to avoid an error. */ | 6917 /* Override any gcc2 internal prototype to avoid an error. */ |
6857 $ac_func(); | 6930 $ac_func(); |
6858 #endif | 6931 #endif |
6859 | 6932 |
6860 ; return 0; } | 6933 ; return 0; } |
6861 EOF | 6934 EOF |
6862 if { (eval echo configure:6863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6863 rm -rf conftest* | 6936 rm -rf conftest* |
6864 eval "ac_cv_func_$ac_func=yes" | 6937 eval "ac_cv_func_$ac_func=yes" |
6865 else | 6938 else |
6866 echo "configure: failed program was:" >&5 | 6939 echo "configure: failed program was:" >&5 |
6867 cat conftest.$ac_ext >&5 | 6940 cat conftest.$ac_ext >&5 |
6886 fi | 6959 fi |
6887 done | 6960 done |
6888 | 6961 |
6889 test "$ac_cv_func_crypt" != "yes" && { | 6962 test "$ac_cv_func_crypt" != "yes" && { |
6890 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6963 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
6891 echo "configure:6892: checking for crypt in -lcrypt" >&5 | 6964 echo "configure:6965: checking for crypt in -lcrypt" >&5 |
6892 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6965 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
6893 | 6966 |
6894 xe_check_libs=" -lcrypt " | 6967 xe_check_libs=" -lcrypt " |
6895 cat > conftest.$ac_ext <<EOF | 6968 cat > conftest.$ac_ext <<EOF |
6896 #line 6897 "configure" | 6969 #line 6970 "configure" |
6897 #include "confdefs.h" | 6970 #include "confdefs.h" |
6898 /* Override any gcc2 internal prototype to avoid an error. */ | 6971 /* Override any gcc2 internal prototype to avoid an error. */ |
6899 /* We use char because int might match the return type of a gcc2 | 6972 /* We use char because int might match the return type of a gcc2 |
6900 builtin and then its argument prototype would still apply. */ | 6973 builtin and then its argument prototype would still apply. */ |
6901 char crypt(); | 6974 char crypt(); |
6902 | 6975 |
6903 int main() { | 6976 int main() { |
6904 crypt() | 6977 crypt() |
6905 ; return 0; } | 6978 ; return 0; } |
6906 EOF | 6979 EOF |
6907 if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6980 if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6908 rm -rf conftest* | 6981 rm -rf conftest* |
6909 eval "ac_cv_lib_$ac_lib_var=yes" | 6982 eval "ac_cv_lib_$ac_lib_var=yes" |
6910 else | 6983 else |
6911 echo "configure: failed program was:" >&5 | 6984 echo "configure: failed program was:" >&5 |
6912 cat conftest.$ac_ext >&5 | 6985 cat conftest.$ac_ext >&5 |
6936 | 7009 |
6937 } | 7010 } |
6938 fi | 7011 fi |
6939 test -z "$with_wnn" && { | 7012 test -z "$with_wnn" && { |
6940 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7013 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
6941 echo "configure:6942: checking for jl_dic_list_e in -lwnn" >&5 | 7014 echo "configure:7015: checking for jl_dic_list_e in -lwnn" >&5 |
6942 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7015 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
6943 | 7016 |
6944 xe_check_libs=" -lwnn " | 7017 xe_check_libs=" -lwnn " |
6945 cat > conftest.$ac_ext <<EOF | 7018 cat > conftest.$ac_ext <<EOF |
6946 #line 6947 "configure" | 7019 #line 7020 "configure" |
6947 #include "confdefs.h" | 7020 #include "confdefs.h" |
6948 /* Override any gcc2 internal prototype to avoid an error. */ | 7021 /* Override any gcc2 internal prototype to avoid an error. */ |
6949 /* We use char because int might match the return type of a gcc2 | 7022 /* We use char because int might match the return type of a gcc2 |
6950 builtin and then its argument prototype would still apply. */ | 7023 builtin and then its argument prototype would still apply. */ |
6951 char jl_dic_list_e(); | 7024 char jl_dic_list_e(); |
6952 | 7025 |
6953 int main() { | 7026 int main() { |
6954 jl_dic_list_e() | 7027 jl_dic_list_e() |
6955 ; return 0; } | 7028 ; return 0; } |
6956 EOF | 7029 EOF |
6957 if { (eval echo configure:6958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7030 if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6958 rm -rf conftest* | 7031 rm -rf conftest* |
6959 eval "ac_cv_lib_$ac_lib_var=yes" | 7032 eval "ac_cv_lib_$ac_lib_var=yes" |
6960 else | 7033 else |
6961 echo "configure: failed program was:" >&5 | 7034 echo "configure: failed program was:" >&5 |
6962 cat conftest.$ac_ext >&5 | 7035 cat conftest.$ac_ext >&5 |
6989 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7062 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
6990 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7063 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
6991 fi | 7064 fi |
6992 | 7065 |
6993 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7066 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
6994 echo "configure:6995: checking for jl_fi_dic_list in -lwnn" >&5 | 7067 echo "configure:7068: checking for jl_fi_dic_list in -lwnn" >&5 |
6995 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7068 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
6996 | 7069 |
6997 xe_check_libs=" -lwnn " | 7070 xe_check_libs=" -lwnn " |
6998 cat > conftest.$ac_ext <<EOF | 7071 cat > conftest.$ac_ext <<EOF |
6999 #line 7000 "configure" | 7072 #line 7073 "configure" |
7000 #include "confdefs.h" | 7073 #include "confdefs.h" |
7001 /* Override any gcc2 internal prototype to avoid an error. */ | 7074 /* Override any gcc2 internal prototype to avoid an error. */ |
7002 /* We use char because int might match the return type of a gcc2 | 7075 /* We use char because int might match the return type of a gcc2 |
7003 builtin and then its argument prototype would still apply. */ | 7076 builtin and then its argument prototype would still apply. */ |
7004 char jl_fi_dic_list(); | 7077 char jl_fi_dic_list(); |
7005 | 7078 |
7006 int main() { | 7079 int main() { |
7007 jl_fi_dic_list() | 7080 jl_fi_dic_list() |
7008 ; return 0; } | 7081 ; return 0; } |
7009 EOF | 7082 EOF |
7010 if { (eval echo configure:7011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7011 rm -rf conftest* | 7084 rm -rf conftest* |
7012 eval "ac_cv_lib_$ac_lib_var=yes" | 7085 eval "ac_cv_lib_$ac_lib_var=yes" |
7013 else | 7086 else |
7014 echo "configure: failed program was:" >&5 | 7087 echo "configure: failed program was:" >&5 |
7015 cat conftest.$ac_ext >&5 | 7088 cat conftest.$ac_ext >&5 |
7037 | 7110 |
7038 fi | 7111 fi |
7039 | 7112 |
7040 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7113 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7041 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7114 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7042 echo "configure:7043: checking for canna/RK.h" >&5 | 7115 echo "configure:7116: checking for canna/RK.h" >&5 |
7043 | 7116 |
7044 cat > conftest.$ac_ext <<EOF | 7117 cat > conftest.$ac_ext <<EOF |
7045 #line 7046 "configure" | 7118 #line 7119 "configure" |
7046 #include "confdefs.h" | 7119 #include "confdefs.h" |
7047 #include <canna/RK.h> | 7120 #include <canna/RK.h> |
7048 EOF | 7121 EOF |
7049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7050 { (eval echo configure:7051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7123 { (eval echo configure:7124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7051 ac_err=`grep -v '^ *+' conftest.out` | 7124 ac_err=`grep -v '^ *+' conftest.out` |
7052 if test -z "$ac_err"; then | 7125 if test -z "$ac_err"; then |
7053 rm -rf conftest* | 7126 rm -rf conftest* |
7054 eval "ac_cv_header_$ac_safe=yes" | 7127 eval "ac_cv_header_$ac_safe=yes" |
7055 else | 7128 else |
7068 with_canna=no | 7141 with_canna=no |
7069 fi | 7142 fi |
7070 } | 7143 } |
7071 test -z "$with_canna" && { | 7144 test -z "$with_canna" && { |
7072 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7145 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7073 echo "configure:7074: checking for RkBgnBun in -lRKC" >&5 | 7146 echo "configure:7147: checking for RkBgnBun in -lRKC" >&5 |
7074 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7147 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7075 | 7148 |
7076 xe_check_libs=" -lRKC " | 7149 xe_check_libs=" -lRKC " |
7077 cat > conftest.$ac_ext <<EOF | 7150 cat > conftest.$ac_ext <<EOF |
7078 #line 7079 "configure" | 7151 #line 7152 "configure" |
7079 #include "confdefs.h" | 7152 #include "confdefs.h" |
7080 /* Override any gcc2 internal prototype to avoid an error. */ | 7153 /* Override any gcc2 internal prototype to avoid an error. */ |
7081 /* We use char because int might match the return type of a gcc2 | 7154 /* We use char because int might match the return type of a gcc2 |
7082 builtin and then its argument prototype would still apply. */ | 7155 builtin and then its argument prototype would still apply. */ |
7083 char RkBgnBun(); | 7156 char RkBgnBun(); |
7084 | 7157 |
7085 int main() { | 7158 int main() { |
7086 RkBgnBun() | 7159 RkBgnBun() |
7087 ; return 0; } | 7160 ; return 0; } |
7088 EOF | 7161 EOF |
7089 if { (eval echo configure:7090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7162 if { (eval echo configure:7163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7090 rm -rf conftest* | 7163 rm -rf conftest* |
7091 eval "ac_cv_lib_$ac_lib_var=yes" | 7164 eval "ac_cv_lib_$ac_lib_var=yes" |
7092 else | 7165 else |
7093 echo "configure: failed program was:" >&5 | 7166 echo "configure: failed program was:" >&5 |
7094 cat conftest.$ac_ext >&5 | 7167 cat conftest.$ac_ext >&5 |
7107 fi | 7180 fi |
7108 | 7181 |
7109 } | 7182 } |
7110 test -z "$with_canna" && { | 7183 test -z "$with_canna" && { |
7111 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7184 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7112 echo "configure:7113: checking for jrKanjiControl in -lcanna" >&5 | 7185 echo "configure:7186: checking for jrKanjiControl in -lcanna" >&5 |
7113 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7186 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7114 | 7187 |
7115 xe_check_libs=" -lcanna " | 7188 xe_check_libs=" -lcanna " |
7116 cat > conftest.$ac_ext <<EOF | 7189 cat > conftest.$ac_ext <<EOF |
7117 #line 7118 "configure" | 7190 #line 7191 "configure" |
7118 #include "confdefs.h" | 7191 #include "confdefs.h" |
7119 /* Override any gcc2 internal prototype to avoid an error. */ | 7192 /* Override any gcc2 internal prototype to avoid an error. */ |
7120 /* We use char because int might match the return type of a gcc2 | 7193 /* We use char because int might match the return type of a gcc2 |
7121 builtin and then its argument prototype would still apply. */ | 7194 builtin and then its argument prototype would still apply. */ |
7122 char jrKanjiControl(); | 7195 char jrKanjiControl(); |
7123 | 7196 |
7124 int main() { | 7197 int main() { |
7125 jrKanjiControl() | 7198 jrKanjiControl() |
7126 ; return 0; } | 7199 ; return 0; } |
7127 EOF | 7200 EOF |
7128 if { (eval echo configure:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7201 if { (eval echo configure:7202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7129 rm -rf conftest* | 7202 rm -rf conftest* |
7130 eval "ac_cv_lib_$ac_lib_var=yes" | 7203 eval "ac_cv_lib_$ac_lib_var=yes" |
7131 else | 7204 else |
7132 echo "configure: failed program was:" >&5 | 7205 echo "configure: failed program was:" >&5 |
7133 cat conftest.$ac_ext >&5 | 7206 cat conftest.$ac_ext >&5 |
7172 | 7245 |
7173 if test "$need_motif" = "yes" ; then | 7246 if test "$need_motif" = "yes" ; then |
7174 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7247 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
7175 | 7248 |
7176 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7249 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
7177 echo "configure:7178: checking for layout_object_getvalue in -li18n" >&5 | 7250 echo "configure:7251: checking for layout_object_getvalue in -li18n" >&5 |
7178 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7251 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
7179 | 7252 |
7180 xe_check_libs=" -li18n " | 7253 xe_check_libs=" -li18n " |
7181 cat > conftest.$ac_ext <<EOF | 7254 cat > conftest.$ac_ext <<EOF |
7182 #line 7183 "configure" | 7255 #line 7256 "configure" |
7183 #include "confdefs.h" | 7256 #include "confdefs.h" |
7184 /* Override any gcc2 internal prototype to avoid an error. */ | 7257 /* Override any gcc2 internal prototype to avoid an error. */ |
7185 /* We use char because int might match the return type of a gcc2 | 7258 /* We use char because int might match the return type of a gcc2 |
7186 builtin and then its argument prototype would still apply. */ | 7259 builtin and then its argument prototype would still apply. */ |
7187 char layout_object_getvalue(); | 7260 char layout_object_getvalue(); |
7188 | 7261 |
7189 int main() { | 7262 int main() { |
7190 layout_object_getvalue() | 7263 layout_object_getvalue() |
7191 ; return 0; } | 7264 ; return 0; } |
7192 EOF | 7265 EOF |
7193 if { (eval echo configure:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7266 if { (eval echo configure:7267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7194 rm -rf conftest* | 7267 rm -rf conftest* |
7195 eval "ac_cv_lib_$ac_lib_var=yes" | 7268 eval "ac_cv_lib_$ac_lib_var=yes" |
7196 else | 7269 else |
7197 echo "configure: failed program was:" >&5 | 7270 echo "configure: failed program was:" >&5 |
7198 cat conftest.$ac_ext >&5 | 7271 cat conftest.$ac_ext >&5 |
7261 fi | 7334 fi |
7262 | 7335 |
7263 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid | 7336 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid |
7264 do | 7337 do |
7265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7266 echo "configure:7267: checking for $ac_func" >&5 | 7339 echo "configure:7340: checking for $ac_func" >&5 |
7267 | 7340 |
7268 cat > conftest.$ac_ext <<EOF | 7341 cat > conftest.$ac_ext <<EOF |
7269 #line 7270 "configure" | 7342 #line 7343 "configure" |
7270 #include "confdefs.h" | 7343 #include "confdefs.h" |
7271 /* System header to define __stub macros and hopefully few prototypes, | 7344 /* System header to define __stub macros and hopefully few prototypes, |
7272 which can conflict with char $ac_func(); below. */ | 7345 which can conflict with char $ac_func(); below. */ |
7273 #include <assert.h> | 7346 #include <assert.h> |
7274 /* Override any gcc2 internal prototype to avoid an error. */ | 7347 /* Override any gcc2 internal prototype to avoid an error. */ |
7287 $ac_func(); | 7360 $ac_func(); |
7288 #endif | 7361 #endif |
7289 | 7362 |
7290 ; return 0; } | 7363 ; return 0; } |
7291 EOF | 7364 EOF |
7292 if { (eval echo configure:7293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7365 if { (eval echo configure:7366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7293 rm -rf conftest* | 7366 rm -rf conftest* |
7294 eval "ac_cv_func_$ac_func=yes" | 7367 eval "ac_cv_func_$ac_func=yes" |
7295 else | 7368 else |
7296 echo "configure: failed program was:" >&5 | 7369 echo "configure: failed program was:" >&5 |
7297 cat conftest.$ac_ext >&5 | 7370 cat conftest.$ac_ext >&5 |
7324 fi ;; | 7397 fi ;; |
7325 * ) | 7398 * ) |
7326 for ac_func in realpath | 7399 for ac_func in realpath |
7327 do | 7400 do |
7328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7329 echo "configure:7330: checking for $ac_func" >&5 | 7402 echo "configure:7403: checking for $ac_func" >&5 |
7330 | 7403 |
7331 cat > conftest.$ac_ext <<EOF | 7404 cat > conftest.$ac_ext <<EOF |
7332 #line 7333 "configure" | 7405 #line 7406 "configure" |
7333 #include "confdefs.h" | 7406 #include "confdefs.h" |
7334 /* System header to define __stub macros and hopefully few prototypes, | 7407 /* System header to define __stub macros and hopefully few prototypes, |
7335 which can conflict with char $ac_func(); below. */ | 7408 which can conflict with char $ac_func(); below. */ |
7336 #include <assert.h> | 7409 #include <assert.h> |
7337 /* Override any gcc2 internal prototype to avoid an error. */ | 7410 /* Override any gcc2 internal prototype to avoid an error. */ |
7350 $ac_func(); | 7423 $ac_func(); |
7351 #endif | 7424 #endif |
7352 | 7425 |
7353 ; return 0; } | 7426 ; return 0; } |
7354 EOF | 7427 EOF |
7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7428 if { (eval echo configure:7429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7356 rm -rf conftest* | 7429 rm -rf conftest* |
7357 eval "ac_cv_func_$ac_func=yes" | 7430 eval "ac_cv_func_$ac_func=yes" |
7358 else | 7431 else |
7359 echo "configure: failed program was:" >&5 | 7432 echo "configure: failed program was:" >&5 |
7360 cat conftest.$ac_ext >&5 | 7433 cat conftest.$ac_ext >&5 |
7383 echo " xemacs will be linked with \"realpath.o\"" | 7456 echo " xemacs will be linked with \"realpath.o\"" |
7384 fi ;; | 7457 fi ;; |
7385 esac | 7458 esac |
7386 | 7459 |
7387 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7460 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7388 echo "configure:7389: checking whether netdb declares h_errno" >&5 | 7461 echo "configure:7462: checking whether netdb declares h_errno" >&5 |
7389 cat > conftest.$ac_ext <<EOF | 7462 cat > conftest.$ac_ext <<EOF |
7390 #line 7391 "configure" | 7463 #line 7464 "configure" |
7391 #include "confdefs.h" | 7464 #include "confdefs.h" |
7392 #include <netdb.h> | 7465 #include <netdb.h> |
7393 int main() { | 7466 int main() { |
7394 return h_errno; | 7467 return h_errno; |
7395 ; return 0; } | 7468 ; return 0; } |
7396 EOF | 7469 EOF |
7397 if { (eval echo configure:7398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7398 rm -rf conftest* | 7471 rm -rf conftest* |
7399 echo "$ac_t""yes" 1>&6 | 7472 echo "$ac_t""yes" 1>&6 |
7400 { test "$extra_verbose" = "yes" && cat << \EOF | 7473 { test "$extra_verbose" = "yes" && cat << \EOF |
7401 Defining HAVE_H_ERRNO | 7474 Defining HAVE_H_ERRNO |
7402 EOF | 7475 EOF |
7412 echo "$ac_t""no" 1>&6 | 7485 echo "$ac_t""no" 1>&6 |
7413 fi | 7486 fi |
7414 rm -f conftest* | 7487 rm -f conftest* |
7415 | 7488 |
7416 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7489 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7417 echo "configure:7418: checking for sigsetjmp" >&5 | 7490 echo "configure:7491: checking for sigsetjmp" >&5 |
7418 cat > conftest.$ac_ext <<EOF | 7491 cat > conftest.$ac_ext <<EOF |
7419 #line 7420 "configure" | 7492 #line 7493 "configure" |
7420 #include "confdefs.h" | 7493 #include "confdefs.h" |
7421 #include <setjmp.h> | 7494 #include <setjmp.h> |
7422 int main() { | 7495 int main() { |
7423 sigjmp_buf bar; sigsetjmp (bar, 0); | 7496 sigjmp_buf bar; sigsetjmp (bar, 0); |
7424 ; return 0; } | 7497 ; return 0; } |
7425 EOF | 7498 EOF |
7426 if { (eval echo configure:7427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7499 if { (eval echo configure:7500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7427 rm -rf conftest* | 7500 rm -rf conftest* |
7428 echo "$ac_t""yes" 1>&6 | 7501 echo "$ac_t""yes" 1>&6 |
7429 { test "$extra_verbose" = "yes" && cat << \EOF | 7502 { test "$extra_verbose" = "yes" && cat << \EOF |
7430 Defining HAVE_SIGSETJMP | 7503 Defining HAVE_SIGSETJMP |
7431 EOF | 7504 EOF |
7441 echo "$ac_t""no" 1>&6 | 7514 echo "$ac_t""no" 1>&6 |
7442 fi | 7515 fi |
7443 rm -f conftest* | 7516 rm -f conftest* |
7444 | 7517 |
7445 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7518 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7446 echo "configure:7447: checking whether localtime caches TZ" >&5 | 7519 echo "configure:7520: checking whether localtime caches TZ" >&5 |
7447 | 7520 |
7448 if test "$ac_cv_func_tzset" = "yes"; then | 7521 if test "$ac_cv_func_tzset" = "yes"; then |
7449 cat > conftest.$ac_ext <<EOF | 7522 cat > conftest.$ac_ext <<EOF |
7450 #line 7451 "configure" | 7523 #line 7524 "configure" |
7451 #include "confdefs.h" | 7524 #include "confdefs.h" |
7452 #include <time.h> | 7525 #include <time.h> |
7453 #if STDC_HEADERS | 7526 #if STDC_HEADERS |
7454 # include <stdlib.h> | 7527 # include <stdlib.h> |
7455 #endif | 7528 #endif |
7480 if (localtime (&now)->tm_hour != hour_unset) | 7553 if (localtime (&now)->tm_hour != hour_unset) |
7481 exit (1); | 7554 exit (1); |
7482 exit (0); | 7555 exit (0); |
7483 } | 7556 } |
7484 EOF | 7557 EOF |
7485 if { (eval echo configure:7486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7558 if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7486 then | 7559 then |
7487 emacs_cv_localtime_cache=no | 7560 emacs_cv_localtime_cache=no |
7488 else | 7561 else |
7489 echo "configure: failed program was:" >&5 | 7562 echo "configure: failed program was:" >&5 |
7490 cat conftest.$ac_ext >&5 | 7563 cat conftest.$ac_ext >&5 |
7509 | 7582 |
7510 fi | 7583 fi |
7511 | 7584 |
7512 if test "$HAVE_TIMEVAL" = "yes"; then | 7585 if test "$HAVE_TIMEVAL" = "yes"; then |
7513 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7586 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7514 echo "configure:7515: checking whether gettimeofday cannot accept two arguments" >&5 | 7587 echo "configure:7588: checking whether gettimeofday cannot accept two arguments" >&5 |
7515 cat > conftest.$ac_ext <<EOF | 7588 cat > conftest.$ac_ext <<EOF |
7516 #line 7517 "configure" | 7589 #line 7590 "configure" |
7517 #include "confdefs.h" | 7590 #include "confdefs.h" |
7518 | 7591 |
7519 #ifdef TIME_WITH_SYS_TIME | 7592 #ifdef TIME_WITH_SYS_TIME |
7520 #include <sys/time.h> | 7593 #include <sys/time.h> |
7521 #include <time.h> | 7594 #include <time.h> |
7533 struct timezone dummy; | 7606 struct timezone dummy; |
7534 gettimeofday (&time, &dummy); | 7607 gettimeofday (&time, &dummy); |
7535 | 7608 |
7536 ; return 0; } | 7609 ; return 0; } |
7537 EOF | 7610 EOF |
7538 if { (eval echo configure:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7611 if { (eval echo configure:7612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7539 rm -rf conftest* | 7612 rm -rf conftest* |
7540 echo "$ac_t""no" 1>&6 | 7613 echo "$ac_t""no" 1>&6 |
7541 else | 7614 else |
7542 echo "configure: failed program was:" >&5 | 7615 echo "configure: failed program was:" >&5 |
7543 cat conftest.$ac_ext >&5 | 7616 cat conftest.$ac_ext >&5 |
7555 rm -f conftest* | 7628 rm -f conftest* |
7556 fi | 7629 fi |
7557 | 7630 |
7558 | 7631 |
7559 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7632 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7560 echo "configure:7561: checking for inline" >&5 | 7633 echo "configure:7634: checking for inline" >&5 |
7561 | 7634 |
7562 ac_cv_c_inline=no | 7635 ac_cv_c_inline=no |
7563 for ac_kw in inline __inline__ __inline; do | 7636 for ac_kw in inline __inline__ __inline; do |
7564 cat > conftest.$ac_ext <<EOF | 7637 cat > conftest.$ac_ext <<EOF |
7565 #line 7566 "configure" | 7638 #line 7639 "configure" |
7566 #include "confdefs.h" | 7639 #include "confdefs.h" |
7567 | 7640 |
7568 int main() { | 7641 int main() { |
7569 } $ac_kw foo() { | 7642 } $ac_kw foo() { |
7570 ; return 0; } | 7643 ; return 0; } |
7571 EOF | 7644 EOF |
7572 if { (eval echo configure:7573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7645 if { (eval echo configure:7646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7573 rm -rf conftest* | 7646 rm -rf conftest* |
7574 ac_cv_c_inline=$ac_kw; break | 7647 ac_cv_c_inline=$ac_kw; break |
7575 else | 7648 else |
7576 echo "configure: failed program was:" >&5 | 7649 echo "configure: failed program was:" >&5 |
7577 cat conftest.$ac_ext >&5 | 7650 cat conftest.$ac_ext >&5 |
7617 | 7690 |
7618 | 7691 |
7619 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7692 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7620 # for constant arguments. Useless! | 7693 # for constant arguments. Useless! |
7621 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7694 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
7622 echo "configure:7623: checking for working alloca.h" >&5 | 7695 echo "configure:7696: checking for working alloca.h" >&5 |
7623 | 7696 |
7624 cat > conftest.$ac_ext <<EOF | 7697 cat > conftest.$ac_ext <<EOF |
7625 #line 7626 "configure" | 7698 #line 7699 "configure" |
7626 #include "confdefs.h" | 7699 #include "confdefs.h" |
7627 #include <alloca.h> | 7700 #include <alloca.h> |
7628 int main() { | 7701 int main() { |
7629 char *p = alloca(2 * sizeof(int)); | 7702 char *p = alloca(2 * sizeof(int)); |
7630 ; return 0; } | 7703 ; return 0; } |
7631 EOF | 7704 EOF |
7632 if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7705 if { (eval echo configure:7706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7633 rm -rf conftest* | 7706 rm -rf conftest* |
7634 ac_cv_header_alloca_h=yes | 7707 ac_cv_header_alloca_h=yes |
7635 else | 7708 else |
7636 echo "configure: failed program was:" >&5 | 7709 echo "configure: failed program was:" >&5 |
7637 cat conftest.$ac_ext >&5 | 7710 cat conftest.$ac_ext >&5 |
7651 } | 7724 } |
7652 | 7725 |
7653 fi | 7726 fi |
7654 | 7727 |
7655 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7728 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
7656 echo "configure:7657: checking for alloca" >&5 | 7729 echo "configure:7730: checking for alloca" >&5 |
7657 | 7730 |
7658 cat > conftest.$ac_ext <<EOF | 7731 cat > conftest.$ac_ext <<EOF |
7659 #line 7660 "configure" | 7732 #line 7733 "configure" |
7660 #include "confdefs.h" | 7733 #include "confdefs.h" |
7661 | 7734 |
7662 #ifdef __GNUC__ | 7735 #ifdef __GNUC__ |
7663 # define alloca __builtin_alloca | 7736 # define alloca __builtin_alloca |
7664 #else | 7737 #else |
7677 | 7750 |
7678 int main() { | 7751 int main() { |
7679 char *p = (char *) alloca(1); | 7752 char *p = (char *) alloca(1); |
7680 ; return 0; } | 7753 ; return 0; } |
7681 EOF | 7754 EOF |
7682 if { (eval echo configure:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7683 rm -rf conftest* | 7756 rm -rf conftest* |
7684 ac_cv_func_alloca_works=yes | 7757 ac_cv_func_alloca_works=yes |
7685 else | 7758 else |
7686 echo "configure: failed program was:" >&5 | 7759 echo "configure: failed program was:" >&5 |
7687 cat conftest.$ac_ext >&5 | 7760 cat conftest.$ac_ext >&5 |
7716 EOF | 7789 EOF |
7717 } | 7790 } |
7718 | 7791 |
7719 | 7792 |
7720 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7793 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
7721 echo "configure:7722: checking whether alloca needs Cray hooks" >&5 | 7794 echo "configure:7795: checking whether alloca needs Cray hooks" >&5 |
7722 | 7795 |
7723 cat > conftest.$ac_ext <<EOF | 7796 cat > conftest.$ac_ext <<EOF |
7724 #line 7725 "configure" | 7797 #line 7798 "configure" |
7725 #include "confdefs.h" | 7798 #include "confdefs.h" |
7726 #if defined(CRAY) && ! defined(CRAY2) | 7799 #if defined(CRAY) && ! defined(CRAY2) |
7727 webecray | 7800 webecray |
7728 #else | 7801 #else |
7729 wenotbecray | 7802 wenotbecray |
7743 | 7816 |
7744 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7817 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
7745 if test $ac_cv_os_cray = yes; then | 7818 if test $ac_cv_os_cray = yes; then |
7746 for ac_func in _getb67 GETB67 getb67; do | 7819 for ac_func in _getb67 GETB67 getb67; do |
7747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7748 echo "configure:7749: checking for $ac_func" >&5 | 7821 echo "configure:7822: checking for $ac_func" >&5 |
7749 | 7822 |
7750 cat > conftest.$ac_ext <<EOF | 7823 cat > conftest.$ac_ext <<EOF |
7751 #line 7752 "configure" | 7824 #line 7825 "configure" |
7752 #include "confdefs.h" | 7825 #include "confdefs.h" |
7753 /* System header to define __stub macros and hopefully few prototypes, | 7826 /* System header to define __stub macros and hopefully few prototypes, |
7754 which can conflict with char $ac_func(); below. */ | 7827 which can conflict with char $ac_func(); below. */ |
7755 #include <assert.h> | 7828 #include <assert.h> |
7756 /* Override any gcc2 internal prototype to avoid an error. */ | 7829 /* Override any gcc2 internal prototype to avoid an error. */ |
7769 $ac_func(); | 7842 $ac_func(); |
7770 #endif | 7843 #endif |
7771 | 7844 |
7772 ; return 0; } | 7845 ; return 0; } |
7773 EOF | 7846 EOF |
7774 if { (eval echo configure:7775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7847 if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7775 rm -rf conftest* | 7848 rm -rf conftest* |
7776 eval "ac_cv_func_$ac_func=yes" | 7849 eval "ac_cv_func_$ac_func=yes" |
7777 else | 7850 else |
7778 echo "configure: failed program was:" >&5 | 7851 echo "configure: failed program was:" >&5 |
7779 cat conftest.$ac_ext >&5 | 7852 cat conftest.$ac_ext >&5 |
7799 | 7872 |
7800 done | 7873 done |
7801 fi | 7874 fi |
7802 | 7875 |
7803 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7876 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
7804 echo "configure:7805: checking stack direction for C alloca" >&5 | 7877 echo "configure:7878: checking stack direction for C alloca" >&5 |
7805 | 7878 |
7806 cat > conftest.$ac_ext <<EOF | 7879 cat > conftest.$ac_ext <<EOF |
7807 #line 7808 "configure" | 7880 #line 7881 "configure" |
7808 #include "confdefs.h" | 7881 #include "confdefs.h" |
7809 find_stack_direction () | 7882 find_stack_direction () |
7810 { | 7883 { |
7811 static char *addr = 0; | 7884 static char *addr = 0; |
7812 auto char dummy; | 7885 auto char dummy; |
7821 main () | 7894 main () |
7822 { | 7895 { |
7823 exit (find_stack_direction() < 0); | 7896 exit (find_stack_direction() < 0); |
7824 } | 7897 } |
7825 EOF | 7898 EOF |
7826 if { (eval echo configure:7827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7899 if { (eval echo configure:7900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7827 then | 7900 then |
7828 ac_cv_c_stack_direction=1 | 7901 ac_cv_c_stack_direction=1 |
7829 else | 7902 else |
7830 echo "configure: failed program was:" >&5 | 7903 echo "configure: failed program was:" >&5 |
7831 cat conftest.$ac_ext >&5 | 7904 cat conftest.$ac_ext >&5 |
7849 echo " xemacs will be linked with \"$ALLOCA\"" | 7922 echo " xemacs will be linked with \"$ALLOCA\"" |
7850 fi | 7923 fi |
7851 | 7924 |
7852 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7925 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
7853 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7926 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
7854 echo "configure:7855: checking for vfork.h" >&5 | 7927 echo "configure:7928: checking for vfork.h" >&5 |
7855 | 7928 |
7856 cat > conftest.$ac_ext <<EOF | 7929 cat > conftest.$ac_ext <<EOF |
7857 #line 7858 "configure" | 7930 #line 7931 "configure" |
7858 #include "confdefs.h" | 7931 #include "confdefs.h" |
7859 #include <vfork.h> | 7932 #include <vfork.h> |
7860 EOF | 7933 EOF |
7861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7862 { (eval echo configure:7863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7935 { (eval echo configure:7936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7863 ac_err=`grep -v '^ *+' conftest.out` | 7936 ac_err=`grep -v '^ *+' conftest.out` |
7864 if test -z "$ac_err"; then | 7937 if test -z "$ac_err"; then |
7865 rm -rf conftest* | 7938 rm -rf conftest* |
7866 eval "ac_cv_header_$ac_safe=yes" | 7939 eval "ac_cv_header_$ac_safe=yes" |
7867 else | 7940 else |
7885 else | 7958 else |
7886 echo "$ac_t""no" 1>&6 | 7959 echo "$ac_t""no" 1>&6 |
7887 fi | 7960 fi |
7888 | 7961 |
7889 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7962 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
7890 echo "configure:7891: checking for working vfork" >&5 | 7963 echo "configure:7964: checking for working vfork" >&5 |
7891 | 7964 |
7892 cat > conftest.$ac_ext <<EOF | 7965 cat > conftest.$ac_ext <<EOF |
7893 #line 7894 "configure" | 7966 #line 7967 "configure" |
7894 #include "confdefs.h" | 7967 #include "confdefs.h" |
7895 /* Thanks to Paul Eggert for this test. */ | 7968 /* Thanks to Paul Eggert for this test. */ |
7896 #include <stdio.h> | 7969 #include <stdio.h> |
7897 #include <sys/types.h> | 7970 #include <sys/types.h> |
7898 #include <sys/stat.h> | 7971 #include <sys/stat.h> |
7983 || fstat(fileno(stdout), &st) != 0 | 8056 || fstat(fileno(stdout), &st) != 0 |
7984 ); | 8057 ); |
7985 } | 8058 } |
7986 } | 8059 } |
7987 EOF | 8060 EOF |
7988 if { (eval echo configure:7989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7989 then | 8062 then |
7990 ac_cv_func_vfork_works=yes | 8063 ac_cv_func_vfork_works=yes |
7991 else | 8064 else |
7992 echo "configure: failed program was:" >&5 | 8065 echo "configure: failed program was:" >&5 |
7993 cat conftest.$ac_ext >&5 | 8066 cat conftest.$ac_ext >&5 |
8008 | 8081 |
8009 fi | 8082 fi |
8010 | 8083 |
8011 | 8084 |
8012 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8085 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8013 echo "configure:8014: checking for working strcoll" >&5 | 8086 echo "configure:8087: checking for working strcoll" >&5 |
8014 | 8087 |
8015 cat > conftest.$ac_ext <<EOF | 8088 cat > conftest.$ac_ext <<EOF |
8016 #line 8017 "configure" | 8089 #line 8090 "configure" |
8017 #include "confdefs.h" | 8090 #include "confdefs.h" |
8018 #include <string.h> | 8091 #include <string.h> |
8019 main () | 8092 main () |
8020 { | 8093 { |
8021 exit (strcoll ("abc", "def") >= 0 || | 8094 exit (strcoll ("abc", "def") >= 0 || |
8022 strcoll ("ABC", "DEF") >= 0 || | 8095 strcoll ("ABC", "DEF") >= 0 || |
8023 strcoll ("123", "456") >= 0); | 8096 strcoll ("123", "456") >= 0); |
8024 } | 8097 } |
8025 EOF | 8098 EOF |
8026 if { (eval echo configure:8027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8099 if { (eval echo configure:8100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8027 then | 8100 then |
8028 ac_cv_func_strcoll_works=yes | 8101 ac_cv_func_strcoll_works=yes |
8029 else | 8102 else |
8030 echo "configure: failed program was:" >&5 | 8103 echo "configure: failed program was:" >&5 |
8031 cat conftest.$ac_ext >&5 | 8104 cat conftest.$ac_ext >&5 |
8048 | 8121 |
8049 | 8122 |
8050 for ac_func in getpgrp | 8123 for ac_func in getpgrp |
8051 do | 8124 do |
8052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8053 echo "configure:8054: checking for $ac_func" >&5 | 8126 echo "configure:8127: checking for $ac_func" >&5 |
8054 | 8127 |
8055 cat > conftest.$ac_ext <<EOF | 8128 cat > conftest.$ac_ext <<EOF |
8056 #line 8057 "configure" | 8129 #line 8130 "configure" |
8057 #include "confdefs.h" | 8130 #include "confdefs.h" |
8058 /* System header to define __stub macros and hopefully few prototypes, | 8131 /* System header to define __stub macros and hopefully few prototypes, |
8059 which can conflict with char $ac_func(); below. */ | 8132 which can conflict with char $ac_func(); below. */ |
8060 #include <assert.h> | 8133 #include <assert.h> |
8061 /* Override any gcc2 internal prototype to avoid an error. */ | 8134 /* Override any gcc2 internal prototype to avoid an error. */ |
8074 $ac_func(); | 8147 $ac_func(); |
8075 #endif | 8148 #endif |
8076 | 8149 |
8077 ; return 0; } | 8150 ; return 0; } |
8078 EOF | 8151 EOF |
8079 if { (eval echo configure:8080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8152 if { (eval echo configure:8153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8080 rm -rf conftest* | 8153 rm -rf conftest* |
8081 eval "ac_cv_func_$ac_func=yes" | 8154 eval "ac_cv_func_$ac_func=yes" |
8082 else | 8155 else |
8083 echo "configure: failed program was:" >&5 | 8156 echo "configure: failed program was:" >&5 |
8084 cat conftest.$ac_ext >&5 | 8157 cat conftest.$ac_ext >&5 |
8102 echo "$ac_t""no" 1>&6 | 8175 echo "$ac_t""no" 1>&6 |
8103 fi | 8176 fi |
8104 done | 8177 done |
8105 | 8178 |
8106 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8179 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8107 echo "configure:8108: checking whether getpgrp takes no argument" >&5 | 8180 echo "configure:8181: checking whether getpgrp takes no argument" >&5 |
8108 | 8181 |
8109 cat > conftest.$ac_ext <<EOF | 8182 cat > conftest.$ac_ext <<EOF |
8110 #line 8111 "configure" | 8183 #line 8184 "configure" |
8111 #include "confdefs.h" | 8184 #include "confdefs.h" |
8112 | 8185 |
8113 /* | 8186 /* |
8114 * If this system has a BSD-style getpgrp(), | 8187 * If this system has a BSD-style getpgrp(), |
8115 * which takes a pid argument, exit unsuccessfully. | 8188 * which takes a pid argument, exit unsuccessfully. |
8160 exit(s>>8); | 8233 exit(s>>8); |
8161 } | 8234 } |
8162 } | 8235 } |
8163 | 8236 |
8164 EOF | 8237 EOF |
8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8238 if { (eval echo configure:8239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8166 then | 8239 then |
8167 ac_cv_func_getpgrp_void=yes | 8240 ac_cv_func_getpgrp_void=yes |
8168 else | 8241 else |
8169 echo "configure: failed program was:" >&5 | 8242 echo "configure: failed program was:" >&5 |
8170 cat conftest.$ac_ext >&5 | 8243 cat conftest.$ac_ext >&5 |
8186 | 8259 |
8187 fi | 8260 fi |
8188 | 8261 |
8189 | 8262 |
8190 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8263 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8191 echo "configure:8192: checking for working mmap" >&5 | 8264 echo "configure:8265: checking for working mmap" >&5 |
8192 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8265 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8193 cat > conftest.$ac_ext <<EOF | 8266 cat > conftest.$ac_ext <<EOF |
8194 #line 8195 "configure" | 8267 #line 8268 "configure" |
8195 #include "confdefs.h" | 8268 #include "confdefs.h" |
8196 #include <stdio.h> | 8269 #include <stdio.h> |
8197 #include <unistd.h> | 8270 #include <unistd.h> |
8198 #include <fcntl.h> | 8271 #include <fcntl.h> |
8199 #include <sys/mman.h> | 8272 #include <sys/mman.h> |
8222 return 0; | 8295 return 0; |
8223 perror ("conftest: mmap failed"); | 8296 perror ("conftest: mmap failed"); |
8224 return 1; | 8297 return 1; |
8225 } | 8298 } |
8226 EOF | 8299 EOF |
8227 if { (eval echo configure:8228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8300 if { (eval echo configure:8301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8228 then | 8301 then |
8229 have_mmap=yes | 8302 have_mmap=yes |
8230 else | 8303 else |
8231 echo "configure: failed program was:" >&5 | 8304 echo "configure: failed program was:" >&5 |
8232 cat conftest.$ac_ext >&5 | 8305 cat conftest.$ac_ext >&5 |
8256 } | 8329 } |
8257 | 8330 |
8258 | 8331 |
8259 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8332 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8260 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8333 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8261 echo "configure:8262: checking for termios.h" >&5 | 8334 echo "configure:8335: checking for termios.h" >&5 |
8262 | 8335 |
8263 cat > conftest.$ac_ext <<EOF | 8336 cat > conftest.$ac_ext <<EOF |
8264 #line 8265 "configure" | 8337 #line 8338 "configure" |
8265 #include "confdefs.h" | 8338 #include "confdefs.h" |
8266 #include <termios.h> | 8339 #include <termios.h> |
8267 EOF | 8340 EOF |
8268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8269 { (eval echo configure:8270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8342 { (eval echo configure:8343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8270 ac_err=`grep -v '^ *+' conftest.out` | 8343 ac_err=`grep -v '^ *+' conftest.out` |
8271 if test -z "$ac_err"; then | 8344 if test -z "$ac_err"; then |
8272 rm -rf conftest* | 8345 rm -rf conftest* |
8273 eval "ac_cv_header_$ac_safe=yes" | 8346 eval "ac_cv_header_$ac_safe=yes" |
8274 else | 8347 else |
8307 | 8380 |
8308 else | 8381 else |
8309 echo "$ac_t""no" 1>&6 | 8382 echo "$ac_t""no" 1>&6 |
8310 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8383 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8311 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8384 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8312 echo "configure:8313: checking for termio.h" >&5 | 8385 echo "configure:8386: checking for termio.h" >&5 |
8313 | 8386 |
8314 cat > conftest.$ac_ext <<EOF | 8387 cat > conftest.$ac_ext <<EOF |
8315 #line 8316 "configure" | 8388 #line 8389 "configure" |
8316 #include "confdefs.h" | 8389 #include "confdefs.h" |
8317 #include <termio.h> | 8390 #include <termio.h> |
8318 EOF | 8391 EOF |
8319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8320 { (eval echo configure:8321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8393 { (eval echo configure:8394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8321 ac_err=`grep -v '^ *+' conftest.out` | 8394 ac_err=`grep -v '^ *+' conftest.out` |
8322 if test -z "$ac_err"; then | 8395 if test -z "$ac_err"; then |
8323 rm -rf conftest* | 8396 rm -rf conftest* |
8324 eval "ac_cv_header_$ac_safe=yes" | 8397 eval "ac_cv_header_$ac_safe=yes" |
8325 else | 8398 else |
8347 fi | 8420 fi |
8348 | 8421 |
8349 | 8422 |
8350 | 8423 |
8351 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8424 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8352 echo "configure:8353: checking for socket" >&5 | 8425 echo "configure:8426: checking for socket" >&5 |
8353 | 8426 |
8354 cat > conftest.$ac_ext <<EOF | 8427 cat > conftest.$ac_ext <<EOF |
8355 #line 8356 "configure" | 8428 #line 8429 "configure" |
8356 #include "confdefs.h" | 8429 #include "confdefs.h" |
8357 /* System header to define __stub macros and hopefully few prototypes, | 8430 /* System header to define __stub macros and hopefully few prototypes, |
8358 which can conflict with char socket(); below. */ | 8431 which can conflict with char socket(); below. */ |
8359 #include <assert.h> | 8432 #include <assert.h> |
8360 /* Override any gcc2 internal prototype to avoid an error. */ | 8433 /* Override any gcc2 internal prototype to avoid an error. */ |
8373 socket(); | 8446 socket(); |
8374 #endif | 8447 #endif |
8375 | 8448 |
8376 ; return 0; } | 8449 ; return 0; } |
8377 EOF | 8450 EOF |
8378 if { (eval echo configure:8379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8451 if { (eval echo configure:8452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8379 rm -rf conftest* | 8452 rm -rf conftest* |
8380 eval "ac_cv_func_socket=yes" | 8453 eval "ac_cv_func_socket=yes" |
8381 else | 8454 else |
8382 echo "configure: failed program was:" >&5 | 8455 echo "configure: failed program was:" >&5 |
8383 cat conftest.$ac_ext >&5 | 8456 cat conftest.$ac_ext >&5 |
8388 | 8461 |
8389 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8462 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8390 echo "$ac_t""yes" 1>&6 | 8463 echo "$ac_t""yes" 1>&6 |
8391 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8464 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8392 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8465 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8393 echo "configure:8394: checking for netinet/in.h" >&5 | 8466 echo "configure:8467: checking for netinet/in.h" >&5 |
8394 | 8467 |
8395 cat > conftest.$ac_ext <<EOF | 8468 cat > conftest.$ac_ext <<EOF |
8396 #line 8397 "configure" | 8469 #line 8470 "configure" |
8397 #include "confdefs.h" | 8470 #include "confdefs.h" |
8398 #include <netinet/in.h> | 8471 #include <netinet/in.h> |
8399 EOF | 8472 EOF |
8400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8401 { (eval echo configure:8402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8474 { (eval echo configure:8475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8402 ac_err=`grep -v '^ *+' conftest.out` | 8475 ac_err=`grep -v '^ *+' conftest.out` |
8403 if test -z "$ac_err"; then | 8476 if test -z "$ac_err"; then |
8404 rm -rf conftest* | 8477 rm -rf conftest* |
8405 eval "ac_cv_header_$ac_safe=yes" | 8478 eval "ac_cv_header_$ac_safe=yes" |
8406 else | 8479 else |
8413 rm -f conftest* | 8486 rm -f conftest* |
8414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8415 echo "$ac_t""yes" 1>&6 | 8488 echo "$ac_t""yes" 1>&6 |
8416 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8489 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8417 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8490 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8418 echo "configure:8419: checking for arpa/inet.h" >&5 | 8491 echo "configure:8492: checking for arpa/inet.h" >&5 |
8419 | 8492 |
8420 cat > conftest.$ac_ext <<EOF | 8493 cat > conftest.$ac_ext <<EOF |
8421 #line 8422 "configure" | 8494 #line 8495 "configure" |
8422 #include "confdefs.h" | 8495 #include "confdefs.h" |
8423 #include <arpa/inet.h> | 8496 #include <arpa/inet.h> |
8424 EOF | 8497 EOF |
8425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8426 { (eval echo configure:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8499 { (eval echo configure:8500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8427 ac_err=`grep -v '^ *+' conftest.out` | 8500 ac_err=`grep -v '^ *+' conftest.out` |
8428 if test -z "$ac_err"; then | 8501 if test -z "$ac_err"; then |
8429 rm -rf conftest* | 8502 rm -rf conftest* |
8430 eval "ac_cv_header_$ac_safe=yes" | 8503 eval "ac_cv_header_$ac_safe=yes" |
8431 else | 8504 else |
8446 #define HAVE_SOCKETS 1 | 8519 #define HAVE_SOCKETS 1 |
8447 EOF | 8520 EOF |
8448 } | 8521 } |
8449 | 8522 |
8450 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8523 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8451 echo "configure:8452: checking "for sun_len member in struct sockaddr_un"" >&5 | 8524 echo "configure:8525: checking "for sun_len member in struct sockaddr_un"" >&5 |
8452 cat > conftest.$ac_ext <<EOF | 8525 cat > conftest.$ac_ext <<EOF |
8453 #line 8454 "configure" | 8526 #line 8527 "configure" |
8454 #include "confdefs.h" | 8527 #include "confdefs.h" |
8455 | 8528 |
8456 #include <sys/types.h> | 8529 #include <sys/types.h> |
8457 #include <sys/socket.h> | 8530 #include <sys/socket.h> |
8458 #include <sys/un.h> | 8531 #include <sys/un.h> |
8459 | 8532 |
8460 int main() { | 8533 int main() { |
8461 static struct sockaddr_un x; x.sun_len = 1; | 8534 static struct sockaddr_un x; x.sun_len = 1; |
8462 ; return 0; } | 8535 ; return 0; } |
8463 EOF | 8536 EOF |
8464 if { (eval echo configure:8465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8465 rm -rf conftest* | 8538 rm -rf conftest* |
8466 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8539 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8467 Defining HAVE_SOCKADDR_SUN_LEN | 8540 Defining HAVE_SOCKADDR_SUN_LEN |
8468 EOF | 8541 EOF |
8469 cat >> confdefs.h <<\EOF | 8542 cat >> confdefs.h <<\EOF |
8490 echo "$ac_t""no" 1>&6 | 8563 echo "$ac_t""no" 1>&6 |
8491 fi | 8564 fi |
8492 | 8565 |
8493 | 8566 |
8494 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8567 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8495 echo "configure:8496: checking for msgget" >&5 | 8568 echo "configure:8569: checking for msgget" >&5 |
8496 | 8569 |
8497 cat > conftest.$ac_ext <<EOF | 8570 cat > conftest.$ac_ext <<EOF |
8498 #line 8499 "configure" | 8571 #line 8572 "configure" |
8499 #include "confdefs.h" | 8572 #include "confdefs.h" |
8500 /* System header to define __stub macros and hopefully few prototypes, | 8573 /* System header to define __stub macros and hopefully few prototypes, |
8501 which can conflict with char msgget(); below. */ | 8574 which can conflict with char msgget(); below. */ |
8502 #include <assert.h> | 8575 #include <assert.h> |
8503 /* Override any gcc2 internal prototype to avoid an error. */ | 8576 /* Override any gcc2 internal prototype to avoid an error. */ |
8516 msgget(); | 8589 msgget(); |
8517 #endif | 8590 #endif |
8518 | 8591 |
8519 ; return 0; } | 8592 ; return 0; } |
8520 EOF | 8593 EOF |
8521 if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8594 if { (eval echo configure:8595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8522 rm -rf conftest* | 8595 rm -rf conftest* |
8523 eval "ac_cv_func_msgget=yes" | 8596 eval "ac_cv_func_msgget=yes" |
8524 else | 8597 else |
8525 echo "configure: failed program was:" >&5 | 8598 echo "configure: failed program was:" >&5 |
8526 cat conftest.$ac_ext >&5 | 8599 cat conftest.$ac_ext >&5 |
8531 | 8604 |
8532 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8605 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
8533 echo "$ac_t""yes" 1>&6 | 8606 echo "$ac_t""yes" 1>&6 |
8534 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8607 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
8535 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8608 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
8536 echo "configure:8537: checking for sys/ipc.h" >&5 | 8609 echo "configure:8610: checking for sys/ipc.h" >&5 |
8537 | 8610 |
8538 cat > conftest.$ac_ext <<EOF | 8611 cat > conftest.$ac_ext <<EOF |
8539 #line 8540 "configure" | 8612 #line 8613 "configure" |
8540 #include "confdefs.h" | 8613 #include "confdefs.h" |
8541 #include <sys/ipc.h> | 8614 #include <sys/ipc.h> |
8542 EOF | 8615 EOF |
8543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8544 { (eval echo configure:8545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8617 { (eval echo configure:8618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8545 ac_err=`grep -v '^ *+' conftest.out` | 8618 ac_err=`grep -v '^ *+' conftest.out` |
8546 if test -z "$ac_err"; then | 8619 if test -z "$ac_err"; then |
8547 rm -rf conftest* | 8620 rm -rf conftest* |
8548 eval "ac_cv_header_$ac_safe=yes" | 8621 eval "ac_cv_header_$ac_safe=yes" |
8549 else | 8622 else |
8556 rm -f conftest* | 8629 rm -f conftest* |
8557 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8630 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8558 echo "$ac_t""yes" 1>&6 | 8631 echo "$ac_t""yes" 1>&6 |
8559 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8632 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
8560 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8633 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
8561 echo "configure:8562: checking for sys/msg.h" >&5 | 8634 echo "configure:8635: checking for sys/msg.h" >&5 |
8562 | 8635 |
8563 cat > conftest.$ac_ext <<EOF | 8636 cat > conftest.$ac_ext <<EOF |
8564 #line 8565 "configure" | 8637 #line 8638 "configure" |
8565 #include "confdefs.h" | 8638 #include "confdefs.h" |
8566 #include <sys/msg.h> | 8639 #include <sys/msg.h> |
8567 EOF | 8640 EOF |
8568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8569 { (eval echo configure:8570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8642 { (eval echo configure:8643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8570 ac_err=`grep -v '^ *+' conftest.out` | 8643 ac_err=`grep -v '^ *+' conftest.out` |
8571 if test -z "$ac_err"; then | 8644 if test -z "$ac_err"; then |
8572 rm -rf conftest* | 8645 rm -rf conftest* |
8573 eval "ac_cv_header_$ac_safe=yes" | 8646 eval "ac_cv_header_$ac_safe=yes" |
8574 else | 8647 else |
8602 fi | 8675 fi |
8603 | 8676 |
8604 | 8677 |
8605 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8678 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
8606 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8679 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
8607 echo "configure:8608: checking for dirent.h" >&5 | 8680 echo "configure:8681: checking for dirent.h" >&5 |
8608 | 8681 |
8609 cat > conftest.$ac_ext <<EOF | 8682 cat > conftest.$ac_ext <<EOF |
8610 #line 8611 "configure" | 8683 #line 8684 "configure" |
8611 #include "confdefs.h" | 8684 #include "confdefs.h" |
8612 #include <dirent.h> | 8685 #include <dirent.h> |
8613 EOF | 8686 EOF |
8614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8615 { (eval echo configure:8616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8688 { (eval echo configure:8689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8616 ac_err=`grep -v '^ *+' conftest.out` | 8689 ac_err=`grep -v '^ *+' conftest.out` |
8617 if test -z "$ac_err"; then | 8690 if test -z "$ac_err"; then |
8618 rm -rf conftest* | 8691 rm -rf conftest* |
8619 eval "ac_cv_header_$ac_safe=yes" | 8692 eval "ac_cv_header_$ac_safe=yes" |
8620 else | 8693 else |
8637 | 8710 |
8638 else | 8711 else |
8639 echo "$ac_t""no" 1>&6 | 8712 echo "$ac_t""no" 1>&6 |
8640 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8713 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
8641 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8714 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
8642 echo "configure:8643: checking for sys/dir.h" >&5 | 8715 echo "configure:8716: checking for sys/dir.h" >&5 |
8643 | 8716 |
8644 cat > conftest.$ac_ext <<EOF | 8717 cat > conftest.$ac_ext <<EOF |
8645 #line 8646 "configure" | 8718 #line 8719 "configure" |
8646 #include "confdefs.h" | 8719 #include "confdefs.h" |
8647 #include <sys/dir.h> | 8720 #include <sys/dir.h> |
8648 EOF | 8721 EOF |
8649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8650 { (eval echo configure:8651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8723 { (eval echo configure:8724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8651 ac_err=`grep -v '^ *+' conftest.out` | 8724 ac_err=`grep -v '^ *+' conftest.out` |
8652 if test -z "$ac_err"; then | 8725 if test -z "$ac_err"; then |
8653 rm -rf conftest* | 8726 rm -rf conftest* |
8654 eval "ac_cv_header_$ac_safe=yes" | 8727 eval "ac_cv_header_$ac_safe=yes" |
8655 else | 8728 else |
8678 fi | 8751 fi |
8679 | 8752 |
8680 | 8753 |
8681 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8754 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
8682 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8755 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
8683 echo "configure:8684: checking for nlist.h" >&5 | 8756 echo "configure:8757: checking for nlist.h" >&5 |
8684 | 8757 |
8685 cat > conftest.$ac_ext <<EOF | 8758 cat > conftest.$ac_ext <<EOF |
8686 #line 8687 "configure" | 8759 #line 8760 "configure" |
8687 #include "confdefs.h" | 8760 #include "confdefs.h" |
8688 #include <nlist.h> | 8761 #include <nlist.h> |
8689 EOF | 8762 EOF |
8690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8691 { (eval echo configure:8692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8764 { (eval echo configure:8765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8692 ac_err=`grep -v '^ *+' conftest.out` | 8765 ac_err=`grep -v '^ *+' conftest.out` |
8693 if test -z "$ac_err"; then | 8766 if test -z "$ac_err"; then |
8694 rm -rf conftest* | 8767 rm -rf conftest* |
8695 eval "ac_cv_header_$ac_safe=yes" | 8768 eval "ac_cv_header_$ac_safe=yes" |
8696 else | 8769 else |
8716 fi | 8789 fi |
8717 | 8790 |
8718 | 8791 |
8719 | 8792 |
8720 echo "checking "for sound support"" 1>&6 | 8793 echo "checking "for sound support"" 1>&6 |
8721 echo "configure:8722: checking "for sound support"" >&5 | 8794 echo "configure:8795: checking "for sound support"" >&5 |
8722 case "$with_sound" in | 8795 case "$with_sound" in |
8723 native | both ) with_native_sound=yes;; | 8796 native | both ) with_native_sound=yes;; |
8724 nas | no ) with_native_sound=no;; | 8797 nas | no ) with_native_sound=no;; |
8725 esac | 8798 esac |
8726 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8799 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
8727 | 8800 |
8728 if test "$with_native_sound" != "no"; then | 8801 if test "$with_native_sound" != "no"; then |
8729 if test -n "$native_sound_lib"; then | 8802 if test -n "$native_sound_lib"; then |
8730 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8803 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
8731 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8804 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
8732 echo "configure:8733: checking for multimedia/audio_device.h" >&5 | 8805 echo "configure:8806: checking for multimedia/audio_device.h" >&5 |
8733 | 8806 |
8734 cat > conftest.$ac_ext <<EOF | 8807 cat > conftest.$ac_ext <<EOF |
8735 #line 8736 "configure" | 8808 #line 8809 "configure" |
8736 #include "confdefs.h" | 8809 #include "confdefs.h" |
8737 #include <multimedia/audio_device.h> | 8810 #include <multimedia/audio_device.h> |
8738 EOF | 8811 EOF |
8739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8740 { (eval echo configure:8741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8813 { (eval echo configure:8814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8741 ac_err=`grep -v '^ *+' conftest.out` | 8814 ac_err=`grep -v '^ *+' conftest.out` |
8742 if test -z "$ac_err"; then | 8815 if test -z "$ac_err"; then |
8743 rm -rf conftest* | 8816 rm -rf conftest* |
8744 eval "ac_cv_header_$ac_safe=yes" | 8817 eval "ac_cv_header_$ac_safe=yes" |
8745 else | 8818 else |
8783 case "$canonical" in | 8856 case "$canonical" in |
8784 *-sgi-* ) | 8857 *-sgi-* ) |
8785 if test -z "$native_sound_lib"; then | 8858 if test -z "$native_sound_lib"; then |
8786 | 8859 |
8787 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8860 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
8788 echo "configure:8789: checking for ALopenport in -laudio" >&5 | 8861 echo "configure:8862: checking for ALopenport in -laudio" >&5 |
8789 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8862 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
8790 | 8863 |
8791 xe_check_libs=" -laudio " | 8864 xe_check_libs=" -laudio " |
8792 cat > conftest.$ac_ext <<EOF | 8865 cat > conftest.$ac_ext <<EOF |
8793 #line 8794 "configure" | 8866 #line 8867 "configure" |
8794 #include "confdefs.h" | 8867 #include "confdefs.h" |
8795 /* Override any gcc2 internal prototype to avoid an error. */ | 8868 /* Override any gcc2 internal prototype to avoid an error. */ |
8796 /* We use char because int might match the return type of a gcc2 | 8869 /* We use char because int might match the return type of a gcc2 |
8797 builtin and then its argument prototype would still apply. */ | 8870 builtin and then its argument prototype would still apply. */ |
8798 char ALopenport(); | 8871 char ALopenport(); |
8799 | 8872 |
8800 int main() { | 8873 int main() { |
8801 ALopenport() | 8874 ALopenport() |
8802 ; return 0; } | 8875 ; return 0; } |
8803 EOF | 8876 EOF |
8804 if { (eval echo configure:8805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8877 if { (eval echo configure:8878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8805 rm -rf conftest* | 8878 rm -rf conftest* |
8806 eval "ac_cv_lib_$ac_lib_var=yes" | 8879 eval "ac_cv_lib_$ac_lib_var=yes" |
8807 else | 8880 else |
8808 echo "configure: failed program was:" >&5 | 8881 echo "configure: failed program was:" >&5 |
8809 cat conftest.$ac_ext >&5 | 8882 cat conftest.$ac_ext >&5 |
8830 fi ;; | 8903 fi ;; |
8831 hppa*-hp-hpux* ) | 8904 hppa*-hp-hpux* ) |
8832 if test -z "$native_sound_lib"; then | 8905 if test -z "$native_sound_lib"; then |
8833 | 8906 |
8834 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8907 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
8835 echo "configure:8836: checking for AOpenAudio in -lAlib" >&5 | 8908 echo "configure:8909: checking for AOpenAudio in -lAlib" >&5 |
8836 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8909 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
8837 | 8910 |
8838 xe_check_libs=" -lAlib " | 8911 xe_check_libs=" -lAlib " |
8839 cat > conftest.$ac_ext <<EOF | 8912 cat > conftest.$ac_ext <<EOF |
8840 #line 8841 "configure" | 8913 #line 8914 "configure" |
8841 #include "confdefs.h" | 8914 #include "confdefs.h" |
8842 /* Override any gcc2 internal prototype to avoid an error. */ | 8915 /* Override any gcc2 internal prototype to avoid an error. */ |
8843 /* We use char because int might match the return type of a gcc2 | 8916 /* We use char because int might match the return type of a gcc2 |
8844 builtin and then its argument prototype would still apply. */ | 8917 builtin and then its argument prototype would still apply. */ |
8845 char AOpenAudio(); | 8918 char AOpenAudio(); |
8846 | 8919 |
8847 int main() { | 8920 int main() { |
8848 AOpenAudio() | 8921 AOpenAudio() |
8849 ; return 0; } | 8922 ; return 0; } |
8850 EOF | 8923 EOF |
8851 if { (eval echo configure:8852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8852 rm -rf conftest* | 8925 rm -rf conftest* |
8853 eval "ac_cv_lib_$ac_lib_var=yes" | 8926 eval "ac_cv_lib_$ac_lib_var=yes" |
8854 else | 8927 else |
8855 echo "configure: failed program was:" >&5 | 8928 echo "configure: failed program was:" >&5 |
8856 cat conftest.$ac_ext >&5 | 8929 cat conftest.$ac_ext >&5 |
8884 | 8957 |
8885 if test -z "$sound_found"; then | 8958 if test -z "$sound_found"; then |
8886 for dir in "machine" "sys" "linux"; do | 8959 for dir in "machine" "sys" "linux"; do |
8887 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8960 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
8888 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8961 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
8889 echo "configure:8890: checking for ${dir}/soundcard.h" >&5 | 8962 echo "configure:8963: checking for ${dir}/soundcard.h" >&5 |
8890 | 8963 |
8891 cat > conftest.$ac_ext <<EOF | 8964 cat > conftest.$ac_ext <<EOF |
8892 #line 8893 "configure" | 8965 #line 8966 "configure" |
8893 #include "confdefs.h" | 8966 #include "confdefs.h" |
8894 #include <${dir}/soundcard.h> | 8967 #include <${dir}/soundcard.h> |
8895 EOF | 8968 EOF |
8896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8897 { (eval echo configure:8898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8970 { (eval echo configure:8971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8898 ac_err=`grep -v '^ *+' conftest.out` | 8971 ac_err=`grep -v '^ *+' conftest.out` |
8899 if test -z "$ac_err"; then | 8972 if test -z "$ac_err"; then |
8900 rm -rf conftest* | 8973 rm -rf conftest* |
8901 eval "ac_cv_header_$ac_safe=yes" | 8974 eval "ac_cv_header_$ac_safe=yes" |
8902 else | 8975 else |
8962 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9035 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
8963 echo " xemacs will be linked with \"nas.o\"" | 9036 echo " xemacs will be linked with \"nas.o\"" |
8964 fi | 9037 fi |
8965 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9038 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
8966 cat > conftest.$ac_ext <<EOF | 9039 cat > conftest.$ac_ext <<EOF |
8967 #line 8968 "configure" | 9040 #line 9041 "configure" |
8968 #include "confdefs.h" | 9041 #include "confdefs.h" |
8969 #include <audio/Xtutil.h> | 9042 #include <audio/Xtutil.h> |
8970 EOF | 9043 EOF |
8971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
8972 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9045 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
8989 | 9062 |
8990 test -z "$with_tty" && with_tty=yes | 9063 test -z "$with_tty" && with_tty=yes |
8991 | 9064 |
8992 if test "$with_tty" = "yes" ; then | 9065 if test "$with_tty" = "yes" ; then |
8993 echo "checking for TTY-related features" 1>&6 | 9066 echo "checking for TTY-related features" 1>&6 |
8994 echo "configure:8995: checking for TTY-related features" >&5 | 9067 echo "configure:9068: checking for TTY-related features" >&5 |
8995 { test "$extra_verbose" = "yes" && cat << \EOF | 9068 { test "$extra_verbose" = "yes" && cat << \EOF |
8996 Defining HAVE_TTY | 9069 Defining HAVE_TTY |
8997 EOF | 9070 EOF |
8998 cat >> confdefs.h <<\EOF | 9071 cat >> confdefs.h <<\EOF |
8999 #define HAVE_TTY 1 | 9072 #define HAVE_TTY 1 |
9005 fi | 9078 fi |
9006 | 9079 |
9007 if test -z "$with_ncurses"; then | 9080 if test -z "$with_ncurses"; then |
9008 | 9081 |
9009 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9082 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9010 echo "configure:9011: checking for tgetent in -lncurses" >&5 | 9083 echo "configure:9084: checking for tgetent in -lncurses" >&5 |
9011 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9084 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9012 | 9085 |
9013 xe_check_libs=" -lncurses " | 9086 xe_check_libs=" -lncurses " |
9014 cat > conftest.$ac_ext <<EOF | 9087 cat > conftest.$ac_ext <<EOF |
9015 #line 9016 "configure" | 9088 #line 9089 "configure" |
9016 #include "confdefs.h" | 9089 #include "confdefs.h" |
9017 /* Override any gcc2 internal prototype to avoid an error. */ | 9090 /* Override any gcc2 internal prototype to avoid an error. */ |
9018 /* We use char because int might match the return type of a gcc2 | 9091 /* We use char because int might match the return type of a gcc2 |
9019 builtin and then its argument prototype would still apply. */ | 9092 builtin and then its argument prototype would still apply. */ |
9020 char tgetent(); | 9093 char tgetent(); |
9021 | 9094 |
9022 int main() { | 9095 int main() { |
9023 tgetent() | 9096 tgetent() |
9024 ; return 0; } | 9097 ; return 0; } |
9025 EOF | 9098 EOF |
9026 if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9099 if { (eval echo configure:9100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9027 rm -rf conftest* | 9100 rm -rf conftest* |
9028 eval "ac_cv_lib_$ac_lib_var=yes" | 9101 eval "ac_cv_lib_$ac_lib_var=yes" |
9029 else | 9102 else |
9030 echo "configure: failed program was:" >&5 | 9103 echo "configure: failed program was:" >&5 |
9031 cat conftest.$ac_ext >&5 | 9104 cat conftest.$ac_ext >&5 |
9054 EOF | 9127 EOF |
9055 } | 9128 } |
9056 | 9129 |
9057 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9130 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9058 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9131 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9059 echo "configure:9060: checking for ncurses/curses.h" >&5 | 9132 echo "configure:9133: checking for ncurses/curses.h" >&5 |
9060 | 9133 |
9061 cat > conftest.$ac_ext <<EOF | 9134 cat > conftest.$ac_ext <<EOF |
9062 #line 9063 "configure" | 9135 #line 9136 "configure" |
9063 #include "confdefs.h" | 9136 #include "confdefs.h" |
9064 #include <ncurses/curses.h> | 9137 #include <ncurses/curses.h> |
9065 EOF | 9138 EOF |
9066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9067 { (eval echo configure:9068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9140 { (eval echo configure:9141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9068 ac_err=`grep -v '^ *+' conftest.out` | 9141 ac_err=`grep -v '^ *+' conftest.out` |
9069 if test -z "$ac_err"; then | 9142 if test -z "$ac_err"; then |
9070 rm -rf conftest* | 9143 rm -rf conftest* |
9071 eval "ac_cv_header_$ac_safe=yes" | 9144 eval "ac_cv_header_$ac_safe=yes" |
9072 else | 9145 else |
9084 echo "$ac_t""no" 1>&6 | 9157 echo "$ac_t""no" 1>&6 |
9085 fi | 9158 fi |
9086 | 9159 |
9087 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9160 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9088 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9161 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9089 echo "configure:9090: checking for ncurses/term.h" >&5 | 9162 echo "configure:9163: checking for ncurses/term.h" >&5 |
9090 | 9163 |
9091 cat > conftest.$ac_ext <<EOF | 9164 cat > conftest.$ac_ext <<EOF |
9092 #line 9093 "configure" | 9165 #line 9166 "configure" |
9093 #include "confdefs.h" | 9166 #include "confdefs.h" |
9094 #include <ncurses/term.h> | 9167 #include <ncurses/term.h> |
9095 EOF | 9168 EOF |
9096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9097 { (eval echo configure:9098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9170 { (eval echo configure:9171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9098 ac_err=`grep -v '^ *+' conftest.out` | 9171 ac_err=`grep -v '^ *+' conftest.out` |
9099 if test -z "$ac_err"; then | 9172 if test -z "$ac_err"; then |
9100 rm -rf conftest* | 9173 rm -rf conftest* |
9101 eval "ac_cv_header_$ac_safe=yes" | 9174 eval "ac_cv_header_$ac_safe=yes" |
9102 else | 9175 else |
9122 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9195 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9123 save_c_switch_site="$c_switch_site" | 9196 save_c_switch_site="$c_switch_site" |
9124 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9197 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9125 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9198 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9126 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9199 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9127 echo "configure:9128: checking for ncurses/curses.h" >&5 | 9200 echo "configure:9201: checking for ncurses/curses.h" >&5 |
9128 | 9201 |
9129 cat > conftest.$ac_ext <<EOF | 9202 cat > conftest.$ac_ext <<EOF |
9130 #line 9131 "configure" | 9203 #line 9204 "configure" |
9131 #include "confdefs.h" | 9204 #include "confdefs.h" |
9132 #include <ncurses/curses.h> | 9205 #include <ncurses/curses.h> |
9133 EOF | 9206 EOF |
9134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9207 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9135 { (eval echo configure:9136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9208 { (eval echo configure:9209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9136 ac_err=`grep -v '^ *+' conftest.out` | 9209 ac_err=`grep -v '^ *+' conftest.out` |
9137 if test -z "$ac_err"; then | 9210 if test -z "$ac_err"; then |
9138 rm -rf conftest* | 9211 rm -rf conftest* |
9139 eval "ac_cv_header_$ac_safe=yes" | 9212 eval "ac_cv_header_$ac_safe=yes" |
9140 else | 9213 else |
9165 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9238 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9166 else | 9239 else |
9167 for lib in curses termlib termcap; do | 9240 for lib in curses termlib termcap; do |
9168 | 9241 |
9169 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9242 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9170 echo "configure:9171: checking for tgetent in -l$lib" >&5 | 9243 echo "configure:9244: checking for tgetent in -l$lib" >&5 |
9171 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9244 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9172 | 9245 |
9173 xe_check_libs=" -l$lib " | 9246 xe_check_libs=" -l$lib " |
9174 cat > conftest.$ac_ext <<EOF | 9247 cat > conftest.$ac_ext <<EOF |
9175 #line 9176 "configure" | 9248 #line 9249 "configure" |
9176 #include "confdefs.h" | 9249 #include "confdefs.h" |
9177 /* Override any gcc2 internal prototype to avoid an error. */ | 9250 /* Override any gcc2 internal prototype to avoid an error. */ |
9178 /* We use char because int might match the return type of a gcc2 | 9251 /* We use char because int might match the return type of a gcc2 |
9179 builtin and then its argument prototype would still apply. */ | 9252 builtin and then its argument prototype would still apply. */ |
9180 char tgetent(); | 9253 char tgetent(); |
9181 | 9254 |
9182 int main() { | 9255 int main() { |
9183 tgetent() | 9256 tgetent() |
9184 ; return 0; } | 9257 ; return 0; } |
9185 EOF | 9258 EOF |
9186 if { (eval echo configure:9187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9259 if { (eval echo configure:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9187 rm -rf conftest* | 9260 rm -rf conftest* |
9188 eval "ac_cv_lib_$ac_lib_var=yes" | 9261 eval "ac_cv_lib_$ac_lib_var=yes" |
9189 else | 9262 else |
9190 echo "configure: failed program was:" >&5 | 9263 echo "configure: failed program was:" >&5 |
9191 cat conftest.$ac_ext >&5 | 9264 cat conftest.$ac_ext >&5 |
9212 if test -n "$libs_termcap"; then | 9285 if test -n "$libs_termcap"; then |
9213 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9286 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9214 else | 9287 else |
9215 | 9288 |
9216 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9289 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9217 echo "configure:9218: checking for tgetent in -lcurses" >&5 | 9290 echo "configure:9291: checking for tgetent in -lcurses" >&5 |
9218 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9291 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9219 | 9292 |
9220 xe_check_libs=" -lcurses " | 9293 xe_check_libs=" -lcurses " |
9221 cat > conftest.$ac_ext <<EOF | 9294 cat > conftest.$ac_ext <<EOF |
9222 #line 9223 "configure" | 9295 #line 9296 "configure" |
9223 #include "confdefs.h" | 9296 #include "confdefs.h" |
9224 /* Override any gcc2 internal prototype to avoid an error. */ | 9297 /* Override any gcc2 internal prototype to avoid an error. */ |
9225 /* We use char because int might match the return type of a gcc2 | 9298 /* We use char because int might match the return type of a gcc2 |
9226 builtin and then its argument prototype would still apply. */ | 9299 builtin and then its argument prototype would still apply. */ |
9227 char tgetent(); | 9300 char tgetent(); |
9228 | 9301 |
9229 int main() { | 9302 int main() { |
9230 tgetent() | 9303 tgetent() |
9231 ; return 0; } | 9304 ; return 0; } |
9232 EOF | 9305 EOF |
9233 if { (eval echo configure:9234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9306 if { (eval echo configure:9307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9234 rm -rf conftest* | 9307 rm -rf conftest* |
9235 eval "ac_cv_lib_$ac_lib_var=yes" | 9308 eval "ac_cv_lib_$ac_lib_var=yes" |
9236 else | 9309 else |
9237 echo "configure: failed program was:" >&5 | 9310 echo "configure: failed program was:" >&5 |
9238 cat conftest.$ac_ext >&5 | 9311 cat conftest.$ac_ext >&5 |
9246 echo "$ac_t""yes" 1>&6 | 9319 echo "$ac_t""yes" 1>&6 |
9247 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9320 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9248 else | 9321 else |
9249 echo "$ac_t""no" 1>&6 | 9322 echo "$ac_t""no" 1>&6 |
9250 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9323 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9251 echo "configure:9252: checking for tgetent in -ltermcap" >&5 | 9324 echo "configure:9325: checking for tgetent in -ltermcap" >&5 |
9252 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9325 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9253 | 9326 |
9254 xe_check_libs=" -ltermcap " | 9327 xe_check_libs=" -ltermcap " |
9255 cat > conftest.$ac_ext <<EOF | 9328 cat > conftest.$ac_ext <<EOF |
9256 #line 9257 "configure" | 9329 #line 9330 "configure" |
9257 #include "confdefs.h" | 9330 #include "confdefs.h" |
9258 /* Override any gcc2 internal prototype to avoid an error. */ | 9331 /* Override any gcc2 internal prototype to avoid an error. */ |
9259 /* We use char because int might match the return type of a gcc2 | 9332 /* We use char because int might match the return type of a gcc2 |
9260 builtin and then its argument prototype would still apply. */ | 9333 builtin and then its argument prototype would still apply. */ |
9261 char tgetent(); | 9334 char tgetent(); |
9262 | 9335 |
9263 int main() { | 9336 int main() { |
9264 tgetent() | 9337 tgetent() |
9265 ; return 0; } | 9338 ; return 0; } |
9266 EOF | 9339 EOF |
9267 if { (eval echo configure:9268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9340 if { (eval echo configure:9341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9268 rm -rf conftest* | 9341 rm -rf conftest* |
9269 eval "ac_cv_lib_$ac_lib_var=yes" | 9342 eval "ac_cv_lib_$ac_lib_var=yes" |
9270 else | 9343 else |
9271 echo "configure: failed program was:" >&5 | 9344 echo "configure: failed program was:" >&5 |
9272 cat conftest.$ac_ext >&5 | 9345 cat conftest.$ac_ext >&5 |
9310 } | 9383 } |
9311 | 9384 |
9312 | 9385 |
9313 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9386 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9314 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9387 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9315 echo "configure:9316: checking for gpm.h" >&5 | 9388 echo "configure:9389: checking for gpm.h" >&5 |
9316 | 9389 |
9317 cat > conftest.$ac_ext <<EOF | 9390 cat > conftest.$ac_ext <<EOF |
9318 #line 9319 "configure" | 9391 #line 9392 "configure" |
9319 #include "confdefs.h" | 9392 #include "confdefs.h" |
9320 #include <gpm.h> | 9393 #include <gpm.h> |
9321 EOF | 9394 EOF |
9322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9323 { (eval echo configure:9324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9396 { (eval echo configure:9397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9324 ac_err=`grep -v '^ *+' conftest.out` | 9397 ac_err=`grep -v '^ *+' conftest.out` |
9325 if test -z "$ac_err"; then | 9398 if test -z "$ac_err"; then |
9326 rm -rf conftest* | 9399 rm -rf conftest* |
9327 eval "ac_cv_header_$ac_safe=yes" | 9400 eval "ac_cv_header_$ac_safe=yes" |
9328 else | 9401 else |
9341 with_gpm=no | 9414 with_gpm=no |
9342 fi | 9415 fi |
9343 } | 9416 } |
9344 test -z "$with_gpm" && { | 9417 test -z "$with_gpm" && { |
9345 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9418 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9346 echo "configure:9347: checking for Gpm_Open in -lgpm" >&5 | 9419 echo "configure:9420: checking for Gpm_Open in -lgpm" >&5 |
9347 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9420 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9348 | 9421 |
9349 xe_check_libs=" -lgpm " | 9422 xe_check_libs=" -lgpm " |
9350 cat > conftest.$ac_ext <<EOF | 9423 cat > conftest.$ac_ext <<EOF |
9351 #line 9352 "configure" | 9424 #line 9425 "configure" |
9352 #include "confdefs.h" | 9425 #include "confdefs.h" |
9353 /* Override any gcc2 internal prototype to avoid an error. */ | 9426 /* Override any gcc2 internal prototype to avoid an error. */ |
9354 /* We use char because int might match the return type of a gcc2 | 9427 /* We use char because int might match the return type of a gcc2 |
9355 builtin and then its argument prototype would still apply. */ | 9428 builtin and then its argument prototype would still apply. */ |
9356 char Gpm_Open(); | 9429 char Gpm_Open(); |
9357 | 9430 |
9358 int main() { | 9431 int main() { |
9359 Gpm_Open() | 9432 Gpm_Open() |
9360 ; return 0; } | 9433 ; return 0; } |
9361 EOF | 9434 EOF |
9362 if { (eval echo configure:9363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9363 rm -rf conftest* | 9436 rm -rf conftest* |
9364 eval "ac_cv_lib_$ac_lib_var=yes" | 9437 eval "ac_cv_lib_$ac_lib_var=yes" |
9365 else | 9438 else |
9366 echo "configure: failed program was:" >&5 | 9439 echo "configure: failed program was:" >&5 |
9367 cat conftest.$ac_ext >&5 | 9440 cat conftest.$ac_ext >&5 |
9406 echo " xemacs will be linked with \"event-unixoid.o\"" | 9479 echo " xemacs will be linked with \"event-unixoid.o\"" |
9407 fi | 9480 fi |
9408 | 9481 |
9409 | 9482 |
9410 echo "checking for database support" 1>&6 | 9483 echo "checking for database support" 1>&6 |
9411 echo "configure:9412: checking for database support" >&5 | 9484 echo "configure:9485: checking for database support" >&5 |
9412 | 9485 |
9413 if test "$with_database_gnudbm" != "no"; then | 9486 if test "$with_database_gnudbm" != "no"; then |
9414 | 9487 |
9415 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9488 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9416 echo "configure:9417: checking for dbm_open in -lgdbm" >&5 | 9489 echo "configure:9490: checking for dbm_open in -lgdbm" >&5 |
9417 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9490 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9418 | 9491 |
9419 xe_check_libs=" -lgdbm " | 9492 xe_check_libs=" -lgdbm " |
9420 cat > conftest.$ac_ext <<EOF | 9493 cat > conftest.$ac_ext <<EOF |
9421 #line 9422 "configure" | 9494 #line 9495 "configure" |
9422 #include "confdefs.h" | 9495 #include "confdefs.h" |
9423 /* Override any gcc2 internal prototype to avoid an error. */ | 9496 /* Override any gcc2 internal prototype to avoid an error. */ |
9424 /* We use char because int might match the return type of a gcc2 | 9497 /* We use char because int might match the return type of a gcc2 |
9425 builtin and then its argument prototype would still apply. */ | 9498 builtin and then its argument prototype would still apply. */ |
9426 char dbm_open(); | 9499 char dbm_open(); |
9427 | 9500 |
9428 int main() { | 9501 int main() { |
9429 dbm_open() | 9502 dbm_open() |
9430 ; return 0; } | 9503 ; return 0; } |
9431 EOF | 9504 EOF |
9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9505 if { (eval echo configure:9506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9433 rm -rf conftest* | 9506 rm -rf conftest* |
9434 eval "ac_cv_lib_$ac_lib_var=yes" | 9507 eval "ac_cv_lib_$ac_lib_var=yes" |
9435 else | 9508 else |
9436 echo "configure: failed program was:" >&5 | 9509 echo "configure: failed program was:" >&5 |
9437 cat conftest.$ac_ext >&5 | 9510 cat conftest.$ac_ext >&5 |
9449 fi | 9522 fi |
9450 | 9523 |
9451 | 9524 |
9452 if test "$with_database_gnudbm" != "yes"; then | 9525 if test "$with_database_gnudbm" != "yes"; then |
9453 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9526 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9454 echo "configure:9455: checking for dbm_open" >&5 | 9527 echo "configure:9528: checking for dbm_open" >&5 |
9455 | 9528 |
9456 cat > conftest.$ac_ext <<EOF | 9529 cat > conftest.$ac_ext <<EOF |
9457 #line 9458 "configure" | 9530 #line 9531 "configure" |
9458 #include "confdefs.h" | 9531 #include "confdefs.h" |
9459 /* System header to define __stub macros and hopefully few prototypes, | 9532 /* System header to define __stub macros and hopefully few prototypes, |
9460 which can conflict with char dbm_open(); below. */ | 9533 which can conflict with char dbm_open(); below. */ |
9461 #include <assert.h> | 9534 #include <assert.h> |
9462 /* Override any gcc2 internal prototype to avoid an error. */ | 9535 /* Override any gcc2 internal prototype to avoid an error. */ |
9475 dbm_open(); | 9548 dbm_open(); |
9476 #endif | 9549 #endif |
9477 | 9550 |
9478 ; return 0; } | 9551 ; return 0; } |
9479 EOF | 9552 EOF |
9480 if { (eval echo configure:9481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9553 if { (eval echo configure:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9481 rm -rf conftest* | 9554 rm -rf conftest* |
9482 eval "ac_cv_func_dbm_open=yes" | 9555 eval "ac_cv_func_dbm_open=yes" |
9483 else | 9556 else |
9484 echo "configure: failed program was:" >&5 | 9557 echo "configure: failed program was:" >&5 |
9485 cat conftest.$ac_ext >&5 | 9558 cat conftest.$ac_ext >&5 |
9511 fi | 9584 fi |
9512 fi | 9585 fi |
9513 | 9586 |
9514 if test "$with_database_dbm" != "no"; then | 9587 if test "$with_database_dbm" != "no"; then |
9515 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9588 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9516 echo "configure:9517: checking for dbm_open" >&5 | 9589 echo "configure:9590: checking for dbm_open" >&5 |
9517 | 9590 |
9518 cat > conftest.$ac_ext <<EOF | 9591 cat > conftest.$ac_ext <<EOF |
9519 #line 9520 "configure" | 9592 #line 9593 "configure" |
9520 #include "confdefs.h" | 9593 #include "confdefs.h" |
9521 /* System header to define __stub macros and hopefully few prototypes, | 9594 /* System header to define __stub macros and hopefully few prototypes, |
9522 which can conflict with char dbm_open(); below. */ | 9595 which can conflict with char dbm_open(); below. */ |
9523 #include <assert.h> | 9596 #include <assert.h> |
9524 /* Override any gcc2 internal prototype to avoid an error. */ | 9597 /* Override any gcc2 internal prototype to avoid an error. */ |
9537 dbm_open(); | 9610 dbm_open(); |
9538 #endif | 9611 #endif |
9539 | 9612 |
9540 ; return 0; } | 9613 ; return 0; } |
9541 EOF | 9614 EOF |
9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9615 if { (eval echo configure:9616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9543 rm -rf conftest* | 9616 rm -rf conftest* |
9544 eval "ac_cv_func_dbm_open=yes" | 9617 eval "ac_cv_func_dbm_open=yes" |
9545 else | 9618 else |
9546 echo "configure: failed program was:" >&5 | 9619 echo "configure: failed program was:" >&5 |
9547 cat conftest.$ac_ext >&5 | 9620 cat conftest.$ac_ext >&5 |
9558 fi | 9631 fi |
9559 | 9632 |
9560 if test "$need_libdbm" != "no"; then | 9633 if test "$need_libdbm" != "no"; then |
9561 | 9634 |
9562 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9635 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
9563 echo "configure:9564: checking for dbm_open in -ldbm" >&5 | 9636 echo "configure:9637: checking for dbm_open in -ldbm" >&5 |
9564 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9637 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9565 | 9638 |
9566 xe_check_libs=" -ldbm " | 9639 xe_check_libs=" -ldbm " |
9567 cat > conftest.$ac_ext <<EOF | 9640 cat > conftest.$ac_ext <<EOF |
9568 #line 9569 "configure" | 9641 #line 9642 "configure" |
9569 #include "confdefs.h" | 9642 #include "confdefs.h" |
9570 /* Override any gcc2 internal prototype to avoid an error. */ | 9643 /* Override any gcc2 internal prototype to avoid an error. */ |
9571 /* We use char because int might match the return type of a gcc2 | 9644 /* We use char because int might match the return type of a gcc2 |
9572 builtin and then its argument prototype would still apply. */ | 9645 builtin and then its argument prototype would still apply. */ |
9573 char dbm_open(); | 9646 char dbm_open(); |
9574 | 9647 |
9575 int main() { | 9648 int main() { |
9576 dbm_open() | 9649 dbm_open() |
9577 ; return 0; } | 9650 ; return 0; } |
9578 EOF | 9651 EOF |
9579 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9652 if { (eval echo configure:9653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9580 rm -rf conftest* | 9653 rm -rf conftest* |
9581 eval "ac_cv_lib_$ac_lib_var=yes" | 9654 eval "ac_cv_lib_$ac_lib_var=yes" |
9582 else | 9655 else |
9583 echo "configure: failed program was:" >&5 | 9656 echo "configure: failed program was:" >&5 |
9584 cat conftest.$ac_ext >&5 | 9657 cat conftest.$ac_ext >&5 |
9611 fi | 9684 fi |
9612 fi | 9685 fi |
9613 | 9686 |
9614 if test "$with_database_berkdb" != "no"; then | 9687 if test "$with_database_berkdb" != "no"; then |
9615 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9688 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
9616 echo "configure:9617: checking for dbopen" >&5 | 9689 echo "configure:9690: checking for dbopen" >&5 |
9617 | 9690 |
9618 cat > conftest.$ac_ext <<EOF | 9691 cat > conftest.$ac_ext <<EOF |
9619 #line 9620 "configure" | 9692 #line 9693 "configure" |
9620 #include "confdefs.h" | 9693 #include "confdefs.h" |
9621 /* System header to define __stub macros and hopefully few prototypes, | 9694 /* System header to define __stub macros and hopefully few prototypes, |
9622 which can conflict with char dbopen(); below. */ | 9695 which can conflict with char dbopen(); below. */ |
9623 #include <assert.h> | 9696 #include <assert.h> |
9624 /* Override any gcc2 internal prototype to avoid an error. */ | 9697 /* Override any gcc2 internal prototype to avoid an error. */ |
9637 dbopen(); | 9710 dbopen(); |
9638 #endif | 9711 #endif |
9639 | 9712 |
9640 ; return 0; } | 9713 ; return 0; } |
9641 EOF | 9714 EOF |
9642 if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9715 if { (eval echo configure:9716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9643 rm -rf conftest* | 9716 rm -rf conftest* |
9644 eval "ac_cv_func_dbopen=yes" | 9717 eval "ac_cv_func_dbopen=yes" |
9645 else | 9718 else |
9646 echo "configure: failed program was:" >&5 | 9719 echo "configure: failed program was:" >&5 |
9647 cat conftest.$ac_ext >&5 | 9720 cat conftest.$ac_ext >&5 |
9658 fi | 9731 fi |
9659 | 9732 |
9660 if test "$need_libdb" != "no"; then | 9733 if test "$need_libdb" != "no"; then |
9661 | 9734 |
9662 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9735 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
9663 echo "configure:9664: checking for dbopen in -ldb" >&5 | 9736 echo "configure:9737: checking for dbopen in -ldb" >&5 |
9664 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9737 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
9665 | 9738 |
9666 xe_check_libs=" -ldb " | 9739 xe_check_libs=" -ldb " |
9667 cat > conftest.$ac_ext <<EOF | 9740 cat > conftest.$ac_ext <<EOF |
9668 #line 9669 "configure" | 9741 #line 9742 "configure" |
9669 #include "confdefs.h" | 9742 #include "confdefs.h" |
9670 /* Override any gcc2 internal prototype to avoid an error. */ | 9743 /* Override any gcc2 internal prototype to avoid an error. */ |
9671 /* We use char because int might match the return type of a gcc2 | 9744 /* We use char because int might match the return type of a gcc2 |
9672 builtin and then its argument prototype would still apply. */ | 9745 builtin and then its argument prototype would still apply. */ |
9673 char dbopen(); | 9746 char dbopen(); |
9674 | 9747 |
9675 int main() { | 9748 int main() { |
9676 dbopen() | 9749 dbopen() |
9677 ; return 0; } | 9750 ; return 0; } |
9678 EOF | 9751 EOF |
9679 if { (eval echo configure:9680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9752 if { (eval echo configure:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9680 rm -rf conftest* | 9753 rm -rf conftest* |
9681 eval "ac_cv_lib_$ac_lib_var=yes" | 9754 eval "ac_cv_lib_$ac_lib_var=yes" |
9682 else | 9755 else |
9683 echo "configure: failed program was:" >&5 | 9756 echo "configure: failed program was:" >&5 |
9684 cat conftest.$ac_ext >&5 | 9757 cat conftest.$ac_ext >&5 |
9698 | 9771 |
9699 fi | 9772 fi |
9700 if test "$with_database_berkdb" = "yes"; then | 9773 if test "$with_database_berkdb" = "yes"; then |
9701 for path in "db/db.h" "db.h"; do | 9774 for path in "db/db.h" "db.h"; do |
9702 cat > conftest.$ac_ext <<EOF | 9775 cat > conftest.$ac_ext <<EOF |
9703 #line 9704 "configure" | 9776 #line 9777 "configure" |
9704 #include "confdefs.h" | 9777 #include "confdefs.h" |
9705 #ifdef HAVE_INTTYPES_H | 9778 #ifdef HAVE_INTTYPES_H |
9706 #define __BIT_TYPES_DEFINED__ | 9779 #define __BIT_TYPES_DEFINED__ |
9707 #include <inttypes.h> | 9780 #include <inttypes.h> |
9708 typedef uint8_t u_int8_t; | 9781 typedef uint8_t u_int8_t; |
9716 | 9789 |
9717 int main() { | 9790 int main() { |
9718 | 9791 |
9719 ; return 0; } | 9792 ; return 0; } |
9720 EOF | 9793 EOF |
9721 if { (eval echo configure:9722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9794 if { (eval echo configure:9795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9722 rm -rf conftest* | 9795 rm -rf conftest* |
9723 db_h_path="$path"; break | 9796 db_h_path="$path"; break |
9724 else | 9797 else |
9725 echo "configure: failed program was:" >&5 | 9798 echo "configure: failed program was:" >&5 |
9726 cat conftest.$ac_ext >&5 | 9799 cat conftest.$ac_ext >&5 |
9768 fi | 9841 fi |
9769 | 9842 |
9770 if test "$with_socks" = "yes"; then | 9843 if test "$with_socks" = "yes"; then |
9771 | 9844 |
9772 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9845 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
9773 echo "configure:9774: checking for SOCKSinit in -lsocks" >&5 | 9846 echo "configure:9847: checking for SOCKSinit in -lsocks" >&5 |
9774 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9847 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
9775 | 9848 |
9776 xe_check_libs=" -lsocks " | 9849 xe_check_libs=" -lsocks " |
9777 cat > conftest.$ac_ext <<EOF | 9850 cat > conftest.$ac_ext <<EOF |
9778 #line 9779 "configure" | 9851 #line 9852 "configure" |
9779 #include "confdefs.h" | 9852 #include "confdefs.h" |
9780 /* Override any gcc2 internal prototype to avoid an error. */ | 9853 /* Override any gcc2 internal prototype to avoid an error. */ |
9781 /* We use char because int might match the return type of a gcc2 | 9854 /* We use char because int might match the return type of a gcc2 |
9782 builtin and then its argument prototype would still apply. */ | 9855 builtin and then its argument prototype would still apply. */ |
9783 char SOCKSinit(); | 9856 char SOCKSinit(); |
9784 | 9857 |
9785 int main() { | 9858 int main() { |
9786 SOCKSinit() | 9859 SOCKSinit() |
9787 ; return 0; } | 9860 ; return 0; } |
9788 EOF | 9861 EOF |
9789 if { (eval echo configure:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9790 rm -rf conftest* | 9863 rm -rf conftest* |
9791 eval "ac_cv_lib_$ac_lib_var=yes" | 9864 eval "ac_cv_lib_$ac_lib_var=yes" |
9792 else | 9865 else |
9793 echo "configure: failed program was:" >&5 | 9866 echo "configure: failed program was:" >&5 |
9794 cat conftest.$ac_ext >&5 | 9867 cat conftest.$ac_ext >&5 |