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