Mercurial > hg > xemacs-beta
comparison configure @ 1123:37bdd24225ef
[xemacs-hg @ 2002-11-27 07:15:02 by ben]
bug fixes, profiling debugging improvements
configure.in: Check for GCC version and only use -Wpacked in v3.
.cvsignore: Add .idb, .ilk for MS Windows VC++.
cl-macs.el: Document better.
cmdloop.el: Removed.
Remove nonworking breakpoint-on-error now that debug-on-error
works as documented.
help.el: Extract out with-displaying-help-buffer into a more general
mechanism.
lib-complete.el: Support thunks in find-library-source-path.
startup.el: Don't catch errors when noninteractive, because that makes
stack traces from stack-trace-on-error useless.
.cvsignore: Windows shit.
alloc.c: Better redisplay-related assert.
elhash.c: Comment change.
eval.c: Don't generate large warning strings (e.g. backtraces) when they will
be discarded.
Implement debug-on-error as documented -- it will enter the
debugger and crash when an uncaught signal happens noninteractively
and we are --debug.
Better redisplay-related asserts.
frame-msw.c, frame.c, lisp.h, redisplay.c, scrollbar-gtk.c, scrollbar-x.c, signal.c, sysdep.c: Fix up documentation related to QUIT (which CANNOT garbage-collect
under any circumstances), and to redisplay critical sections.
lread.c: Add load-ignore-out-of-date-elc-files,
load-always-display-messages, load-show-full-path-in-messages for
more robust package compilation and debugging.
profile.c: Overhaul profile code. Change format to include call count and be
extensible for further info. Remove call-count-profile-table.
Add set-profiling-info. See related profile.el changes (which
SHOULD ABSOLUTELY be in the core! Get rid of xemacs-devel and
xemacs-base packages *yesterday*!).
author | ben |
---|---|
date | Wed, 27 Nov 2002 07:15:36 +0000 |
parents | 184461bc8de4 |
children | 8e95979f01c6 |
comparison
equal
deleted
inserted
replaced
1122:7abc2b15a990 | 1123:37bdd24225ef |
---|---|
2298 fi | 2298 fi |
2299 | 2299 |
2300 fi | 2300 fi |
2301 CFLAGS="$xe_save_CFLAGS" | 2301 CFLAGS="$xe_save_CFLAGS" |
2302 | 2302 |
2303 if test "$GCC" = "yes"; then | |
2304 cat > conftest.$ac_ext <<EOF | |
2305 #line 2306 "configure" | |
2306 #include "confdefs.h" | |
2307 int main () { | |
2308 #if __GNUC__ >= 3 | |
2309 return 11; | |
2310 #else | |
2311 return 0; | |
2312 #endif | |
2313 } | |
2314 EOF | |
2315 if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | |
2316 then | |
2317 : | |
2318 else | |
2319 conftest_rc="$?" | |
2320 echo "configure: failed program was:" >&5 | |
2321 cat conftest.$ac_ext >&5 | |
2322 rm -fr conftest* | |
2323 case "$conftest_rc" in | |
2324 11) echo "You appear to be using GCC version 3 or above."; __GCC3=yes ;; | |
2325 esac | |
2326 fi | |
2327 rm -fr conftest* | |
2328 fi | |
2329 | |
2303 | 2330 |
2304 test -n "$CPP" -a -d "$CPP" && CPP= | 2331 test -n "$CPP" -a -d "$CPP" && CPP= |
2305 | 2332 |
2306 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2333 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2307 | 2334 |
2308 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2335 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2309 echo "configure:2310: checking how to run the C preprocessor" >&5 | 2336 echo "configure:2337: checking how to run the C preprocessor" >&5 |
2310 # On Suns, sometimes $CPP names a directory. | 2337 # On Suns, sometimes $CPP names a directory. |
2311 if test -n "$CPP" && test -d "$CPP"; then | 2338 if test -n "$CPP" && test -d "$CPP"; then |
2312 CPP= | 2339 CPP= |
2313 fi | 2340 fi |
2314 if test -z "$CPP"; then | 2341 if test -z "$CPP"; then |
2317 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2344 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2318 CPP="${CC-cc} -E" | 2345 CPP="${CC-cc} -E" |
2319 # On the NeXT, cc -E runs the code through the compiler's parser, | 2346 # On the NeXT, cc -E runs the code through the compiler's parser, |
2320 # not just through cpp. | 2347 # not just through cpp. |
2321 cat > conftest.$ac_ext <<EOF | 2348 cat > conftest.$ac_ext <<EOF |
2322 #line 2323 "configure" | 2349 #line 2350 "configure" |
2323 #include "confdefs.h" | 2350 #include "confdefs.h" |
2324 #include <assert.h> | 2351 #include <assert.h> |
2325 Syntax Error | 2352 Syntax Error |
2326 EOF | 2353 EOF |
2327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2328 { (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2355 { (eval echo configure:2356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2330 if test -z "$ac_err"; then | 2357 if test -z "$ac_err"; then |
2331 : | 2358 : |
2332 else | 2359 else |
2333 echo "$ac_err" >&5 | 2360 echo "$ac_err" >&5 |
2334 echo "configure: failed program was:" >&5 | 2361 echo "configure: failed program was:" >&5 |
2335 cat conftest.$ac_ext >&5 | 2362 cat conftest.$ac_ext >&5 |
2336 rm -rf conftest* | 2363 rm -rf conftest* |
2337 CPP="${CC-cc} -E -traditional-cpp" | 2364 CPP="${CC-cc} -E -traditional-cpp" |
2338 cat > conftest.$ac_ext <<EOF | 2365 cat > conftest.$ac_ext <<EOF |
2339 #line 2340 "configure" | 2366 #line 2367 "configure" |
2340 #include "confdefs.h" | 2367 #include "confdefs.h" |
2341 #include <assert.h> | 2368 #include <assert.h> |
2342 Syntax Error | 2369 Syntax Error |
2343 EOF | 2370 EOF |
2344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2345 { (eval echo configure:2346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2372 { (eval echo configure:2373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2347 if test -z "$ac_err"; then | 2374 if test -z "$ac_err"; then |
2348 : | 2375 : |
2349 else | 2376 else |
2350 echo "$ac_err" >&5 | 2377 echo "$ac_err" >&5 |
2351 echo "configure: failed program was:" >&5 | 2378 echo "configure: failed program was:" >&5 |
2352 cat conftest.$ac_ext >&5 | 2379 cat conftest.$ac_ext >&5 |
2353 rm -rf conftest* | 2380 rm -rf conftest* |
2354 CPP="${CC-cc} -nologo -E" | 2381 CPP="${CC-cc} -nologo -E" |
2355 cat > conftest.$ac_ext <<EOF | 2382 cat > conftest.$ac_ext <<EOF |
2356 #line 2357 "configure" | 2383 #line 2384 "configure" |
2357 #include "confdefs.h" | 2384 #include "confdefs.h" |
2358 #include <assert.h> | 2385 #include <assert.h> |
2359 Syntax Error | 2386 Syntax Error |
2360 EOF | 2387 EOF |
2361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2362 { (eval echo configure:2363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2389 { (eval echo configure:2390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2364 if test -z "$ac_err"; then | 2391 if test -z "$ac_err"; then |
2365 : | 2392 : |
2366 else | 2393 else |
2367 echo "$ac_err" >&5 | 2394 echo "$ac_err" >&5 |
2383 echo "$ac_t""$CPP" 1>&6 | 2410 echo "$ac_t""$CPP" 1>&6 |
2384 | 2411 |
2385 | 2412 |
2386 | 2413 |
2387 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2414 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2388 echo "configure:2389: checking for AIX" >&5 | 2415 echo "configure:2416: checking for AIX" >&5 |
2389 cat > conftest.$ac_ext <<EOF | 2416 cat > conftest.$ac_ext <<EOF |
2390 #line 2391 "configure" | 2417 #line 2418 "configure" |
2391 #include "confdefs.h" | 2418 #include "confdefs.h" |
2392 #ifdef _AIX | 2419 #ifdef _AIX |
2393 yes | 2420 yes |
2394 #endif | 2421 #endif |
2395 | 2422 |
2412 rm -f conftest* | 2439 rm -f conftest* |
2413 | 2440 |
2414 | 2441 |
2415 | 2442 |
2416 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2443 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2417 echo "configure:2418: checking for GNU libc" >&5 | 2444 echo "configure:2445: checking for GNU libc" >&5 |
2418 cat > conftest.$ac_ext <<EOF | 2445 cat > conftest.$ac_ext <<EOF |
2419 #line 2420 "configure" | 2446 #line 2447 "configure" |
2420 #include "confdefs.h" | 2447 #include "confdefs.h" |
2421 #include <features.h> | 2448 #include <features.h> |
2422 int main() { | 2449 int main() { |
2423 | 2450 |
2424 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2451 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2426 ******* ======= ******** &&&&&&&& | 2453 ******* ======= ******** &&&&&&&& |
2427 #endif | 2454 #endif |
2428 | 2455 |
2429 ; return 0; } | 2456 ; return 0; } |
2430 EOF | 2457 EOF |
2431 if { (eval echo configure:2432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2458 if { (eval echo configure:2459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2432 rm -rf conftest* | 2459 rm -rf conftest* |
2433 have_glibc=yes | 2460 have_glibc=yes |
2434 else | 2461 else |
2435 echo "configure: failed program was:" >&5 | 2462 echo "configure: failed program was:" >&5 |
2436 cat conftest.$ac_ext >&5 | 2463 cat conftest.$ac_ext >&5 |
2503 | 2530 |
2504 ;; | 2531 ;; |
2505 esac | 2532 esac |
2506 | 2533 |
2507 cat > conftest.$ac_ext <<EOF | 2534 cat > conftest.$ac_ext <<EOF |
2508 #line 2509 "configure" | 2535 #line 2536 "configure" |
2509 #include "confdefs.h" | 2536 #include "confdefs.h" |
2510 int main () { | 2537 int main () { |
2511 #if defined __SUNPRO_C | 2538 #if defined __SUNPRO_C |
2512 return 11; | 2539 return 11; |
2513 #elif defined __DECC | 2540 #elif defined __DECC |
2517 #else | 2544 #else |
2518 return 0; | 2545 return 0; |
2519 #endif | 2546 #endif |
2520 } | 2547 } |
2521 EOF | 2548 EOF |
2522 if { (eval echo configure:2523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2549 if { (eval echo configure:2550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2523 then | 2550 then |
2524 : | 2551 : |
2525 else | 2552 else |
2526 conftest_rc="$?" | 2553 conftest_rc="$?" |
2527 echo "configure: failed program was:" >&5 | 2554 echo "configure: failed program was:" >&5 |
2769 | 2796 |
2770 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2797 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2771 | 2798 |
2772 if test "$__USLC__" = yes; then | 2799 if test "$__USLC__" = yes; then |
2773 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2800 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2774 echo "configure:2775: checking for whether the -Kalloca compiler flag is needed" >&5 | 2801 echo "configure:2802: checking for whether the -Kalloca compiler flag is needed" >&5 |
2775 need_kalloca=no | 2802 need_kalloca=no |
2776 cat > conftest.$ac_ext <<EOF | 2803 cat > conftest.$ac_ext <<EOF |
2777 #line 2778 "configure" | 2804 #line 2805 "configure" |
2778 #include "confdefs.h" | 2805 #include "confdefs.h" |
2779 | 2806 |
2780 int main() { | 2807 int main() { |
2781 void *x = alloca(4); | 2808 void *x = alloca(4); |
2782 ; return 0; } | 2809 ; return 0; } |
2783 EOF | 2810 EOF |
2784 if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2811 if { (eval echo configure:2812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2785 rm -rf conftest* | 2812 rm -rf conftest* |
2786 : | 2813 : |
2787 else | 2814 else |
2788 echo "configure: failed program was:" >&5 | 2815 echo "configure: failed program was:" >&5 |
2789 cat conftest.$ac_ext >&5 | 2816 cat conftest.$ac_ext >&5 |
2790 rm -rf conftest* | 2817 rm -rf conftest* |
2791 | 2818 |
2792 xe_save_c_switch_system="$c_switch_system" | 2819 xe_save_c_switch_system="$c_switch_system" |
2793 c_switch_system="$c_switch_system -Kalloca" | 2820 c_switch_system="$c_switch_system -Kalloca" |
2794 cat > conftest.$ac_ext <<EOF | 2821 cat > conftest.$ac_ext <<EOF |
2795 #line 2796 "configure" | 2822 #line 2823 "configure" |
2796 #include "confdefs.h" | 2823 #include "confdefs.h" |
2797 | 2824 |
2798 int main() { | 2825 int main() { |
2799 void *x = alloca(4); | 2826 void *x = alloca(4); |
2800 ; return 0; } | 2827 ; return 0; } |
2801 EOF | 2828 EOF |
2802 if { (eval echo configure:2803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2829 if { (eval echo configure:2830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2803 rm -rf conftest* | 2830 rm -rf conftest* |
2804 need_kalloca=yes | 2831 need_kalloca=yes |
2805 else | 2832 else |
2806 echo "configure: failed program was:" >&5 | 2833 echo "configure: failed program was:" >&5 |
2807 cat conftest.$ac_ext >&5 | 2834 cat conftest.$ac_ext >&5 |
2813 echo "$ac_t""$need_kalloca" 1>&6 | 2840 echo "$ac_t""$need_kalloca" 1>&6 |
2814 test "$need_kalloca" = "yes" && c_switch_system="$c_switch_system -Kalloca" && if test "$extra_verbose" = "yes"; then echo " Appending \"-Kalloca\" to \$c_switch_system"; fi | 2841 test "$need_kalloca" = "yes" && c_switch_system="$c_switch_system -Kalloca" && if test "$extra_verbose" = "yes"; then echo " Appending \"-Kalloca\" to \$c_switch_system"; fi |
2815 fi | 2842 fi |
2816 | 2843 |
2817 if test "$cflags_specified" = "no"; then | 2844 if test "$cflags_specified" = "no"; then |
2818 if test "$GCC" = "yes"; then | 2845 if test "$GCC" = "yes"; then |
2819 CFLAGS="-g -O3" | 2846 CFLAGS="-g -O3" |
2820 elif test "$__SUNPRO_C" = "yes"; then | 2847 elif test "$__SUNPRO_C" = "yes"; then |
2821 case "$opsys" in | 2848 case "$opsys" in |
2822 sol2 ) CFLAGS="-xO4" ;; | 2849 sol2 ) CFLAGS="-xO4" ;; |
2823 sunos4* ) CFLAGS="-xO2" ;; | 2850 sunos4* ) CFLAGS="-xO2" ;; |
2830 CFLAGS="-O" ; fi | 2857 CFLAGS="-O" ; fi |
2831 fi | 2858 fi |
2832 | 2859 |
2833 | 2860 |
2834 if test "$cflags_warning_specified" = "no"; then | 2861 if test "$cflags_warning_specified" = "no"; then |
2835 if test "$GCC" = "yes"; then | 2862 if test "$GCC" = "yes"; then |
2836 cflags_warning="-Wall -Wno-switch -Winline -Wmissing-prototypes" | 2863 cflags_warning="-Wall -Wno-switch -Winline -Wmissing-prototypes" |
2837 cflags_warning="$cflags_warning -Wsign-compare" | 2864 cflags_warning="$cflags_warning -Wsign-compare" |
2838 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes -Wpacked" | 2865 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes" |
2866 if test "$__GCC3" = "yes"; then | |
2867 cflags_warning="$cflags_warning -Wpacked" | |
2868 fi | |
2839 if test "$xemacs_compiler" != "g++"; then | 2869 if test "$xemacs_compiler" != "g++"; then |
2840 cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations" | 2870 cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations" |
2841 else | 2871 else |
2842 cflags_warning="$cflags_warning -Weffc++" | 2872 cflags_warning="$cflags_warning -Weffc++" |
2843 fi | 2873 fi |
2854 | 2884 |
2855 CFLAGS="$cflags_warning $CFLAGS" | 2885 CFLAGS="$cflags_warning $CFLAGS" |
2856 | 2886 |
2857 if test "$GCC" = "yes"; then | 2887 if test "$GCC" = "yes"; then |
2858 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2888 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2859 echo "configure:2860: checking for buggy gcc versions" >&5 | 2889 echo "configure:2890: checking for buggy gcc versions" >&5 |
2860 GCC_VERSION=`$CC --version` | 2890 GCC_VERSION=`$CC --version` |
2861 case `uname -s`:`uname -m`:$GCC_VERSION in | 2891 case `uname -s`:`uname -m`:$GCC_VERSION in |
2862 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2892 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2863 case "$CFLAGS" in | 2893 case "$CFLAGS" in |
2864 *-O2*|*-O3*) | 2894 *-O2*|*-O3*) |
2912 echo "$ac_t""no" 1>&6 | 2942 echo "$ac_t""no" 1>&6 |
2913 fi | 2943 fi |
2914 | 2944 |
2915 if test "$pdump" != "yes"; then | 2945 if test "$pdump" != "yes"; then |
2916 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2946 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2917 echo "configure:2918: checking for \"-z nocombreloc\" linker flag" >&5 | 2947 echo "configure:2948: checking for \"-z nocombreloc\" linker flag" >&5 |
2918 case "`ld --help 2>&1`" in | 2948 case "`ld --help 2>&1`" in |
2919 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2949 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2920 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2950 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2921 *) echo "$ac_t""no" 1>&6 ;; | 2951 *) echo "$ac_t""no" 1>&6 ;; |
2922 esac | 2952 esac |
3001 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3031 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3002 echo " xemacs will be linked with \"dumper.o\"" | 3032 echo " xemacs will be linked with \"dumper.o\"" |
3003 fi | 3033 fi |
3004 | 3034 |
3005 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3035 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3006 echo "configure:3007: checking for dynodump" >&5 | 3036 echo "configure:3037: checking for dynodump" >&5 |
3007 if test "$unexec" != "unexsol2.o"; then | 3037 if test "$unexec" != "unexsol2.o"; then |
3008 echo "$ac_t""no" 1>&6 | 3038 echo "$ac_t""no" 1>&6 |
3009 else | 3039 else |
3010 echo "$ac_t""yes" 1>&6 | 3040 echo "$ac_t""yes" 1>&6 |
3011 { test "$extra_verbose" = "yes" && cat << \EOF | 3041 { test "$extra_verbose" = "yes" && cat << \EOF |
3039 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3069 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3040 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3070 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3041 done | 3071 done |
3042 | 3072 |
3043 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3073 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3044 echo "configure:3045: checking for terminateAndUnload in -lC" >&5 | 3074 echo "configure:3075: checking for terminateAndUnload in -lC" >&5 |
3045 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3075 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3046 | 3076 |
3047 xe_check_libs=" -lC " | 3077 xe_check_libs=" -lC " |
3048 cat > conftest.$ac_ext <<EOF | 3078 cat > conftest.$ac_ext <<EOF |
3049 #line 3050 "configure" | 3079 #line 3080 "configure" |
3050 #include "confdefs.h" | 3080 #include "confdefs.h" |
3051 /* Override any gcc2 internal prototype to avoid an error. */ | 3081 /* Override any gcc2 internal prototype to avoid an error. */ |
3052 /* We use char because int might match the return type of a gcc2 | 3082 /* We use char because int might match the return type of a gcc2 |
3053 builtin and then its argument prototype would still apply. */ | 3083 builtin and then its argument prototype would still apply. */ |
3054 char terminateAndUnload(); | 3084 char terminateAndUnload(); |
3055 | 3085 |
3056 int main() { | 3086 int main() { |
3057 terminateAndUnload() | 3087 terminateAndUnload() |
3058 ; return 0; } | 3088 ; return 0; } |
3059 EOF | 3089 EOF |
3060 if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3090 if { (eval echo configure:3091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3061 rm -rf conftest* | 3091 rm -rf conftest* |
3062 eval "ac_cv_lib_$ac_lib_var=yes" | 3092 eval "ac_cv_lib_$ac_lib_var=yes" |
3063 else | 3093 else |
3064 echo "configure: failed program was:" >&5 | 3094 echo "configure: failed program was:" >&5 |
3065 cat conftest.$ac_ext >&5 | 3095 cat conftest.$ac_ext >&5 |
3163 esac | 3193 esac |
3164 fi | 3194 fi |
3165 | 3195 |
3166 if test "$add_runtime_path" = "yes"; then | 3196 if test "$add_runtime_path" = "yes"; then |
3167 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3197 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3168 echo "configure:3169: checking "for runtime libraries flag"" >&5 | 3198 echo "configure:3199: checking "for runtime libraries flag"" >&5 |
3169 case "$opsys" in | 3199 case "$opsys" in |
3170 sol2 ) dash_r="-R" ;; | 3200 sol2 ) dash_r="-R" ;; |
3171 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3201 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3172 *) | 3202 *) |
3173 dash_r="" | 3203 dash_r="" |
3185 esac | 3215 esac |
3186 shift | 3216 shift |
3187 done | 3217 done |
3188 fi | 3218 fi |
3189 cat > conftest.$ac_ext <<EOF | 3219 cat > conftest.$ac_ext <<EOF |
3190 #line 3191 "configure" | 3220 #line 3221 "configure" |
3191 #include "confdefs.h" | 3221 #include "confdefs.h" |
3192 | 3222 |
3193 int main() { | 3223 int main() { |
3194 | 3224 |
3195 ; return 0; } | 3225 ; return 0; } |
3196 EOF | 3226 EOF |
3197 if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3227 if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3198 rm -rf conftest* | 3228 rm -rf conftest* |
3199 dash_r="$try_dash_r" | 3229 dash_r="$try_dash_r" |
3200 else | 3230 else |
3201 echo "configure: failed program was:" >&5 | 3231 echo "configure: failed program was:" >&5 |
3202 cat conftest.$ac_ext >&5 | 3232 cat conftest.$ac_ext >&5 |
3293 else | 3323 else |
3294 doug_lea_malloc=no | 3324 doug_lea_malloc=no |
3295 fi | 3325 fi |
3296 after_morecore_hook_exists=yes | 3326 after_morecore_hook_exists=yes |
3297 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3327 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3298 echo "configure:3299: checking for malloc_set_state" >&5 | 3328 echo "configure:3329: checking for malloc_set_state" >&5 |
3299 | 3329 |
3300 cat > conftest.$ac_ext <<EOF | 3330 cat > conftest.$ac_ext <<EOF |
3301 #line 3302 "configure" | 3331 #line 3332 "configure" |
3302 #include "confdefs.h" | 3332 #include "confdefs.h" |
3303 /* System header to define __stub macros and hopefully few prototypes, | 3333 /* System header to define __stub macros and hopefully few prototypes, |
3304 which can conflict with char malloc_set_state(); below. */ | 3334 which can conflict with char malloc_set_state(); below. */ |
3305 #include <assert.h> | 3335 #include <assert.h> |
3306 /* Override any gcc2 internal prototype to avoid an error. */ | 3336 /* Override any gcc2 internal prototype to avoid an error. */ |
3319 malloc_set_state(); | 3349 malloc_set_state(); |
3320 #endif | 3350 #endif |
3321 | 3351 |
3322 ; return 0; } | 3352 ; return 0; } |
3323 EOF | 3353 EOF |
3324 if { (eval echo configure:3325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3354 if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3325 rm -rf conftest* | 3355 rm -rf conftest* |
3326 eval "ac_cv_func_malloc_set_state=yes" | 3356 eval "ac_cv_func_malloc_set_state=yes" |
3327 else | 3357 else |
3328 echo "configure: failed program was:" >&5 | 3358 echo "configure: failed program was:" >&5 |
3329 cat conftest.$ac_ext >&5 | 3359 cat conftest.$ac_ext >&5 |
3339 echo "$ac_t""no" 1>&6 | 3369 echo "$ac_t""no" 1>&6 |
3340 doug_lea_malloc=no | 3370 doug_lea_malloc=no |
3341 fi | 3371 fi |
3342 | 3372 |
3343 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3373 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3344 echo "configure:3345: checking whether __after_morecore_hook exists" >&5 | 3374 echo "configure:3375: checking whether __after_morecore_hook exists" >&5 |
3345 cat > conftest.$ac_ext <<EOF | 3375 cat > conftest.$ac_ext <<EOF |
3346 #line 3347 "configure" | 3376 #line 3377 "configure" |
3347 #include "confdefs.h" | 3377 #include "confdefs.h" |
3348 extern void (* __after_morecore_hook)(); | 3378 extern void (* __after_morecore_hook)(); |
3349 int main() { | 3379 int main() { |
3350 __after_morecore_hook = 0 | 3380 __after_morecore_hook = 0 |
3351 ; return 0; } | 3381 ; return 0; } |
3352 EOF | 3382 EOF |
3353 if { (eval echo configure:3354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3383 if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3354 rm -rf conftest* | 3384 rm -rf conftest* |
3355 echo "$ac_t""yes" 1>&6 | 3385 echo "$ac_t""yes" 1>&6 |
3356 else | 3386 else |
3357 echo "configure: failed program was:" >&5 | 3387 echo "configure: failed program was:" >&5 |
3358 cat conftest.$ac_ext >&5 | 3388 cat conftest.$ac_ext >&5 |
3404 | 3434 |
3405 | 3435 |
3406 # Extract the first word of "ranlib", so it can be a program name with args. | 3436 # Extract the first word of "ranlib", so it can be a program name with args. |
3407 set dummy ranlib; ac_word=$2 | 3437 set dummy ranlib; ac_word=$2 |
3408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3438 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3409 echo "configure:3410: checking for $ac_word" >&5 | 3439 echo "configure:3440: checking for $ac_word" >&5 |
3410 | 3440 |
3411 if test -n "$RANLIB"; then | 3441 if test -n "$RANLIB"; then |
3412 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3442 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3413 else | 3443 else |
3414 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3444 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3459 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3462 # ./install, which can be erroneously created by make from ./install.sh. | 3492 # ./install, which can be erroneously created by make from ./install.sh. |
3463 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3493 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3464 echo "configure:3465: checking for a BSD compatible install" >&5 | 3494 echo "configure:3495: checking for a BSD compatible install" >&5 |
3465 if test -z "$INSTALL"; then | 3495 if test -z "$INSTALL"; then |
3466 | 3496 |
3467 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3497 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3468 for ac_dir in $PATH; do | 3498 for ac_dir in $PATH; do |
3469 # Account for people who put trailing slashes in PATH elements. | 3499 # Account for people who put trailing slashes in PATH elements. |
3513 for ac_prog in 'bison -y' byacc | 3543 for ac_prog in 'bison -y' byacc |
3514 do | 3544 do |
3515 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3545 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3516 set dummy $ac_prog; ac_word=$2 | 3546 set dummy $ac_prog; ac_word=$2 |
3517 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3547 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3518 echo "configure:3519: checking for $ac_word" >&5 | 3548 echo "configure:3549: checking for $ac_word" >&5 |
3519 | 3549 |
3520 if test -n "$YACC"; then | 3550 if test -n "$YACC"; then |
3521 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3551 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3522 else | 3552 else |
3523 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3553 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3545 | 3575 |
3546 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3576 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3547 do | 3577 do |
3548 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3578 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3549 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3579 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3550 echo "configure:3551: checking for $ac_hdr" >&5 | 3580 echo "configure:3581: checking for $ac_hdr" >&5 |
3551 | 3581 |
3552 cat > conftest.$ac_ext <<EOF | 3582 cat > conftest.$ac_ext <<EOF |
3553 #line 3554 "configure" | 3583 #line 3584 "configure" |
3554 #include "confdefs.h" | 3584 #include "confdefs.h" |
3555 #include <$ac_hdr> | 3585 #include <$ac_hdr> |
3556 EOF | 3586 EOF |
3557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3558 { (eval echo configure:3559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3588 { (eval echo configure:3589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3560 if test -z "$ac_err"; then | 3590 if test -z "$ac_err"; then |
3561 rm -rf conftest* | 3591 rm -rf conftest* |
3562 eval "ac_cv_header_$ac_safe=yes" | 3592 eval "ac_cv_header_$ac_safe=yes" |
3563 else | 3593 else |
3583 echo "$ac_t""no" 1>&6 | 3613 echo "$ac_t""no" 1>&6 |
3584 fi | 3614 fi |
3585 done | 3615 done |
3586 | 3616 |
3587 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3617 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3588 echo "configure:3589: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3618 echo "configure:3619: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3589 | 3619 |
3590 cat > conftest.$ac_ext <<EOF | 3620 cat > conftest.$ac_ext <<EOF |
3591 #line 3592 "configure" | 3621 #line 3622 "configure" |
3592 #include "confdefs.h" | 3622 #include "confdefs.h" |
3593 #include <sys/types.h> | 3623 #include <sys/types.h> |
3594 #include <sys/wait.h> | 3624 #include <sys/wait.h> |
3595 #ifndef WEXITSTATUS | 3625 #ifndef WEXITSTATUS |
3596 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3626 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3602 int s; | 3632 int s; |
3603 wait (&s); | 3633 wait (&s); |
3604 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3634 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3605 ; return 0; } | 3635 ; return 0; } |
3606 EOF | 3636 EOF |
3607 if { (eval echo configure:3608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3637 if { (eval echo configure:3638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3608 rm -rf conftest* | 3638 rm -rf conftest* |
3609 ac_cv_header_sys_wait_h=yes | 3639 ac_cv_header_sys_wait_h=yes |
3610 else | 3640 else |
3611 echo "configure: failed program was:" >&5 | 3641 echo "configure: failed program was:" >&5 |
3612 cat conftest.$ac_ext >&5 | 3642 cat conftest.$ac_ext >&5 |
3626 } | 3656 } |
3627 | 3657 |
3628 fi | 3658 fi |
3629 | 3659 |
3630 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3660 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3631 echo "configure:3632: checking for ANSI C header files" >&5 | 3661 echo "configure:3662: checking for ANSI C header files" >&5 |
3632 | 3662 |
3633 cat > conftest.$ac_ext <<EOF | 3663 cat > conftest.$ac_ext <<EOF |
3634 #line 3635 "configure" | 3664 #line 3665 "configure" |
3635 #include "confdefs.h" | 3665 #include "confdefs.h" |
3636 #include <stdlib.h> | 3666 #include <stdlib.h> |
3637 #include <stdarg.h> | 3667 #include <stdarg.h> |
3638 #include <string.h> | 3668 #include <string.h> |
3639 #include <float.h> | 3669 #include <float.h> |
3640 EOF | 3670 EOF |
3641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3642 { (eval echo configure:3643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3672 { (eval echo configure:3673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3673 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3644 if test -z "$ac_err"; then | 3674 if test -z "$ac_err"; then |
3645 rm -rf conftest* | 3675 rm -rf conftest* |
3646 ac_cv_header_stdc=yes | 3676 ac_cv_header_stdc=yes |
3647 else | 3677 else |
3654 rm -f conftest* | 3684 rm -f conftest* |
3655 | 3685 |
3656 if test $ac_cv_header_stdc = yes; then | 3686 if test $ac_cv_header_stdc = yes; then |
3657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3687 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3658 cat > conftest.$ac_ext <<EOF | 3688 cat > conftest.$ac_ext <<EOF |
3659 #line 3660 "configure" | 3689 #line 3690 "configure" |
3660 #include "confdefs.h" | 3690 #include "confdefs.h" |
3661 #include <string.h> | 3691 #include <string.h> |
3662 EOF | 3692 EOF |
3663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3664 egrep "memchr" >/dev/null 2>&1; then | 3694 egrep "memchr" >/dev/null 2>&1; then |
3672 fi | 3702 fi |
3673 | 3703 |
3674 if test $ac_cv_header_stdc = yes; then | 3704 if test $ac_cv_header_stdc = yes; then |
3675 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3705 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3676 cat > conftest.$ac_ext <<EOF | 3706 cat > conftest.$ac_ext <<EOF |
3677 #line 3678 "configure" | 3707 #line 3708 "configure" |
3678 #include "confdefs.h" | 3708 #include "confdefs.h" |
3679 #include <stdlib.h> | 3709 #include <stdlib.h> |
3680 EOF | 3710 EOF |
3681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3682 egrep "free" >/dev/null 2>&1; then | 3712 egrep "free" >/dev/null 2>&1; then |
3690 fi | 3720 fi |
3691 | 3721 |
3692 if test $ac_cv_header_stdc = yes; then | 3722 if test $ac_cv_header_stdc = yes; then |
3693 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3723 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3694 cat > conftest.$ac_ext <<EOF | 3724 cat > conftest.$ac_ext <<EOF |
3695 #line 3696 "configure" | 3725 #line 3726 "configure" |
3696 #include "confdefs.h" | 3726 #include "confdefs.h" |
3697 #include <ctype.h> | 3727 #include <ctype.h> |
3698 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3728 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3699 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3729 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3700 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3701 int main () { int i; for (i = 0; i < 256; i++) | 3731 int main () { int i; for (i = 0; i < 256; i++) |
3702 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3732 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3703 exit (0); } | 3733 exit (0); } |
3704 | 3734 |
3705 EOF | 3735 EOF |
3706 if { (eval echo configure:3707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3736 if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3707 then | 3737 then |
3708 : | 3738 : |
3709 else | 3739 else |
3710 conftest_rc="$?" | 3740 conftest_rc="$?" |
3711 echo "configure: failed program was:" >&5 | 3741 echo "configure: failed program was:" >&5 |
3727 } | 3757 } |
3728 | 3758 |
3729 fi | 3759 fi |
3730 | 3760 |
3731 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3761 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3732 echo "configure:3733: checking whether time.h and sys/time.h may both be included" >&5 | 3762 echo "configure:3763: checking whether time.h and sys/time.h may both be included" >&5 |
3733 | 3763 |
3734 cat > conftest.$ac_ext <<EOF | 3764 cat > conftest.$ac_ext <<EOF |
3735 #line 3736 "configure" | 3765 #line 3766 "configure" |
3736 #include "confdefs.h" | 3766 #include "confdefs.h" |
3737 #include <sys/types.h> | 3767 #include <sys/types.h> |
3738 #include <sys/time.h> | 3768 #include <sys/time.h> |
3739 #include <time.h> | 3769 #include <time.h> |
3740 int main() { | 3770 int main() { |
3741 struct tm *tp; | 3771 struct tm *tp; |
3742 ; return 0; } | 3772 ; return 0; } |
3743 EOF | 3773 EOF |
3744 if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3774 if { (eval echo configure:3775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3745 rm -rf conftest* | 3775 rm -rf conftest* |
3746 ac_cv_header_time=yes | 3776 ac_cv_header_time=yes |
3747 else | 3777 else |
3748 echo "configure: failed program was:" >&5 | 3778 echo "configure: failed program was:" >&5 |
3749 cat conftest.$ac_ext >&5 | 3779 cat conftest.$ac_ext >&5 |
3763 } | 3793 } |
3764 | 3794 |
3765 fi | 3795 fi |
3766 | 3796 |
3767 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3797 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3768 echo "configure:3769: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3798 echo "configure:3799: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3769 | 3799 |
3770 cat > conftest.$ac_ext <<EOF | 3800 cat > conftest.$ac_ext <<EOF |
3771 #line 3772 "configure" | 3801 #line 3802 "configure" |
3772 #include "confdefs.h" | 3802 #include "confdefs.h" |
3773 #include <sys/types.h> | 3803 #include <sys/types.h> |
3774 #include <signal.h> | 3804 #include <signal.h> |
3775 /* NetBSD declares sys_siglist in unistd.h. */ | 3805 /* NetBSD declares sys_siglist in unistd.h. */ |
3776 #ifdef HAVE_UNISTD_H | 3806 #ifdef HAVE_UNISTD_H |
3778 #endif | 3808 #endif |
3779 int main() { | 3809 int main() { |
3780 char *msg = *(sys_siglist + 1); | 3810 char *msg = *(sys_siglist + 1); |
3781 ; return 0; } | 3811 ; return 0; } |
3782 EOF | 3812 EOF |
3783 if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3813 if { (eval echo configure:3814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3784 rm -rf conftest* | 3814 rm -rf conftest* |
3785 ac_cv_decl_sys_siglist=yes | 3815 ac_cv_decl_sys_siglist=yes |
3786 else | 3816 else |
3787 echo "configure: failed program was:" >&5 | 3817 echo "configure: failed program was:" >&5 |
3788 cat conftest.$ac_ext >&5 | 3818 cat conftest.$ac_ext >&5 |
3804 fi | 3834 fi |
3805 | 3835 |
3806 | 3836 |
3807 | 3837 |
3808 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3838 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3809 echo "configure:3810: checking for utime" >&5 | 3839 echo "configure:3840: checking for utime" >&5 |
3810 cat > conftest.$ac_ext <<EOF | 3840 cat > conftest.$ac_ext <<EOF |
3811 #line 3812 "configure" | 3841 #line 3842 "configure" |
3812 #include "confdefs.h" | 3842 #include "confdefs.h" |
3813 #include <sys/types.h> | 3843 #include <sys/types.h> |
3814 #include <utime.h> | 3844 #include <utime.h> |
3815 int main() { | 3845 int main() { |
3816 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3846 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3817 ; return 0; } | 3847 ; return 0; } |
3818 EOF | 3848 EOF |
3819 if { (eval echo configure:3820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3849 if { (eval echo configure:3850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3820 rm -rf conftest* | 3850 rm -rf conftest* |
3821 echo "$ac_t""yes" 1>&6 | 3851 echo "$ac_t""yes" 1>&6 |
3822 { test "$extra_verbose" = "yes" && cat << \EOF | 3852 { test "$extra_verbose" = "yes" && cat << \EOF |
3823 Defining HAVE_UTIME | 3853 Defining HAVE_UTIME |
3824 EOF | 3854 EOF |
3833 rm -rf conftest* | 3863 rm -rf conftest* |
3834 echo "$ac_t""no" 1>&6 | 3864 echo "$ac_t""no" 1>&6 |
3835 for ac_func in utimes | 3865 for ac_func in utimes |
3836 do | 3866 do |
3837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3838 echo "configure:3839: checking for $ac_func" >&5 | 3868 echo "configure:3869: checking for $ac_func" >&5 |
3839 | 3869 |
3840 cat > conftest.$ac_ext <<EOF | 3870 cat > conftest.$ac_ext <<EOF |
3841 #line 3842 "configure" | 3871 #line 3872 "configure" |
3842 #include "confdefs.h" | 3872 #include "confdefs.h" |
3843 /* System header to define __stub macros and hopefully few prototypes, | 3873 /* System header to define __stub macros and hopefully few prototypes, |
3844 which can conflict with char $ac_func(); below. */ | 3874 which can conflict with char $ac_func(); below. */ |
3845 #include <assert.h> | 3875 #include <assert.h> |
3846 /* Override any gcc2 internal prototype to avoid an error. */ | 3876 /* Override any gcc2 internal prototype to avoid an error. */ |
3859 $ac_func(); | 3889 $ac_func(); |
3860 #endif | 3890 #endif |
3861 | 3891 |
3862 ; return 0; } | 3892 ; return 0; } |
3863 EOF | 3893 EOF |
3864 if { (eval echo configure:3865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3894 if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3865 rm -rf conftest* | 3895 rm -rf conftest* |
3866 eval "ac_cv_func_$ac_func=yes" | 3896 eval "ac_cv_func_$ac_func=yes" |
3867 else | 3897 else |
3868 echo "configure: failed program was:" >&5 | 3898 echo "configure: failed program was:" >&5 |
3869 cat conftest.$ac_ext >&5 | 3899 cat conftest.$ac_ext >&5 |
3891 fi | 3921 fi |
3892 rm -f conftest* | 3922 rm -f conftest* |
3893 | 3923 |
3894 | 3924 |
3895 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3925 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3896 echo "configure:3897: checking return type of signal handlers" >&5 | 3926 echo "configure:3927: checking return type of signal handlers" >&5 |
3897 | 3927 |
3898 cat > conftest.$ac_ext <<EOF | 3928 cat > conftest.$ac_ext <<EOF |
3899 #line 3900 "configure" | 3929 #line 3930 "configure" |
3900 #include "confdefs.h" | 3930 #include "confdefs.h" |
3901 #include <sys/types.h> | 3931 #include <sys/types.h> |
3902 #include <signal.h> | 3932 #include <signal.h> |
3903 #ifdef signal | 3933 #ifdef signal |
3904 #undef signal | 3934 #undef signal |
3911 | 3941 |
3912 int main() { | 3942 int main() { |
3913 int i; | 3943 int i; |
3914 ; return 0; } | 3944 ; return 0; } |
3915 EOF | 3945 EOF |
3916 if { (eval echo configure:3917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3946 if { (eval echo configure:3947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3917 rm -rf conftest* | 3947 rm -rf conftest* |
3918 ac_cv_type_signal=void | 3948 ac_cv_type_signal=void |
3919 else | 3949 else |
3920 echo "configure: failed program was:" >&5 | 3950 echo "configure: failed program was:" >&5 |
3921 cat conftest.$ac_ext >&5 | 3951 cat conftest.$ac_ext >&5 |
3933 EOF | 3963 EOF |
3934 } | 3964 } |
3935 | 3965 |
3936 | 3966 |
3937 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3967 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3938 echo "configure:3939: checking for size_t" >&5 | 3968 echo "configure:3969: checking for size_t" >&5 |
3939 | 3969 |
3940 cat > conftest.$ac_ext <<EOF | 3970 cat > conftest.$ac_ext <<EOF |
3941 #line 3942 "configure" | 3971 #line 3972 "configure" |
3942 #include "confdefs.h" | 3972 #include "confdefs.h" |
3943 #include <sys/types.h> | 3973 #include <sys/types.h> |
3944 #if STDC_HEADERS | 3974 #if STDC_HEADERS |
3945 #include <stdlib.h> | 3975 #include <stdlib.h> |
3946 #include <stddef.h> | 3976 #include <stddef.h> |
3967 } | 3997 } |
3968 | 3998 |
3969 fi | 3999 fi |
3970 | 4000 |
3971 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4001 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3972 echo "configure:3973: checking for pid_t" >&5 | 4002 echo "configure:4003: checking for pid_t" >&5 |
3973 | 4003 |
3974 cat > conftest.$ac_ext <<EOF | 4004 cat > conftest.$ac_ext <<EOF |
3975 #line 3976 "configure" | 4005 #line 4006 "configure" |
3976 #include "confdefs.h" | 4006 #include "confdefs.h" |
3977 #include <sys/types.h> | 4007 #include <sys/types.h> |
3978 #if STDC_HEADERS | 4008 #if STDC_HEADERS |
3979 #include <stdlib.h> | 4009 #include <stdlib.h> |
3980 #include <stddef.h> | 4010 #include <stddef.h> |
4001 } | 4031 } |
4002 | 4032 |
4003 fi | 4033 fi |
4004 | 4034 |
4005 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4035 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4006 echo "configure:4007: checking for uid_t in sys/types.h" >&5 | 4036 echo "configure:4037: checking for uid_t in sys/types.h" >&5 |
4007 | 4037 |
4008 cat > conftest.$ac_ext <<EOF | 4038 cat > conftest.$ac_ext <<EOF |
4009 #line 4010 "configure" | 4039 #line 4040 "configure" |
4010 #include "confdefs.h" | 4040 #include "confdefs.h" |
4011 #include <sys/types.h> | 4041 #include <sys/types.h> |
4012 EOF | 4042 EOF |
4013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4014 egrep "uid_t" >/dev/null 2>&1; then | 4044 egrep "uid_t" >/dev/null 2>&1; then |
4040 } | 4070 } |
4041 | 4071 |
4042 fi | 4072 fi |
4043 | 4073 |
4044 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4074 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4045 echo "configure:4046: checking for mode_t" >&5 | 4075 echo "configure:4076: checking for mode_t" >&5 |
4046 | 4076 |
4047 cat > conftest.$ac_ext <<EOF | 4077 cat > conftest.$ac_ext <<EOF |
4048 #line 4049 "configure" | 4078 #line 4079 "configure" |
4049 #include "confdefs.h" | 4079 #include "confdefs.h" |
4050 #include <sys/types.h> | 4080 #include <sys/types.h> |
4051 #if STDC_HEADERS | 4081 #if STDC_HEADERS |
4052 #include <stdlib.h> | 4082 #include <stdlib.h> |
4053 #include <stddef.h> | 4083 #include <stddef.h> |
4074 } | 4104 } |
4075 | 4105 |
4076 fi | 4106 fi |
4077 | 4107 |
4078 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4108 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4079 echo "configure:4080: checking for off_t" >&5 | 4109 echo "configure:4110: checking for off_t" >&5 |
4080 | 4110 |
4081 cat > conftest.$ac_ext <<EOF | 4111 cat > conftest.$ac_ext <<EOF |
4082 #line 4083 "configure" | 4112 #line 4113 "configure" |
4083 #include "confdefs.h" | 4113 #include "confdefs.h" |
4084 #include <sys/types.h> | 4114 #include <sys/types.h> |
4085 #if STDC_HEADERS | 4115 #if STDC_HEADERS |
4086 #include <stdlib.h> | 4116 #include <stdlib.h> |
4087 #include <stddef.h> | 4117 #include <stddef.h> |
4108 } | 4138 } |
4109 | 4139 |
4110 fi | 4140 fi |
4111 | 4141 |
4112 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4142 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4113 echo "configure:4114: checking for ssize_t" >&5 | 4143 echo "configure:4144: checking for ssize_t" >&5 |
4114 | 4144 |
4115 cat > conftest.$ac_ext <<EOF | 4145 cat > conftest.$ac_ext <<EOF |
4116 #line 4117 "configure" | 4146 #line 4147 "configure" |
4117 #include "confdefs.h" | 4147 #include "confdefs.h" |
4118 #include <sys/types.h> | 4148 #include <sys/types.h> |
4119 #if STDC_HEADERS | 4149 #if STDC_HEADERS |
4120 #include <stdlib.h> | 4150 #include <stdlib.h> |
4121 #include <stddef.h> | 4151 #include <stddef.h> |
4143 | 4173 |
4144 fi | 4174 fi |
4145 | 4175 |
4146 | 4176 |
4147 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4177 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4148 echo "configure:4149: checking for socklen_t" >&5 | 4178 echo "configure:4179: checking for socklen_t" >&5 |
4149 cat > conftest.$ac_ext <<EOF | 4179 cat > conftest.$ac_ext <<EOF |
4150 #line 4151 "configure" | 4180 #line 4181 "configure" |
4151 #include "confdefs.h" | 4181 #include "confdefs.h" |
4152 #include <sys/socket.h> | 4182 #include <sys/socket.h> |
4153 socklen_t x; | 4183 socklen_t x; |
4154 | 4184 |
4155 int main() { | 4185 int main() { |
4156 | 4186 |
4157 ; return 0; } | 4187 ; return 0; } |
4158 EOF | 4188 EOF |
4159 if { (eval echo configure:4160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4189 if { (eval echo configure:4190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4160 rm -rf conftest* | 4190 rm -rf conftest* |
4161 echo "$ac_t""yes" 1>&6 | 4191 echo "$ac_t""yes" 1>&6 |
4162 else | 4192 else |
4163 echo "configure: failed program was:" >&5 | 4193 echo "configure: failed program was:" >&5 |
4164 cat conftest.$ac_ext >&5 | 4194 cat conftest.$ac_ext >&5 |
4165 rm -rf conftest* | 4195 rm -rf conftest* |
4166 | 4196 |
4167 cat > conftest.$ac_ext <<EOF | 4197 cat > conftest.$ac_ext <<EOF |
4168 #line 4169 "configure" | 4198 #line 4199 "configure" |
4169 #include "confdefs.h" | 4199 #include "confdefs.h" |
4170 #include <sys/socket.h> | 4200 #include <sys/socket.h> |
4171 int accept (int, struct sockaddr *, size_t *); | 4201 int accept (int, struct sockaddr *, size_t *); |
4172 | 4202 |
4173 int main() { | 4203 int main() { |
4174 | 4204 |
4175 ; return 0; } | 4205 ; return 0; } |
4176 EOF | 4206 EOF |
4177 if { (eval echo configure:4178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4207 if { (eval echo configure:4208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4178 rm -rf conftest* | 4208 rm -rf conftest* |
4179 | 4209 |
4180 echo "$ac_t""size_t" 1>&6 | 4210 echo "$ac_t""size_t" 1>&6 |
4181 { test "$extra_verbose" = "yes" && cat << \EOF | 4211 { test "$extra_verbose" = "yes" && cat << \EOF |
4182 Defining socklen_t = size_t | 4212 Defining socklen_t = size_t |
4204 rm -f conftest* | 4234 rm -f conftest* |
4205 fi | 4235 fi |
4206 rm -f conftest* | 4236 rm -f conftest* |
4207 | 4237 |
4208 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4238 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4209 echo "configure:4210: checking for struct timeval" >&5 | 4239 echo "configure:4240: checking for struct timeval" >&5 |
4210 cat > conftest.$ac_ext <<EOF | 4240 cat > conftest.$ac_ext <<EOF |
4211 #line 4212 "configure" | 4241 #line 4242 "configure" |
4212 #include "confdefs.h" | 4242 #include "confdefs.h" |
4213 #ifdef TIME_WITH_SYS_TIME | 4243 #ifdef TIME_WITH_SYS_TIME |
4214 #include <sys/time.h> | 4244 #include <sys/time.h> |
4215 #include <time.h> | 4245 #include <time.h> |
4216 #else | 4246 #else |
4222 #endif | 4252 #endif |
4223 int main() { | 4253 int main() { |
4224 static struct timeval x; x.tv_sec = x.tv_usec; | 4254 static struct timeval x; x.tv_sec = x.tv_usec; |
4225 ; return 0; } | 4255 ; return 0; } |
4226 EOF | 4256 EOF |
4227 if { (eval echo configure:4228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4257 if { (eval echo configure:4258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4228 rm -rf conftest* | 4258 rm -rf conftest* |
4229 echo "$ac_t""yes" 1>&6 | 4259 echo "$ac_t""yes" 1>&6 |
4230 HAVE_TIMEVAL=yes | 4260 HAVE_TIMEVAL=yes |
4231 { test "$extra_verbose" = "yes" && cat << \EOF | 4261 { test "$extra_verbose" = "yes" && cat << \EOF |
4232 Defining HAVE_TIMEVAL | 4262 Defining HAVE_TIMEVAL |
4244 HAVE_TIMEVAL=no | 4274 HAVE_TIMEVAL=no |
4245 fi | 4275 fi |
4246 rm -f conftest* | 4276 rm -f conftest* |
4247 | 4277 |
4248 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4278 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4249 echo "configure:4250: checking whether struct tm is in sys/time.h or time.h" >&5 | 4279 echo "configure:4280: checking whether struct tm is in sys/time.h or time.h" >&5 |
4250 | 4280 |
4251 cat > conftest.$ac_ext <<EOF | 4281 cat > conftest.$ac_ext <<EOF |
4252 #line 4253 "configure" | 4282 #line 4283 "configure" |
4253 #include "confdefs.h" | 4283 #include "confdefs.h" |
4254 #include <sys/types.h> | 4284 #include <sys/types.h> |
4255 #include <time.h> | 4285 #include <time.h> |
4256 int main() { | 4286 int main() { |
4257 struct tm *tp; tp->tm_sec; | 4287 struct tm *tp; tp->tm_sec; |
4258 ; return 0; } | 4288 ; return 0; } |
4259 EOF | 4289 EOF |
4260 if { (eval echo configure:4261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4290 if { (eval echo configure:4291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4261 rm -rf conftest* | 4291 rm -rf conftest* |
4262 ac_cv_struct_tm=time.h | 4292 ac_cv_struct_tm=time.h |
4263 else | 4293 else |
4264 echo "configure: failed program was:" >&5 | 4294 echo "configure: failed program was:" >&5 |
4265 cat conftest.$ac_ext >&5 | 4295 cat conftest.$ac_ext >&5 |
4279 } | 4309 } |
4280 | 4310 |
4281 fi | 4311 fi |
4282 | 4312 |
4283 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4313 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4284 echo "configure:4285: checking for tm_zone in struct tm" >&5 | 4314 echo "configure:4315: checking for tm_zone in struct tm" >&5 |
4285 | 4315 |
4286 cat > conftest.$ac_ext <<EOF | 4316 cat > conftest.$ac_ext <<EOF |
4287 #line 4288 "configure" | 4317 #line 4318 "configure" |
4288 #include "confdefs.h" | 4318 #include "confdefs.h" |
4289 #include <sys/types.h> | 4319 #include <sys/types.h> |
4290 #include <$ac_cv_struct_tm> | 4320 #include <$ac_cv_struct_tm> |
4291 int main() { | 4321 int main() { |
4292 struct tm tm; tm.tm_zone; | 4322 struct tm tm; tm.tm_zone; |
4293 ; return 0; } | 4323 ; return 0; } |
4294 EOF | 4324 EOF |
4295 if { (eval echo configure:4296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4325 if { (eval echo configure:4326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4296 rm -rf conftest* | 4326 rm -rf conftest* |
4297 ac_cv_struct_tm_zone=yes | 4327 ac_cv_struct_tm_zone=yes |
4298 else | 4328 else |
4299 echo "configure: failed program was:" >&5 | 4329 echo "configure: failed program was:" >&5 |
4300 cat conftest.$ac_ext >&5 | 4330 cat conftest.$ac_ext >&5 |
4313 EOF | 4343 EOF |
4314 } | 4344 } |
4315 | 4345 |
4316 else | 4346 else |
4317 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4347 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4318 echo "configure:4319: checking for tzname" >&5 | 4348 echo "configure:4349: checking for tzname" >&5 |
4319 | 4349 |
4320 cat > conftest.$ac_ext <<EOF | 4350 cat > conftest.$ac_ext <<EOF |
4321 #line 4322 "configure" | 4351 #line 4352 "configure" |
4322 #include "confdefs.h" | 4352 #include "confdefs.h" |
4323 #include <time.h> | 4353 #include <time.h> |
4324 #ifndef tzname /* For SGI. */ | 4354 #ifndef tzname /* For SGI. */ |
4325 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4355 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4326 #endif | 4356 #endif |
4327 int main() { | 4357 int main() { |
4328 atoi(*tzname); | 4358 atoi(*tzname); |
4329 ; return 0; } | 4359 ; return 0; } |
4330 EOF | 4360 EOF |
4331 if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4361 if { (eval echo configure:4362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4332 rm -rf conftest* | 4362 rm -rf conftest* |
4333 ac_cv_var_tzname=yes | 4363 ac_cv_var_tzname=yes |
4334 else | 4364 else |
4335 echo "configure: failed program was:" >&5 | 4365 echo "configure: failed program was:" >&5 |
4336 cat conftest.$ac_ext >&5 | 4366 cat conftest.$ac_ext >&5 |
4352 fi | 4382 fi |
4353 fi | 4383 fi |
4354 | 4384 |
4355 | 4385 |
4356 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4386 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4357 echo "configure:4358: checking for working const" >&5 | 4387 echo "configure:4388: checking for working const" >&5 |
4358 | 4388 |
4359 cat > conftest.$ac_ext <<EOF | 4389 cat > conftest.$ac_ext <<EOF |
4360 #line 4361 "configure" | 4390 #line 4391 "configure" |
4361 #include "confdefs.h" | 4391 #include "confdefs.h" |
4362 | 4392 |
4363 int main() { | 4393 int main() { |
4364 | 4394 |
4365 /* Ultrix mips cc rejects this. */ | 4395 /* Ultrix mips cc rejects this. */ |
4404 const int foo = 10; | 4434 const int foo = 10; |
4405 } | 4435 } |
4406 | 4436 |
4407 ; return 0; } | 4437 ; return 0; } |
4408 EOF | 4438 EOF |
4409 if { (eval echo configure:4410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4439 if { (eval echo configure:4440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4410 rm -rf conftest* | 4440 rm -rf conftest* |
4411 ac_cv_c_const=yes | 4441 ac_cv_c_const=yes |
4412 else | 4442 else |
4413 echo "configure: failed program was:" >&5 | 4443 echo "configure: failed program was:" >&5 |
4414 cat conftest.$ac_ext >&5 | 4444 cat conftest.$ac_ext >&5 |
4429 | 4459 |
4430 fi | 4460 fi |
4431 | 4461 |
4432 | 4462 |
4433 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4463 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4434 echo "configure:4435: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4464 echo "configure:4465: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4435 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4465 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4436 | 4466 |
4437 cat > conftestmake <<\EOF | 4467 cat > conftestmake <<\EOF |
4438 all: | 4468 all: |
4439 @echo 'ac_maketemp="${MAKE}"' | 4469 @echo 'ac_maketemp="${MAKE}"' |
4454 SET_MAKE="MAKE=${MAKE-make}" | 4484 SET_MAKE="MAKE=${MAKE-make}" |
4455 fi | 4485 fi |
4456 | 4486 |
4457 | 4487 |
4458 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4488 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4459 echo "configure:4460: checking whether byte ordering is bigendian" >&5 | 4489 echo "configure:4490: checking whether byte ordering is bigendian" >&5 |
4460 | 4490 |
4461 ac_cv_c_bigendian=unknown | 4491 ac_cv_c_bigendian=unknown |
4462 # See if sys/param.h defines the BYTE_ORDER macro. | 4492 # See if sys/param.h defines the BYTE_ORDER macro. |
4463 cat > conftest.$ac_ext <<EOF | 4493 cat > conftest.$ac_ext <<EOF |
4464 #line 4465 "configure" | 4494 #line 4495 "configure" |
4465 #include "confdefs.h" | 4495 #include "confdefs.h" |
4466 #include <sys/types.h> | 4496 #include <sys/types.h> |
4467 #include <sys/param.h> | 4497 #include <sys/param.h> |
4468 int main() { | 4498 int main() { |
4469 | 4499 |
4470 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4500 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4471 bogus endian macros | 4501 bogus endian macros |
4472 #endif | 4502 #endif |
4473 ; return 0; } | 4503 ; return 0; } |
4474 EOF | 4504 EOF |
4475 if { (eval echo configure:4476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4505 if { (eval echo configure:4506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4476 rm -rf conftest* | 4506 rm -rf conftest* |
4477 # It does; now see whether it defined to BIG_ENDIAN or not. | 4507 # It does; now see whether it defined to BIG_ENDIAN or not. |
4478 cat > conftest.$ac_ext <<EOF | 4508 cat > conftest.$ac_ext <<EOF |
4479 #line 4480 "configure" | 4509 #line 4510 "configure" |
4480 #include "confdefs.h" | 4510 #include "confdefs.h" |
4481 #include <sys/types.h> | 4511 #include <sys/types.h> |
4482 #include <sys/param.h> | 4512 #include <sys/param.h> |
4483 int main() { | 4513 int main() { |
4484 | 4514 |
4485 #if BYTE_ORDER != BIG_ENDIAN | 4515 #if BYTE_ORDER != BIG_ENDIAN |
4486 not big endian | 4516 not big endian |
4487 #endif | 4517 #endif |
4488 ; return 0; } | 4518 ; return 0; } |
4489 EOF | 4519 EOF |
4490 if { (eval echo configure:4491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4520 if { (eval echo configure:4521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4491 rm -rf conftest* | 4521 rm -rf conftest* |
4492 ac_cv_c_bigendian=yes | 4522 ac_cv_c_bigendian=yes |
4493 else | 4523 else |
4494 echo "configure: failed program was:" >&5 | 4524 echo "configure: failed program was:" >&5 |
4495 cat conftest.$ac_ext >&5 | 4525 cat conftest.$ac_ext >&5 |
4502 cat conftest.$ac_ext >&5 | 4532 cat conftest.$ac_ext >&5 |
4503 fi | 4533 fi |
4504 rm -f conftest* | 4534 rm -f conftest* |
4505 if test $ac_cv_c_bigendian = unknown; then | 4535 if test $ac_cv_c_bigendian = unknown; then |
4506 cat > conftest.$ac_ext <<EOF | 4536 cat > conftest.$ac_ext <<EOF |
4507 #line 4508 "configure" | 4537 #line 4538 "configure" |
4508 #include "confdefs.h" | 4538 #include "confdefs.h" |
4509 main () { | 4539 main () { |
4510 /* Are we little or big endian? From Harbison&Steele. */ | 4540 /* Are we little or big endian? From Harbison&Steele. */ |
4511 union | 4541 union |
4512 { | 4542 { |
4515 } u; | 4545 } u; |
4516 u.l = 1; | 4546 u.l = 1; |
4517 exit (u.c[sizeof (long) - 1] == 1); | 4547 exit (u.c[sizeof (long) - 1] == 1); |
4518 } | 4548 } |
4519 EOF | 4549 EOF |
4520 if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4550 if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4521 then | 4551 then |
4522 ac_cv_c_bigendian=no | 4552 ac_cv_c_bigendian=no |
4523 else | 4553 else |
4524 conftest_rc="$?" | 4554 conftest_rc="$?" |
4525 echo "configure: failed program was:" >&5 | 4555 echo "configure: failed program was:" >&5 |
4542 | 4572 |
4543 fi | 4573 fi |
4544 | 4574 |
4545 | 4575 |
4546 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4576 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4547 echo "configure:4548: checking size of short" >&5 | 4577 echo "configure:4578: checking size of short" >&5 |
4548 | 4578 |
4549 cat > conftest.$ac_ext <<EOF | 4579 cat > conftest.$ac_ext <<EOF |
4550 #line 4551 "configure" | 4580 #line 4581 "configure" |
4551 #include "confdefs.h" | 4581 #include "confdefs.h" |
4552 #include <stdio.h> | 4582 #include <stdio.h> |
4553 main() | 4583 main() |
4554 { | 4584 { |
4555 FILE *f=fopen("conftestval", "w"); | 4585 FILE *f=fopen("conftestval", "w"); |
4556 if (!f) exit(1); | 4586 if (!f) exit(1); |
4557 fprintf(f, "%d\n", sizeof(short)); | 4587 fprintf(f, "%d\n", sizeof(short)); |
4558 exit(0); | 4588 exit(0); |
4559 } | 4589 } |
4560 EOF | 4590 EOF |
4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4591 if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4562 then | 4592 then |
4563 ac_cv_sizeof_short=`cat conftestval` | 4593 ac_cv_sizeof_short=`cat conftestval` |
4564 else | 4594 else |
4565 conftest_rc="$?" | 4595 conftest_rc="$?" |
4566 echo "configure: failed program was:" >&5 | 4596 echo "configure: failed program was:" >&5 |
4584 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4614 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4585 echo "*** PANIC *** Please examine config.log for compilation errors." | 4615 echo "*** PANIC *** Please examine config.log for compilation errors." |
4586 exit 1 | 4616 exit 1 |
4587 fi | 4617 fi |
4588 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4618 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4589 echo "configure:4590: checking size of int" >&5 | 4619 echo "configure:4620: checking size of int" >&5 |
4590 | 4620 |
4591 cat > conftest.$ac_ext <<EOF | 4621 cat > conftest.$ac_ext <<EOF |
4592 #line 4593 "configure" | 4622 #line 4623 "configure" |
4593 #include "confdefs.h" | 4623 #include "confdefs.h" |
4594 #include <stdio.h> | 4624 #include <stdio.h> |
4595 main() | 4625 main() |
4596 { | 4626 { |
4597 FILE *f=fopen("conftestval", "w"); | 4627 FILE *f=fopen("conftestval", "w"); |
4598 if (!f) exit(1); | 4628 if (!f) exit(1); |
4599 fprintf(f, "%d\n", sizeof(int)); | 4629 fprintf(f, "%d\n", sizeof(int)); |
4600 exit(0); | 4630 exit(0); |
4601 } | 4631 } |
4602 EOF | 4632 EOF |
4603 if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4633 if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4604 then | 4634 then |
4605 ac_cv_sizeof_int=`cat conftestval` | 4635 ac_cv_sizeof_int=`cat conftestval` |
4606 else | 4636 else |
4607 conftest_rc="$?" | 4637 conftest_rc="$?" |
4608 echo "configure: failed program was:" >&5 | 4638 echo "configure: failed program was:" >&5 |
4620 EOF | 4650 EOF |
4621 } | 4651 } |
4622 | 4652 |
4623 | 4653 |
4624 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4654 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4625 echo "configure:4626: checking size of long" >&5 | 4655 echo "configure:4656: checking size of long" >&5 |
4626 | 4656 |
4627 cat > conftest.$ac_ext <<EOF | 4657 cat > conftest.$ac_ext <<EOF |
4628 #line 4629 "configure" | 4658 #line 4659 "configure" |
4629 #include "confdefs.h" | 4659 #include "confdefs.h" |
4630 #include <stdio.h> | 4660 #include <stdio.h> |
4631 main() | 4661 main() |
4632 { | 4662 { |
4633 FILE *f=fopen("conftestval", "w"); | 4663 FILE *f=fopen("conftestval", "w"); |
4634 if (!f) exit(1); | 4664 if (!f) exit(1); |
4635 fprintf(f, "%d\n", sizeof(long)); | 4665 fprintf(f, "%d\n", sizeof(long)); |
4636 exit(0); | 4666 exit(0); |
4637 } | 4667 } |
4638 EOF | 4668 EOF |
4639 if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4669 if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4640 then | 4670 then |
4641 ac_cv_sizeof_long=`cat conftestval` | 4671 ac_cv_sizeof_long=`cat conftestval` |
4642 else | 4672 else |
4643 conftest_rc="$?" | 4673 conftest_rc="$?" |
4644 echo "configure: failed program was:" >&5 | 4674 echo "configure: failed program was:" >&5 |
4656 EOF | 4686 EOF |
4657 } | 4687 } |
4658 | 4688 |
4659 | 4689 |
4660 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4690 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4661 echo "configure:4662: checking size of long long" >&5 | 4691 echo "configure:4692: checking size of long long" >&5 |
4662 | 4692 |
4663 cat > conftest.$ac_ext <<EOF | 4693 cat > conftest.$ac_ext <<EOF |
4664 #line 4665 "configure" | 4694 #line 4695 "configure" |
4665 #include "confdefs.h" | 4695 #include "confdefs.h" |
4666 #include <stdio.h> | 4696 #include <stdio.h> |
4667 main() | 4697 main() |
4668 { | 4698 { |
4669 FILE *f=fopen("conftestval", "w"); | 4699 FILE *f=fopen("conftestval", "w"); |
4670 if (!f) exit(1); | 4700 if (!f) exit(1); |
4671 fprintf(f, "%d\n", sizeof(long long)); | 4701 fprintf(f, "%d\n", sizeof(long long)); |
4672 exit(0); | 4702 exit(0); |
4673 } | 4703 } |
4674 EOF | 4704 EOF |
4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4676 then | 4706 then |
4677 ac_cv_sizeof_long_long=`cat conftestval` | 4707 ac_cv_sizeof_long_long=`cat conftestval` |
4678 else | 4708 else |
4679 conftest_rc="$?" | 4709 conftest_rc="$?" |
4680 echo "configure: failed program was:" >&5 | 4710 echo "configure: failed program was:" >&5 |
4692 EOF | 4722 EOF |
4693 } | 4723 } |
4694 | 4724 |
4695 | 4725 |
4696 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4726 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4697 echo "configure:4698: checking size of void *" >&5 | 4727 echo "configure:4728: checking size of void *" >&5 |
4698 | 4728 |
4699 cat > conftest.$ac_ext <<EOF | 4729 cat > conftest.$ac_ext <<EOF |
4700 #line 4701 "configure" | 4730 #line 4731 "configure" |
4701 #include "confdefs.h" | 4731 #include "confdefs.h" |
4702 #include <stdio.h> | 4732 #include <stdio.h> |
4703 main() | 4733 main() |
4704 { | 4734 { |
4705 FILE *f=fopen("conftestval", "w"); | 4735 FILE *f=fopen("conftestval", "w"); |
4706 if (!f) exit(1); | 4736 if (!f) exit(1); |
4707 fprintf(f, "%d\n", sizeof(void *)); | 4737 fprintf(f, "%d\n", sizeof(void *)); |
4708 exit(0); | 4738 exit(0); |
4709 } | 4739 } |
4710 EOF | 4740 EOF |
4711 if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4712 then | 4742 then |
4713 ac_cv_sizeof_void_p=`cat conftestval` | 4743 ac_cv_sizeof_void_p=`cat conftestval` |
4714 else | 4744 else |
4715 conftest_rc="$?" | 4745 conftest_rc="$?" |
4716 echo "configure: failed program was:" >&5 | 4746 echo "configure: failed program was:" >&5 |
4729 } | 4759 } |
4730 | 4760 |
4731 | 4761 |
4732 | 4762 |
4733 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4763 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4734 echo "configure:4735: checking for long file names" >&5 | 4764 echo "configure:4765: checking for long file names" >&5 |
4735 | 4765 |
4736 ac_cv_sys_long_file_names=yes | 4766 ac_cv_sys_long_file_names=yes |
4737 # Test for long file names in all the places we know might matter: | 4767 # Test for long file names in all the places we know might matter: |
4738 # . the current directory, where building will happen | 4768 # . the current directory, where building will happen |
4739 # $prefix/lib where we will be installing things | 4769 # $prefix/lib where we will be installing things |
4775 | 4805 |
4776 fi | 4806 fi |
4777 | 4807 |
4778 | 4808 |
4779 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4809 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4780 echo "configure:4781: checking for sin" >&5 | 4810 echo "configure:4811: checking for sin" >&5 |
4781 | 4811 |
4782 cat > conftest.$ac_ext <<EOF | 4812 cat > conftest.$ac_ext <<EOF |
4783 #line 4784 "configure" | 4813 #line 4814 "configure" |
4784 #include "confdefs.h" | 4814 #include "confdefs.h" |
4785 /* System header to define __stub macros and hopefully few prototypes, | 4815 /* System header to define __stub macros and hopefully few prototypes, |
4786 which can conflict with char sin(); below. */ | 4816 which can conflict with char sin(); below. */ |
4787 #include <assert.h> | 4817 #include <assert.h> |
4788 /* Override any gcc2 internal prototype to avoid an error. */ | 4818 /* Override any gcc2 internal prototype to avoid an error. */ |
4801 sin(); | 4831 sin(); |
4802 #endif | 4832 #endif |
4803 | 4833 |
4804 ; return 0; } | 4834 ; return 0; } |
4805 EOF | 4835 EOF |
4806 if { (eval echo configure:4807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4836 if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4807 rm -rf conftest* | 4837 rm -rf conftest* |
4808 eval "ac_cv_func_sin=yes" | 4838 eval "ac_cv_func_sin=yes" |
4809 else | 4839 else |
4810 echo "configure: failed program was:" >&5 | 4840 echo "configure: failed program was:" >&5 |
4811 cat conftest.$ac_ext >&5 | 4841 cat conftest.$ac_ext >&5 |
4819 : | 4849 : |
4820 else | 4850 else |
4821 echo "$ac_t""no" 1>&6 | 4851 echo "$ac_t""no" 1>&6 |
4822 | 4852 |
4823 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4853 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4824 echo "configure:4825: checking for sin in -lm" >&5 | 4854 echo "configure:4855: checking for sin in -lm" >&5 |
4825 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4855 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4826 | 4856 |
4827 xe_check_libs=" -lm " | 4857 xe_check_libs=" -lm " |
4828 cat > conftest.$ac_ext <<EOF | 4858 cat > conftest.$ac_ext <<EOF |
4829 #line 4830 "configure" | 4859 #line 4860 "configure" |
4830 #include "confdefs.h" | 4860 #include "confdefs.h" |
4831 /* Override any gcc2 internal prototype to avoid an error. */ | 4861 /* Override any gcc2 internal prototype to avoid an error. */ |
4832 /* We use char because int might match the return type of a gcc2 | 4862 /* We use char because int might match the return type of a gcc2 |
4833 builtin and then its argument prototype would still apply. */ | 4863 builtin and then its argument prototype would still apply. */ |
4834 char sin(); | 4864 char sin(); |
4835 | 4865 |
4836 int main() { | 4866 int main() { |
4837 sin() | 4867 sin() |
4838 ; return 0; } | 4868 ; return 0; } |
4839 EOF | 4869 EOF |
4840 if { (eval echo configure:4841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4870 if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4841 rm -rf conftest* | 4871 rm -rf conftest* |
4842 eval "ac_cv_lib_$ac_lib_var=yes" | 4872 eval "ac_cv_lib_$ac_lib_var=yes" |
4843 else | 4873 else |
4844 echo "configure: failed program was:" >&5 | 4874 echo "configure: failed program was:" >&5 |
4845 cat conftest.$ac_ext >&5 | 4875 cat conftest.$ac_ext >&5 |
4869 | 4899 |
4870 | 4900 |
4871 fi | 4901 fi |
4872 | 4902 |
4873 | 4903 |
4874 { test "$extra_verbose" = "yes" && cat << \EOF | 4904 cat > conftest.$ac_ext <<EOF |
4875 Defining LISP_FLOAT_TYPE | 4905 #line 4906 "configure" |
4876 EOF | |
4877 cat >> confdefs.h <<\EOF | |
4878 #define LISP_FLOAT_TYPE 1 | |
4879 EOF | |
4880 } | |
4881 | |
4882 | |
4883 cat > conftest.$ac_ext <<EOF | |
4884 #line 4885 "configure" | |
4885 #include "confdefs.h" | 4906 #include "confdefs.h" |
4886 #include <math.h> | 4907 #include <math.h> |
4887 int main() { | 4908 int main() { |
4888 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4909 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4889 ; return 0; } | 4910 ; return 0; } |
4890 EOF | 4911 EOF |
4891 if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4912 if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4892 rm -rf conftest* | 4913 rm -rf conftest* |
4893 { test "$extra_verbose" = "yes" && cat << \EOF | 4914 { test "$extra_verbose" = "yes" && cat << \EOF |
4894 Defining HAVE_INVERSE_HYPERBOLIC | 4915 Defining HAVE_INVERSE_HYPERBOLIC |
4895 EOF | 4916 EOF |
4896 cat >> confdefs.h <<\EOF | 4917 cat >> confdefs.h <<\EOF |
4905 rm -f conftest* | 4926 rm -f conftest* |
4906 | 4927 |
4907 for ac_func in mkstemp | 4928 for ac_func in mkstemp |
4908 do | 4929 do |
4909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4910 echo "configure:4911: checking for $ac_func" >&5 | 4931 echo "configure:4932: checking for $ac_func" >&5 |
4911 | 4932 |
4912 cat > conftest.$ac_ext <<EOF | 4933 cat > conftest.$ac_ext <<EOF |
4913 #line 4914 "configure" | 4934 #line 4935 "configure" |
4914 #include "confdefs.h" | 4935 #include "confdefs.h" |
4915 /* System header to define __stub macros and hopefully few prototypes, | 4936 /* System header to define __stub macros and hopefully few prototypes, |
4916 which can conflict with char $ac_func(); below. */ | 4937 which can conflict with char $ac_func(); below. */ |
4917 #include <assert.h> | 4938 #include <assert.h> |
4918 /* Override any gcc2 internal prototype to avoid an error. */ | 4939 /* Override any gcc2 internal prototype to avoid an error. */ |
4931 $ac_func(); | 4952 $ac_func(); |
4932 #endif | 4953 #endif |
4933 | 4954 |
4934 ; return 0; } | 4955 ; return 0; } |
4935 EOF | 4956 EOF |
4936 if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4957 if { (eval echo configure:4958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4937 rm -rf conftest* | 4958 rm -rf conftest* |
4938 eval "ac_cv_func_$ac_func=yes" | 4959 eval "ac_cv_func_$ac_func=yes" |
4939 else | 4960 else |
4940 echo "configure: failed program was:" >&5 | 4961 echo "configure: failed program was:" >&5 |
4941 cat conftest.$ac_ext >&5 | 4962 cat conftest.$ac_ext >&5 |
4960 fi | 4981 fi |
4961 done | 4982 done |
4962 | 4983 |
4963 | 4984 |
4964 echo "checking type of mail spool file locking" 1>&6 | 4985 echo "checking type of mail spool file locking" 1>&6 |
4965 echo "configure:4966: checking type of mail spool file locking" >&5 | 4986 echo "configure:4987: checking type of mail spool file locking" >&5 |
4966 for ac_func in lockf flock | 4987 for ac_func in lockf flock |
4967 do | 4988 do |
4968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4969 echo "configure:4970: checking for $ac_func" >&5 | 4990 echo "configure:4991: checking for $ac_func" >&5 |
4970 | 4991 |
4971 cat > conftest.$ac_ext <<EOF | 4992 cat > conftest.$ac_ext <<EOF |
4972 #line 4973 "configure" | 4993 #line 4994 "configure" |
4973 #include "confdefs.h" | 4994 #include "confdefs.h" |
4974 /* System header to define __stub macros and hopefully few prototypes, | 4995 /* System header to define __stub macros and hopefully few prototypes, |
4975 which can conflict with char $ac_func(); below. */ | 4996 which can conflict with char $ac_func(); below. */ |
4976 #include <assert.h> | 4997 #include <assert.h> |
4977 /* Override any gcc2 internal prototype to avoid an error. */ | 4998 /* Override any gcc2 internal prototype to avoid an error. */ |
4990 $ac_func(); | 5011 $ac_func(); |
4991 #endif | 5012 #endif |
4992 | 5013 |
4993 ; return 0; } | 5014 ; return 0; } |
4994 EOF | 5015 EOF |
4995 if { (eval echo configure:4996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5016 if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4996 rm -rf conftest* | 5017 rm -rf conftest* |
4997 eval "ac_cv_func_$ac_func=yes" | 5018 eval "ac_cv_func_$ac_func=yes" |
4998 else | 5019 else |
4999 echo "configure: failed program was:" >&5 | 5020 echo "configure: failed program was:" >&5 |
5000 cat conftest.$ac_ext >&5 | 5021 cat conftest.$ac_ext >&5 |
5072 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5093 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5073 | 5094 |
5074 case "$opsys" in decosf*) | 5095 case "$opsys" in decosf*) |
5075 | 5096 |
5076 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5097 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5077 echo "configure:5078: checking for cma_open in -lpthreads" >&5 | 5098 echo "configure:5099: checking for cma_open in -lpthreads" >&5 |
5078 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5099 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5079 | 5100 |
5080 xe_check_libs=" -lpthreads " | 5101 xe_check_libs=" -lpthreads " |
5081 cat > conftest.$ac_ext <<EOF | 5102 cat > conftest.$ac_ext <<EOF |
5082 #line 5083 "configure" | 5103 #line 5104 "configure" |
5083 #include "confdefs.h" | 5104 #include "confdefs.h" |
5084 /* Override any gcc2 internal prototype to avoid an error. */ | 5105 /* Override any gcc2 internal prototype to avoid an error. */ |
5085 /* We use char because int might match the return type of a gcc2 | 5106 /* We use char because int might match the return type of a gcc2 |
5086 builtin and then its argument prototype would still apply. */ | 5107 builtin and then its argument prototype would still apply. */ |
5087 char cma_open(); | 5108 char cma_open(); |
5088 | 5109 |
5089 int main() { | 5110 int main() { |
5090 cma_open() | 5111 cma_open() |
5091 ; return 0; } | 5112 ; return 0; } |
5092 EOF | 5113 EOF |
5093 if { (eval echo configure:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5114 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5094 rm -rf conftest* | 5115 rm -rf conftest* |
5095 eval "ac_cv_lib_$ac_lib_var=yes" | 5116 eval "ac_cv_lib_$ac_lib_var=yes" |
5096 else | 5117 else |
5097 echo "configure: failed program was:" >&5 | 5118 echo "configure: failed program was:" >&5 |
5098 cat conftest.$ac_ext >&5 | 5119 cat conftest.$ac_ext >&5 |
5125 c_switch_site="$c_switch_site -threads" ;; | 5146 c_switch_site="$c_switch_site -threads" ;; |
5126 esac | 5147 esac |
5127 | 5148 |
5128 | 5149 |
5129 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5150 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5130 echo "configure:5131: checking whether the -xildoff compiler flag is required" >&5 | 5151 echo "configure:5152: checking whether the -xildoff compiler flag is required" >&5 |
5131 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5152 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5132 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5153 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5133 then echo "$ac_t""no" 1>&6; | 5154 then echo "$ac_t""no" 1>&6; |
5134 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 | 5155 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 |
5135 fi | 5156 fi |
5137 fi | 5158 fi |
5138 | 5159 |
5139 if test "$opsys" = "sol2"; then | 5160 if test "$opsys" = "sol2"; then |
5140 if test "$os_release" -ge 56; then | 5161 if test "$os_release" -ge 56; then |
5141 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5162 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5142 echo "configure:5143: checking for \"-z ignore\" linker flag" >&5 | 5163 echo "configure:5164: checking for \"-z ignore\" linker flag" >&5 |
5143 case "`ld -h 2>&1`" in | 5164 case "`ld -h 2>&1`" in |
5144 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5165 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5145 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5166 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5146 *) echo "$ac_t""no" 1>&6 ;; | 5167 *) echo "$ac_t""no" 1>&6 ;; |
5147 esac | 5168 esac |
5148 fi | 5169 fi |
5149 fi | 5170 fi |
5150 | 5171 |
5151 | 5172 |
5152 echo "checking "for specified window system"" 1>&6 | 5173 echo "checking "for specified window system"" 1>&6 |
5153 echo "configure:5154: checking "for specified window system"" >&5 | 5174 echo "configure:5175: checking "for specified window system"" >&5 |
5154 | 5175 |
5155 | 5176 |
5156 GNOME_CONFIG=no | 5177 GNOME_CONFIG=no |
5157 GTK_CONFIG=no | 5178 GTK_CONFIG=no |
5158 | 5179 |
5159 if test "$with_gnome" != "no"; then | 5180 if test "$with_gnome" != "no"; then |
5160 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5181 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5161 echo "configure:5162: checking for GNOME configuration script" >&5 | 5182 echo "configure:5183: checking for GNOME configuration script" >&5 |
5162 for possible in gnome-config | 5183 for possible in gnome-config |
5163 do | 5184 do |
5164 possible_version=`${possible} --version 2> /dev/null` | 5185 possible_version=`${possible} --version 2> /dev/null` |
5165 if test "x${possible_version}" != "x"; then | 5186 if test "x${possible_version}" != "x"; then |
5166 GNOME_CONFIG="${possible}" | 5187 GNOME_CONFIG="${possible}" |
5187 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5208 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5188 fi | 5209 fi |
5189 | 5210 |
5190 if test "$with_gtk" != "no";then | 5211 if test "$with_gtk" != "no";then |
5191 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5212 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5192 echo "configure:5193: checking for GTK configuration script" >&5 | 5213 echo "configure:5214: checking for GTK configuration script" >&5 |
5193 for possible in gtk12-config gtk14-config gtk-config | 5214 for possible in gtk12-config gtk14-config gtk-config |
5194 do | 5215 do |
5195 possible_version=`${possible} --version 2> /dev/null` | 5216 possible_version=`${possible} --version 2> /dev/null` |
5196 if test "x${possible_version}" != "x"; then | 5217 if test "x${possible_version}" != "x"; then |
5197 GTK_CONFIG="${possible}" | 5218 GTK_CONFIG="${possible}" |
5209 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5230 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5210 fi | 5231 fi |
5211 | 5232 |
5212 if test "${GTK_CONFIG}" != "no"; then | 5233 if test "${GTK_CONFIG}" != "no"; then |
5213 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5234 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5214 echo "configure:5215: checking gtk version" >&5 | 5235 echo "configure:5236: checking gtk version" >&5 |
5215 GTK_VERSION=`${GTK_CONFIG} --version` | 5236 GTK_VERSION=`${GTK_CONFIG} --version` |
5216 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5237 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5217 | 5238 |
5218 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5239 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5219 echo "configure:5220: checking gtk libs" >&5 | 5240 echo "configure:5241: checking gtk libs" >&5 |
5220 GTK_LIBS=`${GTK_CONFIG} --libs` | 5241 GTK_LIBS=`${GTK_CONFIG} --libs` |
5221 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5242 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5222 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5243 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5223 | 5244 |
5224 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5245 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5225 echo "configure:5226: checking gtk cflags" >&5 | 5246 echo "configure:5247: checking gtk cflags" >&5 |
5226 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5247 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5227 if test "$GCC" = "yes"; then | 5248 if test "$GCC" = "yes"; then |
5228 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5249 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5229 fi | 5250 fi |
5230 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5251 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5231 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5252 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5232 | 5253 |
5233 | 5254 |
5234 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5255 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5235 echo "configure:5236: checking for main in -lgdk_imlib" >&5 | 5256 echo "configure:5257: checking for main in -lgdk_imlib" >&5 |
5236 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5257 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5237 | 5258 |
5238 xe_check_libs=" -lgdk_imlib " | 5259 xe_check_libs=" -lgdk_imlib " |
5239 cat > conftest.$ac_ext <<EOF | 5260 cat > conftest.$ac_ext <<EOF |
5240 #line 5241 "configure" | 5261 #line 5262 "configure" |
5241 #include "confdefs.h" | 5262 #include "confdefs.h" |
5242 | 5263 |
5243 int main() { | 5264 int main() { |
5244 main() | 5265 main() |
5245 ; return 0; } | 5266 ; return 0; } |
5246 EOF | 5267 EOF |
5247 if { (eval echo configure:5248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5268 if { (eval echo configure:5269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5248 rm -rf conftest* | 5269 rm -rf conftest* |
5249 eval "ac_cv_lib_$ac_lib_var=yes" | 5270 eval "ac_cv_lib_$ac_lib_var=yes" |
5250 else | 5271 else |
5251 echo "configure: failed program was:" >&5 | 5272 echo "configure: failed program was:" >&5 |
5252 cat conftest.$ac_ext >&5 | 5273 cat conftest.$ac_ext >&5 |
5264 fi | 5285 fi |
5265 | 5286 |
5266 | 5287 |
5267 | 5288 |
5268 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5289 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5269 echo "configure:5270: checking for Imlib_init in -lImlib" >&5 | 5290 echo "configure:5291: checking for Imlib_init in -lImlib" >&5 |
5270 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5291 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5271 | 5292 |
5272 xe_check_libs=" -lImlib " | 5293 xe_check_libs=" -lImlib " |
5273 cat > conftest.$ac_ext <<EOF | 5294 cat > conftest.$ac_ext <<EOF |
5274 #line 5275 "configure" | 5295 #line 5296 "configure" |
5275 #include "confdefs.h" | 5296 #include "confdefs.h" |
5276 /* Override any gcc2 internal prototype to avoid an error. */ | 5297 /* Override any gcc2 internal prototype to avoid an error. */ |
5277 /* We use char because int might match the return type of a gcc2 | 5298 /* We use char because int might match the return type of a gcc2 |
5278 builtin and then its argument prototype would still apply. */ | 5299 builtin and then its argument prototype would still apply. */ |
5279 char Imlib_init(); | 5300 char Imlib_init(); |
5280 | 5301 |
5281 int main() { | 5302 int main() { |
5282 Imlib_init() | 5303 Imlib_init() |
5283 ; return 0; } | 5304 ; return 0; } |
5284 EOF | 5305 EOF |
5285 if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5306 if { (eval echo configure:5307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5286 rm -rf conftest* | 5307 rm -rf conftest* |
5287 eval "ac_cv_lib_$ac_lib_var=yes" | 5308 eval "ac_cv_lib_$ac_lib_var=yes" |
5288 else | 5309 else |
5289 echo "configure: failed program was:" >&5 | 5310 echo "configure: failed program was:" >&5 |
5290 cat conftest.$ac_ext >&5 | 5311 cat conftest.$ac_ext >&5 |
5303 | 5324 |
5304 | 5325 |
5305 for ac_func in gdk_imlib_init | 5326 for ac_func in gdk_imlib_init |
5306 do | 5327 do |
5307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5308 echo "configure:5309: checking for $ac_func" >&5 | 5329 echo "configure:5330: checking for $ac_func" >&5 |
5309 | 5330 |
5310 cat > conftest.$ac_ext <<EOF | 5331 cat > conftest.$ac_ext <<EOF |
5311 #line 5312 "configure" | 5332 #line 5333 "configure" |
5312 #include "confdefs.h" | 5333 #include "confdefs.h" |
5313 /* System header to define __stub macros and hopefully few prototypes, | 5334 /* System header to define __stub macros and hopefully few prototypes, |
5314 which can conflict with char $ac_func(); below. */ | 5335 which can conflict with char $ac_func(); below. */ |
5315 #include <assert.h> | 5336 #include <assert.h> |
5316 /* Override any gcc2 internal prototype to avoid an error. */ | 5337 /* Override any gcc2 internal prototype to avoid an error. */ |
5329 $ac_func(); | 5350 $ac_func(); |
5330 #endif | 5351 #endif |
5331 | 5352 |
5332 ; return 0; } | 5353 ; return 0; } |
5333 EOF | 5354 EOF |
5334 if { (eval echo configure:5335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5335 rm -rf conftest* | 5356 rm -rf conftest* |
5336 eval "ac_cv_func_$ac_func=yes" | 5357 eval "ac_cv_func_$ac_func=yes" |
5337 else | 5358 else |
5338 echo "configure: failed program was:" >&5 | 5359 echo "configure: failed program was:" >&5 |
5339 cat conftest.$ac_ext >&5 | 5360 cat conftest.$ac_ext >&5 |
5395 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5416 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5396 for ac_hdr in glade/glade.h glade.h | 5417 for ac_hdr in glade/glade.h glade.h |
5397 do | 5418 do |
5398 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5419 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5399 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5420 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5400 echo "configure:5401: checking for $ac_hdr" >&5 | 5421 echo "configure:5422: checking for $ac_hdr" >&5 |
5401 | 5422 |
5402 cat > conftest.$ac_ext <<EOF | 5423 cat > conftest.$ac_ext <<EOF |
5403 #line 5404 "configure" | 5424 #line 5425 "configure" |
5404 #include "confdefs.h" | 5425 #include "confdefs.h" |
5405 #include <$ac_hdr> | 5426 #include <$ac_hdr> |
5406 EOF | 5427 EOF |
5407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5408 { (eval echo configure:5409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5429 { (eval echo configure:5430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5410 if test -z "$ac_err"; then | 5431 if test -z "$ac_err"; then |
5411 rm -rf conftest* | 5432 rm -rf conftest* |
5412 eval "ac_cv_header_$ac_safe=yes" | 5433 eval "ac_cv_header_$ac_safe=yes" |
5413 else | 5434 else |
5434 fi | 5455 fi |
5435 done | 5456 done |
5436 | 5457 |
5437 | 5458 |
5438 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5459 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5439 echo "configure:5440: checking for main in -lxml" >&5 | 5460 echo "configure:5461: checking for main in -lxml" >&5 |
5440 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5461 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5441 | 5462 |
5442 xe_check_libs=" -lxml " | 5463 xe_check_libs=" -lxml " |
5443 cat > conftest.$ac_ext <<EOF | 5464 cat > conftest.$ac_ext <<EOF |
5444 #line 5445 "configure" | 5465 #line 5466 "configure" |
5445 #include "confdefs.h" | 5466 #include "confdefs.h" |
5446 | 5467 |
5447 int main() { | 5468 int main() { |
5448 main() | 5469 main() |
5449 ; return 0; } | 5470 ; return 0; } |
5450 EOF | 5471 EOF |
5451 if { (eval echo configure:5452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5452 rm -rf conftest* | 5473 rm -rf conftest* |
5453 eval "ac_cv_lib_$ac_lib_var=yes" | 5474 eval "ac_cv_lib_$ac_lib_var=yes" |
5454 else | 5475 else |
5455 echo "configure: failed program was:" >&5 | 5476 echo "configure: failed program was:" >&5 |
5456 cat conftest.$ac_ext >&5 | 5477 cat conftest.$ac_ext >&5 |
5468 fi | 5489 fi |
5469 | 5490 |
5470 | 5491 |
5471 | 5492 |
5472 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5493 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5473 echo "configure:5474: checking for main in -lglade" >&5 | 5494 echo "configure:5495: checking for main in -lglade" >&5 |
5474 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5495 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5475 | 5496 |
5476 xe_check_libs=" -lglade " | 5497 xe_check_libs=" -lglade " |
5477 cat > conftest.$ac_ext <<EOF | 5498 cat > conftest.$ac_ext <<EOF |
5478 #line 5479 "configure" | 5499 #line 5500 "configure" |
5479 #include "confdefs.h" | 5500 #include "confdefs.h" |
5480 | 5501 |
5481 int main() { | 5502 int main() { |
5482 main() | 5503 main() |
5483 ; return 0; } | 5504 ; return 0; } |
5484 EOF | 5505 EOF |
5485 if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5506 if { (eval echo configure:5507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5486 rm -rf conftest* | 5507 rm -rf conftest* |
5487 eval "ac_cv_lib_$ac_lib_var=yes" | 5508 eval "ac_cv_lib_$ac_lib_var=yes" |
5488 else | 5509 else |
5489 echo "configure: failed program was:" >&5 | 5510 echo "configure: failed program was:" >&5 |
5490 cat conftest.$ac_ext >&5 | 5511 cat conftest.$ac_ext >&5 |
5502 fi | 5523 fi |
5503 | 5524 |
5504 | 5525 |
5505 | 5526 |
5506 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5527 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5507 echo "configure:5508: checking for main in -lglade-gnome" >&5 | 5528 echo "configure:5529: checking for main in -lglade-gnome" >&5 |
5508 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5529 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5509 | 5530 |
5510 xe_check_libs=" -lglade-gnome " | 5531 xe_check_libs=" -lglade-gnome " |
5511 cat > conftest.$ac_ext <<EOF | 5532 cat > conftest.$ac_ext <<EOF |
5512 #line 5513 "configure" | 5533 #line 5534 "configure" |
5513 #include "confdefs.h" | 5534 #include "confdefs.h" |
5514 | 5535 |
5515 int main() { | 5536 int main() { |
5516 main() | 5537 main() |
5517 ; return 0; } | 5538 ; return 0; } |
5518 EOF | 5539 EOF |
5519 if { (eval echo configure:5520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5540 if { (eval echo configure:5541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5520 rm -rf conftest* | 5541 rm -rf conftest* |
5521 eval "ac_cv_lib_$ac_lib_var=yes" | 5542 eval "ac_cv_lib_$ac_lib_var=yes" |
5522 else | 5543 else |
5523 echo "configure: failed program was:" >&5 | 5544 echo "configure: failed program was:" >&5 |
5524 cat conftest.$ac_ext >&5 | 5545 cat conftest.$ac_ext >&5 |
5535 echo "$ac_t""no" 1>&6 | 5556 echo "$ac_t""no" 1>&6 |
5536 fi | 5557 fi |
5537 | 5558 |
5538 | 5559 |
5539 cat > conftest.$ac_ext <<EOF | 5560 cat > conftest.$ac_ext <<EOF |
5540 #line 5541 "configure" | 5561 #line 5562 "configure" |
5541 #include "confdefs.h" | 5562 #include "confdefs.h" |
5542 #include <glade/glade-xml.h> | 5563 #include <glade/glade-xml.h> |
5543 EOF | 5564 EOF |
5544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5545 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5566 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5594 # If we find X, set shell vars x_includes and x_libraries to the | 5615 # If we find X, set shell vars x_includes and x_libraries to the |
5595 # paths, otherwise set no_x=yes. | 5616 # paths, otherwise set no_x=yes. |
5596 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5617 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5597 # --without-x overrides everything else, but does not touch the cache. | 5618 # --without-x overrides everything else, but does not touch the cache. |
5598 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5619 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5599 echo "configure:5600: checking for X" >&5 | 5620 echo "configure:5621: checking for X" >&5 |
5600 | 5621 |
5601 # Check whether --with-x or --without-x was given. | 5622 # Check whether --with-x or --without-x was given. |
5602 if test "${with_x+set}" = set; then | 5623 if test "${with_x+set}" = set; then |
5603 withval="$with_x" | 5624 withval="$with_x" |
5604 : | 5625 : |
5654 # Guess where to find include files, by looking for this one X11 .h file. | 5675 # Guess where to find include files, by looking for this one X11 .h file. |
5655 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5676 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5656 | 5677 |
5657 # First, try using that file with no special directory specified. | 5678 # First, try using that file with no special directory specified. |
5658 cat > conftest.$ac_ext <<EOF | 5679 cat > conftest.$ac_ext <<EOF |
5659 #line 5660 "configure" | 5680 #line 5681 "configure" |
5660 #include "confdefs.h" | 5681 #include "confdefs.h" |
5661 #include <$x_direct_test_include> | 5682 #include <$x_direct_test_include> |
5662 EOF | 5683 EOF |
5663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5664 { (eval echo configure:5665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5685 { (eval echo configure:5686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5666 if test -z "$ac_err"; then | 5687 if test -z "$ac_err"; then |
5667 rm -rf conftest* | 5688 rm -rf conftest* |
5668 # We can compile using X headers with no special include directory. | 5689 # We can compile using X headers with no special include directory. |
5669 ac_x_includes= | 5690 ac_x_includes= |
5728 # See if we find them without any special options. | 5749 # See if we find them without any special options. |
5729 # Don't add to $LIBS permanently. | 5750 # Don't add to $LIBS permanently. |
5730 ac_save_LIBS="$LIBS" | 5751 ac_save_LIBS="$LIBS" |
5731 LIBS="-l$x_direct_test_library $LIBS" | 5752 LIBS="-l$x_direct_test_library $LIBS" |
5732 cat > conftest.$ac_ext <<EOF | 5753 cat > conftest.$ac_ext <<EOF |
5733 #line 5734 "configure" | 5754 #line 5755 "configure" |
5734 #include "confdefs.h" | 5755 #include "confdefs.h" |
5735 | 5756 |
5736 int main() { | 5757 int main() { |
5737 ${x_direct_test_function}() | 5758 ${x_direct_test_function}() |
5738 ; return 0; } | 5759 ; return 0; } |
5739 EOF | 5760 EOF |
5740 if { (eval echo configure:5741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5741 rm -rf conftest* | 5762 rm -rf conftest* |
5742 LIBS="$ac_save_LIBS" | 5763 LIBS="$ac_save_LIBS" |
5743 # We can link X programs with no special library path. | 5764 # We can link X programs with no special library path. |
5744 ac_x_libraries= | 5765 ac_x_libraries= |
5745 else | 5766 else |
5844 # For Solaris; some versions of Sun CC require a space after -R and | 5865 # For Solaris; some versions of Sun CC require a space after -R and |
5845 # others require no space. Words are not sufficient . . . . | 5866 # others require no space. Words are not sufficient . . . . |
5846 case "`(uname -sr) 2>/dev/null`" in | 5867 case "`(uname -sr) 2>/dev/null`" in |
5847 "SunOS 5"*) | 5868 "SunOS 5"*) |
5848 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5869 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5849 echo "configure:5850: checking whether -R must be followed by a space" >&5 | 5870 echo "configure:5871: checking whether -R must be followed by a space" >&5 |
5850 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5871 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5851 cat > conftest.$ac_ext <<EOF | 5872 cat > conftest.$ac_ext <<EOF |
5852 #line 5853 "configure" | 5873 #line 5874 "configure" |
5853 #include "confdefs.h" | 5874 #include "confdefs.h" |
5854 | 5875 |
5855 int main() { | 5876 int main() { |
5856 | 5877 |
5857 ; return 0; } | 5878 ; return 0; } |
5858 EOF | 5879 EOF |
5859 if { (eval echo configure:5860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5880 if { (eval echo configure:5881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5860 rm -rf conftest* | 5881 rm -rf conftest* |
5861 ac_R_nospace=yes | 5882 ac_R_nospace=yes |
5862 else | 5883 else |
5863 echo "configure: failed program was:" >&5 | 5884 echo "configure: failed program was:" >&5 |
5864 cat conftest.$ac_ext >&5 | 5885 cat conftest.$ac_ext >&5 |
5870 echo "$ac_t""no" 1>&6 | 5891 echo "$ac_t""no" 1>&6 |
5871 X_LIBS="$X_LIBS -R$x_libraries" | 5892 X_LIBS="$X_LIBS -R$x_libraries" |
5872 else | 5893 else |
5873 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5894 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5874 cat > conftest.$ac_ext <<EOF | 5895 cat > conftest.$ac_ext <<EOF |
5875 #line 5876 "configure" | 5896 #line 5897 "configure" |
5876 #include "confdefs.h" | 5897 #include "confdefs.h" |
5877 | 5898 |
5878 int main() { | 5899 int main() { |
5879 | 5900 |
5880 ; return 0; } | 5901 ; return 0; } |
5881 EOF | 5902 EOF |
5882 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5903 if { (eval echo configure:5904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5883 rm -rf conftest* | 5904 rm -rf conftest* |
5884 ac_R_space=yes | 5905 ac_R_space=yes |
5885 else | 5906 else |
5886 echo "configure: failed program was:" >&5 | 5907 echo "configure: failed program was:" >&5 |
5887 cat conftest.$ac_ext >&5 | 5908 cat conftest.$ac_ext >&5 |
5913 if test "$with_dnet" = "no" ; then | 5934 if test "$with_dnet" = "no" ; then |
5914 ac_cv_lib_dnet_dnet_ntoa=no | 5935 ac_cv_lib_dnet_dnet_ntoa=no |
5915 else | 5936 else |
5916 | 5937 |
5917 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5938 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5918 echo "configure:5919: checking for dnet_ntoa in -ldnet" >&5 | 5939 echo "configure:5940: checking for dnet_ntoa in -ldnet" >&5 |
5919 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5940 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5920 | 5941 |
5921 xe_check_libs=" -ldnet " | 5942 xe_check_libs=" -ldnet " |
5922 cat > conftest.$ac_ext <<EOF | 5943 cat > conftest.$ac_ext <<EOF |
5923 #line 5924 "configure" | 5944 #line 5945 "configure" |
5924 #include "confdefs.h" | 5945 #include "confdefs.h" |
5925 /* Override any gcc2 internal prototype to avoid an error. */ | 5946 /* Override any gcc2 internal prototype to avoid an error. */ |
5926 /* We use char because int might match the return type of a gcc2 | 5947 /* We use char because int might match the return type of a gcc2 |
5927 builtin and then its argument prototype would still apply. */ | 5948 builtin and then its argument prototype would still apply. */ |
5928 char dnet_ntoa(); | 5949 char dnet_ntoa(); |
5929 | 5950 |
5930 int main() { | 5951 int main() { |
5931 dnet_ntoa() | 5952 dnet_ntoa() |
5932 ; return 0; } | 5953 ; return 0; } |
5933 EOF | 5954 EOF |
5934 if { (eval echo configure:5935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5955 if { (eval echo configure:5956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5935 rm -rf conftest* | 5956 rm -rf conftest* |
5936 eval "ac_cv_lib_$ac_lib_var=yes" | 5957 eval "ac_cv_lib_$ac_lib_var=yes" |
5937 else | 5958 else |
5938 echo "configure: failed program was:" >&5 | 5959 echo "configure: failed program was:" >&5 |
5939 cat conftest.$ac_ext >&5 | 5960 cat conftest.$ac_ext >&5 |
5953 fi | 5974 fi |
5954 | 5975 |
5955 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5976 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5956 | 5977 |
5957 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5978 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5958 echo "configure:5959: checking for dnet_ntoa in -ldnet_stub" >&5 | 5979 echo "configure:5980: checking for dnet_ntoa in -ldnet_stub" >&5 |
5959 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5980 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5960 | 5981 |
5961 xe_check_libs=" -ldnet_stub " | 5982 xe_check_libs=" -ldnet_stub " |
5962 cat > conftest.$ac_ext <<EOF | 5983 cat > conftest.$ac_ext <<EOF |
5963 #line 5964 "configure" | 5984 #line 5985 "configure" |
5964 #include "confdefs.h" | 5985 #include "confdefs.h" |
5965 /* Override any gcc2 internal prototype to avoid an error. */ | 5986 /* Override any gcc2 internal prototype to avoid an error. */ |
5966 /* We use char because int might match the return type of a gcc2 | 5987 /* We use char because int might match the return type of a gcc2 |
5967 builtin and then its argument prototype would still apply. */ | 5988 builtin and then its argument prototype would still apply. */ |
5968 char dnet_ntoa(); | 5989 char dnet_ntoa(); |
5969 | 5990 |
5970 int main() { | 5991 int main() { |
5971 dnet_ntoa() | 5992 dnet_ntoa() |
5972 ; return 0; } | 5993 ; return 0; } |
5973 EOF | 5994 EOF |
5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5995 if { (eval echo configure:5996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5975 rm -rf conftest* | 5996 rm -rf conftest* |
5976 eval "ac_cv_lib_$ac_lib_var=yes" | 5997 eval "ac_cv_lib_$ac_lib_var=yes" |
5977 else | 5998 else |
5978 echo "configure: failed program was:" >&5 | 5999 echo "configure: failed program was:" >&5 |
5979 cat conftest.$ac_ext >&5 | 6000 cat conftest.$ac_ext >&5 |
5998 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6019 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5999 # needs -lnsl. | 6020 # needs -lnsl. |
6000 # The nsl library prevents programs from opening the X display | 6021 # The nsl library prevents programs from opening the X display |
6001 # on Irix 5.2, according to dickey@clark.net. | 6022 # on Irix 5.2, according to dickey@clark.net. |
6002 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6023 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6003 echo "configure:6004: checking for gethostbyname" >&5 | 6024 echo "configure:6025: checking for gethostbyname" >&5 |
6004 | 6025 |
6005 cat > conftest.$ac_ext <<EOF | 6026 cat > conftest.$ac_ext <<EOF |
6006 #line 6007 "configure" | 6027 #line 6028 "configure" |
6007 #include "confdefs.h" | 6028 #include "confdefs.h" |
6008 /* System header to define __stub macros and hopefully few prototypes, | 6029 /* System header to define __stub macros and hopefully few prototypes, |
6009 which can conflict with char gethostbyname(); below. */ | 6030 which can conflict with char gethostbyname(); below. */ |
6010 #include <assert.h> | 6031 #include <assert.h> |
6011 /* Override any gcc2 internal prototype to avoid an error. */ | 6032 /* Override any gcc2 internal prototype to avoid an error. */ |
6024 gethostbyname(); | 6045 gethostbyname(); |
6025 #endif | 6046 #endif |
6026 | 6047 |
6027 ; return 0; } | 6048 ; return 0; } |
6028 EOF | 6049 EOF |
6029 if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6050 if { (eval echo configure:6051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6030 rm -rf conftest* | 6051 rm -rf conftest* |
6031 eval "ac_cv_func_gethostbyname=yes" | 6052 eval "ac_cv_func_gethostbyname=yes" |
6032 else | 6053 else |
6033 echo "configure: failed program was:" >&5 | 6054 echo "configure: failed program was:" >&5 |
6034 cat conftest.$ac_ext >&5 | 6055 cat conftest.$ac_ext >&5 |
6045 fi | 6066 fi |
6046 | 6067 |
6047 if test $ac_cv_func_gethostbyname = no; then | 6068 if test $ac_cv_func_gethostbyname = no; then |
6048 | 6069 |
6049 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6070 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6050 echo "configure:6051: checking for gethostbyname in -lnsl" >&5 | 6071 echo "configure:6072: checking for gethostbyname in -lnsl" >&5 |
6051 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6072 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6052 | 6073 |
6053 xe_check_libs=" -lnsl " | 6074 xe_check_libs=" -lnsl " |
6054 cat > conftest.$ac_ext <<EOF | 6075 cat > conftest.$ac_ext <<EOF |
6055 #line 6056 "configure" | 6076 #line 6077 "configure" |
6056 #include "confdefs.h" | 6077 #include "confdefs.h" |
6057 /* Override any gcc2 internal prototype to avoid an error. */ | 6078 /* Override any gcc2 internal prototype to avoid an error. */ |
6058 /* We use char because int might match the return type of a gcc2 | 6079 /* We use char because int might match the return type of a gcc2 |
6059 builtin and then its argument prototype would still apply. */ | 6080 builtin and then its argument prototype would still apply. */ |
6060 char gethostbyname(); | 6081 char gethostbyname(); |
6061 | 6082 |
6062 int main() { | 6083 int main() { |
6063 gethostbyname() | 6084 gethostbyname() |
6064 ; return 0; } | 6085 ; return 0; } |
6065 EOF | 6086 EOF |
6066 if { (eval echo configure:6067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6087 if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6067 rm -rf conftest* | 6088 rm -rf conftest* |
6068 eval "ac_cv_lib_$ac_lib_var=yes" | 6089 eval "ac_cv_lib_$ac_lib_var=yes" |
6069 else | 6090 else |
6070 echo "configure: failed program was:" >&5 | 6091 echo "configure: failed program was:" >&5 |
6071 cat conftest.$ac_ext >&5 | 6092 cat conftest.$ac_ext >&5 |
6091 # on later versions), says simon@lia.di.epfl.ch: it contains | 6112 # on later versions), says simon@lia.di.epfl.ch: it contains |
6092 # gethostby* variants that don't use the nameserver (or something). | 6113 # gethostby* variants that don't use the nameserver (or something). |
6093 # -lsocket must be given before -lnsl if both are needed. | 6114 # -lsocket must be given before -lnsl if both are needed. |
6094 # We assume that if connect needs -lnsl, so does gethostbyname. | 6115 # We assume that if connect needs -lnsl, so does gethostbyname. |
6095 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6116 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6096 echo "configure:6097: checking for connect" >&5 | 6117 echo "configure:6118: checking for connect" >&5 |
6097 | 6118 |
6098 cat > conftest.$ac_ext <<EOF | 6119 cat > conftest.$ac_ext <<EOF |
6099 #line 6100 "configure" | 6120 #line 6121 "configure" |
6100 #include "confdefs.h" | 6121 #include "confdefs.h" |
6101 /* System header to define __stub macros and hopefully few prototypes, | 6122 /* System header to define __stub macros and hopefully few prototypes, |
6102 which can conflict with char connect(); below. */ | 6123 which can conflict with char connect(); below. */ |
6103 #include <assert.h> | 6124 #include <assert.h> |
6104 /* Override any gcc2 internal prototype to avoid an error. */ | 6125 /* Override any gcc2 internal prototype to avoid an error. */ |
6117 connect(); | 6138 connect(); |
6118 #endif | 6139 #endif |
6119 | 6140 |
6120 ; return 0; } | 6141 ; return 0; } |
6121 EOF | 6142 EOF |
6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6143 if { (eval echo configure:6144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6123 rm -rf conftest* | 6144 rm -rf conftest* |
6124 eval "ac_cv_func_connect=yes" | 6145 eval "ac_cv_func_connect=yes" |
6125 else | 6146 else |
6126 echo "configure: failed program was:" >&5 | 6147 echo "configure: failed program was:" >&5 |
6127 cat conftest.$ac_ext >&5 | 6148 cat conftest.$ac_ext >&5 |
6140 if test $ac_cv_func_connect = no; then | 6161 if test $ac_cv_func_connect = no; then |
6141 | 6162 |
6142 xe_msg_checking="for connect in -lsocket" | 6163 xe_msg_checking="for connect in -lsocket" |
6143 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6164 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6144 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6165 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6145 echo "configure:6146: checking "$xe_msg_checking"" >&5 | 6166 echo "configure:6167: checking "$xe_msg_checking"" >&5 |
6146 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6167 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6147 | 6168 |
6148 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6169 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6149 cat > conftest.$ac_ext <<EOF | 6170 cat > conftest.$ac_ext <<EOF |
6150 #line 6151 "configure" | 6171 #line 6172 "configure" |
6151 #include "confdefs.h" | 6172 #include "confdefs.h" |
6152 /* Override any gcc2 internal prototype to avoid an error. */ | 6173 /* Override any gcc2 internal prototype to avoid an error. */ |
6153 /* We use char because int might match the return type of a gcc2 | 6174 /* We use char because int might match the return type of a gcc2 |
6154 builtin and then its argument prototype would still apply. */ | 6175 builtin and then its argument prototype would still apply. */ |
6155 char connect(); | 6176 char connect(); |
6156 | 6177 |
6157 int main() { | 6178 int main() { |
6158 connect() | 6179 connect() |
6159 ; return 0; } | 6180 ; return 0; } |
6160 EOF | 6181 EOF |
6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6182 if { (eval echo configure:6183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6162 rm -rf conftest* | 6183 rm -rf conftest* |
6163 eval "ac_cv_lib_$ac_lib_var=yes" | 6184 eval "ac_cv_lib_$ac_lib_var=yes" |
6164 else | 6185 else |
6165 echo "configure: failed program was:" >&5 | 6186 echo "configure: failed program was:" >&5 |
6166 cat conftest.$ac_ext >&5 | 6187 cat conftest.$ac_ext >&5 |
6180 | 6201 |
6181 fi | 6202 fi |
6182 | 6203 |
6183 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6204 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6184 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6205 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6185 echo "configure:6186: checking for remove" >&5 | 6206 echo "configure:6207: checking for remove" >&5 |
6186 | 6207 |
6187 cat > conftest.$ac_ext <<EOF | 6208 cat > conftest.$ac_ext <<EOF |
6188 #line 6189 "configure" | 6209 #line 6210 "configure" |
6189 #include "confdefs.h" | 6210 #include "confdefs.h" |
6190 /* System header to define __stub macros and hopefully few prototypes, | 6211 /* System header to define __stub macros and hopefully few prototypes, |
6191 which can conflict with char remove(); below. */ | 6212 which can conflict with char remove(); below. */ |
6192 #include <assert.h> | 6213 #include <assert.h> |
6193 /* Override any gcc2 internal prototype to avoid an error. */ | 6214 /* Override any gcc2 internal prototype to avoid an error. */ |
6206 remove(); | 6227 remove(); |
6207 #endif | 6228 #endif |
6208 | 6229 |
6209 ; return 0; } | 6230 ; return 0; } |
6210 EOF | 6231 EOF |
6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6212 rm -rf conftest* | 6233 rm -rf conftest* |
6213 eval "ac_cv_func_remove=yes" | 6234 eval "ac_cv_func_remove=yes" |
6214 else | 6235 else |
6215 echo "configure: failed program was:" >&5 | 6236 echo "configure: failed program was:" >&5 |
6216 cat conftest.$ac_ext >&5 | 6237 cat conftest.$ac_ext >&5 |
6227 fi | 6248 fi |
6228 | 6249 |
6229 if test $ac_cv_func_remove = no; then | 6250 if test $ac_cv_func_remove = no; then |
6230 | 6251 |
6231 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6252 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6232 echo "configure:6233: checking for remove in -lposix" >&5 | 6253 echo "configure:6254: checking for remove in -lposix" >&5 |
6233 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6254 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6234 | 6255 |
6235 xe_check_libs=" -lposix " | 6256 xe_check_libs=" -lposix " |
6236 cat > conftest.$ac_ext <<EOF | 6257 cat > conftest.$ac_ext <<EOF |
6237 #line 6238 "configure" | 6258 #line 6259 "configure" |
6238 #include "confdefs.h" | 6259 #include "confdefs.h" |
6239 /* Override any gcc2 internal prototype to avoid an error. */ | 6260 /* Override any gcc2 internal prototype to avoid an error. */ |
6240 /* We use char because int might match the return type of a gcc2 | 6261 /* We use char because int might match the return type of a gcc2 |
6241 builtin and then its argument prototype would still apply. */ | 6262 builtin and then its argument prototype would still apply. */ |
6242 char remove(); | 6263 char remove(); |
6243 | 6264 |
6244 int main() { | 6265 int main() { |
6245 remove() | 6266 remove() |
6246 ; return 0; } | 6267 ; return 0; } |
6247 EOF | 6268 EOF |
6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6269 if { (eval echo configure:6270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6249 rm -rf conftest* | 6270 rm -rf conftest* |
6250 eval "ac_cv_lib_$ac_lib_var=yes" | 6271 eval "ac_cv_lib_$ac_lib_var=yes" |
6251 else | 6272 else |
6252 echo "configure: failed program was:" >&5 | 6273 echo "configure: failed program was:" >&5 |
6253 cat conftest.$ac_ext >&5 | 6274 cat conftest.$ac_ext >&5 |
6267 | 6288 |
6268 fi | 6289 fi |
6269 | 6290 |
6270 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6291 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6271 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6292 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6272 echo "configure:6273: checking for shmat" >&5 | 6293 echo "configure:6294: checking for shmat" >&5 |
6273 | 6294 |
6274 cat > conftest.$ac_ext <<EOF | 6295 cat > conftest.$ac_ext <<EOF |
6275 #line 6276 "configure" | 6296 #line 6297 "configure" |
6276 #include "confdefs.h" | 6297 #include "confdefs.h" |
6277 /* System header to define __stub macros and hopefully few prototypes, | 6298 /* System header to define __stub macros and hopefully few prototypes, |
6278 which can conflict with char shmat(); below. */ | 6299 which can conflict with char shmat(); below. */ |
6279 #include <assert.h> | 6300 #include <assert.h> |
6280 /* Override any gcc2 internal prototype to avoid an error. */ | 6301 /* Override any gcc2 internal prototype to avoid an error. */ |
6293 shmat(); | 6314 shmat(); |
6294 #endif | 6315 #endif |
6295 | 6316 |
6296 ; return 0; } | 6317 ; return 0; } |
6297 EOF | 6318 EOF |
6298 if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6319 if { (eval echo configure:6320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6299 rm -rf conftest* | 6320 rm -rf conftest* |
6300 eval "ac_cv_func_shmat=yes" | 6321 eval "ac_cv_func_shmat=yes" |
6301 else | 6322 else |
6302 echo "configure: failed program was:" >&5 | 6323 echo "configure: failed program was:" >&5 |
6303 cat conftest.$ac_ext >&5 | 6324 cat conftest.$ac_ext >&5 |
6314 fi | 6335 fi |
6315 | 6336 |
6316 if test $ac_cv_func_shmat = no; then | 6337 if test $ac_cv_func_shmat = no; then |
6317 | 6338 |
6318 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6339 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6319 echo "configure:6320: checking for shmat in -lipc" >&5 | 6340 echo "configure:6341: checking for shmat in -lipc" >&5 |
6320 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6341 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6321 | 6342 |
6322 xe_check_libs=" -lipc " | 6343 xe_check_libs=" -lipc " |
6323 cat > conftest.$ac_ext <<EOF | 6344 cat > conftest.$ac_ext <<EOF |
6324 #line 6325 "configure" | 6345 #line 6346 "configure" |
6325 #include "confdefs.h" | 6346 #include "confdefs.h" |
6326 /* Override any gcc2 internal prototype to avoid an error. */ | 6347 /* Override any gcc2 internal prototype to avoid an error. */ |
6327 /* We use char because int might match the return type of a gcc2 | 6348 /* We use char because int might match the return type of a gcc2 |
6328 builtin and then its argument prototype would still apply. */ | 6349 builtin and then its argument prototype would still apply. */ |
6329 char shmat(); | 6350 char shmat(); |
6330 | 6351 |
6331 int main() { | 6352 int main() { |
6332 shmat() | 6353 shmat() |
6333 ; return 0; } | 6354 ; return 0; } |
6334 EOF | 6355 EOF |
6335 if { (eval echo configure:6336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6356 if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6336 rm -rf conftest* | 6357 rm -rf conftest* |
6337 eval "ac_cv_lib_$ac_lib_var=yes" | 6358 eval "ac_cv_lib_$ac_lib_var=yes" |
6338 else | 6359 else |
6339 echo "configure: failed program was:" >&5 | 6360 echo "configure: failed program was:" >&5 |
6340 cat conftest.$ac_ext >&5 | 6361 cat conftest.$ac_ext >&5 |
6366 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6387 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6367 | 6388 |
6368 xe_msg_checking="for IceConnectionNumber in -lICE" | 6389 xe_msg_checking="for IceConnectionNumber in -lICE" |
6369 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6390 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6370 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6391 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6371 echo "configure:6372: checking "$xe_msg_checking"" >&5 | 6392 echo "configure:6393: checking "$xe_msg_checking"" >&5 |
6372 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6393 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6373 | 6394 |
6374 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6395 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6375 cat > conftest.$ac_ext <<EOF | 6396 cat > conftest.$ac_ext <<EOF |
6376 #line 6377 "configure" | 6397 #line 6398 "configure" |
6377 #include "confdefs.h" | 6398 #include "confdefs.h" |
6378 /* Override any gcc2 internal prototype to avoid an error. */ | 6399 /* Override any gcc2 internal prototype to avoid an error. */ |
6379 /* We use char because int might match the return type of a gcc2 | 6400 /* We use char because int might match the return type of a gcc2 |
6380 builtin and then its argument prototype would still apply. */ | 6401 builtin and then its argument prototype would still apply. */ |
6381 char IceConnectionNumber(); | 6402 char IceConnectionNumber(); |
6382 | 6403 |
6383 int main() { | 6404 int main() { |
6384 IceConnectionNumber() | 6405 IceConnectionNumber() |
6385 ; return 0; } | 6406 ; return 0; } |
6386 EOF | 6407 EOF |
6387 if { (eval echo configure:6388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6408 if { (eval echo configure:6409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6388 rm -rf conftest* | 6409 rm -rf conftest* |
6389 eval "ac_cv_lib_$ac_lib_var=yes" | 6410 eval "ac_cv_lib_$ac_lib_var=yes" |
6390 else | 6411 else |
6391 echo "configure: failed program was:" >&5 | 6412 echo "configure: failed program was:" >&5 |
6392 cat conftest.$ac_ext >&5 | 6413 cat conftest.$ac_ext >&5 |
6549 EOF | 6570 EOF |
6550 } | 6571 } |
6551 | 6572 |
6552 | 6573 |
6553 echo "checking for X defines extracted by xmkmf" 1>&6 | 6574 echo "checking for X defines extracted by xmkmf" 1>&6 |
6554 echo "configure:6555: checking for X defines extracted by xmkmf" >&5 | 6575 echo "configure:6576: checking for X defines extracted by xmkmf" >&5 |
6555 rm -fr conftestdir | 6576 rm -fr conftestdir |
6556 if mkdir conftestdir; then | 6577 if mkdir conftestdir; then |
6557 cd conftestdir | 6578 cd conftestdir |
6558 cat > Imakefile <<'EOF' | 6579 cat > Imakefile <<'EOF' |
6559 xetest: | 6580 xetest: |
6598 done | 6619 done |
6599 fi | 6620 fi |
6600 | 6621 |
6601 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6622 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6602 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6623 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6603 echo "configure:6604: checking for X11/Intrinsic.h" >&5 | 6624 echo "configure:6625: checking for X11/Intrinsic.h" >&5 |
6604 | 6625 |
6605 cat > conftest.$ac_ext <<EOF | 6626 cat > conftest.$ac_ext <<EOF |
6606 #line 6607 "configure" | 6627 #line 6628 "configure" |
6607 #include "confdefs.h" | 6628 #include "confdefs.h" |
6608 #include <X11/Intrinsic.h> | 6629 #include <X11/Intrinsic.h> |
6609 EOF | 6630 EOF |
6610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6611 { (eval echo configure:6612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6632 { (eval echo configure:6633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6613 if test -z "$ac_err"; then | 6634 if test -z "$ac_err"; then |
6614 rm -rf conftest* | 6635 rm -rf conftest* |
6615 eval "ac_cv_header_$ac_safe=yes" | 6636 eval "ac_cv_header_$ac_safe=yes" |
6616 else | 6637 else |
6630 fi | 6651 fi |
6631 | 6652 |
6632 | 6653 |
6633 | 6654 |
6634 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6655 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6635 echo "configure:6636: checking for XOpenDisplay in -lX11" >&5 | 6656 echo "configure:6657: checking for XOpenDisplay in -lX11" >&5 |
6636 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6657 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6637 | 6658 |
6638 xe_check_libs=" -lX11 " | 6659 xe_check_libs=" -lX11 " |
6639 cat > conftest.$ac_ext <<EOF | 6660 cat > conftest.$ac_ext <<EOF |
6640 #line 6641 "configure" | 6661 #line 6662 "configure" |
6641 #include "confdefs.h" | 6662 #include "confdefs.h" |
6642 /* Override any gcc2 internal prototype to avoid an error. */ | 6663 /* Override any gcc2 internal prototype to avoid an error. */ |
6643 /* We use char because int might match the return type of a gcc2 | 6664 /* We use char because int might match the return type of a gcc2 |
6644 builtin and then its argument prototype would still apply. */ | 6665 builtin and then its argument prototype would still apply. */ |
6645 char XOpenDisplay(); | 6666 char XOpenDisplay(); |
6646 | 6667 |
6647 int main() { | 6668 int main() { |
6648 XOpenDisplay() | 6669 XOpenDisplay() |
6649 ; return 0; } | 6670 ; return 0; } |
6650 EOF | 6671 EOF |
6651 if { (eval echo configure:6652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6672 if { (eval echo configure:6673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6652 rm -rf conftest* | 6673 rm -rf conftest* |
6653 eval "ac_cv_lib_$ac_lib_var=yes" | 6674 eval "ac_cv_lib_$ac_lib_var=yes" |
6654 else | 6675 else |
6655 echo "configure: failed program was:" >&5 | 6676 echo "configure: failed program was:" >&5 |
6656 cat conftest.$ac_ext >&5 | 6677 cat conftest.$ac_ext >&5 |
6671 if test "$have_lib_x11" != "yes"; then | 6692 if test "$have_lib_x11" != "yes"; then |
6672 | 6693 |
6673 xe_msg_checking="for XGetFontProperty in -lX11" | 6694 xe_msg_checking="for XGetFontProperty in -lX11" |
6674 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6695 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6675 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6696 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6676 echo "configure:6677: checking "$xe_msg_checking"" >&5 | 6697 echo "configure:6698: checking "$xe_msg_checking"" >&5 |
6677 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6698 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6678 | 6699 |
6679 xe_check_libs=" -lX11 -b i486-linuxaout" | 6700 xe_check_libs=" -lX11 -b i486-linuxaout" |
6680 cat > conftest.$ac_ext <<EOF | 6701 cat > conftest.$ac_ext <<EOF |
6681 #line 6682 "configure" | 6702 #line 6703 "configure" |
6682 #include "confdefs.h" | 6703 #include "confdefs.h" |
6683 /* Override any gcc2 internal prototype to avoid an error. */ | 6704 /* Override any gcc2 internal prototype to avoid an error. */ |
6684 /* We use char because int might match the return type of a gcc2 | 6705 /* We use char because int might match the return type of a gcc2 |
6685 builtin and then its argument prototype would still apply. */ | 6706 builtin and then its argument prototype would still apply. */ |
6686 char XGetFontProperty(); | 6707 char XGetFontProperty(); |
6687 | 6708 |
6688 int main() { | 6709 int main() { |
6689 XGetFontProperty() | 6710 XGetFontProperty() |
6690 ; return 0; } | 6711 ; return 0; } |
6691 EOF | 6712 EOF |
6692 if { (eval echo configure:6693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6713 if { (eval echo configure:6714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6693 rm -rf conftest* | 6714 rm -rf conftest* |
6694 eval "ac_cv_lib_$ac_lib_var=yes" | 6715 eval "ac_cv_lib_$ac_lib_var=yes" |
6695 else | 6716 else |
6696 echo "configure: failed program was:" >&5 | 6717 echo "configure: failed program was:" >&5 |
6697 cat conftest.$ac_ext >&5 | 6718 cat conftest.$ac_ext >&5 |
6714 libs_x="-lX11" | 6735 libs_x="-lX11" |
6715 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6736 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6716 | 6737 |
6717 | 6738 |
6718 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6739 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6719 echo "configure:6720: checking for XShapeSelectInput in -lXext" >&5 | 6740 echo "configure:6741: checking for XShapeSelectInput in -lXext" >&5 |
6720 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6741 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6721 | 6742 |
6722 xe_check_libs=" -lXext " | 6743 xe_check_libs=" -lXext " |
6723 cat > conftest.$ac_ext <<EOF | 6744 cat > conftest.$ac_ext <<EOF |
6724 #line 6725 "configure" | 6745 #line 6746 "configure" |
6725 #include "confdefs.h" | 6746 #include "confdefs.h" |
6726 /* Override any gcc2 internal prototype to avoid an error. */ | 6747 /* Override any gcc2 internal prototype to avoid an error. */ |
6727 /* We use char because int might match the return type of a gcc2 | 6748 /* We use char because int might match the return type of a gcc2 |
6728 builtin and then its argument prototype would still apply. */ | 6749 builtin and then its argument prototype would still apply. */ |
6729 char XShapeSelectInput(); | 6750 char XShapeSelectInput(); |
6730 | 6751 |
6731 int main() { | 6752 int main() { |
6732 XShapeSelectInput() | 6753 XShapeSelectInput() |
6733 ; return 0; } | 6754 ; return 0; } |
6734 EOF | 6755 EOF |
6735 if { (eval echo configure:6736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6756 if { (eval echo configure:6757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6736 rm -rf conftest* | 6757 rm -rf conftest* |
6737 eval "ac_cv_lib_$ac_lib_var=yes" | 6758 eval "ac_cv_lib_$ac_lib_var=yes" |
6738 else | 6759 else |
6739 echo "configure: failed program was:" >&5 | 6760 echo "configure: failed program was:" >&5 |
6740 cat conftest.$ac_ext >&5 | 6761 cat conftest.$ac_ext >&5 |
6753 | 6774 |
6754 | 6775 |
6755 | 6776 |
6756 | 6777 |
6757 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6778 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6758 echo "configure:6759: checking for XtOpenDisplay in -lXt" >&5 | 6779 echo "configure:6780: checking for XtOpenDisplay in -lXt" >&5 |
6759 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6780 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6760 | 6781 |
6761 xe_check_libs=" -lXt " | 6782 xe_check_libs=" -lXt " |
6762 cat > conftest.$ac_ext <<EOF | 6783 cat > conftest.$ac_ext <<EOF |
6763 #line 6764 "configure" | 6784 #line 6785 "configure" |
6764 #include "confdefs.h" | 6785 #include "confdefs.h" |
6765 /* Override any gcc2 internal prototype to avoid an error. */ | 6786 /* Override any gcc2 internal prototype to avoid an error. */ |
6766 /* We use char because int might match the return type of a gcc2 | 6787 /* We use char because int might match the return type of a gcc2 |
6767 builtin and then its argument prototype would still apply. */ | 6788 builtin and then its argument prototype would still apply. */ |
6768 char XtOpenDisplay(); | 6789 char XtOpenDisplay(); |
6769 | 6790 |
6770 int main() { | 6791 int main() { |
6771 XtOpenDisplay() | 6792 XtOpenDisplay() |
6772 ; return 0; } | 6793 ; return 0; } |
6773 EOF | 6794 EOF |
6774 if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6795 if { (eval echo configure:6796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6775 rm -rf conftest* | 6796 rm -rf conftest* |
6776 eval "ac_cv_lib_$ac_lib_var=yes" | 6797 eval "ac_cv_lib_$ac_lib_var=yes" |
6777 else | 6798 else |
6778 echo "configure: failed program was:" >&5 | 6799 echo "configure: failed program was:" >&5 |
6779 cat conftest.$ac_ext >&5 | 6800 cat conftest.$ac_ext >&5 |
6792 fi | 6813 fi |
6793 | 6814 |
6794 | 6815 |
6795 | 6816 |
6796 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6817 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6797 echo "configure:6798: checking the version of X11 being used" >&5 | 6818 echo "configure:6819: checking the version of X11 being used" >&5 |
6798 cat > conftest.$ac_ext <<EOF | 6819 cat > conftest.$ac_ext <<EOF |
6799 #line 6800 "configure" | 6820 #line 6821 "configure" |
6800 #include "confdefs.h" | 6821 #include "confdefs.h" |
6801 #include <X11/Intrinsic.h> | 6822 #include <X11/Intrinsic.h> |
6802 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6823 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6803 EOF | 6824 EOF |
6804 if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6825 if { (eval echo configure:6826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6805 then | 6826 then |
6806 ./conftest foobar; x11_release=$? | 6827 ./conftest foobar; x11_release=$? |
6807 else | 6828 else |
6808 conftest_rc="$?" | 6829 conftest_rc="$?" |
6809 echo "configure: failed program was:" >&5 | 6830 echo "configure: failed program was:" >&5 |
6830 fi | 6851 fi |
6831 | 6852 |
6832 for ac_func in XConvertCase | 6853 for ac_func in XConvertCase |
6833 do | 6854 do |
6834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6835 echo "configure:6836: checking for $ac_func" >&5 | 6856 echo "configure:6857: checking for $ac_func" >&5 |
6836 | 6857 |
6837 cat > conftest.$ac_ext <<EOF | 6858 cat > conftest.$ac_ext <<EOF |
6838 #line 6839 "configure" | 6859 #line 6860 "configure" |
6839 #include "confdefs.h" | 6860 #include "confdefs.h" |
6840 /* System header to define __stub macros and hopefully few prototypes, | 6861 /* System header to define __stub macros and hopefully few prototypes, |
6841 which can conflict with char $ac_func(); below. */ | 6862 which can conflict with char $ac_func(); below. */ |
6842 #include <assert.h> | 6863 #include <assert.h> |
6843 /* Override any gcc2 internal prototype to avoid an error. */ | 6864 /* Override any gcc2 internal prototype to avoid an error. */ |
6856 $ac_func(); | 6877 $ac_func(); |
6857 #endif | 6878 #endif |
6858 | 6879 |
6859 ; return 0; } | 6880 ; return 0; } |
6860 EOF | 6881 EOF |
6861 if { (eval echo configure:6862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6882 if { (eval echo configure:6883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6862 rm -rf conftest* | 6883 rm -rf conftest* |
6863 eval "ac_cv_func_$ac_func=yes" | 6884 eval "ac_cv_func_$ac_func=yes" |
6864 else | 6885 else |
6865 echo "configure: failed program was:" >&5 | 6886 echo "configure: failed program was:" >&5 |
6866 cat conftest.$ac_ext >&5 | 6887 cat conftest.$ac_ext >&5 |
6888 | 6909 |
6889 for ac_hdr in X11/Xlocale.h | 6910 for ac_hdr in X11/Xlocale.h |
6890 do | 6911 do |
6891 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6912 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6892 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6913 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6893 echo "configure:6894: checking for $ac_hdr" >&5 | 6914 echo "configure:6915: checking for $ac_hdr" >&5 |
6894 | 6915 |
6895 cat > conftest.$ac_ext <<EOF | 6916 cat > conftest.$ac_ext <<EOF |
6896 #line 6897 "configure" | 6917 #line 6918 "configure" |
6897 #include "confdefs.h" | 6918 #include "confdefs.h" |
6898 #include <$ac_hdr> | 6919 #include <$ac_hdr> |
6899 EOF | 6920 EOF |
6900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6901 { (eval echo configure:6902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6922 { (eval echo configure:6923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6923 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6903 if test -z "$ac_err"; then | 6924 if test -z "$ac_err"; then |
6904 rm -rf conftest* | 6925 rm -rf conftest* |
6905 eval "ac_cv_header_$ac_safe=yes" | 6926 eval "ac_cv_header_$ac_safe=yes" |
6906 else | 6927 else |
6929 | 6950 |
6930 | 6951 |
6931 for ac_func in XRegisterIMInstantiateCallback | 6952 for ac_func in XRegisterIMInstantiateCallback |
6932 do | 6953 do |
6933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6934 echo "configure:6935: checking for $ac_func" >&5 | 6955 echo "configure:6956: checking for $ac_func" >&5 |
6935 | 6956 |
6936 cat > conftest.$ac_ext <<EOF | 6957 cat > conftest.$ac_ext <<EOF |
6937 #line 6938 "configure" | 6958 #line 6959 "configure" |
6938 #include "confdefs.h" | 6959 #include "confdefs.h" |
6939 /* System header to define __stub macros and hopefully few prototypes, | 6960 /* System header to define __stub macros and hopefully few prototypes, |
6940 which can conflict with char $ac_func(); below. */ | 6961 which can conflict with char $ac_func(); below. */ |
6941 #include <assert.h> | 6962 #include <assert.h> |
6942 /* Override any gcc2 internal prototype to avoid an error. */ | 6963 /* Override any gcc2 internal prototype to avoid an error. */ |
6955 $ac_func(); | 6976 $ac_func(); |
6956 #endif | 6977 #endif |
6957 | 6978 |
6958 ; return 0; } | 6979 ; return 0; } |
6959 EOF | 6980 EOF |
6960 if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6981 if { (eval echo configure:6982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6961 rm -rf conftest* | 6982 rm -rf conftest* |
6962 eval "ac_cv_func_$ac_func=yes" | 6983 eval "ac_cv_func_$ac_func=yes" |
6963 else | 6984 else |
6964 echo "configure: failed program was:" >&5 | 6985 echo "configure: failed program was:" >&5 |
6965 cat conftest.$ac_ext >&5 | 6986 cat conftest.$ac_ext >&5 |
6983 echo "$ac_t""no" 1>&6 | 7004 echo "$ac_t""no" 1>&6 |
6984 fi | 7005 fi |
6985 done | 7006 done |
6986 | 7007 |
6987 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7008 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6988 echo "configure:6989: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7009 echo "configure:7010: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6989 cat > conftest.$ac_ext <<EOF | 7010 cat > conftest.$ac_ext <<EOF |
6990 #line 6991 "configure" | 7011 #line 7012 "configure" |
6991 #include "confdefs.h" | 7012 #include "confdefs.h" |
6992 | 7013 |
6993 #define NeedFunctionPrototypes 1 | 7014 #define NeedFunctionPrototypes 1 |
6994 #include <X11/Xlib.h> | 7015 #include <X11/Xlib.h> |
6995 extern Bool XRegisterIMInstantiateCallback( | 7016 extern Bool XRegisterIMInstantiateCallback( |
6997 | 7018 |
6998 int main() { | 7019 int main() { |
6999 | 7020 |
7000 ; return 0; } | 7021 ; return 0; } |
7001 EOF | 7022 EOF |
7002 if { (eval echo configure:7003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7023 if { (eval echo configure:7024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7003 rm -rf conftest* | 7024 rm -rf conftest* |
7004 echo "$ac_t""yes" 1>&6 | 7025 echo "$ac_t""yes" 1>&6 |
7005 else | 7026 else |
7006 echo "configure: failed program was:" >&5 | 7027 echo "configure: failed program was:" >&5 |
7007 cat conftest.$ac_ext >&5 | 7028 cat conftest.$ac_ext >&5 |
7018 fi | 7039 fi |
7019 rm -f conftest* | 7040 rm -f conftest* |
7020 | 7041 |
7021 test -z "$with_xmu" && { | 7042 test -z "$with_xmu" && { |
7022 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7043 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7023 echo "configure:7024: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7044 echo "configure:7045: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7024 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7045 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7025 | 7046 |
7026 xe_check_libs=" -lXmu " | 7047 xe_check_libs=" -lXmu " |
7027 cat > conftest.$ac_ext <<EOF | 7048 cat > conftest.$ac_ext <<EOF |
7028 #line 7029 "configure" | 7049 #line 7050 "configure" |
7029 #include "confdefs.h" | 7050 #include "confdefs.h" |
7030 /* Override any gcc2 internal prototype to avoid an error. */ | 7051 /* Override any gcc2 internal prototype to avoid an error. */ |
7031 /* We use char because int might match the return type of a gcc2 | 7052 /* We use char because int might match the return type of a gcc2 |
7032 builtin and then its argument prototype would still apply. */ | 7053 builtin and then its argument prototype would still apply. */ |
7033 char XmuReadBitmapDataFromFile(); | 7054 char XmuReadBitmapDataFromFile(); |
7034 | 7055 |
7035 int main() { | 7056 int main() { |
7036 XmuReadBitmapDataFromFile() | 7057 XmuReadBitmapDataFromFile() |
7037 ; return 0; } | 7058 ; return 0; } |
7038 EOF | 7059 EOF |
7039 if { (eval echo configure:7040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7060 if { (eval echo configure:7061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7040 rm -rf conftest* | 7061 rm -rf conftest* |
7041 eval "ac_cv_lib_$ac_lib_var=yes" | 7062 eval "ac_cv_lib_$ac_lib_var=yes" |
7042 else | 7063 else |
7043 echo "configure: failed program was:" >&5 | 7064 echo "configure: failed program was:" >&5 |
7044 cat conftest.$ac_ext >&5 | 7065 cat conftest.$ac_ext >&5 |
7073 | 7094 |
7074 fi | 7095 fi |
7075 | 7096 |
7076 | 7097 |
7077 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7098 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7078 echo "configure:7079: checking for main in -lXbsd" >&5 | 7099 echo "configure:7100: checking for main in -lXbsd" >&5 |
7079 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7100 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7080 | 7101 |
7081 xe_check_libs=" -lXbsd " | 7102 xe_check_libs=" -lXbsd " |
7082 cat > conftest.$ac_ext <<EOF | 7103 cat > conftest.$ac_ext <<EOF |
7083 #line 7084 "configure" | 7104 #line 7105 "configure" |
7084 #include "confdefs.h" | 7105 #include "confdefs.h" |
7085 | 7106 |
7086 int main() { | 7107 int main() { |
7087 main() | 7108 main() |
7088 ; return 0; } | 7109 ; return 0; } |
7089 EOF | 7110 EOF |
7090 if { (eval echo configure:7091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7111 if { (eval echo configure:7112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7091 rm -rf conftest* | 7112 rm -rf conftest* |
7092 eval "ac_cv_lib_$ac_lib_var=yes" | 7113 eval "ac_cv_lib_$ac_lib_var=yes" |
7093 else | 7114 else |
7094 echo "configure: failed program was:" >&5 | 7115 echo "configure: failed program was:" >&5 |
7095 cat conftest.$ac_ext >&5 | 7116 cat conftest.$ac_ext >&5 |
7122 fi | 7143 fi |
7123 | 7144 |
7124 fi | 7145 fi |
7125 if test "$with_msw" != "no"; then | 7146 if test "$with_msw" != "no"; then |
7126 echo "checking for MS-Windows" 1>&6 | 7147 echo "checking for MS-Windows" 1>&6 |
7127 echo "configure:7128: checking for MS-Windows" >&5 | 7148 echo "configure:7149: checking for MS-Windows" >&5 |
7128 | 7149 |
7129 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7150 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7130 echo "configure:7131: checking for main in -lgdi32" >&5 | 7151 echo "configure:7152: checking for main in -lgdi32" >&5 |
7131 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7152 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7132 | 7153 |
7133 xe_check_libs=" -lgdi32 " | 7154 xe_check_libs=" -lgdi32 " |
7134 cat > conftest.$ac_ext <<EOF | 7155 cat > conftest.$ac_ext <<EOF |
7135 #line 7136 "configure" | 7156 #line 7157 "configure" |
7136 #include "confdefs.h" | 7157 #include "confdefs.h" |
7137 | 7158 |
7138 int main() { | 7159 int main() { |
7139 main() | 7160 main() |
7140 ; return 0; } | 7161 ; return 0; } |
7141 EOF | 7162 EOF |
7142 if { (eval echo configure:7143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7163 if { (eval echo configure:7164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7143 rm -rf conftest* | 7164 rm -rf conftest* |
7144 eval "ac_cv_lib_$ac_lib_var=yes" | 7165 eval "ac_cv_lib_$ac_lib_var=yes" |
7145 else | 7166 else |
7146 echo "configure: failed program was:" >&5 | 7167 echo "configure: failed program was:" >&5 |
7147 cat conftest.$ac_ext >&5 | 7168 cat conftest.$ac_ext >&5 |
7188 test "$with_toolbars" != "no" && with_toolbars=msw | 7209 test "$with_toolbars" != "no" && with_toolbars=msw |
7189 test "$with_dialogs" != "no" && with_dialogs=msw | 7210 test "$with_dialogs" != "no" && with_dialogs=msw |
7190 test "$with_widgets" != "no" && with_widgets=msw | 7211 test "$with_widgets" != "no" && with_widgets=msw |
7191 fi | 7212 fi |
7192 cat > conftest.$ac_ext <<EOF | 7213 cat > conftest.$ac_ext <<EOF |
7193 #line 7194 "configure" | 7214 #line 7215 "configure" |
7194 #include "confdefs.h" | 7215 #include "confdefs.h" |
7195 #include <fcntl.h> | 7216 #include <fcntl.h> |
7196 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7217 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7197 EOF | 7218 EOF |
7198 if { (eval echo configure:7199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7219 if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7199 then | 7220 then |
7200 { test "$extra_verbose" = "yes" && cat << \EOF | 7221 { test "$extra_verbose" = "yes" && cat << \EOF |
7201 Defining HAVE_MSG_SELECT | 7222 Defining HAVE_MSG_SELECT |
7202 EOF | 7223 EOF |
7203 cat >> confdefs.h <<\EOF | 7224 cat >> confdefs.h <<\EOF |
7254 fi | 7275 fi |
7255 | 7276 |
7256 if test "$with_x11" = "yes"; then | 7277 if test "$with_x11" = "yes"; then |
7257 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7278 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7258 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7279 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7259 echo "configure:7260: checking for X11/extensions/shape.h" >&5 | 7280 echo "configure:7281: checking for X11/extensions/shape.h" >&5 |
7260 | 7281 |
7261 cat > conftest.$ac_ext <<EOF | 7282 cat > conftest.$ac_ext <<EOF |
7262 #line 7263 "configure" | 7283 #line 7284 "configure" |
7263 #include "confdefs.h" | 7284 #include "confdefs.h" |
7264 #include <X11/extensions/shape.h> | 7285 #include <X11/extensions/shape.h> |
7265 EOF | 7286 EOF |
7266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7267 { (eval echo configure:7268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7288 { (eval echo configure:7289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7269 if test -z "$ac_err"; then | 7290 if test -z "$ac_err"; then |
7270 rm -rf conftest* | 7291 rm -rf conftest* |
7271 eval "ac_cv_header_$ac_safe=yes" | 7292 eval "ac_cv_header_$ac_safe=yes" |
7272 else | 7293 else |
7312 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7333 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7313 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7334 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7314 esac | 7335 esac |
7315 | 7336 |
7316 echo "checking for WM_COMMAND option" 1>&6 | 7337 echo "checking for WM_COMMAND option" 1>&6 |
7317 echo "configure:7318: checking for WM_COMMAND option" >&5; | 7338 echo "configure:7339: checking for WM_COMMAND option" >&5; |
7318 if test "$with_wmcommand" != "no"; then | 7339 if test "$with_wmcommand" != "no"; then |
7319 { test "$extra_verbose" = "yes" && cat << \EOF | 7340 { test "$extra_verbose" = "yes" && cat << \EOF |
7320 Defining HAVE_WMCOMMAND | 7341 Defining HAVE_WMCOMMAND |
7321 EOF | 7342 EOF |
7322 cat >> confdefs.h <<\EOF | 7343 cat >> confdefs.h <<\EOF |
7327 fi | 7348 fi |
7328 | 7349 |
7329 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7350 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7330 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7351 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7331 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7352 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7332 echo "configure:7333: checking for X11/Xauth.h" >&5 | 7353 echo "configure:7354: checking for X11/Xauth.h" >&5 |
7333 | 7354 |
7334 cat > conftest.$ac_ext <<EOF | 7355 cat > conftest.$ac_ext <<EOF |
7335 #line 7336 "configure" | 7356 #line 7357 "configure" |
7336 #include "confdefs.h" | 7357 #include "confdefs.h" |
7337 #include <X11/Xauth.h> | 7358 #include <X11/Xauth.h> |
7338 EOF | 7359 EOF |
7339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7340 { (eval echo configure:7341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7361 { (eval echo configure:7362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7342 if test -z "$ac_err"; then | 7363 if test -z "$ac_err"; then |
7343 rm -rf conftest* | 7364 rm -rf conftest* |
7344 eval "ac_cv_header_$ac_safe=yes" | 7365 eval "ac_cv_header_$ac_safe=yes" |
7345 else | 7366 else |
7358 with_xauth=no | 7379 with_xauth=no |
7359 fi | 7380 fi |
7360 } | 7381 } |
7361 test -z "$with_xauth" && { | 7382 test -z "$with_xauth" && { |
7362 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7383 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7363 echo "configure:7364: checking for XauGetAuthByAddr in -lXau" >&5 | 7384 echo "configure:7385: checking for XauGetAuthByAddr in -lXau" >&5 |
7364 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7385 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7365 | 7386 |
7366 xe_check_libs=" -lXau " | 7387 xe_check_libs=" -lXau " |
7367 cat > conftest.$ac_ext <<EOF | 7388 cat > conftest.$ac_ext <<EOF |
7368 #line 7369 "configure" | 7389 #line 7390 "configure" |
7369 #include "confdefs.h" | 7390 #include "confdefs.h" |
7370 /* Override any gcc2 internal prototype to avoid an error. */ | 7391 /* Override any gcc2 internal prototype to avoid an error. */ |
7371 /* We use char because int might match the return type of a gcc2 | 7392 /* We use char because int might match the return type of a gcc2 |
7372 builtin and then its argument prototype would still apply. */ | 7393 builtin and then its argument prototype would still apply. */ |
7373 char XauGetAuthByAddr(); | 7394 char XauGetAuthByAddr(); |
7374 | 7395 |
7375 int main() { | 7396 int main() { |
7376 XauGetAuthByAddr() | 7397 XauGetAuthByAddr() |
7377 ; return 0; } | 7398 ; return 0; } |
7378 EOF | 7399 EOF |
7379 if { (eval echo configure:7380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7400 if { (eval echo configure:7401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7380 rm -rf conftest* | 7401 rm -rf conftest* |
7381 eval "ac_cv_lib_$ac_lib_var=yes" | 7402 eval "ac_cv_lib_$ac_lib_var=yes" |
7382 else | 7403 else |
7383 echo "configure: failed program was:" >&5 | 7404 echo "configure: failed program was:" >&5 |
7384 cat conftest.$ac_ext >&5 | 7405 cat conftest.$ac_ext >&5 |
7421 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 7442 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
7422 : ${XEMACS_CC:="$CC"} | 7443 : ${XEMACS_CC:="$CC"} |
7423 | 7444 |
7424 if test "$with_modules" != "no"; then | 7445 if test "$with_modules" != "no"; then |
7425 echo "checking for module support" 1>&6 | 7446 echo "checking for module support" 1>&6 |
7426 echo "configure:7427: checking for module support" >&5 | 7447 echo "configure:7448: checking for module support" >&5 |
7427 | 7448 |
7428 if test "$with_msw" = "yes"; then | 7449 if test "$with_msw" = "yes"; then |
7429 have_dl=yes; | 7450 have_dl=yes; |
7430 else | 7451 else |
7431 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7452 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7432 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7453 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7433 echo "configure:7434: checking for dlfcn.h" >&5 | 7454 echo "configure:7455: checking for dlfcn.h" >&5 |
7434 | 7455 |
7435 cat > conftest.$ac_ext <<EOF | 7456 cat > conftest.$ac_ext <<EOF |
7436 #line 7437 "configure" | 7457 #line 7458 "configure" |
7437 #include "confdefs.h" | 7458 #include "confdefs.h" |
7438 #include <dlfcn.h> | 7459 #include <dlfcn.h> |
7439 EOF | 7460 EOF |
7440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7441 { (eval echo configure:7442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7462 { (eval echo configure:7463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7443 if test -z "$ac_err"; then | 7464 if test -z "$ac_err"; then |
7444 rm -rf conftest* | 7465 rm -rf conftest* |
7445 eval "ac_cv_header_$ac_safe=yes" | 7466 eval "ac_cv_header_$ac_safe=yes" |
7446 else | 7467 else |
7453 rm -f conftest* | 7474 rm -f conftest* |
7454 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7455 echo "$ac_t""yes" 1>&6 | 7476 echo "$ac_t""yes" 1>&6 |
7456 | 7477 |
7457 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7478 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7458 echo "configure:7459: checking for dlopen in -lc" >&5 | 7479 echo "configure:7480: checking for dlopen in -lc" >&5 |
7459 cat > conftest.$ac_ext <<EOF | 7480 cat > conftest.$ac_ext <<EOF |
7460 #line 7461 "configure" | 7481 #line 7482 "configure" |
7461 #include "confdefs.h" | 7482 #include "confdefs.h" |
7462 #include <dlfcn.h> | 7483 #include <dlfcn.h> |
7463 int main() { | 7484 int main() { |
7464 dlopen ("", 0); | 7485 dlopen ("", 0); |
7465 ; return 0; } | 7486 ; return 0; } |
7466 EOF | 7487 EOF |
7467 if { (eval echo configure:7468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7488 if { (eval echo configure:7489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7468 rm -rf conftest* | 7489 rm -rf conftest* |
7469 have_dl=yes | 7490 have_dl=yes |
7470 else | 7491 else |
7471 echo "configure: failed program was:" >&5 | 7492 echo "configure: failed program was:" >&5 |
7472 cat conftest.$ac_ext >&5 | 7493 cat conftest.$ac_ext >&5 |
7473 rm -rf conftest* | 7494 rm -rf conftest* |
7474 | 7495 |
7475 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7496 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7476 echo "configure:7477: checking for dlopen in -ldl" >&5 | 7497 echo "configure:7498: checking for dlopen in -ldl" >&5 |
7477 ac_save_LIBS="$LIBS" | 7498 ac_save_LIBS="$LIBS" |
7478 LIBS="-ldl $LIBS" | 7499 LIBS="-ldl $LIBS" |
7479 cat > conftest.$ac_ext <<EOF | 7500 cat > conftest.$ac_ext <<EOF |
7480 #line 7481 "configure" | 7501 #line 7502 "configure" |
7481 #include "confdefs.h" | 7502 #include "confdefs.h" |
7482 #include <dlfcn.h> | 7503 #include <dlfcn.h> |
7483 int main() { | 7504 int main() { |
7484 dlopen ("", 0); | 7505 dlopen ("", 0); |
7485 ; return 0; } | 7506 ; return 0; } |
7486 EOF | 7507 EOF |
7487 if { (eval echo configure:7488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7508 if { (eval echo configure:7509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7488 rm -rf conftest* | 7509 rm -rf conftest* |
7489 have_dl=yes | 7510 have_dl=yes |
7490 else | 7511 else |
7491 echo "configure: failed program was:" >&5 | 7512 echo "configure: failed program was:" >&5 |
7492 cat conftest.$ac_ext >&5 | 7513 cat conftest.$ac_ext >&5 |
7511 } | 7532 } |
7512 | 7533 |
7513 else | 7534 else |
7514 | 7535 |
7515 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 7536 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
7516 echo "configure:7517: checking for shl_load in -ldld" >&5 | 7537 echo "configure:7538: checking for shl_load in -ldld" >&5 |
7517 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 7538 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
7518 | 7539 |
7519 xe_check_libs=" -ldld " | 7540 xe_check_libs=" -ldld " |
7520 cat > conftest.$ac_ext <<EOF | 7541 cat > conftest.$ac_ext <<EOF |
7521 #line 7522 "configure" | 7542 #line 7543 "configure" |
7522 #include "confdefs.h" | 7543 #include "confdefs.h" |
7523 /* Override any gcc2 internal prototype to avoid an error. */ | 7544 /* Override any gcc2 internal prototype to avoid an error. */ |
7524 /* We use char because int might match the return type of a gcc2 | 7545 /* We use char because int might match the return type of a gcc2 |
7525 builtin and then its argument prototype would still apply. */ | 7546 builtin and then its argument prototype would still apply. */ |
7526 char shl_load(); | 7547 char shl_load(); |
7527 | 7548 |
7528 int main() { | 7549 int main() { |
7529 shl_load() | 7550 shl_load() |
7530 ; return 0; } | 7551 ; return 0; } |
7531 EOF | 7552 EOF |
7532 if { (eval echo configure:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7553 if { (eval echo configure:7554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7533 rm -rf conftest* | 7554 rm -rf conftest* |
7534 eval "ac_cv_lib_$ac_lib_var=yes" | 7555 eval "ac_cv_lib_$ac_lib_var=yes" |
7535 else | 7556 else |
7536 echo "configure: failed program was:" >&5 | 7557 echo "configure: failed program was:" >&5 |
7537 cat conftest.$ac_ext >&5 | 7558 cat conftest.$ac_ext >&5 |
7554 | 7575 |
7555 else | 7576 else |
7556 echo "$ac_t""no" 1>&6 | 7577 echo "$ac_t""no" 1>&6 |
7557 | 7578 |
7558 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 7579 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
7559 echo "configure:7560: checking for dld_init in -ldld" >&5 | 7580 echo "configure:7581: checking for dld_init in -ldld" >&5 |
7560 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 7581 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
7561 | 7582 |
7562 xe_check_libs=" -ldld " | 7583 xe_check_libs=" -ldld " |
7563 cat > conftest.$ac_ext <<EOF | 7584 cat > conftest.$ac_ext <<EOF |
7564 #line 7565 "configure" | 7585 #line 7586 "configure" |
7565 #include "confdefs.h" | 7586 #include "confdefs.h" |
7566 /* Override any gcc2 internal prototype to avoid an error. */ | 7587 /* Override any gcc2 internal prototype to avoid an error. */ |
7567 /* We use char because int might match the return type of a gcc2 | 7588 /* We use char because int might match the return type of a gcc2 |
7568 builtin and then its argument prototype would still apply. */ | 7589 builtin and then its argument prototype would still apply. */ |
7569 char dld_init(); | 7590 char dld_init(); |
7570 | 7591 |
7571 int main() { | 7592 int main() { |
7572 dld_init() | 7593 dld_init() |
7573 ; return 0; } | 7594 ; return 0; } |
7574 EOF | 7595 EOF |
7575 if { (eval echo configure:7576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7596 if { (eval echo configure:7597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7576 rm -rf conftest* | 7597 rm -rf conftest* |
7577 eval "ac_cv_lib_$ac_lib_var=yes" | 7598 eval "ac_cv_lib_$ac_lib_var=yes" |
7578 else | 7599 else |
7579 echo "configure: failed program was:" >&5 | 7600 echo "configure: failed program was:" >&5 |
7580 cat conftest.$ac_ext >&5 | 7601 cat conftest.$ac_ext >&5 |
7615 ld_dynamic_link_flags= | 7636 ld_dynamic_link_flags= |
7616 xehost=$canonical | 7637 xehost=$canonical |
7617 xealias=$internal_configuration | 7638 xealias=$internal_configuration |
7618 | 7639 |
7619 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7640 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7620 echo "configure:7621: checking how to build dynamic libraries for ${xehost}" >&5 | 7641 echo "configure:7642: checking how to build dynamic libraries for ${xehost}" >&5 |
7621 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7642 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7622 case "$xehost" in | 7643 case "$xehost" in |
7623 *-*-linux-gnu*) ;; | 7644 *-*-linux-gnu*) ;; |
7624 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7645 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7625 esac | 7646 esac |
7643 # Now see if the compiler is really GCC. | 7664 # Now see if the compiler is really GCC. |
7644 if test "$GCC" = "yes"; then | 7665 if test "$GCC" = "yes"; then |
7645 XEGCC=yes | 7666 XEGCC=yes |
7646 else | 7667 else |
7647 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7668 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7648 echo "configure:7649: checking checking whether we are using GNU C" >&5 | 7669 echo "configure:7670: checking checking whether we are using GNU C" >&5 |
7649 cat > conftest.$ac_ext <<EOF | 7670 cat > conftest.$ac_ext <<EOF |
7650 #line 7651 "configure" | 7671 #line 7672 "configure" |
7651 #include "confdefs.h" | 7672 #include "confdefs.h" |
7652 | 7673 |
7653 #ifdef __GNUC__ | 7674 #ifdef __GNUC__ |
7654 yes; | 7675 yes; |
7655 #endif | 7676 #endif |
7667 | 7688 |
7668 echo "$ac_t""${XEGCC}" 1>&6 | 7689 echo "$ac_t""${XEGCC}" 1>&6 |
7669 fi | 7690 fi |
7670 | 7691 |
7671 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7692 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7672 echo "configure:7673: checking how to produce PIC code" >&5 | 7693 echo "configure:7694: checking how to produce PIC code" >&5 |
7673 wl= | 7694 wl= |
7674 | 7695 |
7675 can_build_shared=yes | 7696 can_build_shared=yes |
7676 cygwin_warn= | 7697 cygwin_warn= |
7677 if test "$XEGCC" = yes; then | 7698 if test "$XEGCC" = yes; then |
7773 if test -n "$dll_cflags"; then | 7794 if test -n "$dll_cflags"; then |
7774 echo "$ac_t""${dll_cflags}" 1>&6 | 7795 echo "$ac_t""${dll_cflags}" 1>&6 |
7775 | 7796 |
7776 # Check to make sure the dll_cflags actually works. | 7797 # Check to make sure the dll_cflags actually works. |
7777 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7798 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7778 echo "configure:7779: checking if PIC flag ${dll_cflags} really works" >&5 | 7799 echo "configure:7800: checking if PIC flag ${dll_cflags} really works" >&5 |
7779 save_CFLAGS="$CFLAGS" | 7800 save_CFLAGS="$CFLAGS" |
7780 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7801 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7781 cat > conftest.$ac_ext <<EOF | 7802 cat > conftest.$ac_ext <<EOF |
7782 #line 7783 "configure" | 7803 #line 7804 "configure" |
7783 #include "confdefs.h" | 7804 #include "confdefs.h" |
7784 | 7805 |
7785 int main() { | 7806 int main() { |
7786 int x=0; | 7807 int x=0; |
7787 ; return 0; } | 7808 ; return 0; } |
7788 EOF | 7809 EOF |
7789 if { (eval echo configure:7790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7810 if { (eval echo configure:7811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7790 rm -rf conftest* | 7811 rm -rf conftest* |
7791 | 7812 |
7792 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7813 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7793 # reports no error. So, we need to grep stderr for (Bundled). | 7814 # reports no error. So, we need to grep stderr for (Bundled). |
7794 if grep '(Bundled)' config.log >/dev/null; then | 7815 if grep '(Bundled)' config.log >/dev/null; then |
7819 if test "$can_build_shared" = "yes"; then | 7840 if test "$can_build_shared" = "yes"; then |
7820 cc_produces_so=no | 7841 cc_produces_so=no |
7821 xldf= | 7842 xldf= |
7822 xcldf= | 7843 xcldf= |
7823 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7844 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7824 echo "configure:7825: checking if C compiler can produce shared libraries" >&5 | 7845 echo "configure:7846: checking if C compiler can produce shared libraries" >&5 |
7825 if test "$XEGCC" = yes; then | 7846 if test "$XEGCC" = yes; then |
7826 xcldf="-shared" | 7847 xcldf="-shared" |
7827 xldf="-shared" | 7848 xldf="-shared" |
7828 else # Not using GCC | 7849 else # Not using GCC |
7829 case "$xehost_os" in | 7850 case "$xehost_os" in |
7870 LDFLAGS="$xcldf $LDFLAGS" | 7891 LDFLAGS="$xcldf $LDFLAGS" |
7871 LIBS= | 7892 LIBS= |
7872 xe_libs= | 7893 xe_libs= |
7873 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7894 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
7874 cat > conftest.$ac_ext <<EOF | 7895 cat > conftest.$ac_ext <<EOF |
7875 #line 7876 "configure" | 7896 #line 7897 "configure" |
7876 #include "confdefs.h" | 7897 #include "confdefs.h" |
7877 | 7898 |
7878 int main() { | 7899 int main() { |
7879 int x=0; | 7900 int x=0; |
7880 ; return 0; } | 7901 ; return 0; } |
7881 EOF | 7902 EOF |
7882 if { (eval echo configure:7883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7903 if { (eval echo configure:7904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7883 rm -rf conftest* | 7904 rm -rf conftest* |
7884 cc_produces_so=yes | 7905 cc_produces_so=yes |
7885 else | 7906 else |
7886 echo "configure: failed program was:" >&5 | 7907 echo "configure: failed program was:" >&5 |
7887 cat conftest.$ac_ext >&5 | 7908 cat conftest.$ac_ext >&5 |
7902 if test -z "$LTLD"; then | 7923 if test -z "$LTLD"; then |
7903 ac_prog=ld | 7924 ac_prog=ld |
7904 if test "$XEGCC" = yes; then | 7925 if test "$XEGCC" = yes; then |
7905 # Check if gcc -print-prog-name=ld gives a path. | 7926 # Check if gcc -print-prog-name=ld gives a path. |
7906 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7927 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
7907 echo "configure:7908: checking for ld used by GCC" >&5 | 7928 echo "configure:7929: checking for ld used by GCC" >&5 |
7908 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 7929 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
7909 case "$ac_prog" in | 7930 case "$ac_prog" in |
7910 # Accept absolute paths. | 7931 # Accept absolute paths. |
7911 /*) | 7932 /*) |
7912 if test -z "$LTLD"; then | 7933 if test -z "$LTLD"; then |
7928 with_gnu_ld=unknown | 7949 with_gnu_ld=unknown |
7929 ;; | 7950 ;; |
7930 esac | 7951 esac |
7931 else | 7952 else |
7932 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 7953 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
7933 echo "configure:7934: checking for GNU ld" >&5 | 7954 echo "configure:7955: checking for GNU ld" >&5 |
7934 fi | 7955 fi |
7935 | 7956 |
7936 if test -z "$LTLD"; then | 7957 if test -z "$LTLD"; then |
7937 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 7958 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
7938 for ac_dir in $PATH; do | 7959 for ac_dir in $PATH; do |
7966 | 7987 |
7967 ld_dynamic_link_flags= | 7988 ld_dynamic_link_flags= |
7968 | 7989 |
7969 # Check to see if it really is or isn't GNU ld. | 7990 # Check to see if it really is or isn't GNU ld. |
7970 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 7991 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
7971 echo "configure:7972: checking if the linker is GNU ld" >&5 | 7992 echo "configure:7993: checking if the linker is GNU ld" >&5 |
7972 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 7993 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
7973 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 7994 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
7974 xe_gnu_ld=yes | 7995 xe_gnu_ld=yes |
7975 else | 7996 else |
7976 xe_gnu_ld=no | 7997 xe_gnu_ld=no |
7994 ld_shlibs=yes | 8015 ld_shlibs=yes |
7995 else | 8016 else |
7996 # OK - only NOW do we futz about with ld. | 8017 # OK - only NOW do we futz about with ld. |
7997 # See if the linker supports building shared libraries. | 8018 # See if the linker supports building shared libraries. |
7998 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8019 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
7999 echo "configure:8000: checking whether the linker supports shared libraries" >&5 | 8020 echo "configure:8021: checking whether the linker supports shared libraries" >&5 |
8000 dll_ld=$CC | 8021 dll_ld=$CC |
8001 dll_ldflags=$LDFLAGS | 8022 dll_ldflags=$LDFLAGS |
8002 ld_shlibs=yes | 8023 ld_shlibs=yes |
8003 can_build_shared=yes | 8024 can_build_shared=yes |
8004 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8025 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8202 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8223 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8203 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8224 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8204 for ac_func in dlerror _dlerror | 8225 for ac_func in dlerror _dlerror |
8205 do | 8226 do |
8206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8207 echo "configure:8208: checking for $ac_func" >&5 | 8228 echo "configure:8229: checking for $ac_func" >&5 |
8208 | 8229 |
8209 cat > conftest.$ac_ext <<EOF | 8230 cat > conftest.$ac_ext <<EOF |
8210 #line 8211 "configure" | 8231 #line 8232 "configure" |
8211 #include "confdefs.h" | 8232 #include "confdefs.h" |
8212 /* System header to define __stub macros and hopefully few prototypes, | 8233 /* System header to define __stub macros and hopefully few prototypes, |
8213 which can conflict with char $ac_func(); below. */ | 8234 which can conflict with char $ac_func(); below. */ |
8214 #include <assert.h> | 8235 #include <assert.h> |
8215 /* Override any gcc2 internal prototype to avoid an error. */ | 8236 /* Override any gcc2 internal prototype to avoid an error. */ |
8228 $ac_func(); | 8249 $ac_func(); |
8229 #endif | 8250 #endif |
8230 | 8251 |
8231 ; return 0; } | 8252 ; return 0; } |
8232 EOF | 8253 EOF |
8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8254 if { (eval echo configure:8255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8234 rm -rf conftest* | 8255 rm -rf conftest* |
8235 eval "ac_cv_func_$ac_func=yes" | 8256 eval "ac_cv_func_$ac_func=yes" |
8236 else | 8257 else |
8237 echo "configure: failed program was:" >&5 | 8258 echo "configure: failed program was:" >&5 |
8238 cat conftest.$ac_ext >&5 | 8259 cat conftest.$ac_ext >&5 |
8290 | 8311 |
8291 if test "$with_tooltalk" != "no" ; then | 8312 if test "$with_tooltalk" != "no" ; then |
8292 for dir in "" "Tt/" "desktop/" ; do | 8313 for dir in "" "Tt/" "desktop/" ; do |
8293 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8314 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8294 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8315 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8295 echo "configure:8296: checking for ${dir}tt_c.h" >&5 | 8316 echo "configure:8317: checking for ${dir}tt_c.h" >&5 |
8296 | 8317 |
8297 cat > conftest.$ac_ext <<EOF | 8318 cat > conftest.$ac_ext <<EOF |
8298 #line 8299 "configure" | 8319 #line 8320 "configure" |
8299 #include "confdefs.h" | 8320 #include "confdefs.h" |
8300 #include <${dir}tt_c.h> | 8321 #include <${dir}tt_c.h> |
8301 EOF | 8322 EOF |
8302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8303 { (eval echo configure:8304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8324 { (eval echo configure:8325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8325 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8305 if test -z "$ac_err"; then | 8326 if test -z "$ac_err"; then |
8306 rm -rf conftest* | 8327 rm -rf conftest* |
8307 eval "ac_cv_header_$ac_safe=yes" | 8328 eval "ac_cv_header_$ac_safe=yes" |
8308 else | 8329 else |
8334 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8355 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8335 | 8356 |
8336 xe_msg_checking="for tt_message_create in -ltt" | 8357 xe_msg_checking="for tt_message_create in -ltt" |
8337 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8358 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8359 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8339 echo "configure:8340: checking "$xe_msg_checking"" >&5 | 8360 echo "configure:8361: checking "$xe_msg_checking"" >&5 |
8340 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8361 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8341 | 8362 |
8342 xe_check_libs=" -ltt $extra_libs" | 8363 xe_check_libs=" -ltt $extra_libs" |
8343 cat > conftest.$ac_ext <<EOF | 8364 cat > conftest.$ac_ext <<EOF |
8344 #line 8345 "configure" | 8365 #line 8366 "configure" |
8345 #include "confdefs.h" | 8366 #include "confdefs.h" |
8346 /* Override any gcc2 internal prototype to avoid an error. */ | 8367 /* Override any gcc2 internal prototype to avoid an error. */ |
8347 /* We use char because int might match the return type of a gcc2 | 8368 /* We use char because int might match the return type of a gcc2 |
8348 builtin and then its argument prototype would still apply. */ | 8369 builtin and then its argument prototype would still apply. */ |
8349 char tt_message_create(); | 8370 char tt_message_create(); |
8350 | 8371 |
8351 int main() { | 8372 int main() { |
8352 tt_message_create() | 8373 tt_message_create() |
8353 ; return 0; } | 8374 ; return 0; } |
8354 EOF | 8375 EOF |
8355 if { (eval echo configure:8356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8376 if { (eval echo configure:8377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8356 rm -rf conftest* | 8377 rm -rf conftest* |
8357 eval "ac_cv_lib_$ac_lib_var=yes" | 8378 eval "ac_cv_lib_$ac_lib_var=yes" |
8358 else | 8379 else |
8359 echo "configure: failed program was:" >&5 | 8380 echo "configure: failed program was:" >&5 |
8360 cat conftest.$ac_ext >&5 | 8381 cat conftest.$ac_ext >&5 |
8404 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8425 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8405 fi | 8426 fi |
8406 | 8427 |
8407 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8428 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8408 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8429 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8409 echo "configure:8410: checking for Dt/Dt.h" >&5 | 8430 echo "configure:8431: checking for Dt/Dt.h" >&5 |
8410 | 8431 |
8411 cat > conftest.$ac_ext <<EOF | 8432 cat > conftest.$ac_ext <<EOF |
8412 #line 8413 "configure" | 8433 #line 8434 "configure" |
8413 #include "confdefs.h" | 8434 #include "confdefs.h" |
8414 #include <Dt/Dt.h> | 8435 #include <Dt/Dt.h> |
8415 EOF | 8436 EOF |
8416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8437 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8417 { (eval echo configure:8418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8438 { (eval echo configure:8439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8439 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8419 if test -z "$ac_err"; then | 8440 if test -z "$ac_err"; then |
8420 rm -rf conftest* | 8441 rm -rf conftest* |
8421 eval "ac_cv_header_$ac_safe=yes" | 8442 eval "ac_cv_header_$ac_safe=yes" |
8422 else | 8443 else |
8435 with_cde=no | 8456 with_cde=no |
8436 fi | 8457 fi |
8437 } | 8458 } |
8438 test -z "$with_cde" && { | 8459 test -z "$with_cde" && { |
8439 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8460 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8440 echo "configure:8441: checking for DtDndDragStart in -lDtSvc" >&5 | 8461 echo "configure:8462: checking for DtDndDragStart in -lDtSvc" >&5 |
8441 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8462 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8442 | 8463 |
8443 xe_check_libs=" -lDtSvc " | 8464 xe_check_libs=" -lDtSvc " |
8444 cat > conftest.$ac_ext <<EOF | 8465 cat > conftest.$ac_ext <<EOF |
8445 #line 8446 "configure" | 8466 #line 8467 "configure" |
8446 #include "confdefs.h" | 8467 #include "confdefs.h" |
8447 /* Override any gcc2 internal prototype to avoid an error. */ | 8468 /* Override any gcc2 internal prototype to avoid an error. */ |
8448 /* We use char because int might match the return type of a gcc2 | 8469 /* We use char because int might match the return type of a gcc2 |
8449 builtin and then its argument prototype would still apply. */ | 8470 builtin and then its argument prototype would still apply. */ |
8450 char DtDndDragStart(); | 8471 char DtDndDragStart(); |
8451 | 8472 |
8452 int main() { | 8473 int main() { |
8453 DtDndDragStart() | 8474 DtDndDragStart() |
8454 ; return 0; } | 8475 ; return 0; } |
8455 EOF | 8476 EOF |
8456 if { (eval echo configure:8457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8477 if { (eval echo configure:8478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8457 rm -rf conftest* | 8478 rm -rf conftest* |
8458 eval "ac_cv_lib_$ac_lib_var=yes" | 8479 eval "ac_cv_lib_$ac_lib_var=yes" |
8459 else | 8480 else |
8460 echo "configure: failed program was:" >&5 | 8481 echo "configure: failed program was:" >&5 |
8461 cat conftest.$ac_ext >&5 | 8482 cat conftest.$ac_ext >&5 |
8532 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8553 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8533 fi | 8554 fi |
8534 | 8555 |
8535 if test "$with_dragndrop" != "no" ; then | 8556 if test "$with_dragndrop" != "no" ; then |
8536 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8557 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8537 echo "configure:8538: checking if drag and drop API is needed" >&5 | 8558 echo "configure:8559: checking if drag and drop API is needed" >&5 |
8538 if test -n "$dragndrop_proto" ; then | 8559 if test -n "$dragndrop_proto" ; then |
8539 with_dragndrop=yes | 8560 with_dragndrop=yes |
8540 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8561 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8541 { test "$extra_verbose" = "yes" && cat << \EOF | 8562 { test "$extra_verbose" = "yes" && cat << \EOF |
8542 Defining HAVE_DRAGNDROP | 8563 Defining HAVE_DRAGNDROP |
8552 echo "$ac_t""no" 1>&6 | 8573 echo "$ac_t""no" 1>&6 |
8553 fi | 8574 fi |
8554 fi | 8575 fi |
8555 | 8576 |
8556 echo "checking for LDAP" 1>&6 | 8577 echo "checking for LDAP" 1>&6 |
8557 echo "configure:8558: checking for LDAP" >&5 | 8578 echo "configure:8579: checking for LDAP" >&5 |
8558 ldap_libs= | 8579 ldap_libs= |
8559 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8580 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8560 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8581 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8561 echo "configure:8562: checking for ldap.h" >&5 | 8582 echo "configure:8583: checking for ldap.h" >&5 |
8562 | 8583 |
8563 cat > conftest.$ac_ext <<EOF | 8584 cat > conftest.$ac_ext <<EOF |
8564 #line 8565 "configure" | 8585 #line 8586 "configure" |
8565 #include "confdefs.h" | 8586 #include "confdefs.h" |
8566 #include <ldap.h> | 8587 #include <ldap.h> |
8567 EOF | 8588 EOF |
8568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8569 { (eval echo configure:8570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8590 { (eval echo configure:8591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8571 if test -z "$ac_err"; then | 8592 if test -z "$ac_err"; then |
8572 rm -rf conftest* | 8593 rm -rf conftest* |
8573 eval "ac_cv_header_$ac_safe=yes" | 8594 eval "ac_cv_header_$ac_safe=yes" |
8574 else | 8595 else |
8587 with_ldap=no | 8608 with_ldap=no |
8588 fi | 8609 fi |
8589 } | 8610 } |
8590 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8611 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8591 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8612 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8592 echo "configure:8593: checking for lber.h" >&5 | 8613 echo "configure:8614: checking for lber.h" >&5 |
8593 | 8614 |
8594 cat > conftest.$ac_ext <<EOF | 8615 cat > conftest.$ac_ext <<EOF |
8595 #line 8596 "configure" | 8616 #line 8617 "configure" |
8596 #include "confdefs.h" | 8617 #include "confdefs.h" |
8597 #include <lber.h> | 8618 #include <lber.h> |
8598 EOF | 8619 EOF |
8599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8620 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; } | 8621 { (eval echo configure:8622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8602 if test -z "$ac_err"; then | 8623 if test -z "$ac_err"; then |
8603 rm -rf conftest* | 8624 rm -rf conftest* |
8604 eval "ac_cv_header_$ac_safe=yes" | 8625 eval "ac_cv_header_$ac_safe=yes" |
8605 else | 8626 else |
8619 fi | 8640 fi |
8620 } | 8641 } |
8621 if test "$with_ldap" != "no"; then | 8642 if test "$with_ldap" != "no"; then |
8622 | 8643 |
8623 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8644 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8624 echo "configure:8625: checking for ldap_search in -lldap" >&5 | 8645 echo "configure:8646: checking for ldap_search in -lldap" >&5 |
8625 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8646 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8626 | 8647 |
8627 xe_check_libs=" -lldap " | 8648 xe_check_libs=" -lldap " |
8628 cat > conftest.$ac_ext <<EOF | 8649 cat > conftest.$ac_ext <<EOF |
8629 #line 8630 "configure" | 8650 #line 8651 "configure" |
8630 #include "confdefs.h" | 8651 #include "confdefs.h" |
8631 /* Override any gcc2 internal prototype to avoid an error. */ | 8652 /* Override any gcc2 internal prototype to avoid an error. */ |
8632 /* We use char because int might match the return type of a gcc2 | 8653 /* We use char because int might match the return type of a gcc2 |
8633 builtin and then its argument prototype would still apply. */ | 8654 builtin and then its argument prototype would still apply. */ |
8634 char ldap_search(); | 8655 char ldap_search(); |
8635 | 8656 |
8636 int main() { | 8657 int main() { |
8637 ldap_search() | 8658 ldap_search() |
8638 ; return 0; } | 8659 ; return 0; } |
8639 EOF | 8660 EOF |
8640 if { (eval echo configure:8641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8661 if { (eval echo configure:8662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8641 rm -rf conftest* | 8662 rm -rf conftest* |
8642 eval "ac_cv_lib_$ac_lib_var=yes" | 8663 eval "ac_cv_lib_$ac_lib_var=yes" |
8643 else | 8664 else |
8644 echo "configure: failed program was:" >&5 | 8665 echo "configure: failed program was:" >&5 |
8645 cat conftest.$ac_ext >&5 | 8666 cat conftest.$ac_ext >&5 |
8660 | 8681 |
8661 test "$with_ldap_nolber" = "no" && { | 8682 test "$with_ldap_nolber" = "no" && { |
8662 xe_msg_checking="for ldap_open in -lldap" | 8683 xe_msg_checking="for ldap_open in -lldap" |
8663 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8684 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8664 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8685 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8665 echo "configure:8666: checking "$xe_msg_checking"" >&5 | 8686 echo "configure:8687: checking "$xe_msg_checking"" >&5 |
8666 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8687 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8667 | 8688 |
8668 xe_check_libs=" -lldap -llber" | 8689 xe_check_libs=" -lldap -llber" |
8669 cat > conftest.$ac_ext <<EOF | 8690 cat > conftest.$ac_ext <<EOF |
8670 #line 8671 "configure" | 8691 #line 8692 "configure" |
8671 #include "confdefs.h" | 8692 #include "confdefs.h" |
8672 /* Override any gcc2 internal prototype to avoid an error. */ | 8693 /* Override any gcc2 internal prototype to avoid an error. */ |
8673 /* We use char because int might match the return type of a gcc2 | 8694 /* We use char because int might match the return type of a gcc2 |
8674 builtin and then its argument prototype would still apply. */ | 8695 builtin and then its argument prototype would still apply. */ |
8675 char ldap_open(); | 8696 char ldap_open(); |
8676 | 8697 |
8677 int main() { | 8698 int main() { |
8678 ldap_open() | 8699 ldap_open() |
8679 ; return 0; } | 8700 ; return 0; } |
8680 EOF | 8701 EOF |
8681 if { (eval echo configure:8682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8702 if { (eval echo configure:8703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8682 rm -rf conftest* | 8703 rm -rf conftest* |
8683 eval "ac_cv_lib_$ac_lib_var=yes" | 8704 eval "ac_cv_lib_$ac_lib_var=yes" |
8684 else | 8705 else |
8685 echo "configure: failed program was:" >&5 | 8706 echo "configure: failed program was:" >&5 |
8686 cat conftest.$ac_ext >&5 | 8707 cat conftest.$ac_ext >&5 |
8701 } | 8722 } |
8702 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8723 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8703 xe_msg_checking="for ldap_open in -lldap" | 8724 xe_msg_checking="for ldap_open in -lldap" |
8704 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8725 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8705 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8726 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8706 echo "configure:8707: checking "$xe_msg_checking"" >&5 | 8727 echo "configure:8728: checking "$xe_msg_checking"" >&5 |
8707 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8728 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8708 | 8729 |
8709 xe_check_libs=" -lldap -llber -lkrb" | 8730 xe_check_libs=" -lldap -llber -lkrb" |
8710 cat > conftest.$ac_ext <<EOF | 8731 cat > conftest.$ac_ext <<EOF |
8711 #line 8712 "configure" | 8732 #line 8733 "configure" |
8712 #include "confdefs.h" | 8733 #include "confdefs.h" |
8713 /* Override any gcc2 internal prototype to avoid an error. */ | 8734 /* Override any gcc2 internal prototype to avoid an error. */ |
8714 /* We use char because int might match the return type of a gcc2 | 8735 /* We use char because int might match the return type of a gcc2 |
8715 builtin and then its argument prototype would still apply. */ | 8736 builtin and then its argument prototype would still apply. */ |
8716 char ldap_open(); | 8737 char ldap_open(); |
8717 | 8738 |
8718 int main() { | 8739 int main() { |
8719 ldap_open() | 8740 ldap_open() |
8720 ; return 0; } | 8741 ; return 0; } |
8721 EOF | 8742 EOF |
8722 if { (eval echo configure:8723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8743 if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8723 rm -rf conftest* | 8744 rm -rf conftest* |
8724 eval "ac_cv_lib_$ac_lib_var=yes" | 8745 eval "ac_cv_lib_$ac_lib_var=yes" |
8725 else | 8746 else |
8726 echo "configure: failed program was:" >&5 | 8747 echo "configure: failed program was:" >&5 |
8727 cat conftest.$ac_ext >&5 | 8748 cat conftest.$ac_ext >&5 |
8742 } | 8763 } |
8743 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8764 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8744 xe_msg_checking="for ldap_open in -lldap" | 8765 xe_msg_checking="for ldap_open in -lldap" |
8745 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8766 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8746 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8767 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8747 echo "configure:8748: checking "$xe_msg_checking"" >&5 | 8768 echo "configure:8769: checking "$xe_msg_checking"" >&5 |
8748 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8769 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8749 | 8770 |
8750 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8771 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8751 cat > conftest.$ac_ext <<EOF | 8772 cat > conftest.$ac_ext <<EOF |
8752 #line 8753 "configure" | 8773 #line 8774 "configure" |
8753 #include "confdefs.h" | 8774 #include "confdefs.h" |
8754 /* Override any gcc2 internal prototype to avoid an error. */ | 8775 /* Override any gcc2 internal prototype to avoid an error. */ |
8755 /* We use char because int might match the return type of a gcc2 | 8776 /* We use char because int might match the return type of a gcc2 |
8756 builtin and then its argument prototype would still apply. */ | 8777 builtin and then its argument prototype would still apply. */ |
8757 char ldap_open(); | 8778 char ldap_open(); |
8758 | 8779 |
8759 int main() { | 8780 int main() { |
8760 ldap_open() | 8781 ldap_open() |
8761 ; return 0; } | 8782 ; return 0; } |
8762 EOF | 8783 EOF |
8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8784 if { (eval echo configure:8785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8764 rm -rf conftest* | 8785 rm -rf conftest* |
8765 eval "ac_cv_lib_$ac_lib_var=yes" | 8786 eval "ac_cv_lib_$ac_lib_var=yes" |
8766 else | 8787 else |
8767 echo "configure: failed program was:" >&5 | 8788 echo "configure: failed program was:" >&5 |
8768 cat conftest.$ac_ext >&5 | 8789 cat conftest.$ac_ext >&5 |
8807 fi | 8828 fi |
8808 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8829 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8809 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8830 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8810 do | 8831 do |
8811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8812 echo "configure:8813: checking for $ac_func" >&5 | 8833 echo "configure:8834: checking for $ac_func" >&5 |
8813 | 8834 |
8814 cat > conftest.$ac_ext <<EOF | 8835 cat > conftest.$ac_ext <<EOF |
8815 #line 8816 "configure" | 8836 #line 8837 "configure" |
8816 #include "confdefs.h" | 8837 #include "confdefs.h" |
8817 /* System header to define __stub macros and hopefully few prototypes, | 8838 /* System header to define __stub macros and hopefully few prototypes, |
8818 which can conflict with char $ac_func(); below. */ | 8839 which can conflict with char $ac_func(); below. */ |
8819 #include <assert.h> | 8840 #include <assert.h> |
8820 /* Override any gcc2 internal prototype to avoid an error. */ | 8841 /* Override any gcc2 internal prototype to avoid an error. */ |
8833 $ac_func(); | 8854 $ac_func(); |
8834 #endif | 8855 #endif |
8835 | 8856 |
8836 ; return 0; } | 8857 ; return 0; } |
8837 EOF | 8858 EOF |
8838 if { (eval echo configure:8839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8859 if { (eval echo configure:8860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8839 rm -rf conftest* | 8860 rm -rf conftest* |
8840 eval "ac_cv_func_$ac_func=yes" | 8861 eval "ac_cv_func_$ac_func=yes" |
8841 else | 8862 else |
8842 echo "configure: failed program was:" >&5 | 8863 echo "configure: failed program was:" >&5 |
8843 cat conftest.$ac_ext >&5 | 8864 cat conftest.$ac_ext >&5 |
8872 | 8893 |
8873 | 8894 |
8874 postgresql_libs= | 8895 postgresql_libs= |
8875 if test "$with_postgresql" != "no"; then | 8896 if test "$with_postgresql" != "no"; then |
8876 echo "checking for PostgreSQL" 1>&6 | 8897 echo "checking for PostgreSQL" 1>&6 |
8877 echo "configure:8878: checking for PostgreSQL" >&5 | 8898 echo "configure:8899: checking for PostgreSQL" >&5 |
8878 | 8899 |
8879 for header_dir in "" "pgsql/" "postgresql/"; do | 8900 for header_dir in "" "pgsql/" "postgresql/"; do |
8880 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8901 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
8881 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8902 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
8882 echo "configure:8883: checking for ${header_dir}libpq-fe.h" >&5 | 8903 echo "configure:8904: checking for ${header_dir}libpq-fe.h" >&5 |
8883 | 8904 |
8884 cat > conftest.$ac_ext <<EOF | 8905 cat > conftest.$ac_ext <<EOF |
8885 #line 8886 "configure" | 8906 #line 8907 "configure" |
8886 #include "confdefs.h" | 8907 #include "confdefs.h" |
8887 #include <${header_dir}libpq-fe.h> | 8908 #include <${header_dir}libpq-fe.h> |
8888 EOF | 8909 EOF |
8889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8890 { (eval echo configure:8891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8911 { (eval echo configure:8912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8892 if test -z "$ac_err"; then | 8913 if test -z "$ac_err"; then |
8893 rm -rf conftest* | 8914 rm -rf conftest* |
8894 eval "ac_cv_header_$ac_safe=yes" | 8915 eval "ac_cv_header_$ac_safe=yes" |
8895 else | 8916 else |
8909 | 8930 |
8910 done | 8931 done |
8911 | 8932 |
8912 test -n "$libpq_fe_h_file" && { | 8933 test -n "$libpq_fe_h_file" && { |
8913 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8934 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8914 echo "configure:8915: checking for PQconnectdb in -lpq" >&5 | 8935 echo "configure:8936: checking for PQconnectdb in -lpq" >&5 |
8915 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8936 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8916 | 8937 |
8917 xe_check_libs=" -lpq " | 8938 xe_check_libs=" -lpq " |
8918 cat > conftest.$ac_ext <<EOF | 8939 cat > conftest.$ac_ext <<EOF |
8919 #line 8920 "configure" | 8940 #line 8941 "configure" |
8920 #include "confdefs.h" | 8941 #include "confdefs.h" |
8921 /* Override any gcc2 internal prototype to avoid an error. */ | 8942 /* Override any gcc2 internal prototype to avoid an error. */ |
8922 /* We use char because int might match the return type of a gcc2 | 8943 /* We use char because int might match the return type of a gcc2 |
8923 builtin and then its argument prototype would still apply. */ | 8944 builtin and then its argument prototype would still apply. */ |
8924 char PQconnectdb(); | 8945 char PQconnectdb(); |
8925 | 8946 |
8926 int main() { | 8947 int main() { |
8927 PQconnectdb() | 8948 PQconnectdb() |
8928 ; return 0; } | 8949 ; return 0; } |
8929 EOF | 8950 EOF |
8930 if { (eval echo configure:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8951 if { (eval echo configure:8952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8931 rm -rf conftest* | 8952 rm -rf conftest* |
8932 eval "ac_cv_lib_$ac_lib_var=yes" | 8953 eval "ac_cv_lib_$ac_lib_var=yes" |
8933 else | 8954 else |
8934 echo "configure: failed program was:" >&5 | 8955 echo "configure: failed program was:" >&5 |
8935 cat conftest.$ac_ext >&5 | 8956 cat conftest.$ac_ext >&5 |
8958 EOF | 8979 EOF |
8959 } | 8980 } |
8960 | 8981 |
8961 | 8982 |
8962 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8983 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8963 echo "configure:8964: checking for PQconnectStart in -lpq" >&5 | 8984 echo "configure:8985: checking for PQconnectStart in -lpq" >&5 |
8964 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8985 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8965 | 8986 |
8966 xe_check_libs=" -lpq " | 8987 xe_check_libs=" -lpq " |
8967 cat > conftest.$ac_ext <<EOF | 8988 cat > conftest.$ac_ext <<EOF |
8968 #line 8969 "configure" | 8989 #line 8990 "configure" |
8969 #include "confdefs.h" | 8990 #include "confdefs.h" |
8970 /* Override any gcc2 internal prototype to avoid an error. */ | 8991 /* Override any gcc2 internal prototype to avoid an error. */ |
8971 /* We use char because int might match the return type of a gcc2 | 8992 /* We use char because int might match the return type of a gcc2 |
8972 builtin and then its argument prototype would still apply. */ | 8993 builtin and then its argument prototype would still apply. */ |
8973 char PQconnectStart(); | 8994 char PQconnectStart(); |
8974 | 8995 |
8975 int main() { | 8996 int main() { |
8976 PQconnectStart() | 8997 PQconnectStart() |
8977 ; return 0; } | 8998 ; return 0; } |
8978 EOF | 8999 EOF |
8979 if { (eval echo configure:8980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9000 if { (eval echo configure:9001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8980 rm -rf conftest* | 9001 rm -rf conftest* |
8981 eval "ac_cv_lib_$ac_lib_var=yes" | 9002 eval "ac_cv_lib_$ac_lib_var=yes" |
8982 else | 9003 else |
8983 echo "configure: failed program was:" >&5 | 9004 echo "configure: failed program was:" >&5 |
8984 cat conftest.$ac_ext >&5 | 9005 cat conftest.$ac_ext >&5 |
9025 | 9046 |
9026 | 9047 |
9027 | 9048 |
9028 if test "$window_system" != "none"; then | 9049 if test "$window_system" != "none"; then |
9029 echo "checking for graphics libraries" 1>&6 | 9050 echo "checking for graphics libraries" 1>&6 |
9030 echo "configure:9031: checking for graphics libraries" >&5 | 9051 echo "configure:9052: checking for graphics libraries" >&5 |
9031 | 9052 |
9032 libpath_xpm= | 9053 libpath_xpm= |
9033 incpath_xpm= | 9054 incpath_xpm= |
9034 case "$opsys" in | 9055 case "$opsys" in |
9035 cygwin*) | 9056 cygwin*) |
9051 xpm_problem="" | 9072 xpm_problem="" |
9052 if test -z "$with_xpm"; then | 9073 if test -z "$with_xpm"; then |
9053 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9074 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9054 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9075 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9055 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9076 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9056 echo "configure:9057: checking for Xpm - no older than 3.4f" >&5 | 9077 echo "configure:9078: checking for Xpm - no older than 3.4f" >&5 |
9057 xe_check_libs=-lXpm | 9078 xe_check_libs=-lXpm |
9058 cat > conftest.$ac_ext <<EOF | 9079 cat > conftest.$ac_ext <<EOF |
9059 #line 9060 "configure" | 9080 #line 9081 "configure" |
9060 #include "confdefs.h" | 9081 #include "confdefs.h" |
9061 #define XPM_NUMBERS | 9082 #define XPM_NUMBERS |
9062 #include <X11/xpm.h> | 9083 #include <X11/xpm.h> |
9063 int main(int c, char **v) { | 9084 int main(int c, char **v) { |
9064 return c == 1 ? 0 : | 9085 return c == 1 ? 0 : |
9065 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9086 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9066 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9087 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9067 EOF | 9088 EOF |
9068 if { (eval echo configure:9069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9089 if { (eval echo configure:9090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9069 then | 9090 then |
9070 ./conftest dummy_arg; xpm_status=$?; | 9091 ./conftest dummy_arg; xpm_status=$?; |
9071 if test "$xpm_status" = "0"; then | 9092 if test "$xpm_status" = "0"; then |
9072 with_xpm=yes; | 9093 with_xpm=yes; |
9073 else | 9094 else |
9107 | 9128 |
9108 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9129 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9109 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9130 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9110 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9131 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9111 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9132 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9112 echo "configure:9113: checking for \"FOR_MSW\" xpm" >&5 | 9133 echo "configure:9134: checking for \"FOR_MSW\" xpm" >&5 |
9113 xe_check_libs=-lXpm | 9134 xe_check_libs=-lXpm |
9114 cat > conftest.$ac_ext <<EOF | 9135 cat > conftest.$ac_ext <<EOF |
9115 #line 9116 "configure" | 9136 #line 9137 "configure" |
9116 #include "confdefs.h" | 9137 #include "confdefs.h" |
9117 | 9138 |
9118 int main() { | 9139 int main() { |
9119 XpmCreatePixmapFromData() | 9140 XpmCreatePixmapFromData() |
9120 ; return 0; } | 9141 ; return 0; } |
9121 EOF | 9142 EOF |
9122 if { (eval echo configure:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9143 if { (eval echo configure:9144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9123 rm -rf conftest* | 9144 rm -rf conftest* |
9124 xpm_for_msw=no | 9145 xpm_for_msw=no |
9125 else | 9146 else |
9126 echo "configure: failed program was:" >&5 | 9147 echo "configure: failed program was:" >&5 |
9127 cat conftest.$ac_ext >&5 | 9148 cat conftest.$ac_ext >&5 |
9143 fi | 9164 fi |
9144 fi | 9165 fi |
9145 | 9166 |
9146 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9167 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9147 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9168 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9148 echo "configure:9149: checking for compface.h" >&5 | 9169 echo "configure:9170: checking for compface.h" >&5 |
9149 | 9170 |
9150 cat > conftest.$ac_ext <<EOF | 9171 cat > conftest.$ac_ext <<EOF |
9151 #line 9152 "configure" | 9172 #line 9173 "configure" |
9152 #include "confdefs.h" | 9173 #include "confdefs.h" |
9153 #include <compface.h> | 9174 #include <compface.h> |
9154 EOF | 9175 EOF |
9155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9156 { (eval echo configure:9157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9177 { (eval echo configure:9178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9158 if test -z "$ac_err"; then | 9179 if test -z "$ac_err"; then |
9159 rm -rf conftest* | 9180 rm -rf conftest* |
9160 eval "ac_cv_header_$ac_safe=yes" | 9181 eval "ac_cv_header_$ac_safe=yes" |
9161 else | 9182 else |
9174 with_xface=no | 9195 with_xface=no |
9175 fi | 9196 fi |
9176 } | 9197 } |
9177 test -z "$with_xface" && { | 9198 test -z "$with_xface" && { |
9178 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9199 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9179 echo "configure:9180: checking for UnGenFace in -lcompface" >&5 | 9200 echo "configure:9201: checking for UnGenFace in -lcompface" >&5 |
9180 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9201 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9181 | 9202 |
9182 xe_check_libs=" -lcompface " | 9203 xe_check_libs=" -lcompface " |
9183 cat > conftest.$ac_ext <<EOF | 9204 cat > conftest.$ac_ext <<EOF |
9184 #line 9185 "configure" | 9205 #line 9206 "configure" |
9185 #include "confdefs.h" | 9206 #include "confdefs.h" |
9186 /* Override any gcc2 internal prototype to avoid an error. */ | 9207 /* Override any gcc2 internal prototype to avoid an error. */ |
9187 /* We use char because int might match the return type of a gcc2 | 9208 /* We use char because int might match the return type of a gcc2 |
9188 builtin and then its argument prototype would still apply. */ | 9209 builtin and then its argument prototype would still apply. */ |
9189 char UnGenFace(); | 9210 char UnGenFace(); |
9190 | 9211 |
9191 int main() { | 9212 int main() { |
9192 UnGenFace() | 9213 UnGenFace() |
9193 ; return 0; } | 9214 ; return 0; } |
9194 EOF | 9215 EOF |
9195 if { (eval echo configure:9196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9216 if { (eval echo configure:9217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9196 rm -rf conftest* | 9217 rm -rf conftest* |
9197 eval "ac_cv_lib_$ac_lib_var=yes" | 9218 eval "ac_cv_lib_$ac_lib_var=yes" |
9198 else | 9219 else |
9199 echo "configure: failed program was:" >&5 | 9220 echo "configure: failed program was:" >&5 |
9200 cat conftest.$ac_ext >&5 | 9221 cat conftest.$ac_ext >&5 |
9239 fi | 9260 fi |
9240 | 9261 |
9241 if test "$with_png $with_tiff" != "no no"; then | 9262 if test "$with_png $with_tiff" != "no no"; then |
9242 | 9263 |
9243 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9264 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9244 echo "configure:9245: checking for inflate in -lc" >&5 | 9265 echo "configure:9266: checking for inflate in -lc" >&5 |
9245 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9266 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9246 | 9267 |
9247 xe_check_libs=" -lc " | 9268 xe_check_libs=" -lc " |
9248 cat > conftest.$ac_ext <<EOF | 9269 cat > conftest.$ac_ext <<EOF |
9249 #line 9250 "configure" | 9270 #line 9271 "configure" |
9250 #include "confdefs.h" | 9271 #include "confdefs.h" |
9251 /* Override any gcc2 internal prototype to avoid an error. */ | 9272 /* Override any gcc2 internal prototype to avoid an error. */ |
9252 /* We use char because int might match the return type of a gcc2 | 9273 /* We use char because int might match the return type of a gcc2 |
9253 builtin and then its argument prototype would still apply. */ | 9274 builtin and then its argument prototype would still apply. */ |
9254 char inflate(); | 9275 char inflate(); |
9255 | 9276 |
9256 int main() { | 9277 int main() { |
9257 inflate() | 9278 inflate() |
9258 ; return 0; } | 9279 ; return 0; } |
9259 EOF | 9280 EOF |
9260 if { (eval echo configure:9261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9281 if { (eval echo configure:9282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9261 rm -rf conftest* | 9282 rm -rf conftest* |
9262 eval "ac_cv_lib_$ac_lib_var=yes" | 9283 eval "ac_cv_lib_$ac_lib_var=yes" |
9263 else | 9284 else |
9264 echo "configure: failed program was:" >&5 | 9285 echo "configure: failed program was:" >&5 |
9265 cat conftest.$ac_ext >&5 | 9286 cat conftest.$ac_ext >&5 |
9274 : | 9295 : |
9275 else | 9296 else |
9276 echo "$ac_t""no" 1>&6 | 9297 echo "$ac_t""no" 1>&6 |
9277 | 9298 |
9278 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9299 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9279 echo "configure:9280: checking for inflate in -lz" >&5 | 9300 echo "configure:9301: checking for inflate in -lz" >&5 |
9280 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9301 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9281 | 9302 |
9282 xe_check_libs=" -lz " | 9303 xe_check_libs=" -lz " |
9283 cat > conftest.$ac_ext <<EOF | 9304 cat > conftest.$ac_ext <<EOF |
9284 #line 9285 "configure" | 9305 #line 9306 "configure" |
9285 #include "confdefs.h" | 9306 #include "confdefs.h" |
9286 /* Override any gcc2 internal prototype to avoid an error. */ | 9307 /* Override any gcc2 internal prototype to avoid an error. */ |
9287 /* We use char because int might match the return type of a gcc2 | 9308 /* We use char because int might match the return type of a gcc2 |
9288 builtin and then its argument prototype would still apply. */ | 9309 builtin and then its argument prototype would still apply. */ |
9289 char inflate(); | 9310 char inflate(); |
9290 | 9311 |
9291 int main() { | 9312 int main() { |
9292 inflate() | 9313 inflate() |
9293 ; return 0; } | 9314 ; return 0; } |
9294 EOF | 9315 EOF |
9295 if { (eval echo configure:9296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9316 if { (eval echo configure:9317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9296 rm -rf conftest* | 9317 rm -rf conftest* |
9297 eval "ac_cv_lib_$ac_lib_var=yes" | 9318 eval "ac_cv_lib_$ac_lib_var=yes" |
9298 else | 9319 else |
9299 echo "configure: failed program was:" >&5 | 9320 echo "configure: failed program was:" >&5 |
9300 cat conftest.$ac_ext >&5 | 9321 cat conftest.$ac_ext >&5 |
9309 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9330 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9310 else | 9331 else |
9311 echo "$ac_t""no" 1>&6 | 9332 echo "$ac_t""no" 1>&6 |
9312 | 9333 |
9313 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9334 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9314 echo "configure:9315: checking for inflate in -lgz" >&5 | 9335 echo "configure:9336: checking for inflate in -lgz" >&5 |
9315 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9336 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9316 | 9337 |
9317 xe_check_libs=" -lgz " | 9338 xe_check_libs=" -lgz " |
9318 cat > conftest.$ac_ext <<EOF | 9339 cat > conftest.$ac_ext <<EOF |
9319 #line 9320 "configure" | 9340 #line 9341 "configure" |
9320 #include "confdefs.h" | 9341 #include "confdefs.h" |
9321 /* Override any gcc2 internal prototype to avoid an error. */ | 9342 /* Override any gcc2 internal prototype to avoid an error. */ |
9322 /* We use char because int might match the return type of a gcc2 | 9343 /* We use char because int might match the return type of a gcc2 |
9323 builtin and then its argument prototype would still apply. */ | 9344 builtin and then its argument prototype would still apply. */ |
9324 char inflate(); | 9345 char inflate(); |
9325 | 9346 |
9326 int main() { | 9347 int main() { |
9327 inflate() | 9348 inflate() |
9328 ; return 0; } | 9349 ; return 0; } |
9329 EOF | 9350 EOF |
9330 if { (eval echo configure:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9351 if { (eval echo configure:9352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9331 rm -rf conftest* | 9352 rm -rf conftest* |
9332 eval "ac_cv_lib_$ac_lib_var=yes" | 9353 eval "ac_cv_lib_$ac_lib_var=yes" |
9333 else | 9354 else |
9334 echo "configure: failed program was:" >&5 | 9355 echo "configure: failed program was:" >&5 |
9335 cat conftest.$ac_ext >&5 | 9356 cat conftest.$ac_ext >&5 |
9355 | 9376 |
9356 fi | 9377 fi |
9357 | 9378 |
9358 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9379 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9359 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9380 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9360 echo "configure:9361: checking for jpeglib.h" >&5 | 9381 echo "configure:9382: checking for jpeglib.h" >&5 |
9361 | 9382 |
9362 cat > conftest.$ac_ext <<EOF | 9383 cat > conftest.$ac_ext <<EOF |
9363 #line 9364 "configure" | 9384 #line 9385 "configure" |
9364 #include "confdefs.h" | 9385 #include "confdefs.h" |
9365 #include <jpeglib.h> | 9386 #include <jpeglib.h> |
9366 EOF | 9387 EOF |
9367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9368 { (eval echo configure:9369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9389 { (eval echo configure:9390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9370 if test -z "$ac_err"; then | 9391 if test -z "$ac_err"; then |
9371 rm -rf conftest* | 9392 rm -rf conftest* |
9372 eval "ac_cv_header_$ac_safe=yes" | 9393 eval "ac_cv_header_$ac_safe=yes" |
9373 else | 9394 else |
9386 with_jpeg=no | 9407 with_jpeg=no |
9387 fi | 9408 fi |
9388 } | 9409 } |
9389 test -z "$with_jpeg" && { | 9410 test -z "$with_jpeg" && { |
9390 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9411 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9391 echo "configure:9392: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9412 echo "configure:9413: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9392 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9413 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9393 | 9414 |
9394 xe_check_libs=" -ljpeg " | 9415 xe_check_libs=" -ljpeg " |
9395 cat > conftest.$ac_ext <<EOF | 9416 cat > conftest.$ac_ext <<EOF |
9396 #line 9397 "configure" | 9417 #line 9418 "configure" |
9397 #include "confdefs.h" | 9418 #include "confdefs.h" |
9398 /* Override any gcc2 internal prototype to avoid an error. */ | 9419 /* Override any gcc2 internal prototype to avoid an error. */ |
9399 /* We use char because int might match the return type of a gcc2 | 9420 /* We use char because int might match the return type of a gcc2 |
9400 builtin and then its argument prototype would still apply. */ | 9421 builtin and then its argument prototype would still apply. */ |
9401 char jpeg_destroy_decompress(); | 9422 char jpeg_destroy_decompress(); |
9402 | 9423 |
9403 int main() { | 9424 int main() { |
9404 jpeg_destroy_decompress() | 9425 jpeg_destroy_decompress() |
9405 ; return 0; } | 9426 ; return 0; } |
9406 EOF | 9427 EOF |
9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9428 if { (eval echo configure:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9408 rm -rf conftest* | 9429 rm -rf conftest* |
9409 eval "ac_cv_lib_$ac_lib_var=yes" | 9430 eval "ac_cv_lib_$ac_lib_var=yes" |
9410 else | 9431 else |
9411 echo "configure: failed program was:" >&5 | 9432 echo "configure: failed program was:" >&5 |
9412 cat conftest.$ac_ext >&5 | 9433 cat conftest.$ac_ext >&5 |
9438 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9459 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9439 fi | 9460 fi |
9440 | 9461 |
9441 png_problem="" | 9462 png_problem="" |
9442 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9463 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9443 echo "configure:9444: checking for pow" >&5 | 9464 echo "configure:9465: checking for pow" >&5 |
9444 | 9465 |
9445 cat > conftest.$ac_ext <<EOF | 9466 cat > conftest.$ac_ext <<EOF |
9446 #line 9447 "configure" | 9467 #line 9468 "configure" |
9447 #include "confdefs.h" | 9468 #include "confdefs.h" |
9448 /* System header to define __stub macros and hopefully few prototypes, | 9469 /* System header to define __stub macros and hopefully few prototypes, |
9449 which can conflict with char pow(); below. */ | 9470 which can conflict with char pow(); below. */ |
9450 #include <assert.h> | 9471 #include <assert.h> |
9451 /* Override any gcc2 internal prototype to avoid an error. */ | 9472 /* Override any gcc2 internal prototype to avoid an error. */ |
9464 pow(); | 9485 pow(); |
9465 #endif | 9486 #endif |
9466 | 9487 |
9467 ; return 0; } | 9488 ; return 0; } |
9468 EOF | 9489 EOF |
9469 if { (eval echo configure:9470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9490 if { (eval echo configure:9491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9470 rm -rf conftest* | 9491 rm -rf conftest* |
9471 eval "ac_cv_func_pow=yes" | 9492 eval "ac_cv_func_pow=yes" |
9472 else | 9493 else |
9473 echo "configure: failed program was:" >&5 | 9494 echo "configure: failed program was:" >&5 |
9474 cat conftest.$ac_ext >&5 | 9495 cat conftest.$ac_ext >&5 |
9485 with_png=no | 9506 with_png=no |
9486 fi | 9507 fi |
9487 } | 9508 } |
9488 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9509 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9489 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9510 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9490 echo "configure:9491: checking for png.h" >&5 | 9511 echo "configure:9512: checking for png.h" >&5 |
9491 | 9512 |
9492 cat > conftest.$ac_ext <<EOF | 9513 cat > conftest.$ac_ext <<EOF |
9493 #line 9494 "configure" | 9514 #line 9515 "configure" |
9494 #include "confdefs.h" | 9515 #include "confdefs.h" |
9495 #include <png.h> | 9516 #include <png.h> |
9496 EOF | 9517 EOF |
9497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9498 { (eval echo configure:9499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9519 { (eval echo configure:9520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9500 if test -z "$ac_err"; then | 9521 if test -z "$ac_err"; then |
9501 rm -rf conftest* | 9522 rm -rf conftest* |
9502 eval "ac_cv_header_$ac_safe=yes" | 9523 eval "ac_cv_header_$ac_safe=yes" |
9503 else | 9524 else |
9516 with_png=no | 9537 with_png=no |
9517 fi | 9538 fi |
9518 } | 9539 } |
9519 test -z "$with_png" && { | 9540 test -z "$with_png" && { |
9520 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9541 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9521 echo "configure:9522: checking for png_read_image in -lpng" >&5 | 9542 echo "configure:9543: checking for png_read_image in -lpng" >&5 |
9522 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9543 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9523 | 9544 |
9524 xe_check_libs=" -lpng " | 9545 xe_check_libs=" -lpng " |
9525 cat > conftest.$ac_ext <<EOF | 9546 cat > conftest.$ac_ext <<EOF |
9526 #line 9527 "configure" | 9547 #line 9548 "configure" |
9527 #include "confdefs.h" | 9548 #include "confdefs.h" |
9528 /* Override any gcc2 internal prototype to avoid an error. */ | 9549 /* Override any gcc2 internal prototype to avoid an error. */ |
9529 /* We use char because int might match the return type of a gcc2 | 9550 /* We use char because int might match the return type of a gcc2 |
9530 builtin and then its argument prototype would still apply. */ | 9551 builtin and then its argument prototype would still apply. */ |
9531 char png_read_image(); | 9552 char png_read_image(); |
9532 | 9553 |
9533 int main() { | 9554 int main() { |
9534 png_read_image() | 9555 png_read_image() |
9535 ; return 0; } | 9556 ; return 0; } |
9536 EOF | 9557 EOF |
9537 if { (eval echo configure:9538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9558 if { (eval echo configure:9559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9538 rm -rf conftest* | 9559 rm -rf conftest* |
9539 eval "ac_cv_lib_$ac_lib_var=yes" | 9560 eval "ac_cv_lib_$ac_lib_var=yes" |
9540 else | 9561 else |
9541 echo "configure: failed program was:" >&5 | 9562 echo "configure: failed program was:" >&5 |
9542 cat conftest.$ac_ext >&5 | 9563 cat conftest.$ac_ext >&5 |
9555 fi | 9576 fi |
9556 | 9577 |
9557 } | 9578 } |
9558 if test -z "$with_png"; then | 9579 if test -z "$with_png"; then |
9559 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9580 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9560 echo "configure:9561: checking for workable png version information" >&5 | 9581 echo "configure:9582: checking for workable png version information" >&5 |
9561 xe_check_libs="-lpng -lz" | 9582 xe_check_libs="-lpng -lz" |
9562 cat > conftest.$ac_ext <<EOF | 9583 cat > conftest.$ac_ext <<EOF |
9563 #line 9564 "configure" | 9584 #line 9585 "configure" |
9564 #include "confdefs.h" | 9585 #include "confdefs.h" |
9565 #include <png.h> | 9586 #include <png.h> |
9566 int main(int c, char **v) { | 9587 int main(int c, char **v) { |
9567 if (c == 1) return 0; | 9588 if (c == 1) return 0; |
9568 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9589 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9569 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9590 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9570 EOF | 9591 EOF |
9571 if { (eval echo configure:9572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9572 then | 9593 then |
9573 ./conftest dummy_arg; png_status=$?; | 9594 ./conftest dummy_arg; png_status=$?; |
9574 if test "$png_status" = "0"; then | 9595 if test "$png_status" = "0"; then |
9575 with_png=yes; | 9596 with_png=yes; |
9576 else | 9597 else |
9609 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9630 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9610 fi | 9631 fi |
9611 | 9632 |
9612 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9633 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9613 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9634 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9614 echo "configure:9615: checking for tiffio.h" >&5 | 9635 echo "configure:9636: checking for tiffio.h" >&5 |
9615 | 9636 |
9616 cat > conftest.$ac_ext <<EOF | 9637 cat > conftest.$ac_ext <<EOF |
9617 #line 9618 "configure" | 9638 #line 9639 "configure" |
9618 #include "confdefs.h" | 9639 #include "confdefs.h" |
9619 #include <tiffio.h> | 9640 #include <tiffio.h> |
9620 EOF | 9641 EOF |
9621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9622 { (eval echo configure:9623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9643 { (eval echo configure:9644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9624 if test -z "$ac_err"; then | 9645 if test -z "$ac_err"; then |
9625 rm -rf conftest* | 9646 rm -rf conftest* |
9626 eval "ac_cv_header_$ac_safe=yes" | 9647 eval "ac_cv_header_$ac_safe=yes" |
9627 else | 9648 else |
9640 with_tiff=no | 9661 with_tiff=no |
9641 fi | 9662 fi |
9642 } | 9663 } |
9643 test -z "$with_tiff" && { | 9664 test -z "$with_tiff" && { |
9644 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9665 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9645 echo "configure:9646: checking for TIFFClientOpen in -ltiff" >&5 | 9666 echo "configure:9667: checking for TIFFClientOpen in -ltiff" >&5 |
9646 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9667 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9647 | 9668 |
9648 xe_check_libs=" -ltiff " | 9669 xe_check_libs=" -ltiff " |
9649 cat > conftest.$ac_ext <<EOF | 9670 cat > conftest.$ac_ext <<EOF |
9650 #line 9651 "configure" | 9671 #line 9672 "configure" |
9651 #include "confdefs.h" | 9672 #include "confdefs.h" |
9652 /* Override any gcc2 internal prototype to avoid an error. */ | 9673 /* Override any gcc2 internal prototype to avoid an error. */ |
9653 /* We use char because int might match the return type of a gcc2 | 9674 /* We use char because int might match the return type of a gcc2 |
9654 builtin and then its argument prototype would still apply. */ | 9675 builtin and then its argument prototype would still apply. */ |
9655 char TIFFClientOpen(); | 9676 char TIFFClientOpen(); |
9656 | 9677 |
9657 int main() { | 9678 int main() { |
9658 TIFFClientOpen() | 9679 TIFFClientOpen() |
9659 ; return 0; } | 9680 ; return 0; } |
9660 EOF | 9681 EOF |
9661 if { (eval echo configure:9662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9682 if { (eval echo configure:9683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9662 rm -rf conftest* | 9683 rm -rf conftest* |
9663 eval "ac_cv_lib_$ac_lib_var=yes" | 9684 eval "ac_cv_lib_$ac_lib_var=yes" |
9664 else | 9685 else |
9665 echo "configure: failed program was:" >&5 | 9686 echo "configure: failed program was:" >&5 |
9666 cat conftest.$ac_ext >&5 | 9687 cat conftest.$ac_ext >&5 |
9695 | 9716 |
9696 | 9717 |
9697 if test "$with_gtk" = "yes"; then | 9718 if test "$with_gtk" = "yes"; then |
9698 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9719 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9699 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9720 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9700 echo "configure:9701: checking for compface.h" >&5 | 9721 echo "configure:9722: checking for compface.h" >&5 |
9701 | 9722 |
9702 cat > conftest.$ac_ext <<EOF | 9723 cat > conftest.$ac_ext <<EOF |
9703 #line 9704 "configure" | 9724 #line 9725 "configure" |
9704 #include "confdefs.h" | 9725 #include "confdefs.h" |
9705 #include <compface.h> | 9726 #include <compface.h> |
9706 EOF | 9727 EOF |
9707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9708 { (eval echo configure:9709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9729 { (eval echo configure:9730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9710 if test -z "$ac_err"; then | 9731 if test -z "$ac_err"; then |
9711 rm -rf conftest* | 9732 rm -rf conftest* |
9712 eval "ac_cv_header_$ac_safe=yes" | 9733 eval "ac_cv_header_$ac_safe=yes" |
9713 else | 9734 else |
9726 with_xface=no | 9747 with_xface=no |
9727 fi | 9748 fi |
9728 } | 9749 } |
9729 test -z "$with_xface" && { | 9750 test -z "$with_xface" && { |
9730 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9751 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9731 echo "configure:9732: checking for UnGenFace in -lcompface" >&5 | 9752 echo "configure:9753: checking for UnGenFace in -lcompface" >&5 |
9732 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9753 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9733 | 9754 |
9734 xe_check_libs=" -lcompface " | 9755 xe_check_libs=" -lcompface " |
9735 cat > conftest.$ac_ext <<EOF | 9756 cat > conftest.$ac_ext <<EOF |
9736 #line 9737 "configure" | 9757 #line 9758 "configure" |
9737 #include "confdefs.h" | 9758 #include "confdefs.h" |
9738 /* Override any gcc2 internal prototype to avoid an error. */ | 9759 /* Override any gcc2 internal prototype to avoid an error. */ |
9739 /* We use char because int might match the return type of a gcc2 | 9760 /* We use char because int might match the return type of a gcc2 |
9740 builtin and then its argument prototype would still apply. */ | 9761 builtin and then its argument prototype would still apply. */ |
9741 char UnGenFace(); | 9762 char UnGenFace(); |
9742 | 9763 |
9743 int main() { | 9764 int main() { |
9744 UnGenFace() | 9765 UnGenFace() |
9745 ; return 0; } | 9766 ; return 0; } |
9746 EOF | 9767 EOF |
9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9768 if { (eval echo configure:9769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9748 rm -rf conftest* | 9769 rm -rf conftest* |
9749 eval "ac_cv_lib_$ac_lib_var=yes" | 9770 eval "ac_cv_lib_$ac_lib_var=yes" |
9750 else | 9771 else |
9751 echo "configure: failed program was:" >&5 | 9772 echo "configure: failed program was:" >&5 |
9752 cat conftest.$ac_ext >&5 | 9773 cat conftest.$ac_ext >&5 |
9781 | 9802 |
9782 | 9803 |
9783 | 9804 |
9784 if test "$with_x11" = "yes"; then | 9805 if test "$with_x11" = "yes"; then |
9785 echo "checking for X11 graphics libraries" 1>&6 | 9806 echo "checking for X11 graphics libraries" 1>&6 |
9786 echo "configure:9787: checking for X11 graphics libraries" >&5 | 9807 echo "configure:9808: checking for X11 graphics libraries" >&5 |
9787 fi | 9808 fi |
9788 | 9809 |
9789 case "$with_widgets" in | 9810 case "$with_widgets" in |
9790 "yes" | "athena") detect_athena=yes ;; | 9811 "yes" | "athena") detect_athena=yes ;; |
9791 *) detect_athena=no ;; | 9812 *) detect_athena=no ;; |
9792 esac | 9813 esac |
9793 | 9814 |
9794 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9815 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9795 echo "checking for the Athena widgets" 1>&6 | 9816 echo "checking for the Athena widgets" 1>&6 |
9796 echo "configure:9797: checking for the Athena widgets" >&5 | 9817 echo "configure:9818: checking for the Athena widgets" >&5 |
9797 | 9818 |
9798 case "$with_athena" in | 9819 case "$with_athena" in |
9799 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9820 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9800 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9821 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9801 "next") athena_variant=neXtaw athena_3d=yes ;; | 9822 "next") athena_variant=neXtaw athena_3d=yes ;; |
9805 esac | 9826 esac |
9806 | 9827 |
9807 if test "$athena_3d" = "no"; then | 9828 if test "$athena_3d" = "no"; then |
9808 | 9829 |
9809 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9830 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9810 echo "configure:9811: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9831 echo "configure:9832: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9811 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9832 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9812 | 9833 |
9813 xe_check_libs=" -l$athena_variant " | 9834 xe_check_libs=" -l$athena_variant " |
9814 cat > conftest.$ac_ext <<EOF | 9835 cat > conftest.$ac_ext <<EOF |
9815 #line 9816 "configure" | 9836 #line 9837 "configure" |
9816 #include "confdefs.h" | 9837 #include "confdefs.h" |
9817 /* Override any gcc2 internal prototype to avoid an error. */ | 9838 /* Override any gcc2 internal prototype to avoid an error. */ |
9818 /* We use char because int might match the return type of a gcc2 | 9839 /* We use char because int might match the return type of a gcc2 |
9819 builtin and then its argument prototype would still apply. */ | 9840 builtin and then its argument prototype would still apply. */ |
9820 char XawScrollbarSetThumb(); | 9841 char XawScrollbarSetThumb(); |
9821 | 9842 |
9822 int main() { | 9843 int main() { |
9823 XawScrollbarSetThumb() | 9844 XawScrollbarSetThumb() |
9824 ; return 0; } | 9845 ; return 0; } |
9825 EOF | 9846 EOF |
9826 if { (eval echo configure:9827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9847 if { (eval echo configure:9848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9827 rm -rf conftest* | 9848 rm -rf conftest* |
9828 eval "ac_cv_lib_$ac_lib_var=yes" | 9849 eval "ac_cv_lib_$ac_lib_var=yes" |
9829 else | 9850 else |
9830 echo "configure: failed program was:" >&5 | 9851 echo "configure: failed program was:" >&5 |
9831 cat conftest.$ac_ext >&5 | 9852 cat conftest.$ac_ext >&5 |
9837 | 9858 |
9838 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9859 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9839 echo "$ac_t""yes" 1>&6 | 9860 echo "$ac_t""yes" 1>&6 |
9840 | 9861 |
9841 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9862 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9842 echo "configure:9843: checking for threeDClassRec in -l$athena_variant" >&5 | 9863 echo "configure:9864: checking for threeDClassRec in -l$athena_variant" >&5 |
9843 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9864 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9844 | 9865 |
9845 xe_check_libs=" -l$athena_variant " | 9866 xe_check_libs=" -l$athena_variant " |
9846 cat > conftest.$ac_ext <<EOF | 9867 cat > conftest.$ac_ext <<EOF |
9847 #line 9848 "configure" | 9868 #line 9869 "configure" |
9848 #include "confdefs.h" | 9869 #include "confdefs.h" |
9849 /* Override any gcc2 internal prototype to avoid an error. */ | 9870 /* Override any gcc2 internal prototype to avoid an error. */ |
9850 /* We use char because int might match the return type of a gcc2 | 9871 /* We use char because int might match the return type of a gcc2 |
9851 builtin and then its argument prototype would still apply. */ | 9872 builtin and then its argument prototype would still apply. */ |
9852 char threeDClassRec(); | 9873 char threeDClassRec(); |
9853 | 9874 |
9854 int main() { | 9875 int main() { |
9855 threeDClassRec() | 9876 threeDClassRec() |
9856 ; return 0; } | 9877 ; return 0; } |
9857 EOF | 9878 EOF |
9858 if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9879 if { (eval echo configure:9880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9859 rm -rf conftest* | 9880 rm -rf conftest* |
9860 eval "ac_cv_lib_$ac_lib_var=yes" | 9881 eval "ac_cv_lib_$ac_lib_var=yes" |
9861 else | 9882 else |
9862 echo "configure: failed program was:" >&5 | 9883 echo "configure: failed program was:" >&5 |
9863 cat conftest.$ac_ext >&5 | 9884 cat conftest.$ac_ext >&5 |
9884 | 9905 |
9885 | 9906 |
9886 else | 9907 else |
9887 | 9908 |
9888 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9909 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9889 echo "configure:9890: checking for threeDClassRec in -l$athena_variant" >&5 | 9910 echo "configure:9911: checking for threeDClassRec in -l$athena_variant" >&5 |
9890 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9911 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9891 | 9912 |
9892 xe_check_libs=" -l$athena_variant " | 9913 xe_check_libs=" -l$athena_variant " |
9893 cat > conftest.$ac_ext <<EOF | 9914 cat > conftest.$ac_ext <<EOF |
9894 #line 9895 "configure" | 9915 #line 9916 "configure" |
9895 #include "confdefs.h" | 9916 #include "confdefs.h" |
9896 /* Override any gcc2 internal prototype to avoid an error. */ | 9917 /* Override any gcc2 internal prototype to avoid an error. */ |
9897 /* We use char because int might match the return type of a gcc2 | 9918 /* We use char because int might match the return type of a gcc2 |
9898 builtin and then its argument prototype would still apply. */ | 9919 builtin and then its argument prototype would still apply. */ |
9899 char threeDClassRec(); | 9920 char threeDClassRec(); |
9900 | 9921 |
9901 int main() { | 9922 int main() { |
9902 threeDClassRec() | 9923 threeDClassRec() |
9903 ; return 0; } | 9924 ; return 0; } |
9904 EOF | 9925 EOF |
9905 if { (eval echo configure:9906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9926 if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9906 rm -rf conftest* | 9927 rm -rf conftest* |
9907 eval "ac_cv_lib_$ac_lib_var=yes" | 9928 eval "ac_cv_lib_$ac_lib_var=yes" |
9908 else | 9929 else |
9909 echo "configure: failed program was:" >&5 | 9930 echo "configure: failed program was:" >&5 |
9910 cat conftest.$ac_ext >&5 | 9931 cat conftest.$ac_ext >&5 |
9918 echo "$ac_t""yes" 1>&6 | 9939 echo "$ac_t""yes" 1>&6 |
9919 athena_lib=$athena_variant | 9940 athena_lib=$athena_variant |
9920 else | 9941 else |
9921 echo "$ac_t""no" 1>&6 | 9942 echo "$ac_t""no" 1>&6 |
9922 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9943 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9923 echo "configure:9924: checking for threeDClassRec in -lXaw" >&5 | 9944 echo "configure:9945: checking for threeDClassRec in -lXaw" >&5 |
9924 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9945 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9925 | 9946 |
9926 xe_check_libs=" -lXaw " | 9947 xe_check_libs=" -lXaw " |
9927 cat > conftest.$ac_ext <<EOF | 9948 cat > conftest.$ac_ext <<EOF |
9928 #line 9929 "configure" | 9949 #line 9950 "configure" |
9929 #include "confdefs.h" | 9950 #include "confdefs.h" |
9930 /* Override any gcc2 internal prototype to avoid an error. */ | 9951 /* Override any gcc2 internal prototype to avoid an error. */ |
9931 /* We use char because int might match the return type of a gcc2 | 9952 /* We use char because int might match the return type of a gcc2 |
9932 builtin and then its argument prototype would still apply. */ | 9953 builtin and then its argument prototype would still apply. */ |
9933 char threeDClassRec(); | 9954 char threeDClassRec(); |
9934 | 9955 |
9935 int main() { | 9956 int main() { |
9936 threeDClassRec() | 9957 threeDClassRec() |
9937 ; return 0; } | 9958 ; return 0; } |
9938 EOF | 9959 EOF |
9939 if { (eval echo configure:9940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9960 if { (eval echo configure:9961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9940 rm -rf conftest* | 9961 rm -rf conftest* |
9941 eval "ac_cv_lib_$ac_lib_var=yes" | 9962 eval "ac_cv_lib_$ac_lib_var=yes" |
9942 else | 9963 else |
9943 echo "configure: failed program was:" >&5 | 9964 echo "configure: failed program was:" >&5 |
9944 cat conftest.$ac_ext >&5 | 9965 cat conftest.$ac_ext >&5 |
9965 fi | 9986 fi |
9966 | 9987 |
9967 if test "$athena_3d" = "no"; then | 9988 if test "$athena_3d" = "no"; then |
9968 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9989 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9969 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9990 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9970 echo "configure:9971: checking for X11/Xaw/ThreeD.h" >&5 | 9991 echo "configure:9992: checking for X11/Xaw/ThreeD.h" >&5 |
9971 | 9992 |
9972 cat > conftest.$ac_ext <<EOF | 9993 cat > conftest.$ac_ext <<EOF |
9973 #line 9974 "configure" | 9994 #line 9995 "configure" |
9974 #include "confdefs.h" | 9995 #include "confdefs.h" |
9975 #include <X11/Xaw/ThreeD.h> | 9996 #include <X11/Xaw/ThreeD.h> |
9976 EOF | 9997 EOF |
9977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9978 { (eval echo configure:9979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9999 { (eval echo configure:10000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9979 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9980 if test -z "$ac_err"; then | 10001 if test -z "$ac_err"; then |
9981 rm -rf conftest* | 10002 rm -rf conftest* |
9982 eval "ac_cv_header_$ac_safe=yes" | 10003 eval "ac_cv_header_$ac_safe=yes" |
9983 else | 10004 else |
9993 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10014 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9994 else | 10015 else |
9995 echo "$ac_t""no" 1>&6 | 10016 echo "$ac_t""no" 1>&6 |
9996 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10017 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9997 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10018 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9998 echo "configure:9999: checking for X11/Xaw/XawInit.h" >&5 | 10019 echo "configure:10020: checking for X11/Xaw/XawInit.h" >&5 |
9999 | 10020 |
10000 cat > conftest.$ac_ext <<EOF | 10021 cat > conftest.$ac_ext <<EOF |
10001 #line 10002 "configure" | 10022 #line 10023 "configure" |
10002 #include "confdefs.h" | 10023 #include "confdefs.h" |
10003 #include <X11/Xaw/XawInit.h> | 10024 #include <X11/Xaw/XawInit.h> |
10004 EOF | 10025 EOF |
10005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10006 { (eval echo configure:10007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10027 { (eval echo configure:10028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10007 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10028 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10008 if test -z "$ac_err"; then | 10029 if test -z "$ac_err"; then |
10009 rm -rf conftest* | 10030 rm -rf conftest* |
10010 eval "ac_cv_header_$ac_safe=yes" | 10031 eval "ac_cv_header_$ac_safe=yes" |
10011 else | 10032 else |
10027 fi | 10048 fi |
10028 | 10049 |
10029 else | 10050 else |
10030 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10051 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10031 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10052 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10032 echo "configure:10033: checking for X11/$athena_variant/XawInit.h" >&5 | 10053 echo "configure:10054: checking for X11/$athena_variant/XawInit.h" >&5 |
10033 | 10054 |
10034 cat > conftest.$ac_ext <<EOF | 10055 cat > conftest.$ac_ext <<EOF |
10035 #line 10036 "configure" | 10056 #line 10057 "configure" |
10036 #include "confdefs.h" | 10057 #include "confdefs.h" |
10037 #include <X11/$athena_variant/XawInit.h> | 10058 #include <X11/$athena_variant/XawInit.h> |
10038 EOF | 10059 EOF |
10039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10040 { (eval echo configure:10041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10061 { (eval echo configure:10062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10042 if test -z "$ac_err"; then | 10063 if test -z "$ac_err"; then |
10043 rm -rf conftest* | 10064 rm -rf conftest* |
10044 eval "ac_cv_header_$ac_safe=yes" | 10065 eval "ac_cv_header_$ac_safe=yes" |
10045 else | 10066 else |
10052 rm -f conftest* | 10073 rm -f conftest* |
10053 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10054 echo "$ac_t""yes" 1>&6 | 10075 echo "$ac_t""yes" 1>&6 |
10055 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10076 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10056 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10077 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10057 echo "configure:10058: checking for X11/$athena_variant/ThreeD.h" >&5 | 10078 echo "configure:10079: checking for X11/$athena_variant/ThreeD.h" >&5 |
10058 | 10079 |
10059 cat > conftest.$ac_ext <<EOF | 10080 cat > conftest.$ac_ext <<EOF |
10060 #line 10061 "configure" | 10081 #line 10082 "configure" |
10061 #include "confdefs.h" | 10082 #include "confdefs.h" |
10062 #include <X11/$athena_variant/ThreeD.h> | 10083 #include <X11/$athena_variant/ThreeD.h> |
10063 EOF | 10084 EOF |
10064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10065 { (eval echo configure:10066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10086 { (eval echo configure:10087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10067 if test -z "$ac_err"; then | 10088 if test -z "$ac_err"; then |
10068 rm -rf conftest* | 10089 rm -rf conftest* |
10069 eval "ac_cv_header_$ac_safe=yes" | 10090 eval "ac_cv_header_$ac_safe=yes" |
10070 else | 10091 else |
10088 | 10109 |
10089 | 10110 |
10090 if test -z "$athena_h_path"; then | 10111 if test -z "$athena_h_path"; then |
10091 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10112 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10092 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10113 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10093 echo "configure:10094: checking for $athena_variant/XawInit.h" >&5 | 10114 echo "configure:10115: checking for $athena_variant/XawInit.h" >&5 |
10094 | 10115 |
10095 cat > conftest.$ac_ext <<EOF | 10116 cat > conftest.$ac_ext <<EOF |
10096 #line 10097 "configure" | 10117 #line 10118 "configure" |
10097 #include "confdefs.h" | 10118 #include "confdefs.h" |
10098 #include <$athena_variant/XawInit.h> | 10119 #include <$athena_variant/XawInit.h> |
10099 EOF | 10120 EOF |
10100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10101 { (eval echo configure:10102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10122 { (eval echo configure:10123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10103 if test -z "$ac_err"; then | 10124 if test -z "$ac_err"; then |
10104 rm -rf conftest* | 10125 rm -rf conftest* |
10105 eval "ac_cv_header_$ac_safe=yes" | 10126 eval "ac_cv_header_$ac_safe=yes" |
10106 else | 10127 else |
10113 rm -f conftest* | 10134 rm -f conftest* |
10114 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10115 echo "$ac_t""yes" 1>&6 | 10136 echo "$ac_t""yes" 1>&6 |
10116 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10137 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10117 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10138 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10118 echo "configure:10119: checking for $athena_variant/ThreeD.h" >&5 | 10139 echo "configure:10140: checking for $athena_variant/ThreeD.h" >&5 |
10119 | 10140 |
10120 cat > conftest.$ac_ext <<EOF | 10141 cat > conftest.$ac_ext <<EOF |
10121 #line 10122 "configure" | 10142 #line 10143 "configure" |
10122 #include "confdefs.h" | 10143 #include "confdefs.h" |
10123 #include <$athena_variant/ThreeD.h> | 10144 #include <$athena_variant/ThreeD.h> |
10124 EOF | 10145 EOF |
10125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10126 { (eval echo configure:10127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10147 { (eval echo configure:10148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10128 if test -z "$ac_err"; then | 10149 if test -z "$ac_err"; then |
10129 rm -rf conftest* | 10150 rm -rf conftest* |
10130 eval "ac_cv_header_$ac_safe=yes" | 10151 eval "ac_cv_header_$ac_safe=yes" |
10131 else | 10152 else |
10150 fi | 10171 fi |
10151 | 10172 |
10152 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10173 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10153 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10174 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10154 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10175 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10155 echo "configure:10156: checking for X11/Xaw3d/XawInit.h" >&5 | 10176 echo "configure:10177: checking for X11/Xaw3d/XawInit.h" >&5 |
10156 | 10177 |
10157 cat > conftest.$ac_ext <<EOF | 10178 cat > conftest.$ac_ext <<EOF |
10158 #line 10159 "configure" | 10179 #line 10180 "configure" |
10159 #include "confdefs.h" | 10180 #include "confdefs.h" |
10160 #include <X11/Xaw3d/XawInit.h> | 10181 #include <X11/Xaw3d/XawInit.h> |
10161 EOF | 10182 EOF |
10162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10163 { (eval echo configure:10164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10184 { (eval echo configure:10185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10164 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10165 if test -z "$ac_err"; then | 10186 if test -z "$ac_err"; then |
10166 rm -rf conftest* | 10187 rm -rf conftest* |
10167 eval "ac_cv_header_$ac_safe=yes" | 10188 eval "ac_cv_header_$ac_safe=yes" |
10168 else | 10189 else |
10175 rm -f conftest* | 10196 rm -f conftest* |
10176 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10197 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10177 echo "$ac_t""yes" 1>&6 | 10198 echo "$ac_t""yes" 1>&6 |
10178 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10199 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10179 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10200 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10180 echo "configure:10181: checking for X11/Xaw3d/ThreeD.h" >&5 | 10201 echo "configure:10202: checking for X11/Xaw3d/ThreeD.h" >&5 |
10181 | 10202 |
10182 cat > conftest.$ac_ext <<EOF | 10203 cat > conftest.$ac_ext <<EOF |
10183 #line 10184 "configure" | 10204 #line 10205 "configure" |
10184 #include "confdefs.h" | 10205 #include "confdefs.h" |
10185 #include <X11/Xaw3d/ThreeD.h> | 10206 #include <X11/Xaw3d/ThreeD.h> |
10186 EOF | 10207 EOF |
10187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10188 { (eval echo configure:10189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10209 { (eval echo configure:10210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10190 if test -z "$ac_err"; then | 10211 if test -z "$ac_err"; then |
10191 rm -rf conftest* | 10212 rm -rf conftest* |
10192 eval "ac_cv_header_$ac_safe=yes" | 10213 eval "ac_cv_header_$ac_safe=yes" |
10193 else | 10214 else |
10215 fi | 10236 fi |
10216 | 10237 |
10217 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10238 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10218 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10239 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10219 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10240 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10220 echo "configure:10221: checking for Xaw3d/XawInit.h" >&5 | 10241 echo "configure:10242: checking for Xaw3d/XawInit.h" >&5 |
10221 | 10242 |
10222 cat > conftest.$ac_ext <<EOF | 10243 cat > conftest.$ac_ext <<EOF |
10223 #line 10224 "configure" | 10244 #line 10245 "configure" |
10224 #include "confdefs.h" | 10245 #include "confdefs.h" |
10225 #include <Xaw3d/XawInit.h> | 10246 #include <Xaw3d/XawInit.h> |
10226 EOF | 10247 EOF |
10227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10228 { (eval echo configure:10229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10249 { (eval echo configure:10250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10230 if test -z "$ac_err"; then | 10251 if test -z "$ac_err"; then |
10231 rm -rf conftest* | 10252 rm -rf conftest* |
10232 eval "ac_cv_header_$ac_safe=yes" | 10253 eval "ac_cv_header_$ac_safe=yes" |
10233 else | 10254 else |
10240 rm -f conftest* | 10261 rm -f conftest* |
10241 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10262 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10242 echo "$ac_t""yes" 1>&6 | 10263 echo "$ac_t""yes" 1>&6 |
10243 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10264 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10244 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10265 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10245 echo "configure:10246: checking for Xaw3d/ThreeD.h" >&5 | 10266 echo "configure:10267: checking for Xaw3d/ThreeD.h" >&5 |
10246 | 10267 |
10247 cat > conftest.$ac_ext <<EOF | 10268 cat > conftest.$ac_ext <<EOF |
10248 #line 10249 "configure" | 10269 #line 10270 "configure" |
10249 #include "confdefs.h" | 10270 #include "confdefs.h" |
10250 #include <Xaw3d/ThreeD.h> | 10271 #include <Xaw3d/ThreeD.h> |
10251 EOF | 10272 EOF |
10252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10253 { (eval echo configure:10254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10274 { (eval echo configure:10275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10255 if test -z "$ac_err"; then | 10276 if test -z "$ac_err"; then |
10256 rm -rf conftest* | 10277 rm -rf conftest* |
10257 eval "ac_cv_header_$ac_safe=yes" | 10278 eval "ac_cv_header_$ac_safe=yes" |
10258 else | 10279 else |
10280 fi | 10301 fi |
10281 | 10302 |
10282 if test -z "$athena_h_path"; then | 10303 if test -z "$athena_h_path"; then |
10283 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10304 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10284 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10305 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10285 echo "configure:10286: checking for X11/Xaw/ThreeD.h" >&5 | 10306 echo "configure:10307: checking for X11/Xaw/ThreeD.h" >&5 |
10286 | 10307 |
10287 cat > conftest.$ac_ext <<EOF | 10308 cat > conftest.$ac_ext <<EOF |
10288 #line 10289 "configure" | 10309 #line 10310 "configure" |
10289 #include "confdefs.h" | 10310 #include "confdefs.h" |
10290 #include <X11/Xaw/ThreeD.h> | 10311 #include <X11/Xaw/ThreeD.h> |
10291 EOF | 10312 EOF |
10292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10293 { (eval echo configure:10294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10314 { (eval echo configure:10315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10295 if test -z "$ac_err"; then | 10316 if test -z "$ac_err"; then |
10296 rm -rf conftest* | 10317 rm -rf conftest* |
10297 eval "ac_cv_header_$ac_safe=yes" | 10318 eval "ac_cv_header_$ac_safe=yes" |
10298 else | 10319 else |
10327 have_xaw=no | 10348 have_xaw=no |
10328 fi | 10349 fi |
10329 if test "$with_x11" = "yes"; then | 10350 if test "$with_x11" = "yes"; then |
10330 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10351 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10331 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10352 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10332 echo "configure:10333: checking for Xm/Xm.h" >&5 | 10353 echo "configure:10354: checking for Xm/Xm.h" >&5 |
10333 | 10354 |
10334 cat > conftest.$ac_ext <<EOF | 10355 cat > conftest.$ac_ext <<EOF |
10335 #line 10336 "configure" | 10356 #line 10357 "configure" |
10336 #include "confdefs.h" | 10357 #include "confdefs.h" |
10337 #include <Xm/Xm.h> | 10358 #include <Xm/Xm.h> |
10338 EOF | 10359 EOF |
10339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10340 { (eval echo configure:10341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10361 { (eval echo configure:10362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10342 if test -z "$ac_err"; then | 10363 if test -z "$ac_err"; then |
10343 rm -rf conftest* | 10364 rm -rf conftest* |
10344 eval "ac_cv_header_$ac_safe=yes" | 10365 eval "ac_cv_header_$ac_safe=yes" |
10345 else | 10366 else |
10352 rm -f conftest* | 10373 rm -f conftest* |
10353 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10374 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10354 echo "$ac_t""yes" 1>&6 | 10375 echo "$ac_t""yes" 1>&6 |
10355 | 10376 |
10356 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10377 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10357 echo "configure:10358: checking for XmStringFree in -lXm" >&5 | 10378 echo "configure:10379: checking for XmStringFree in -lXm" >&5 |
10358 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10379 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10359 | 10380 |
10360 xe_check_libs=" -lXm " | 10381 xe_check_libs=" -lXm " |
10361 cat > conftest.$ac_ext <<EOF | 10382 cat > conftest.$ac_ext <<EOF |
10362 #line 10363 "configure" | 10383 #line 10384 "configure" |
10363 #include "confdefs.h" | 10384 #include "confdefs.h" |
10364 /* Override any gcc2 internal prototype to avoid an error. */ | 10385 /* Override any gcc2 internal prototype to avoid an error. */ |
10365 /* We use char because int might match the return type of a gcc2 | 10386 /* We use char because int might match the return type of a gcc2 |
10366 builtin and then its argument prototype would still apply. */ | 10387 builtin and then its argument prototype would still apply. */ |
10367 char XmStringFree(); | 10388 char XmStringFree(); |
10368 | 10389 |
10369 int main() { | 10390 int main() { |
10370 XmStringFree() | 10391 XmStringFree() |
10371 ; return 0; } | 10392 ; return 0; } |
10372 EOF | 10393 EOF |
10373 if { (eval echo configure:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10394 if { (eval echo configure:10395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10374 rm -rf conftest* | 10395 rm -rf conftest* |
10375 eval "ac_cv_lib_$ac_lib_var=yes" | 10396 eval "ac_cv_lib_$ac_lib_var=yes" |
10376 else | 10397 else |
10377 echo "configure: failed program was:" >&5 | 10398 echo "configure: failed program was:" >&5 |
10378 cat conftest.$ac_ext >&5 | 10399 cat conftest.$ac_ext >&5 |
10397 fi | 10418 fi |
10398 | 10419 |
10399 | 10420 |
10400 if test "$have_motif" = "yes"; then | 10421 if test "$have_motif" = "yes"; then |
10401 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10422 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10402 echo "configure:10403: checking for Lesstif" >&5 | 10423 echo "configure:10424: checking for Lesstif" >&5 |
10403 cat > conftest.$ac_ext <<EOF | 10424 cat > conftest.$ac_ext <<EOF |
10404 #line 10405 "configure" | 10425 #line 10426 "configure" |
10405 #include "confdefs.h" | 10426 #include "confdefs.h" |
10406 #include <Xm/Xm.h> | 10427 #include <Xm/Xm.h> |
10407 #ifdef LESSTIF_VERSION | 10428 #ifdef LESSTIF_VERSION |
10408 yes | 10429 yes |
10409 #endif | 10430 #endif |
10772 | 10793 |
10773 fi | 10794 fi |
10774 | 10795 |
10775 if test "$with_mule" = "yes" ; then | 10796 if test "$with_mule" = "yes" ; then |
10776 echo "checking for Mule-related features" 1>&6 | 10797 echo "checking for Mule-related features" 1>&6 |
10777 echo "configure:10778: checking for Mule-related features" >&5 | 10798 echo "configure:10799: checking for Mule-related features" >&5 |
10778 { test "$extra_verbose" = "yes" && cat << \EOF | 10799 { test "$extra_verbose" = "yes" && cat << \EOF |
10779 Defining MULE | 10800 Defining MULE |
10780 EOF | 10801 EOF |
10781 cat >> confdefs.h <<\EOF | 10802 cat >> confdefs.h <<\EOF |
10782 #define MULE 1 | 10803 #define MULE 1 |
10786 | 10807 |
10787 for ac_hdr in libintl.h | 10808 for ac_hdr in libintl.h |
10788 do | 10809 do |
10789 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10810 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10790 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10811 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10791 echo "configure:10792: checking for $ac_hdr" >&5 | 10812 echo "configure:10813: checking for $ac_hdr" >&5 |
10792 | 10813 |
10793 cat > conftest.$ac_ext <<EOF | 10814 cat > conftest.$ac_ext <<EOF |
10794 #line 10795 "configure" | 10815 #line 10816 "configure" |
10795 #include "confdefs.h" | 10816 #include "confdefs.h" |
10796 #include <$ac_hdr> | 10817 #include <$ac_hdr> |
10797 EOF | 10818 EOF |
10798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10799 { (eval echo configure:10800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10820 { (eval echo configure:10821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10801 if test -z "$ac_err"; then | 10822 if test -z "$ac_err"; then |
10802 rm -rf conftest* | 10823 rm -rf conftest* |
10803 eval "ac_cv_header_$ac_safe=yes" | 10824 eval "ac_cv_header_$ac_safe=yes" |
10804 else | 10825 else |
10825 fi | 10846 fi |
10826 done | 10847 done |
10827 | 10848 |
10828 | 10849 |
10829 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10850 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10830 echo "configure:10831: checking for strerror in -lintl" >&5 | 10851 echo "configure:10852: checking for strerror in -lintl" >&5 |
10831 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10852 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10832 | 10853 |
10833 xe_check_libs=" -lintl " | 10854 xe_check_libs=" -lintl " |
10834 cat > conftest.$ac_ext <<EOF | 10855 cat > conftest.$ac_ext <<EOF |
10835 #line 10836 "configure" | 10856 #line 10857 "configure" |
10836 #include "confdefs.h" | 10857 #include "confdefs.h" |
10837 /* Override any gcc2 internal prototype to avoid an error. */ | 10858 /* Override any gcc2 internal prototype to avoid an error. */ |
10838 /* We use char because int might match the return type of a gcc2 | 10859 /* We use char because int might match the return type of a gcc2 |
10839 builtin and then its argument prototype would still apply. */ | 10860 builtin and then its argument prototype would still apply. */ |
10840 char strerror(); | 10861 char strerror(); |
10841 | 10862 |
10842 int main() { | 10863 int main() { |
10843 strerror() | 10864 strerror() |
10844 ; return 0; } | 10865 ; return 0; } |
10845 EOF | 10866 EOF |
10846 if { (eval echo configure:10847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10867 if { (eval echo configure:10868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10847 rm -rf conftest* | 10868 rm -rf conftest* |
10848 eval "ac_cv_lib_$ac_lib_var=yes" | 10869 eval "ac_cv_lib_$ac_lib_var=yes" |
10849 else | 10870 else |
10850 echo "configure: failed program was:" >&5 | 10871 echo "configure: failed program was:" >&5 |
10851 cat conftest.$ac_ext >&5 | 10872 cat conftest.$ac_ext >&5 |
10874 fi | 10895 fi |
10875 | 10896 |
10876 | 10897 |
10877 | 10898 |
10878 echo "checking for Mule input methods" 1>&6 | 10899 echo "checking for Mule input methods" 1>&6 |
10879 echo "configure:10880: checking for Mule input methods" >&5 | 10900 echo "configure:10901: checking for Mule input methods" >&5 |
10880 case "$with_xim" in "" | "yes" ) | 10901 case "$with_xim" in "" | "yes" ) |
10881 echo "checking for XIM" 1>&6 | 10902 echo "checking for XIM" 1>&6 |
10882 echo "configure:10883: checking for XIM" >&5 | 10903 echo "configure:10904: checking for XIM" >&5 |
10883 | 10904 |
10884 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10905 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10885 echo "configure:10886: checking for XOpenIM in -lX11" >&5 | 10906 echo "configure:10907: checking for XOpenIM in -lX11" >&5 |
10886 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10907 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10887 | 10908 |
10888 xe_check_libs=" -lX11 " | 10909 xe_check_libs=" -lX11 " |
10889 cat > conftest.$ac_ext <<EOF | 10910 cat > conftest.$ac_ext <<EOF |
10890 #line 10891 "configure" | 10911 #line 10912 "configure" |
10891 #include "confdefs.h" | 10912 #include "confdefs.h" |
10892 /* Override any gcc2 internal prototype to avoid an error. */ | 10913 /* Override any gcc2 internal prototype to avoid an error. */ |
10893 /* We use char because int might match the return type of a gcc2 | 10914 /* We use char because int might match the return type of a gcc2 |
10894 builtin and then its argument prototype would still apply. */ | 10915 builtin and then its argument prototype would still apply. */ |
10895 char XOpenIM(); | 10916 char XOpenIM(); |
10896 | 10917 |
10897 int main() { | 10918 int main() { |
10898 XOpenIM() | 10919 XOpenIM() |
10899 ; return 0; } | 10920 ; return 0; } |
10900 EOF | 10921 EOF |
10901 if { (eval echo configure:10902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10922 if { (eval echo configure:10923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10902 rm -rf conftest* | 10923 rm -rf conftest* |
10903 eval "ac_cv_lib_$ac_lib_var=yes" | 10924 eval "ac_cv_lib_$ac_lib_var=yes" |
10904 else | 10925 else |
10905 echo "configure: failed program was:" >&5 | 10926 echo "configure: failed program was:" >&5 |
10906 cat conftest.$ac_ext >&5 | 10927 cat conftest.$ac_ext >&5 |
10920 | 10941 |
10921 | 10942 |
10922 if test "$have_motif $have_lesstif" = "yes no"; then | 10943 if test "$have_motif $have_lesstif" = "yes no"; then |
10923 | 10944 |
10924 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10945 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10925 echo "configure:10926: checking for XmImMbLookupString in -lXm" >&5 | 10946 echo "configure:10947: checking for XmImMbLookupString in -lXm" >&5 |
10926 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10947 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10927 | 10948 |
10928 xe_check_libs=" -lXm " | 10949 xe_check_libs=" -lXm " |
10929 cat > conftest.$ac_ext <<EOF | 10950 cat > conftest.$ac_ext <<EOF |
10930 #line 10931 "configure" | 10951 #line 10952 "configure" |
10931 #include "confdefs.h" | 10952 #include "confdefs.h" |
10932 /* Override any gcc2 internal prototype to avoid an error. */ | 10953 /* Override any gcc2 internal prototype to avoid an error. */ |
10933 /* We use char because int might match the return type of a gcc2 | 10954 /* We use char because int might match the return type of a gcc2 |
10934 builtin and then its argument prototype would still apply. */ | 10955 builtin and then its argument prototype would still apply. */ |
10935 char XmImMbLookupString(); | 10956 char XmImMbLookupString(); |
10936 | 10957 |
10937 int main() { | 10958 int main() { |
10938 XmImMbLookupString() | 10959 XmImMbLookupString() |
10939 ; return 0; } | 10960 ; return 0; } |
10940 EOF | 10961 EOF |
10941 if { (eval echo configure:10942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10962 if { (eval echo configure:10963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10942 rm -rf conftest* | 10963 rm -rf conftest* |
10943 eval "ac_cv_lib_$ac_lib_var=yes" | 10964 eval "ac_cv_lib_$ac_lib_var=yes" |
10944 else | 10965 else |
10945 echo "configure: failed program was:" >&5 | 10966 echo "configure: failed program was:" >&5 |
10946 cat conftest.$ac_ext >&5 | 10967 cat conftest.$ac_ext >&5 |
11001 fi | 11022 fi |
11002 fi | 11023 fi |
11003 | 11024 |
11004 if test "$with_xfs" = "yes" ; then | 11025 if test "$with_xfs" = "yes" ; then |
11005 echo "checking for XFontSet" 1>&6 | 11026 echo "checking for XFontSet" 1>&6 |
11006 echo "configure:11007: checking for XFontSet" >&5 | 11027 echo "configure:11028: checking for XFontSet" >&5 |
11007 | 11028 |
11008 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11029 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11009 echo "configure:11010: checking for XmbDrawString in -lX11" >&5 | 11030 echo "configure:11031: checking for XmbDrawString in -lX11" >&5 |
11010 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11031 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11011 | 11032 |
11012 xe_check_libs=" -lX11 " | 11033 xe_check_libs=" -lX11 " |
11013 cat > conftest.$ac_ext <<EOF | 11034 cat > conftest.$ac_ext <<EOF |
11014 #line 11015 "configure" | 11035 #line 11036 "configure" |
11015 #include "confdefs.h" | 11036 #include "confdefs.h" |
11016 /* Override any gcc2 internal prototype to avoid an error. */ | 11037 /* Override any gcc2 internal prototype to avoid an error. */ |
11017 /* We use char because int might match the return type of a gcc2 | 11038 /* We use char because int might match the return type of a gcc2 |
11018 builtin and then its argument prototype would still apply. */ | 11039 builtin and then its argument prototype would still apply. */ |
11019 char XmbDrawString(); | 11040 char XmbDrawString(); |
11020 | 11041 |
11021 int main() { | 11042 int main() { |
11022 XmbDrawString() | 11043 XmbDrawString() |
11023 ; return 0; } | 11044 ; return 0; } |
11024 EOF | 11045 EOF |
11025 if { (eval echo configure:11026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11026 rm -rf conftest* | 11047 rm -rf conftest* |
11027 eval "ac_cv_lib_$ac_lib_var=yes" | 11048 eval "ac_cv_lib_$ac_lib_var=yes" |
11028 else | 11049 else |
11029 echo "configure: failed program was:" >&5 | 11050 echo "configure: failed program was:" >&5 |
11030 cat conftest.$ac_ext >&5 | 11051 cat conftest.$ac_ext >&5 |
11060 fi | 11081 fi |
11061 fi | 11082 fi |
11062 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11083 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11063 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11084 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11064 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11085 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11065 echo "configure:11066: checking for wnn/jllib.h" >&5 | 11086 echo "configure:11087: checking for wnn/jllib.h" >&5 |
11066 | 11087 |
11067 cat > conftest.$ac_ext <<EOF | 11088 cat > conftest.$ac_ext <<EOF |
11068 #line 11069 "configure" | 11089 #line 11090 "configure" |
11069 #include "confdefs.h" | 11090 #include "confdefs.h" |
11070 #include <wnn/jllib.h> | 11091 #include <wnn/jllib.h> |
11071 EOF | 11092 EOF |
11072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11073 { (eval echo configure:11074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11094 { (eval echo configure:11095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11095 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11075 if test -z "$ac_err"; then | 11096 if test -z "$ac_err"; then |
11076 rm -rf conftest* | 11097 rm -rf conftest* |
11077 eval "ac_cv_header_$ac_safe=yes" | 11098 eval "ac_cv_header_$ac_safe=yes" |
11078 else | 11099 else |
11091 with_wnn=no | 11112 with_wnn=no |
11092 fi | 11113 fi |
11093 } | 11114 } |
11094 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11115 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11095 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11116 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11096 echo "configure:11097: checking for wnn/commonhd.h" >&5 | 11117 echo "configure:11118: checking for wnn/commonhd.h" >&5 |
11097 | 11118 |
11098 cat > conftest.$ac_ext <<EOF | 11119 cat > conftest.$ac_ext <<EOF |
11099 #line 11100 "configure" | 11120 #line 11121 "configure" |
11100 #include "confdefs.h" | 11121 #include "confdefs.h" |
11101 #include <wnn/commonhd.h> | 11122 #include <wnn/commonhd.h> |
11102 EOF | 11123 EOF |
11103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11104 { (eval echo configure:11105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11125 { (eval echo configure:11126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11106 if test -z "$ac_err"; then | 11127 if test -z "$ac_err"; then |
11107 rm -rf conftest* | 11128 rm -rf conftest* |
11108 eval "ac_cv_header_$ac_safe=yes" | 11129 eval "ac_cv_header_$ac_safe=yes" |
11109 else | 11130 else |
11124 } | 11145 } |
11125 if test "$with_wnn" != "no"; then | 11146 if test "$with_wnn" != "no"; then |
11126 for ac_func in crypt | 11147 for ac_func in crypt |
11127 do | 11148 do |
11128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11129 echo "configure:11130: checking for $ac_func" >&5 | 11150 echo "configure:11151: checking for $ac_func" >&5 |
11130 | 11151 |
11131 cat > conftest.$ac_ext <<EOF | 11152 cat > conftest.$ac_ext <<EOF |
11132 #line 11133 "configure" | 11153 #line 11154 "configure" |
11133 #include "confdefs.h" | 11154 #include "confdefs.h" |
11134 /* System header to define __stub macros and hopefully few prototypes, | 11155 /* System header to define __stub macros and hopefully few prototypes, |
11135 which can conflict with char $ac_func(); below. */ | 11156 which can conflict with char $ac_func(); below. */ |
11136 #include <assert.h> | 11157 #include <assert.h> |
11137 /* Override any gcc2 internal prototype to avoid an error. */ | 11158 /* Override any gcc2 internal prototype to avoid an error. */ |
11150 $ac_func(); | 11171 $ac_func(); |
11151 #endif | 11172 #endif |
11152 | 11173 |
11153 ; return 0; } | 11174 ; return 0; } |
11154 EOF | 11175 EOF |
11155 if { (eval echo configure:11156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11176 if { (eval echo configure:11177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11156 rm -rf conftest* | 11177 rm -rf conftest* |
11157 eval "ac_cv_func_$ac_func=yes" | 11178 eval "ac_cv_func_$ac_func=yes" |
11158 else | 11179 else |
11159 echo "configure: failed program was:" >&5 | 11180 echo "configure: failed program was:" >&5 |
11160 cat conftest.$ac_ext >&5 | 11181 cat conftest.$ac_ext >&5 |
11179 fi | 11200 fi |
11180 done | 11201 done |
11181 | 11202 |
11182 test "$ac_cv_func_crypt" != "yes" && { | 11203 test "$ac_cv_func_crypt" != "yes" && { |
11183 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11204 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11184 echo "configure:11185: checking for crypt in -lcrypt" >&5 | 11205 echo "configure:11206: checking for crypt in -lcrypt" >&5 |
11185 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11206 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11186 | 11207 |
11187 xe_check_libs=" -lcrypt " | 11208 xe_check_libs=" -lcrypt " |
11188 cat > conftest.$ac_ext <<EOF | 11209 cat > conftest.$ac_ext <<EOF |
11189 #line 11190 "configure" | 11210 #line 11211 "configure" |
11190 #include "confdefs.h" | 11211 #include "confdefs.h" |
11191 /* Override any gcc2 internal prototype to avoid an error. */ | 11212 /* Override any gcc2 internal prototype to avoid an error. */ |
11192 /* We use char because int might match the return type of a gcc2 | 11213 /* We use char because int might match the return type of a gcc2 |
11193 builtin and then its argument prototype would still apply. */ | 11214 builtin and then its argument prototype would still apply. */ |
11194 char crypt(); | 11215 char crypt(); |
11195 | 11216 |
11196 int main() { | 11217 int main() { |
11197 crypt() | 11218 crypt() |
11198 ; return 0; } | 11219 ; return 0; } |
11199 EOF | 11220 EOF |
11200 if { (eval echo configure:11201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11221 if { (eval echo configure:11222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11201 rm -rf conftest* | 11222 rm -rf conftest* |
11202 eval "ac_cv_lib_$ac_lib_var=yes" | 11223 eval "ac_cv_lib_$ac_lib_var=yes" |
11203 else | 11224 else |
11204 echo "configure: failed program was:" >&5 | 11225 echo "configure: failed program was:" >&5 |
11205 cat conftest.$ac_ext >&5 | 11226 cat conftest.$ac_ext >&5 |
11230 } | 11251 } |
11231 fi | 11252 fi |
11232 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11253 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11233 | 11254 |
11234 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11255 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11235 echo "configure:11236: checking for jl_dic_list_e in -lwnn" >&5 | 11256 echo "configure:11257: checking for jl_dic_list_e in -lwnn" >&5 |
11236 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11257 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11237 | 11258 |
11238 xe_check_libs=" -lwnn " | 11259 xe_check_libs=" -lwnn " |
11239 cat > conftest.$ac_ext <<EOF | 11260 cat > conftest.$ac_ext <<EOF |
11240 #line 11241 "configure" | 11261 #line 11262 "configure" |
11241 #include "confdefs.h" | 11262 #include "confdefs.h" |
11242 /* Override any gcc2 internal prototype to avoid an error. */ | 11263 /* Override any gcc2 internal prototype to avoid an error. */ |
11243 /* We use char because int might match the return type of a gcc2 | 11264 /* We use char because int might match the return type of a gcc2 |
11244 builtin and then its argument prototype would still apply. */ | 11265 builtin and then its argument prototype would still apply. */ |
11245 char jl_dic_list_e(); | 11266 char jl_dic_list_e(); |
11246 | 11267 |
11247 int main() { | 11268 int main() { |
11248 jl_dic_list_e() | 11269 jl_dic_list_e() |
11249 ; return 0; } | 11270 ; return 0; } |
11250 EOF | 11271 EOF |
11251 if { (eval echo configure:11252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11272 if { (eval echo configure:11273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11252 rm -rf conftest* | 11273 rm -rf conftest* |
11253 eval "ac_cv_lib_$ac_lib_var=yes" | 11274 eval "ac_cv_lib_$ac_lib_var=yes" |
11254 else | 11275 else |
11255 echo "configure: failed program was:" >&5 | 11276 echo "configure: failed program was:" >&5 |
11256 cat conftest.$ac_ext >&5 | 11277 cat conftest.$ac_ext >&5 |
11264 echo "$ac_t""yes" 1>&6 | 11285 echo "$ac_t""yes" 1>&6 |
11265 libwnn=wnn | 11286 libwnn=wnn |
11266 else | 11287 else |
11267 echo "$ac_t""no" 1>&6 | 11288 echo "$ac_t""no" 1>&6 |
11268 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11289 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11269 echo "configure:11270: checking for jl_dic_list_e in -lwnn4" >&5 | 11290 echo "configure:11291: checking for jl_dic_list_e in -lwnn4" >&5 |
11270 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11291 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11271 | 11292 |
11272 xe_check_libs=" -lwnn4 " | 11293 xe_check_libs=" -lwnn4 " |
11273 cat > conftest.$ac_ext <<EOF | 11294 cat > conftest.$ac_ext <<EOF |
11274 #line 11275 "configure" | 11295 #line 11296 "configure" |
11275 #include "confdefs.h" | 11296 #include "confdefs.h" |
11276 /* Override any gcc2 internal prototype to avoid an error. */ | 11297 /* Override any gcc2 internal prototype to avoid an error. */ |
11277 /* We use char because int might match the return type of a gcc2 | 11298 /* We use char because int might match the return type of a gcc2 |
11278 builtin and then its argument prototype would still apply. */ | 11299 builtin and then its argument prototype would still apply. */ |
11279 char jl_dic_list_e(); | 11300 char jl_dic_list_e(); |
11280 | 11301 |
11281 int main() { | 11302 int main() { |
11282 jl_dic_list_e() | 11303 jl_dic_list_e() |
11283 ; return 0; } | 11304 ; return 0; } |
11284 EOF | 11305 EOF |
11285 if { (eval echo configure:11286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11306 if { (eval echo configure:11307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11286 rm -rf conftest* | 11307 rm -rf conftest* |
11287 eval "ac_cv_lib_$ac_lib_var=yes" | 11308 eval "ac_cv_lib_$ac_lib_var=yes" |
11288 else | 11309 else |
11289 echo "configure: failed program was:" >&5 | 11310 echo "configure: failed program was:" >&5 |
11290 cat conftest.$ac_ext >&5 | 11311 cat conftest.$ac_ext >&5 |
11298 echo "$ac_t""yes" 1>&6 | 11319 echo "$ac_t""yes" 1>&6 |
11299 libwnn=wnn4 | 11320 libwnn=wnn4 |
11300 else | 11321 else |
11301 echo "$ac_t""no" 1>&6 | 11322 echo "$ac_t""no" 1>&6 |
11302 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11323 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11303 echo "configure:11304: checking for jl_dic_list_e in -lwnn6" >&5 | 11324 echo "configure:11325: checking for jl_dic_list_e in -lwnn6" >&5 |
11304 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11325 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11305 | 11326 |
11306 xe_check_libs=" -lwnn6 " | 11327 xe_check_libs=" -lwnn6 " |
11307 cat > conftest.$ac_ext <<EOF | 11328 cat > conftest.$ac_ext <<EOF |
11308 #line 11309 "configure" | 11329 #line 11330 "configure" |
11309 #include "confdefs.h" | 11330 #include "confdefs.h" |
11310 /* Override any gcc2 internal prototype to avoid an error. */ | 11331 /* Override any gcc2 internal prototype to avoid an error. */ |
11311 /* We use char because int might match the return type of a gcc2 | 11332 /* We use char because int might match the return type of a gcc2 |
11312 builtin and then its argument prototype would still apply. */ | 11333 builtin and then its argument prototype would still apply. */ |
11313 char jl_dic_list_e(); | 11334 char jl_dic_list_e(); |
11314 | 11335 |
11315 int main() { | 11336 int main() { |
11316 jl_dic_list_e() | 11337 jl_dic_list_e() |
11317 ; return 0; } | 11338 ; return 0; } |
11318 EOF | 11339 EOF |
11319 if { (eval echo configure:11320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11340 if { (eval echo configure:11341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11320 rm -rf conftest* | 11341 rm -rf conftest* |
11321 eval "ac_cv_lib_$ac_lib_var=yes" | 11342 eval "ac_cv_lib_$ac_lib_var=yes" |
11322 else | 11343 else |
11323 echo "configure: failed program was:" >&5 | 11344 echo "configure: failed program was:" >&5 |
11324 cat conftest.$ac_ext >&5 | 11345 cat conftest.$ac_ext >&5 |
11332 echo "$ac_t""yes" 1>&6 | 11353 echo "$ac_t""yes" 1>&6 |
11333 libwnn=wnn6 | 11354 libwnn=wnn6 |
11334 else | 11355 else |
11335 echo "$ac_t""no" 1>&6 | 11356 echo "$ac_t""no" 1>&6 |
11336 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11357 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11337 echo "configure:11338: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11358 echo "configure:11359: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11338 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11359 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11339 | 11360 |
11340 xe_check_libs=" -lwnn6_fromsrc " | 11361 xe_check_libs=" -lwnn6_fromsrc " |
11341 cat > conftest.$ac_ext <<EOF | 11362 cat > conftest.$ac_ext <<EOF |
11342 #line 11343 "configure" | 11363 #line 11364 "configure" |
11343 #include "confdefs.h" | 11364 #include "confdefs.h" |
11344 /* Override any gcc2 internal prototype to avoid an error. */ | 11365 /* Override any gcc2 internal prototype to avoid an error. */ |
11345 /* We use char because int might match the return type of a gcc2 | 11366 /* We use char because int might match the return type of a gcc2 |
11346 builtin and then its argument prototype would still apply. */ | 11367 builtin and then its argument prototype would still apply. */ |
11347 char dic_list_e(); | 11368 char dic_list_e(); |
11348 | 11369 |
11349 int main() { | 11370 int main() { |
11350 dic_list_e() | 11371 dic_list_e() |
11351 ; return 0; } | 11372 ; return 0; } |
11352 EOF | 11373 EOF |
11353 if { (eval echo configure:11354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11374 if { (eval echo configure:11375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11354 rm -rf conftest* | 11375 rm -rf conftest* |
11355 eval "ac_cv_lib_$ac_lib_var=yes" | 11376 eval "ac_cv_lib_$ac_lib_var=yes" |
11356 else | 11377 else |
11357 echo "configure: failed program was:" >&5 | 11378 echo "configure: failed program was:" >&5 |
11358 cat conftest.$ac_ext >&5 | 11379 cat conftest.$ac_ext >&5 |
11393 | 11414 |
11394 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11415 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11395 if test "$with_wnn6" != "no"; then | 11416 if test "$with_wnn6" != "no"; then |
11396 | 11417 |
11397 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11418 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11398 echo "configure:11399: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11419 echo "configure:11420: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11399 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11420 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11400 | 11421 |
11401 xe_check_libs=" -l$libwnn " | 11422 xe_check_libs=" -l$libwnn " |
11402 cat > conftest.$ac_ext <<EOF | 11423 cat > conftest.$ac_ext <<EOF |
11403 #line 11404 "configure" | 11424 #line 11425 "configure" |
11404 #include "confdefs.h" | 11425 #include "confdefs.h" |
11405 /* Override any gcc2 internal prototype to avoid an error. */ | 11426 /* Override any gcc2 internal prototype to avoid an error. */ |
11406 /* We use char because int might match the return type of a gcc2 | 11427 /* We use char because int might match the return type of a gcc2 |
11407 builtin and then its argument prototype would still apply. */ | 11428 builtin and then its argument prototype would still apply. */ |
11408 char jl_fi_dic_list(); | 11429 char jl_fi_dic_list(); |
11409 | 11430 |
11410 int main() { | 11431 int main() { |
11411 jl_fi_dic_list() | 11432 jl_fi_dic_list() |
11412 ; return 0; } | 11433 ; return 0; } |
11413 EOF | 11434 EOF |
11414 if { (eval echo configure:11415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11435 if { (eval echo configure:11436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11415 rm -rf conftest* | 11436 rm -rf conftest* |
11416 eval "ac_cv_lib_$ac_lib_var=yes" | 11437 eval "ac_cv_lib_$ac_lib_var=yes" |
11417 else | 11438 else |
11418 echo "configure: failed program was:" >&5 | 11439 echo "configure: failed program was:" >&5 |
11419 cat conftest.$ac_ext >&5 | 11440 cat conftest.$ac_ext >&5 |
11444 | 11465 |
11445 canna_includes_found=no | 11466 canna_includes_found=no |
11446 if test "$with_canna" != "no"; then | 11467 if test "$with_canna" != "no"; then |
11447 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11468 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11448 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11469 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11449 echo "configure:11450: checking for canna/jrkanji.h" >&5 | 11470 echo "configure:11471: checking for canna/jrkanji.h" >&5 |
11450 | 11471 |
11451 cat > conftest.$ac_ext <<EOF | 11472 cat > conftest.$ac_ext <<EOF |
11452 #line 11453 "configure" | 11473 #line 11474 "configure" |
11453 #include "confdefs.h" | 11474 #include "confdefs.h" |
11454 #include <canna/jrkanji.h> | 11475 #include <canna/jrkanji.h> |
11455 EOF | 11476 EOF |
11456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11457 { (eval echo configure:11458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11478 { (eval echo configure:11479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11459 if test -z "$ac_err"; then | 11480 if test -z "$ac_err"; then |
11460 rm -rf conftest* | 11481 rm -rf conftest* |
11461 eval "ac_cv_header_$ac_safe=yes" | 11482 eval "ac_cv_header_$ac_safe=yes" |
11462 else | 11483 else |
11479 -d "/usr/local/canna/include"; then | 11500 -d "/usr/local/canna/include"; then |
11480 save_c_switch_site="$c_switch_site" | 11501 save_c_switch_site="$c_switch_site" |
11481 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11502 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11482 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11503 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11483 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11504 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11484 echo "configure:11485: checking for canna/jrkanji.h" >&5 | 11505 echo "configure:11506: checking for canna/jrkanji.h" >&5 |
11485 | 11506 |
11486 cat > conftest.$ac_ext <<EOF | 11507 cat > conftest.$ac_ext <<EOF |
11487 #line 11488 "configure" | 11508 #line 11509 "configure" |
11488 #include "confdefs.h" | 11509 #include "confdefs.h" |
11489 #include <canna/jrkanji.h> | 11510 #include <canna/jrkanji.h> |
11490 EOF | 11511 EOF |
11491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11492 { (eval echo configure:11493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11513 { (eval echo configure:11514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11494 if test -z "$ac_err"; then | 11515 if test -z "$ac_err"; then |
11495 rm -rf conftest* | 11516 rm -rf conftest* |
11496 eval "ac_cv_header_$ac_safe=yes" | 11517 eval "ac_cv_header_$ac_safe=yes" |
11497 else | 11518 else |
11515 fi | 11536 fi |
11516 fi | 11537 fi |
11517 | 11538 |
11518 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11539 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11519 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11540 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11520 echo "configure:11521: checking for canna/RK.h" >&5 | 11541 echo "configure:11542: checking for canna/RK.h" >&5 |
11521 | 11542 |
11522 cat > conftest.$ac_ext <<EOF | 11543 cat > conftest.$ac_ext <<EOF |
11523 #line 11524 "configure" | 11544 #line 11545 "configure" |
11524 #include "confdefs.h" | 11545 #include "confdefs.h" |
11525 #include <canna/RK.h> | 11546 #include <canna/RK.h> |
11526 EOF | 11547 EOF |
11527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11528 { (eval echo configure:11529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11549 { (eval echo configure:11550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11530 if test -z "$ac_err"; then | 11551 if test -z "$ac_err"; then |
11531 rm -rf conftest* | 11552 rm -rf conftest* |
11532 eval "ac_cv_header_$ac_safe=yes" | 11553 eval "ac_cv_header_$ac_safe=yes" |
11533 else | 11554 else |
11546 with_canna=no | 11567 with_canna=no |
11547 fi | 11568 fi |
11548 } | 11569 } |
11549 test -z "$with_canna" && { | 11570 test -z "$with_canna" && { |
11550 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11571 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11551 echo "configure:11552: checking for RkBgnBun in -lRKC" >&5 | 11572 echo "configure:11573: checking for RkBgnBun in -lRKC" >&5 |
11552 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11573 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11553 | 11574 |
11554 xe_check_libs=" -lRKC " | 11575 xe_check_libs=" -lRKC " |
11555 cat > conftest.$ac_ext <<EOF | 11576 cat > conftest.$ac_ext <<EOF |
11556 #line 11557 "configure" | 11577 #line 11578 "configure" |
11557 #include "confdefs.h" | 11578 #include "confdefs.h" |
11558 /* Override any gcc2 internal prototype to avoid an error. */ | 11579 /* Override any gcc2 internal prototype to avoid an error. */ |
11559 /* We use char because int might match the return type of a gcc2 | 11580 /* We use char because int might match the return type of a gcc2 |
11560 builtin and then its argument prototype would still apply. */ | 11581 builtin and then its argument prototype would still apply. */ |
11561 char RkBgnBun(); | 11582 char RkBgnBun(); |
11562 | 11583 |
11563 int main() { | 11584 int main() { |
11564 RkBgnBun() | 11585 RkBgnBun() |
11565 ; return 0; } | 11586 ; return 0; } |
11566 EOF | 11587 EOF |
11567 if { (eval echo configure:11568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11588 if { (eval echo configure:11589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11568 rm -rf conftest* | 11589 rm -rf conftest* |
11569 eval "ac_cv_lib_$ac_lib_var=yes" | 11590 eval "ac_cv_lib_$ac_lib_var=yes" |
11570 else | 11591 else |
11571 echo "configure: failed program was:" >&5 | 11592 echo "configure: failed program was:" >&5 |
11572 cat conftest.$ac_ext >&5 | 11593 cat conftest.$ac_ext >&5 |
11585 fi | 11606 fi |
11586 | 11607 |
11587 } | 11608 } |
11588 test -z "$with_canna" && { | 11609 test -z "$with_canna" && { |
11589 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11610 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11590 echo "configure:11591: checking for jrKanjiControl in -lcanna" >&5 | 11611 echo "configure:11612: checking for jrKanjiControl in -lcanna" >&5 |
11591 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11612 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11592 | 11613 |
11593 xe_check_libs=" -lcanna " | 11614 xe_check_libs=" -lcanna " |
11594 cat > conftest.$ac_ext <<EOF | 11615 cat > conftest.$ac_ext <<EOF |
11595 #line 11596 "configure" | 11616 #line 11617 "configure" |
11596 #include "confdefs.h" | 11617 #include "confdefs.h" |
11597 /* Override any gcc2 internal prototype to avoid an error. */ | 11618 /* Override any gcc2 internal prototype to avoid an error. */ |
11598 /* We use char because int might match the return type of a gcc2 | 11619 /* We use char because int might match the return type of a gcc2 |
11599 builtin and then its argument prototype would still apply. */ | 11620 builtin and then its argument prototype would still apply. */ |
11600 char jrKanjiControl(); | 11621 char jrKanjiControl(); |
11601 | 11622 |
11602 int main() { | 11623 int main() { |
11603 jrKanjiControl() | 11624 jrKanjiControl() |
11604 ; return 0; } | 11625 ; return 0; } |
11605 EOF | 11626 EOF |
11606 if { (eval echo configure:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11627 if { (eval echo configure:11628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11607 rm -rf conftest* | 11628 rm -rf conftest* |
11608 eval "ac_cv_lib_$ac_lib_var=yes" | 11629 eval "ac_cv_lib_$ac_lib_var=yes" |
11609 else | 11630 else |
11610 echo "configure: failed program was:" >&5 | 11631 echo "configure: failed program was:" >&5 |
11611 cat conftest.$ac_ext >&5 | 11632 cat conftest.$ac_ext >&5 |
11647 | 11668 |
11648 if test "$need_motif" = "yes" ; then | 11669 if test "$need_motif" = "yes" ; then |
11649 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11670 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11650 | 11671 |
11651 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11672 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11652 echo "configure:11653: checking for layout_object_getvalue in -li18n" >&5 | 11673 echo "configure:11674: checking for layout_object_getvalue in -li18n" >&5 |
11653 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11674 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11654 | 11675 |
11655 xe_check_libs=" -li18n " | 11676 xe_check_libs=" -li18n " |
11656 cat > conftest.$ac_ext <<EOF | 11677 cat > conftest.$ac_ext <<EOF |
11657 #line 11658 "configure" | 11678 #line 11679 "configure" |
11658 #include "confdefs.h" | 11679 #include "confdefs.h" |
11659 /* Override any gcc2 internal prototype to avoid an error. */ | 11680 /* Override any gcc2 internal prototype to avoid an error. */ |
11660 /* We use char because int might match the return type of a gcc2 | 11681 /* We use char because int might match the return type of a gcc2 |
11661 builtin and then its argument prototype would still apply. */ | 11682 builtin and then its argument prototype would still apply. */ |
11662 char layout_object_getvalue(); | 11683 char layout_object_getvalue(); |
11663 | 11684 |
11664 int main() { | 11685 int main() { |
11665 layout_object_getvalue() | 11686 layout_object_getvalue() |
11666 ; return 0; } | 11687 ; return 0; } |
11667 EOF | 11688 EOF |
11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11689 if { (eval echo configure:11690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11669 rm -rf conftest* | 11690 rm -rf conftest* |
11670 eval "ac_cv_lib_$ac_lib_var=yes" | 11691 eval "ac_cv_lib_$ac_lib_var=yes" |
11671 else | 11692 else |
11672 echo "configure: failed program was:" >&5 | 11693 echo "configure: failed program was:" >&5 |
11673 cat conftest.$ac_ext >&5 | 11694 cat conftest.$ac_ext >&5 |
11750 | 11771 |
11751 | 11772 |
11752 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11773 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11753 do | 11774 do |
11754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11755 echo "configure:11756: checking for $ac_func" >&5 | 11776 echo "configure:11777: checking for $ac_func" >&5 |
11756 | 11777 |
11757 cat > conftest.$ac_ext <<EOF | 11778 cat > conftest.$ac_ext <<EOF |
11758 #line 11759 "configure" | 11779 #line 11780 "configure" |
11759 #include "confdefs.h" | 11780 #include "confdefs.h" |
11760 /* System header to define __stub macros and hopefully few prototypes, | 11781 /* System header to define __stub macros and hopefully few prototypes, |
11761 which can conflict with char $ac_func(); below. */ | 11782 which can conflict with char $ac_func(); below. */ |
11762 #include <assert.h> | 11783 #include <assert.h> |
11763 /* Override any gcc2 internal prototype to avoid an error. */ | 11784 /* Override any gcc2 internal prototype to avoid an error. */ |
11776 $ac_func(); | 11797 $ac_func(); |
11777 #endif | 11798 #endif |
11778 | 11799 |
11779 ; return 0; } | 11800 ; return 0; } |
11780 EOF | 11801 EOF |
11781 if { (eval echo configure:11782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11802 if { (eval echo configure:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11782 rm -rf conftest* | 11803 rm -rf conftest* |
11783 eval "ac_cv_func_$ac_func=yes" | 11804 eval "ac_cv_func_$ac_func=yes" |
11784 else | 11805 else |
11785 echo "configure: failed program was:" >&5 | 11806 echo "configure: failed program was:" >&5 |
11786 cat conftest.$ac_ext >&5 | 11807 cat conftest.$ac_ext >&5 |
11817 | 11838 |
11818 | 11839 |
11819 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11840 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11820 do | 11841 do |
11821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11822 echo "configure:11823: checking for $ac_func" >&5 | 11843 echo "configure:11844: checking for $ac_func" >&5 |
11823 | 11844 |
11824 cat > conftest.$ac_ext <<EOF | 11845 cat > conftest.$ac_ext <<EOF |
11825 #line 11826 "configure" | 11846 #line 11847 "configure" |
11826 #include "confdefs.h" | 11847 #include "confdefs.h" |
11827 /* System header to define __stub macros and hopefully few prototypes, | 11848 /* System header to define __stub macros and hopefully few prototypes, |
11828 which can conflict with char $ac_func(); below. */ | 11849 which can conflict with char $ac_func(); below. */ |
11829 #include <assert.h> | 11850 #include <assert.h> |
11830 /* Override any gcc2 internal prototype to avoid an error. */ | 11851 /* Override any gcc2 internal prototype to avoid an error. */ |
11843 $ac_func(); | 11864 $ac_func(); |
11844 #endif | 11865 #endif |
11845 | 11866 |
11846 ; return 0; } | 11867 ; return 0; } |
11847 EOF | 11868 EOF |
11848 if { (eval echo configure:11849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11869 if { (eval echo configure:11870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11849 rm -rf conftest* | 11870 rm -rf conftest* |
11850 eval "ac_cv_func_$ac_func=yes" | 11871 eval "ac_cv_func_$ac_func=yes" |
11851 else | 11872 else |
11852 echo "configure: failed program was:" >&5 | 11873 echo "configure: failed program was:" >&5 |
11853 cat conftest.$ac_ext >&5 | 11874 cat conftest.$ac_ext >&5 |
11872 fi | 11893 fi |
11873 done | 11894 done |
11874 | 11895 |
11875 | 11896 |
11876 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11897 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11877 echo "configure:11878: checking for openpty" >&5 | 11898 echo "configure:11899: checking for openpty" >&5 |
11878 | 11899 |
11879 cat > conftest.$ac_ext <<EOF | 11900 cat > conftest.$ac_ext <<EOF |
11880 #line 11881 "configure" | 11901 #line 11902 "configure" |
11881 #include "confdefs.h" | 11902 #include "confdefs.h" |
11882 /* System header to define __stub macros and hopefully few prototypes, | 11903 /* System header to define __stub macros and hopefully few prototypes, |
11883 which can conflict with char openpty(); below. */ | 11904 which can conflict with char openpty(); below. */ |
11884 #include <assert.h> | 11905 #include <assert.h> |
11885 /* Override any gcc2 internal prototype to avoid an error. */ | 11906 /* Override any gcc2 internal prototype to avoid an error. */ |
11898 openpty(); | 11919 openpty(); |
11899 #endif | 11920 #endif |
11900 | 11921 |
11901 ; return 0; } | 11922 ; return 0; } |
11902 EOF | 11923 EOF |
11903 if { (eval echo configure:11904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11924 if { (eval echo configure:11925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11904 rm -rf conftest* | 11925 rm -rf conftest* |
11905 eval "ac_cv_func_openpty=yes" | 11926 eval "ac_cv_func_openpty=yes" |
11906 else | 11927 else |
11907 echo "configure: failed program was:" >&5 | 11928 echo "configure: failed program was:" >&5 |
11908 cat conftest.$ac_ext >&5 | 11929 cat conftest.$ac_ext >&5 |
11917 else | 11938 else |
11918 echo "$ac_t""no" 1>&6 | 11939 echo "$ac_t""no" 1>&6 |
11919 | 11940 |
11920 | 11941 |
11921 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11942 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11922 echo "configure:11923: checking for openpty in -lutil" >&5 | 11943 echo "configure:11944: checking for openpty in -lutil" >&5 |
11923 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11944 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11924 | 11945 |
11925 xe_check_libs=" -lutil " | 11946 xe_check_libs=" -lutil " |
11926 cat > conftest.$ac_ext <<EOF | 11947 cat > conftest.$ac_ext <<EOF |
11927 #line 11928 "configure" | 11948 #line 11949 "configure" |
11928 #include "confdefs.h" | 11949 #include "confdefs.h" |
11929 /* Override any gcc2 internal prototype to avoid an error. */ | 11950 /* Override any gcc2 internal prototype to avoid an error. */ |
11930 /* We use char because int might match the return type of a gcc2 | 11951 /* We use char because int might match the return type of a gcc2 |
11931 builtin and then its argument prototype would still apply. */ | 11952 builtin and then its argument prototype would still apply. */ |
11932 char openpty(); | 11953 char openpty(); |
11933 | 11954 |
11934 int main() { | 11955 int main() { |
11935 openpty() | 11956 openpty() |
11936 ; return 0; } | 11957 ; return 0; } |
11937 EOF | 11958 EOF |
11938 if { (eval echo configure:11939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11959 if { (eval echo configure:11960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11939 rm -rf conftest* | 11960 rm -rf conftest* |
11940 eval "ac_cv_lib_$ac_lib_var=yes" | 11961 eval "ac_cv_lib_$ac_lib_var=yes" |
11941 else | 11962 else |
11942 echo "configure: failed program was:" >&5 | 11963 echo "configure: failed program was:" >&5 |
11943 cat conftest.$ac_ext >&5 | 11964 cat conftest.$ac_ext >&5 |
11968 | 11989 |
11969 for ac_hdr in libutil.h util.h | 11990 for ac_hdr in libutil.h util.h |
11970 do | 11991 do |
11971 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11992 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11972 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11993 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11973 echo "configure:11974: checking for $ac_hdr" >&5 | 11994 echo "configure:11995: checking for $ac_hdr" >&5 |
11974 | 11995 |
11975 cat > conftest.$ac_ext <<EOF | 11996 cat > conftest.$ac_ext <<EOF |
11976 #line 11977 "configure" | 11997 #line 11998 "configure" |
11977 #include "confdefs.h" | 11998 #include "confdefs.h" |
11978 #include <$ac_hdr> | 11999 #include <$ac_hdr> |
11979 EOF | 12000 EOF |
11980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11981 { (eval echo configure:11982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12002 { (eval echo configure:12003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11983 if test -z "$ac_err"; then | 12004 if test -z "$ac_err"; then |
11984 rm -rf conftest* | 12005 rm -rf conftest* |
11985 eval "ac_cv_header_$ac_safe=yes" | 12006 eval "ac_cv_header_$ac_safe=yes" |
11986 else | 12007 else |
12013 case "$opsys" in | 12034 case "$opsys" in |
12014 hpux*) for ac_hdr in sys/ptyio.h | 12035 hpux*) for ac_hdr in sys/ptyio.h |
12015 do | 12036 do |
12016 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12037 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12017 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12038 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12018 echo "configure:12019: checking for $ac_hdr" >&5 | 12039 echo "configure:12040: checking for $ac_hdr" >&5 |
12019 | 12040 |
12020 cat > conftest.$ac_ext <<EOF | 12041 cat > conftest.$ac_ext <<EOF |
12021 #line 12022 "configure" | 12042 #line 12043 "configure" |
12022 #include "confdefs.h" | 12043 #include "confdefs.h" |
12023 #include <$ac_hdr> | 12044 #include <$ac_hdr> |
12024 EOF | 12045 EOF |
12025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12026 { (eval echo configure:12027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12047 { (eval echo configure:12048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12028 if test -z "$ac_err"; then | 12049 if test -z "$ac_err"; then |
12029 rm -rf conftest* | 12050 rm -rf conftest* |
12030 eval "ac_cv_header_$ac_safe=yes" | 12051 eval "ac_cv_header_$ac_safe=yes" |
12031 else | 12052 else |
12054 ;; | 12075 ;; |
12055 *) for ac_hdr in pty.h | 12076 *) for ac_hdr in pty.h |
12056 do | 12077 do |
12057 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12078 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12058 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12079 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12059 echo "configure:12060: checking for $ac_hdr" >&5 | 12080 echo "configure:12081: checking for $ac_hdr" >&5 |
12060 | 12081 |
12061 cat > conftest.$ac_ext <<EOF | 12082 cat > conftest.$ac_ext <<EOF |
12062 #line 12063 "configure" | 12083 #line 12084 "configure" |
12063 #include "confdefs.h" | 12084 #include "confdefs.h" |
12064 #include <$ac_hdr> | 12085 #include <$ac_hdr> |
12065 EOF | 12086 EOF |
12066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12067 { (eval echo configure:12068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12088 { (eval echo configure:12089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12068 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12069 if test -z "$ac_err"; then | 12090 if test -z "$ac_err"; then |
12070 rm -rf conftest* | 12091 rm -rf conftest* |
12071 eval "ac_cv_header_$ac_safe=yes" | 12092 eval "ac_cv_header_$ac_safe=yes" |
12072 else | 12093 else |
12095 | 12116 |
12096 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12117 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12097 do | 12118 do |
12098 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12119 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12099 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12120 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12100 echo "configure:12101: checking for $ac_hdr" >&5 | 12121 echo "configure:12122: checking for $ac_hdr" >&5 |
12101 | 12122 |
12102 cat > conftest.$ac_ext <<EOF | 12123 cat > conftest.$ac_ext <<EOF |
12103 #line 12104 "configure" | 12124 #line 12125 "configure" |
12104 #include "confdefs.h" | 12125 #include "confdefs.h" |
12105 #include <$ac_hdr> | 12126 #include <$ac_hdr> |
12106 EOF | 12127 EOF |
12107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12108 { (eval echo configure:12109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12129 { (eval echo configure:12130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12110 if test -z "$ac_err"; then | 12131 if test -z "$ac_err"; then |
12111 rm -rf conftest* | 12132 rm -rf conftest* |
12112 eval "ac_cv_header_$ac_safe=yes" | 12133 eval "ac_cv_header_$ac_safe=yes" |
12113 else | 12134 else |
12139 | 12160 |
12140 for ac_hdr in stropts.h | 12161 for ac_hdr in stropts.h |
12141 do | 12162 do |
12142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12163 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12164 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12144 echo "configure:12145: checking for $ac_hdr" >&5 | 12165 echo "configure:12166: checking for $ac_hdr" >&5 |
12145 | 12166 |
12146 cat > conftest.$ac_ext <<EOF | 12167 cat > conftest.$ac_ext <<EOF |
12147 #line 12148 "configure" | 12168 #line 12169 "configure" |
12148 #include "confdefs.h" | 12169 #include "confdefs.h" |
12149 #include <$ac_hdr> | 12170 #include <$ac_hdr> |
12150 EOF | 12171 EOF |
12151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12152 { (eval echo configure:12153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12173 { (eval echo configure:12174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12154 if test -z "$ac_err"; then | 12175 if test -z "$ac_err"; then |
12155 rm -rf conftest* | 12176 rm -rf conftest* |
12156 eval "ac_cv_header_$ac_safe=yes" | 12177 eval "ac_cv_header_$ac_safe=yes" |
12157 else | 12178 else |
12180 | 12201 |
12181 if test "$ac_cv_header_stropts_h" = "yes"; then | 12202 if test "$ac_cv_header_stropts_h" = "yes"; then |
12182 for ac_func in isastream | 12203 for ac_func in isastream |
12183 do | 12204 do |
12184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12185 echo "configure:12186: checking for $ac_func" >&5 | 12206 echo "configure:12207: checking for $ac_func" >&5 |
12186 | 12207 |
12187 cat > conftest.$ac_ext <<EOF | 12208 cat > conftest.$ac_ext <<EOF |
12188 #line 12189 "configure" | 12209 #line 12210 "configure" |
12189 #include "confdefs.h" | 12210 #include "confdefs.h" |
12190 /* System header to define __stub macros and hopefully few prototypes, | 12211 /* System header to define __stub macros and hopefully few prototypes, |
12191 which can conflict with char $ac_func(); below. */ | 12212 which can conflict with char $ac_func(); below. */ |
12192 #include <assert.h> | 12213 #include <assert.h> |
12193 /* Override any gcc2 internal prototype to avoid an error. */ | 12214 /* Override any gcc2 internal prototype to avoid an error. */ |
12206 $ac_func(); | 12227 $ac_func(); |
12207 #endif | 12228 #endif |
12208 | 12229 |
12209 ; return 0; } | 12230 ; return 0; } |
12210 EOF | 12231 EOF |
12211 if { (eval echo configure:12212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12232 if { (eval echo configure:12233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12212 rm -rf conftest* | 12233 rm -rf conftest* |
12213 eval "ac_cv_func_$ac_func=yes" | 12234 eval "ac_cv_func_$ac_func=yes" |
12214 else | 12235 else |
12215 echo "configure: failed program was:" >&5 | 12236 echo "configure: failed program was:" >&5 |
12216 cat conftest.$ac_ext >&5 | 12237 cat conftest.$ac_ext >&5 |
12237 | 12258 |
12238 for ac_hdr in strtio.h | 12259 for ac_hdr in strtio.h |
12239 do | 12260 do |
12240 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12261 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12241 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12262 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12242 echo "configure:12243: checking for $ac_hdr" >&5 | 12263 echo "configure:12264: checking for $ac_hdr" >&5 |
12243 | 12264 |
12244 cat > conftest.$ac_ext <<EOF | 12265 cat > conftest.$ac_ext <<EOF |
12245 #line 12246 "configure" | 12266 #line 12267 "configure" |
12246 #include "confdefs.h" | 12267 #include "confdefs.h" |
12247 #include <$ac_hdr> | 12268 #include <$ac_hdr> |
12248 EOF | 12269 EOF |
12249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12250 { (eval echo configure:12251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12271 { (eval echo configure:12272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12252 if test -z "$ac_err"; then | 12273 if test -z "$ac_err"; then |
12253 rm -rf conftest* | 12274 rm -rf conftest* |
12254 eval "ac_cv_header_$ac_safe=yes" | 12275 eval "ac_cv_header_$ac_safe=yes" |
12255 else | 12276 else |
12278 fi | 12299 fi |
12279 | 12300 |
12280 for ac_func in getloadavg | 12301 for ac_func in getloadavg |
12281 do | 12302 do |
12282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12283 echo "configure:12284: checking for $ac_func" >&5 | 12304 echo "configure:12305: checking for $ac_func" >&5 |
12284 | 12305 |
12285 cat > conftest.$ac_ext <<EOF | 12306 cat > conftest.$ac_ext <<EOF |
12286 #line 12287 "configure" | 12307 #line 12308 "configure" |
12287 #include "confdefs.h" | 12308 #include "confdefs.h" |
12288 /* System header to define __stub macros and hopefully few prototypes, | 12309 /* System header to define __stub macros and hopefully few prototypes, |
12289 which can conflict with char $ac_func(); below. */ | 12310 which can conflict with char $ac_func(); below. */ |
12290 #include <assert.h> | 12311 #include <assert.h> |
12291 /* Override any gcc2 internal prototype to avoid an error. */ | 12312 /* Override any gcc2 internal prototype to avoid an error. */ |
12304 $ac_func(); | 12325 $ac_func(); |
12305 #endif | 12326 #endif |
12306 | 12327 |
12307 ; return 0; } | 12328 ; return 0; } |
12308 EOF | 12329 EOF |
12309 if { (eval echo configure:12310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12330 if { (eval echo configure:12331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12310 rm -rf conftest* | 12331 rm -rf conftest* |
12311 eval "ac_cv_func_$ac_func=yes" | 12332 eval "ac_cv_func_$ac_func=yes" |
12312 else | 12333 else |
12313 echo "configure: failed program was:" >&5 | 12334 echo "configure: failed program was:" >&5 |
12314 cat conftest.$ac_ext >&5 | 12335 cat conftest.$ac_ext >&5 |
12337 if test "$ac_cv_func_getloadavg" = "yes"; then | 12358 if test "$ac_cv_func_getloadavg" = "yes"; then |
12338 for ac_hdr in sys/loadavg.h | 12359 for ac_hdr in sys/loadavg.h |
12339 do | 12360 do |
12340 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12361 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12341 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12342 echo "configure:12343: checking for $ac_hdr" >&5 | 12363 echo "configure:12364: checking for $ac_hdr" >&5 |
12343 | 12364 |
12344 cat > conftest.$ac_ext <<EOF | 12365 cat > conftest.$ac_ext <<EOF |
12345 #line 12346 "configure" | 12366 #line 12367 "configure" |
12346 #include "confdefs.h" | 12367 #include "confdefs.h" |
12347 #include <$ac_hdr> | 12368 #include <$ac_hdr> |
12348 EOF | 12369 EOF |
12349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12350 { (eval echo configure:12351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12371 { (eval echo configure:12372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12352 if test -z "$ac_err"; then | 12373 if test -z "$ac_err"; then |
12353 rm -rf conftest* | 12374 rm -rf conftest* |
12354 eval "ac_cv_header_$ac_safe=yes" | 12375 eval "ac_cv_header_$ac_safe=yes" |
12355 else | 12376 else |
12381 echo " xemacs will be linked with \"getloadavg.o\"" | 12402 echo " xemacs will be linked with \"getloadavg.o\"" |
12382 fi | 12403 fi |
12383 | 12404 |
12384 | 12405 |
12385 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12406 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12386 echo "configure:12387: checking for kstat_open in -lkstat" >&5 | 12407 echo "configure:12408: checking for kstat_open in -lkstat" >&5 |
12387 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12408 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12388 | 12409 |
12389 xe_check_libs=" -lkstat " | 12410 xe_check_libs=" -lkstat " |
12390 cat > conftest.$ac_ext <<EOF | 12411 cat > conftest.$ac_ext <<EOF |
12391 #line 12392 "configure" | 12412 #line 12413 "configure" |
12392 #include "confdefs.h" | 12413 #include "confdefs.h" |
12393 /* Override any gcc2 internal prototype to avoid an error. */ | 12414 /* Override any gcc2 internal prototype to avoid an error. */ |
12394 /* We use char because int might match the return type of a gcc2 | 12415 /* We use char because int might match the return type of a gcc2 |
12395 builtin and then its argument prototype would still apply. */ | 12416 builtin and then its argument prototype would still apply. */ |
12396 char kstat_open(); | 12417 char kstat_open(); |
12397 | 12418 |
12398 int main() { | 12419 int main() { |
12399 kstat_open() | 12420 kstat_open() |
12400 ; return 0; } | 12421 ; return 0; } |
12401 EOF | 12422 EOF |
12402 if { (eval echo configure:12403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12423 if { (eval echo configure:12424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12403 rm -rf conftest* | 12424 rm -rf conftest* |
12404 eval "ac_cv_lib_$ac_lib_var=yes" | 12425 eval "ac_cv_lib_$ac_lib_var=yes" |
12405 else | 12426 else |
12406 echo "configure: failed program was:" >&5 | 12427 echo "configure: failed program was:" >&5 |
12407 cat conftest.$ac_ext >&5 | 12428 cat conftest.$ac_ext >&5 |
12432 | 12453 |
12433 for ac_hdr in kstat.h | 12454 for ac_hdr in kstat.h |
12434 do | 12455 do |
12435 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12456 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12436 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12437 echo "configure:12438: checking for $ac_hdr" >&5 | 12458 echo "configure:12459: checking for $ac_hdr" >&5 |
12438 | 12459 |
12439 cat > conftest.$ac_ext <<EOF | 12460 cat > conftest.$ac_ext <<EOF |
12440 #line 12441 "configure" | 12461 #line 12462 "configure" |
12441 #include "confdefs.h" | 12462 #include "confdefs.h" |
12442 #include <$ac_hdr> | 12463 #include <$ac_hdr> |
12443 EOF | 12464 EOF |
12444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12445 { (eval echo configure:12446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12466 { (eval echo configure:12467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12447 if test -z "$ac_err"; then | 12468 if test -z "$ac_err"; then |
12448 rm -rf conftest* | 12469 rm -rf conftest* |
12449 eval "ac_cv_header_$ac_safe=yes" | 12470 eval "ac_cv_header_$ac_safe=yes" |
12450 else | 12471 else |
12472 done | 12493 done |
12473 | 12494 |
12474 | 12495 |
12475 | 12496 |
12476 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12497 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12477 echo "configure:12478: checking for kvm_read in -lkvm" >&5 | 12498 echo "configure:12499: checking for kvm_read in -lkvm" >&5 |
12478 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12499 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12479 | 12500 |
12480 xe_check_libs=" -lkvm " | 12501 xe_check_libs=" -lkvm " |
12481 cat > conftest.$ac_ext <<EOF | 12502 cat > conftest.$ac_ext <<EOF |
12482 #line 12483 "configure" | 12503 #line 12504 "configure" |
12483 #include "confdefs.h" | 12504 #include "confdefs.h" |
12484 /* Override any gcc2 internal prototype to avoid an error. */ | 12505 /* Override any gcc2 internal prototype to avoid an error. */ |
12485 /* We use char because int might match the return type of a gcc2 | 12506 /* We use char because int might match the return type of a gcc2 |
12486 builtin and then its argument prototype would still apply. */ | 12507 builtin and then its argument prototype would still apply. */ |
12487 char kvm_read(); | 12508 char kvm_read(); |
12488 | 12509 |
12489 int main() { | 12510 int main() { |
12490 kvm_read() | 12511 kvm_read() |
12491 ; return 0; } | 12512 ; return 0; } |
12492 EOF | 12513 EOF |
12493 if { (eval echo configure:12494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12514 if { (eval echo configure:12515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12494 rm -rf conftest* | 12515 rm -rf conftest* |
12495 eval "ac_cv_lib_$ac_lib_var=yes" | 12516 eval "ac_cv_lib_$ac_lib_var=yes" |
12496 else | 12517 else |
12497 echo "configure: failed program was:" >&5 | 12518 echo "configure: failed program was:" >&5 |
12498 cat conftest.$ac_ext >&5 | 12519 cat conftest.$ac_ext >&5 |
12522 | 12543 |
12523 | 12544 |
12524 fi | 12545 fi |
12525 | 12546 |
12526 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12547 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12527 echo "configure:12528: checking whether netdb declares h_errno" >&5 | 12548 echo "configure:12549: checking whether netdb declares h_errno" >&5 |
12528 cat > conftest.$ac_ext <<EOF | 12549 cat > conftest.$ac_ext <<EOF |
12529 #line 12530 "configure" | 12550 #line 12551 "configure" |
12530 #include "confdefs.h" | 12551 #include "confdefs.h" |
12531 #include <netdb.h> | 12552 #include <netdb.h> |
12532 int main() { | 12553 int main() { |
12533 return h_errno; | 12554 return h_errno; |
12534 ; return 0; } | 12555 ; return 0; } |
12535 EOF | 12556 EOF |
12536 if { (eval echo configure:12537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12557 if { (eval echo configure:12558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12537 rm -rf conftest* | 12558 rm -rf conftest* |
12538 echo "$ac_t""yes" 1>&6 | 12559 echo "$ac_t""yes" 1>&6 |
12539 { test "$extra_verbose" = "yes" && cat << \EOF | 12560 { test "$extra_verbose" = "yes" && cat << \EOF |
12540 Defining HAVE_H_ERRNO | 12561 Defining HAVE_H_ERRNO |
12541 EOF | 12562 EOF |
12551 echo "$ac_t""no" 1>&6 | 12572 echo "$ac_t""no" 1>&6 |
12552 fi | 12573 fi |
12553 rm -f conftest* | 12574 rm -f conftest* |
12554 | 12575 |
12555 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12576 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12556 echo "configure:12557: checking for sigsetjmp" >&5 | 12577 echo "configure:12578: checking for sigsetjmp" >&5 |
12557 cat > conftest.$ac_ext <<EOF | 12578 cat > conftest.$ac_ext <<EOF |
12558 #line 12559 "configure" | 12579 #line 12580 "configure" |
12559 #include "confdefs.h" | 12580 #include "confdefs.h" |
12560 #include <setjmp.h> | 12581 #include <setjmp.h> |
12561 int main() { | 12582 int main() { |
12562 sigjmp_buf bar; sigsetjmp (bar, 0); | 12583 sigjmp_buf bar; sigsetjmp (bar, 0); |
12563 ; return 0; } | 12584 ; return 0; } |
12564 EOF | 12585 EOF |
12565 if { (eval echo configure:12566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12586 if { (eval echo configure:12587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12566 rm -rf conftest* | 12587 rm -rf conftest* |
12567 echo "$ac_t""yes" 1>&6 | 12588 echo "$ac_t""yes" 1>&6 |
12568 { test "$extra_verbose" = "yes" && cat << \EOF | 12589 { test "$extra_verbose" = "yes" && cat << \EOF |
12569 Defining HAVE_SIGSETJMP | 12590 Defining HAVE_SIGSETJMP |
12570 EOF | 12591 EOF |
12580 echo "$ac_t""no" 1>&6 | 12601 echo "$ac_t""no" 1>&6 |
12581 fi | 12602 fi |
12582 rm -f conftest* | 12603 rm -f conftest* |
12583 | 12604 |
12584 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12605 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12585 echo "configure:12586: checking whether localtime caches TZ" >&5 | 12606 echo "configure:12607: checking whether localtime caches TZ" >&5 |
12586 | 12607 |
12587 if test "$ac_cv_func_tzset" = "yes"; then | 12608 if test "$ac_cv_func_tzset" = "yes"; then |
12588 cat > conftest.$ac_ext <<EOF | 12609 cat > conftest.$ac_ext <<EOF |
12589 #line 12590 "configure" | 12610 #line 12611 "configure" |
12590 #include "confdefs.h" | 12611 #include "confdefs.h" |
12591 #include <time.h> | 12612 #include <time.h> |
12592 #if STDC_HEADERS | 12613 #if STDC_HEADERS |
12593 # include <stdlib.h> | 12614 # include <stdlib.h> |
12594 #endif | 12615 #endif |
12619 if (localtime (&now)->tm_hour != hour_unset) | 12640 if (localtime (&now)->tm_hour != hour_unset) |
12620 exit (1); | 12641 exit (1); |
12621 exit (0); | 12642 exit (0); |
12622 } | 12643 } |
12623 EOF | 12644 EOF |
12624 if { (eval echo configure:12625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12645 if { (eval echo configure:12646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12625 then | 12646 then |
12626 emacs_cv_localtime_cache=no | 12647 emacs_cv_localtime_cache=no |
12627 else | 12648 else |
12628 conftest_rc="$?" | 12649 conftest_rc="$?" |
12629 echo "configure: failed program was:" >&5 | 12650 echo "configure: failed program was:" >&5 |
12649 | 12670 |
12650 fi | 12671 fi |
12651 | 12672 |
12652 if test "$HAVE_TIMEVAL" = "yes"; then | 12673 if test "$HAVE_TIMEVAL" = "yes"; then |
12653 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12674 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12654 echo "configure:12655: checking whether gettimeofday accepts one or two arguments" >&5 | 12675 echo "configure:12676: checking whether gettimeofday accepts one or two arguments" >&5 |
12655 cat > conftest.$ac_ext <<EOF | 12676 cat > conftest.$ac_ext <<EOF |
12656 #line 12657 "configure" | 12677 #line 12678 "configure" |
12657 #include "confdefs.h" | 12678 #include "confdefs.h" |
12658 | 12679 |
12659 #ifdef TIME_WITH_SYS_TIME | 12680 #ifdef TIME_WITH_SYS_TIME |
12660 #include <sys/time.h> | 12681 #include <sys/time.h> |
12661 #include <time.h> | 12682 #include <time.h> |
12672 struct timeval time; | 12693 struct timeval time; |
12673 gettimeofday (&time, 0); | 12694 gettimeofday (&time, 0); |
12674 | 12695 |
12675 ; return 0; } | 12696 ; return 0; } |
12676 EOF | 12697 EOF |
12677 if { (eval echo configure:12678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12698 if { (eval echo configure:12699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12678 rm -rf conftest* | 12699 rm -rf conftest* |
12679 echo "$ac_t""two" 1>&6 | 12700 echo "$ac_t""two" 1>&6 |
12680 else | 12701 else |
12681 echo "configure: failed program was:" >&5 | 12702 echo "configure: failed program was:" >&5 |
12682 cat conftest.$ac_ext >&5 | 12703 cat conftest.$ac_ext >&5 |
12694 rm -f conftest* | 12715 rm -f conftest* |
12695 fi | 12716 fi |
12696 | 12717 |
12697 | 12718 |
12698 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12719 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12699 echo "configure:12700: checking for inline" >&5 | 12720 echo "configure:12721: checking for inline" >&5 |
12700 | 12721 |
12701 ac_cv_c_inline=no | 12722 ac_cv_c_inline=no |
12702 for ac_kw in inline __inline__ __inline; do | 12723 for ac_kw in inline __inline__ __inline; do |
12703 cat > conftest.$ac_ext <<EOF | 12724 cat > conftest.$ac_ext <<EOF |
12704 #line 12705 "configure" | 12725 #line 12726 "configure" |
12705 #include "confdefs.h" | 12726 #include "confdefs.h" |
12706 | 12727 |
12707 int main() { | 12728 int main() { |
12708 } $ac_kw foo() { | 12729 } $ac_kw foo() { |
12709 ; return 0; } | 12730 ; return 0; } |
12710 EOF | 12731 EOF |
12711 if { (eval echo configure:12712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12732 if { (eval echo configure:12733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12712 rm -rf conftest* | 12733 rm -rf conftest* |
12713 ac_cv_c_inline=$ac_kw; break | 12734 ac_cv_c_inline=$ac_kw; break |
12714 else | 12735 else |
12715 echo "configure: failed program was:" >&5 | 12736 echo "configure: failed program was:" >&5 |
12716 cat conftest.$ac_ext >&5 | 12737 cat conftest.$ac_ext >&5 |
12747 | 12768 |
12748 if test "$__DECC" != "yes"; then | 12769 if test "$__DECC" != "yes"; then |
12749 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12770 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12750 # for constant arguments. Useless! | 12771 # for constant arguments. Useless! |
12751 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12772 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12752 echo "configure:12753: checking for working alloca.h" >&5 | 12773 echo "configure:12774: checking for working alloca.h" >&5 |
12753 | 12774 |
12754 cat > conftest.$ac_ext <<EOF | 12775 cat > conftest.$ac_ext <<EOF |
12755 #line 12756 "configure" | 12776 #line 12777 "configure" |
12756 #include "confdefs.h" | 12777 #include "confdefs.h" |
12757 #include <alloca.h> | 12778 #include <alloca.h> |
12758 int main() { | 12779 int main() { |
12759 char *p = alloca(2 * sizeof(int)); | 12780 char *p = alloca(2 * sizeof(int)); |
12760 ; return 0; } | 12781 ; return 0; } |
12761 EOF | 12782 EOF |
12762 if { (eval echo configure:12763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12783 if { (eval echo configure:12784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12763 rm -rf conftest* | 12784 rm -rf conftest* |
12764 ac_cv_header_alloca_h=yes | 12785 ac_cv_header_alloca_h=yes |
12765 else | 12786 else |
12766 echo "configure: failed program was:" >&5 | 12787 echo "configure: failed program was:" >&5 |
12767 cat conftest.$ac_ext >&5 | 12788 cat conftest.$ac_ext >&5 |
12781 } | 12802 } |
12782 | 12803 |
12783 fi | 12804 fi |
12784 | 12805 |
12785 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12806 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12786 echo "configure:12787: checking for alloca" >&5 | 12807 echo "configure:12808: checking for alloca" >&5 |
12787 | 12808 |
12788 cat > conftest.$ac_ext <<EOF | 12809 cat > conftest.$ac_ext <<EOF |
12789 #line 12790 "configure" | 12810 #line 12811 "configure" |
12790 #include "confdefs.h" | 12811 #include "confdefs.h" |
12791 | 12812 |
12792 #ifdef __GNUC__ | 12813 #ifdef __GNUC__ |
12793 # define alloca __builtin_alloca | 12814 # define alloca __builtin_alloca |
12794 #else | 12815 #else |
12812 | 12833 |
12813 int main() { | 12834 int main() { |
12814 char *p = (char *) alloca(1); | 12835 char *p = (char *) alloca(1); |
12815 ; return 0; } | 12836 ; return 0; } |
12816 EOF | 12837 EOF |
12817 if { (eval echo configure:12818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12838 if { (eval echo configure:12839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12818 rm -rf conftest* | 12839 rm -rf conftest* |
12819 ac_cv_func_alloca_works=yes | 12840 ac_cv_func_alloca_works=yes |
12820 else | 12841 else |
12821 echo "configure: failed program was:" >&5 | 12842 echo "configure: failed program was:" >&5 |
12822 cat conftest.$ac_ext >&5 | 12843 cat conftest.$ac_ext >&5 |
12851 EOF | 12872 EOF |
12852 } | 12873 } |
12853 | 12874 |
12854 | 12875 |
12855 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12876 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
12856 echo "configure:12857: checking whether alloca needs Cray hooks" >&5 | 12877 echo "configure:12878: checking whether alloca needs Cray hooks" >&5 |
12857 | 12878 |
12858 cat > conftest.$ac_ext <<EOF | 12879 cat > conftest.$ac_ext <<EOF |
12859 #line 12860 "configure" | 12880 #line 12881 "configure" |
12860 #include "confdefs.h" | 12881 #include "confdefs.h" |
12861 #if defined(CRAY) && ! defined(CRAY2) | 12882 #if defined(CRAY) && ! defined(CRAY2) |
12862 webecray | 12883 webecray |
12863 #else | 12884 #else |
12864 wenotbecray | 12885 wenotbecray |
12878 | 12899 |
12879 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12900 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12880 if test $ac_cv_os_cray = yes; then | 12901 if test $ac_cv_os_cray = yes; then |
12881 for ac_func in _getb67 GETB67 getb67; do | 12902 for ac_func in _getb67 GETB67 getb67; do |
12882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12883 echo "configure:12884: checking for $ac_func" >&5 | 12904 echo "configure:12905: checking for $ac_func" >&5 |
12884 | 12905 |
12885 cat > conftest.$ac_ext <<EOF | 12906 cat > conftest.$ac_ext <<EOF |
12886 #line 12887 "configure" | 12907 #line 12908 "configure" |
12887 #include "confdefs.h" | 12908 #include "confdefs.h" |
12888 /* System header to define __stub macros and hopefully few prototypes, | 12909 /* System header to define __stub macros and hopefully few prototypes, |
12889 which can conflict with char $ac_func(); below. */ | 12910 which can conflict with char $ac_func(); below. */ |
12890 #include <assert.h> | 12911 #include <assert.h> |
12891 /* Override any gcc2 internal prototype to avoid an error. */ | 12912 /* Override any gcc2 internal prototype to avoid an error. */ |
12904 $ac_func(); | 12925 $ac_func(); |
12905 #endif | 12926 #endif |
12906 | 12927 |
12907 ; return 0; } | 12928 ; return 0; } |
12908 EOF | 12929 EOF |
12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12930 if { (eval echo configure:12931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12910 rm -rf conftest* | 12931 rm -rf conftest* |
12911 eval "ac_cv_func_$ac_func=yes" | 12932 eval "ac_cv_func_$ac_func=yes" |
12912 else | 12933 else |
12913 echo "configure: failed program was:" >&5 | 12934 echo "configure: failed program was:" >&5 |
12914 cat conftest.$ac_ext >&5 | 12935 cat conftest.$ac_ext >&5 |
12934 | 12955 |
12935 done | 12956 done |
12936 fi | 12957 fi |
12937 | 12958 |
12938 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12959 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12939 echo "configure:12940: checking stack direction for C alloca" >&5 | 12960 echo "configure:12961: checking stack direction for C alloca" >&5 |
12940 | 12961 |
12941 cat > conftest.$ac_ext <<EOF | 12962 cat > conftest.$ac_ext <<EOF |
12942 #line 12943 "configure" | 12963 #line 12964 "configure" |
12943 #include "confdefs.h" | 12964 #include "confdefs.h" |
12944 find_stack_direction () | 12965 find_stack_direction () |
12945 { | 12966 { |
12946 static char *addr = 0; | 12967 static char *addr = 0; |
12947 auto char dummy; | 12968 auto char dummy; |
12956 main () | 12977 main () |
12957 { | 12978 { |
12958 exit (find_stack_direction() < 0); | 12979 exit (find_stack_direction() < 0); |
12959 } | 12980 } |
12960 EOF | 12981 EOF |
12961 if { (eval echo configure:12962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12982 if { (eval echo configure:12983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12962 then | 12983 then |
12963 ac_cv_c_stack_direction=1 | 12984 ac_cv_c_stack_direction=1 |
12964 else | 12985 else |
12965 conftest_rc="$?" | 12986 conftest_rc="$?" |
12966 echo "configure: failed program was:" >&5 | 12987 echo "configure: failed program was:" >&5 |
12985 echo " xemacs will be linked with \"$ALLOCA\"" | 13006 echo " xemacs will be linked with \"$ALLOCA\"" |
12986 fi | 13007 fi |
12987 fi | 13008 fi |
12988 | 13009 |
12989 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13010 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12990 echo "configure:12991: checking for working strcoll" >&5 | 13011 echo "configure:13012: checking for working strcoll" >&5 |
12991 | 13012 |
12992 cat > conftest.$ac_ext <<EOF | 13013 cat > conftest.$ac_ext <<EOF |
12993 #line 12994 "configure" | 13014 #line 13015 "configure" |
12994 #include "confdefs.h" | 13015 #include "confdefs.h" |
12995 #include <string.h> | 13016 #include <string.h> |
12996 main () | 13017 main () |
12997 { | 13018 { |
12998 exit (strcoll ("abc", "def") >= 0 || | 13019 exit (strcoll ("abc", "def") >= 0 || |
12999 strcoll ("ABC", "DEF") >= 0 || | 13020 strcoll ("ABC", "DEF") >= 0 || |
13000 strcoll ("123", "456") >= 0); | 13021 strcoll ("123", "456") >= 0); |
13001 } | 13022 } |
13002 EOF | 13023 EOF |
13003 if { (eval echo configure:13004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13024 if { (eval echo configure:13025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13004 then | 13025 then |
13005 ac_cv_func_strcoll_works=yes | 13026 ac_cv_func_strcoll_works=yes |
13006 else | 13027 else |
13007 conftest_rc="$?" | 13028 conftest_rc="$?" |
13008 echo "configure: failed program was:" >&5 | 13029 echo "configure: failed program was:" >&5 |
13026 | 13047 |
13027 | 13048 |
13028 for ac_func in getpgrp | 13049 for ac_func in getpgrp |
13029 do | 13050 do |
13030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13031 echo "configure:13032: checking for $ac_func" >&5 | 13052 echo "configure:13053: checking for $ac_func" >&5 |
13032 | 13053 |
13033 cat > conftest.$ac_ext <<EOF | 13054 cat > conftest.$ac_ext <<EOF |
13034 #line 13035 "configure" | 13055 #line 13056 "configure" |
13035 #include "confdefs.h" | 13056 #include "confdefs.h" |
13036 /* System header to define __stub macros and hopefully few prototypes, | 13057 /* System header to define __stub macros and hopefully few prototypes, |
13037 which can conflict with char $ac_func(); below. */ | 13058 which can conflict with char $ac_func(); below. */ |
13038 #include <assert.h> | 13059 #include <assert.h> |
13039 /* Override any gcc2 internal prototype to avoid an error. */ | 13060 /* Override any gcc2 internal prototype to avoid an error. */ |
13052 $ac_func(); | 13073 $ac_func(); |
13053 #endif | 13074 #endif |
13054 | 13075 |
13055 ; return 0; } | 13076 ; return 0; } |
13056 EOF | 13077 EOF |
13057 if { (eval echo configure:13058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13078 if { (eval echo configure:13079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13058 rm -rf conftest* | 13079 rm -rf conftest* |
13059 eval "ac_cv_func_$ac_func=yes" | 13080 eval "ac_cv_func_$ac_func=yes" |
13060 else | 13081 else |
13061 echo "configure: failed program was:" >&5 | 13082 echo "configure: failed program was:" >&5 |
13062 cat conftest.$ac_ext >&5 | 13083 cat conftest.$ac_ext >&5 |
13080 echo "$ac_t""no" 1>&6 | 13101 echo "$ac_t""no" 1>&6 |
13081 fi | 13102 fi |
13082 done | 13103 done |
13083 | 13104 |
13084 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13105 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13085 echo "configure:13086: checking whether getpgrp takes no argument" >&5 | 13106 echo "configure:13107: checking whether getpgrp takes no argument" >&5 |
13086 | 13107 |
13087 cat > conftest.$ac_ext <<EOF | 13108 cat > conftest.$ac_ext <<EOF |
13088 #line 13089 "configure" | 13109 #line 13110 "configure" |
13089 #include "confdefs.h" | 13110 #include "confdefs.h" |
13090 | 13111 |
13091 /* | 13112 /* |
13092 * If this system has a BSD-style getpgrp(), | 13113 * If this system has a BSD-style getpgrp(), |
13093 * which takes a pid argument, exit unsuccessfully. | 13114 * which takes a pid argument, exit unsuccessfully. |
13138 exit(s>>8); | 13159 exit(s>>8); |
13139 } | 13160 } |
13140 } | 13161 } |
13141 | 13162 |
13142 EOF | 13163 EOF |
13143 if { (eval echo configure:13144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13164 if { (eval echo configure:13165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13144 then | 13165 then |
13145 ac_cv_func_getpgrp_void=yes | 13166 ac_cv_func_getpgrp_void=yes |
13146 else | 13167 else |
13147 conftest_rc="$?" | 13168 conftest_rc="$?" |
13148 echo "configure: failed program was:" >&5 | 13169 echo "configure: failed program was:" >&5 |
13165 | 13186 |
13166 fi | 13187 fi |
13167 | 13188 |
13168 | 13189 |
13169 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13190 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13170 echo "configure:13171: checking for working mmap" >&5 | 13191 echo "configure:13192: checking for working mmap" >&5 |
13171 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13192 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13172 cat > conftest.$ac_ext <<EOF | 13193 cat > conftest.$ac_ext <<EOF |
13173 #line 13174 "configure" | 13194 #line 13195 "configure" |
13174 #include "confdefs.h" | 13195 #include "confdefs.h" |
13175 #include <stdio.h> | 13196 #include <stdio.h> |
13176 #include <unistd.h> | 13197 #include <unistd.h> |
13177 #include <fcntl.h> | 13198 #include <fcntl.h> |
13178 #include <sys/mman.h> | 13199 #include <sys/mman.h> |
13201 return 0; | 13222 return 0; |
13202 perror ("conftest: mmap failed"); | 13223 perror ("conftest: mmap failed"); |
13203 return 1; | 13224 return 1; |
13204 } | 13225 } |
13205 EOF | 13226 EOF |
13206 if { (eval echo configure:13207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13227 if { (eval echo configure:13228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13207 then | 13228 then |
13208 have_mmap=yes | 13229 have_mmap=yes |
13209 else | 13230 else |
13210 conftest_rc="$?" | 13231 conftest_rc="$?" |
13211 echo "configure: failed program was:" >&5 | 13232 echo "configure: failed program was:" >&5 |
13230 esac | 13251 esac |
13231 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13252 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13232 if test "$rel_alloc $have_mmap" = "default yes"; then | 13253 if test "$rel_alloc $have_mmap" = "default yes"; then |
13233 if test "$doug_lea_malloc" = "yes"; then | 13254 if test "$doug_lea_malloc" = "yes"; then |
13234 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13255 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13235 echo "configure:13236: checking for M_MMAP_THRESHOLD" >&5 | 13256 echo "configure:13257: checking for M_MMAP_THRESHOLD" >&5 |
13236 cat > conftest.$ac_ext <<EOF | 13257 cat > conftest.$ac_ext <<EOF |
13237 #line 13238 "configure" | 13258 #line 13259 "configure" |
13238 #include "confdefs.h" | 13259 #include "confdefs.h" |
13239 #include <malloc.h> | 13260 #include <malloc.h> |
13240 int main() { | 13261 int main() { |
13241 | 13262 |
13242 #ifndef M_MMAP_THRESHOLD | 13263 #ifndef M_MMAP_THRESHOLD |
13244 !@+$%^&*_)(_ - unlikely to compile... | 13265 !@+$%^&*_)(_ - unlikely to compile... |
13245 #endif | 13266 #endif |
13246 | 13267 |
13247 ; return 0; } | 13268 ; return 0; } |
13248 EOF | 13269 EOF |
13249 if { (eval echo configure:13250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13270 if { (eval echo configure:13271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13250 rm -rf conftest* | 13271 rm -rf conftest* |
13251 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13272 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13252 else | 13273 else |
13253 echo "configure: failed program was:" >&5 | 13274 echo "configure: failed program was:" >&5 |
13254 cat conftest.$ac_ext >&5 | 13275 cat conftest.$ac_ext >&5 |
13269 } | 13290 } |
13270 | 13291 |
13271 | 13292 |
13272 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13293 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13273 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13294 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13274 echo "configure:13275: checking for termios.h" >&5 | 13295 echo "configure:13296: checking for termios.h" >&5 |
13275 | 13296 |
13276 cat > conftest.$ac_ext <<EOF | 13297 cat > conftest.$ac_ext <<EOF |
13277 #line 13278 "configure" | 13298 #line 13299 "configure" |
13278 #include "confdefs.h" | 13299 #include "confdefs.h" |
13279 #include <termios.h> | 13300 #include <termios.h> |
13280 EOF | 13301 EOF |
13281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13282 { (eval echo configure:13283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13303 { (eval echo configure:13304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13284 if test -z "$ac_err"; then | 13305 if test -z "$ac_err"; then |
13285 rm -rf conftest* | 13306 rm -rf conftest* |
13286 eval "ac_cv_header_$ac_safe=yes" | 13307 eval "ac_cv_header_$ac_safe=yes" |
13287 else | 13308 else |
13320 | 13341 |
13321 else | 13342 else |
13322 echo "$ac_t""no" 1>&6 | 13343 echo "$ac_t""no" 1>&6 |
13323 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13344 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13324 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13345 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13325 echo "configure:13326: checking for termio.h" >&5 | 13346 echo "configure:13347: checking for termio.h" >&5 |
13326 | 13347 |
13327 cat > conftest.$ac_ext <<EOF | 13348 cat > conftest.$ac_ext <<EOF |
13328 #line 13329 "configure" | 13349 #line 13350 "configure" |
13329 #include "confdefs.h" | 13350 #include "confdefs.h" |
13330 #include <termio.h> | 13351 #include <termio.h> |
13331 EOF | 13352 EOF |
13332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13333 { (eval echo configure:13334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13354 { (eval echo configure:13355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13335 if test -z "$ac_err"; then | 13356 if test -z "$ac_err"; then |
13336 rm -rf conftest* | 13357 rm -rf conftest* |
13337 eval "ac_cv_header_$ac_safe=yes" | 13358 eval "ac_cv_header_$ac_safe=yes" |
13338 else | 13359 else |
13360 fi | 13381 fi |
13361 | 13382 |
13362 | 13383 |
13363 | 13384 |
13364 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13385 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13365 echo "configure:13366: checking for socket" >&5 | 13386 echo "configure:13387: checking for socket" >&5 |
13366 | 13387 |
13367 cat > conftest.$ac_ext <<EOF | 13388 cat > conftest.$ac_ext <<EOF |
13368 #line 13369 "configure" | 13389 #line 13390 "configure" |
13369 #include "confdefs.h" | 13390 #include "confdefs.h" |
13370 /* System header to define __stub macros and hopefully few prototypes, | 13391 /* System header to define __stub macros and hopefully few prototypes, |
13371 which can conflict with char socket(); below. */ | 13392 which can conflict with char socket(); below. */ |
13372 #include <assert.h> | 13393 #include <assert.h> |
13373 /* Override any gcc2 internal prototype to avoid an error. */ | 13394 /* Override any gcc2 internal prototype to avoid an error. */ |
13386 socket(); | 13407 socket(); |
13387 #endif | 13408 #endif |
13388 | 13409 |
13389 ; return 0; } | 13410 ; return 0; } |
13390 EOF | 13411 EOF |
13391 if { (eval echo configure:13392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13412 if { (eval echo configure:13413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13392 rm -rf conftest* | 13413 rm -rf conftest* |
13393 eval "ac_cv_func_socket=yes" | 13414 eval "ac_cv_func_socket=yes" |
13394 else | 13415 else |
13395 echo "configure: failed program was:" >&5 | 13416 echo "configure: failed program was:" >&5 |
13396 cat conftest.$ac_ext >&5 | 13417 cat conftest.$ac_ext >&5 |
13401 | 13422 |
13402 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13423 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13403 echo "$ac_t""yes" 1>&6 | 13424 echo "$ac_t""yes" 1>&6 |
13404 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13425 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13405 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13426 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13406 echo "configure:13407: checking for netinet/in.h" >&5 | 13427 echo "configure:13428: checking for netinet/in.h" >&5 |
13407 | 13428 |
13408 cat > conftest.$ac_ext <<EOF | 13429 cat > conftest.$ac_ext <<EOF |
13409 #line 13410 "configure" | 13430 #line 13431 "configure" |
13410 #include "confdefs.h" | 13431 #include "confdefs.h" |
13411 #include <netinet/in.h> | 13432 #include <netinet/in.h> |
13412 EOF | 13433 EOF |
13413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13414 { (eval echo configure:13415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13435 { (eval echo configure:13436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13415 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13416 if test -z "$ac_err"; then | 13437 if test -z "$ac_err"; then |
13417 rm -rf conftest* | 13438 rm -rf conftest* |
13418 eval "ac_cv_header_$ac_safe=yes" | 13439 eval "ac_cv_header_$ac_safe=yes" |
13419 else | 13440 else |
13426 rm -f conftest* | 13447 rm -f conftest* |
13427 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13448 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13428 echo "$ac_t""yes" 1>&6 | 13449 echo "$ac_t""yes" 1>&6 |
13429 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13450 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13430 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13451 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13431 echo "configure:13432: checking for arpa/inet.h" >&5 | 13452 echo "configure:13453: checking for arpa/inet.h" >&5 |
13432 | 13453 |
13433 cat > conftest.$ac_ext <<EOF | 13454 cat > conftest.$ac_ext <<EOF |
13434 #line 13435 "configure" | 13455 #line 13456 "configure" |
13435 #include "confdefs.h" | 13456 #include "confdefs.h" |
13436 #include <arpa/inet.h> | 13457 #include <arpa/inet.h> |
13437 EOF | 13458 EOF |
13438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13439 { (eval echo configure:13440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13460 { (eval echo configure:13461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13441 if test -z "$ac_err"; then | 13462 if test -z "$ac_err"; then |
13442 rm -rf conftest* | 13463 rm -rf conftest* |
13443 eval "ac_cv_header_$ac_safe=yes" | 13464 eval "ac_cv_header_$ac_safe=yes" |
13444 else | 13465 else |
13459 #define HAVE_SOCKETS 1 | 13480 #define HAVE_SOCKETS 1 |
13460 EOF | 13481 EOF |
13461 } | 13482 } |
13462 | 13483 |
13463 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13484 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13464 echo "configure:13465: checking "for sun_len member in struct sockaddr_un"" >&5 | 13485 echo "configure:13486: checking "for sun_len member in struct sockaddr_un"" >&5 |
13465 cat > conftest.$ac_ext <<EOF | 13486 cat > conftest.$ac_ext <<EOF |
13466 #line 13467 "configure" | 13487 #line 13488 "configure" |
13467 #include "confdefs.h" | 13488 #include "confdefs.h" |
13468 | 13489 |
13469 #include <sys/types.h> | 13490 #include <sys/types.h> |
13470 #include <sys/socket.h> | 13491 #include <sys/socket.h> |
13471 #include <sys/un.h> | 13492 #include <sys/un.h> |
13472 | 13493 |
13473 int main() { | 13494 int main() { |
13474 static struct sockaddr_un x; x.sun_len = 1; | 13495 static struct sockaddr_un x; x.sun_len = 1; |
13475 ; return 0; } | 13496 ; return 0; } |
13476 EOF | 13497 EOF |
13477 if { (eval echo configure:13478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13498 if { (eval echo configure:13499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13478 rm -rf conftest* | 13499 rm -rf conftest* |
13479 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13500 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13480 Defining HAVE_SOCKADDR_SUN_LEN | 13501 Defining HAVE_SOCKADDR_SUN_LEN |
13481 EOF | 13502 EOF |
13482 cat >> confdefs.h <<\EOF | 13503 cat >> confdefs.h <<\EOF |
13490 rm -rf conftest* | 13511 rm -rf conftest* |
13491 echo "$ac_t""no" 1>&6 | 13512 echo "$ac_t""no" 1>&6 |
13492 fi | 13513 fi |
13493 rm -f conftest* | 13514 rm -f conftest* |
13494 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13515 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13495 echo "configure:13496: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13516 echo "configure:13517: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13496 cat > conftest.$ac_ext <<EOF | 13517 cat > conftest.$ac_ext <<EOF |
13497 #line 13498 "configure" | 13518 #line 13519 "configure" |
13498 #include "confdefs.h" | 13519 #include "confdefs.h" |
13499 | 13520 |
13500 #include <sys/types.h> | 13521 #include <sys/types.h> |
13501 #include <netinet/in.h> | 13522 #include <netinet/in.h> |
13502 | 13523 |
13503 int main() { | 13524 int main() { |
13504 static struct ip_mreq x; | 13525 static struct ip_mreq x; |
13505 ; return 0; } | 13526 ; return 0; } |
13506 EOF | 13527 EOF |
13507 if { (eval echo configure:13508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13528 if { (eval echo configure:13529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13508 rm -rf conftest* | 13529 rm -rf conftest* |
13509 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13530 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13510 Defining HAVE_MULTICAST | 13531 Defining HAVE_MULTICAST |
13511 EOF | 13532 EOF |
13512 cat >> confdefs.h <<\EOF | 13533 cat >> confdefs.h <<\EOF |
13533 echo "$ac_t""no" 1>&6 | 13554 echo "$ac_t""no" 1>&6 |
13534 fi | 13555 fi |
13535 | 13556 |
13536 | 13557 |
13537 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13558 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13538 echo "configure:13539: checking for msgget" >&5 | 13559 echo "configure:13560: checking for msgget" >&5 |
13539 | 13560 |
13540 cat > conftest.$ac_ext <<EOF | 13561 cat > conftest.$ac_ext <<EOF |
13541 #line 13542 "configure" | 13562 #line 13563 "configure" |
13542 #include "confdefs.h" | 13563 #include "confdefs.h" |
13543 /* System header to define __stub macros and hopefully few prototypes, | 13564 /* System header to define __stub macros and hopefully few prototypes, |
13544 which can conflict with char msgget(); below. */ | 13565 which can conflict with char msgget(); below. */ |
13545 #include <assert.h> | 13566 #include <assert.h> |
13546 /* Override any gcc2 internal prototype to avoid an error. */ | 13567 /* Override any gcc2 internal prototype to avoid an error. */ |
13559 msgget(); | 13580 msgget(); |
13560 #endif | 13581 #endif |
13561 | 13582 |
13562 ; return 0; } | 13583 ; return 0; } |
13563 EOF | 13584 EOF |
13564 if { (eval echo configure:13565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13585 if { (eval echo configure:13586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13565 rm -rf conftest* | 13586 rm -rf conftest* |
13566 eval "ac_cv_func_msgget=yes" | 13587 eval "ac_cv_func_msgget=yes" |
13567 else | 13588 else |
13568 echo "configure: failed program was:" >&5 | 13589 echo "configure: failed program was:" >&5 |
13569 cat conftest.$ac_ext >&5 | 13590 cat conftest.$ac_ext >&5 |
13574 | 13595 |
13575 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13596 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13576 echo "$ac_t""yes" 1>&6 | 13597 echo "$ac_t""yes" 1>&6 |
13577 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13598 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13578 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13599 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13579 echo "configure:13580: checking for sys/ipc.h" >&5 | 13600 echo "configure:13601: checking for sys/ipc.h" >&5 |
13580 | 13601 |
13581 cat > conftest.$ac_ext <<EOF | 13602 cat > conftest.$ac_ext <<EOF |
13582 #line 13583 "configure" | 13603 #line 13604 "configure" |
13583 #include "confdefs.h" | 13604 #include "confdefs.h" |
13584 #include <sys/ipc.h> | 13605 #include <sys/ipc.h> |
13585 EOF | 13606 EOF |
13586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13587 { (eval echo configure:13588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13608 { (eval echo configure:13609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13589 if test -z "$ac_err"; then | 13610 if test -z "$ac_err"; then |
13590 rm -rf conftest* | 13611 rm -rf conftest* |
13591 eval "ac_cv_header_$ac_safe=yes" | 13612 eval "ac_cv_header_$ac_safe=yes" |
13592 else | 13613 else |
13599 rm -f conftest* | 13620 rm -f conftest* |
13600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13601 echo "$ac_t""yes" 1>&6 | 13622 echo "$ac_t""yes" 1>&6 |
13602 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13623 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13603 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13624 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13604 echo "configure:13605: checking for sys/msg.h" >&5 | 13625 echo "configure:13626: checking for sys/msg.h" >&5 |
13605 | 13626 |
13606 cat > conftest.$ac_ext <<EOF | 13627 cat > conftest.$ac_ext <<EOF |
13607 #line 13608 "configure" | 13628 #line 13629 "configure" |
13608 #include "confdefs.h" | 13629 #include "confdefs.h" |
13609 #include <sys/msg.h> | 13630 #include <sys/msg.h> |
13610 EOF | 13631 EOF |
13611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13612 { (eval echo configure:13613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13633 { (eval echo configure:13634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13614 if test -z "$ac_err"; then | 13635 if test -z "$ac_err"; then |
13615 rm -rf conftest* | 13636 rm -rf conftest* |
13616 eval "ac_cv_header_$ac_safe=yes" | 13637 eval "ac_cv_header_$ac_safe=yes" |
13617 else | 13638 else |
13645 fi | 13666 fi |
13646 | 13667 |
13647 | 13668 |
13648 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13669 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13649 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13670 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13650 echo "configure:13651: checking for dirent.h" >&5 | 13671 echo "configure:13672: checking for dirent.h" >&5 |
13651 | 13672 |
13652 cat > conftest.$ac_ext <<EOF | 13673 cat > conftest.$ac_ext <<EOF |
13653 #line 13654 "configure" | 13674 #line 13675 "configure" |
13654 #include "confdefs.h" | 13675 #include "confdefs.h" |
13655 #include <dirent.h> | 13676 #include <dirent.h> |
13656 EOF | 13677 EOF |
13657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13658 { (eval echo configure:13659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13679 { (eval echo configure:13680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13660 if test -z "$ac_err"; then | 13681 if test -z "$ac_err"; then |
13661 rm -rf conftest* | 13682 rm -rf conftest* |
13662 eval "ac_cv_header_$ac_safe=yes" | 13683 eval "ac_cv_header_$ac_safe=yes" |
13663 else | 13684 else |
13680 | 13701 |
13681 else | 13702 else |
13682 echo "$ac_t""no" 1>&6 | 13703 echo "$ac_t""no" 1>&6 |
13683 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13704 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13684 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13705 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13685 echo "configure:13686: checking for sys/dir.h" >&5 | 13706 echo "configure:13707: checking for sys/dir.h" >&5 |
13686 | 13707 |
13687 cat > conftest.$ac_ext <<EOF | 13708 cat > conftest.$ac_ext <<EOF |
13688 #line 13689 "configure" | 13709 #line 13710 "configure" |
13689 #include "confdefs.h" | 13710 #include "confdefs.h" |
13690 #include <sys/dir.h> | 13711 #include <sys/dir.h> |
13691 EOF | 13712 EOF |
13692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13693 { (eval echo configure:13694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13714 { (eval echo configure:13715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13695 if test -z "$ac_err"; then | 13716 if test -z "$ac_err"; then |
13696 rm -rf conftest* | 13717 rm -rf conftest* |
13697 eval "ac_cv_header_$ac_safe=yes" | 13718 eval "ac_cv_header_$ac_safe=yes" |
13698 else | 13719 else |
13721 fi | 13742 fi |
13722 | 13743 |
13723 | 13744 |
13724 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13745 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13725 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13746 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13726 echo "configure:13727: checking for nlist.h" >&5 | 13747 echo "configure:13748: checking for nlist.h" >&5 |
13727 | 13748 |
13728 cat > conftest.$ac_ext <<EOF | 13749 cat > conftest.$ac_ext <<EOF |
13729 #line 13730 "configure" | 13750 #line 13751 "configure" |
13730 #include "confdefs.h" | 13751 #include "confdefs.h" |
13731 #include <nlist.h> | 13752 #include <nlist.h> |
13732 EOF | 13753 EOF |
13733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13734 { (eval echo configure:13735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13755 { (eval echo configure:13756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13736 if test -z "$ac_err"; then | 13757 if test -z "$ac_err"; then |
13737 rm -rf conftest* | 13758 rm -rf conftest* |
13738 eval "ac_cv_header_$ac_safe=yes" | 13759 eval "ac_cv_header_$ac_safe=yes" |
13739 else | 13760 else |
13759 fi | 13780 fi |
13760 | 13781 |
13761 | 13782 |
13762 | 13783 |
13763 echo "checking "for sound support"" 1>&6 | 13784 echo "checking "for sound support"" 1>&6 |
13764 echo "configure:13765: checking "for sound support"" >&5 | 13785 echo "configure:13786: checking "for sound support"" >&5 |
13765 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13786 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13766 | 13787 |
13767 if test "$with_native_sound" != "no"; then | 13788 if test "$with_native_sound" != "no"; then |
13768 if test -n "$native_sound_lib"; then | 13789 if test -n "$native_sound_lib"; then |
13769 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13790 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13770 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13791 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13771 echo "configure:13772: checking for multimedia/audio_device.h" >&5 | 13792 echo "configure:13793: checking for multimedia/audio_device.h" >&5 |
13772 | 13793 |
13773 cat > conftest.$ac_ext <<EOF | 13794 cat > conftest.$ac_ext <<EOF |
13774 #line 13775 "configure" | 13795 #line 13796 "configure" |
13775 #include "confdefs.h" | 13796 #include "confdefs.h" |
13776 #include <multimedia/audio_device.h> | 13797 #include <multimedia/audio_device.h> |
13777 EOF | 13798 EOF |
13778 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13779 { (eval echo configure:13780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13800 { (eval echo configure:13801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13781 if test -z "$ac_err"; then | 13802 if test -z "$ac_err"; then |
13782 rm -rf conftest* | 13803 rm -rf conftest* |
13783 eval "ac_cv_header_$ac_safe=yes" | 13804 eval "ac_cv_header_$ac_safe=yes" |
13784 else | 13805 else |
13822 case "$canonical" in | 13843 case "$canonical" in |
13823 *-sgi-* ) | 13844 *-sgi-* ) |
13824 if test -z "$native_sound_lib"; then | 13845 if test -z "$native_sound_lib"; then |
13825 | 13846 |
13826 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13847 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13827 echo "configure:13828: checking for ALopenport in -laudio" >&5 | 13848 echo "configure:13849: checking for ALopenport in -laudio" >&5 |
13828 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13849 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13829 | 13850 |
13830 xe_check_libs=" -laudio " | 13851 xe_check_libs=" -laudio " |
13831 cat > conftest.$ac_ext <<EOF | 13852 cat > conftest.$ac_ext <<EOF |
13832 #line 13833 "configure" | 13853 #line 13854 "configure" |
13833 #include "confdefs.h" | 13854 #include "confdefs.h" |
13834 /* Override any gcc2 internal prototype to avoid an error. */ | 13855 /* Override any gcc2 internal prototype to avoid an error. */ |
13835 /* We use char because int might match the return type of a gcc2 | 13856 /* We use char because int might match the return type of a gcc2 |
13836 builtin and then its argument prototype would still apply. */ | 13857 builtin and then its argument prototype would still apply. */ |
13837 char ALopenport(); | 13858 char ALopenport(); |
13838 | 13859 |
13839 int main() { | 13860 int main() { |
13840 ALopenport() | 13861 ALopenport() |
13841 ; return 0; } | 13862 ; return 0; } |
13842 EOF | 13863 EOF |
13843 if { (eval echo configure:13844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13864 if { (eval echo configure:13865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13844 rm -rf conftest* | 13865 rm -rf conftest* |
13845 eval "ac_cv_lib_$ac_lib_var=yes" | 13866 eval "ac_cv_lib_$ac_lib_var=yes" |
13846 else | 13867 else |
13847 echo "configure: failed program was:" >&5 | 13868 echo "configure: failed program was:" >&5 |
13848 cat conftest.$ac_ext >&5 | 13869 cat conftest.$ac_ext >&5 |
13869 fi ;; | 13890 fi ;; |
13870 hppa*-hp-hpux* ) | 13891 hppa*-hp-hpux* ) |
13871 if test -z "$native_sound_lib"; then | 13892 if test -z "$native_sound_lib"; then |
13872 | 13893 |
13873 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13894 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13874 echo "configure:13875: checking for AOpenAudio in -lAlib" >&5 | 13895 echo "configure:13896: checking for AOpenAudio in -lAlib" >&5 |
13875 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13896 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13876 | 13897 |
13877 xe_check_libs=" -lAlib " | 13898 xe_check_libs=" -lAlib " |
13878 cat > conftest.$ac_ext <<EOF | 13899 cat > conftest.$ac_ext <<EOF |
13879 #line 13880 "configure" | 13900 #line 13901 "configure" |
13880 #include "confdefs.h" | 13901 #include "confdefs.h" |
13881 /* Override any gcc2 internal prototype to avoid an error. */ | 13902 /* Override any gcc2 internal prototype to avoid an error. */ |
13882 /* We use char because int might match the return type of a gcc2 | 13903 /* We use char because int might match the return type of a gcc2 |
13883 builtin and then its argument prototype would still apply. */ | 13904 builtin and then its argument prototype would still apply. */ |
13884 char AOpenAudio(); | 13905 char AOpenAudio(); |
13885 | 13906 |
13886 int main() { | 13907 int main() { |
13887 AOpenAudio() | 13908 AOpenAudio() |
13888 ; return 0; } | 13909 ; return 0; } |
13889 EOF | 13910 EOF |
13890 if { (eval echo configure:13891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13911 if { (eval echo configure:13912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13891 rm -rf conftest* | 13912 rm -rf conftest* |
13892 eval "ac_cv_lib_$ac_lib_var=yes" | 13913 eval "ac_cv_lib_$ac_lib_var=yes" |
13893 else | 13914 else |
13894 echo "configure: failed program was:" >&5 | 13915 echo "configure: failed program was:" >&5 |
13895 cat conftest.$ac_ext >&5 | 13916 cat conftest.$ac_ext >&5 |
13933 | 13954 |
13934 if test -z "$sound_found"; then | 13955 if test -z "$sound_found"; then |
13935 for dir in "machine" "sys" "linux"; do | 13956 for dir in "machine" "sys" "linux"; do |
13936 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13957 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13937 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13958 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13938 echo "configure:13939: checking for ${dir}/soundcard.h" >&5 | 13959 echo "configure:13960: checking for ${dir}/soundcard.h" >&5 |
13939 | 13960 |
13940 cat > conftest.$ac_ext <<EOF | 13961 cat > conftest.$ac_ext <<EOF |
13941 #line 13942 "configure" | 13962 #line 13963 "configure" |
13942 #include "confdefs.h" | 13963 #include "confdefs.h" |
13943 #include <${dir}/soundcard.h> | 13964 #include <${dir}/soundcard.h> |
13944 EOF | 13965 EOF |
13945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13946 { (eval echo configure:13947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13967 { (eval echo configure:13968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13948 if test -z "$ac_err"; then | 13969 if test -z "$ac_err"; then |
13949 rm -rf conftest* | 13970 rm -rf conftest* |
13950 eval "ac_cv_header_$ac_safe=yes" | 13971 eval "ac_cv_header_$ac_safe=yes" |
13951 else | 13972 else |
13995 fi | 14016 fi |
13996 | 14017 |
13997 if test "$with_nas_sound" != "no"; then | 14018 if test "$with_nas_sound" != "no"; then |
13998 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14019 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13999 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14020 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14000 echo "configure:14001: checking for audio/audiolib.h" >&5 | 14021 echo "configure:14022: checking for audio/audiolib.h" >&5 |
14001 | 14022 |
14002 cat > conftest.$ac_ext <<EOF | 14023 cat > conftest.$ac_ext <<EOF |
14003 #line 14004 "configure" | 14024 #line 14025 "configure" |
14004 #include "confdefs.h" | 14025 #include "confdefs.h" |
14005 #include <audio/audiolib.h> | 14026 #include <audio/audiolib.h> |
14006 EOF | 14027 EOF |
14007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14008 { (eval echo configure:14009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14029 { (eval echo configure:14030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14010 if test -z "$ac_err"; then | 14031 if test -z "$ac_err"; then |
14011 rm -rf conftest* | 14032 rm -rf conftest* |
14012 eval "ac_cv_header_$ac_safe=yes" | 14033 eval "ac_cv_header_$ac_safe=yes" |
14013 else | 14034 else |
14021 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14042 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14022 echo "$ac_t""yes" 1>&6 | 14043 echo "$ac_t""yes" 1>&6 |
14023 | 14044 |
14024 | 14045 |
14025 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14046 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14026 echo "configure:14027: checking for AuOpenServer in -laudio" >&5 | 14047 echo "configure:14048: checking for AuOpenServer in -laudio" >&5 |
14027 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14048 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14028 | 14049 |
14029 xe_check_libs=" -laudio " | 14050 xe_check_libs=" -laudio " |
14030 cat > conftest.$ac_ext <<EOF | 14051 cat > conftest.$ac_ext <<EOF |
14031 #line 14032 "configure" | 14052 #line 14053 "configure" |
14032 #include "confdefs.h" | 14053 #include "confdefs.h" |
14033 /* Override any gcc2 internal prototype to avoid an error. */ | 14054 /* Override any gcc2 internal prototype to avoid an error. */ |
14034 /* We use char because int might match the return type of a gcc2 | 14055 /* We use char because int might match the return type of a gcc2 |
14035 builtin and then its argument prototype would still apply. */ | 14056 builtin and then its argument prototype would still apply. */ |
14036 char AuOpenServer(); | 14057 char AuOpenServer(); |
14037 | 14058 |
14038 int main() { | 14059 int main() { |
14039 AuOpenServer() | 14060 AuOpenServer() |
14040 ; return 0; } | 14061 ; return 0; } |
14041 EOF | 14062 EOF |
14042 if { (eval echo configure:14043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14063 if { (eval echo configure:14064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14043 rm -rf conftest* | 14064 rm -rf conftest* |
14044 eval "ac_cv_lib_$ac_lib_var=yes" | 14065 eval "ac_cv_lib_$ac_lib_var=yes" |
14045 else | 14066 else |
14046 echo "configure: failed program was:" >&5 | 14067 echo "configure: failed program was:" >&5 |
14047 cat conftest.$ac_ext >&5 | 14068 cat conftest.$ac_ext >&5 |
14076 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14097 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14077 echo " xemacs will be linked with \"nas.o\"" | 14098 echo " xemacs will be linked with \"nas.o\"" |
14078 fi | 14099 fi |
14079 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14100 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14080 cat > conftest.$ac_ext <<EOF | 14101 cat > conftest.$ac_ext <<EOF |
14081 #line 14082 "configure" | 14102 #line 14103 "configure" |
14082 #include "confdefs.h" | 14103 #include "confdefs.h" |
14083 #include <audio/Xtutil.h> | 14104 #include <audio/Xtutil.h> |
14084 EOF | 14105 EOF |
14085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14086 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14107 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14107 | 14128 |
14108 if test "$with_esd_sound" != "no"; then | 14129 if test "$with_esd_sound" != "no"; then |
14109 # Extract the first word of "esd-config", so it can be a program name with args. | 14130 # Extract the first word of "esd-config", so it can be a program name with args. |
14110 set dummy esd-config; ac_word=$2 | 14131 set dummy esd-config; ac_word=$2 |
14111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14132 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14112 echo "configure:14113: checking for $ac_word" >&5 | 14133 echo "configure:14134: checking for $ac_word" >&5 |
14113 | 14134 |
14114 if test -n "$have_esd_config"; then | 14135 if test -n "$have_esd_config"; then |
14115 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14136 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14116 else | 14137 else |
14117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14138 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14136 if test "$have_esd_config" = "yes"; then | 14157 if test "$have_esd_config" = "yes"; then |
14137 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14158 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14138 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 14159 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
14139 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14160 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14140 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14161 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14141 echo "configure:14142: checking for esd_play_stream" >&5 | 14162 echo "configure:14163: checking for esd_play_stream" >&5 |
14142 | 14163 |
14143 cat > conftest.$ac_ext <<EOF | 14164 cat > conftest.$ac_ext <<EOF |
14144 #line 14145 "configure" | 14165 #line 14166 "configure" |
14145 #include "confdefs.h" | 14166 #include "confdefs.h" |
14146 /* System header to define __stub macros and hopefully few prototypes, | 14167 /* System header to define __stub macros and hopefully few prototypes, |
14147 which can conflict with char esd_play_stream(); below. */ | 14168 which can conflict with char esd_play_stream(); below. */ |
14148 #include <assert.h> | 14169 #include <assert.h> |
14149 /* Override any gcc2 internal prototype to avoid an error. */ | 14170 /* Override any gcc2 internal prototype to avoid an error. */ |
14162 esd_play_stream(); | 14183 esd_play_stream(); |
14163 #endif | 14184 #endif |
14164 | 14185 |
14165 ; return 0; } | 14186 ; return 0; } |
14166 EOF | 14187 EOF |
14167 if { (eval echo configure:14168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14188 if { (eval echo configure:14189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14168 rm -rf conftest* | 14189 rm -rf conftest* |
14169 eval "ac_cv_func_esd_play_stream=yes" | 14190 eval "ac_cv_func_esd_play_stream=yes" |
14170 else | 14191 else |
14171 echo "configure: failed program was:" >&5 | 14192 echo "configure: failed program was:" >&5 |
14172 cat conftest.$ac_ext >&5 | 14193 cat conftest.$ac_ext >&5 |
14213 | 14234 |
14214 test -z "$with_tty" && with_tty=yes | 14235 test -z "$with_tty" && with_tty=yes |
14215 | 14236 |
14216 if test "$with_tty" = "yes" ; then | 14237 if test "$with_tty" = "yes" ; then |
14217 echo "checking for TTY-related features" 1>&6 | 14238 echo "checking for TTY-related features" 1>&6 |
14218 echo "configure:14219: checking for TTY-related features" >&5 | 14239 echo "configure:14240: checking for TTY-related features" >&5 |
14219 { test "$extra_verbose" = "yes" && cat << \EOF | 14240 { test "$extra_verbose" = "yes" && cat << \EOF |
14220 Defining HAVE_TTY | 14241 Defining HAVE_TTY |
14221 EOF | 14242 EOF |
14222 cat >> confdefs.h <<\EOF | 14243 cat >> confdefs.h <<\EOF |
14223 #define HAVE_TTY 1 | 14244 #define HAVE_TTY 1 |
14226 | 14247 |
14227 | 14248 |
14228 if test -z "$with_ncurses"; then | 14249 if test -z "$with_ncurses"; then |
14229 | 14250 |
14230 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14251 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14231 echo "configure:14232: checking for tgetent in -lncurses" >&5 | 14252 echo "configure:14253: checking for tgetent in -lncurses" >&5 |
14232 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14253 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14233 | 14254 |
14234 xe_check_libs=" -lncurses " | 14255 xe_check_libs=" -lncurses " |
14235 cat > conftest.$ac_ext <<EOF | 14256 cat > conftest.$ac_ext <<EOF |
14236 #line 14237 "configure" | 14257 #line 14258 "configure" |
14237 #include "confdefs.h" | 14258 #include "confdefs.h" |
14238 /* Override any gcc2 internal prototype to avoid an error. */ | 14259 /* Override any gcc2 internal prototype to avoid an error. */ |
14239 /* We use char because int might match the return type of a gcc2 | 14260 /* We use char because int might match the return type of a gcc2 |
14240 builtin and then its argument prototype would still apply. */ | 14261 builtin and then its argument prototype would still apply. */ |
14241 char tgetent(); | 14262 char tgetent(); |
14242 | 14263 |
14243 int main() { | 14264 int main() { |
14244 tgetent() | 14265 tgetent() |
14245 ; return 0; } | 14266 ; return 0; } |
14246 EOF | 14267 EOF |
14247 if { (eval echo configure:14248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14268 if { (eval echo configure:14269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14248 rm -rf conftest* | 14269 rm -rf conftest* |
14249 eval "ac_cv_lib_$ac_lib_var=yes" | 14270 eval "ac_cv_lib_$ac_lib_var=yes" |
14250 else | 14271 else |
14251 echo "configure: failed program was:" >&5 | 14272 echo "configure: failed program was:" >&5 |
14252 cat conftest.$ac_ext >&5 | 14273 cat conftest.$ac_ext >&5 |
14275 EOF | 14296 EOF |
14276 } | 14297 } |
14277 | 14298 |
14278 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14299 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14279 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14300 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14280 echo "configure:14281: checking for ncurses/curses.h" >&5 | 14301 echo "configure:14302: checking for ncurses/curses.h" >&5 |
14281 | 14302 |
14282 cat > conftest.$ac_ext <<EOF | 14303 cat > conftest.$ac_ext <<EOF |
14283 #line 14284 "configure" | 14304 #line 14305 "configure" |
14284 #include "confdefs.h" | 14305 #include "confdefs.h" |
14285 #include <ncurses/curses.h> | 14306 #include <ncurses/curses.h> |
14286 EOF | 14307 EOF |
14287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14288 { (eval echo configure:14289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14309 { (eval echo configure:14310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14290 if test -z "$ac_err"; then | 14311 if test -z "$ac_err"; then |
14291 rm -rf conftest* | 14312 rm -rf conftest* |
14292 eval "ac_cv_header_$ac_safe=yes" | 14313 eval "ac_cv_header_$ac_safe=yes" |
14293 else | 14314 else |
14305 echo "$ac_t""no" 1>&6 | 14326 echo "$ac_t""no" 1>&6 |
14306 fi | 14327 fi |
14307 | 14328 |
14308 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14329 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14309 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14330 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14310 echo "configure:14311: checking for ncurses/term.h" >&5 | 14331 echo "configure:14332: checking for ncurses/term.h" >&5 |
14311 | 14332 |
14312 cat > conftest.$ac_ext <<EOF | 14333 cat > conftest.$ac_ext <<EOF |
14313 #line 14314 "configure" | 14334 #line 14335 "configure" |
14314 #include "confdefs.h" | 14335 #include "confdefs.h" |
14315 #include <ncurses/term.h> | 14336 #include <ncurses/term.h> |
14316 EOF | 14337 EOF |
14317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14318 { (eval echo configure:14319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14339 { (eval echo configure:14340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14320 if test -z "$ac_err"; then | 14341 if test -z "$ac_err"; then |
14321 rm -rf conftest* | 14342 rm -rf conftest* |
14322 eval "ac_cv_header_$ac_safe=yes" | 14343 eval "ac_cv_header_$ac_safe=yes" |
14323 else | 14344 else |
14343 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14364 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14344 save_c_switch_site="$c_switch_site" | 14365 save_c_switch_site="$c_switch_site" |
14345 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14366 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14346 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14367 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14347 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14368 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14348 echo "configure:14349: checking for ncurses/curses.h" >&5 | 14369 echo "configure:14370: checking for ncurses/curses.h" >&5 |
14349 | 14370 |
14350 cat > conftest.$ac_ext <<EOF | 14371 cat > conftest.$ac_ext <<EOF |
14351 #line 14352 "configure" | 14372 #line 14373 "configure" |
14352 #include "confdefs.h" | 14373 #include "confdefs.h" |
14353 #include <ncurses/curses.h> | 14374 #include <ncurses/curses.h> |
14354 EOF | 14375 EOF |
14355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14356 { (eval echo configure:14357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14377 { (eval echo configure:14378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14358 if test -z "$ac_err"; then | 14379 if test -z "$ac_err"; then |
14359 rm -rf conftest* | 14380 rm -rf conftest* |
14360 eval "ac_cv_header_$ac_safe=yes" | 14381 eval "ac_cv_header_$ac_safe=yes" |
14361 else | 14382 else |
14386 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14407 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14387 else | 14408 else |
14388 for lib in curses termlib termcap; do | 14409 for lib in curses termlib termcap; do |
14389 | 14410 |
14390 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14411 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14391 echo "configure:14392: checking for tgetent in -l$lib" >&5 | 14412 echo "configure:14413: checking for tgetent in -l$lib" >&5 |
14392 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14413 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14393 | 14414 |
14394 xe_check_libs=" -l$lib " | 14415 xe_check_libs=" -l$lib " |
14395 cat > conftest.$ac_ext <<EOF | 14416 cat > conftest.$ac_ext <<EOF |
14396 #line 14397 "configure" | 14417 #line 14418 "configure" |
14397 #include "confdefs.h" | 14418 #include "confdefs.h" |
14398 /* Override any gcc2 internal prototype to avoid an error. */ | 14419 /* Override any gcc2 internal prototype to avoid an error. */ |
14399 /* We use char because int might match the return type of a gcc2 | 14420 /* We use char because int might match the return type of a gcc2 |
14400 builtin and then its argument prototype would still apply. */ | 14421 builtin and then its argument prototype would still apply. */ |
14401 char tgetent(); | 14422 char tgetent(); |
14402 | 14423 |
14403 int main() { | 14424 int main() { |
14404 tgetent() | 14425 tgetent() |
14405 ; return 0; } | 14426 ; return 0; } |
14406 EOF | 14427 EOF |
14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14428 if { (eval echo configure:14429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14408 rm -rf conftest* | 14429 rm -rf conftest* |
14409 eval "ac_cv_lib_$ac_lib_var=yes" | 14430 eval "ac_cv_lib_$ac_lib_var=yes" |
14410 else | 14431 else |
14411 echo "configure: failed program was:" >&5 | 14432 echo "configure: failed program was:" >&5 |
14412 cat conftest.$ac_ext >&5 | 14433 cat conftest.$ac_ext >&5 |
14433 if test -n "$libs_termcap"; then | 14454 if test -n "$libs_termcap"; then |
14434 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14455 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14435 else | 14456 else |
14436 | 14457 |
14437 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14458 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14438 echo "configure:14439: checking for tgetent in -lcurses" >&5 | 14459 echo "configure:14460: checking for tgetent in -lcurses" >&5 |
14439 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14460 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14440 | 14461 |
14441 xe_check_libs=" -lcurses " | 14462 xe_check_libs=" -lcurses " |
14442 cat > conftest.$ac_ext <<EOF | 14463 cat > conftest.$ac_ext <<EOF |
14443 #line 14444 "configure" | 14464 #line 14465 "configure" |
14444 #include "confdefs.h" | 14465 #include "confdefs.h" |
14445 /* Override any gcc2 internal prototype to avoid an error. */ | 14466 /* Override any gcc2 internal prototype to avoid an error. */ |
14446 /* We use char because int might match the return type of a gcc2 | 14467 /* We use char because int might match the return type of a gcc2 |
14447 builtin and then its argument prototype would still apply. */ | 14468 builtin and then its argument prototype would still apply. */ |
14448 char tgetent(); | 14469 char tgetent(); |
14449 | 14470 |
14450 int main() { | 14471 int main() { |
14451 tgetent() | 14472 tgetent() |
14452 ; return 0; } | 14473 ; return 0; } |
14453 EOF | 14474 EOF |
14454 if { (eval echo configure:14455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14475 if { (eval echo configure:14476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14455 rm -rf conftest* | 14476 rm -rf conftest* |
14456 eval "ac_cv_lib_$ac_lib_var=yes" | 14477 eval "ac_cv_lib_$ac_lib_var=yes" |
14457 else | 14478 else |
14458 echo "configure: failed program was:" >&5 | 14479 echo "configure: failed program was:" >&5 |
14459 cat conftest.$ac_ext >&5 | 14480 cat conftest.$ac_ext >&5 |
14467 echo "$ac_t""yes" 1>&6 | 14488 echo "$ac_t""yes" 1>&6 |
14468 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14489 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14469 else | 14490 else |
14470 echo "$ac_t""no" 1>&6 | 14491 echo "$ac_t""no" 1>&6 |
14471 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14492 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14472 echo "configure:14473: checking for tgetent in -ltermcap" >&5 | 14493 echo "configure:14494: checking for tgetent in -ltermcap" >&5 |
14473 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14494 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14474 | 14495 |
14475 xe_check_libs=" -ltermcap " | 14496 xe_check_libs=" -ltermcap " |
14476 cat > conftest.$ac_ext <<EOF | 14497 cat > conftest.$ac_ext <<EOF |
14477 #line 14478 "configure" | 14498 #line 14499 "configure" |
14478 #include "confdefs.h" | 14499 #include "confdefs.h" |
14479 /* Override any gcc2 internal prototype to avoid an error. */ | 14500 /* Override any gcc2 internal prototype to avoid an error. */ |
14480 /* We use char because int might match the return type of a gcc2 | 14501 /* We use char because int might match the return type of a gcc2 |
14481 builtin and then its argument prototype would still apply. */ | 14502 builtin and then its argument prototype would still apply. */ |
14482 char tgetent(); | 14503 char tgetent(); |
14483 | 14504 |
14484 int main() { | 14505 int main() { |
14485 tgetent() | 14506 tgetent() |
14486 ; return 0; } | 14507 ; return 0; } |
14487 EOF | 14508 EOF |
14488 if { (eval echo configure:14489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14509 if { (eval echo configure:14510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14489 rm -rf conftest* | 14510 rm -rf conftest* |
14490 eval "ac_cv_lib_$ac_lib_var=yes" | 14511 eval "ac_cv_lib_$ac_lib_var=yes" |
14491 else | 14512 else |
14492 echo "configure: failed program was:" >&5 | 14513 echo "configure: failed program was:" >&5 |
14493 cat conftest.$ac_ext >&5 | 14514 cat conftest.$ac_ext >&5 |
14531 } | 14552 } |
14532 | 14553 |
14533 | 14554 |
14534 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14555 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14535 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14556 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14536 echo "configure:14537: checking for gpm.h" >&5 | 14557 echo "configure:14558: checking for gpm.h" >&5 |
14537 | 14558 |
14538 cat > conftest.$ac_ext <<EOF | 14559 cat > conftest.$ac_ext <<EOF |
14539 #line 14540 "configure" | 14560 #line 14561 "configure" |
14540 #include "confdefs.h" | 14561 #include "confdefs.h" |
14541 #include <gpm.h> | 14562 #include <gpm.h> |
14542 EOF | 14563 EOF |
14543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14544 { (eval echo configure:14545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14565 { (eval echo configure:14566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14546 if test -z "$ac_err"; then | 14567 if test -z "$ac_err"; then |
14547 rm -rf conftest* | 14568 rm -rf conftest* |
14548 eval "ac_cv_header_$ac_safe=yes" | 14569 eval "ac_cv_header_$ac_safe=yes" |
14549 else | 14570 else |
14562 with_gpm=no | 14583 with_gpm=no |
14563 fi | 14584 fi |
14564 } | 14585 } |
14565 test -z "$with_gpm" && { | 14586 test -z "$with_gpm" && { |
14566 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14587 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14567 echo "configure:14568: checking for Gpm_Open in -lgpm" >&5 | 14588 echo "configure:14589: checking for Gpm_Open in -lgpm" >&5 |
14568 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14589 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14569 | 14590 |
14570 xe_check_libs=" -lgpm " | 14591 xe_check_libs=" -lgpm " |
14571 cat > conftest.$ac_ext <<EOF | 14592 cat > conftest.$ac_ext <<EOF |
14572 #line 14573 "configure" | 14593 #line 14594 "configure" |
14573 #include "confdefs.h" | 14594 #include "confdefs.h" |
14574 /* Override any gcc2 internal prototype to avoid an error. */ | 14595 /* Override any gcc2 internal prototype to avoid an error. */ |
14575 /* We use char because int might match the return type of a gcc2 | 14596 /* We use char because int might match the return type of a gcc2 |
14576 builtin and then its argument prototype would still apply. */ | 14597 builtin and then its argument prototype would still apply. */ |
14577 char Gpm_Open(); | 14598 char Gpm_Open(); |
14578 | 14599 |
14579 int main() { | 14600 int main() { |
14580 Gpm_Open() | 14601 Gpm_Open() |
14581 ; return 0; } | 14602 ; return 0; } |
14582 EOF | 14603 EOF |
14583 if { (eval echo configure:14584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14604 if { (eval echo configure:14605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14584 rm -rf conftest* | 14605 rm -rf conftest* |
14585 eval "ac_cv_lib_$ac_lib_var=yes" | 14606 eval "ac_cv_lib_$ac_lib_var=yes" |
14586 else | 14607 else |
14587 echo "configure: failed program was:" >&5 | 14608 echo "configure: failed program was:" >&5 |
14588 cat conftest.$ac_ext >&5 | 14609 cat conftest.$ac_ext >&5 |
14621 done | 14642 done |
14622 fi | 14643 fi |
14623 | 14644 |
14624 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14645 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14625 != "no no no" && echo "checking for database support" 1>&6 | 14646 != "no no no" && echo "checking for database support" 1>&6 |
14626 echo "configure:14627: checking for database support" >&5 | 14647 echo "configure:14648: checking for database support" >&5 |
14627 | 14648 |
14628 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14649 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14629 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14650 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14630 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14651 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14631 echo "configure:14632: checking for ndbm.h" >&5 | 14652 echo "configure:14653: checking for ndbm.h" >&5 |
14632 | 14653 |
14633 cat > conftest.$ac_ext <<EOF | 14654 cat > conftest.$ac_ext <<EOF |
14634 #line 14635 "configure" | 14655 #line 14656 "configure" |
14635 #include "confdefs.h" | 14656 #include "confdefs.h" |
14636 #include <ndbm.h> | 14657 #include <ndbm.h> |
14637 EOF | 14658 EOF |
14638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14639 { (eval echo configure:14640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14660 { (eval echo configure:14661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14641 if test -z "$ac_err"; then | 14662 if test -z "$ac_err"; then |
14642 rm -rf conftest* | 14663 rm -rf conftest* |
14643 eval "ac_cv_header_$ac_safe=yes" | 14664 eval "ac_cv_header_$ac_safe=yes" |
14644 else | 14665 else |
14664 fi | 14685 fi |
14665 | 14686 |
14666 if test "$with_database_gdbm" != "no"; then | 14687 if test "$with_database_gdbm" != "no"; then |
14667 | 14688 |
14668 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14689 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14669 echo "configure:14670: checking for dbm_open in -lgdbm" >&5 | 14690 echo "configure:14691: checking for dbm_open in -lgdbm" >&5 |
14670 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14691 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14671 | 14692 |
14672 xe_check_libs=" -lgdbm " | 14693 xe_check_libs=" -lgdbm " |
14673 cat > conftest.$ac_ext <<EOF | 14694 cat > conftest.$ac_ext <<EOF |
14674 #line 14675 "configure" | 14695 #line 14696 "configure" |
14675 #include "confdefs.h" | 14696 #include "confdefs.h" |
14676 /* Override any gcc2 internal prototype to avoid an error. */ | 14697 /* Override any gcc2 internal prototype to avoid an error. */ |
14677 /* We use char because int might match the return type of a gcc2 | 14698 /* We use char because int might match the return type of a gcc2 |
14678 builtin and then its argument prototype would still apply. */ | 14699 builtin and then its argument prototype would still apply. */ |
14679 char dbm_open(); | 14700 char dbm_open(); |
14680 | 14701 |
14681 int main() { | 14702 int main() { |
14682 dbm_open() | 14703 dbm_open() |
14683 ; return 0; } | 14704 ; return 0; } |
14684 EOF | 14705 EOF |
14685 if { (eval echo configure:14686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14706 if { (eval echo configure:14707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14686 rm -rf conftest* | 14707 rm -rf conftest* |
14687 eval "ac_cv_lib_$ac_lib_var=yes" | 14708 eval "ac_cv_lib_$ac_lib_var=yes" |
14688 else | 14709 else |
14689 echo "configure: failed program was:" >&5 | 14710 echo "configure: failed program was:" >&5 |
14690 cat conftest.$ac_ext >&5 | 14711 cat conftest.$ac_ext >&5 |
14708 | 14729 |
14709 fi | 14730 fi |
14710 | 14731 |
14711 if test "$with_database_dbm" != "no"; then | 14732 if test "$with_database_dbm" != "no"; then |
14712 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14733 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14713 echo "configure:14714: checking for dbm_open" >&5 | 14734 echo "configure:14735: checking for dbm_open" >&5 |
14714 | 14735 |
14715 cat > conftest.$ac_ext <<EOF | 14736 cat > conftest.$ac_ext <<EOF |
14716 #line 14717 "configure" | 14737 #line 14738 "configure" |
14717 #include "confdefs.h" | 14738 #include "confdefs.h" |
14718 /* System header to define __stub macros and hopefully few prototypes, | 14739 /* System header to define __stub macros and hopefully few prototypes, |
14719 which can conflict with char dbm_open(); below. */ | 14740 which can conflict with char dbm_open(); below. */ |
14720 #include <assert.h> | 14741 #include <assert.h> |
14721 /* Override any gcc2 internal prototype to avoid an error. */ | 14742 /* Override any gcc2 internal prototype to avoid an error. */ |
14734 dbm_open(); | 14755 dbm_open(); |
14735 #endif | 14756 #endif |
14736 | 14757 |
14737 ; return 0; } | 14758 ; return 0; } |
14738 EOF | 14759 EOF |
14739 if { (eval echo configure:14740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14760 if { (eval echo configure:14761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14740 rm -rf conftest* | 14761 rm -rf conftest* |
14741 eval "ac_cv_func_dbm_open=yes" | 14762 eval "ac_cv_func_dbm_open=yes" |
14742 else | 14763 else |
14743 echo "configure: failed program was:" >&5 | 14764 echo "configure: failed program was:" >&5 |
14744 cat conftest.$ac_ext >&5 | 14765 cat conftest.$ac_ext >&5 |
14753 else | 14774 else |
14754 echo "$ac_t""no" 1>&6 | 14775 echo "$ac_t""no" 1>&6 |
14755 | 14776 |
14756 | 14777 |
14757 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14778 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14758 echo "configure:14759: checking for dbm_open in -ldbm" >&5 | 14779 echo "configure:14780: checking for dbm_open in -ldbm" >&5 |
14759 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14780 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14760 | 14781 |
14761 xe_check_libs=" -ldbm " | 14782 xe_check_libs=" -ldbm " |
14762 cat > conftest.$ac_ext <<EOF | 14783 cat > conftest.$ac_ext <<EOF |
14763 #line 14764 "configure" | 14784 #line 14785 "configure" |
14764 #include "confdefs.h" | 14785 #include "confdefs.h" |
14765 /* Override any gcc2 internal prototype to avoid an error. */ | 14786 /* Override any gcc2 internal prototype to avoid an error. */ |
14766 /* We use char because int might match the return type of a gcc2 | 14787 /* We use char because int might match the return type of a gcc2 |
14767 builtin and then its argument prototype would still apply. */ | 14788 builtin and then its argument prototype would still apply. */ |
14768 char dbm_open(); | 14789 char dbm_open(); |
14769 | 14790 |
14770 int main() { | 14791 int main() { |
14771 dbm_open() | 14792 dbm_open() |
14772 ; return 0; } | 14793 ; return 0; } |
14773 EOF | 14794 EOF |
14774 if { (eval echo configure:14775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14795 if { (eval echo configure:14796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14775 rm -rf conftest* | 14796 rm -rf conftest* |
14776 eval "ac_cv_lib_$ac_lib_var=yes" | 14797 eval "ac_cv_lib_$ac_lib_var=yes" |
14777 else | 14798 else |
14778 echo "configure: failed program was:" >&5 | 14799 echo "configure: failed program was:" >&5 |
14779 cat conftest.$ac_ext >&5 | 14800 cat conftest.$ac_ext >&5 |
14810 } | 14831 } |
14811 | 14832 |
14812 | 14833 |
14813 if test "$with_database_berkdb" != "no"; then | 14834 if test "$with_database_berkdb" != "no"; then |
14814 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14835 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14815 echo "configure:14816: checking for Berkeley db.h" >&5 | 14836 echo "configure:14837: checking for Berkeley db.h" >&5 |
14816 for header in "db/db.h" "db.h"; do | 14837 for header in "db/db.h" "db.h"; do |
14817 cat > conftest.$ac_ext <<EOF | 14838 cat > conftest.$ac_ext <<EOF |
14818 #line 14819 "configure" | 14839 #line 14840 "configure" |
14819 #include "confdefs.h" | 14840 #include "confdefs.h" |
14820 | 14841 |
14821 #include <stdlib.h> | 14842 #include <stdlib.h> |
14822 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14843 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14823 #ifdef HAVE_INTTYPES_H | 14844 #ifdef HAVE_INTTYPES_H |
14835 | 14856 |
14836 int main() { | 14857 int main() { |
14837 | 14858 |
14838 ; return 0; } | 14859 ; return 0; } |
14839 EOF | 14860 EOF |
14840 if { (eval echo configure:14841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14861 if { (eval echo configure:14862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14841 rm -rf conftest* | 14862 rm -rf conftest* |
14842 db_h_file="$header"; break | 14863 db_h_file="$header"; break |
14843 else | 14864 else |
14844 echo "configure: failed program was:" >&5 | 14865 echo "configure: failed program was:" >&5 |
14845 cat conftest.$ac_ext >&5 | 14866 cat conftest.$ac_ext >&5 |
14851 else echo "$ac_t""$db_h_file" 1>&6 | 14872 else echo "$ac_t""$db_h_file" 1>&6 |
14852 fi | 14873 fi |
14853 | 14874 |
14854 if test "$with_database_berkdb" != "no"; then | 14875 if test "$with_database_berkdb" != "no"; then |
14855 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14876 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14856 echo "configure:14857: checking for Berkeley DB version" >&5 | 14877 echo "configure:14878: checking for Berkeley DB version" >&5 |
14857 cat > conftest.$ac_ext <<EOF | 14878 cat > conftest.$ac_ext <<EOF |
14858 #line 14859 "configure" | 14879 #line 14880 "configure" |
14859 #include "confdefs.h" | 14880 #include "confdefs.h" |
14860 #include <$db_h_file> | 14881 #include <$db_h_file> |
14861 #if DB_VERSION_MAJOR > 1 | 14882 #if DB_VERSION_MAJOR > 1 |
14862 yes | 14883 yes |
14863 #endif | 14884 #endif |
14865 EOF | 14886 EOF |
14866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14867 egrep "yes" >/dev/null 2>&1; then | 14888 egrep "yes" >/dev/null 2>&1; then |
14868 rm -rf conftest* | 14889 rm -rf conftest* |
14869 cat > conftest.$ac_ext <<EOF | 14890 cat > conftest.$ac_ext <<EOF |
14870 #line 14871 "configure" | 14891 #line 14892 "configure" |
14871 #include "confdefs.h" | 14892 #include "confdefs.h" |
14872 #include <$db_h_file> | 14893 #include <$db_h_file> |
14873 #if DB_VERSION_MAJOR > 2 | 14894 #if DB_VERSION_MAJOR > 2 |
14874 yes | 14895 yes |
14875 #endif | 14896 #endif |
14892 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14913 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14893 fi | 14914 fi |
14894 rm -f conftest* | 14915 rm -f conftest* |
14895 | 14916 |
14896 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14917 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14897 echo "configure:14898: checking for $dbfunc" >&5 | 14918 echo "configure:14919: checking for $dbfunc" >&5 |
14898 | 14919 |
14899 cat > conftest.$ac_ext <<EOF | 14920 cat > conftest.$ac_ext <<EOF |
14900 #line 14901 "configure" | 14921 #line 14922 "configure" |
14901 #include "confdefs.h" | 14922 #include "confdefs.h" |
14902 /* System header to define __stub macros and hopefully few prototypes, | 14923 /* System header to define __stub macros and hopefully few prototypes, |
14903 which can conflict with char $dbfunc(); below. */ | 14924 which can conflict with char $dbfunc(); below. */ |
14904 #include <assert.h> | 14925 #include <assert.h> |
14905 /* Override any gcc2 internal prototype to avoid an error. */ | 14926 /* Override any gcc2 internal prototype to avoid an error. */ |
14918 $dbfunc(); | 14939 $dbfunc(); |
14919 #endif | 14940 #endif |
14920 | 14941 |
14921 ; return 0; } | 14942 ; return 0; } |
14922 EOF | 14943 EOF |
14923 if { (eval echo configure:14924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14944 if { (eval echo configure:14945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14924 rm -rf conftest* | 14945 rm -rf conftest* |
14925 eval "ac_cv_func_$dbfunc=yes" | 14946 eval "ac_cv_func_$dbfunc=yes" |
14926 else | 14947 else |
14927 echo "configure: failed program was:" >&5 | 14948 echo "configure: failed program was:" >&5 |
14928 cat conftest.$ac_ext >&5 | 14949 cat conftest.$ac_ext >&5 |
14937 else | 14958 else |
14938 echo "$ac_t""no" 1>&6 | 14959 echo "$ac_t""no" 1>&6 |
14939 | 14960 |
14940 | 14961 |
14941 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14962 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14942 echo "configure:14943: checking for $dbfunc in -ldb" >&5 | 14963 echo "configure:14964: checking for $dbfunc in -ldb" >&5 |
14943 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14964 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14944 | 14965 |
14945 xe_check_libs=" -ldb " | 14966 xe_check_libs=" -ldb " |
14946 cat > conftest.$ac_ext <<EOF | 14967 cat > conftest.$ac_ext <<EOF |
14947 #line 14948 "configure" | 14968 #line 14969 "configure" |
14948 #include "confdefs.h" | 14969 #include "confdefs.h" |
14949 /* Override any gcc2 internal prototype to avoid an error. */ | 14970 /* Override any gcc2 internal prototype to avoid an error. */ |
14950 /* We use char because int might match the return type of a gcc2 | 14971 /* We use char because int might match the return type of a gcc2 |
14951 builtin and then its argument prototype would still apply. */ | 14972 builtin and then its argument prototype would still apply. */ |
14952 char $dbfunc(); | 14973 char $dbfunc(); |
14953 | 14974 |
14954 int main() { | 14975 int main() { |
14955 $dbfunc() | 14976 $dbfunc() |
14956 ; return 0; } | 14977 ; return 0; } |
14957 EOF | 14978 EOF |
14958 if { (eval echo configure:14959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14979 if { (eval echo configure:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14959 rm -rf conftest* | 14980 rm -rf conftest* |
14960 eval "ac_cv_lib_$ac_lib_var=yes" | 14981 eval "ac_cv_lib_$ac_lib_var=yes" |
14961 else | 14982 else |
14962 echo "configure: failed program was:" >&5 | 14983 echo "configure: failed program was:" >&5 |
14963 cat conftest.$ac_ext >&5 | 14984 cat conftest.$ac_ext >&5 |
15014 fi | 15035 fi |
15015 | 15036 |
15016 if test "$with_socks" = "yes"; then | 15037 if test "$with_socks" = "yes"; then |
15017 | 15038 |
15018 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15039 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15019 echo "configure:15020: checking for SOCKSinit in -lsocks" >&5 | 15040 echo "configure:15041: checking for SOCKSinit in -lsocks" >&5 |
15020 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15041 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15021 | 15042 |
15022 xe_check_libs=" -lsocks " | 15043 xe_check_libs=" -lsocks " |
15023 cat > conftest.$ac_ext <<EOF | 15044 cat > conftest.$ac_ext <<EOF |
15024 #line 15025 "configure" | 15045 #line 15046 "configure" |
15025 #include "confdefs.h" | 15046 #include "confdefs.h" |
15026 /* Override any gcc2 internal prototype to avoid an error. */ | 15047 /* Override any gcc2 internal prototype to avoid an error. */ |
15027 /* We use char because int might match the return type of a gcc2 | 15048 /* We use char because int might match the return type of a gcc2 |
15028 builtin and then its argument prototype would still apply. */ | 15049 builtin and then its argument prototype would still apply. */ |
15029 char SOCKSinit(); | 15050 char SOCKSinit(); |
15030 | 15051 |
15031 int main() { | 15052 int main() { |
15032 SOCKSinit() | 15053 SOCKSinit() |
15033 ; return 0; } | 15054 ; return 0; } |
15034 EOF | 15055 EOF |
15035 if { (eval echo configure:15036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15056 if { (eval echo configure:15057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15036 rm -rf conftest* | 15057 rm -rf conftest* |
15037 eval "ac_cv_lib_$ac_lib_var=yes" | 15058 eval "ac_cv_lib_$ac_lib_var=yes" |
15038 else | 15059 else |
15039 echo "configure: failed program was:" >&5 | 15060 echo "configure: failed program was:" >&5 |
15040 cat conftest.$ac_ext >&5 | 15061 cat conftest.$ac_ext >&5 |
15084 | 15105 |
15085 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15106 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15086 fi | 15107 fi |
15087 | 15108 |
15088 cat > conftest.$ac_ext <<EOF | 15109 cat > conftest.$ac_ext <<EOF |
15089 #line 15090 "configure" | 15110 #line 15111 "configure" |
15090 #include "confdefs.h" | 15111 #include "confdefs.h" |
15091 int main(int c,char *v[]){return 0;} | 15112 int main(int c,char *v[]){return 0;} |
15092 EOF | 15113 EOF |
15093 if { (eval echo configure:15094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15114 if { (eval echo configure:15115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15094 then | 15115 then |
15095 : | 15116 : |
15096 else | 15117 else |
15097 conftest_rc="$?" | 15118 conftest_rc="$?" |
15098 echo "configure: failed program was:" >&5 | 15119 echo "configure: failed program was:" >&5 |