Mercurial > hg > xemacs-beta
comparison configure @ 1756:b5db5c9230b1
[xemacs-hg @ 2003-10-16 19:44:34 by james]
Support icc, the Intel compiler.
| author | james |
|---|---|
| date | Thu, 16 Oct 2003 19:44:37 +0000 |
| parents | cf42e3b47b41 |
| children | 6c853dd06f0d |
comparison
equal
deleted
inserted
replaced
| 1755:e2e5b8d4abd5 | 1756:b5db5c9230b1 |
|---|---|
| 2568 return 11; | 2568 return 11; |
| 2569 #elif defined __DECC | 2569 #elif defined __DECC |
| 2570 return 12; | 2570 return 12; |
| 2571 #elif defined __USLC__ && defined __SCO_VERSION__ | 2571 #elif defined __USLC__ && defined __SCO_VERSION__ |
| 2572 return 13; | 2572 return 13; |
| 2573 #elif defined __INTEL_COMPILER | |
| 2574 return 14; | |
| 2573 #else | 2575 #else |
| 2574 return 0; | 2576 return 0; |
| 2575 #endif | 2577 #endif |
| 2576 } | 2578 } |
| 2577 EOF | 2579 EOF |
| 2578 if { (eval echo configure:2579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2580 if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2579 then | 2581 then |
| 2580 : | 2582 : |
| 2581 else | 2583 else |
| 2582 conftest_rc="$?" | 2584 conftest_rc="$?" |
| 2583 echo "configure: failed program was:" >&5 | 2585 echo "configure: failed program was:" >&5 |
| 2584 cat conftest.$ac_ext >&5 | 2586 cat conftest.$ac_ext >&5 |
| 2585 rm -fr conftest* | 2587 rm -fr conftest* |
| 2586 case "$conftest_rc" in | 2588 case "$conftest_rc" in |
| 2587 11) echo "You appear to be using the SunPro C compiler."; __SUNPRO_C=yes ;; | 2589 11) echo "You appear to be using the SunPro C compiler." ; __SUNPRO_C=yes ;; |
| 2588 12) echo "You appear to be using the DEC C compiler." ; __DECC=yes ;; | 2590 12) echo "You appear to be using the DEC C compiler." ; __DECC=yes ;; |
| 2589 13) echo "You appear to be using the SCO C compiler." ; __USLC__=yes ;; | 2591 13) echo "You appear to be using the SCO C compiler." ; __USLC__=yes ;; |
| 2592 14) echo "You appear to be using the Intel C++ compiler."; __ICC=yes ;; | |
| 2590 esac | 2593 esac |
| 2591 fi | 2594 fi |
| 2592 rm -fr conftest* | 2595 rm -fr conftest* |
| 2593 | 2596 |
| 2594 | 2597 |
| 2825 | 2828 |
| 2826 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2829 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
| 2827 | 2830 |
| 2828 if test "$__USLC__" = yes; then | 2831 if test "$__USLC__" = yes; then |
| 2829 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2832 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
| 2830 echo "configure:2831: checking for whether the -Kalloca compiler flag is needed" >&5 | 2833 echo "configure:2834: checking for whether the -Kalloca compiler flag is needed" >&5 |
| 2831 need_kalloca=no | 2834 need_kalloca=no |
| 2832 cat > conftest.$ac_ext <<EOF | 2835 cat > conftest.$ac_ext <<EOF |
| 2833 #line 2834 "configure" | 2836 #line 2837 "configure" |
| 2834 #include "confdefs.h" | 2837 #include "confdefs.h" |
| 2835 | 2838 |
| 2836 int main() { | 2839 int main() { |
| 2837 void *x = alloca(4); | 2840 void *x = alloca(4); |
| 2838 ; return 0; } | 2841 ; return 0; } |
| 2839 EOF | 2842 EOF |
| 2840 if { (eval echo configure:2841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2843 if { (eval echo configure:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2841 rm -rf conftest* | 2844 rm -rf conftest* |
| 2842 : | 2845 : |
| 2843 else | 2846 else |
| 2844 echo "configure: failed program was:" >&5 | 2847 echo "configure: failed program was:" >&5 |
| 2845 cat conftest.$ac_ext >&5 | 2848 cat conftest.$ac_ext >&5 |
| 2846 rm -rf conftest* | 2849 rm -rf conftest* |
| 2847 | 2850 |
| 2848 xe_save_c_switch_system="$c_switch_system" | 2851 xe_save_c_switch_system="$c_switch_system" |
| 2849 c_switch_system="$c_switch_system -Kalloca" | 2852 c_switch_system="$c_switch_system -Kalloca" |
| 2850 cat > conftest.$ac_ext <<EOF | 2853 cat > conftest.$ac_ext <<EOF |
| 2851 #line 2852 "configure" | 2854 #line 2855 "configure" |
| 2852 #include "confdefs.h" | 2855 #include "confdefs.h" |
| 2853 | 2856 |
| 2854 int main() { | 2857 int main() { |
| 2855 void *x = alloca(4); | 2858 void *x = alloca(4); |
| 2856 ; return 0; } | 2859 ; return 0; } |
| 2857 EOF | 2860 EOF |
| 2858 if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2861 if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2859 rm -rf conftest* | 2862 rm -rf conftest* |
| 2860 need_kalloca=yes | 2863 need_kalloca=yes |
| 2861 else | 2864 else |
| 2862 echo "configure: failed program was:" >&5 | 2865 echo "configure: failed program was:" >&5 |
| 2863 cat conftest.$ac_ext >&5 | 2866 cat conftest.$ac_ext >&5 |
| 2880 esac | 2883 esac |
| 2881 elif test "$__DECC" = "yes"; then | 2884 elif test "$__DECC" = "yes"; then |
| 2882 CFLAGS="-O3" | 2885 CFLAGS="-O3" |
| 2883 elif test "$CC" = "xlc"; then | 2886 elif test "$CC" = "xlc"; then |
| 2884 CFLAGS="-g -O3 -qstrict -qnoansialias -qlibansi -qro -qmaxmem=20000" | 2887 CFLAGS="-g -O3 -qstrict -qnoansialias -qlibansi -qro -qmaxmem=20000" |
| 2888 elif test "$__ICC" = "yes"; then | |
| 2889 CFLAGS="-g -O3 -Ob2" | |
| 2885 else | 2890 else |
| 2886 CFLAGS="-O" ; fi | 2891 CFLAGS="-O" ; fi |
| 2887 fi | 2892 fi |
| 2888 | 2893 |
| 2889 | 2894 |
| 2906 case "$opsys" in | 2911 case "$opsys" in |
| 2907 sol2 ) cflags_warning="-v" ;; | 2912 sol2 ) cflags_warning="-v" ;; |
| 2908 esac | 2913 esac |
| 2909 elif test "$CC" = "xlc"; then | 2914 elif test "$CC" = "xlc"; then |
| 2910 cflags_warning="-qinfo" | 2915 cflags_warning="-qinfo" |
| 2916 elif test "$__ICC" = "yes"; then | |
| 2917 cflags_warning="-Wall -w1" | |
| 2911 fi | 2918 fi |
| 2912 fi | 2919 fi |
| 2913 | 2920 |
| 2914 CFLAGS="$cflags_warning $CFLAGS" | 2921 CFLAGS="$cflags_warning $CFLAGS" |
| 2915 | 2922 |
| 2916 if test "$GCC" = "yes"; then | 2923 if test "$GCC" = "yes"; then |
| 2917 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2924 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
| 2918 echo "configure:2919: checking for buggy gcc versions" >&5 | 2925 echo "configure:2926: checking for buggy gcc versions" >&5 |
| 2919 GCC_VERSION=`$CC --version` | 2926 GCC_VERSION=`$CC --version` |
| 2920 case `uname -s`:`uname -m`:$GCC_VERSION in | 2927 case `uname -s`:`uname -m`:$GCC_VERSION in |
| 2921 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2928 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
| 2922 case "$CFLAGS" in | 2929 case "$CFLAGS" in |
| 2923 *-O2*|*-O3*) | 2930 *-O2*|*-O3*) |
| 2971 echo "$ac_t""no" 1>&6 | 2978 echo "$ac_t""no" 1>&6 |
| 2972 fi | 2979 fi |
| 2973 | 2980 |
| 2974 if test "$pdump" != "yes"; then | 2981 if test "$pdump" != "yes"; then |
| 2975 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2982 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
| 2976 echo "configure:2977: checking for \"-z nocombreloc\" linker flag" >&5 | 2983 echo "configure:2984: checking for \"-z nocombreloc\" linker flag" >&5 |
| 2977 case "`ld --help 2>&1`" in | 2984 case "`ld --help 2>&1`" in |
| 2978 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2985 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
| 2979 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2986 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
| 2980 *) echo "$ac_t""no" 1>&6 ;; | 2987 *) echo "$ac_t""no" 1>&6 ;; |
| 2981 esac | 2988 esac |
| 3060 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3067 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
| 3061 echo " xemacs will be linked with \"dumper.o\"" | 3068 echo " xemacs will be linked with \"dumper.o\"" |
| 3062 fi | 3069 fi |
| 3063 | 3070 |
| 3064 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3071 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 3065 echo "configure:3066: checking for dynodump" >&5 | 3072 echo "configure:3073: checking for dynodump" >&5 |
| 3066 if test "$unexec" != "unexsol2.o"; then | 3073 if test "$unexec" != "unexsol2.o"; then |
| 3067 echo "$ac_t""no" 1>&6 | 3074 echo "$ac_t""no" 1>&6 |
| 3068 else | 3075 else |
| 3069 echo "$ac_t""yes" 1>&6 | 3076 echo "$ac_t""yes" 1>&6 |
| 3070 { test "$extra_verbose" = "yes" && cat << \EOF | 3077 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3098 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3105 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 3099 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3106 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 3100 done | 3107 done |
| 3101 | 3108 |
| 3102 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3109 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
| 3103 echo "configure:3104: checking for terminateAndUnload in -lC" >&5 | 3110 echo "configure:3111: checking for terminateAndUnload in -lC" >&5 |
| 3104 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3111 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
| 3105 | 3112 |
| 3106 xe_check_libs=" -lC " | 3113 xe_check_libs=" -lC " |
| 3107 cat > conftest.$ac_ext <<EOF | 3114 cat > conftest.$ac_ext <<EOF |
| 3108 #line 3109 "configure" | 3115 #line 3116 "configure" |
| 3109 #include "confdefs.h" | 3116 #include "confdefs.h" |
| 3110 /* Override any gcc2 internal prototype to avoid an error. */ | 3117 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3111 /* We use char because int might match the return type of a gcc2 | 3118 /* We use char because int might match the return type of a gcc2 |
| 3112 builtin and then its argument prototype would still apply. */ | 3119 builtin and then its argument prototype would still apply. */ |
| 3113 char terminateAndUnload(); | 3120 char terminateAndUnload(); |
| 3114 | 3121 |
| 3115 int main() { | 3122 int main() { |
| 3116 terminateAndUnload() | 3123 terminateAndUnload() |
| 3117 ; return 0; } | 3124 ; return 0; } |
| 3118 EOF | 3125 EOF |
| 3119 if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3126 if { (eval echo configure:3127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3120 rm -rf conftest* | 3127 rm -rf conftest* |
| 3121 eval "ac_cv_lib_$ac_lib_var=yes" | 3128 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3122 else | 3129 else |
| 3123 echo "configure: failed program was:" >&5 | 3130 echo "configure: failed program was:" >&5 |
| 3124 cat conftest.$ac_ext >&5 | 3131 cat conftest.$ac_ext >&5 |
| 3222 esac | 3229 esac |
| 3223 fi | 3230 fi |
| 3224 | 3231 |
| 3225 if test "$add_runtime_path" = "yes"; then | 3232 if test "$add_runtime_path" = "yes"; then |
| 3226 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3233 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 3227 echo "configure:3228: checking "for runtime libraries flag"" >&5 | 3234 echo "configure:3235: checking "for runtime libraries flag"" >&5 |
| 3228 case "$opsys" in | 3235 case "$opsys" in |
| 3229 sol2 ) dash_r="-R" ;; | 3236 sol2 ) dash_r="-R" ;; |
| 3230 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3237 decosf* | linux* | irix*) dash_r="-rpath " ;; |
| 3231 *) | 3238 *) |
| 3232 dash_r="" | 3239 dash_r="" |
| 3244 esac | 3251 esac |
| 3245 shift | 3252 shift |
| 3246 done | 3253 done |
| 3247 fi | 3254 fi |
| 3248 cat > conftest.$ac_ext <<EOF | 3255 cat > conftest.$ac_ext <<EOF |
| 3249 #line 3250 "configure" | 3256 #line 3257 "configure" |
| 3250 #include "confdefs.h" | 3257 #include "confdefs.h" |
| 3251 | 3258 |
| 3252 int main() { | 3259 int main() { |
| 3253 | 3260 |
| 3254 ; return 0; } | 3261 ; return 0; } |
| 3255 EOF | 3262 EOF |
| 3256 if { (eval echo configure:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3263 if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3257 rm -rf conftest* | 3264 rm -rf conftest* |
| 3258 dash_r="$try_dash_r" | 3265 dash_r="$try_dash_r" |
| 3259 else | 3266 else |
| 3260 echo "configure: failed program was:" >&5 | 3267 echo "configure: failed program was:" >&5 |
| 3261 cat conftest.$ac_ext >&5 | 3268 cat conftest.$ac_ext >&5 |
| 3352 else | 3359 else |
| 3353 doug_lea_malloc=no | 3360 doug_lea_malloc=no |
| 3354 fi | 3361 fi |
| 3355 after_morecore_hook_exists=yes | 3362 after_morecore_hook_exists=yes |
| 3356 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3363 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 3357 echo "configure:3358: checking for malloc_set_state" >&5 | 3364 echo "configure:3365: checking for malloc_set_state" >&5 |
| 3358 | 3365 |
| 3359 cat > conftest.$ac_ext <<EOF | 3366 cat > conftest.$ac_ext <<EOF |
| 3360 #line 3361 "configure" | 3367 #line 3368 "configure" |
| 3361 #include "confdefs.h" | 3368 #include "confdefs.h" |
| 3362 /* System header to define __stub macros and hopefully few prototypes, | 3369 /* System header to define __stub macros and hopefully few prototypes, |
| 3363 which can conflict with char malloc_set_state(); below. */ | 3370 which can conflict with char malloc_set_state(); below. */ |
| 3364 #include <assert.h> | 3371 #include <assert.h> |
| 3365 /* Override any gcc2 internal prototype to avoid an error. */ | 3372 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3378 malloc_set_state(); | 3385 malloc_set_state(); |
| 3379 #endif | 3386 #endif |
| 3380 | 3387 |
| 3381 ; return 0; } | 3388 ; return 0; } |
| 3382 EOF | 3389 EOF |
| 3383 if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3390 if { (eval echo configure:3391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3384 rm -rf conftest* | 3391 rm -rf conftest* |
| 3385 eval "ac_cv_func_malloc_set_state=yes" | 3392 eval "ac_cv_func_malloc_set_state=yes" |
| 3386 else | 3393 else |
| 3387 echo "configure: failed program was:" >&5 | 3394 echo "configure: failed program was:" >&5 |
| 3388 cat conftest.$ac_ext >&5 | 3395 cat conftest.$ac_ext >&5 |
| 3398 echo "$ac_t""no" 1>&6 | 3405 echo "$ac_t""no" 1>&6 |
| 3399 doug_lea_malloc=no | 3406 doug_lea_malloc=no |
| 3400 fi | 3407 fi |
| 3401 | 3408 |
| 3402 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3409 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 3403 echo "configure:3404: checking whether __after_morecore_hook exists" >&5 | 3410 echo "configure:3411: checking whether __after_morecore_hook exists" >&5 |
| 3404 cat > conftest.$ac_ext <<EOF | 3411 cat > conftest.$ac_ext <<EOF |
| 3405 #line 3406 "configure" | 3412 #line 3413 "configure" |
| 3406 #include "confdefs.h" | 3413 #include "confdefs.h" |
| 3407 extern void (* __after_morecore_hook)(); | 3414 extern void (* __after_morecore_hook)(); |
| 3408 int main() { | 3415 int main() { |
| 3409 __after_morecore_hook = 0 | 3416 __after_morecore_hook = 0 |
| 3410 ; return 0; } | 3417 ; return 0; } |
| 3411 EOF | 3418 EOF |
| 3412 if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3419 if { (eval echo configure:3420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3413 rm -rf conftest* | 3420 rm -rf conftest* |
| 3414 echo "$ac_t""yes" 1>&6 | 3421 echo "$ac_t""yes" 1>&6 |
| 3415 else | 3422 else |
| 3416 echo "configure: failed program was:" >&5 | 3423 echo "configure: failed program was:" >&5 |
| 3417 cat conftest.$ac_ext >&5 | 3424 cat conftest.$ac_ext >&5 |
| 3463 | 3470 |
| 3464 | 3471 |
| 3465 # Extract the first word of "ranlib", so it can be a program name with args. | 3472 # Extract the first word of "ranlib", so it can be a program name with args. |
| 3466 set dummy ranlib; ac_word=$2 | 3473 set dummy ranlib; ac_word=$2 |
| 3467 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3474 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3468 echo "configure:3469: checking for $ac_word" >&5 | 3475 echo "configure:3476: checking for $ac_word" >&5 |
| 3469 | 3476 |
| 3470 if test -n "$RANLIB"; then | 3477 if test -n "$RANLIB"; then |
| 3471 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3478 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3472 else | 3479 else |
| 3473 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 3518 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3519 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3520 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3521 # ./install, which can be erroneously created by make from ./install.sh. | 3528 # ./install, which can be erroneously created by make from ./install.sh. |
| 3522 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3529 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 3523 echo "configure:3524: checking for a BSD compatible install" >&5 | 3530 echo "configure:3531: checking for a BSD compatible install" >&5 |
| 3524 if test -z "$INSTALL"; then | 3531 if test -z "$INSTALL"; then |
| 3525 | 3532 |
| 3526 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3533 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 3527 for ac_dir in $PATH; do | 3534 for ac_dir in $PATH; do |
| 3528 # Account for people who put trailing slashes in PATH elements. | 3535 # Account for people who put trailing slashes in PATH elements. |
| 3572 for ac_prog in 'bison -y' byacc | 3579 for ac_prog in 'bison -y' byacc |
| 3573 do | 3580 do |
| 3574 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3581 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3575 set dummy $ac_prog; ac_word=$2 | 3582 set dummy $ac_prog; ac_word=$2 |
| 3576 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3577 echo "configure:3578: checking for $ac_word" >&5 | 3584 echo "configure:3585: checking for $ac_word" >&5 |
| 3578 | 3585 |
| 3579 if test -n "$YACC"; then | 3586 if test -n "$YACC"; then |
| 3580 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3587 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 3581 else | 3588 else |
| 3582 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3589 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 3604 | 3611 |
| 3605 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 | 3612 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 |
| 3606 do | 3613 do |
| 3607 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3614 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3608 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3615 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3609 echo "configure:3610: checking for $ac_hdr" >&5 | 3616 echo "configure:3617: checking for $ac_hdr" >&5 |
| 3610 | 3617 |
| 3611 cat > conftest.$ac_ext <<EOF | 3618 cat > conftest.$ac_ext <<EOF |
| 3612 #line 3613 "configure" | 3619 #line 3620 "configure" |
| 3613 #include "confdefs.h" | 3620 #include "confdefs.h" |
| 3614 #include <$ac_hdr> | 3621 #include <$ac_hdr> |
| 3615 EOF | 3622 EOF |
| 3616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3617 { (eval echo configure:3618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3624 { (eval echo configure:3625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3619 if test -z "$ac_err"; then | 3626 if test -z "$ac_err"; then |
| 3620 rm -rf conftest* | 3627 rm -rf conftest* |
| 3621 eval "ac_cv_header_$ac_safe=yes" | 3628 eval "ac_cv_header_$ac_safe=yes" |
| 3622 else | 3629 else |
| 3642 echo "$ac_t""no" 1>&6 | 3649 echo "$ac_t""no" 1>&6 |
| 3643 fi | 3650 fi |
| 3644 done | 3651 done |
| 3645 | 3652 |
| 3646 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3653 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 3647 echo "configure:3648: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3654 echo "configure:3655: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 3648 | 3655 |
| 3649 cat > conftest.$ac_ext <<EOF | 3656 cat > conftest.$ac_ext <<EOF |
| 3650 #line 3651 "configure" | 3657 #line 3658 "configure" |
| 3651 #include "confdefs.h" | 3658 #include "confdefs.h" |
| 3652 #include <sys/types.h> | 3659 #include <sys/types.h> |
| 3653 #include <sys/wait.h> | 3660 #include <sys/wait.h> |
| 3654 #ifndef WEXITSTATUS | 3661 #ifndef WEXITSTATUS |
| 3655 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3662 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 3661 int s; | 3668 int s; |
| 3662 wait (&s); | 3669 wait (&s); |
| 3663 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3670 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3664 ; return 0; } | 3671 ; return 0; } |
| 3665 EOF | 3672 EOF |
| 3666 if { (eval echo configure:3667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3673 if { (eval echo configure:3674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3667 rm -rf conftest* | 3674 rm -rf conftest* |
| 3668 ac_cv_header_sys_wait_h=yes | 3675 ac_cv_header_sys_wait_h=yes |
| 3669 else | 3676 else |
| 3670 echo "configure: failed program was:" >&5 | 3677 echo "configure: failed program was:" >&5 |
| 3671 cat conftest.$ac_ext >&5 | 3678 cat conftest.$ac_ext >&5 |
| 3685 } | 3692 } |
| 3686 | 3693 |
| 3687 fi | 3694 fi |
| 3688 | 3695 |
| 3689 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3696 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3690 echo "configure:3691: checking for ANSI C header files" >&5 | 3697 echo "configure:3698: checking for ANSI C header files" >&5 |
| 3691 | 3698 |
| 3692 cat > conftest.$ac_ext <<EOF | 3699 cat > conftest.$ac_ext <<EOF |
| 3693 #line 3694 "configure" | 3700 #line 3701 "configure" |
| 3694 #include "confdefs.h" | 3701 #include "confdefs.h" |
| 3695 #include <stdlib.h> | 3702 #include <stdlib.h> |
| 3696 #include <stdarg.h> | 3703 #include <stdarg.h> |
| 3697 #include <string.h> | 3704 #include <string.h> |
| 3698 #include <float.h> | 3705 #include <float.h> |
| 3699 EOF | 3706 EOF |
| 3700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3701 { (eval echo configure:3702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3708 { (eval echo configure:3709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3703 if test -z "$ac_err"; then | 3710 if test -z "$ac_err"; then |
| 3704 rm -rf conftest* | 3711 rm -rf conftest* |
| 3705 ac_cv_header_stdc=yes | 3712 ac_cv_header_stdc=yes |
| 3706 else | 3713 else |
| 3713 rm -f conftest* | 3720 rm -f conftest* |
| 3714 | 3721 |
| 3715 if test $ac_cv_header_stdc = yes; then | 3722 if test $ac_cv_header_stdc = yes; then |
| 3716 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3723 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3717 cat > conftest.$ac_ext <<EOF | 3724 cat > conftest.$ac_ext <<EOF |
| 3718 #line 3719 "configure" | 3725 #line 3726 "configure" |
| 3719 #include "confdefs.h" | 3726 #include "confdefs.h" |
| 3720 #include <string.h> | 3727 #include <string.h> |
| 3721 EOF | 3728 EOF |
| 3722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3723 egrep "memchr" >/dev/null 2>&1; then | 3730 egrep "memchr" >/dev/null 2>&1; then |
| 3731 fi | 3738 fi |
| 3732 | 3739 |
| 3733 if test $ac_cv_header_stdc = yes; then | 3740 if test $ac_cv_header_stdc = yes; then |
| 3734 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3741 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3735 cat > conftest.$ac_ext <<EOF | 3742 cat > conftest.$ac_ext <<EOF |
| 3736 #line 3737 "configure" | 3743 #line 3744 "configure" |
| 3737 #include "confdefs.h" | 3744 #include "confdefs.h" |
| 3738 #include <stdlib.h> | 3745 #include <stdlib.h> |
| 3739 EOF | 3746 EOF |
| 3740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3741 egrep "free" >/dev/null 2>&1; then | 3748 egrep "free" >/dev/null 2>&1; then |
| 3749 fi | 3756 fi |
| 3750 | 3757 |
| 3751 if test $ac_cv_header_stdc = yes; then | 3758 if test $ac_cv_header_stdc = yes; then |
| 3752 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3759 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3753 cat > conftest.$ac_ext <<EOF | 3760 cat > conftest.$ac_ext <<EOF |
| 3754 #line 3755 "configure" | 3761 #line 3762 "configure" |
| 3755 #include "confdefs.h" | 3762 #include "confdefs.h" |
| 3756 #include <ctype.h> | 3763 #include <ctype.h> |
| 3757 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3764 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3758 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3765 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3759 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3760 int main () { int i; for (i = 0; i < 256; i++) | 3767 int main () { int i; for (i = 0; i < 256; i++) |
| 3761 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3768 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3762 exit (0); } | 3769 exit (0); } |
| 3763 | 3770 |
| 3764 EOF | 3771 EOF |
| 3765 if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3772 if { (eval echo configure:3773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3766 then | 3773 then |
| 3767 : | 3774 : |
| 3768 else | 3775 else |
| 3769 conftest_rc="$?" | 3776 conftest_rc="$?" |
| 3770 echo "configure: failed program was:" >&5 | 3777 echo "configure: failed program was:" >&5 |
| 3786 } | 3793 } |
| 3787 | 3794 |
| 3788 fi | 3795 fi |
| 3789 | 3796 |
| 3790 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3797 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3791 echo "configure:3792: checking whether time.h and sys/time.h may both be included" >&5 | 3798 echo "configure:3799: checking whether time.h and sys/time.h may both be included" >&5 |
| 3792 | 3799 |
| 3793 cat > conftest.$ac_ext <<EOF | 3800 cat > conftest.$ac_ext <<EOF |
| 3794 #line 3795 "configure" | 3801 #line 3802 "configure" |
| 3795 #include "confdefs.h" | 3802 #include "confdefs.h" |
| 3796 #include <sys/types.h> | 3803 #include <sys/types.h> |
| 3797 #include <sys/time.h> | 3804 #include <sys/time.h> |
| 3798 #include <time.h> | 3805 #include <time.h> |
| 3799 int main() { | 3806 int main() { |
| 3800 struct tm *tp; | 3807 struct tm *tp; |
| 3801 ; return 0; } | 3808 ; return 0; } |
| 3802 EOF | 3809 EOF |
| 3803 if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3810 if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3804 rm -rf conftest* | 3811 rm -rf conftest* |
| 3805 ac_cv_header_time=yes | 3812 ac_cv_header_time=yes |
| 3806 else | 3813 else |
| 3807 echo "configure: failed program was:" >&5 | 3814 echo "configure: failed program was:" >&5 |
| 3808 cat conftest.$ac_ext >&5 | 3815 cat conftest.$ac_ext >&5 |
| 3822 } | 3829 } |
| 3823 | 3830 |
| 3824 fi | 3831 fi |
| 3825 | 3832 |
| 3826 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3833 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3827 echo "configure:3828: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3834 echo "configure:3835: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3828 | 3835 |
| 3829 cat > conftest.$ac_ext <<EOF | 3836 cat > conftest.$ac_ext <<EOF |
| 3830 #line 3831 "configure" | 3837 #line 3838 "configure" |
| 3831 #include "confdefs.h" | 3838 #include "confdefs.h" |
| 3832 #include <sys/types.h> | 3839 #include <sys/types.h> |
| 3833 #include <signal.h> | 3840 #include <signal.h> |
| 3834 /* NetBSD declares sys_siglist in unistd.h. */ | 3841 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3835 #ifdef HAVE_UNISTD_H | 3842 #ifdef HAVE_UNISTD_H |
| 3837 #endif | 3844 #endif |
| 3838 int main() { | 3845 int main() { |
| 3839 char *msg = *(sys_siglist + 1); | 3846 char *msg = *(sys_siglist + 1); |
| 3840 ; return 0; } | 3847 ; return 0; } |
| 3841 EOF | 3848 EOF |
| 3842 if { (eval echo configure:3843: \"$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 |
| 3843 rm -rf conftest* | 3850 rm -rf conftest* |
| 3844 ac_cv_decl_sys_siglist=yes | 3851 ac_cv_decl_sys_siglist=yes |
| 3845 else | 3852 else |
| 3846 echo "configure: failed program was:" >&5 | 3853 echo "configure: failed program was:" >&5 |
| 3847 cat conftest.$ac_ext >&5 | 3854 cat conftest.$ac_ext >&5 |
| 3863 fi | 3870 fi |
| 3864 | 3871 |
| 3865 | 3872 |
| 3866 | 3873 |
| 3867 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3874 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
| 3868 echo "configure:3869: checking for utime" >&5 | 3875 echo "configure:3876: checking for utime" >&5 |
| 3869 cat > conftest.$ac_ext <<EOF | 3876 cat > conftest.$ac_ext <<EOF |
| 3870 #line 3871 "configure" | 3877 #line 3878 "configure" |
| 3871 #include "confdefs.h" | 3878 #include "confdefs.h" |
| 3872 #include <sys/types.h> | 3879 #include <sys/types.h> |
| 3873 #include <utime.h> | 3880 #include <utime.h> |
| 3874 int main() { | 3881 int main() { |
| 3875 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3882 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
| 3876 ; return 0; } | 3883 ; return 0; } |
| 3877 EOF | 3884 EOF |
| 3878 if { (eval echo configure:3879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3885 if { (eval echo configure:3886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3879 rm -rf conftest* | 3886 rm -rf conftest* |
| 3880 echo "$ac_t""yes" 1>&6 | 3887 echo "$ac_t""yes" 1>&6 |
| 3881 { test "$extra_verbose" = "yes" && cat << \EOF | 3888 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3882 Defining HAVE_UTIME | 3889 Defining HAVE_UTIME |
| 3883 EOF | 3890 EOF |
| 3892 rm -rf conftest* | 3899 rm -rf conftest* |
| 3893 echo "$ac_t""no" 1>&6 | 3900 echo "$ac_t""no" 1>&6 |
| 3894 for ac_func in utimes | 3901 for ac_func in utimes |
| 3895 do | 3902 do |
| 3896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 3897 echo "configure:3898: checking for $ac_func" >&5 | 3904 echo "configure:3905: checking for $ac_func" >&5 |
| 3898 | 3905 |
| 3899 cat > conftest.$ac_ext <<EOF | 3906 cat > conftest.$ac_ext <<EOF |
| 3900 #line 3901 "configure" | 3907 #line 3908 "configure" |
| 3901 #include "confdefs.h" | 3908 #include "confdefs.h" |
| 3902 /* System header to define __stub macros and hopefully few prototypes, | 3909 /* System header to define __stub macros and hopefully few prototypes, |
| 3903 which can conflict with char $ac_func(); below. */ | 3910 which can conflict with char $ac_func(); below. */ |
| 3904 #include <assert.h> | 3911 #include <assert.h> |
| 3905 /* Override any gcc2 internal prototype to avoid an error. */ | 3912 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3918 $ac_func(); | 3925 $ac_func(); |
| 3919 #endif | 3926 #endif |
| 3920 | 3927 |
| 3921 ; return 0; } | 3928 ; return 0; } |
| 3922 EOF | 3929 EOF |
| 3923 if { (eval echo configure:3924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3930 if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3924 rm -rf conftest* | 3931 rm -rf conftest* |
| 3925 eval "ac_cv_func_$ac_func=yes" | 3932 eval "ac_cv_func_$ac_func=yes" |
| 3926 else | 3933 else |
| 3927 echo "configure: failed program was:" >&5 | 3934 echo "configure: failed program was:" >&5 |
| 3928 cat conftest.$ac_ext >&5 | 3935 cat conftest.$ac_ext >&5 |
| 3950 fi | 3957 fi |
| 3951 rm -f conftest* | 3958 rm -f conftest* |
| 3952 | 3959 |
| 3953 | 3960 |
| 3954 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3961 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3955 echo "configure:3956: checking return type of signal handlers" >&5 | 3962 echo "configure:3963: checking return type of signal handlers" >&5 |
| 3956 | 3963 |
| 3957 cat > conftest.$ac_ext <<EOF | 3964 cat > conftest.$ac_ext <<EOF |
| 3958 #line 3959 "configure" | 3965 #line 3966 "configure" |
| 3959 #include "confdefs.h" | 3966 #include "confdefs.h" |
| 3960 #include <sys/types.h> | 3967 #include <sys/types.h> |
| 3961 #include <signal.h> | 3968 #include <signal.h> |
| 3962 #ifdef signal | 3969 #ifdef signal |
| 3963 #undef signal | 3970 #undef signal |
| 3970 | 3977 |
| 3971 int main() { | 3978 int main() { |
| 3972 int i; | 3979 int i; |
| 3973 ; return 0; } | 3980 ; return 0; } |
| 3974 EOF | 3981 EOF |
| 3975 if { (eval echo configure:3976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3982 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3976 rm -rf conftest* | 3983 rm -rf conftest* |
| 3977 ac_cv_type_signal=void | 3984 ac_cv_type_signal=void |
| 3978 else | 3985 else |
| 3979 echo "configure: failed program was:" >&5 | 3986 echo "configure: failed program was:" >&5 |
| 3980 cat conftest.$ac_ext >&5 | 3987 cat conftest.$ac_ext >&5 |
| 3992 EOF | 3999 EOF |
| 3993 } | 4000 } |
| 3994 | 4001 |
| 3995 | 4002 |
| 3996 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4003 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3997 echo "configure:3998: checking for size_t" >&5 | 4004 echo "configure:4005: checking for size_t" >&5 |
| 3998 | 4005 |
| 3999 cat > conftest.$ac_ext <<EOF | 4006 cat > conftest.$ac_ext <<EOF |
| 4000 #line 4001 "configure" | 4007 #line 4008 "configure" |
| 4001 #include "confdefs.h" | 4008 #include "confdefs.h" |
| 4002 #include <sys/types.h> | 4009 #include <sys/types.h> |
| 4003 #if STDC_HEADERS | 4010 #if STDC_HEADERS |
| 4004 #include <stdlib.h> | 4011 #include <stdlib.h> |
| 4005 #include <stddef.h> | 4012 #include <stddef.h> |
| 4026 } | 4033 } |
| 4027 | 4034 |
| 4028 fi | 4035 fi |
| 4029 | 4036 |
| 4030 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4037 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 4031 echo "configure:4032: checking for pid_t" >&5 | 4038 echo "configure:4039: checking for pid_t" >&5 |
| 4032 | 4039 |
| 4033 cat > conftest.$ac_ext <<EOF | 4040 cat > conftest.$ac_ext <<EOF |
| 4034 #line 4035 "configure" | 4041 #line 4042 "configure" |
| 4035 #include "confdefs.h" | 4042 #include "confdefs.h" |
| 4036 #include <sys/types.h> | 4043 #include <sys/types.h> |
| 4037 #if STDC_HEADERS | 4044 #if STDC_HEADERS |
| 4038 #include <stdlib.h> | 4045 #include <stdlib.h> |
| 4039 #include <stddef.h> | 4046 #include <stddef.h> |
| 4060 } | 4067 } |
| 4061 | 4068 |
| 4062 fi | 4069 fi |
| 4063 | 4070 |
| 4064 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4071 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 4065 echo "configure:4066: checking for uid_t in sys/types.h" >&5 | 4072 echo "configure:4073: checking for uid_t in sys/types.h" >&5 |
| 4066 | 4073 |
| 4067 cat > conftest.$ac_ext <<EOF | 4074 cat > conftest.$ac_ext <<EOF |
| 4068 #line 4069 "configure" | 4075 #line 4076 "configure" |
| 4069 #include "confdefs.h" | 4076 #include "confdefs.h" |
| 4070 #include <sys/types.h> | 4077 #include <sys/types.h> |
| 4071 EOF | 4078 EOF |
| 4072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4073 egrep "uid_t" >/dev/null 2>&1; then | 4080 egrep "uid_t" >/dev/null 2>&1; then |
| 4099 } | 4106 } |
| 4100 | 4107 |
| 4101 fi | 4108 fi |
| 4102 | 4109 |
| 4103 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4110 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 4104 echo "configure:4105: checking for mode_t" >&5 | 4111 echo "configure:4112: checking for mode_t" >&5 |
| 4105 | 4112 |
| 4106 cat > conftest.$ac_ext <<EOF | 4113 cat > conftest.$ac_ext <<EOF |
| 4107 #line 4108 "configure" | 4114 #line 4115 "configure" |
| 4108 #include "confdefs.h" | 4115 #include "confdefs.h" |
| 4109 #include <sys/types.h> | 4116 #include <sys/types.h> |
| 4110 #if STDC_HEADERS | 4117 #if STDC_HEADERS |
| 4111 #include <stdlib.h> | 4118 #include <stdlib.h> |
| 4112 #include <stddef.h> | 4119 #include <stddef.h> |
| 4133 } | 4140 } |
| 4134 | 4141 |
| 4135 fi | 4142 fi |
| 4136 | 4143 |
| 4137 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4144 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 4138 echo "configure:4139: checking for off_t" >&5 | 4145 echo "configure:4146: checking for off_t" >&5 |
| 4139 | 4146 |
| 4140 cat > conftest.$ac_ext <<EOF | 4147 cat > conftest.$ac_ext <<EOF |
| 4141 #line 4142 "configure" | 4148 #line 4149 "configure" |
| 4142 #include "confdefs.h" | 4149 #include "confdefs.h" |
| 4143 #include <sys/types.h> | 4150 #include <sys/types.h> |
| 4144 #if STDC_HEADERS | 4151 #if STDC_HEADERS |
| 4145 #include <stdlib.h> | 4152 #include <stdlib.h> |
| 4146 #include <stddef.h> | 4153 #include <stddef.h> |
| 4167 } | 4174 } |
| 4168 | 4175 |
| 4169 fi | 4176 fi |
| 4170 | 4177 |
| 4171 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4178 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
| 4172 echo "configure:4173: checking for ssize_t" >&5 | 4179 echo "configure:4180: checking for ssize_t" >&5 |
| 4173 | 4180 |
| 4174 cat > conftest.$ac_ext <<EOF | 4181 cat > conftest.$ac_ext <<EOF |
| 4175 #line 4176 "configure" | 4182 #line 4183 "configure" |
| 4176 #include "confdefs.h" | 4183 #include "confdefs.h" |
| 4177 #include <sys/types.h> | 4184 #include <sys/types.h> |
| 4178 #if STDC_HEADERS | 4185 #if STDC_HEADERS |
| 4179 #include <stdlib.h> | 4186 #include <stdlib.h> |
| 4180 #include <stddef.h> | 4187 #include <stddef.h> |
| 4203 fi | 4210 fi |
| 4204 | 4211 |
| 4205 | 4212 |
| 4206 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4213 if test "$ac_cv_header_inttypes_h" != "yes"; then |
| 4207 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4214 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
| 4208 echo "configure:4209: checking for intptr_t in sys/types.h" >&5 | 4215 echo "configure:4216: checking for intptr_t in sys/types.h" >&5 |
| 4209 cat > conftest.$ac_ext <<EOF | 4216 cat > conftest.$ac_ext <<EOF |
| 4210 #line 4211 "configure" | 4217 #line 4218 "configure" |
| 4211 #include "confdefs.h" | 4218 #include "confdefs.h" |
| 4212 #include <sys/types.h> | 4219 #include <sys/types.h> |
| 4213 intptr_t x; | 4220 intptr_t x; |
| 4214 | 4221 |
| 4215 int main() { | 4222 int main() { |
| 4216 | 4223 |
| 4217 ; return 0; } | 4224 ; return 0; } |
| 4218 EOF | 4225 EOF |
| 4219 if { (eval echo configure:4220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4226 if { (eval echo configure:4227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4220 rm -rf conftest* | 4227 rm -rf conftest* |
| 4221 echo "$ac_t""yes" 1>&6 | 4228 echo "$ac_t""yes" 1>&6 |
| 4222 { test "$extra_verbose" = "yes" && cat << \EOF | 4229 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4223 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4230 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
| 4224 EOF | 4231 EOF |
| 4235 fi | 4242 fi |
| 4236 rm -f conftest* | 4243 rm -f conftest* |
| 4237 fi | 4244 fi |
| 4238 | 4245 |
| 4239 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4246 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
| 4240 echo "configure:4241: checking for socklen_t" >&5 | 4247 echo "configure:4248: checking for socklen_t" >&5 |
| 4241 cat > conftest.$ac_ext <<EOF | 4248 cat > conftest.$ac_ext <<EOF |
| 4242 #line 4243 "configure" | 4249 #line 4250 "configure" |
| 4243 #include "confdefs.h" | 4250 #include "confdefs.h" |
| 4244 #include <sys/types.h> | 4251 #include <sys/types.h> |
| 4245 #include <sys/socket.h> | 4252 #include <sys/socket.h> |
| 4246 socklen_t x; | 4253 socklen_t x; |
| 4247 | 4254 |
| 4248 int main() { | 4255 int main() { |
| 4249 | 4256 |
| 4250 ; return 0; } | 4257 ; return 0; } |
| 4251 EOF | 4258 EOF |
| 4252 if { (eval echo configure:4253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4259 if { (eval echo configure:4260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4253 rm -rf conftest* | 4260 rm -rf conftest* |
| 4254 echo "$ac_t""yes" 1>&6 | 4261 echo "$ac_t""yes" 1>&6 |
| 4255 else | 4262 else |
| 4256 echo "configure: failed program was:" >&5 | 4263 echo "configure: failed program was:" >&5 |
| 4257 cat conftest.$ac_ext >&5 | 4264 cat conftest.$ac_ext >&5 |
| 4258 rm -rf conftest* | 4265 rm -rf conftest* |
| 4259 | 4266 |
| 4260 cat > conftest.$ac_ext <<EOF | 4267 cat > conftest.$ac_ext <<EOF |
| 4261 #line 4262 "configure" | 4268 #line 4269 "configure" |
| 4262 #include "confdefs.h" | 4269 #include "confdefs.h" |
| 4263 #include <sys/types.h> | 4270 #include <sys/types.h> |
| 4264 #include <sys/socket.h> | 4271 #include <sys/socket.h> |
| 4265 int accept (int, struct sockaddr *, size_t *); | 4272 int accept (int, struct sockaddr *, size_t *); |
| 4266 | 4273 |
| 4267 int main() { | 4274 int main() { |
| 4268 | 4275 |
| 4269 ; return 0; } | 4276 ; return 0; } |
| 4270 EOF | 4277 EOF |
| 4271 if { (eval echo configure:4272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4278 if { (eval echo configure:4279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4272 rm -rf conftest* | 4279 rm -rf conftest* |
| 4273 | 4280 |
| 4274 echo "$ac_t""size_t" 1>&6 | 4281 echo "$ac_t""size_t" 1>&6 |
| 4275 { test "$extra_verbose" = "yes" && cat << \EOF | 4282 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4276 Defining socklen_t = size_t | 4283 Defining socklen_t = size_t |
| 4298 rm -f conftest* | 4305 rm -f conftest* |
| 4299 fi | 4306 fi |
| 4300 rm -f conftest* | 4307 rm -f conftest* |
| 4301 | 4308 |
| 4302 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4309 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 4303 echo "configure:4304: checking for struct timeval" >&5 | 4310 echo "configure:4311: checking for struct timeval" >&5 |
| 4304 cat > conftest.$ac_ext <<EOF | 4311 cat > conftest.$ac_ext <<EOF |
| 4305 #line 4306 "configure" | 4312 #line 4313 "configure" |
| 4306 #include "confdefs.h" | 4313 #include "confdefs.h" |
| 4307 #ifdef TIME_WITH_SYS_TIME | 4314 #ifdef TIME_WITH_SYS_TIME |
| 4308 #include <sys/time.h> | 4315 #include <sys/time.h> |
| 4309 #include <time.h> | 4316 #include <time.h> |
| 4310 #else | 4317 #else |
| 4316 #endif | 4323 #endif |
| 4317 int main() { | 4324 int main() { |
| 4318 static struct timeval x; x.tv_sec = x.tv_usec; | 4325 static struct timeval x; x.tv_sec = x.tv_usec; |
| 4319 ; return 0; } | 4326 ; return 0; } |
| 4320 EOF | 4327 EOF |
| 4321 if { (eval echo configure:4322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4328 if { (eval echo configure:4329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4322 rm -rf conftest* | 4329 rm -rf conftest* |
| 4323 echo "$ac_t""yes" 1>&6 | 4330 echo "$ac_t""yes" 1>&6 |
| 4324 HAVE_TIMEVAL=yes | 4331 HAVE_TIMEVAL=yes |
| 4325 { test "$extra_verbose" = "yes" && cat << \EOF | 4332 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4326 Defining HAVE_TIMEVAL | 4333 Defining HAVE_TIMEVAL |
| 4338 HAVE_TIMEVAL=no | 4345 HAVE_TIMEVAL=no |
| 4339 fi | 4346 fi |
| 4340 rm -f conftest* | 4347 rm -f conftest* |
| 4341 | 4348 |
| 4342 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4349 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 4343 echo "configure:4344: checking whether struct tm is in sys/time.h or time.h" >&5 | 4350 echo "configure:4351: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 4344 | 4351 |
| 4345 cat > conftest.$ac_ext <<EOF | 4352 cat > conftest.$ac_ext <<EOF |
| 4346 #line 4347 "configure" | 4353 #line 4354 "configure" |
| 4347 #include "confdefs.h" | 4354 #include "confdefs.h" |
| 4348 #include <sys/types.h> | 4355 #include <sys/types.h> |
| 4349 #include <time.h> | 4356 #include <time.h> |
| 4350 int main() { | 4357 int main() { |
| 4351 struct tm *tp; tp->tm_sec; | 4358 struct tm *tp; tp->tm_sec; |
| 4352 ; return 0; } | 4359 ; return 0; } |
| 4353 EOF | 4360 EOF |
| 4354 if { (eval echo configure:4355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4361 if { (eval echo configure:4362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4355 rm -rf conftest* | 4362 rm -rf conftest* |
| 4356 ac_cv_struct_tm=time.h | 4363 ac_cv_struct_tm=time.h |
| 4357 else | 4364 else |
| 4358 echo "configure: failed program was:" >&5 | 4365 echo "configure: failed program was:" >&5 |
| 4359 cat conftest.$ac_ext >&5 | 4366 cat conftest.$ac_ext >&5 |
| 4373 } | 4380 } |
| 4374 | 4381 |
| 4375 fi | 4382 fi |
| 4376 | 4383 |
| 4377 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4384 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 4378 echo "configure:4379: checking for tm_zone in struct tm" >&5 | 4385 echo "configure:4386: checking for tm_zone in struct tm" >&5 |
| 4379 | 4386 |
| 4380 cat > conftest.$ac_ext <<EOF | 4387 cat > conftest.$ac_ext <<EOF |
| 4381 #line 4382 "configure" | 4388 #line 4389 "configure" |
| 4382 #include "confdefs.h" | 4389 #include "confdefs.h" |
| 4383 #include <sys/types.h> | 4390 #include <sys/types.h> |
| 4384 #include <$ac_cv_struct_tm> | 4391 #include <$ac_cv_struct_tm> |
| 4385 int main() { | 4392 int main() { |
| 4386 struct tm tm; tm.tm_zone; | 4393 struct tm tm; tm.tm_zone; |
| 4387 ; return 0; } | 4394 ; return 0; } |
| 4388 EOF | 4395 EOF |
| 4389 if { (eval echo configure:4390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4396 if { (eval echo configure:4397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4390 rm -rf conftest* | 4397 rm -rf conftest* |
| 4391 ac_cv_struct_tm_zone=yes | 4398 ac_cv_struct_tm_zone=yes |
| 4392 else | 4399 else |
| 4393 echo "configure: failed program was:" >&5 | 4400 echo "configure: failed program was:" >&5 |
| 4394 cat conftest.$ac_ext >&5 | 4401 cat conftest.$ac_ext >&5 |
| 4407 EOF | 4414 EOF |
| 4408 } | 4415 } |
| 4409 | 4416 |
| 4410 else | 4417 else |
| 4411 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4418 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 4412 echo "configure:4413: checking for tzname" >&5 | 4419 echo "configure:4420: checking for tzname" >&5 |
| 4413 | 4420 |
| 4414 cat > conftest.$ac_ext <<EOF | 4421 cat > conftest.$ac_ext <<EOF |
| 4415 #line 4416 "configure" | 4422 #line 4423 "configure" |
| 4416 #include "confdefs.h" | 4423 #include "confdefs.h" |
| 4417 #include <time.h> | 4424 #include <time.h> |
| 4418 #ifndef tzname /* For SGI. */ | 4425 #ifndef tzname /* For SGI. */ |
| 4419 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4426 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 4420 #endif | 4427 #endif |
| 4421 int main() { | 4428 int main() { |
| 4422 atoi(*tzname); | 4429 atoi(*tzname); |
| 4423 ; return 0; } | 4430 ; return 0; } |
| 4424 EOF | 4431 EOF |
| 4425 if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4432 if { (eval echo configure:4433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4426 rm -rf conftest* | 4433 rm -rf conftest* |
| 4427 ac_cv_var_tzname=yes | 4434 ac_cv_var_tzname=yes |
| 4428 else | 4435 else |
| 4429 echo "configure: failed program was:" >&5 | 4436 echo "configure: failed program was:" >&5 |
| 4430 cat conftest.$ac_ext >&5 | 4437 cat conftest.$ac_ext >&5 |
| 4446 fi | 4453 fi |
| 4447 fi | 4454 fi |
| 4448 | 4455 |
| 4449 | 4456 |
| 4450 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4457 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 4451 echo "configure:4452: checking for working const" >&5 | 4458 echo "configure:4459: checking for working const" >&5 |
| 4452 | 4459 |
| 4453 cat > conftest.$ac_ext <<EOF | 4460 cat > conftest.$ac_ext <<EOF |
| 4454 #line 4455 "configure" | 4461 #line 4462 "configure" |
| 4455 #include "confdefs.h" | 4462 #include "confdefs.h" |
| 4456 | 4463 |
| 4457 int main() { | 4464 int main() { |
| 4458 | 4465 |
| 4459 /* Ultrix mips cc rejects this. */ | 4466 /* Ultrix mips cc rejects this. */ |
| 4498 const int foo = 10; | 4505 const int foo = 10; |
| 4499 } | 4506 } |
| 4500 | 4507 |
| 4501 ; return 0; } | 4508 ; return 0; } |
| 4502 EOF | 4509 EOF |
| 4503 if { (eval echo configure:4504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4510 if { (eval echo configure:4511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4504 rm -rf conftest* | 4511 rm -rf conftest* |
| 4505 ac_cv_c_const=yes | 4512 ac_cv_c_const=yes |
| 4506 else | 4513 else |
| 4507 echo "configure: failed program was:" >&5 | 4514 echo "configure: failed program was:" >&5 |
| 4508 cat conftest.$ac_ext >&5 | 4515 cat conftest.$ac_ext >&5 |
| 4523 | 4530 |
| 4524 fi | 4531 fi |
| 4525 | 4532 |
| 4526 | 4533 |
| 4527 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4534 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 4528 echo "configure:4529: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4535 echo "configure:4536: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 4529 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4536 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 4530 | 4537 |
| 4531 cat > conftestmake <<\EOF | 4538 cat > conftestmake <<\EOF |
| 4532 all: | 4539 all: |
| 4533 @echo 'ac_maketemp="${MAKE}"' | 4540 @echo 'ac_maketemp="${MAKE}"' |
| 4548 SET_MAKE="MAKE=${MAKE-make}" | 4555 SET_MAKE="MAKE=${MAKE-make}" |
| 4549 fi | 4556 fi |
| 4550 | 4557 |
| 4551 | 4558 |
| 4552 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4559 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 4553 echo "configure:4554: checking whether byte ordering is bigendian" >&5 | 4560 echo "configure:4561: checking whether byte ordering is bigendian" >&5 |
| 4554 | 4561 |
| 4555 ac_cv_c_bigendian=unknown | 4562 ac_cv_c_bigendian=unknown |
| 4556 # See if sys/param.h defines the BYTE_ORDER macro. | 4563 # See if sys/param.h defines the BYTE_ORDER macro. |
| 4557 cat > conftest.$ac_ext <<EOF | 4564 cat > conftest.$ac_ext <<EOF |
| 4558 #line 4559 "configure" | 4565 #line 4566 "configure" |
| 4559 #include "confdefs.h" | 4566 #include "confdefs.h" |
| 4560 #include <sys/types.h> | 4567 #include <sys/types.h> |
| 4561 #include <sys/param.h> | 4568 #include <sys/param.h> |
| 4562 int main() { | 4569 int main() { |
| 4563 | 4570 |
| 4564 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4571 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 4565 bogus endian macros | 4572 bogus endian macros |
| 4566 #endif | 4573 #endif |
| 4567 ; return 0; } | 4574 ; return 0; } |
| 4568 EOF | 4575 EOF |
| 4569 if { (eval echo configure:4570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4576 if { (eval echo configure:4577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4570 rm -rf conftest* | 4577 rm -rf conftest* |
| 4571 # It does; now see whether it defined to BIG_ENDIAN or not. | 4578 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 4572 cat > conftest.$ac_ext <<EOF | 4579 cat > conftest.$ac_ext <<EOF |
| 4573 #line 4574 "configure" | 4580 #line 4581 "configure" |
| 4574 #include "confdefs.h" | 4581 #include "confdefs.h" |
| 4575 #include <sys/types.h> | 4582 #include <sys/types.h> |
| 4576 #include <sys/param.h> | 4583 #include <sys/param.h> |
| 4577 int main() { | 4584 int main() { |
| 4578 | 4585 |
| 4579 #if BYTE_ORDER != BIG_ENDIAN | 4586 #if BYTE_ORDER != BIG_ENDIAN |
| 4580 not big endian | 4587 not big endian |
| 4581 #endif | 4588 #endif |
| 4582 ; return 0; } | 4589 ; return 0; } |
| 4583 EOF | 4590 EOF |
| 4584 if { (eval echo configure:4585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4591 if { (eval echo configure:4592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4585 rm -rf conftest* | 4592 rm -rf conftest* |
| 4586 ac_cv_c_bigendian=yes | 4593 ac_cv_c_bigendian=yes |
| 4587 else | 4594 else |
| 4588 echo "configure: failed program was:" >&5 | 4595 echo "configure: failed program was:" >&5 |
| 4589 cat conftest.$ac_ext >&5 | 4596 cat conftest.$ac_ext >&5 |
| 4596 cat conftest.$ac_ext >&5 | 4603 cat conftest.$ac_ext >&5 |
| 4597 fi | 4604 fi |
| 4598 rm -f conftest* | 4605 rm -f conftest* |
| 4599 if test $ac_cv_c_bigendian = unknown; then | 4606 if test $ac_cv_c_bigendian = unknown; then |
| 4600 cat > conftest.$ac_ext <<EOF | 4607 cat > conftest.$ac_ext <<EOF |
| 4601 #line 4602 "configure" | 4608 #line 4609 "configure" |
| 4602 #include "confdefs.h" | 4609 #include "confdefs.h" |
| 4603 main () { | 4610 main () { |
| 4604 /* Are we little or big endian? From Harbison&Steele. */ | 4611 /* Are we little or big endian? From Harbison&Steele. */ |
| 4605 union | 4612 union |
| 4606 { | 4613 { |
| 4609 } u; | 4616 } u; |
| 4610 u.l = 1; | 4617 u.l = 1; |
| 4611 exit (u.c[sizeof (long) - 1] == 1); | 4618 exit (u.c[sizeof (long) - 1] == 1); |
| 4612 } | 4619 } |
| 4613 EOF | 4620 EOF |
| 4614 if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4621 if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4615 then | 4622 then |
| 4616 ac_cv_c_bigendian=no | 4623 ac_cv_c_bigendian=no |
| 4617 else | 4624 else |
| 4618 conftest_rc="$?" | 4625 conftest_rc="$?" |
| 4619 echo "configure: failed program was:" >&5 | 4626 echo "configure: failed program was:" >&5 |
| 4636 | 4643 |
| 4637 fi | 4644 fi |
| 4638 | 4645 |
| 4639 | 4646 |
| 4640 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4647 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 4641 echo "configure:4642: checking size of short" >&5 | 4648 echo "configure:4649: checking size of short" >&5 |
| 4642 | 4649 |
| 4643 cat > conftest.$ac_ext <<EOF | 4650 cat > conftest.$ac_ext <<EOF |
| 4644 #line 4645 "configure" | 4651 #line 4652 "configure" |
| 4645 #include "confdefs.h" | 4652 #include "confdefs.h" |
| 4646 #include <stdio.h> | 4653 #include <stdio.h> |
| 4647 int main() | 4654 int main() |
| 4648 { | 4655 { |
| 4649 FILE *f=fopen("conftestval", "w"); | 4656 FILE *f=fopen("conftestval", "w"); |
| 4650 if (!f) return(1); | 4657 if (!f) return(1); |
| 4651 fprintf(f, "%d\n", sizeof(short)); | 4658 fprintf(f, "%d\n", sizeof(short)); |
| 4652 return(0); | 4659 return(0); |
| 4653 } | 4660 } |
| 4654 EOF | 4661 EOF |
| 4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4662 if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4656 then | 4663 then |
| 4657 ac_cv_sizeof_short=`cat conftestval` | 4664 ac_cv_sizeof_short=`cat conftestval` |
| 4658 else | 4665 else |
| 4659 conftest_rc="$?" | 4666 conftest_rc="$?" |
| 4660 echo "configure: failed program was:" >&5 | 4667 echo "configure: failed program was:" >&5 |
| 4678 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4685 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 4679 echo "*** PANIC *** Please examine config.log for compilation errors." | 4686 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 4680 exit 1 | 4687 exit 1 |
| 4681 fi | 4688 fi |
| 4682 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4689 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 4683 echo "configure:4684: checking size of int" >&5 | 4690 echo "configure:4691: checking size of int" >&5 |
| 4684 | 4691 |
| 4685 cat > conftest.$ac_ext <<EOF | 4692 cat > conftest.$ac_ext <<EOF |
| 4686 #line 4687 "configure" | 4693 #line 4694 "configure" |
| 4687 #include "confdefs.h" | 4694 #include "confdefs.h" |
| 4688 #include <stdio.h> | 4695 #include <stdio.h> |
| 4689 int main() | 4696 int main() |
| 4690 { | 4697 { |
| 4691 FILE *f=fopen("conftestval", "w"); | 4698 FILE *f=fopen("conftestval", "w"); |
| 4692 if (!f) return(1); | 4699 if (!f) return(1); |
| 4693 fprintf(f, "%d\n", sizeof(int)); | 4700 fprintf(f, "%d\n", sizeof(int)); |
| 4694 return(0); | 4701 return(0); |
| 4695 } | 4702 } |
| 4696 EOF | 4703 EOF |
| 4697 if { (eval echo configure:4698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4704 if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4698 then | 4705 then |
| 4699 ac_cv_sizeof_int=`cat conftestval` | 4706 ac_cv_sizeof_int=`cat conftestval` |
| 4700 else | 4707 else |
| 4701 conftest_rc="$?" | 4708 conftest_rc="$?" |
| 4702 echo "configure: failed program was:" >&5 | 4709 echo "configure: failed program was:" >&5 |
| 4714 EOF | 4721 EOF |
| 4715 } | 4722 } |
| 4716 | 4723 |
| 4717 | 4724 |
| 4718 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4725 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 4719 echo "configure:4720: checking size of long" >&5 | 4726 echo "configure:4727: checking size of long" >&5 |
| 4720 | 4727 |
| 4721 cat > conftest.$ac_ext <<EOF | 4728 cat > conftest.$ac_ext <<EOF |
| 4722 #line 4723 "configure" | 4729 #line 4730 "configure" |
| 4723 #include "confdefs.h" | 4730 #include "confdefs.h" |
| 4724 #include <stdio.h> | 4731 #include <stdio.h> |
| 4725 int main() | 4732 int main() |
| 4726 { | 4733 { |
| 4727 FILE *f=fopen("conftestval", "w"); | 4734 FILE *f=fopen("conftestval", "w"); |
| 4728 if (!f) return(1); | 4735 if (!f) return(1); |
| 4729 fprintf(f, "%d\n", sizeof(long)); | 4736 fprintf(f, "%d\n", sizeof(long)); |
| 4730 return(0); | 4737 return(0); |
| 4731 } | 4738 } |
| 4732 EOF | 4739 EOF |
| 4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4734 then | 4741 then |
| 4735 ac_cv_sizeof_long=`cat conftestval` | 4742 ac_cv_sizeof_long=`cat conftestval` |
| 4736 else | 4743 else |
| 4737 conftest_rc="$?" | 4744 conftest_rc="$?" |
| 4738 echo "configure: failed program was:" >&5 | 4745 echo "configure: failed program was:" >&5 |
| 4750 EOF | 4757 EOF |
| 4751 } | 4758 } |
| 4752 | 4759 |
| 4753 | 4760 |
| 4754 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4761 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 4755 echo "configure:4756: checking size of long long" >&5 | 4762 echo "configure:4763: checking size of long long" >&5 |
| 4756 | 4763 |
| 4757 cat > conftest.$ac_ext <<EOF | 4764 cat > conftest.$ac_ext <<EOF |
| 4758 #line 4759 "configure" | 4765 #line 4766 "configure" |
| 4759 #include "confdefs.h" | 4766 #include "confdefs.h" |
| 4760 #include <stdio.h> | 4767 #include <stdio.h> |
| 4761 int main() | 4768 int main() |
| 4762 { | 4769 { |
| 4763 FILE *f=fopen("conftestval", "w"); | 4770 FILE *f=fopen("conftestval", "w"); |
| 4764 if (!f) return(1); | 4771 if (!f) return(1); |
| 4765 fprintf(f, "%d\n", sizeof(long long)); | 4772 fprintf(f, "%d\n", sizeof(long long)); |
| 4766 return(0); | 4773 return(0); |
| 4767 } | 4774 } |
| 4768 EOF | 4775 EOF |
| 4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4776 if { (eval echo configure:4777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4770 then | 4777 then |
| 4771 ac_cv_sizeof_long_long=`cat conftestval` | 4778 ac_cv_sizeof_long_long=`cat conftestval` |
| 4772 else | 4779 else |
| 4773 conftest_rc="$?" | 4780 conftest_rc="$?" |
| 4774 echo "configure: failed program was:" >&5 | 4781 echo "configure: failed program was:" >&5 |
| 4786 EOF | 4793 EOF |
| 4787 } | 4794 } |
| 4788 | 4795 |
| 4789 | 4796 |
| 4790 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4797 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4791 echo "configure:4792: checking size of void *" >&5 | 4798 echo "configure:4799: checking size of void *" >&5 |
| 4792 | 4799 |
| 4793 cat > conftest.$ac_ext <<EOF | 4800 cat > conftest.$ac_ext <<EOF |
| 4794 #line 4795 "configure" | 4801 #line 4802 "configure" |
| 4795 #include "confdefs.h" | 4802 #include "confdefs.h" |
| 4796 #include <stdio.h> | 4803 #include <stdio.h> |
| 4797 int main() | 4804 int main() |
| 4798 { | 4805 { |
| 4799 FILE *f=fopen("conftestval", "w"); | 4806 FILE *f=fopen("conftestval", "w"); |
| 4800 if (!f) return(1); | 4807 if (!f) return(1); |
| 4801 fprintf(f, "%d\n", sizeof(void *)); | 4808 fprintf(f, "%d\n", sizeof(void *)); |
| 4802 return(0); | 4809 return(0); |
| 4803 } | 4810 } |
| 4804 EOF | 4811 EOF |
| 4805 if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4812 if { (eval echo configure:4813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4806 then | 4813 then |
| 4807 ac_cv_sizeof_void_p=`cat conftestval` | 4814 ac_cv_sizeof_void_p=`cat conftestval` |
| 4808 else | 4815 else |
| 4809 conftest_rc="$?" | 4816 conftest_rc="$?" |
| 4810 echo "configure: failed program was:" >&5 | 4817 echo "configure: failed program was:" >&5 |
| 4823 } | 4830 } |
| 4824 | 4831 |
| 4825 | 4832 |
| 4826 | 4833 |
| 4827 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4834 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4828 echo "configure:4829: checking for long file names" >&5 | 4835 echo "configure:4836: checking for long file names" >&5 |
| 4829 | 4836 |
| 4830 ac_cv_sys_long_file_names=yes | 4837 ac_cv_sys_long_file_names=yes |
| 4831 # Test for long file names in all the places we know might matter: | 4838 # Test for long file names in all the places we know might matter: |
| 4832 # . the current directory, where building will happen | 4839 # . the current directory, where building will happen |
| 4833 # $prefix/lib where we will be installing things | 4840 # $prefix/lib where we will be installing things |
| 4869 | 4876 |
| 4870 fi | 4877 fi |
| 4871 | 4878 |
| 4872 | 4879 |
| 4873 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4880 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
| 4874 echo "configure:4875: checking for sin" >&5 | 4881 echo "configure:4882: checking for sin" >&5 |
| 4875 | 4882 |
| 4876 cat > conftest.$ac_ext <<EOF | 4883 cat > conftest.$ac_ext <<EOF |
| 4877 #line 4878 "configure" | 4884 #line 4885 "configure" |
| 4878 #include "confdefs.h" | 4885 #include "confdefs.h" |
| 4879 /* System header to define __stub macros and hopefully few prototypes, | 4886 /* System header to define __stub macros and hopefully few prototypes, |
| 4880 which can conflict with char sin(); below. */ | 4887 which can conflict with char sin(); below. */ |
| 4881 #include <assert.h> | 4888 #include <assert.h> |
| 4882 /* Override any gcc2 internal prototype to avoid an error. */ | 4889 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4895 sin(); | 4902 sin(); |
| 4896 #endif | 4903 #endif |
| 4897 | 4904 |
| 4898 ; return 0; } | 4905 ; return 0; } |
| 4899 EOF | 4906 EOF |
| 4900 if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4907 if { (eval echo configure:4908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4901 rm -rf conftest* | 4908 rm -rf conftest* |
| 4902 eval "ac_cv_func_sin=yes" | 4909 eval "ac_cv_func_sin=yes" |
| 4903 else | 4910 else |
| 4904 echo "configure: failed program was:" >&5 | 4911 echo "configure: failed program was:" >&5 |
| 4905 cat conftest.$ac_ext >&5 | 4912 cat conftest.$ac_ext >&5 |
| 4913 : | 4920 : |
| 4914 else | 4921 else |
| 4915 echo "$ac_t""no" 1>&6 | 4922 echo "$ac_t""no" 1>&6 |
| 4916 | 4923 |
| 4917 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4924 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4918 echo "configure:4919: checking for sin in -lm" >&5 | 4925 echo "configure:4926: checking for sin in -lm" >&5 |
| 4919 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4926 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4920 | 4927 |
| 4921 xe_check_libs=" -lm " | 4928 xe_check_libs=" -lm " |
| 4922 cat > conftest.$ac_ext <<EOF | 4929 cat > conftest.$ac_ext <<EOF |
| 4923 #line 4924 "configure" | 4930 #line 4931 "configure" |
| 4924 #include "confdefs.h" | 4931 #include "confdefs.h" |
| 4925 /* Override any gcc2 internal prototype to avoid an error. */ | 4932 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4926 /* We use char because int might match the return type of a gcc2 | 4933 /* We use char because int might match the return type of a gcc2 |
| 4927 builtin and then its argument prototype would still apply. */ | 4934 builtin and then its argument prototype would still apply. */ |
| 4928 char sin(); | 4935 char sin(); |
| 4929 | 4936 |
| 4930 int main() { | 4937 int main() { |
| 4931 sin() | 4938 sin() |
| 4932 ; return 0; } | 4939 ; return 0; } |
| 4933 EOF | 4940 EOF |
| 4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4935 rm -rf conftest* | 4942 rm -rf conftest* |
| 4936 eval "ac_cv_lib_$ac_lib_var=yes" | 4943 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4937 else | 4944 else |
| 4938 echo "configure: failed program was:" >&5 | 4945 echo "configure: failed program was:" >&5 |
| 4939 cat conftest.$ac_ext >&5 | 4946 cat conftest.$ac_ext >&5 |
| 4964 | 4971 |
| 4965 fi | 4972 fi |
| 4966 | 4973 |
| 4967 | 4974 |
| 4968 cat > conftest.$ac_ext <<EOF | 4975 cat > conftest.$ac_ext <<EOF |
| 4969 #line 4970 "configure" | 4976 #line 4977 "configure" |
| 4970 #include "confdefs.h" | 4977 #include "confdefs.h" |
| 4971 #include <math.h> | 4978 #include <math.h> |
| 4972 int main() { | 4979 int main() { |
| 4973 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4980 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4974 ; return 0; } | 4981 ; return 0; } |
| 4975 EOF | 4982 EOF |
| 4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4977 rm -rf conftest* | 4984 rm -rf conftest* |
| 4978 { test "$extra_verbose" = "yes" && cat << \EOF | 4985 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4979 Defining HAVE_INVERSE_HYPERBOLIC | 4986 Defining HAVE_INVERSE_HYPERBOLIC |
| 4980 EOF | 4987 EOF |
| 4981 cat >> confdefs.h <<\EOF | 4988 cat >> confdefs.h <<\EOF |
| 4990 rm -f conftest* | 4997 rm -f conftest* |
| 4991 | 4998 |
| 4992 for ac_func in mkstemp | 4999 for ac_func in mkstemp |
| 4993 do | 5000 do |
| 4994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4995 echo "configure:4996: checking for $ac_func" >&5 | 5002 echo "configure:5003: checking for $ac_func" >&5 |
| 4996 | 5003 |
| 4997 cat > conftest.$ac_ext <<EOF | 5004 cat > conftest.$ac_ext <<EOF |
| 4998 #line 4999 "configure" | 5005 #line 5006 "configure" |
| 4999 #include "confdefs.h" | 5006 #include "confdefs.h" |
| 5000 /* System header to define __stub macros and hopefully few prototypes, | 5007 /* System header to define __stub macros and hopefully few prototypes, |
| 5001 which can conflict with char $ac_func(); below. */ | 5008 which can conflict with char $ac_func(); below. */ |
| 5002 #include <assert.h> | 5009 #include <assert.h> |
| 5003 /* Override any gcc2 internal prototype to avoid an error. */ | 5010 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5016 $ac_func(); | 5023 $ac_func(); |
| 5017 #endif | 5024 #endif |
| 5018 | 5025 |
| 5019 ; return 0; } | 5026 ; return 0; } |
| 5020 EOF | 5027 EOF |
| 5021 if { (eval echo configure:5022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5028 if { (eval echo configure:5029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5022 rm -rf conftest* | 5029 rm -rf conftest* |
| 5023 eval "ac_cv_func_$ac_func=yes" | 5030 eval "ac_cv_func_$ac_func=yes" |
| 5024 else | 5031 else |
| 5025 echo "configure: failed program was:" >&5 | 5032 echo "configure: failed program was:" >&5 |
| 5026 cat conftest.$ac_ext >&5 | 5033 cat conftest.$ac_ext >&5 |
| 5045 fi | 5052 fi |
| 5046 done | 5053 done |
| 5047 | 5054 |
| 5048 | 5055 |
| 5049 echo "checking type of mail spool file locking" 1>&6 | 5056 echo "checking type of mail spool file locking" 1>&6 |
| 5050 echo "configure:5051: checking type of mail spool file locking" >&5 | 5057 echo "configure:5058: checking type of mail spool file locking" >&5 |
| 5051 for ac_func in lockf flock | 5058 for ac_func in lockf flock |
| 5052 do | 5059 do |
| 5053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5054 echo "configure:5055: checking for $ac_func" >&5 | 5061 echo "configure:5062: checking for $ac_func" >&5 |
| 5055 | 5062 |
| 5056 cat > conftest.$ac_ext <<EOF | 5063 cat > conftest.$ac_ext <<EOF |
| 5057 #line 5058 "configure" | 5064 #line 5065 "configure" |
| 5058 #include "confdefs.h" | 5065 #include "confdefs.h" |
| 5059 /* System header to define __stub macros and hopefully few prototypes, | 5066 /* System header to define __stub macros and hopefully few prototypes, |
| 5060 which can conflict with char $ac_func(); below. */ | 5067 which can conflict with char $ac_func(); below. */ |
| 5061 #include <assert.h> | 5068 #include <assert.h> |
| 5062 /* Override any gcc2 internal prototype to avoid an error. */ | 5069 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5075 $ac_func(); | 5082 $ac_func(); |
| 5076 #endif | 5083 #endif |
| 5077 | 5084 |
| 5078 ; return 0; } | 5085 ; return 0; } |
| 5079 EOF | 5086 EOF |
| 5080 if { (eval echo configure:5081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5087 if { (eval echo configure:5088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5081 rm -rf conftest* | 5088 rm -rf conftest* |
| 5082 eval "ac_cv_func_$ac_func=yes" | 5089 eval "ac_cv_func_$ac_func=yes" |
| 5083 else | 5090 else |
| 5084 echo "configure: failed program was:" >&5 | 5091 echo "configure: failed program was:" >&5 |
| 5085 cat conftest.$ac_ext >&5 | 5092 cat conftest.$ac_ext >&5 |
| 5157 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5164 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
| 5158 | 5165 |
| 5159 case "$opsys" in decosf*) | 5166 case "$opsys" in decosf*) |
| 5160 | 5167 |
| 5161 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5168 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 5162 echo "configure:5163: checking for cma_open in -lpthreads" >&5 | 5169 echo "configure:5170: checking for cma_open in -lpthreads" >&5 |
| 5163 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5170 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 5164 | 5171 |
| 5165 xe_check_libs=" -lpthreads " | 5172 xe_check_libs=" -lpthreads " |
| 5166 cat > conftest.$ac_ext <<EOF | 5173 cat > conftest.$ac_ext <<EOF |
| 5167 #line 5168 "configure" | 5174 #line 5175 "configure" |
| 5168 #include "confdefs.h" | 5175 #include "confdefs.h" |
| 5169 /* Override any gcc2 internal prototype to avoid an error. */ | 5176 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5170 /* We use char because int might match the return type of a gcc2 | 5177 /* We use char because int might match the return type of a gcc2 |
| 5171 builtin and then its argument prototype would still apply. */ | 5178 builtin and then its argument prototype would still apply. */ |
| 5172 char cma_open(); | 5179 char cma_open(); |
| 5173 | 5180 |
| 5174 int main() { | 5181 int main() { |
| 5175 cma_open() | 5182 cma_open() |
| 5176 ; return 0; } | 5183 ; return 0; } |
| 5177 EOF | 5184 EOF |
| 5178 if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5185 if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5179 rm -rf conftest* | 5186 rm -rf conftest* |
| 5180 eval "ac_cv_lib_$ac_lib_var=yes" | 5187 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5181 else | 5188 else |
| 5182 echo "configure: failed program was:" >&5 | 5189 echo "configure: failed program was:" >&5 |
| 5183 cat conftest.$ac_ext >&5 | 5190 cat conftest.$ac_ext >&5 |
| 5210 c_switch_site="$c_switch_site -threads" ;; | 5217 c_switch_site="$c_switch_site -threads" ;; |
| 5211 esac | 5218 esac |
| 5212 | 5219 |
| 5213 | 5220 |
| 5214 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5221 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 5215 echo "configure:5216: checking whether the -xildoff compiler flag is required" >&5 | 5222 echo "configure:5223: checking whether the -xildoff compiler flag is required" >&5 |
| 5216 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5223 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 5217 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5224 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 5218 then echo "$ac_t""no" 1>&6; | 5225 then echo "$ac_t""no" 1>&6; |
| 5219 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 | 5226 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 |
| 5220 fi | 5227 fi |
| 5222 fi | 5229 fi |
| 5223 | 5230 |
| 5224 if test "$opsys" = "sol2"; then | 5231 if test "$opsys" = "sol2"; then |
| 5225 if test "$os_release" -ge 506; then | 5232 if test "$os_release" -ge 506; then |
| 5226 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5233 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 5227 echo "configure:5228: checking for \"-z ignore\" linker flag" >&5 | 5234 echo "configure:5235: checking for \"-z ignore\" linker flag" >&5 |
| 5228 case "`ld -h 2>&1`" in | 5235 case "`ld -h 2>&1`" in |
| 5229 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5236 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 5230 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5237 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 5231 *) echo "$ac_t""no" 1>&6 ;; | 5238 *) echo "$ac_t""no" 1>&6 ;; |
| 5232 esac | 5239 esac |
| 5233 fi | 5240 fi |
| 5234 fi | 5241 fi |
| 5235 | 5242 |
| 5236 | 5243 |
| 5237 echo "checking "for specified window system"" 1>&6 | 5244 echo "checking "for specified window system"" 1>&6 |
| 5238 echo "configure:5239: checking "for specified window system"" >&5 | 5245 echo "configure:5246: checking "for specified window system"" >&5 |
| 5239 | 5246 |
| 5240 | 5247 |
| 5241 GNOME_CONFIG=no | 5248 GNOME_CONFIG=no |
| 5242 GTK_CONFIG=no | 5249 GTK_CONFIG=no |
| 5243 | 5250 |
| 5244 if test "$with_gnome" != "no"; then | 5251 if test "$with_gnome" != "no"; then |
| 5245 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5252 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
| 5246 echo "configure:5247: checking for GNOME configuration script" >&5 | 5253 echo "configure:5254: checking for GNOME configuration script" >&5 |
| 5247 for possible in gnome-config | 5254 for possible in gnome-config |
| 5248 do | 5255 do |
| 5249 possible_version=`${possible} --version 2> /dev/null` | 5256 possible_version=`${possible} --version 2> /dev/null` |
| 5250 if test "x${possible_version}" != "x"; then | 5257 if test "x${possible_version}" != "x"; then |
| 5251 GNOME_CONFIG="${possible}" | 5258 GNOME_CONFIG="${possible}" |
| 5272 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5279 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
| 5273 fi | 5280 fi |
| 5274 | 5281 |
| 5275 if test "$with_gtk" != "no";then | 5282 if test "$with_gtk" != "no";then |
| 5276 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5283 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
| 5277 echo "configure:5278: checking for GTK configuration script" >&5 | 5284 echo "configure:5285: checking for GTK configuration script" >&5 |
| 5278 for possible in gtk12-config gtk14-config gtk-config | 5285 for possible in gtk12-config gtk14-config gtk-config |
| 5279 do | 5286 do |
| 5280 possible_version=`${possible} --version 2> /dev/null` | 5287 possible_version=`${possible} --version 2> /dev/null` |
| 5281 if test "x${possible_version}" != "x"; then | 5288 if test "x${possible_version}" != "x"; then |
| 5282 GTK_CONFIG="${possible}" | 5289 GTK_CONFIG="${possible}" |
| 5294 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5301 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
| 5295 fi | 5302 fi |
| 5296 | 5303 |
| 5297 if test "${GTK_CONFIG}" != "no"; then | 5304 if test "${GTK_CONFIG}" != "no"; then |
| 5298 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5305 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
| 5299 echo "configure:5300: checking gtk version" >&5 | 5306 echo "configure:5307: checking gtk version" >&5 |
| 5300 GTK_VERSION=`${GTK_CONFIG} --version` | 5307 GTK_VERSION=`${GTK_CONFIG} --version` |
| 5301 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5308 echo "$ac_t""${GTK_VERSION}" 1>&6 |
| 5302 | 5309 |
| 5303 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5310 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
| 5304 echo "configure:5305: checking gtk libs" >&5 | 5311 echo "configure:5312: checking gtk libs" >&5 |
| 5305 GTK_LIBS=`${GTK_CONFIG} --libs` | 5312 GTK_LIBS=`${GTK_CONFIG} --libs` |
| 5306 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5313 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
| 5307 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5314 echo "$ac_t""${GTK_LIBS}" 1>&6 |
| 5308 | 5315 |
| 5309 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5316 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
| 5310 echo "configure:5311: checking gtk cflags" >&5 | 5317 echo "configure:5318: checking gtk cflags" >&5 |
| 5311 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5318 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
| 5312 if test "$GCC" = "yes"; then | 5319 if test "$GCC" = "yes"; then |
| 5313 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5320 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
| 5314 fi | 5321 fi |
| 5315 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5322 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
| 5316 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5323 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
| 5317 | 5324 |
| 5318 | 5325 |
| 5319 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5326 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
| 5320 echo "configure:5321: checking for main in -lgdk_imlib" >&5 | 5327 echo "configure:5328: checking for main in -lgdk_imlib" >&5 |
| 5321 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5328 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
| 5322 | 5329 |
| 5323 xe_check_libs=" -lgdk_imlib " | 5330 xe_check_libs=" -lgdk_imlib " |
| 5324 cat > conftest.$ac_ext <<EOF | 5331 cat > conftest.$ac_ext <<EOF |
| 5325 #line 5326 "configure" | 5332 #line 5333 "configure" |
| 5326 #include "confdefs.h" | 5333 #include "confdefs.h" |
| 5327 | 5334 |
| 5328 int main() { | 5335 int main() { |
| 5329 main() | 5336 main() |
| 5330 ; return 0; } | 5337 ; return 0; } |
| 5331 EOF | 5338 EOF |
| 5332 if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5339 if { (eval echo configure:5340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5333 rm -rf conftest* | 5340 rm -rf conftest* |
| 5334 eval "ac_cv_lib_$ac_lib_var=yes" | 5341 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5335 else | 5342 else |
| 5336 echo "configure: failed program was:" >&5 | 5343 echo "configure: failed program was:" >&5 |
| 5337 cat conftest.$ac_ext >&5 | 5344 cat conftest.$ac_ext >&5 |
| 5349 fi | 5356 fi |
| 5350 | 5357 |
| 5351 | 5358 |
| 5352 | 5359 |
| 5353 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5360 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
| 5354 echo "configure:5355: checking for Imlib_init in -lImlib" >&5 | 5361 echo "configure:5362: checking for Imlib_init in -lImlib" >&5 |
| 5355 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5362 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
| 5356 | 5363 |
| 5357 xe_check_libs=" -lImlib " | 5364 xe_check_libs=" -lImlib " |
| 5358 cat > conftest.$ac_ext <<EOF | 5365 cat > conftest.$ac_ext <<EOF |
| 5359 #line 5360 "configure" | 5366 #line 5367 "configure" |
| 5360 #include "confdefs.h" | 5367 #include "confdefs.h" |
| 5361 /* Override any gcc2 internal prototype to avoid an error. */ | 5368 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5362 /* We use char because int might match the return type of a gcc2 | 5369 /* We use char because int might match the return type of a gcc2 |
| 5363 builtin and then its argument prototype would still apply. */ | 5370 builtin and then its argument prototype would still apply. */ |
| 5364 char Imlib_init(); | 5371 char Imlib_init(); |
| 5365 | 5372 |
| 5366 int main() { | 5373 int main() { |
| 5367 Imlib_init() | 5374 Imlib_init() |
| 5368 ; return 0; } | 5375 ; return 0; } |
| 5369 EOF | 5376 EOF |
| 5370 if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5371 rm -rf conftest* | 5378 rm -rf conftest* |
| 5372 eval "ac_cv_lib_$ac_lib_var=yes" | 5379 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5373 else | 5380 else |
| 5374 echo "configure: failed program was:" >&5 | 5381 echo "configure: failed program was:" >&5 |
| 5375 cat conftest.$ac_ext >&5 | 5382 cat conftest.$ac_ext >&5 |
| 5388 | 5395 |
| 5389 | 5396 |
| 5390 for ac_func in gdk_imlib_init | 5397 for ac_func in gdk_imlib_init |
| 5391 do | 5398 do |
| 5392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5393 echo "configure:5394: checking for $ac_func" >&5 | 5400 echo "configure:5401: checking for $ac_func" >&5 |
| 5394 | 5401 |
| 5395 cat > conftest.$ac_ext <<EOF | 5402 cat > conftest.$ac_ext <<EOF |
| 5396 #line 5397 "configure" | 5403 #line 5404 "configure" |
| 5397 #include "confdefs.h" | 5404 #include "confdefs.h" |
| 5398 /* System header to define __stub macros and hopefully few prototypes, | 5405 /* System header to define __stub macros and hopefully few prototypes, |
| 5399 which can conflict with char $ac_func(); below. */ | 5406 which can conflict with char $ac_func(); below. */ |
| 5400 #include <assert.h> | 5407 #include <assert.h> |
| 5401 /* Override any gcc2 internal prototype to avoid an error. */ | 5408 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5414 $ac_func(); | 5421 $ac_func(); |
| 5415 #endif | 5422 #endif |
| 5416 | 5423 |
| 5417 ; return 0; } | 5424 ; return 0; } |
| 5418 EOF | 5425 EOF |
| 5419 if { (eval echo configure:5420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5426 if { (eval echo configure:5427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5420 rm -rf conftest* | 5427 rm -rf conftest* |
| 5421 eval "ac_cv_func_$ac_func=yes" | 5428 eval "ac_cv_func_$ac_func=yes" |
| 5422 else | 5429 else |
| 5423 echo "configure: failed program was:" >&5 | 5430 echo "configure: failed program was:" >&5 |
| 5424 cat conftest.$ac_ext >&5 | 5431 cat conftest.$ac_ext >&5 |
| 5480 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5487 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
| 5481 for ac_hdr in glade/glade.h glade.h | 5488 for ac_hdr in glade/glade.h glade.h |
| 5482 do | 5489 do |
| 5483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5490 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5491 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5485 echo "configure:5486: checking for $ac_hdr" >&5 | 5492 echo "configure:5493: checking for $ac_hdr" >&5 |
| 5486 | 5493 |
| 5487 cat > conftest.$ac_ext <<EOF | 5494 cat > conftest.$ac_ext <<EOF |
| 5488 #line 5489 "configure" | 5495 #line 5496 "configure" |
| 5489 #include "confdefs.h" | 5496 #include "confdefs.h" |
| 5490 #include <$ac_hdr> | 5497 #include <$ac_hdr> |
| 5491 EOF | 5498 EOF |
| 5492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5493 { (eval echo configure:5494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5500 { (eval echo configure:5501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5495 if test -z "$ac_err"; then | 5502 if test -z "$ac_err"; then |
| 5496 rm -rf conftest* | 5503 rm -rf conftest* |
| 5497 eval "ac_cv_header_$ac_safe=yes" | 5504 eval "ac_cv_header_$ac_safe=yes" |
| 5498 else | 5505 else |
| 5519 fi | 5526 fi |
| 5520 done | 5527 done |
| 5521 | 5528 |
| 5522 | 5529 |
| 5523 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5530 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
| 5524 echo "configure:5525: checking for main in -lxml" >&5 | 5531 echo "configure:5532: checking for main in -lxml" >&5 |
| 5525 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5532 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
| 5526 | 5533 |
| 5527 xe_check_libs=" -lxml " | 5534 xe_check_libs=" -lxml " |
| 5528 cat > conftest.$ac_ext <<EOF | 5535 cat > conftest.$ac_ext <<EOF |
| 5529 #line 5530 "configure" | 5536 #line 5537 "configure" |
| 5530 #include "confdefs.h" | 5537 #include "confdefs.h" |
| 5531 | 5538 |
| 5532 int main() { | 5539 int main() { |
| 5533 main() | 5540 main() |
| 5534 ; return 0; } | 5541 ; return 0; } |
| 5535 EOF | 5542 EOF |
| 5536 if { (eval echo configure:5537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5543 if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5537 rm -rf conftest* | 5544 rm -rf conftest* |
| 5538 eval "ac_cv_lib_$ac_lib_var=yes" | 5545 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5539 else | 5546 else |
| 5540 echo "configure: failed program was:" >&5 | 5547 echo "configure: failed program was:" >&5 |
| 5541 cat conftest.$ac_ext >&5 | 5548 cat conftest.$ac_ext >&5 |
| 5553 fi | 5560 fi |
| 5554 | 5561 |
| 5555 | 5562 |
| 5556 | 5563 |
| 5557 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5564 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
| 5558 echo "configure:5559: checking for main in -lglade" >&5 | 5565 echo "configure:5566: checking for main in -lglade" >&5 |
| 5559 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5566 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
| 5560 | 5567 |
| 5561 xe_check_libs=" -lglade " | 5568 xe_check_libs=" -lglade " |
| 5562 cat > conftest.$ac_ext <<EOF | 5569 cat > conftest.$ac_ext <<EOF |
| 5563 #line 5564 "configure" | 5570 #line 5571 "configure" |
| 5564 #include "confdefs.h" | 5571 #include "confdefs.h" |
| 5565 | 5572 |
| 5566 int main() { | 5573 int main() { |
| 5567 main() | 5574 main() |
| 5568 ; return 0; } | 5575 ; return 0; } |
| 5569 EOF | 5576 EOF |
| 5570 if { (eval echo configure:5571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5577 if { (eval echo configure:5578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5571 rm -rf conftest* | 5578 rm -rf conftest* |
| 5572 eval "ac_cv_lib_$ac_lib_var=yes" | 5579 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5573 else | 5580 else |
| 5574 echo "configure: failed program was:" >&5 | 5581 echo "configure: failed program was:" >&5 |
| 5575 cat conftest.$ac_ext >&5 | 5582 cat conftest.$ac_ext >&5 |
| 5587 fi | 5594 fi |
| 5588 | 5595 |
| 5589 | 5596 |
| 5590 | 5597 |
| 5591 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5598 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
| 5592 echo "configure:5593: checking for main in -lglade-gnome" >&5 | 5599 echo "configure:5600: checking for main in -lglade-gnome" >&5 |
| 5593 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5600 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
| 5594 | 5601 |
| 5595 xe_check_libs=" -lglade-gnome " | 5602 xe_check_libs=" -lglade-gnome " |
| 5596 cat > conftest.$ac_ext <<EOF | 5603 cat > conftest.$ac_ext <<EOF |
| 5597 #line 5598 "configure" | 5604 #line 5605 "configure" |
| 5598 #include "confdefs.h" | 5605 #include "confdefs.h" |
| 5599 | 5606 |
| 5600 int main() { | 5607 int main() { |
| 5601 main() | 5608 main() |
| 5602 ; return 0; } | 5609 ; return 0; } |
| 5603 EOF | 5610 EOF |
| 5604 if { (eval echo configure:5605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5611 if { (eval echo configure:5612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5605 rm -rf conftest* | 5612 rm -rf conftest* |
| 5606 eval "ac_cv_lib_$ac_lib_var=yes" | 5613 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5607 else | 5614 else |
| 5608 echo "configure: failed program was:" >&5 | 5615 echo "configure: failed program was:" >&5 |
| 5609 cat conftest.$ac_ext >&5 | 5616 cat conftest.$ac_ext >&5 |
| 5620 echo "$ac_t""no" 1>&6 | 5627 echo "$ac_t""no" 1>&6 |
| 5621 fi | 5628 fi |
| 5622 | 5629 |
| 5623 | 5630 |
| 5624 cat > conftest.$ac_ext <<EOF | 5631 cat > conftest.$ac_ext <<EOF |
| 5625 #line 5626 "configure" | 5632 #line 5633 "configure" |
| 5626 #include "confdefs.h" | 5633 #include "confdefs.h" |
| 5627 #include <glade/glade-xml.h> | 5634 #include <glade/glade-xml.h> |
| 5628 EOF | 5635 EOF |
| 5629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5630 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5637 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
| 5679 # If we find X, set shell vars x_includes and x_libraries to the | 5686 # If we find X, set shell vars x_includes and x_libraries to the |
| 5680 # paths, otherwise set no_x=yes. | 5687 # paths, otherwise set no_x=yes. |
| 5681 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5688 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 5682 # --without-x overrides everything else, but does not touch the cache. | 5689 # --without-x overrides everything else, but does not touch the cache. |
| 5683 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5690 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 5684 echo "configure:5685: checking for X" >&5 | 5691 echo "configure:5692: checking for X" >&5 |
| 5685 | 5692 |
| 5686 # Check whether --with-x or --without-x was given. | 5693 # Check whether --with-x or --without-x was given. |
| 5687 if test "${with_x+set}" = set; then | 5694 if test "${with_x+set}" = set; then |
| 5688 withval="$with_x" | 5695 withval="$with_x" |
| 5689 : | 5696 : |
| 5739 # Guess where to find include files, by looking for this one X11 .h file. | 5746 # Guess where to find include files, by looking for this one X11 .h file. |
| 5740 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5747 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 5741 | 5748 |
| 5742 # First, try using that file with no special directory specified. | 5749 # First, try using that file with no special directory specified. |
| 5743 cat > conftest.$ac_ext <<EOF | 5750 cat > conftest.$ac_ext <<EOF |
| 5744 #line 5745 "configure" | 5751 #line 5752 "configure" |
| 5745 #include "confdefs.h" | 5752 #include "confdefs.h" |
| 5746 #include <$x_direct_test_include> | 5753 #include <$x_direct_test_include> |
| 5747 EOF | 5754 EOF |
| 5748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5749 { (eval echo configure:5750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5756 { (eval echo configure:5757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5751 if test -z "$ac_err"; then | 5758 if test -z "$ac_err"; then |
| 5752 rm -rf conftest* | 5759 rm -rf conftest* |
| 5753 # We can compile using X headers with no special include directory. | 5760 # We can compile using X headers with no special include directory. |
| 5754 ac_x_includes= | 5761 ac_x_includes= |
| 5813 # See if we find them without any special options. | 5820 # See if we find them without any special options. |
| 5814 # Don't add to $LIBS permanently. | 5821 # Don't add to $LIBS permanently. |
| 5815 ac_save_LIBS="$LIBS" | 5822 ac_save_LIBS="$LIBS" |
| 5816 LIBS="-l$x_direct_test_library $LIBS" | 5823 LIBS="-l$x_direct_test_library $LIBS" |
| 5817 cat > conftest.$ac_ext <<EOF | 5824 cat > conftest.$ac_ext <<EOF |
| 5818 #line 5819 "configure" | 5825 #line 5826 "configure" |
| 5819 #include "confdefs.h" | 5826 #include "confdefs.h" |
| 5820 | 5827 |
| 5821 int main() { | 5828 int main() { |
| 5822 ${x_direct_test_function}() | 5829 ${x_direct_test_function}() |
| 5823 ; return 0; } | 5830 ; return 0; } |
| 5824 EOF | 5831 EOF |
| 5825 if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5832 if { (eval echo configure:5833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5826 rm -rf conftest* | 5833 rm -rf conftest* |
| 5827 LIBS="$ac_save_LIBS" | 5834 LIBS="$ac_save_LIBS" |
| 5828 # We can link X programs with no special library path. | 5835 # We can link X programs with no special library path. |
| 5829 ac_x_libraries= | 5836 ac_x_libraries= |
| 5830 else | 5837 else |
| 5929 # For Solaris; some versions of Sun CC require a space after -R and | 5936 # For Solaris; some versions of Sun CC require a space after -R and |
| 5930 # others require no space. Words are not sufficient . . . . | 5937 # others require no space. Words are not sufficient . . . . |
| 5931 case "`(uname -sr) 2>/dev/null`" in | 5938 case "`(uname -sr) 2>/dev/null`" in |
| 5932 "SunOS 5"*) | 5939 "SunOS 5"*) |
| 5933 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5940 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 5934 echo "configure:5935: checking whether -R must be followed by a space" >&5 | 5941 echo "configure:5942: checking whether -R must be followed by a space" >&5 |
| 5935 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5942 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 5936 cat > conftest.$ac_ext <<EOF | 5943 cat > conftest.$ac_ext <<EOF |
| 5937 #line 5938 "configure" | 5944 #line 5945 "configure" |
| 5938 #include "confdefs.h" | 5945 #include "confdefs.h" |
| 5939 | 5946 |
| 5940 int main() { | 5947 int main() { |
| 5941 | 5948 |
| 5942 ; return 0; } | 5949 ; return 0; } |
| 5943 EOF | 5950 EOF |
| 5944 if { (eval echo configure:5945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5951 if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5945 rm -rf conftest* | 5952 rm -rf conftest* |
| 5946 ac_R_nospace=yes | 5953 ac_R_nospace=yes |
| 5947 else | 5954 else |
| 5948 echo "configure: failed program was:" >&5 | 5955 echo "configure: failed program was:" >&5 |
| 5949 cat conftest.$ac_ext >&5 | 5956 cat conftest.$ac_ext >&5 |
| 5955 echo "$ac_t""no" 1>&6 | 5962 echo "$ac_t""no" 1>&6 |
| 5956 X_LIBS="$X_LIBS -R$x_libraries" | 5963 X_LIBS="$X_LIBS -R$x_libraries" |
| 5957 else | 5964 else |
| 5958 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5965 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 5959 cat > conftest.$ac_ext <<EOF | 5966 cat > conftest.$ac_ext <<EOF |
| 5960 #line 5961 "configure" | 5967 #line 5968 "configure" |
| 5961 #include "confdefs.h" | 5968 #include "confdefs.h" |
| 5962 | 5969 |
| 5963 int main() { | 5970 int main() { |
| 5964 | 5971 |
| 5965 ; return 0; } | 5972 ; return 0; } |
| 5966 EOF | 5973 EOF |
| 5967 if { (eval echo configure:5968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5968 rm -rf conftest* | 5975 rm -rf conftest* |
| 5969 ac_R_space=yes | 5976 ac_R_space=yes |
| 5970 else | 5977 else |
| 5971 echo "configure: failed program was:" >&5 | 5978 echo "configure: failed program was:" >&5 |
| 5972 cat conftest.$ac_ext >&5 | 5979 cat conftest.$ac_ext >&5 |
| 5998 if test "$with_dnet" = "no" ; then | 6005 if test "$with_dnet" = "no" ; then |
| 5999 ac_cv_lib_dnet_dnet_ntoa=no | 6006 ac_cv_lib_dnet_dnet_ntoa=no |
| 6000 else | 6007 else |
| 6001 | 6008 |
| 6002 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6009 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 6003 echo "configure:6004: checking for dnet_ntoa in -ldnet" >&5 | 6010 echo "configure:6011: checking for dnet_ntoa in -ldnet" >&5 |
| 6004 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6011 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 6005 | 6012 |
| 6006 xe_check_libs=" -ldnet " | 6013 xe_check_libs=" -ldnet " |
| 6007 cat > conftest.$ac_ext <<EOF | 6014 cat > conftest.$ac_ext <<EOF |
| 6008 #line 6009 "configure" | 6015 #line 6016 "configure" |
| 6009 #include "confdefs.h" | 6016 #include "confdefs.h" |
| 6010 /* Override any gcc2 internal prototype to avoid an error. */ | 6017 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6011 /* We use char because int might match the return type of a gcc2 | 6018 /* We use char because int might match the return type of a gcc2 |
| 6012 builtin and then its argument prototype would still apply. */ | 6019 builtin and then its argument prototype would still apply. */ |
| 6013 char dnet_ntoa(); | 6020 char dnet_ntoa(); |
| 6014 | 6021 |
| 6015 int main() { | 6022 int main() { |
| 6016 dnet_ntoa() | 6023 dnet_ntoa() |
| 6017 ; return 0; } | 6024 ; return 0; } |
| 6018 EOF | 6025 EOF |
| 6019 if { (eval echo configure:6020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6026 if { (eval echo configure:6027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6020 rm -rf conftest* | 6027 rm -rf conftest* |
| 6021 eval "ac_cv_lib_$ac_lib_var=yes" | 6028 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6022 else | 6029 else |
| 6023 echo "configure: failed program was:" >&5 | 6030 echo "configure: failed program was:" >&5 |
| 6024 cat conftest.$ac_ext >&5 | 6031 cat conftest.$ac_ext >&5 |
| 6038 fi | 6045 fi |
| 6039 | 6046 |
| 6040 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6047 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 6041 | 6048 |
| 6042 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6049 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 6043 echo "configure:6044: checking for dnet_ntoa in -ldnet_stub" >&5 | 6050 echo "configure:6051: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 6044 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6051 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 6045 | 6052 |
| 6046 xe_check_libs=" -ldnet_stub " | 6053 xe_check_libs=" -ldnet_stub " |
| 6047 cat > conftest.$ac_ext <<EOF | 6054 cat > conftest.$ac_ext <<EOF |
| 6048 #line 6049 "configure" | 6055 #line 6056 "configure" |
| 6049 #include "confdefs.h" | 6056 #include "confdefs.h" |
| 6050 /* Override any gcc2 internal prototype to avoid an error. */ | 6057 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6051 /* We use char because int might match the return type of a gcc2 | 6058 /* We use char because int might match the return type of a gcc2 |
| 6052 builtin and then its argument prototype would still apply. */ | 6059 builtin and then its argument prototype would still apply. */ |
| 6053 char dnet_ntoa(); | 6060 char dnet_ntoa(); |
| 6054 | 6061 |
| 6055 int main() { | 6062 int main() { |
| 6056 dnet_ntoa() | 6063 dnet_ntoa() |
| 6057 ; return 0; } | 6064 ; return 0; } |
| 6058 EOF | 6065 EOF |
| 6059 if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6066 if { (eval echo configure:6067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6060 rm -rf conftest* | 6067 rm -rf conftest* |
| 6061 eval "ac_cv_lib_$ac_lib_var=yes" | 6068 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6062 else | 6069 else |
| 6063 echo "configure: failed program was:" >&5 | 6070 echo "configure: failed program was:" >&5 |
| 6064 cat conftest.$ac_ext >&5 | 6071 cat conftest.$ac_ext >&5 |
| 6083 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6090 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 6084 # needs -lnsl. | 6091 # needs -lnsl. |
| 6085 # The nsl library prevents programs from opening the X display | 6092 # The nsl library prevents programs from opening the X display |
| 6086 # on Irix 5.2, according to dickey@clark.net. | 6093 # on Irix 5.2, according to dickey@clark.net. |
| 6087 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6094 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 6088 echo "configure:6089: checking for gethostbyname" >&5 | 6095 echo "configure:6096: checking for gethostbyname" >&5 |
| 6089 | 6096 |
| 6090 cat > conftest.$ac_ext <<EOF | 6097 cat > conftest.$ac_ext <<EOF |
| 6091 #line 6092 "configure" | 6098 #line 6099 "configure" |
| 6092 #include "confdefs.h" | 6099 #include "confdefs.h" |
| 6093 /* System header to define __stub macros and hopefully few prototypes, | 6100 /* System header to define __stub macros and hopefully few prototypes, |
| 6094 which can conflict with char gethostbyname(); below. */ | 6101 which can conflict with char gethostbyname(); below. */ |
| 6095 #include <assert.h> | 6102 #include <assert.h> |
| 6096 /* Override any gcc2 internal prototype to avoid an error. */ | 6103 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6109 gethostbyname(); | 6116 gethostbyname(); |
| 6110 #endif | 6117 #endif |
| 6111 | 6118 |
| 6112 ; return 0; } | 6119 ; return 0; } |
| 6113 EOF | 6120 EOF |
| 6114 if { (eval echo configure:6115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6121 if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6115 rm -rf conftest* | 6122 rm -rf conftest* |
| 6116 eval "ac_cv_func_gethostbyname=yes" | 6123 eval "ac_cv_func_gethostbyname=yes" |
| 6117 else | 6124 else |
| 6118 echo "configure: failed program was:" >&5 | 6125 echo "configure: failed program was:" >&5 |
| 6119 cat conftest.$ac_ext >&5 | 6126 cat conftest.$ac_ext >&5 |
| 6130 fi | 6137 fi |
| 6131 | 6138 |
| 6132 if test $ac_cv_func_gethostbyname = no; then | 6139 if test $ac_cv_func_gethostbyname = no; then |
| 6133 | 6140 |
| 6134 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6141 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 6135 echo "configure:6136: checking for gethostbyname in -lnsl" >&5 | 6142 echo "configure:6143: checking for gethostbyname in -lnsl" >&5 |
| 6136 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6143 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 6137 | 6144 |
| 6138 xe_check_libs=" -lnsl " | 6145 xe_check_libs=" -lnsl " |
| 6139 cat > conftest.$ac_ext <<EOF | 6146 cat > conftest.$ac_ext <<EOF |
| 6140 #line 6141 "configure" | 6147 #line 6148 "configure" |
| 6141 #include "confdefs.h" | 6148 #include "confdefs.h" |
| 6142 /* Override any gcc2 internal prototype to avoid an error. */ | 6149 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6143 /* We use char because int might match the return type of a gcc2 | 6150 /* We use char because int might match the return type of a gcc2 |
| 6144 builtin and then its argument prototype would still apply. */ | 6151 builtin and then its argument prototype would still apply. */ |
| 6145 char gethostbyname(); | 6152 char gethostbyname(); |
| 6146 | 6153 |
| 6147 int main() { | 6154 int main() { |
| 6148 gethostbyname() | 6155 gethostbyname() |
| 6149 ; return 0; } | 6156 ; return 0; } |
| 6150 EOF | 6157 EOF |
| 6151 if { (eval echo configure:6152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6152 rm -rf conftest* | 6159 rm -rf conftest* |
| 6153 eval "ac_cv_lib_$ac_lib_var=yes" | 6160 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6154 else | 6161 else |
| 6155 echo "configure: failed program was:" >&5 | 6162 echo "configure: failed program was:" >&5 |
| 6156 cat conftest.$ac_ext >&5 | 6163 cat conftest.$ac_ext >&5 |
| 6176 # on later versions), says simon@lia.di.epfl.ch: it contains | 6183 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 6177 # gethostby* variants that don't use the nameserver (or something). | 6184 # gethostby* variants that don't use the nameserver (or something). |
| 6178 # -lsocket must be given before -lnsl if both are needed. | 6185 # -lsocket must be given before -lnsl if both are needed. |
| 6179 # We assume that if connect needs -lnsl, so does gethostbyname. | 6186 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 6180 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6187 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 6181 echo "configure:6182: checking for connect" >&5 | 6188 echo "configure:6189: checking for connect" >&5 |
| 6182 | 6189 |
| 6183 cat > conftest.$ac_ext <<EOF | 6190 cat > conftest.$ac_ext <<EOF |
| 6184 #line 6185 "configure" | 6191 #line 6192 "configure" |
| 6185 #include "confdefs.h" | 6192 #include "confdefs.h" |
| 6186 /* System header to define __stub macros and hopefully few prototypes, | 6193 /* System header to define __stub macros and hopefully few prototypes, |
| 6187 which can conflict with char connect(); below. */ | 6194 which can conflict with char connect(); below. */ |
| 6188 #include <assert.h> | 6195 #include <assert.h> |
| 6189 /* Override any gcc2 internal prototype to avoid an error. */ | 6196 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6202 connect(); | 6209 connect(); |
| 6203 #endif | 6210 #endif |
| 6204 | 6211 |
| 6205 ; return 0; } | 6212 ; return 0; } |
| 6206 EOF | 6213 EOF |
| 6207 if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6208 rm -rf conftest* | 6215 rm -rf conftest* |
| 6209 eval "ac_cv_func_connect=yes" | 6216 eval "ac_cv_func_connect=yes" |
| 6210 else | 6217 else |
| 6211 echo "configure: failed program was:" >&5 | 6218 echo "configure: failed program was:" >&5 |
| 6212 cat conftest.$ac_ext >&5 | 6219 cat conftest.$ac_ext >&5 |
| 6225 if test $ac_cv_func_connect = no; then | 6232 if test $ac_cv_func_connect = no; then |
| 6226 | 6233 |
| 6227 xe_msg_checking="for connect in -lsocket" | 6234 xe_msg_checking="for connect in -lsocket" |
| 6228 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6235 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 6229 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6236 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6230 echo "configure:6231: checking "$xe_msg_checking"" >&5 | 6237 echo "configure:6238: checking "$xe_msg_checking"" >&5 |
| 6231 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6238 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 6232 | 6239 |
| 6233 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6240 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 6234 cat > conftest.$ac_ext <<EOF | 6241 cat > conftest.$ac_ext <<EOF |
| 6235 #line 6236 "configure" | 6242 #line 6243 "configure" |
| 6236 #include "confdefs.h" | 6243 #include "confdefs.h" |
| 6237 /* Override any gcc2 internal prototype to avoid an error. */ | 6244 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6238 /* We use char because int might match the return type of a gcc2 | 6245 /* We use char because int might match the return type of a gcc2 |
| 6239 builtin and then its argument prototype would still apply. */ | 6246 builtin and then its argument prototype would still apply. */ |
| 6240 char connect(); | 6247 char connect(); |
| 6241 | 6248 |
| 6242 int main() { | 6249 int main() { |
| 6243 connect() | 6250 connect() |
| 6244 ; return 0; } | 6251 ; return 0; } |
| 6245 EOF | 6252 EOF |
| 6246 if { (eval echo configure:6247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6253 if { (eval echo configure:6254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6247 rm -rf conftest* | 6254 rm -rf conftest* |
| 6248 eval "ac_cv_lib_$ac_lib_var=yes" | 6255 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6249 else | 6256 else |
| 6250 echo "configure: failed program was:" >&5 | 6257 echo "configure: failed program was:" >&5 |
| 6251 cat conftest.$ac_ext >&5 | 6258 cat conftest.$ac_ext >&5 |
| 6265 | 6272 |
| 6266 fi | 6273 fi |
| 6267 | 6274 |
| 6268 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6275 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 6269 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6276 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 6270 echo "configure:6271: checking for remove" >&5 | 6277 echo "configure:6278: checking for remove" >&5 |
| 6271 | 6278 |
| 6272 cat > conftest.$ac_ext <<EOF | 6279 cat > conftest.$ac_ext <<EOF |
| 6273 #line 6274 "configure" | 6280 #line 6281 "configure" |
| 6274 #include "confdefs.h" | 6281 #include "confdefs.h" |
| 6275 /* System header to define __stub macros and hopefully few prototypes, | 6282 /* System header to define __stub macros and hopefully few prototypes, |
| 6276 which can conflict with char remove(); below. */ | 6283 which can conflict with char remove(); below. */ |
| 6277 #include <assert.h> | 6284 #include <assert.h> |
| 6278 /* Override any gcc2 internal prototype to avoid an error. */ | 6285 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6291 remove(); | 6298 remove(); |
| 6292 #endif | 6299 #endif |
| 6293 | 6300 |
| 6294 ; return 0; } | 6301 ; return 0; } |
| 6295 EOF | 6302 EOF |
| 6296 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6297 rm -rf conftest* | 6304 rm -rf conftest* |
| 6298 eval "ac_cv_func_remove=yes" | 6305 eval "ac_cv_func_remove=yes" |
| 6299 else | 6306 else |
| 6300 echo "configure: failed program was:" >&5 | 6307 echo "configure: failed program was:" >&5 |
| 6301 cat conftest.$ac_ext >&5 | 6308 cat conftest.$ac_ext >&5 |
| 6312 fi | 6319 fi |
| 6313 | 6320 |
| 6314 if test $ac_cv_func_remove = no; then | 6321 if test $ac_cv_func_remove = no; then |
| 6315 | 6322 |
| 6316 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6323 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 6317 echo "configure:6318: checking for remove in -lposix" >&5 | 6324 echo "configure:6325: checking for remove in -lposix" >&5 |
| 6318 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6325 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 6319 | 6326 |
| 6320 xe_check_libs=" -lposix " | 6327 xe_check_libs=" -lposix " |
| 6321 cat > conftest.$ac_ext <<EOF | 6328 cat > conftest.$ac_ext <<EOF |
| 6322 #line 6323 "configure" | 6329 #line 6330 "configure" |
| 6323 #include "confdefs.h" | 6330 #include "confdefs.h" |
| 6324 /* Override any gcc2 internal prototype to avoid an error. */ | 6331 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6325 /* We use char because int might match the return type of a gcc2 | 6332 /* We use char because int might match the return type of a gcc2 |
| 6326 builtin and then its argument prototype would still apply. */ | 6333 builtin and then its argument prototype would still apply. */ |
| 6327 char remove(); | 6334 char remove(); |
| 6328 | 6335 |
| 6329 int main() { | 6336 int main() { |
| 6330 remove() | 6337 remove() |
| 6331 ; return 0; } | 6338 ; return 0; } |
| 6332 EOF | 6339 EOF |
| 6333 if { (eval echo configure:6334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6334 rm -rf conftest* | 6341 rm -rf conftest* |
| 6335 eval "ac_cv_lib_$ac_lib_var=yes" | 6342 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6336 else | 6343 else |
| 6337 echo "configure: failed program was:" >&5 | 6344 echo "configure: failed program was:" >&5 |
| 6338 cat conftest.$ac_ext >&5 | 6345 cat conftest.$ac_ext >&5 |
| 6352 | 6359 |
| 6353 fi | 6360 fi |
| 6354 | 6361 |
| 6355 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6362 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 6356 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6363 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 6357 echo "configure:6358: checking for shmat" >&5 | 6364 echo "configure:6365: checking for shmat" >&5 |
| 6358 | 6365 |
| 6359 cat > conftest.$ac_ext <<EOF | 6366 cat > conftest.$ac_ext <<EOF |
| 6360 #line 6361 "configure" | 6367 #line 6368 "configure" |
| 6361 #include "confdefs.h" | 6368 #include "confdefs.h" |
| 6362 /* System header to define __stub macros and hopefully few prototypes, | 6369 /* System header to define __stub macros and hopefully few prototypes, |
| 6363 which can conflict with char shmat(); below. */ | 6370 which can conflict with char shmat(); below. */ |
| 6364 #include <assert.h> | 6371 #include <assert.h> |
| 6365 /* Override any gcc2 internal prototype to avoid an error. */ | 6372 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6378 shmat(); | 6385 shmat(); |
| 6379 #endif | 6386 #endif |
| 6380 | 6387 |
| 6381 ; return 0; } | 6388 ; return 0; } |
| 6382 EOF | 6389 EOF |
| 6383 if { (eval echo configure:6384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6390 if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6384 rm -rf conftest* | 6391 rm -rf conftest* |
| 6385 eval "ac_cv_func_shmat=yes" | 6392 eval "ac_cv_func_shmat=yes" |
| 6386 else | 6393 else |
| 6387 echo "configure: failed program was:" >&5 | 6394 echo "configure: failed program was:" >&5 |
| 6388 cat conftest.$ac_ext >&5 | 6395 cat conftest.$ac_ext >&5 |
| 6399 fi | 6406 fi |
| 6400 | 6407 |
| 6401 if test $ac_cv_func_shmat = no; then | 6408 if test $ac_cv_func_shmat = no; then |
| 6402 | 6409 |
| 6403 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6410 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 6404 echo "configure:6405: checking for shmat in -lipc" >&5 | 6411 echo "configure:6412: checking for shmat in -lipc" >&5 |
| 6405 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6412 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 6406 | 6413 |
| 6407 xe_check_libs=" -lipc " | 6414 xe_check_libs=" -lipc " |
| 6408 cat > conftest.$ac_ext <<EOF | 6415 cat > conftest.$ac_ext <<EOF |
| 6409 #line 6410 "configure" | 6416 #line 6417 "configure" |
| 6410 #include "confdefs.h" | 6417 #include "confdefs.h" |
| 6411 /* Override any gcc2 internal prototype to avoid an error. */ | 6418 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6412 /* We use char because int might match the return type of a gcc2 | 6419 /* We use char because int might match the return type of a gcc2 |
| 6413 builtin and then its argument prototype would still apply. */ | 6420 builtin and then its argument prototype would still apply. */ |
| 6414 char shmat(); | 6421 char shmat(); |
| 6415 | 6422 |
| 6416 int main() { | 6423 int main() { |
| 6417 shmat() | 6424 shmat() |
| 6418 ; return 0; } | 6425 ; return 0; } |
| 6419 EOF | 6426 EOF |
| 6420 if { (eval echo configure:6421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6427 if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6421 rm -rf conftest* | 6428 rm -rf conftest* |
| 6422 eval "ac_cv_lib_$ac_lib_var=yes" | 6429 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6423 else | 6430 else |
| 6424 echo "configure: failed program was:" >&5 | 6431 echo "configure: failed program was:" >&5 |
| 6425 cat conftest.$ac_ext >&5 | 6432 cat conftest.$ac_ext >&5 |
| 6451 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6458 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 6452 | 6459 |
| 6453 xe_msg_checking="for IceConnectionNumber in -lICE" | 6460 xe_msg_checking="for IceConnectionNumber in -lICE" |
| 6454 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6461 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 6455 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6462 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6456 echo "configure:6457: checking "$xe_msg_checking"" >&5 | 6463 echo "configure:6464: checking "$xe_msg_checking"" >&5 |
| 6457 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6464 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 6458 | 6465 |
| 6459 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6466 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
| 6460 cat > conftest.$ac_ext <<EOF | 6467 cat > conftest.$ac_ext <<EOF |
| 6461 #line 6462 "configure" | 6468 #line 6469 "configure" |
| 6462 #include "confdefs.h" | 6469 #include "confdefs.h" |
| 6463 /* Override any gcc2 internal prototype to avoid an error. */ | 6470 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6464 /* We use char because int might match the return type of a gcc2 | 6471 /* We use char because int might match the return type of a gcc2 |
| 6465 builtin and then its argument prototype would still apply. */ | 6472 builtin and then its argument prototype would still apply. */ |
| 6466 char IceConnectionNumber(); | 6473 char IceConnectionNumber(); |
| 6467 | 6474 |
| 6468 int main() { | 6475 int main() { |
| 6469 IceConnectionNumber() | 6476 IceConnectionNumber() |
| 6470 ; return 0; } | 6477 ; return 0; } |
| 6471 EOF | 6478 EOF |
| 6472 if { (eval echo configure:6473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6479 if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6473 rm -rf conftest* | 6480 rm -rf conftest* |
| 6474 eval "ac_cv_lib_$ac_lib_var=yes" | 6481 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6475 else | 6482 else |
| 6476 echo "configure: failed program was:" >&5 | 6483 echo "configure: failed program was:" >&5 |
| 6477 cat conftest.$ac_ext >&5 | 6484 cat conftest.$ac_ext >&5 |
| 6513 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6520 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
| 6514 | 6521 |
| 6515 | 6522 |
| 6516 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6523 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6517 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6524 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6518 echo "configure:6519: checking for Xm/Xm.h" >&5 | 6525 echo "configure:6526: checking for Xm/Xm.h" >&5 |
| 6519 | 6526 |
| 6520 cat > conftest.$ac_ext <<EOF | 6527 cat > conftest.$ac_ext <<EOF |
| 6521 #line 6522 "configure" | 6528 #line 6529 "configure" |
| 6522 #include "confdefs.h" | 6529 #include "confdefs.h" |
| 6523 #include <Xm/Xm.h> | 6530 #include <Xm/Xm.h> |
| 6524 EOF | 6531 EOF |
| 6525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6526 { (eval echo configure:6527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6533 { (eval echo configure:6534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6528 if test -z "$ac_err"; then | 6535 if test -z "$ac_err"; then |
| 6529 rm -rf conftest* | 6536 rm -rf conftest* |
| 6530 eval "ac_cv_header_$ac_safe=yes" | 6537 eval "ac_cv_header_$ac_safe=yes" |
| 6531 else | 6538 else |
| 6538 rm -f conftest* | 6545 rm -f conftest* |
| 6539 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6540 echo "$ac_t""yes" 1>&6 | 6547 echo "$ac_t""yes" 1>&6 |
| 6541 | 6548 |
| 6542 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6549 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6543 echo "configure:6544: checking for XmStringFree in -lXm" >&5 | 6550 echo "configure:6551: checking for XmStringFree in -lXm" >&5 |
| 6544 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6551 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6545 | 6552 |
| 6546 xe_check_libs=" -lXm " | 6553 xe_check_libs=" -lXm " |
| 6547 cat > conftest.$ac_ext <<EOF | 6554 cat > conftest.$ac_ext <<EOF |
| 6548 #line 6549 "configure" | 6555 #line 6556 "configure" |
| 6549 #include "confdefs.h" | 6556 #include "confdefs.h" |
| 6550 /* Override any gcc2 internal prototype to avoid an error. */ | 6557 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6551 /* We use char because int might match the return type of a gcc2 | 6558 /* We use char because int might match the return type of a gcc2 |
| 6552 builtin and then its argument prototype would still apply. */ | 6559 builtin and then its argument prototype would still apply. */ |
| 6553 char XmStringFree(); | 6560 char XmStringFree(); |
| 6554 | 6561 |
| 6555 int main() { | 6562 int main() { |
| 6556 XmStringFree() | 6563 XmStringFree() |
| 6557 ; return 0; } | 6564 ; return 0; } |
| 6558 EOF | 6565 EOF |
| 6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6566 if { (eval echo configure:6567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6560 rm -rf conftest* | 6567 rm -rf conftest* |
| 6561 eval "ac_cv_lib_$ac_lib_var=yes" | 6568 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6562 else | 6569 else |
| 6563 echo "configure: failed program was:" >&5 | 6570 echo "configure: failed program was:" >&5 |
| 6564 cat conftest.$ac_ext >&5 | 6571 cat conftest.$ac_ext >&5 |
| 6706 EOF | 6713 EOF |
| 6707 } | 6714 } |
| 6708 | 6715 |
| 6709 | 6716 |
| 6710 echo "checking for X defines extracted by xmkmf" 1>&6 | 6717 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 6711 echo "configure:6712: checking for X defines extracted by xmkmf" >&5 | 6718 echo "configure:6719: checking for X defines extracted by xmkmf" >&5 |
| 6712 rm -fr conftestdir | 6719 rm -fr conftestdir |
| 6713 if mkdir conftestdir; then | 6720 if mkdir conftestdir; then |
| 6714 cd conftestdir | 6721 cd conftestdir |
| 6715 cat > Imakefile <<'EOF' | 6722 cat > Imakefile <<'EOF' |
| 6716 xetest: | 6723 xetest: |
| 6755 done | 6762 done |
| 6756 fi | 6763 fi |
| 6757 | 6764 |
| 6758 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6765 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 6759 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6766 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 6760 echo "configure:6761: checking for X11/Intrinsic.h" >&5 | 6767 echo "configure:6768: checking for X11/Intrinsic.h" >&5 |
| 6761 | 6768 |
| 6762 cat > conftest.$ac_ext <<EOF | 6769 cat > conftest.$ac_ext <<EOF |
| 6763 #line 6764 "configure" | 6770 #line 6771 "configure" |
| 6764 #include "confdefs.h" | 6771 #include "confdefs.h" |
| 6765 #include <X11/Intrinsic.h> | 6772 #include <X11/Intrinsic.h> |
| 6766 EOF | 6773 EOF |
| 6767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6768 { (eval echo configure:6769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6775 { (eval echo configure:6776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6770 if test -z "$ac_err"; then | 6777 if test -z "$ac_err"; then |
| 6771 rm -rf conftest* | 6778 rm -rf conftest* |
| 6772 eval "ac_cv_header_$ac_safe=yes" | 6779 eval "ac_cv_header_$ac_safe=yes" |
| 6773 else | 6780 else |
| 6787 fi | 6794 fi |
| 6788 | 6795 |
| 6789 | 6796 |
| 6790 | 6797 |
| 6791 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6798 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 6792 echo "configure:6793: checking for XOpenDisplay in -lX11" >&5 | 6799 echo "configure:6800: checking for XOpenDisplay in -lX11" >&5 |
| 6793 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6800 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 6794 | 6801 |
| 6795 xe_check_libs=" -lX11 " | 6802 xe_check_libs=" -lX11 " |
| 6796 cat > conftest.$ac_ext <<EOF | 6803 cat > conftest.$ac_ext <<EOF |
| 6797 #line 6798 "configure" | 6804 #line 6805 "configure" |
| 6798 #include "confdefs.h" | 6805 #include "confdefs.h" |
| 6799 /* Override any gcc2 internal prototype to avoid an error. */ | 6806 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6800 /* We use char because int might match the return type of a gcc2 | 6807 /* We use char because int might match the return type of a gcc2 |
| 6801 builtin and then its argument prototype would still apply. */ | 6808 builtin and then its argument prototype would still apply. */ |
| 6802 char XOpenDisplay(); | 6809 char XOpenDisplay(); |
| 6803 | 6810 |
| 6804 int main() { | 6811 int main() { |
| 6805 XOpenDisplay() | 6812 XOpenDisplay() |
| 6806 ; return 0; } | 6813 ; return 0; } |
| 6807 EOF | 6814 EOF |
| 6808 if { (eval echo configure:6809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6815 if { (eval echo configure:6816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6809 rm -rf conftest* | 6816 rm -rf conftest* |
| 6810 eval "ac_cv_lib_$ac_lib_var=yes" | 6817 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6811 else | 6818 else |
| 6812 echo "configure: failed program was:" >&5 | 6819 echo "configure: failed program was:" >&5 |
| 6813 cat conftest.$ac_ext >&5 | 6820 cat conftest.$ac_ext >&5 |
| 6828 if test "$have_lib_x11" != "yes"; then | 6835 if test "$have_lib_x11" != "yes"; then |
| 6829 | 6836 |
| 6830 xe_msg_checking="for XGetFontProperty in -lX11" | 6837 xe_msg_checking="for XGetFontProperty in -lX11" |
| 6831 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6838 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 6832 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6839 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6833 echo "configure:6834: checking "$xe_msg_checking"" >&5 | 6840 echo "configure:6841: checking "$xe_msg_checking"" >&5 |
| 6834 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6841 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 6835 | 6842 |
| 6836 xe_check_libs=" -lX11 -b i486-linuxaout" | 6843 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 6837 cat > conftest.$ac_ext <<EOF | 6844 cat > conftest.$ac_ext <<EOF |
| 6838 #line 6839 "configure" | 6845 #line 6846 "configure" |
| 6839 #include "confdefs.h" | 6846 #include "confdefs.h" |
| 6840 /* Override any gcc2 internal prototype to avoid an error. */ | 6847 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6841 /* We use char because int might match the return type of a gcc2 | 6848 /* We use char because int might match the return type of a gcc2 |
| 6842 builtin and then its argument prototype would still apply. */ | 6849 builtin and then its argument prototype would still apply. */ |
| 6843 char XGetFontProperty(); | 6850 char XGetFontProperty(); |
| 6844 | 6851 |
| 6845 int main() { | 6852 int main() { |
| 6846 XGetFontProperty() | 6853 XGetFontProperty() |
| 6847 ; return 0; } | 6854 ; return 0; } |
| 6848 EOF | 6855 EOF |
| 6849 if { (eval echo configure:6850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6850 rm -rf conftest* | 6857 rm -rf conftest* |
| 6851 eval "ac_cv_lib_$ac_lib_var=yes" | 6858 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6852 else | 6859 else |
| 6853 echo "configure: failed program was:" >&5 | 6860 echo "configure: failed program was:" >&5 |
| 6854 cat conftest.$ac_ext >&5 | 6861 cat conftest.$ac_ext >&5 |
| 6871 libs_x="-lX11" | 6878 libs_x="-lX11" |
| 6872 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6879 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 6873 | 6880 |
| 6874 | 6881 |
| 6875 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6882 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 6876 echo "configure:6877: checking for XShapeSelectInput in -lXext" >&5 | 6883 echo "configure:6884: checking for XShapeSelectInput in -lXext" >&5 |
| 6877 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6884 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 6878 | 6885 |
| 6879 xe_check_libs=" -lXext " | 6886 xe_check_libs=" -lXext " |
| 6880 cat > conftest.$ac_ext <<EOF | 6887 cat > conftest.$ac_ext <<EOF |
| 6881 #line 6882 "configure" | 6888 #line 6889 "configure" |
| 6882 #include "confdefs.h" | 6889 #include "confdefs.h" |
| 6883 /* Override any gcc2 internal prototype to avoid an error. */ | 6890 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6884 /* We use char because int might match the return type of a gcc2 | 6891 /* We use char because int might match the return type of a gcc2 |
| 6885 builtin and then its argument prototype would still apply. */ | 6892 builtin and then its argument prototype would still apply. */ |
| 6886 char XShapeSelectInput(); | 6893 char XShapeSelectInput(); |
| 6887 | 6894 |
| 6888 int main() { | 6895 int main() { |
| 6889 XShapeSelectInput() | 6896 XShapeSelectInput() |
| 6890 ; return 0; } | 6897 ; return 0; } |
| 6891 EOF | 6898 EOF |
| 6892 if { (eval echo configure:6893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6899 if { (eval echo configure:6900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6893 rm -rf conftest* | 6900 rm -rf conftest* |
| 6894 eval "ac_cv_lib_$ac_lib_var=yes" | 6901 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6895 else | 6902 else |
| 6896 echo "configure: failed program was:" >&5 | 6903 echo "configure: failed program was:" >&5 |
| 6897 cat conftest.$ac_ext >&5 | 6904 cat conftest.$ac_ext >&5 |
| 6910 | 6917 |
| 6911 | 6918 |
| 6912 | 6919 |
| 6913 | 6920 |
| 6914 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6921 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 6915 echo "configure:6916: checking for XtOpenDisplay in -lXt" >&5 | 6922 echo "configure:6923: checking for XtOpenDisplay in -lXt" >&5 |
| 6916 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6923 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 6917 | 6924 |
| 6918 xe_check_libs=" -lXt " | 6925 xe_check_libs=" -lXt " |
| 6919 cat > conftest.$ac_ext <<EOF | 6926 cat > conftest.$ac_ext <<EOF |
| 6920 #line 6921 "configure" | 6927 #line 6928 "configure" |
| 6921 #include "confdefs.h" | 6928 #include "confdefs.h" |
| 6922 /* Override any gcc2 internal prototype to avoid an error. */ | 6929 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6923 /* We use char because int might match the return type of a gcc2 | 6930 /* We use char because int might match the return type of a gcc2 |
| 6924 builtin and then its argument prototype would still apply. */ | 6931 builtin and then its argument prototype would still apply. */ |
| 6925 char XtOpenDisplay(); | 6932 char XtOpenDisplay(); |
| 6926 | 6933 |
| 6927 int main() { | 6934 int main() { |
| 6928 XtOpenDisplay() | 6935 XtOpenDisplay() |
| 6929 ; return 0; } | 6936 ; return 0; } |
| 6930 EOF | 6937 EOF |
| 6931 if { (eval echo configure:6932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6938 if { (eval echo configure:6939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6932 rm -rf conftest* | 6939 rm -rf conftest* |
| 6933 eval "ac_cv_lib_$ac_lib_var=yes" | 6940 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6934 else | 6941 else |
| 6935 echo "configure: failed program was:" >&5 | 6942 echo "configure: failed program was:" >&5 |
| 6936 cat conftest.$ac_ext >&5 | 6943 cat conftest.$ac_ext >&5 |
| 6949 fi | 6956 fi |
| 6950 | 6957 |
| 6951 | 6958 |
| 6952 | 6959 |
| 6953 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6960 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 6954 echo "configure:6955: checking the version of X11 being used" >&5 | 6961 echo "configure:6962: checking the version of X11 being used" >&5 |
| 6955 cat > conftest.$ac_ext <<EOF | 6962 cat > conftest.$ac_ext <<EOF |
| 6956 #line 6957 "configure" | 6963 #line 6964 "configure" |
| 6957 #include "confdefs.h" | 6964 #include "confdefs.h" |
| 6958 #include <X11/Intrinsic.h> | 6965 #include <X11/Intrinsic.h> |
| 6959 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6966 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 6960 EOF | 6967 EOF |
| 6961 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6968 if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6962 then | 6969 then |
| 6963 ./conftest foobar; x11_release=$? | 6970 ./conftest foobar; x11_release=$? |
| 6964 else | 6971 else |
| 6965 conftest_rc="$?" | 6972 conftest_rc="$?" |
| 6966 echo "configure: failed program was:" >&5 | 6973 echo "configure: failed program was:" >&5 |
| 6987 fi | 6994 fi |
| 6988 | 6995 |
| 6989 for ac_func in XConvertCase | 6996 for ac_func in XConvertCase |
| 6990 do | 6997 do |
| 6991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6992 echo "configure:6993: checking for $ac_func" >&5 | 6999 echo "configure:7000: checking for $ac_func" >&5 |
| 6993 | 7000 |
| 6994 cat > conftest.$ac_ext <<EOF | 7001 cat > conftest.$ac_ext <<EOF |
| 6995 #line 6996 "configure" | 7002 #line 7003 "configure" |
| 6996 #include "confdefs.h" | 7003 #include "confdefs.h" |
| 6997 /* System header to define __stub macros and hopefully few prototypes, | 7004 /* System header to define __stub macros and hopefully few prototypes, |
| 6998 which can conflict with char $ac_func(); below. */ | 7005 which can conflict with char $ac_func(); below. */ |
| 6999 #include <assert.h> | 7006 #include <assert.h> |
| 7000 /* Override any gcc2 internal prototype to avoid an error. */ | 7007 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7013 $ac_func(); | 7020 $ac_func(); |
| 7014 #endif | 7021 #endif |
| 7015 | 7022 |
| 7016 ; return 0; } | 7023 ; return 0; } |
| 7017 EOF | 7024 EOF |
| 7018 if { (eval echo configure:7019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7025 if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7019 rm -rf conftest* | 7026 rm -rf conftest* |
| 7020 eval "ac_cv_func_$ac_func=yes" | 7027 eval "ac_cv_func_$ac_func=yes" |
| 7021 else | 7028 else |
| 7022 echo "configure: failed program was:" >&5 | 7029 echo "configure: failed program was:" >&5 |
| 7023 cat conftest.$ac_ext >&5 | 7030 cat conftest.$ac_ext >&5 |
| 7045 | 7052 |
| 7046 for ac_hdr in X11/Xlocale.h | 7053 for ac_hdr in X11/Xlocale.h |
| 7047 do | 7054 do |
| 7048 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7055 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7049 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7056 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7050 echo "configure:7051: checking for $ac_hdr" >&5 | 7057 echo "configure:7058: checking for $ac_hdr" >&5 |
| 7051 | 7058 |
| 7052 cat > conftest.$ac_ext <<EOF | 7059 cat > conftest.$ac_ext <<EOF |
| 7053 #line 7054 "configure" | 7060 #line 7061 "configure" |
| 7054 #include "confdefs.h" | 7061 #include "confdefs.h" |
| 7055 #include <$ac_hdr> | 7062 #include <$ac_hdr> |
| 7056 EOF | 7063 EOF |
| 7057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7058 { (eval echo configure:7059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7065 { (eval echo configure:7066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7060 if test -z "$ac_err"; then | 7067 if test -z "$ac_err"; then |
| 7061 rm -rf conftest* | 7068 rm -rf conftest* |
| 7062 eval "ac_cv_header_$ac_safe=yes" | 7069 eval "ac_cv_header_$ac_safe=yes" |
| 7063 else | 7070 else |
| 7086 | 7093 |
| 7087 | 7094 |
| 7088 for ac_func in XRegisterIMInstantiateCallback | 7095 for ac_func in XRegisterIMInstantiateCallback |
| 7089 do | 7096 do |
| 7090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7091 echo "configure:7092: checking for $ac_func" >&5 | 7098 echo "configure:7099: checking for $ac_func" >&5 |
| 7092 | 7099 |
| 7093 cat > conftest.$ac_ext <<EOF | 7100 cat > conftest.$ac_ext <<EOF |
| 7094 #line 7095 "configure" | 7101 #line 7102 "configure" |
| 7095 #include "confdefs.h" | 7102 #include "confdefs.h" |
| 7096 /* System header to define __stub macros and hopefully few prototypes, | 7103 /* System header to define __stub macros and hopefully few prototypes, |
| 7097 which can conflict with char $ac_func(); below. */ | 7104 which can conflict with char $ac_func(); below. */ |
| 7098 #include <assert.h> | 7105 #include <assert.h> |
| 7099 /* Override any gcc2 internal prototype to avoid an error. */ | 7106 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7112 $ac_func(); | 7119 $ac_func(); |
| 7113 #endif | 7120 #endif |
| 7114 | 7121 |
| 7115 ; return 0; } | 7122 ; return 0; } |
| 7116 EOF | 7123 EOF |
| 7117 if { (eval echo configure:7118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7124 if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7118 rm -rf conftest* | 7125 rm -rf conftest* |
| 7119 eval "ac_cv_func_$ac_func=yes" | 7126 eval "ac_cv_func_$ac_func=yes" |
| 7120 else | 7127 else |
| 7121 echo "configure: failed program was:" >&5 | 7128 echo "configure: failed program was:" >&5 |
| 7122 cat conftest.$ac_ext >&5 | 7129 cat conftest.$ac_ext >&5 |
| 7140 echo "$ac_t""no" 1>&6 | 7147 echo "$ac_t""no" 1>&6 |
| 7141 fi | 7148 fi |
| 7142 done | 7149 done |
| 7143 | 7150 |
| 7144 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7151 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
| 7145 echo "configure:7146: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7152 echo "configure:7153: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
| 7146 cat > conftest.$ac_ext <<EOF | 7153 cat > conftest.$ac_ext <<EOF |
| 7147 #line 7148 "configure" | 7154 #line 7155 "configure" |
| 7148 #include "confdefs.h" | 7155 #include "confdefs.h" |
| 7149 | 7156 |
| 7150 #define NeedFunctionPrototypes 1 | 7157 #define NeedFunctionPrototypes 1 |
| 7151 #include <X11/Xlib.h> | 7158 #include <X11/Xlib.h> |
| 7152 extern Bool XRegisterIMInstantiateCallback( | 7159 extern Bool XRegisterIMInstantiateCallback( |
| 7154 | 7161 |
| 7155 int main() { | 7162 int main() { |
| 7156 | 7163 |
| 7157 ; return 0; } | 7164 ; return 0; } |
| 7158 EOF | 7165 EOF |
| 7159 if { (eval echo configure:7160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7166 if { (eval echo configure:7167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7160 rm -rf conftest* | 7167 rm -rf conftest* |
| 7161 echo "$ac_t""yes" 1>&6 | 7168 echo "$ac_t""yes" 1>&6 |
| 7162 else | 7169 else |
| 7163 echo "configure: failed program was:" >&5 | 7170 echo "configure: failed program was:" >&5 |
| 7164 cat conftest.$ac_ext >&5 | 7171 cat conftest.$ac_ext >&5 |
| 7175 fi | 7182 fi |
| 7176 rm -f conftest* | 7183 rm -f conftest* |
| 7177 | 7184 |
| 7178 test -z "$with_xmu" && { | 7185 test -z "$with_xmu" && { |
| 7179 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7186 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 7180 echo "configure:7181: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7187 echo "configure:7188: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 7181 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7188 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 7182 | 7189 |
| 7183 xe_check_libs=" -lXmu " | 7190 xe_check_libs=" -lXmu " |
| 7184 cat > conftest.$ac_ext <<EOF | 7191 cat > conftest.$ac_ext <<EOF |
| 7185 #line 7186 "configure" | 7192 #line 7193 "configure" |
| 7186 #include "confdefs.h" | 7193 #include "confdefs.h" |
| 7187 /* Override any gcc2 internal prototype to avoid an error. */ | 7194 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7188 /* We use char because int might match the return type of a gcc2 | 7195 /* We use char because int might match the return type of a gcc2 |
| 7189 builtin and then its argument prototype would still apply. */ | 7196 builtin and then its argument prototype would still apply. */ |
| 7190 char XmuReadBitmapDataFromFile(); | 7197 char XmuReadBitmapDataFromFile(); |
| 7191 | 7198 |
| 7192 int main() { | 7199 int main() { |
| 7193 XmuReadBitmapDataFromFile() | 7200 XmuReadBitmapDataFromFile() |
| 7194 ; return 0; } | 7201 ; return 0; } |
| 7195 EOF | 7202 EOF |
| 7196 if { (eval echo configure:7197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7203 if { (eval echo configure:7204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7197 rm -rf conftest* | 7204 rm -rf conftest* |
| 7198 eval "ac_cv_lib_$ac_lib_var=yes" | 7205 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7199 else | 7206 else |
| 7200 echo "configure: failed program was:" >&5 | 7207 echo "configure: failed program was:" >&5 |
| 7201 cat conftest.$ac_ext >&5 | 7208 cat conftest.$ac_ext >&5 |
| 7230 | 7237 |
| 7231 fi | 7238 fi |
| 7232 | 7239 |
| 7233 | 7240 |
| 7234 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7241 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 7235 echo "configure:7236: checking for main in -lXbsd" >&5 | 7242 echo "configure:7243: checking for main in -lXbsd" >&5 |
| 7236 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7243 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 7237 | 7244 |
| 7238 xe_check_libs=" -lXbsd " | 7245 xe_check_libs=" -lXbsd " |
| 7239 cat > conftest.$ac_ext <<EOF | 7246 cat > conftest.$ac_ext <<EOF |
| 7240 #line 7241 "configure" | 7247 #line 7248 "configure" |
| 7241 #include "confdefs.h" | 7248 #include "confdefs.h" |
| 7242 | 7249 |
| 7243 int main() { | 7250 int main() { |
| 7244 main() | 7251 main() |
| 7245 ; return 0; } | 7252 ; return 0; } |
| 7246 EOF | 7253 EOF |
| 7247 if { (eval echo configure:7248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7254 if { (eval echo configure:7255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7248 rm -rf conftest* | 7255 rm -rf conftest* |
| 7249 eval "ac_cv_lib_$ac_lib_var=yes" | 7256 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7250 else | 7257 else |
| 7251 echo "configure: failed program was:" >&5 | 7258 echo "configure: failed program was:" >&5 |
| 7252 cat conftest.$ac_ext >&5 | 7259 cat conftest.$ac_ext >&5 |
| 7279 fi | 7286 fi |
| 7280 | 7287 |
| 7281 fi | 7288 fi |
| 7282 if test "$with_msw" != "no"; then | 7289 if test "$with_msw" != "no"; then |
| 7283 echo "checking for MS-Windows" 1>&6 | 7290 echo "checking for MS-Windows" 1>&6 |
| 7284 echo "configure:7285: checking for MS-Windows" >&5 | 7291 echo "configure:7292: checking for MS-Windows" >&5 |
| 7285 | 7292 |
| 7286 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7293 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 7287 echo "configure:7288: checking for main in -lgdi32" >&5 | 7294 echo "configure:7295: checking for main in -lgdi32" >&5 |
| 7288 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7295 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 7289 | 7296 |
| 7290 xe_check_libs=" -lgdi32 " | 7297 xe_check_libs=" -lgdi32 " |
| 7291 cat > conftest.$ac_ext <<EOF | 7298 cat > conftest.$ac_ext <<EOF |
| 7292 #line 7293 "configure" | 7299 #line 7300 "configure" |
| 7293 #include "confdefs.h" | 7300 #include "confdefs.h" |
| 7294 | 7301 |
| 7295 int main() { | 7302 int main() { |
| 7296 main() | 7303 main() |
| 7297 ; return 0; } | 7304 ; return 0; } |
| 7298 EOF | 7305 EOF |
| 7299 if { (eval echo configure:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7306 if { (eval echo configure:7307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7300 rm -rf conftest* | 7307 rm -rf conftest* |
| 7301 eval "ac_cv_lib_$ac_lib_var=yes" | 7308 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7302 else | 7309 else |
| 7303 echo "configure: failed program was:" >&5 | 7310 echo "configure: failed program was:" >&5 |
| 7304 cat conftest.$ac_ext >&5 | 7311 cat conftest.$ac_ext >&5 |
| 7345 test "$with_toolbars" != "no" && with_toolbars=msw | 7352 test "$with_toolbars" != "no" && with_toolbars=msw |
| 7346 test "$with_dialogs" != "no" && with_dialogs=msw | 7353 test "$with_dialogs" != "no" && with_dialogs=msw |
| 7347 test "$with_widgets" != "no" && with_widgets=msw | 7354 test "$with_widgets" != "no" && with_widgets=msw |
| 7348 fi | 7355 fi |
| 7349 cat > conftest.$ac_ext <<EOF | 7356 cat > conftest.$ac_ext <<EOF |
| 7350 #line 7351 "configure" | 7357 #line 7358 "configure" |
| 7351 #include "confdefs.h" | 7358 #include "confdefs.h" |
| 7352 #include <fcntl.h> | 7359 #include <fcntl.h> |
| 7353 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7360 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 7354 EOF | 7361 EOF |
| 7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7362 if { (eval echo configure:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 7356 then | 7363 then |
| 7357 { test "$extra_verbose" = "yes" && cat << \EOF | 7364 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7358 Defining HAVE_MSG_SELECT | 7365 Defining HAVE_MSG_SELECT |
| 7359 EOF | 7366 EOF |
| 7360 cat >> confdefs.h <<\EOF | 7367 cat >> confdefs.h <<\EOF |
| 7411 fi | 7418 fi |
| 7412 | 7419 |
| 7413 if test "$with_x11" = "yes"; then | 7420 if test "$with_x11" = "yes"; then |
| 7414 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7421 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
| 7415 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7422 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
| 7416 echo "configure:7417: checking for X11/extensions/shape.h" >&5 | 7423 echo "configure:7424: checking for X11/extensions/shape.h" >&5 |
| 7417 | 7424 |
| 7418 cat > conftest.$ac_ext <<EOF | 7425 cat > conftest.$ac_ext <<EOF |
| 7419 #line 7420 "configure" | 7426 #line 7427 "configure" |
| 7420 #include "confdefs.h" | 7427 #include "confdefs.h" |
| 7421 #include <X11/extensions/shape.h> | 7428 #include <X11/extensions/shape.h> |
| 7422 EOF | 7429 EOF |
| 7423 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7424 { (eval echo configure:7425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7431 { (eval echo configure:7432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7425 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7426 if test -z "$ac_err"; then | 7433 if test -z "$ac_err"; then |
| 7427 rm -rf conftest* | 7434 rm -rf conftest* |
| 7428 eval "ac_cv_header_$ac_safe=yes" | 7435 eval "ac_cv_header_$ac_safe=yes" |
| 7429 else | 7436 else |
| 7469 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7476 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 7470 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7477 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 7471 esac | 7478 esac |
| 7472 | 7479 |
| 7473 echo "checking for WM_COMMAND option" 1>&6 | 7480 echo "checking for WM_COMMAND option" 1>&6 |
| 7474 echo "configure:7475: checking for WM_COMMAND option" >&5; | 7481 echo "configure:7482: checking for WM_COMMAND option" >&5; |
| 7475 if test "$with_wmcommand" != "no"; then | 7482 if test "$with_wmcommand" != "no"; then |
| 7476 { test "$extra_verbose" = "yes" && cat << \EOF | 7483 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7477 Defining HAVE_WMCOMMAND | 7484 Defining HAVE_WMCOMMAND |
| 7478 EOF | 7485 EOF |
| 7479 cat >> confdefs.h <<\EOF | 7486 cat >> confdefs.h <<\EOF |
| 7484 fi | 7491 fi |
| 7485 | 7492 |
| 7486 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7493 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 7487 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7494 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 7488 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7495 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 7489 echo "configure:7490: checking for X11/Xauth.h" >&5 | 7496 echo "configure:7497: checking for X11/Xauth.h" >&5 |
| 7490 | 7497 |
| 7491 cat > conftest.$ac_ext <<EOF | 7498 cat > conftest.$ac_ext <<EOF |
| 7492 #line 7493 "configure" | 7499 #line 7500 "configure" |
| 7493 #include "confdefs.h" | 7500 #include "confdefs.h" |
| 7494 #include <X11/Xauth.h> | 7501 #include <X11/Xauth.h> |
| 7495 EOF | 7502 EOF |
| 7496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7497 { (eval echo configure:7498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7504 { (eval echo configure:7505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7499 if test -z "$ac_err"; then | 7506 if test -z "$ac_err"; then |
| 7500 rm -rf conftest* | 7507 rm -rf conftest* |
| 7501 eval "ac_cv_header_$ac_safe=yes" | 7508 eval "ac_cv_header_$ac_safe=yes" |
| 7502 else | 7509 else |
| 7515 with_xauth=no | 7522 with_xauth=no |
| 7516 fi | 7523 fi |
| 7517 } | 7524 } |
| 7518 test -z "$with_xauth" && { | 7525 test -z "$with_xauth" && { |
| 7519 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7526 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 7520 echo "configure:7521: checking for XauGetAuthByAddr in -lXau" >&5 | 7527 echo "configure:7528: checking for XauGetAuthByAddr in -lXau" >&5 |
| 7521 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7528 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 7522 | 7529 |
| 7523 xe_check_libs=" -lXau " | 7530 xe_check_libs=" -lXau " |
| 7524 cat > conftest.$ac_ext <<EOF | 7531 cat > conftest.$ac_ext <<EOF |
| 7525 #line 7526 "configure" | 7532 #line 7533 "configure" |
| 7526 #include "confdefs.h" | 7533 #include "confdefs.h" |
| 7527 /* Override any gcc2 internal prototype to avoid an error. */ | 7534 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7528 /* We use char because int might match the return type of a gcc2 | 7535 /* We use char because int might match the return type of a gcc2 |
| 7529 builtin and then its argument prototype would still apply. */ | 7536 builtin and then its argument prototype would still apply. */ |
| 7530 char XauGetAuthByAddr(); | 7537 char XauGetAuthByAddr(); |
| 7531 | 7538 |
| 7532 int main() { | 7539 int main() { |
| 7533 XauGetAuthByAddr() | 7540 XauGetAuthByAddr() |
| 7534 ; return 0; } | 7541 ; return 0; } |
| 7535 EOF | 7542 EOF |
| 7536 if { (eval echo configure:7537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7543 if { (eval echo configure:7544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7537 rm -rf conftest* | 7544 rm -rf conftest* |
| 7538 eval "ac_cv_lib_$ac_lib_var=yes" | 7545 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7539 else | 7546 else |
| 7540 echo "configure: failed program was:" >&5 | 7547 echo "configure: failed program was:" >&5 |
| 7541 cat conftest.$ac_ext >&5 | 7548 cat conftest.$ac_ext >&5 |
| 7585 fi | 7592 fi |
| 7586 | 7593 |
| 7587 | 7594 |
| 7588 if test "$with_modules" != "no"; then | 7595 if test "$with_modules" != "no"; then |
| 7589 echo "checking for module support" 1>&6 | 7596 echo "checking for module support" 1>&6 |
| 7590 echo "configure:7591: checking for module support" >&5 | 7597 echo "configure:7598: checking for module support" >&5 |
| 7591 | 7598 |
| 7592 if test "$with_msw" = "yes"; then | 7599 if test "$with_msw" = "yes"; then |
| 7593 have_dl=yes; | 7600 have_dl=yes; |
| 7594 else | 7601 else |
| 7595 case "$opsys" in | 7602 case "$opsys" in |
| 7602 } | 7609 } |
| 7603 ;; | 7610 ;; |
| 7604 * ) | 7611 * ) |
| 7605 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7612 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
| 7606 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7613 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
| 7607 echo "configure:7608: checking for dlfcn.h" >&5 | 7614 echo "configure:7615: checking for dlfcn.h" >&5 |
| 7608 | 7615 |
| 7609 cat > conftest.$ac_ext <<EOF | 7616 cat > conftest.$ac_ext <<EOF |
| 7610 #line 7611 "configure" | 7617 #line 7618 "configure" |
| 7611 #include "confdefs.h" | 7618 #include "confdefs.h" |
| 7612 #include <dlfcn.h> | 7619 #include <dlfcn.h> |
| 7613 EOF | 7620 EOF |
| 7614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7615 { (eval echo configure:7616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7622 { (eval echo configure:7623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7617 if test -z "$ac_err"; then | 7624 if test -z "$ac_err"; then |
| 7618 rm -rf conftest* | 7625 rm -rf conftest* |
| 7619 eval "ac_cv_header_$ac_safe=yes" | 7626 eval "ac_cv_header_$ac_safe=yes" |
| 7620 else | 7627 else |
| 7627 rm -f conftest* | 7634 rm -f conftest* |
| 7628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 7629 echo "$ac_t""yes" 1>&6 | 7636 echo "$ac_t""yes" 1>&6 |
| 7630 | 7637 |
| 7631 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7638 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 7632 echo "configure:7633: checking for dlopen in -lc" >&5 | 7639 echo "configure:7640: checking for dlopen in -lc" >&5 |
| 7633 cat > conftest.$ac_ext <<EOF | 7640 cat > conftest.$ac_ext <<EOF |
| 7634 #line 7635 "configure" | 7641 #line 7642 "configure" |
| 7635 #include "confdefs.h" | 7642 #include "confdefs.h" |
| 7636 #include <dlfcn.h> | 7643 #include <dlfcn.h> |
| 7637 int main() { | 7644 int main() { |
| 7638 dlopen ("", 0); | 7645 dlopen ("", 0); |
| 7639 ; return 0; } | 7646 ; return 0; } |
| 7640 EOF | 7647 EOF |
| 7641 if { (eval echo configure:7642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7648 if { (eval echo configure:7649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7642 rm -rf conftest* | 7649 rm -rf conftest* |
| 7643 have_dl=yes | 7650 have_dl=yes |
| 7644 else | 7651 else |
| 7645 echo "configure: failed program was:" >&5 | 7652 echo "configure: failed program was:" >&5 |
| 7646 cat conftest.$ac_ext >&5 | 7653 cat conftest.$ac_ext >&5 |
| 7647 rm -rf conftest* | 7654 rm -rf conftest* |
| 7648 | 7655 |
| 7649 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7656 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 7650 echo "configure:7651: checking for dlopen in -ldl" >&5 | 7657 echo "configure:7658: checking for dlopen in -ldl" >&5 |
| 7651 ac_save_LIBS="$LIBS" | 7658 ac_save_LIBS="$LIBS" |
| 7652 LIBS="-ldl $LIBS" | 7659 LIBS="-ldl $LIBS" |
| 7653 cat > conftest.$ac_ext <<EOF | 7660 cat > conftest.$ac_ext <<EOF |
| 7654 #line 7655 "configure" | 7661 #line 7662 "configure" |
| 7655 #include "confdefs.h" | 7662 #include "confdefs.h" |
| 7656 #include <dlfcn.h> | 7663 #include <dlfcn.h> |
| 7657 int main() { | 7664 int main() { |
| 7658 dlopen ("", 0); | 7665 dlopen ("", 0); |
| 7659 ; return 0; } | 7666 ; return 0; } |
| 7660 EOF | 7667 EOF |
| 7661 if { (eval echo configure:7662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7668 if { (eval echo configure:7669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7662 rm -rf conftest* | 7669 rm -rf conftest* |
| 7663 have_dl=yes | 7670 have_dl=yes |
| 7664 else | 7671 else |
| 7665 echo "configure: failed program was:" >&5 | 7672 echo "configure: failed program was:" >&5 |
| 7666 cat conftest.$ac_ext >&5 | 7673 cat conftest.$ac_ext >&5 |
| 7696 ld_dynamic_link_flags= | 7703 ld_dynamic_link_flags= |
| 7697 xehost=$canonical | 7704 xehost=$canonical |
| 7698 xealias=$internal_configuration | 7705 xealias=$internal_configuration |
| 7699 | 7706 |
| 7700 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7707 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
| 7701 echo "configure:7702: checking how to build dynamic libraries for ${xehost}" >&5 | 7708 echo "configure:7709: checking how to build dynamic libraries for ${xehost}" >&5 |
| 7702 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7709 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
| 7703 case "$xehost" in | 7710 case "$xehost" in |
| 7704 *-*-linux-gnu*) ;; | 7711 *-*-linux-gnu*) ;; |
| 7705 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7712 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
| 7706 esac | 7713 esac |
| 7724 # Now see if the compiler is really GCC. | 7731 # Now see if the compiler is really GCC. |
| 7725 if test "$GCC" = "yes"; then | 7732 if test "$GCC" = "yes"; then |
| 7726 XEGCC=yes | 7733 XEGCC=yes |
| 7727 else | 7734 else |
| 7728 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7735 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
| 7729 echo "configure:7730: checking checking whether we are using GNU C" >&5 | 7736 echo "configure:7737: checking checking whether we are using GNU C" >&5 |
| 7730 cat > conftest.$ac_ext <<EOF | 7737 cat > conftest.$ac_ext <<EOF |
| 7731 #line 7732 "configure" | 7738 #line 7739 "configure" |
| 7732 #include "confdefs.h" | 7739 #include "confdefs.h" |
| 7733 | 7740 |
| 7734 #ifdef __GNUC__ | 7741 #ifdef __GNUC__ |
| 7735 yes; | 7742 yes; |
| 7736 #endif | 7743 #endif |
| 7748 | 7755 |
| 7749 echo "$ac_t""${XEGCC}" 1>&6 | 7756 echo "$ac_t""${XEGCC}" 1>&6 |
| 7750 fi | 7757 fi |
| 7751 | 7758 |
| 7752 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7759 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
| 7753 echo "configure:7754: checking how to produce PIC code" >&5 | 7760 echo "configure:7761: checking how to produce PIC code" >&5 |
| 7754 wl= | 7761 wl= |
| 7755 | 7762 |
| 7756 can_build_shared=yes | 7763 can_build_shared=yes |
| 7757 if test "$XEGCC" = yes; then | 7764 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
| 7758 wl='-Wl,' | 7765 wl='-Wl,' |
| 7759 | 7766 |
| 7760 case "$xehost_os" in | 7767 case "$xehost_os" in |
| 7761 aix[3-9]* | irix[5-9]* | osf[3-9]) | 7768 aix[3-9]* | irix[5-9]* | osf[3-9]) |
| 7762 # PIC is the default for these OSes. | 7769 # PIC is the default for these OSes. |
| 7852 if test -n "$dll_cflags"; then | 7859 if test -n "$dll_cflags"; then |
| 7853 echo "$ac_t""${dll_cflags}" 1>&6 | 7860 echo "$ac_t""${dll_cflags}" 1>&6 |
| 7854 | 7861 |
| 7855 # Check to make sure the dll_cflags actually works. | 7862 # Check to make sure the dll_cflags actually works. |
| 7856 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7863 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
| 7857 echo "configure:7858: checking if PIC flag ${dll_cflags} really works" >&5 | 7864 echo "configure:7865: checking if PIC flag ${dll_cflags} really works" >&5 |
| 7858 save_CFLAGS="$CFLAGS" | 7865 save_CFLAGS="$CFLAGS" |
| 7859 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7866 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
| 7860 cat > conftest.$ac_ext <<EOF | 7867 cat > conftest.$ac_ext <<EOF |
| 7861 #line 7862 "configure" | 7868 #line 7869 "configure" |
| 7862 #include "confdefs.h" | 7869 #include "confdefs.h" |
| 7863 | 7870 |
| 7864 int main() { | 7871 int main() { |
| 7865 int x=0; | 7872 int x=0; |
| 7866 ; return 0; } | 7873 ; return 0; } |
| 7867 EOF | 7874 EOF |
| 7868 if { (eval echo configure:7869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7875 if { (eval echo configure:7876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7869 rm -rf conftest* | 7876 rm -rf conftest* |
| 7870 | 7877 |
| 7871 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7878 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
| 7872 # reports no error. So, we need to grep stderr for (Bundled). | 7879 # reports no error. So, we need to grep stderr for (Bundled). |
| 7873 if grep '(Bundled)' config.log >/dev/null; then | 7880 if grep '(Bundled)' config.log >/dev/null; then |
| 7894 if test "$can_build_shared" = "yes"; then | 7901 if test "$can_build_shared" = "yes"; then |
| 7895 cc_produces_so=no | 7902 cc_produces_so=no |
| 7896 xldf= | 7903 xldf= |
| 7897 xcldf= | 7904 xcldf= |
| 7898 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7905 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
| 7899 echo "configure:7900: checking if C compiler can produce shared libraries" >&5 | 7906 echo "configure:7907: checking if C compiler can produce shared libraries" >&5 |
| 7900 if test "$XEGCC" = yes; then | 7907 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
| 7901 case "$xehost_os" in | 7908 case "$xehost_os" in |
| 7902 *darwin*) | 7909 *darwin*) |
| 7903 xcldf='-bundle' | 7910 xcldf='-bundle' |
| 7904 xldf='-bundle -bundle_loader ../../src/xemacs' | 7911 xldf='-bundle -bundle_loader ../../src/xemacs' |
| 7905 ;; | 7912 ;; |
| 7953 LDFLAGS="$xcldf $LDFLAGS" | 7960 LDFLAGS="$xcldf $LDFLAGS" |
| 7954 LIBS= | 7961 LIBS= |
| 7955 xe_libs= | 7962 xe_libs= |
| 7956 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7963 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 7957 cat > conftest.$ac_ext <<EOF | 7964 cat > conftest.$ac_ext <<EOF |
| 7958 #line 7959 "configure" | 7965 #line 7966 "configure" |
| 7959 #include "confdefs.h" | 7966 #include "confdefs.h" |
| 7960 | 7967 |
| 7961 int main() { | 7968 int main() { |
| 7962 int x=0; | 7969 int x=0; |
| 7963 ; return 0; } | 7970 ; return 0; } |
| 7964 EOF | 7971 EOF |
| 7965 if { (eval echo configure:7966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7972 if { (eval echo configure:7973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7966 rm -rf conftest* | 7973 rm -rf conftest* |
| 7967 cc_produces_so=yes | 7974 cc_produces_so=yes |
| 7968 else | 7975 else |
| 7969 echo "configure: failed program was:" >&5 | 7976 echo "configure: failed program was:" >&5 |
| 7970 cat conftest.$ac_ext >&5 | 7977 cat conftest.$ac_ext >&5 |
| 7985 if test -z "$LTLD"; then | 7992 if test -z "$LTLD"; then |
| 7986 ac_prog=ld | 7993 ac_prog=ld |
| 7987 if test "$XEGCC" = yes; then | 7994 if test "$XEGCC" = yes; then |
| 7988 # Check if gcc -print-prog-name=ld gives a path. | 7995 # Check if gcc -print-prog-name=ld gives a path. |
| 7989 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7996 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| 7990 echo "configure:7991: checking for ld used by GCC" >&5 | 7997 echo "configure:7998: checking for ld used by GCC" >&5 |
| 7991 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 7998 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| 7992 case "$ac_prog" in | 7999 case "$ac_prog" in |
| 7993 # Accept absolute paths. | 8000 # Accept absolute paths. |
| 7994 /*) | 8001 /*) |
| 7995 if test -z "$LTLD"; then | 8002 if test -z "$LTLD"; then |
| 8011 with_gnu_ld=unknown | 8018 with_gnu_ld=unknown |
| 8012 ;; | 8019 ;; |
| 8013 esac | 8020 esac |
| 8014 else | 8021 else |
| 8015 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8022 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| 8016 echo "configure:8017: checking for GNU ld" >&5 | 8023 echo "configure:8024: checking for GNU ld" >&5 |
| 8017 fi | 8024 fi |
| 8018 | 8025 |
| 8019 if test -z "$LTLD"; then | 8026 if test -z "$LTLD"; then |
| 8020 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8027 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 8021 for ac_dir in $PATH; do | 8028 for ac_dir in $PATH; do |
| 8049 | 8056 |
| 8050 ld_dynamic_link_flags= | 8057 ld_dynamic_link_flags= |
| 8051 | 8058 |
| 8052 # Check to see if it really is or isn't GNU ld. | 8059 # Check to see if it really is or isn't GNU ld. |
| 8053 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8060 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
| 8054 echo "configure:8055: checking if the linker is GNU ld" >&5 | 8061 echo "configure:8062: checking if the linker is GNU ld" >&5 |
| 8055 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8062 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 8056 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8063 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
| 8057 xe_gnu_ld=yes | 8064 xe_gnu_ld=yes |
| 8058 else | 8065 else |
| 8059 xe_gnu_ld=no | 8066 xe_gnu_ld=no |
| 8084 ld_shlibs=yes | 8091 ld_shlibs=yes |
| 8085 else | 8092 else |
| 8086 # OK - only NOW do we futz about with ld. | 8093 # OK - only NOW do we futz about with ld. |
| 8087 # See if the linker supports building shared libraries. | 8094 # See if the linker supports building shared libraries. |
| 8088 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8095 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
| 8089 echo "configure:8090: checking whether the linker supports shared libraries" >&5 | 8096 echo "configure:8097: checking whether the linker supports shared libraries" >&5 |
| 8090 dll_ld=$CC | 8097 dll_ld=$CC |
| 8091 dll_ldflags=$LDFLAGS | 8098 dll_ldflags=$LDFLAGS |
| 8092 ld_shlibs=yes | 8099 ld_shlibs=yes |
| 8093 can_build_shared=yes | 8100 can_build_shared=yes |
| 8094 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8101 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
| 8297 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8304 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
| 8298 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8305 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
| 8299 for ac_func in dlerror _dlerror | 8306 for ac_func in dlerror _dlerror |
| 8300 do | 8307 do |
| 8301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8302 echo "configure:8303: checking for $ac_func" >&5 | 8309 echo "configure:8310: checking for $ac_func" >&5 |
| 8303 | 8310 |
| 8304 cat > conftest.$ac_ext <<EOF | 8311 cat > conftest.$ac_ext <<EOF |
| 8305 #line 8306 "configure" | 8312 #line 8313 "configure" |
| 8306 #include "confdefs.h" | 8313 #include "confdefs.h" |
| 8307 /* System header to define __stub macros and hopefully few prototypes, | 8314 /* System header to define __stub macros and hopefully few prototypes, |
| 8308 which can conflict with char $ac_func(); below. */ | 8315 which can conflict with char $ac_func(); below. */ |
| 8309 #include <assert.h> | 8316 #include <assert.h> |
| 8310 /* Override any gcc2 internal prototype to avoid an error. */ | 8317 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8323 $ac_func(); | 8330 $ac_func(); |
| 8324 #endif | 8331 #endif |
| 8325 | 8332 |
| 8326 ; return 0; } | 8333 ; return 0; } |
| 8327 EOF | 8334 EOF |
| 8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8335 if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8329 rm -rf conftest* | 8336 rm -rf conftest* |
| 8330 eval "ac_cv_func_$ac_func=yes" | 8337 eval "ac_cv_func_$ac_func=yes" |
| 8331 else | 8338 else |
| 8332 echo "configure: failed program was:" >&5 | 8339 echo "configure: failed program was:" >&5 |
| 8333 cat conftest.$ac_ext >&5 | 8340 cat conftest.$ac_ext >&5 |
| 8387 | 8394 |
| 8388 if test "$with_tooltalk" != "no" ; then | 8395 if test "$with_tooltalk" != "no" ; then |
| 8389 for dir in "" "Tt/" "desktop/" ; do | 8396 for dir in "" "Tt/" "desktop/" ; do |
| 8390 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8397 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 8391 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8398 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 8392 echo "configure:8393: checking for ${dir}tt_c.h" >&5 | 8399 echo "configure:8400: checking for ${dir}tt_c.h" >&5 |
| 8393 | 8400 |
| 8394 cat > conftest.$ac_ext <<EOF | 8401 cat > conftest.$ac_ext <<EOF |
| 8395 #line 8396 "configure" | 8402 #line 8403 "configure" |
| 8396 #include "confdefs.h" | 8403 #include "confdefs.h" |
| 8397 #include <${dir}tt_c.h> | 8404 #include <${dir}tt_c.h> |
| 8398 EOF | 8405 EOF |
| 8399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8400 { (eval echo configure:8401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8407 { (eval echo configure:8408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8402 if test -z "$ac_err"; then | 8409 if test -z "$ac_err"; then |
| 8403 rm -rf conftest* | 8410 rm -rf conftest* |
| 8404 eval "ac_cv_header_$ac_safe=yes" | 8411 eval "ac_cv_header_$ac_safe=yes" |
| 8405 else | 8412 else |
| 8431 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8438 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 8432 | 8439 |
| 8433 xe_msg_checking="for tt_message_create in -ltt" | 8440 xe_msg_checking="for tt_message_create in -ltt" |
| 8434 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8441 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 8435 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8442 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 8436 echo "configure:8437: checking "$xe_msg_checking"" >&5 | 8443 echo "configure:8444: checking "$xe_msg_checking"" >&5 |
| 8437 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8444 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 8438 | 8445 |
| 8439 xe_check_libs=" -ltt $extra_libs" | 8446 xe_check_libs=" -ltt $extra_libs" |
| 8440 cat > conftest.$ac_ext <<EOF | 8447 cat > conftest.$ac_ext <<EOF |
| 8441 #line 8442 "configure" | 8448 #line 8449 "configure" |
| 8442 #include "confdefs.h" | 8449 #include "confdefs.h" |
| 8443 /* Override any gcc2 internal prototype to avoid an error. */ | 8450 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8444 /* We use char because int might match the return type of a gcc2 | 8451 /* We use char because int might match the return type of a gcc2 |
| 8445 builtin and then its argument prototype would still apply. */ | 8452 builtin and then its argument prototype would still apply. */ |
| 8446 char tt_message_create(); | 8453 char tt_message_create(); |
| 8447 | 8454 |
| 8448 int main() { | 8455 int main() { |
| 8449 tt_message_create() | 8456 tt_message_create() |
| 8450 ; return 0; } | 8457 ; return 0; } |
| 8451 EOF | 8458 EOF |
| 8452 if { (eval echo configure:8453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8459 if { (eval echo configure:8460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8453 rm -rf conftest* | 8460 rm -rf conftest* |
| 8454 eval "ac_cv_lib_$ac_lib_var=yes" | 8461 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8455 else | 8462 else |
| 8456 echo "configure: failed program was:" >&5 | 8463 echo "configure: failed program was:" >&5 |
| 8457 cat conftest.$ac_ext >&5 | 8464 cat conftest.$ac_ext >&5 |
| 8501 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8508 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
| 8502 fi | 8509 fi |
| 8503 | 8510 |
| 8504 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8511 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 8505 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8512 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 8506 echo "configure:8507: checking for Dt/Dt.h" >&5 | 8513 echo "configure:8514: checking for Dt/Dt.h" >&5 |
| 8507 | 8514 |
| 8508 cat > conftest.$ac_ext <<EOF | 8515 cat > conftest.$ac_ext <<EOF |
| 8509 #line 8510 "configure" | 8516 #line 8517 "configure" |
| 8510 #include "confdefs.h" | 8517 #include "confdefs.h" |
| 8511 #include <Dt/Dt.h> | 8518 #include <Dt/Dt.h> |
| 8512 EOF | 8519 EOF |
| 8513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8514 { (eval echo configure:8515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8521 { (eval echo configure:8522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8516 if test -z "$ac_err"; then | 8523 if test -z "$ac_err"; then |
| 8517 rm -rf conftest* | 8524 rm -rf conftest* |
| 8518 eval "ac_cv_header_$ac_safe=yes" | 8525 eval "ac_cv_header_$ac_safe=yes" |
| 8519 else | 8526 else |
| 8532 with_cde=no | 8539 with_cde=no |
| 8533 fi | 8540 fi |
| 8534 } | 8541 } |
| 8535 test -z "$with_cde" && { | 8542 test -z "$with_cde" && { |
| 8536 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8543 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 8537 echo "configure:8538: checking for DtDndDragStart in -lDtSvc" >&5 | 8544 echo "configure:8545: checking for DtDndDragStart in -lDtSvc" >&5 |
| 8538 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8545 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 8539 | 8546 |
| 8540 xe_check_libs=" -lDtSvc " | 8547 xe_check_libs=" -lDtSvc " |
| 8541 cat > conftest.$ac_ext <<EOF | 8548 cat > conftest.$ac_ext <<EOF |
| 8542 #line 8543 "configure" | 8549 #line 8550 "configure" |
| 8543 #include "confdefs.h" | 8550 #include "confdefs.h" |
| 8544 /* Override any gcc2 internal prototype to avoid an error. */ | 8551 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8545 /* We use char because int might match the return type of a gcc2 | 8552 /* We use char because int might match the return type of a gcc2 |
| 8546 builtin and then its argument prototype would still apply. */ | 8553 builtin and then its argument prototype would still apply. */ |
| 8547 char DtDndDragStart(); | 8554 char DtDndDragStart(); |
| 8548 | 8555 |
| 8549 int main() { | 8556 int main() { |
| 8550 DtDndDragStart() | 8557 DtDndDragStart() |
| 8551 ; return 0; } | 8558 ; return 0; } |
| 8552 EOF | 8559 EOF |
| 8553 if { (eval echo configure:8554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8560 if { (eval echo configure:8561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8554 rm -rf conftest* | 8561 rm -rf conftest* |
| 8555 eval "ac_cv_lib_$ac_lib_var=yes" | 8562 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8556 else | 8563 else |
| 8557 echo "configure: failed program was:" >&5 | 8564 echo "configure: failed program was:" >&5 |
| 8558 cat conftest.$ac_ext >&5 | 8565 cat conftest.$ac_ext >&5 |
| 8629 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8636 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
| 8630 fi | 8637 fi |
| 8631 | 8638 |
| 8632 if test "$with_dragndrop" != "no" ; then | 8639 if test "$with_dragndrop" != "no" ; then |
| 8633 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8640 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 8634 echo "configure:8635: checking if drag and drop API is needed" >&5 | 8641 echo "configure:8642: checking if drag and drop API is needed" >&5 |
| 8635 if test -n "$dragndrop_proto" ; then | 8642 if test -n "$dragndrop_proto" ; then |
| 8636 with_dragndrop=yes | 8643 with_dragndrop=yes |
| 8637 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8644 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 8638 { test "$extra_verbose" = "yes" && cat << \EOF | 8645 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8639 Defining HAVE_DRAGNDROP | 8646 Defining HAVE_DRAGNDROP |
| 8649 echo "$ac_t""no" 1>&6 | 8656 echo "$ac_t""no" 1>&6 |
| 8650 fi | 8657 fi |
| 8651 fi | 8658 fi |
| 8652 | 8659 |
| 8653 echo "checking for LDAP" 1>&6 | 8660 echo "checking for LDAP" 1>&6 |
| 8654 echo "configure:8655: checking for LDAP" >&5 | 8661 echo "configure:8662: checking for LDAP" >&5 |
| 8655 ldap_libs= | 8662 ldap_libs= |
| 8656 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8663 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 8657 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8664 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 8658 echo "configure:8659: checking for ldap.h" >&5 | 8665 echo "configure:8666: checking for ldap.h" >&5 |
| 8659 | 8666 |
| 8660 cat > conftest.$ac_ext <<EOF | 8667 cat > conftest.$ac_ext <<EOF |
| 8661 #line 8662 "configure" | 8668 #line 8669 "configure" |
| 8662 #include "confdefs.h" | 8669 #include "confdefs.h" |
| 8663 #include <ldap.h> | 8670 #include <ldap.h> |
| 8664 EOF | 8671 EOF |
| 8665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8666 { (eval echo configure:8667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8673 { (eval echo configure:8674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8668 if test -z "$ac_err"; then | 8675 if test -z "$ac_err"; then |
| 8669 rm -rf conftest* | 8676 rm -rf conftest* |
| 8670 eval "ac_cv_header_$ac_safe=yes" | 8677 eval "ac_cv_header_$ac_safe=yes" |
| 8671 else | 8678 else |
| 8684 with_ldap=no | 8691 with_ldap=no |
| 8685 fi | 8692 fi |
| 8686 } | 8693 } |
| 8687 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8694 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 8688 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8695 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 8689 echo "configure:8690: checking for lber.h" >&5 | 8696 echo "configure:8697: checking for lber.h" >&5 |
| 8690 | 8697 |
| 8691 cat > conftest.$ac_ext <<EOF | 8698 cat > conftest.$ac_ext <<EOF |
| 8692 #line 8693 "configure" | 8699 #line 8700 "configure" |
| 8693 #include "confdefs.h" | 8700 #include "confdefs.h" |
| 8694 #include <lber.h> | 8701 #include <lber.h> |
| 8695 EOF | 8702 EOF |
| 8696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8697 { (eval echo configure:8698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8704 { (eval echo configure:8705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8699 if test -z "$ac_err"; then | 8706 if test -z "$ac_err"; then |
| 8700 rm -rf conftest* | 8707 rm -rf conftest* |
| 8701 eval "ac_cv_header_$ac_safe=yes" | 8708 eval "ac_cv_header_$ac_safe=yes" |
| 8702 else | 8709 else |
| 8716 fi | 8723 fi |
| 8717 } | 8724 } |
| 8718 if test "$with_ldap" != "no"; then | 8725 if test "$with_ldap" != "no"; then |
| 8719 | 8726 |
| 8720 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8727 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
| 8721 echo "configure:8722: checking for ldap_search in -lldap" >&5 | 8728 echo "configure:8729: checking for ldap_search in -lldap" >&5 |
| 8722 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8729 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
| 8723 | 8730 |
| 8724 xe_check_libs=" -lldap " | 8731 xe_check_libs=" -lldap " |
| 8725 cat > conftest.$ac_ext <<EOF | 8732 cat > conftest.$ac_ext <<EOF |
| 8726 #line 8727 "configure" | 8733 #line 8734 "configure" |
| 8727 #include "confdefs.h" | 8734 #include "confdefs.h" |
| 8728 /* Override any gcc2 internal prototype to avoid an error. */ | 8735 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8729 /* We use char because int might match the return type of a gcc2 | 8736 /* We use char because int might match the return type of a gcc2 |
| 8730 builtin and then its argument prototype would still apply. */ | 8737 builtin and then its argument prototype would still apply. */ |
| 8731 char ldap_search(); | 8738 char ldap_search(); |
| 8732 | 8739 |
| 8733 int main() { | 8740 int main() { |
| 8734 ldap_search() | 8741 ldap_search() |
| 8735 ; return 0; } | 8742 ; return 0; } |
| 8736 EOF | 8743 EOF |
| 8737 if { (eval echo configure:8738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8744 if { (eval echo configure:8745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8738 rm -rf conftest* | 8745 rm -rf conftest* |
| 8739 eval "ac_cv_lib_$ac_lib_var=yes" | 8746 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8740 else | 8747 else |
| 8741 echo "configure: failed program was:" >&5 | 8748 echo "configure: failed program was:" >&5 |
| 8742 cat conftest.$ac_ext >&5 | 8749 cat conftest.$ac_ext >&5 |
| 8757 | 8764 |
| 8758 test "$with_ldap_nolber" = "no" && { | 8765 test "$with_ldap_nolber" = "no" && { |
| 8759 xe_msg_checking="for ldap_open in -lldap" | 8766 xe_msg_checking="for ldap_open in -lldap" |
| 8760 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8767 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 8761 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8768 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 8762 echo "configure:8763: checking "$xe_msg_checking"" >&5 | 8769 echo "configure:8770: checking "$xe_msg_checking"" >&5 |
| 8763 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8770 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 8764 | 8771 |
| 8765 xe_check_libs=" -lldap -llber" | 8772 xe_check_libs=" -lldap -llber" |
| 8766 cat > conftest.$ac_ext <<EOF | 8773 cat > conftest.$ac_ext <<EOF |
| 8767 #line 8768 "configure" | 8774 #line 8775 "configure" |
| 8768 #include "confdefs.h" | 8775 #include "confdefs.h" |
| 8769 /* Override any gcc2 internal prototype to avoid an error. */ | 8776 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8770 /* We use char because int might match the return type of a gcc2 | 8777 /* We use char because int might match the return type of a gcc2 |
| 8771 builtin and then its argument prototype would still apply. */ | 8778 builtin and then its argument prototype would still apply. */ |
| 8772 char ldap_open(); | 8779 char ldap_open(); |
| 8773 | 8780 |
| 8774 int main() { | 8781 int main() { |
| 8775 ldap_open() | 8782 ldap_open() |
| 8776 ; return 0; } | 8783 ; return 0; } |
| 8777 EOF | 8784 EOF |
| 8778 if { (eval echo configure:8779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8785 if { (eval echo configure:8786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8779 rm -rf conftest* | 8786 rm -rf conftest* |
| 8780 eval "ac_cv_lib_$ac_lib_var=yes" | 8787 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8781 else | 8788 else |
| 8782 echo "configure: failed program was:" >&5 | 8789 echo "configure: failed program was:" >&5 |
| 8783 cat conftest.$ac_ext >&5 | 8790 cat conftest.$ac_ext >&5 |
| 8798 } | 8805 } |
| 8799 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8806 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
| 8800 xe_msg_checking="for ldap_open in -lldap" | 8807 xe_msg_checking="for ldap_open in -lldap" |
| 8801 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8808 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
| 8802 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8809 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 8803 echo "configure:8804: checking "$xe_msg_checking"" >&5 | 8810 echo "configure:8811: checking "$xe_msg_checking"" >&5 |
| 8804 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8811 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 8805 | 8812 |
| 8806 xe_check_libs=" -lldap -llber -lkrb" | 8813 xe_check_libs=" -lldap -llber -lkrb" |
| 8807 cat > conftest.$ac_ext <<EOF | 8814 cat > conftest.$ac_ext <<EOF |
| 8808 #line 8809 "configure" | 8815 #line 8816 "configure" |
| 8809 #include "confdefs.h" | 8816 #include "confdefs.h" |
| 8810 /* Override any gcc2 internal prototype to avoid an error. */ | 8817 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8811 /* We use char because int might match the return type of a gcc2 | 8818 /* We use char because int might match the return type of a gcc2 |
| 8812 builtin and then its argument prototype would still apply. */ | 8819 builtin and then its argument prototype would still apply. */ |
| 8813 char ldap_open(); | 8820 char ldap_open(); |
| 8814 | 8821 |
| 8815 int main() { | 8822 int main() { |
| 8816 ldap_open() | 8823 ldap_open() |
| 8817 ; return 0; } | 8824 ; return 0; } |
| 8818 EOF | 8825 EOF |
| 8819 if { (eval echo configure:8820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8826 if { (eval echo configure:8827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8820 rm -rf conftest* | 8827 rm -rf conftest* |
| 8821 eval "ac_cv_lib_$ac_lib_var=yes" | 8828 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8822 else | 8829 else |
| 8823 echo "configure: failed program was:" >&5 | 8830 echo "configure: failed program was:" >&5 |
| 8824 cat conftest.$ac_ext >&5 | 8831 cat conftest.$ac_ext >&5 |
| 8839 } | 8846 } |
| 8840 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8847 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
| 8841 xe_msg_checking="for ldap_open in -lldap" | 8848 xe_msg_checking="for ldap_open in -lldap" |
| 8842 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8849 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
| 8843 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8850 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 8844 echo "configure:8845: checking "$xe_msg_checking"" >&5 | 8851 echo "configure:8852: checking "$xe_msg_checking"" >&5 |
| 8845 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8852 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 8846 | 8853 |
| 8847 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8854 xe_check_libs=" -lldap -llber -lkrb -ldes" |
| 8848 cat > conftest.$ac_ext <<EOF | 8855 cat > conftest.$ac_ext <<EOF |
| 8849 #line 8850 "configure" | 8856 #line 8857 "configure" |
| 8850 #include "confdefs.h" | 8857 #include "confdefs.h" |
| 8851 /* Override any gcc2 internal prototype to avoid an error. */ | 8858 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8852 /* We use char because int might match the return type of a gcc2 | 8859 /* We use char because int might match the return type of a gcc2 |
| 8853 builtin and then its argument prototype would still apply. */ | 8860 builtin and then its argument prototype would still apply. */ |
| 8854 char ldap_open(); | 8861 char ldap_open(); |
| 8855 | 8862 |
| 8856 int main() { | 8863 int main() { |
| 8857 ldap_open() | 8864 ldap_open() |
| 8858 ; return 0; } | 8865 ; return 0; } |
| 8859 EOF | 8866 EOF |
| 8860 if { (eval echo configure:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8867 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8861 rm -rf conftest* | 8868 rm -rf conftest* |
| 8862 eval "ac_cv_lib_$ac_lib_var=yes" | 8869 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8863 else | 8870 else |
| 8864 echo "configure: failed program was:" >&5 | 8871 echo "configure: failed program was:" >&5 |
| 8865 cat conftest.$ac_ext >&5 | 8872 cat conftest.$ac_ext >&5 |
| 8904 fi | 8911 fi |
| 8905 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8912 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
| 8906 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8913 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
| 8907 do | 8914 do |
| 8908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8909 echo "configure:8910: checking for $ac_func" >&5 | 8916 echo "configure:8917: checking for $ac_func" >&5 |
| 8910 | 8917 |
| 8911 cat > conftest.$ac_ext <<EOF | 8918 cat > conftest.$ac_ext <<EOF |
| 8912 #line 8913 "configure" | 8919 #line 8920 "configure" |
| 8913 #include "confdefs.h" | 8920 #include "confdefs.h" |
| 8914 /* System header to define __stub macros and hopefully few prototypes, | 8921 /* System header to define __stub macros and hopefully few prototypes, |
| 8915 which can conflict with char $ac_func(); below. */ | 8922 which can conflict with char $ac_func(); below. */ |
| 8916 #include <assert.h> | 8923 #include <assert.h> |
| 8917 /* Override any gcc2 internal prototype to avoid an error. */ | 8924 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8930 $ac_func(); | 8937 $ac_func(); |
| 8931 #endif | 8938 #endif |
| 8932 | 8939 |
| 8933 ; return 0; } | 8940 ; return 0; } |
| 8934 EOF | 8941 EOF |
| 8935 if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8942 if { (eval echo configure:8943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8936 rm -rf conftest* | 8943 rm -rf conftest* |
| 8937 eval "ac_cv_func_$ac_func=yes" | 8944 eval "ac_cv_func_$ac_func=yes" |
| 8938 else | 8945 else |
| 8939 echo "configure: failed program was:" >&5 | 8946 echo "configure: failed program was:" >&5 |
| 8940 cat conftest.$ac_ext >&5 | 8947 cat conftest.$ac_ext >&5 |
| 8969 | 8976 |
| 8970 | 8977 |
| 8971 postgresql_libs= | 8978 postgresql_libs= |
| 8972 if test "$with_postgresql" != "no"; then | 8979 if test "$with_postgresql" != "no"; then |
| 8973 echo "checking for PostgreSQL" 1>&6 | 8980 echo "checking for PostgreSQL" 1>&6 |
| 8974 echo "configure:8975: checking for PostgreSQL" >&5 | 8981 echo "configure:8982: checking for PostgreSQL" >&5 |
| 8975 | 8982 |
| 8976 for header_dir in "" "pgsql/" "postgresql/"; do | 8983 for header_dir in "" "pgsql/" "postgresql/"; do |
| 8977 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8984 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
| 8978 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8985 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
| 8979 echo "configure:8980: checking for ${header_dir}libpq-fe.h" >&5 | 8986 echo "configure:8987: checking for ${header_dir}libpq-fe.h" >&5 |
| 8980 | 8987 |
| 8981 cat > conftest.$ac_ext <<EOF | 8988 cat > conftest.$ac_ext <<EOF |
| 8982 #line 8983 "configure" | 8989 #line 8990 "configure" |
| 8983 #include "confdefs.h" | 8990 #include "confdefs.h" |
| 8984 #include <${header_dir}libpq-fe.h> | 8991 #include <${header_dir}libpq-fe.h> |
| 8985 EOF | 8992 EOF |
| 8986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8987 { (eval echo configure:8988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8994 { (eval echo configure:8995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8989 if test -z "$ac_err"; then | 8996 if test -z "$ac_err"; then |
| 8990 rm -rf conftest* | 8997 rm -rf conftest* |
| 8991 eval "ac_cv_header_$ac_safe=yes" | 8998 eval "ac_cv_header_$ac_safe=yes" |
| 8992 else | 8999 else |
| 9006 | 9013 |
| 9007 done | 9014 done |
| 9008 | 9015 |
| 9009 test -n "$libpq_fe_h_file" && { | 9016 test -n "$libpq_fe_h_file" && { |
| 9010 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9017 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
| 9011 echo "configure:9012: checking for PQconnectdb in -lpq" >&5 | 9018 echo "configure:9019: checking for PQconnectdb in -lpq" >&5 |
| 9012 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9019 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
| 9013 | 9020 |
| 9014 xe_check_libs=" -lpq " | 9021 xe_check_libs=" -lpq " |
| 9015 cat > conftest.$ac_ext <<EOF | 9022 cat > conftest.$ac_ext <<EOF |
| 9016 #line 9017 "configure" | 9023 #line 9024 "configure" |
| 9017 #include "confdefs.h" | 9024 #include "confdefs.h" |
| 9018 /* Override any gcc2 internal prototype to avoid an error. */ | 9025 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9019 /* We use char because int might match the return type of a gcc2 | 9026 /* We use char because int might match the return type of a gcc2 |
| 9020 builtin and then its argument prototype would still apply. */ | 9027 builtin and then its argument prototype would still apply. */ |
| 9021 char PQconnectdb(); | 9028 char PQconnectdb(); |
| 9022 | 9029 |
| 9023 int main() { | 9030 int main() { |
| 9024 PQconnectdb() | 9031 PQconnectdb() |
| 9025 ; return 0; } | 9032 ; return 0; } |
| 9026 EOF | 9033 EOF |
| 9027 if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9034 if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9028 rm -rf conftest* | 9035 rm -rf conftest* |
| 9029 eval "ac_cv_lib_$ac_lib_var=yes" | 9036 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9030 else | 9037 else |
| 9031 echo "configure: failed program was:" >&5 | 9038 echo "configure: failed program was:" >&5 |
| 9032 cat conftest.$ac_ext >&5 | 9039 cat conftest.$ac_ext >&5 |
| 9055 EOF | 9062 EOF |
| 9056 } | 9063 } |
| 9057 | 9064 |
| 9058 | 9065 |
| 9059 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9066 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
| 9060 echo "configure:9061: checking for PQconnectStart in -lpq" >&5 | 9067 echo "configure:9068: checking for PQconnectStart in -lpq" >&5 |
| 9061 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9068 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
| 9062 | 9069 |
| 9063 xe_check_libs=" -lpq " | 9070 xe_check_libs=" -lpq " |
| 9064 cat > conftest.$ac_ext <<EOF | 9071 cat > conftest.$ac_ext <<EOF |
| 9065 #line 9066 "configure" | 9072 #line 9073 "configure" |
| 9066 #include "confdefs.h" | 9073 #include "confdefs.h" |
| 9067 /* Override any gcc2 internal prototype to avoid an error. */ | 9074 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9068 /* We use char because int might match the return type of a gcc2 | 9075 /* We use char because int might match the return type of a gcc2 |
| 9069 builtin and then its argument prototype would still apply. */ | 9076 builtin and then its argument prototype would still apply. */ |
| 9070 char PQconnectStart(); | 9077 char PQconnectStart(); |
| 9071 | 9078 |
| 9072 int main() { | 9079 int main() { |
| 9073 PQconnectStart() | 9080 PQconnectStart() |
| 9074 ; return 0; } | 9081 ; return 0; } |
| 9075 EOF | 9082 EOF |
| 9076 if { (eval echo configure:9077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9083 if { (eval echo configure:9084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9077 rm -rf conftest* | 9084 rm -rf conftest* |
| 9078 eval "ac_cv_lib_$ac_lib_var=yes" | 9085 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9079 else | 9086 else |
| 9080 echo "configure: failed program was:" >&5 | 9087 echo "configure: failed program was:" >&5 |
| 9081 cat conftest.$ac_ext >&5 | 9088 cat conftest.$ac_ext >&5 |
| 9122 | 9129 |
| 9123 | 9130 |
| 9124 | 9131 |
| 9125 if test "$window_system" != "none"; then | 9132 if test "$window_system" != "none"; then |
| 9126 echo "checking for graphics libraries" 1>&6 | 9133 echo "checking for graphics libraries" 1>&6 |
| 9127 echo "configure:9128: checking for graphics libraries" >&5 | 9134 echo "configure:9135: checking for graphics libraries" >&5 |
| 9128 | 9135 |
| 9129 libpath_xpm= | 9136 libpath_xpm= |
| 9130 incpath_xpm= | 9137 incpath_xpm= |
| 9131 case "$opsys" in | 9138 case "$opsys" in |
| 9132 cygwin*) | 9139 cygwin*) |
| 9148 xpm_problem="" | 9155 xpm_problem="" |
| 9149 if test -z "$with_xpm"; then | 9156 if test -z "$with_xpm"; then |
| 9150 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9157 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
| 9151 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9158 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
| 9152 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9159 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 9153 echo "configure:9154: checking for Xpm - no older than 3.4f" >&5 | 9160 echo "configure:9161: checking for Xpm - no older than 3.4f" >&5 |
| 9154 xe_check_libs=-lXpm | 9161 xe_check_libs=-lXpm |
| 9155 cat > conftest.$ac_ext <<EOF | 9162 cat > conftest.$ac_ext <<EOF |
| 9156 #line 9157 "configure" | 9163 #line 9164 "configure" |
| 9157 #include "confdefs.h" | 9164 #include "confdefs.h" |
| 9158 #define XPM_NUMBERS | 9165 #define XPM_NUMBERS |
| 9159 #include <X11/xpm.h> | 9166 #include <X11/xpm.h> |
| 9160 int main(int c, char **v) { | 9167 int main(int c, char **v) { |
| 9161 return c == 1 ? 0 : | 9168 return c == 1 ? 0 : |
| 9162 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9169 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 9163 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9170 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 9164 EOF | 9171 EOF |
| 9165 if { (eval echo configure:9166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9172 if { (eval echo configure:9173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9166 then | 9173 then |
| 9167 ./conftest dummy_arg; xpm_status=$?; | 9174 ./conftest dummy_arg; xpm_status=$?; |
| 9168 if test "$xpm_status" = "0"; then | 9175 if test "$xpm_status" = "0"; then |
| 9169 with_xpm=yes; | 9176 with_xpm=yes; |
| 9170 else | 9177 else |
| 9204 | 9211 |
| 9205 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9212 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
| 9206 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9213 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 9207 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9214 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
| 9208 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9215 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 9209 echo "configure:9210: checking for \"FOR_MSW\" xpm" >&5 | 9216 echo "configure:9217: checking for \"FOR_MSW\" xpm" >&5 |
| 9210 xe_check_libs=-lXpm | 9217 xe_check_libs=-lXpm |
| 9211 cat > conftest.$ac_ext <<EOF | 9218 cat > conftest.$ac_ext <<EOF |
| 9212 #line 9213 "configure" | 9219 #line 9220 "configure" |
| 9213 #include "confdefs.h" | 9220 #include "confdefs.h" |
| 9214 | 9221 |
| 9215 int main() { | 9222 int main() { |
| 9216 XpmCreatePixmapFromData() | 9223 XpmCreatePixmapFromData() |
| 9217 ; return 0; } | 9224 ; return 0; } |
| 9218 EOF | 9225 EOF |
| 9219 if { (eval echo configure:9220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9226 if { (eval echo configure:9227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9220 rm -rf conftest* | 9227 rm -rf conftest* |
| 9221 xpm_for_msw=no | 9228 xpm_for_msw=no |
| 9222 else | 9229 else |
| 9223 echo "configure: failed program was:" >&5 | 9230 echo "configure: failed program was:" >&5 |
| 9224 cat conftest.$ac_ext >&5 | 9231 cat conftest.$ac_ext >&5 |
| 9240 fi | 9247 fi |
| 9241 fi | 9248 fi |
| 9242 | 9249 |
| 9243 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9250 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 9244 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9251 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 9245 echo "configure:9246: checking for compface.h" >&5 | 9252 echo "configure:9253: checking for compface.h" >&5 |
| 9246 | 9253 |
| 9247 cat > conftest.$ac_ext <<EOF | 9254 cat > conftest.$ac_ext <<EOF |
| 9248 #line 9249 "configure" | 9255 #line 9256 "configure" |
| 9249 #include "confdefs.h" | 9256 #include "confdefs.h" |
| 9250 #include <compface.h> | 9257 #include <compface.h> |
| 9251 EOF | 9258 EOF |
| 9252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9253 { (eval echo configure:9254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9260 { (eval echo configure:9261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9255 if test -z "$ac_err"; then | 9262 if test -z "$ac_err"; then |
| 9256 rm -rf conftest* | 9263 rm -rf conftest* |
| 9257 eval "ac_cv_header_$ac_safe=yes" | 9264 eval "ac_cv_header_$ac_safe=yes" |
| 9258 else | 9265 else |
| 9271 with_xface=no | 9278 with_xface=no |
| 9272 fi | 9279 fi |
| 9273 } | 9280 } |
| 9274 test -z "$with_xface" && { | 9281 test -z "$with_xface" && { |
| 9275 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9282 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 9276 echo "configure:9277: checking for UnGenFace in -lcompface" >&5 | 9283 echo "configure:9284: checking for UnGenFace in -lcompface" >&5 |
| 9277 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9284 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 9278 | 9285 |
| 9279 xe_check_libs=" -lcompface " | 9286 xe_check_libs=" -lcompface " |
| 9280 cat > conftest.$ac_ext <<EOF | 9287 cat > conftest.$ac_ext <<EOF |
| 9281 #line 9282 "configure" | 9288 #line 9289 "configure" |
| 9282 #include "confdefs.h" | 9289 #include "confdefs.h" |
| 9283 /* Override any gcc2 internal prototype to avoid an error. */ | 9290 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9284 /* We use char because int might match the return type of a gcc2 | 9291 /* We use char because int might match the return type of a gcc2 |
| 9285 builtin and then its argument prototype would still apply. */ | 9292 builtin and then its argument prototype would still apply. */ |
| 9286 char UnGenFace(); | 9293 char UnGenFace(); |
| 9287 | 9294 |
| 9288 int main() { | 9295 int main() { |
| 9289 UnGenFace() | 9296 UnGenFace() |
| 9290 ; return 0; } | 9297 ; return 0; } |
| 9291 EOF | 9298 EOF |
| 9292 if { (eval echo configure:9293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9299 if { (eval echo configure:9300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9293 rm -rf conftest* | 9300 rm -rf conftest* |
| 9294 eval "ac_cv_lib_$ac_lib_var=yes" | 9301 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9295 else | 9302 else |
| 9296 echo "configure: failed program was:" >&5 | 9303 echo "configure: failed program was:" >&5 |
| 9297 cat conftest.$ac_ext >&5 | 9304 cat conftest.$ac_ext >&5 |
| 9336 fi | 9343 fi |
| 9337 | 9344 |
| 9338 if test "$with_png $with_tiff" != "no no"; then | 9345 if test "$with_png $with_tiff" != "no no"; then |
| 9339 | 9346 |
| 9340 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9347 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 9341 echo "configure:9342: checking for inflate in -lc" >&5 | 9348 echo "configure:9349: checking for inflate in -lc" >&5 |
| 9342 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9349 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 9343 | 9350 |
| 9344 xe_check_libs=" -lc " | 9351 xe_check_libs=" -lc " |
| 9345 cat > conftest.$ac_ext <<EOF | 9352 cat > conftest.$ac_ext <<EOF |
| 9346 #line 9347 "configure" | 9353 #line 9354 "configure" |
| 9347 #include "confdefs.h" | 9354 #include "confdefs.h" |
| 9348 /* Override any gcc2 internal prototype to avoid an error. */ | 9355 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9349 /* We use char because int might match the return type of a gcc2 | 9356 /* We use char because int might match the return type of a gcc2 |
| 9350 builtin and then its argument prototype would still apply. */ | 9357 builtin and then its argument prototype would still apply. */ |
| 9351 char inflate(); | 9358 char inflate(); |
| 9352 | 9359 |
| 9353 int main() { | 9360 int main() { |
| 9354 inflate() | 9361 inflate() |
| 9355 ; return 0; } | 9362 ; return 0; } |
| 9356 EOF | 9363 EOF |
| 9357 if { (eval echo configure:9358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9364 if { (eval echo configure:9365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9358 rm -rf conftest* | 9365 rm -rf conftest* |
| 9359 eval "ac_cv_lib_$ac_lib_var=yes" | 9366 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9360 else | 9367 else |
| 9361 echo "configure: failed program was:" >&5 | 9368 echo "configure: failed program was:" >&5 |
| 9362 cat conftest.$ac_ext >&5 | 9369 cat conftest.$ac_ext >&5 |
| 9371 : | 9378 : |
| 9372 else | 9379 else |
| 9373 echo "$ac_t""no" 1>&6 | 9380 echo "$ac_t""no" 1>&6 |
| 9374 | 9381 |
| 9375 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9382 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 9376 echo "configure:9377: checking for inflate in -lz" >&5 | 9383 echo "configure:9384: checking for inflate in -lz" >&5 |
| 9377 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9384 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 9378 | 9385 |
| 9379 xe_check_libs=" -lz " | 9386 xe_check_libs=" -lz " |
| 9380 cat > conftest.$ac_ext <<EOF | 9387 cat > conftest.$ac_ext <<EOF |
| 9381 #line 9382 "configure" | 9388 #line 9389 "configure" |
| 9382 #include "confdefs.h" | 9389 #include "confdefs.h" |
| 9383 /* Override any gcc2 internal prototype to avoid an error. */ | 9390 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9384 /* We use char because int might match the return type of a gcc2 | 9391 /* We use char because int might match the return type of a gcc2 |
| 9385 builtin and then its argument prototype would still apply. */ | 9392 builtin and then its argument prototype would still apply. */ |
| 9386 char inflate(); | 9393 char inflate(); |
| 9387 | 9394 |
| 9388 int main() { | 9395 int main() { |
| 9389 inflate() | 9396 inflate() |
| 9390 ; return 0; } | 9397 ; return 0; } |
| 9391 EOF | 9398 EOF |
| 9392 if { (eval echo configure:9393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9399 if { (eval echo configure:9400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9393 rm -rf conftest* | 9400 rm -rf conftest* |
| 9394 eval "ac_cv_lib_$ac_lib_var=yes" | 9401 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9395 else | 9402 else |
| 9396 echo "configure: failed program was:" >&5 | 9403 echo "configure: failed program was:" >&5 |
| 9397 cat conftest.$ac_ext >&5 | 9404 cat conftest.$ac_ext >&5 |
| 9406 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9413 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 9407 else | 9414 else |
| 9408 echo "$ac_t""no" 1>&6 | 9415 echo "$ac_t""no" 1>&6 |
| 9409 | 9416 |
| 9410 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9417 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 9411 echo "configure:9412: checking for inflate in -lgz" >&5 | 9418 echo "configure:9419: checking for inflate in -lgz" >&5 |
| 9412 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9419 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 9413 | 9420 |
| 9414 xe_check_libs=" -lgz " | 9421 xe_check_libs=" -lgz " |
| 9415 cat > conftest.$ac_ext <<EOF | 9422 cat > conftest.$ac_ext <<EOF |
| 9416 #line 9417 "configure" | 9423 #line 9424 "configure" |
| 9417 #include "confdefs.h" | 9424 #include "confdefs.h" |
| 9418 /* Override any gcc2 internal prototype to avoid an error. */ | 9425 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9419 /* We use char because int might match the return type of a gcc2 | 9426 /* We use char because int might match the return type of a gcc2 |
| 9420 builtin and then its argument prototype would still apply. */ | 9427 builtin and then its argument prototype would still apply. */ |
| 9421 char inflate(); | 9428 char inflate(); |
| 9422 | 9429 |
| 9423 int main() { | 9430 int main() { |
| 9424 inflate() | 9431 inflate() |
| 9425 ; return 0; } | 9432 ; return 0; } |
| 9426 EOF | 9433 EOF |
| 9427 if { (eval echo configure:9428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9434 if { (eval echo configure:9435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9428 rm -rf conftest* | 9435 rm -rf conftest* |
| 9429 eval "ac_cv_lib_$ac_lib_var=yes" | 9436 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9430 else | 9437 else |
| 9431 echo "configure: failed program was:" >&5 | 9438 echo "configure: failed program was:" >&5 |
| 9432 cat conftest.$ac_ext >&5 | 9439 cat conftest.$ac_ext >&5 |
| 9452 | 9459 |
| 9453 fi | 9460 fi |
| 9454 | 9461 |
| 9455 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9462 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 9456 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9463 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 9457 echo "configure:9458: checking for jpeglib.h" >&5 | 9464 echo "configure:9465: checking for jpeglib.h" >&5 |
| 9458 | 9465 |
| 9459 cat > conftest.$ac_ext <<EOF | 9466 cat > conftest.$ac_ext <<EOF |
| 9460 #line 9461 "configure" | 9467 #line 9468 "configure" |
| 9461 #include "confdefs.h" | 9468 #include "confdefs.h" |
| 9462 #include <jpeglib.h> | 9469 #include <jpeglib.h> |
| 9463 EOF | 9470 EOF |
| 9464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9465 { (eval echo configure:9466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9472 { (eval echo configure:9473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9466 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9467 if test -z "$ac_err"; then | 9474 if test -z "$ac_err"; then |
| 9468 rm -rf conftest* | 9475 rm -rf conftest* |
| 9469 eval "ac_cv_header_$ac_safe=yes" | 9476 eval "ac_cv_header_$ac_safe=yes" |
| 9470 else | 9477 else |
| 9483 with_jpeg=no | 9490 with_jpeg=no |
| 9484 fi | 9491 fi |
| 9485 } | 9492 } |
| 9486 test -z "$with_jpeg" && { | 9493 test -z "$with_jpeg" && { |
| 9487 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9494 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 9488 echo "configure:9489: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9495 echo "configure:9496: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 9489 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9496 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 9490 | 9497 |
| 9491 xe_check_libs=" -ljpeg " | 9498 xe_check_libs=" -ljpeg " |
| 9492 cat > conftest.$ac_ext <<EOF | 9499 cat > conftest.$ac_ext <<EOF |
| 9493 #line 9494 "configure" | 9500 #line 9501 "configure" |
| 9494 #include "confdefs.h" | 9501 #include "confdefs.h" |
| 9495 /* Override any gcc2 internal prototype to avoid an error. */ | 9502 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9496 /* We use char because int might match the return type of a gcc2 | 9503 /* We use char because int might match the return type of a gcc2 |
| 9497 builtin and then its argument prototype would still apply. */ | 9504 builtin and then its argument prototype would still apply. */ |
| 9498 char jpeg_destroy_decompress(); | 9505 char jpeg_destroy_decompress(); |
| 9499 | 9506 |
| 9500 int main() { | 9507 int main() { |
| 9501 jpeg_destroy_decompress() | 9508 jpeg_destroy_decompress() |
| 9502 ; return 0; } | 9509 ; return 0; } |
| 9503 EOF | 9510 EOF |
| 9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9511 if { (eval echo configure:9512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9505 rm -rf conftest* | 9512 rm -rf conftest* |
| 9506 eval "ac_cv_lib_$ac_lib_var=yes" | 9513 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9507 else | 9514 else |
| 9508 echo "configure: failed program was:" >&5 | 9515 echo "configure: failed program was:" >&5 |
| 9509 cat conftest.$ac_ext >&5 | 9516 cat conftest.$ac_ext >&5 |
| 9535 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9542 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 9536 fi | 9543 fi |
| 9537 | 9544 |
| 9538 png_problem="" | 9545 png_problem="" |
| 9539 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9546 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 9540 echo "configure:9541: checking for pow" >&5 | 9547 echo "configure:9548: checking for pow" >&5 |
| 9541 | 9548 |
| 9542 cat > conftest.$ac_ext <<EOF | 9549 cat > conftest.$ac_ext <<EOF |
| 9543 #line 9544 "configure" | 9550 #line 9551 "configure" |
| 9544 #include "confdefs.h" | 9551 #include "confdefs.h" |
| 9545 /* System header to define __stub macros and hopefully few prototypes, | 9552 /* System header to define __stub macros and hopefully few prototypes, |
| 9546 which can conflict with char pow(); below. */ | 9553 which can conflict with char pow(); below. */ |
| 9547 #include <assert.h> | 9554 #include <assert.h> |
| 9548 /* Override any gcc2 internal prototype to avoid an error. */ | 9555 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9561 pow(); | 9568 pow(); |
| 9562 #endif | 9569 #endif |
| 9563 | 9570 |
| 9564 ; return 0; } | 9571 ; return 0; } |
| 9565 EOF | 9572 EOF |
| 9566 if { (eval echo configure:9567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9573 if { (eval echo configure:9574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9567 rm -rf conftest* | 9574 rm -rf conftest* |
| 9568 eval "ac_cv_func_pow=yes" | 9575 eval "ac_cv_func_pow=yes" |
| 9569 else | 9576 else |
| 9570 echo "configure: failed program was:" >&5 | 9577 echo "configure: failed program was:" >&5 |
| 9571 cat conftest.$ac_ext >&5 | 9578 cat conftest.$ac_ext >&5 |
| 9582 with_png=no | 9589 with_png=no |
| 9583 fi | 9590 fi |
| 9584 } | 9591 } |
| 9585 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9592 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 9586 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9593 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 9587 echo "configure:9588: checking for png.h" >&5 | 9594 echo "configure:9595: checking for png.h" >&5 |
| 9588 | 9595 |
| 9589 cat > conftest.$ac_ext <<EOF | 9596 cat > conftest.$ac_ext <<EOF |
| 9590 #line 9591 "configure" | 9597 #line 9598 "configure" |
| 9591 #include "confdefs.h" | 9598 #include "confdefs.h" |
| 9592 #include <png.h> | 9599 #include <png.h> |
| 9593 EOF | 9600 EOF |
| 9594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9595 { (eval echo configure:9596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9602 { (eval echo configure:9603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9597 if test -z "$ac_err"; then | 9604 if test -z "$ac_err"; then |
| 9598 rm -rf conftest* | 9605 rm -rf conftest* |
| 9599 eval "ac_cv_header_$ac_safe=yes" | 9606 eval "ac_cv_header_$ac_safe=yes" |
| 9600 else | 9607 else |
| 9613 with_png=no | 9620 with_png=no |
| 9614 fi | 9621 fi |
| 9615 } | 9622 } |
| 9616 test -z "$with_png" && { | 9623 test -z "$with_png" && { |
| 9617 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9624 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 9618 echo "configure:9619: checking for png_read_image in -lpng" >&5 | 9625 echo "configure:9626: checking for png_read_image in -lpng" >&5 |
| 9619 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9626 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 9620 | 9627 |
| 9621 xe_check_libs=" -lpng " | 9628 xe_check_libs=" -lpng " |
| 9622 cat > conftest.$ac_ext <<EOF | 9629 cat > conftest.$ac_ext <<EOF |
| 9623 #line 9624 "configure" | 9630 #line 9631 "configure" |
| 9624 #include "confdefs.h" | 9631 #include "confdefs.h" |
| 9625 /* Override any gcc2 internal prototype to avoid an error. */ | 9632 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9626 /* We use char because int might match the return type of a gcc2 | 9633 /* We use char because int might match the return type of a gcc2 |
| 9627 builtin and then its argument prototype would still apply. */ | 9634 builtin and then its argument prototype would still apply. */ |
| 9628 char png_read_image(); | 9635 char png_read_image(); |
| 9629 | 9636 |
| 9630 int main() { | 9637 int main() { |
| 9631 png_read_image() | 9638 png_read_image() |
| 9632 ; return 0; } | 9639 ; return 0; } |
| 9633 EOF | 9640 EOF |
| 9634 if { (eval echo configure:9635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9641 if { (eval echo configure:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9635 rm -rf conftest* | 9642 rm -rf conftest* |
| 9636 eval "ac_cv_lib_$ac_lib_var=yes" | 9643 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9637 else | 9644 else |
| 9638 echo "configure: failed program was:" >&5 | 9645 echo "configure: failed program was:" >&5 |
| 9639 cat conftest.$ac_ext >&5 | 9646 cat conftest.$ac_ext >&5 |
| 9652 fi | 9659 fi |
| 9653 | 9660 |
| 9654 } | 9661 } |
| 9655 if test -z "$with_png"; then | 9662 if test -z "$with_png"; then |
| 9656 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9663 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 9657 echo "configure:9658: checking for workable png version information" >&5 | 9664 echo "configure:9665: checking for workable png version information" >&5 |
| 9658 xe_check_libs="-lpng -lz" | 9665 xe_check_libs="-lpng -lz" |
| 9659 cat > conftest.$ac_ext <<EOF | 9666 cat > conftest.$ac_ext <<EOF |
| 9660 #line 9661 "configure" | 9667 #line 9668 "configure" |
| 9661 #include "confdefs.h" | 9668 #include "confdefs.h" |
| 9662 #include <png.h> | 9669 #include <png.h> |
| 9663 int main(int c, char **v) { | 9670 int main(int c, char **v) { |
| 9664 if (c == 1) return 0; | 9671 if (c == 1) return 0; |
| 9665 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9672 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 9666 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9673 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 9667 EOF | 9674 EOF |
| 9668 if { (eval echo configure:9669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9675 if { (eval echo configure:9676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9669 then | 9676 then |
| 9670 ./conftest dummy_arg; png_status=$?; | 9677 ./conftest dummy_arg; png_status=$?; |
| 9671 if test "$png_status" = "0"; then | 9678 if test "$png_status" = "0"; then |
| 9672 with_png=yes; | 9679 with_png=yes; |
| 9673 else | 9680 else |
| 9706 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9713 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 9707 fi | 9714 fi |
| 9708 | 9715 |
| 9709 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9716 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 9710 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9717 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 9711 echo "configure:9712: checking for tiffio.h" >&5 | 9718 echo "configure:9719: checking for tiffio.h" >&5 |
| 9712 | 9719 |
| 9713 cat > conftest.$ac_ext <<EOF | 9720 cat > conftest.$ac_ext <<EOF |
| 9714 #line 9715 "configure" | 9721 #line 9722 "configure" |
| 9715 #include "confdefs.h" | 9722 #include "confdefs.h" |
| 9716 #include <tiffio.h> | 9723 #include <tiffio.h> |
| 9717 EOF | 9724 EOF |
| 9718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9719 { (eval echo configure:9720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9726 { (eval echo configure:9727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9721 if test -z "$ac_err"; then | 9728 if test -z "$ac_err"; then |
| 9722 rm -rf conftest* | 9729 rm -rf conftest* |
| 9723 eval "ac_cv_header_$ac_safe=yes" | 9730 eval "ac_cv_header_$ac_safe=yes" |
| 9724 else | 9731 else |
| 9737 with_tiff=no | 9744 with_tiff=no |
| 9738 fi | 9745 fi |
| 9739 } | 9746 } |
| 9740 test -z "$with_tiff" && { | 9747 test -z "$with_tiff" && { |
| 9741 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9748 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 9742 echo "configure:9743: checking for TIFFClientOpen in -ltiff" >&5 | 9749 echo "configure:9750: checking for TIFFClientOpen in -ltiff" >&5 |
| 9743 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9750 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 9744 | 9751 |
| 9745 xe_check_libs=" -ltiff " | 9752 xe_check_libs=" -ltiff " |
| 9746 cat > conftest.$ac_ext <<EOF | 9753 cat > conftest.$ac_ext <<EOF |
| 9747 #line 9748 "configure" | 9754 #line 9755 "configure" |
| 9748 #include "confdefs.h" | 9755 #include "confdefs.h" |
| 9749 /* Override any gcc2 internal prototype to avoid an error. */ | 9756 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9750 /* We use char because int might match the return type of a gcc2 | 9757 /* We use char because int might match the return type of a gcc2 |
| 9751 builtin and then its argument prototype would still apply. */ | 9758 builtin and then its argument prototype would still apply. */ |
| 9752 char TIFFClientOpen(); | 9759 char TIFFClientOpen(); |
| 9753 | 9760 |
| 9754 int main() { | 9761 int main() { |
| 9755 TIFFClientOpen() | 9762 TIFFClientOpen() |
| 9756 ; return 0; } | 9763 ; return 0; } |
| 9757 EOF | 9764 EOF |
| 9758 if { (eval echo configure:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9765 if { (eval echo configure:9766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9759 rm -rf conftest* | 9766 rm -rf conftest* |
| 9760 eval "ac_cv_lib_$ac_lib_var=yes" | 9767 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9761 else | 9768 else |
| 9762 echo "configure: failed program was:" >&5 | 9769 echo "configure: failed program was:" >&5 |
| 9763 cat conftest.$ac_ext >&5 | 9770 cat conftest.$ac_ext >&5 |
| 9792 | 9799 |
| 9793 | 9800 |
| 9794 if test "$with_gtk" = "yes"; then | 9801 if test "$with_gtk" = "yes"; then |
| 9795 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9802 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 9796 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9803 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 9797 echo "configure:9798: checking for compface.h" >&5 | 9804 echo "configure:9805: checking for compface.h" >&5 |
| 9798 | 9805 |
| 9799 cat > conftest.$ac_ext <<EOF | 9806 cat > conftest.$ac_ext <<EOF |
| 9800 #line 9801 "configure" | 9807 #line 9808 "configure" |
| 9801 #include "confdefs.h" | 9808 #include "confdefs.h" |
| 9802 #include <compface.h> | 9809 #include <compface.h> |
| 9803 EOF | 9810 EOF |
| 9804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9805 { (eval echo configure:9806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9812 { (eval echo configure:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9807 if test -z "$ac_err"; then | 9814 if test -z "$ac_err"; then |
| 9808 rm -rf conftest* | 9815 rm -rf conftest* |
| 9809 eval "ac_cv_header_$ac_safe=yes" | 9816 eval "ac_cv_header_$ac_safe=yes" |
| 9810 else | 9817 else |
| 9823 with_xface=no | 9830 with_xface=no |
| 9824 fi | 9831 fi |
| 9825 } | 9832 } |
| 9826 test -z "$with_xface" && { | 9833 test -z "$with_xface" && { |
| 9827 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9834 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 9828 echo "configure:9829: checking for UnGenFace in -lcompface" >&5 | 9835 echo "configure:9836: checking for UnGenFace in -lcompface" >&5 |
| 9829 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9836 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 9830 | 9837 |
| 9831 xe_check_libs=" -lcompface " | 9838 xe_check_libs=" -lcompface " |
| 9832 cat > conftest.$ac_ext <<EOF | 9839 cat > conftest.$ac_ext <<EOF |
| 9833 #line 9834 "configure" | 9840 #line 9841 "configure" |
| 9834 #include "confdefs.h" | 9841 #include "confdefs.h" |
| 9835 /* Override any gcc2 internal prototype to avoid an error. */ | 9842 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9836 /* We use char because int might match the return type of a gcc2 | 9843 /* We use char because int might match the return type of a gcc2 |
| 9837 builtin and then its argument prototype would still apply. */ | 9844 builtin and then its argument prototype would still apply. */ |
| 9838 char UnGenFace(); | 9845 char UnGenFace(); |
| 9839 | 9846 |
| 9840 int main() { | 9847 int main() { |
| 9841 UnGenFace() | 9848 UnGenFace() |
| 9842 ; return 0; } | 9849 ; return 0; } |
| 9843 EOF | 9850 EOF |
| 9844 if { (eval echo configure:9845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9845 rm -rf conftest* | 9852 rm -rf conftest* |
| 9846 eval "ac_cv_lib_$ac_lib_var=yes" | 9853 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9847 else | 9854 else |
| 9848 echo "configure: failed program was:" >&5 | 9855 echo "configure: failed program was:" >&5 |
| 9849 cat conftest.$ac_ext >&5 | 9856 cat conftest.$ac_ext >&5 |
| 9878 | 9885 |
| 9879 | 9886 |
| 9880 | 9887 |
| 9881 if test "$with_x11" = "yes"; then | 9888 if test "$with_x11" = "yes"; then |
| 9882 echo "checking for X11 graphics libraries" 1>&6 | 9889 echo "checking for X11 graphics libraries" 1>&6 |
| 9883 echo "configure:9884: checking for X11 graphics libraries" >&5 | 9890 echo "configure:9891: checking for X11 graphics libraries" >&5 |
| 9884 fi | 9891 fi |
| 9885 | 9892 |
| 9886 case "$with_widgets" in | 9893 case "$with_widgets" in |
| 9887 "yes" | "athena") detect_athena=yes ;; | 9894 "yes" | "athena") detect_athena=yes ;; |
| 9888 *) detect_athena=no ;; | 9895 *) detect_athena=no ;; |
| 9889 esac | 9896 esac |
| 9890 | 9897 |
| 9891 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9898 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
| 9892 echo "checking for the Athena widgets" 1>&6 | 9899 echo "checking for the Athena widgets" 1>&6 |
| 9893 echo "configure:9894: checking for the Athena widgets" >&5 | 9900 echo "configure:9901: checking for the Athena widgets" >&5 |
| 9894 | 9901 |
| 9895 case "$with_athena" in | 9902 case "$with_athena" in |
| 9896 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9903 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
| 9897 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9904 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
| 9898 "next") athena_variant=neXtaw athena_3d=yes ;; | 9905 "next") athena_variant=neXtaw athena_3d=yes ;; |
| 9902 esac | 9909 esac |
| 9903 | 9910 |
| 9904 if test "$athena_3d" = "no"; then | 9911 if test "$athena_3d" = "no"; then |
| 9905 | 9912 |
| 9906 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9913 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
| 9907 echo "configure:9908: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9914 echo "configure:9915: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
| 9908 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9915 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 9909 | 9916 |
| 9910 xe_check_libs=" -l$athena_variant " | 9917 xe_check_libs=" -l$athena_variant " |
| 9911 cat > conftest.$ac_ext <<EOF | 9918 cat > conftest.$ac_ext <<EOF |
| 9912 #line 9913 "configure" | 9919 #line 9920 "configure" |
| 9913 #include "confdefs.h" | 9920 #include "confdefs.h" |
| 9914 /* Override any gcc2 internal prototype to avoid an error. */ | 9921 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9915 /* We use char because int might match the return type of a gcc2 | 9922 /* We use char because int might match the return type of a gcc2 |
| 9916 builtin and then its argument prototype would still apply. */ | 9923 builtin and then its argument prototype would still apply. */ |
| 9917 char XawScrollbarSetThumb(); | 9924 char XawScrollbarSetThumb(); |
| 9918 | 9925 |
| 9919 int main() { | 9926 int main() { |
| 9920 XawScrollbarSetThumb() | 9927 XawScrollbarSetThumb() |
| 9921 ; return 0; } | 9928 ; return 0; } |
| 9922 EOF | 9929 EOF |
| 9923 if { (eval echo configure:9924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9930 if { (eval echo configure:9931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9924 rm -rf conftest* | 9931 rm -rf conftest* |
| 9925 eval "ac_cv_lib_$ac_lib_var=yes" | 9932 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9926 else | 9933 else |
| 9927 echo "configure: failed program was:" >&5 | 9934 echo "configure: failed program was:" >&5 |
| 9928 cat conftest.$ac_ext >&5 | 9935 cat conftest.$ac_ext >&5 |
| 9934 | 9941 |
| 9935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 9936 echo "$ac_t""yes" 1>&6 | 9943 echo "$ac_t""yes" 1>&6 |
| 9937 | 9944 |
| 9938 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9945 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 9939 echo "configure:9940: checking for threeDClassRec in -l$athena_variant" >&5 | 9946 echo "configure:9947: checking for threeDClassRec in -l$athena_variant" >&5 |
| 9940 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9947 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 9941 | 9948 |
| 9942 xe_check_libs=" -l$athena_variant " | 9949 xe_check_libs=" -l$athena_variant " |
| 9943 cat > conftest.$ac_ext <<EOF | 9950 cat > conftest.$ac_ext <<EOF |
| 9944 #line 9945 "configure" | 9951 #line 9952 "configure" |
| 9945 #include "confdefs.h" | 9952 #include "confdefs.h" |
| 9946 /* Override any gcc2 internal prototype to avoid an error. */ | 9953 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9947 /* We use char because int might match the return type of a gcc2 | 9954 /* We use char because int might match the return type of a gcc2 |
| 9948 builtin and then its argument prototype would still apply. */ | 9955 builtin and then its argument prototype would still apply. */ |
| 9949 char threeDClassRec(); | 9956 char threeDClassRec(); |
| 9950 | 9957 |
| 9951 int main() { | 9958 int main() { |
| 9952 threeDClassRec() | 9959 threeDClassRec() |
| 9953 ; return 0; } | 9960 ; return 0; } |
| 9954 EOF | 9961 EOF |
| 9955 if { (eval echo configure:9956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9962 if { (eval echo configure:9963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9956 rm -rf conftest* | 9963 rm -rf conftest* |
| 9957 eval "ac_cv_lib_$ac_lib_var=yes" | 9964 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9958 else | 9965 else |
| 9959 echo "configure: failed program was:" >&5 | 9966 echo "configure: failed program was:" >&5 |
| 9960 cat conftest.$ac_ext >&5 | 9967 cat conftest.$ac_ext >&5 |
| 9981 | 9988 |
| 9982 | 9989 |
| 9983 else | 9990 else |
| 9984 | 9991 |
| 9985 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9992 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 9986 echo "configure:9987: checking for threeDClassRec in -l$athena_variant" >&5 | 9993 echo "configure:9994: checking for threeDClassRec in -l$athena_variant" >&5 |
| 9987 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9994 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 9988 | 9995 |
| 9989 xe_check_libs=" -l$athena_variant " | 9996 xe_check_libs=" -l$athena_variant " |
| 9990 cat > conftest.$ac_ext <<EOF | 9997 cat > conftest.$ac_ext <<EOF |
| 9991 #line 9992 "configure" | 9998 #line 9999 "configure" |
| 9992 #include "confdefs.h" | 9999 #include "confdefs.h" |
| 9993 /* Override any gcc2 internal prototype to avoid an error. */ | 10000 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9994 /* We use char because int might match the return type of a gcc2 | 10001 /* We use char because int might match the return type of a gcc2 |
| 9995 builtin and then its argument prototype would still apply. */ | 10002 builtin and then its argument prototype would still apply. */ |
| 9996 char threeDClassRec(); | 10003 char threeDClassRec(); |
| 9997 | 10004 |
| 9998 int main() { | 10005 int main() { |
| 9999 threeDClassRec() | 10006 threeDClassRec() |
| 10000 ; return 0; } | 10007 ; return 0; } |
| 10001 EOF | 10008 EOF |
| 10002 if { (eval echo configure:10003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10009 if { (eval echo configure:10010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10003 rm -rf conftest* | 10010 rm -rf conftest* |
| 10004 eval "ac_cv_lib_$ac_lib_var=yes" | 10011 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10005 else | 10012 else |
| 10006 echo "configure: failed program was:" >&5 | 10013 echo "configure: failed program was:" >&5 |
| 10007 cat conftest.$ac_ext >&5 | 10014 cat conftest.$ac_ext >&5 |
| 10015 echo "$ac_t""yes" 1>&6 | 10022 echo "$ac_t""yes" 1>&6 |
| 10016 athena_lib=$athena_variant | 10023 athena_lib=$athena_variant |
| 10017 else | 10024 else |
| 10018 echo "$ac_t""no" 1>&6 | 10025 echo "$ac_t""no" 1>&6 |
| 10019 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10026 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
| 10020 echo "configure:10021: checking for threeDClassRec in -lXaw" >&5 | 10027 echo "configure:10028: checking for threeDClassRec in -lXaw" >&5 |
| 10021 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10028 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 10022 | 10029 |
| 10023 xe_check_libs=" -lXaw " | 10030 xe_check_libs=" -lXaw " |
| 10024 cat > conftest.$ac_ext <<EOF | 10031 cat > conftest.$ac_ext <<EOF |
| 10025 #line 10026 "configure" | 10032 #line 10033 "configure" |
| 10026 #include "confdefs.h" | 10033 #include "confdefs.h" |
| 10027 /* Override any gcc2 internal prototype to avoid an error. */ | 10034 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10028 /* We use char because int might match the return type of a gcc2 | 10035 /* We use char because int might match the return type of a gcc2 |
| 10029 builtin and then its argument prototype would still apply. */ | 10036 builtin and then its argument prototype would still apply. */ |
| 10030 char threeDClassRec(); | 10037 char threeDClassRec(); |
| 10031 | 10038 |
| 10032 int main() { | 10039 int main() { |
| 10033 threeDClassRec() | 10040 threeDClassRec() |
| 10034 ; return 0; } | 10041 ; return 0; } |
| 10035 EOF | 10042 EOF |
| 10036 if { (eval echo configure:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10037 rm -rf conftest* | 10044 rm -rf conftest* |
| 10038 eval "ac_cv_lib_$ac_lib_var=yes" | 10045 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10039 else | 10046 else |
| 10040 echo "configure: failed program was:" >&5 | 10047 echo "configure: failed program was:" >&5 |
| 10041 cat conftest.$ac_ext >&5 | 10048 cat conftest.$ac_ext >&5 |
| 10062 fi | 10069 fi |
| 10063 | 10070 |
| 10064 if test "$athena_3d" = "no"; then | 10071 if test "$athena_3d" = "no"; then |
| 10065 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10072 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10066 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10073 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 10067 echo "configure:10068: checking for X11/Xaw/ThreeD.h" >&5 | 10074 echo "configure:10075: checking for X11/Xaw/ThreeD.h" >&5 |
| 10068 | 10075 |
| 10069 cat > conftest.$ac_ext <<EOF | 10076 cat > conftest.$ac_ext <<EOF |
| 10070 #line 10071 "configure" | 10077 #line 10078 "configure" |
| 10071 #include "confdefs.h" | 10078 #include "confdefs.h" |
| 10072 #include <X11/Xaw/ThreeD.h> | 10079 #include <X11/Xaw/ThreeD.h> |
| 10073 EOF | 10080 EOF |
| 10074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10075 { (eval echo configure:10076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10082 { (eval echo configure:10083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10077 if test -z "$ac_err"; then | 10084 if test -z "$ac_err"; then |
| 10078 rm -rf conftest* | 10085 rm -rf conftest* |
| 10079 eval "ac_cv_header_$ac_safe=yes" | 10086 eval "ac_cv_header_$ac_safe=yes" |
| 10080 else | 10087 else |
| 10090 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10097 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
| 10091 else | 10098 else |
| 10092 echo "$ac_t""no" 1>&6 | 10099 echo "$ac_t""no" 1>&6 |
| 10093 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10100 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10094 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10101 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
| 10095 echo "configure:10096: checking for X11/Xaw/XawInit.h" >&5 | 10102 echo "configure:10103: checking for X11/Xaw/XawInit.h" >&5 |
| 10096 | 10103 |
| 10097 cat > conftest.$ac_ext <<EOF | 10104 cat > conftest.$ac_ext <<EOF |
| 10098 #line 10099 "configure" | 10105 #line 10106 "configure" |
| 10099 #include "confdefs.h" | 10106 #include "confdefs.h" |
| 10100 #include <X11/Xaw/XawInit.h> | 10107 #include <X11/Xaw/XawInit.h> |
| 10101 EOF | 10108 EOF |
| 10102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10103 { (eval echo configure:10104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10110 { (eval echo configure:10111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10105 if test -z "$ac_err"; then | 10112 if test -z "$ac_err"; then |
| 10106 rm -rf conftest* | 10113 rm -rf conftest* |
| 10107 eval "ac_cv_header_$ac_safe=yes" | 10114 eval "ac_cv_header_$ac_safe=yes" |
| 10108 else | 10115 else |
| 10124 fi | 10131 fi |
| 10125 | 10132 |
| 10126 else | 10133 else |
| 10127 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10134 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10128 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10135 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 10129 echo "configure:10130: checking for X11/$athena_variant/XawInit.h" >&5 | 10136 echo "configure:10137: checking for X11/$athena_variant/XawInit.h" >&5 |
| 10130 | 10137 |
| 10131 cat > conftest.$ac_ext <<EOF | 10138 cat > conftest.$ac_ext <<EOF |
| 10132 #line 10133 "configure" | 10139 #line 10140 "configure" |
| 10133 #include "confdefs.h" | 10140 #include "confdefs.h" |
| 10134 #include <X11/$athena_variant/XawInit.h> | 10141 #include <X11/$athena_variant/XawInit.h> |
| 10135 EOF | 10142 EOF |
| 10136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10137 { (eval echo configure:10138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10144 { (eval echo configure:10145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10139 if test -z "$ac_err"; then | 10146 if test -z "$ac_err"; then |
| 10140 rm -rf conftest* | 10147 rm -rf conftest* |
| 10141 eval "ac_cv_header_$ac_safe=yes" | 10148 eval "ac_cv_header_$ac_safe=yes" |
| 10142 else | 10149 else |
| 10149 rm -f conftest* | 10156 rm -f conftest* |
| 10150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10151 echo "$ac_t""yes" 1>&6 | 10158 echo "$ac_t""yes" 1>&6 |
| 10152 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10159 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10153 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10160 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 10154 echo "configure:10155: checking for X11/$athena_variant/ThreeD.h" >&5 | 10161 echo "configure:10162: checking for X11/$athena_variant/ThreeD.h" >&5 |
| 10155 | 10162 |
| 10156 cat > conftest.$ac_ext <<EOF | 10163 cat > conftest.$ac_ext <<EOF |
| 10157 #line 10158 "configure" | 10164 #line 10165 "configure" |
| 10158 #include "confdefs.h" | 10165 #include "confdefs.h" |
| 10159 #include <X11/$athena_variant/ThreeD.h> | 10166 #include <X11/$athena_variant/ThreeD.h> |
| 10160 EOF | 10167 EOF |
| 10161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10162 { (eval echo configure:10163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10169 { (eval echo configure:10170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10164 if test -z "$ac_err"; then | 10171 if test -z "$ac_err"; then |
| 10165 rm -rf conftest* | 10172 rm -rf conftest* |
| 10166 eval "ac_cv_header_$ac_safe=yes" | 10173 eval "ac_cv_header_$ac_safe=yes" |
| 10167 else | 10174 else |
| 10185 | 10192 |
| 10186 | 10193 |
| 10187 if test -z "$athena_h_path"; then | 10194 if test -z "$athena_h_path"; then |
| 10188 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10195 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10189 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10196 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 10190 echo "configure:10191: checking for $athena_variant/XawInit.h" >&5 | 10197 echo "configure:10198: checking for $athena_variant/XawInit.h" >&5 |
| 10191 | 10198 |
| 10192 cat > conftest.$ac_ext <<EOF | 10199 cat > conftest.$ac_ext <<EOF |
| 10193 #line 10194 "configure" | 10200 #line 10201 "configure" |
| 10194 #include "confdefs.h" | 10201 #include "confdefs.h" |
| 10195 #include <$athena_variant/XawInit.h> | 10202 #include <$athena_variant/XawInit.h> |
| 10196 EOF | 10203 EOF |
| 10197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10198 { (eval echo configure:10199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10205 { (eval echo configure:10206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10200 if test -z "$ac_err"; then | 10207 if test -z "$ac_err"; then |
| 10201 rm -rf conftest* | 10208 rm -rf conftest* |
| 10202 eval "ac_cv_header_$ac_safe=yes" | 10209 eval "ac_cv_header_$ac_safe=yes" |
| 10203 else | 10210 else |
| 10210 rm -f conftest* | 10217 rm -f conftest* |
| 10211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10212 echo "$ac_t""yes" 1>&6 | 10219 echo "$ac_t""yes" 1>&6 |
| 10213 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10220 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10214 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10221 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 10215 echo "configure:10216: checking for $athena_variant/ThreeD.h" >&5 | 10222 echo "configure:10223: checking for $athena_variant/ThreeD.h" >&5 |
| 10216 | 10223 |
| 10217 cat > conftest.$ac_ext <<EOF | 10224 cat > conftest.$ac_ext <<EOF |
| 10218 #line 10219 "configure" | 10225 #line 10226 "configure" |
| 10219 #include "confdefs.h" | 10226 #include "confdefs.h" |
| 10220 #include <$athena_variant/ThreeD.h> | 10227 #include <$athena_variant/ThreeD.h> |
| 10221 EOF | 10228 EOF |
| 10222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10223 { (eval echo configure:10224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10225 if test -z "$ac_err"; then | 10232 if test -z "$ac_err"; then |
| 10226 rm -rf conftest* | 10233 rm -rf conftest* |
| 10227 eval "ac_cv_header_$ac_safe=yes" | 10234 eval "ac_cv_header_$ac_safe=yes" |
| 10228 else | 10235 else |
| 10247 fi | 10254 fi |
| 10248 | 10255 |
| 10249 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10256 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 10250 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10257 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10251 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10258 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 10252 echo "configure:10253: checking for X11/Xaw3d/XawInit.h" >&5 | 10259 echo "configure:10260: checking for X11/Xaw3d/XawInit.h" >&5 |
| 10253 | 10260 |
| 10254 cat > conftest.$ac_ext <<EOF | 10261 cat > conftest.$ac_ext <<EOF |
| 10255 #line 10256 "configure" | 10262 #line 10263 "configure" |
| 10256 #include "confdefs.h" | 10263 #include "confdefs.h" |
| 10257 #include <X11/Xaw3d/XawInit.h> | 10264 #include <X11/Xaw3d/XawInit.h> |
| 10258 EOF | 10265 EOF |
| 10259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10260 { (eval echo configure:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10267 { (eval echo configure:10268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10262 if test -z "$ac_err"; then | 10269 if test -z "$ac_err"; then |
| 10263 rm -rf conftest* | 10270 rm -rf conftest* |
| 10264 eval "ac_cv_header_$ac_safe=yes" | 10271 eval "ac_cv_header_$ac_safe=yes" |
| 10265 else | 10272 else |
| 10272 rm -f conftest* | 10279 rm -f conftest* |
| 10273 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10280 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10274 echo "$ac_t""yes" 1>&6 | 10281 echo "$ac_t""yes" 1>&6 |
| 10275 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10282 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10276 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10283 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 10277 echo "configure:10278: checking for X11/Xaw3d/ThreeD.h" >&5 | 10284 echo "configure:10285: checking for X11/Xaw3d/ThreeD.h" >&5 |
| 10278 | 10285 |
| 10279 cat > conftest.$ac_ext <<EOF | 10286 cat > conftest.$ac_ext <<EOF |
| 10280 #line 10281 "configure" | 10287 #line 10288 "configure" |
| 10281 #include "confdefs.h" | 10288 #include "confdefs.h" |
| 10282 #include <X11/Xaw3d/ThreeD.h> | 10289 #include <X11/Xaw3d/ThreeD.h> |
| 10283 EOF | 10290 EOF |
| 10284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10285 { (eval echo configure:10286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10287 if test -z "$ac_err"; then | 10294 if test -z "$ac_err"; then |
| 10288 rm -rf conftest* | 10295 rm -rf conftest* |
| 10289 eval "ac_cv_header_$ac_safe=yes" | 10296 eval "ac_cv_header_$ac_safe=yes" |
| 10290 else | 10297 else |
| 10312 fi | 10319 fi |
| 10313 | 10320 |
| 10314 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10321 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 10315 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10322 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10316 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10323 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 10317 echo "configure:10318: checking for Xaw3d/XawInit.h" >&5 | 10324 echo "configure:10325: checking for Xaw3d/XawInit.h" >&5 |
| 10318 | 10325 |
| 10319 cat > conftest.$ac_ext <<EOF | 10326 cat > conftest.$ac_ext <<EOF |
| 10320 #line 10321 "configure" | 10327 #line 10328 "configure" |
| 10321 #include "confdefs.h" | 10328 #include "confdefs.h" |
| 10322 #include <Xaw3d/XawInit.h> | 10329 #include <Xaw3d/XawInit.h> |
| 10323 EOF | 10330 EOF |
| 10324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10325 { (eval echo configure:10326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10332 { (eval echo configure:10333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10327 if test -z "$ac_err"; then | 10334 if test -z "$ac_err"; then |
| 10328 rm -rf conftest* | 10335 rm -rf conftest* |
| 10329 eval "ac_cv_header_$ac_safe=yes" | 10336 eval "ac_cv_header_$ac_safe=yes" |
| 10330 else | 10337 else |
| 10337 rm -f conftest* | 10344 rm -f conftest* |
| 10338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10345 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10339 echo "$ac_t""yes" 1>&6 | 10346 echo "$ac_t""yes" 1>&6 |
| 10340 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10347 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10341 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10348 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 10342 echo "configure:10343: checking for Xaw3d/ThreeD.h" >&5 | 10349 echo "configure:10350: checking for Xaw3d/ThreeD.h" >&5 |
| 10343 | 10350 |
| 10344 cat > conftest.$ac_ext <<EOF | 10351 cat > conftest.$ac_ext <<EOF |
| 10345 #line 10346 "configure" | 10352 #line 10353 "configure" |
| 10346 #include "confdefs.h" | 10353 #include "confdefs.h" |
| 10347 #include <Xaw3d/ThreeD.h> | 10354 #include <Xaw3d/ThreeD.h> |
| 10348 EOF | 10355 EOF |
| 10349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10350 { (eval echo configure:10351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10357 { (eval echo configure:10358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10352 if test -z "$ac_err"; then | 10359 if test -z "$ac_err"; then |
| 10353 rm -rf conftest* | 10360 rm -rf conftest* |
| 10354 eval "ac_cv_header_$ac_safe=yes" | 10361 eval "ac_cv_header_$ac_safe=yes" |
| 10355 else | 10362 else |
| 10377 fi | 10384 fi |
| 10378 | 10385 |
| 10379 if test -z "$athena_h_path"; then | 10386 if test -z "$athena_h_path"; then |
| 10380 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10387 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10381 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10388 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 10382 echo "configure:10383: checking for X11/Xaw/ThreeD.h" >&5 | 10389 echo "configure:10390: checking for X11/Xaw/ThreeD.h" >&5 |
| 10383 | 10390 |
| 10384 cat > conftest.$ac_ext <<EOF | 10391 cat > conftest.$ac_ext <<EOF |
| 10385 #line 10386 "configure" | 10392 #line 10393 "configure" |
| 10386 #include "confdefs.h" | 10393 #include "confdefs.h" |
| 10387 #include <X11/Xaw/ThreeD.h> | 10394 #include <X11/Xaw/ThreeD.h> |
| 10388 EOF | 10395 EOF |
| 10389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10390 { (eval echo configure:10391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10397 { (eval echo configure:10398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10392 if test -z "$ac_err"; then | 10399 if test -z "$ac_err"; then |
| 10393 rm -rf conftest* | 10400 rm -rf conftest* |
| 10394 eval "ac_cv_header_$ac_safe=yes" | 10401 eval "ac_cv_header_$ac_safe=yes" |
| 10395 else | 10402 else |
| 10424 have_xaw=no | 10431 have_xaw=no |
| 10425 fi | 10432 fi |
| 10426 if test "$with_x11" = "yes"; then | 10433 if test "$with_x11" = "yes"; then |
| 10427 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10434 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 10428 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10435 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 10429 echo "configure:10430: checking for Xm/Xm.h" >&5 | 10436 echo "configure:10437: checking for Xm/Xm.h" >&5 |
| 10430 | 10437 |
| 10431 cat > conftest.$ac_ext <<EOF | 10438 cat > conftest.$ac_ext <<EOF |
| 10432 #line 10433 "configure" | 10439 #line 10440 "configure" |
| 10433 #include "confdefs.h" | 10440 #include "confdefs.h" |
| 10434 #include <Xm/Xm.h> | 10441 #include <Xm/Xm.h> |
| 10435 EOF | 10442 EOF |
| 10436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10437 { (eval echo configure:10438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10444 { (eval echo configure:10445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10439 if test -z "$ac_err"; then | 10446 if test -z "$ac_err"; then |
| 10440 rm -rf conftest* | 10447 rm -rf conftest* |
| 10441 eval "ac_cv_header_$ac_safe=yes" | 10448 eval "ac_cv_header_$ac_safe=yes" |
| 10442 else | 10449 else |
| 10449 rm -f conftest* | 10456 rm -f conftest* |
| 10450 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10457 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10451 echo "$ac_t""yes" 1>&6 | 10458 echo "$ac_t""yes" 1>&6 |
| 10452 | 10459 |
| 10453 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10460 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 10454 echo "configure:10455: checking for XmStringFree in -lXm" >&5 | 10461 echo "configure:10462: checking for XmStringFree in -lXm" >&5 |
| 10455 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10462 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 10456 | 10463 |
| 10457 xe_check_libs=" -lXm " | 10464 xe_check_libs=" -lXm " |
| 10458 cat > conftest.$ac_ext <<EOF | 10465 cat > conftest.$ac_ext <<EOF |
| 10459 #line 10460 "configure" | 10466 #line 10467 "configure" |
| 10460 #include "confdefs.h" | 10467 #include "confdefs.h" |
| 10461 /* Override any gcc2 internal prototype to avoid an error. */ | 10468 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10462 /* We use char because int might match the return type of a gcc2 | 10469 /* We use char because int might match the return type of a gcc2 |
| 10463 builtin and then its argument prototype would still apply. */ | 10470 builtin and then its argument prototype would still apply. */ |
| 10464 char XmStringFree(); | 10471 char XmStringFree(); |
| 10465 | 10472 |
| 10466 int main() { | 10473 int main() { |
| 10467 XmStringFree() | 10474 XmStringFree() |
| 10468 ; return 0; } | 10475 ; return 0; } |
| 10469 EOF | 10476 EOF |
| 10470 if { (eval echo configure:10471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10477 if { (eval echo configure:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10471 rm -rf conftest* | 10478 rm -rf conftest* |
| 10472 eval "ac_cv_lib_$ac_lib_var=yes" | 10479 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10473 else | 10480 else |
| 10474 echo "configure: failed program was:" >&5 | 10481 echo "configure: failed program was:" >&5 |
| 10475 cat conftest.$ac_ext >&5 | 10482 cat conftest.$ac_ext >&5 |
| 10494 fi | 10501 fi |
| 10495 | 10502 |
| 10496 | 10503 |
| 10497 if test "$have_motif" = "yes"; then | 10504 if test "$have_motif" = "yes"; then |
| 10498 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10505 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 10499 echo "configure:10500: checking for Lesstif" >&5 | 10506 echo "configure:10507: checking for Lesstif" >&5 |
| 10500 cat > conftest.$ac_ext <<EOF | 10507 cat > conftest.$ac_ext <<EOF |
| 10501 #line 10502 "configure" | 10508 #line 10509 "configure" |
| 10502 #include "confdefs.h" | 10509 #include "confdefs.h" |
| 10503 #include <Xm/Xm.h> | 10510 #include <Xm/Xm.h> |
| 10504 #ifdef LESSTIF_VERSION | 10511 #ifdef LESSTIF_VERSION |
| 10505 yes | 10512 yes |
| 10506 #endif | 10513 #endif |
| 10869 | 10876 |
| 10870 fi | 10877 fi |
| 10871 | 10878 |
| 10872 if test "$with_mule" = "yes" ; then | 10879 if test "$with_mule" = "yes" ; then |
| 10873 echo "checking for Mule-related features" 1>&6 | 10880 echo "checking for Mule-related features" 1>&6 |
| 10874 echo "configure:10875: checking for Mule-related features" >&5 | 10881 echo "configure:10882: checking for Mule-related features" >&5 |
| 10875 { test "$extra_verbose" = "yes" && cat << \EOF | 10882 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10876 Defining MULE | 10883 Defining MULE |
| 10877 EOF | 10884 EOF |
| 10878 cat >> confdefs.h <<\EOF | 10885 cat >> confdefs.h <<\EOF |
| 10879 #define MULE 1 | 10886 #define MULE 1 |
| 10883 | 10890 |
| 10884 for ac_hdr in libintl.h | 10891 for ac_hdr in libintl.h |
| 10885 do | 10892 do |
| 10886 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10893 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10887 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10894 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10888 echo "configure:10889: checking for $ac_hdr" >&5 | 10895 echo "configure:10896: checking for $ac_hdr" >&5 |
| 10889 | 10896 |
| 10890 cat > conftest.$ac_ext <<EOF | 10897 cat > conftest.$ac_ext <<EOF |
| 10891 #line 10892 "configure" | 10898 #line 10899 "configure" |
| 10892 #include "confdefs.h" | 10899 #include "confdefs.h" |
| 10893 #include <$ac_hdr> | 10900 #include <$ac_hdr> |
| 10894 EOF | 10901 EOF |
| 10895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10896 { (eval echo configure:10897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10903 { (eval echo configure:10904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10904 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10898 if test -z "$ac_err"; then | 10905 if test -z "$ac_err"; then |
| 10899 rm -rf conftest* | 10906 rm -rf conftest* |
| 10900 eval "ac_cv_header_$ac_safe=yes" | 10907 eval "ac_cv_header_$ac_safe=yes" |
| 10901 else | 10908 else |
| 10922 fi | 10929 fi |
| 10923 done | 10930 done |
| 10924 | 10931 |
| 10925 | 10932 |
| 10926 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10933 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 10927 echo "configure:10928: checking for strerror in -lintl" >&5 | 10934 echo "configure:10935: checking for strerror in -lintl" >&5 |
| 10928 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10935 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 10929 | 10936 |
| 10930 xe_check_libs=" -lintl " | 10937 xe_check_libs=" -lintl " |
| 10931 cat > conftest.$ac_ext <<EOF | 10938 cat > conftest.$ac_ext <<EOF |
| 10932 #line 10933 "configure" | 10939 #line 10940 "configure" |
| 10933 #include "confdefs.h" | 10940 #include "confdefs.h" |
| 10934 /* Override any gcc2 internal prototype to avoid an error. */ | 10941 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10935 /* We use char because int might match the return type of a gcc2 | 10942 /* We use char because int might match the return type of a gcc2 |
| 10936 builtin and then its argument prototype would still apply. */ | 10943 builtin and then its argument prototype would still apply. */ |
| 10937 char strerror(); | 10944 char strerror(); |
| 10938 | 10945 |
| 10939 int main() { | 10946 int main() { |
| 10940 strerror() | 10947 strerror() |
| 10941 ; return 0; } | 10948 ; return 0; } |
| 10942 EOF | 10949 EOF |
| 10943 if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10950 if { (eval echo configure:10951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10944 rm -rf conftest* | 10951 rm -rf conftest* |
| 10945 eval "ac_cv_lib_$ac_lib_var=yes" | 10952 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10946 else | 10953 else |
| 10947 echo "configure: failed program was:" >&5 | 10954 echo "configure: failed program was:" >&5 |
| 10948 cat conftest.$ac_ext >&5 | 10955 cat conftest.$ac_ext >&5 |
| 10971 fi | 10978 fi |
| 10972 | 10979 |
| 10973 | 10980 |
| 10974 | 10981 |
| 10975 echo "checking for Mule input methods" 1>&6 | 10982 echo "checking for Mule input methods" 1>&6 |
| 10976 echo "configure:10977: checking for Mule input methods" >&5 | 10983 echo "configure:10984: checking for Mule input methods" >&5 |
| 10977 case "$with_xim" in "" | "yes" ) | 10984 case "$with_xim" in "" | "yes" ) |
| 10978 echo "checking for XIM" 1>&6 | 10985 echo "checking for XIM" 1>&6 |
| 10979 echo "configure:10980: checking for XIM" >&5 | 10986 echo "configure:10987: checking for XIM" >&5 |
| 10980 | 10987 |
| 10981 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10988 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 10982 echo "configure:10983: checking for XOpenIM in -lX11" >&5 | 10989 echo "configure:10990: checking for XOpenIM in -lX11" >&5 |
| 10983 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10990 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
| 10984 | 10991 |
| 10985 xe_check_libs=" -lX11 " | 10992 xe_check_libs=" -lX11 " |
| 10986 cat > conftest.$ac_ext <<EOF | 10993 cat > conftest.$ac_ext <<EOF |
| 10987 #line 10988 "configure" | 10994 #line 10995 "configure" |
| 10988 #include "confdefs.h" | 10995 #include "confdefs.h" |
| 10989 /* Override any gcc2 internal prototype to avoid an error. */ | 10996 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10990 /* We use char because int might match the return type of a gcc2 | 10997 /* We use char because int might match the return type of a gcc2 |
| 10991 builtin and then its argument prototype would still apply. */ | 10998 builtin and then its argument prototype would still apply. */ |
| 10992 char XOpenIM(); | 10999 char XOpenIM(); |
| 10993 | 11000 |
| 10994 int main() { | 11001 int main() { |
| 10995 XOpenIM() | 11002 XOpenIM() |
| 10996 ; return 0; } | 11003 ; return 0; } |
| 10997 EOF | 11004 EOF |
| 10998 if { (eval echo configure:10999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11005 if { (eval echo configure:11006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10999 rm -rf conftest* | 11006 rm -rf conftest* |
| 11000 eval "ac_cv_lib_$ac_lib_var=yes" | 11007 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11001 else | 11008 else |
| 11002 echo "configure: failed program was:" >&5 | 11009 echo "configure: failed program was:" >&5 |
| 11003 cat conftest.$ac_ext >&5 | 11010 cat conftest.$ac_ext >&5 |
| 11017 | 11024 |
| 11018 | 11025 |
| 11019 if test "$have_motif $have_lesstif" = "yes no"; then | 11026 if test "$have_motif $have_lesstif" = "yes no"; then |
| 11020 | 11027 |
| 11021 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11028 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 11022 echo "configure:11023: checking for XmImMbLookupString in -lXm" >&5 | 11029 echo "configure:11030: checking for XmImMbLookupString in -lXm" >&5 |
| 11023 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11030 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 11024 | 11031 |
| 11025 xe_check_libs=" -lXm " | 11032 xe_check_libs=" -lXm " |
| 11026 cat > conftest.$ac_ext <<EOF | 11033 cat > conftest.$ac_ext <<EOF |
| 11027 #line 11028 "configure" | 11034 #line 11035 "configure" |
| 11028 #include "confdefs.h" | 11035 #include "confdefs.h" |
| 11029 /* Override any gcc2 internal prototype to avoid an error. */ | 11036 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11030 /* We use char because int might match the return type of a gcc2 | 11037 /* We use char because int might match the return type of a gcc2 |
| 11031 builtin and then its argument prototype would still apply. */ | 11038 builtin and then its argument prototype would still apply. */ |
| 11032 char XmImMbLookupString(); | 11039 char XmImMbLookupString(); |
| 11033 | 11040 |
| 11034 int main() { | 11041 int main() { |
| 11035 XmImMbLookupString() | 11042 XmImMbLookupString() |
| 11036 ; return 0; } | 11043 ; return 0; } |
| 11037 EOF | 11044 EOF |
| 11038 if { (eval echo configure:11039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11045 if { (eval echo configure:11046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11039 rm -rf conftest* | 11046 rm -rf conftest* |
| 11040 eval "ac_cv_lib_$ac_lib_var=yes" | 11047 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11041 else | 11048 else |
| 11042 echo "configure: failed program was:" >&5 | 11049 echo "configure: failed program was:" >&5 |
| 11043 cat conftest.$ac_ext >&5 | 11050 cat conftest.$ac_ext >&5 |
| 11098 fi | 11105 fi |
| 11099 fi | 11106 fi |
| 11100 | 11107 |
| 11101 if test "$with_xfs" = "yes" ; then | 11108 if test "$with_xfs" = "yes" ; then |
| 11102 echo "checking for XFontSet" 1>&6 | 11109 echo "checking for XFontSet" 1>&6 |
| 11103 echo "configure:11104: checking for XFontSet" >&5 | 11110 echo "configure:11111: checking for XFontSet" >&5 |
| 11104 | 11111 |
| 11105 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11112 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 11106 echo "configure:11107: checking for XmbDrawString in -lX11" >&5 | 11113 echo "configure:11114: checking for XmbDrawString in -lX11" >&5 |
| 11107 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11114 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 11108 | 11115 |
| 11109 xe_check_libs=" -lX11 " | 11116 xe_check_libs=" -lX11 " |
| 11110 cat > conftest.$ac_ext <<EOF | 11117 cat > conftest.$ac_ext <<EOF |
| 11111 #line 11112 "configure" | 11118 #line 11119 "configure" |
| 11112 #include "confdefs.h" | 11119 #include "confdefs.h" |
| 11113 /* Override any gcc2 internal prototype to avoid an error. */ | 11120 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11114 /* We use char because int might match the return type of a gcc2 | 11121 /* We use char because int might match the return type of a gcc2 |
| 11115 builtin and then its argument prototype would still apply. */ | 11122 builtin and then its argument prototype would still apply. */ |
| 11116 char XmbDrawString(); | 11123 char XmbDrawString(); |
| 11117 | 11124 |
| 11118 int main() { | 11125 int main() { |
| 11119 XmbDrawString() | 11126 XmbDrawString() |
| 11120 ; return 0; } | 11127 ; return 0; } |
| 11121 EOF | 11128 EOF |
| 11122 if { (eval echo configure:11123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11129 if { (eval echo configure:11130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11123 rm -rf conftest* | 11130 rm -rf conftest* |
| 11124 eval "ac_cv_lib_$ac_lib_var=yes" | 11131 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11125 else | 11132 else |
| 11126 echo "configure: failed program was:" >&5 | 11133 echo "configure: failed program was:" >&5 |
| 11127 cat conftest.$ac_ext >&5 | 11134 cat conftest.$ac_ext >&5 |
| 11157 fi | 11164 fi |
| 11158 fi | 11165 fi |
| 11159 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11166 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 11160 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11167 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 11161 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11168 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 11162 echo "configure:11163: checking for wnn/jllib.h" >&5 | 11169 echo "configure:11170: checking for wnn/jllib.h" >&5 |
| 11163 | 11170 |
| 11164 cat > conftest.$ac_ext <<EOF | 11171 cat > conftest.$ac_ext <<EOF |
| 11165 #line 11166 "configure" | 11172 #line 11173 "configure" |
| 11166 #include "confdefs.h" | 11173 #include "confdefs.h" |
| 11167 #include <wnn/jllib.h> | 11174 #include <wnn/jllib.h> |
| 11168 EOF | 11175 EOF |
| 11169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11170 { (eval echo configure:11171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11177 { (eval echo configure:11178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11172 if test -z "$ac_err"; then | 11179 if test -z "$ac_err"; then |
| 11173 rm -rf conftest* | 11180 rm -rf conftest* |
| 11174 eval "ac_cv_header_$ac_safe=yes" | 11181 eval "ac_cv_header_$ac_safe=yes" |
| 11175 else | 11182 else |
| 11188 with_wnn=no | 11195 with_wnn=no |
| 11189 fi | 11196 fi |
| 11190 } | 11197 } |
| 11191 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11198 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
| 11192 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11199 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
| 11193 echo "configure:11194: checking for wnn/commonhd.h" >&5 | 11200 echo "configure:11201: checking for wnn/commonhd.h" >&5 |
| 11194 | 11201 |
| 11195 cat > conftest.$ac_ext <<EOF | 11202 cat > conftest.$ac_ext <<EOF |
| 11196 #line 11197 "configure" | 11203 #line 11204 "configure" |
| 11197 #include "confdefs.h" | 11204 #include "confdefs.h" |
| 11198 #include <wnn/commonhd.h> | 11205 #include <wnn/commonhd.h> |
| 11199 EOF | 11206 EOF |
| 11200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11207 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11201 { (eval echo configure:11202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11208 { (eval echo configure:11209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11209 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11203 if test -z "$ac_err"; then | 11210 if test -z "$ac_err"; then |
| 11204 rm -rf conftest* | 11211 rm -rf conftest* |
| 11205 eval "ac_cv_header_$ac_safe=yes" | 11212 eval "ac_cv_header_$ac_safe=yes" |
| 11206 else | 11213 else |
| 11221 } | 11228 } |
| 11222 if test "$with_wnn" != "no"; then | 11229 if test "$with_wnn" != "no"; then |
| 11223 for ac_func in crypt | 11230 for ac_func in crypt |
| 11224 do | 11231 do |
| 11225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11226 echo "configure:11227: checking for $ac_func" >&5 | 11233 echo "configure:11234: checking for $ac_func" >&5 |
| 11227 | 11234 |
| 11228 cat > conftest.$ac_ext <<EOF | 11235 cat > conftest.$ac_ext <<EOF |
| 11229 #line 11230 "configure" | 11236 #line 11237 "configure" |
| 11230 #include "confdefs.h" | 11237 #include "confdefs.h" |
| 11231 /* System header to define __stub macros and hopefully few prototypes, | 11238 /* System header to define __stub macros and hopefully few prototypes, |
| 11232 which can conflict with char $ac_func(); below. */ | 11239 which can conflict with char $ac_func(); below. */ |
| 11233 #include <assert.h> | 11240 #include <assert.h> |
| 11234 /* Override any gcc2 internal prototype to avoid an error. */ | 11241 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11247 $ac_func(); | 11254 $ac_func(); |
| 11248 #endif | 11255 #endif |
| 11249 | 11256 |
| 11250 ; return 0; } | 11257 ; return 0; } |
| 11251 EOF | 11258 EOF |
| 11252 if { (eval echo configure:11253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11253 rm -rf conftest* | 11260 rm -rf conftest* |
| 11254 eval "ac_cv_func_$ac_func=yes" | 11261 eval "ac_cv_func_$ac_func=yes" |
| 11255 else | 11262 else |
| 11256 echo "configure: failed program was:" >&5 | 11263 echo "configure: failed program was:" >&5 |
| 11257 cat conftest.$ac_ext >&5 | 11264 cat conftest.$ac_ext >&5 |
| 11276 fi | 11283 fi |
| 11277 done | 11284 done |
| 11278 | 11285 |
| 11279 test "$ac_cv_func_crypt" != "yes" && { | 11286 test "$ac_cv_func_crypt" != "yes" && { |
| 11280 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11287 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 11281 echo "configure:11282: checking for crypt in -lcrypt" >&5 | 11288 echo "configure:11289: checking for crypt in -lcrypt" >&5 |
| 11282 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11289 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 11283 | 11290 |
| 11284 xe_check_libs=" -lcrypt " | 11291 xe_check_libs=" -lcrypt " |
| 11285 cat > conftest.$ac_ext <<EOF | 11292 cat > conftest.$ac_ext <<EOF |
| 11286 #line 11287 "configure" | 11293 #line 11294 "configure" |
| 11287 #include "confdefs.h" | 11294 #include "confdefs.h" |
| 11288 /* Override any gcc2 internal prototype to avoid an error. */ | 11295 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11289 /* We use char because int might match the return type of a gcc2 | 11296 /* We use char because int might match the return type of a gcc2 |
| 11290 builtin and then its argument prototype would still apply. */ | 11297 builtin and then its argument prototype would still apply. */ |
| 11291 char crypt(); | 11298 char crypt(); |
| 11292 | 11299 |
| 11293 int main() { | 11300 int main() { |
| 11294 crypt() | 11301 crypt() |
| 11295 ; return 0; } | 11302 ; return 0; } |
| 11296 EOF | 11303 EOF |
| 11297 if { (eval echo configure:11298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11304 if { (eval echo configure:11305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11298 rm -rf conftest* | 11305 rm -rf conftest* |
| 11299 eval "ac_cv_lib_$ac_lib_var=yes" | 11306 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11300 else | 11307 else |
| 11301 echo "configure: failed program was:" >&5 | 11308 echo "configure: failed program was:" >&5 |
| 11302 cat conftest.$ac_ext >&5 | 11309 cat conftest.$ac_ext >&5 |
| 11327 } | 11334 } |
| 11328 fi | 11335 fi |
| 11329 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11336 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 11330 | 11337 |
| 11331 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11338 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 11332 echo "configure:11333: checking for jl_dic_list_e in -lwnn" >&5 | 11339 echo "configure:11340: checking for jl_dic_list_e in -lwnn" >&5 |
| 11333 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11340 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 11334 | 11341 |
| 11335 xe_check_libs=" -lwnn " | 11342 xe_check_libs=" -lwnn " |
| 11336 cat > conftest.$ac_ext <<EOF | 11343 cat > conftest.$ac_ext <<EOF |
| 11337 #line 11338 "configure" | 11344 #line 11345 "configure" |
| 11338 #include "confdefs.h" | 11345 #include "confdefs.h" |
| 11339 /* Override any gcc2 internal prototype to avoid an error. */ | 11346 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11340 /* We use char because int might match the return type of a gcc2 | 11347 /* We use char because int might match the return type of a gcc2 |
| 11341 builtin and then its argument prototype would still apply. */ | 11348 builtin and then its argument prototype would still apply. */ |
| 11342 char jl_dic_list_e(); | 11349 char jl_dic_list_e(); |
| 11343 | 11350 |
| 11344 int main() { | 11351 int main() { |
| 11345 jl_dic_list_e() | 11352 jl_dic_list_e() |
| 11346 ; return 0; } | 11353 ; return 0; } |
| 11347 EOF | 11354 EOF |
| 11348 if { (eval echo configure:11349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11355 if { (eval echo configure:11356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11349 rm -rf conftest* | 11356 rm -rf conftest* |
| 11350 eval "ac_cv_lib_$ac_lib_var=yes" | 11357 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11351 else | 11358 else |
| 11352 echo "configure: failed program was:" >&5 | 11359 echo "configure: failed program was:" >&5 |
| 11353 cat conftest.$ac_ext >&5 | 11360 cat conftest.$ac_ext >&5 |
| 11361 echo "$ac_t""yes" 1>&6 | 11368 echo "$ac_t""yes" 1>&6 |
| 11362 libwnn=wnn | 11369 libwnn=wnn |
| 11363 else | 11370 else |
| 11364 echo "$ac_t""no" 1>&6 | 11371 echo "$ac_t""no" 1>&6 |
| 11365 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11372 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 11366 echo "configure:11367: checking for jl_dic_list_e in -lwnn4" >&5 | 11373 echo "configure:11374: checking for jl_dic_list_e in -lwnn4" >&5 |
| 11367 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11374 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 11368 | 11375 |
| 11369 xe_check_libs=" -lwnn4 " | 11376 xe_check_libs=" -lwnn4 " |
| 11370 cat > conftest.$ac_ext <<EOF | 11377 cat > conftest.$ac_ext <<EOF |
| 11371 #line 11372 "configure" | 11378 #line 11379 "configure" |
| 11372 #include "confdefs.h" | 11379 #include "confdefs.h" |
| 11373 /* Override any gcc2 internal prototype to avoid an error. */ | 11380 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11374 /* We use char because int might match the return type of a gcc2 | 11381 /* We use char because int might match the return type of a gcc2 |
| 11375 builtin and then its argument prototype would still apply. */ | 11382 builtin and then its argument prototype would still apply. */ |
| 11376 char jl_dic_list_e(); | 11383 char jl_dic_list_e(); |
| 11377 | 11384 |
| 11378 int main() { | 11385 int main() { |
| 11379 jl_dic_list_e() | 11386 jl_dic_list_e() |
| 11380 ; return 0; } | 11387 ; return 0; } |
| 11381 EOF | 11388 EOF |
| 11382 if { (eval echo configure:11383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11389 if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11383 rm -rf conftest* | 11390 rm -rf conftest* |
| 11384 eval "ac_cv_lib_$ac_lib_var=yes" | 11391 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11385 else | 11392 else |
| 11386 echo "configure: failed program was:" >&5 | 11393 echo "configure: failed program was:" >&5 |
| 11387 cat conftest.$ac_ext >&5 | 11394 cat conftest.$ac_ext >&5 |
| 11395 echo "$ac_t""yes" 1>&6 | 11402 echo "$ac_t""yes" 1>&6 |
| 11396 libwnn=wnn4 | 11403 libwnn=wnn4 |
| 11397 else | 11404 else |
| 11398 echo "$ac_t""no" 1>&6 | 11405 echo "$ac_t""no" 1>&6 |
| 11399 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11406 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 11400 echo "configure:11401: checking for jl_dic_list_e in -lwnn6" >&5 | 11407 echo "configure:11408: checking for jl_dic_list_e in -lwnn6" >&5 |
| 11401 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11408 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 11402 | 11409 |
| 11403 xe_check_libs=" -lwnn6 " | 11410 xe_check_libs=" -lwnn6 " |
| 11404 cat > conftest.$ac_ext <<EOF | 11411 cat > conftest.$ac_ext <<EOF |
| 11405 #line 11406 "configure" | 11412 #line 11413 "configure" |
| 11406 #include "confdefs.h" | 11413 #include "confdefs.h" |
| 11407 /* Override any gcc2 internal prototype to avoid an error. */ | 11414 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11408 /* We use char because int might match the return type of a gcc2 | 11415 /* We use char because int might match the return type of a gcc2 |
| 11409 builtin and then its argument prototype would still apply. */ | 11416 builtin and then its argument prototype would still apply. */ |
| 11410 char jl_dic_list_e(); | 11417 char jl_dic_list_e(); |
| 11411 | 11418 |
| 11412 int main() { | 11419 int main() { |
| 11413 jl_dic_list_e() | 11420 jl_dic_list_e() |
| 11414 ; return 0; } | 11421 ; return 0; } |
| 11415 EOF | 11422 EOF |
| 11416 if { (eval echo configure:11417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11423 if { (eval echo configure:11424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11417 rm -rf conftest* | 11424 rm -rf conftest* |
| 11418 eval "ac_cv_lib_$ac_lib_var=yes" | 11425 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11419 else | 11426 else |
| 11420 echo "configure: failed program was:" >&5 | 11427 echo "configure: failed program was:" >&5 |
| 11421 cat conftest.$ac_ext >&5 | 11428 cat conftest.$ac_ext >&5 |
| 11429 echo "$ac_t""yes" 1>&6 | 11436 echo "$ac_t""yes" 1>&6 |
| 11430 libwnn=wnn6 | 11437 libwnn=wnn6 |
| 11431 else | 11438 else |
| 11432 echo "$ac_t""no" 1>&6 | 11439 echo "$ac_t""no" 1>&6 |
| 11433 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11440 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 11434 echo "configure:11435: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11441 echo "configure:11442: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 11435 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11442 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 11436 | 11443 |
| 11437 xe_check_libs=" -lwnn6_fromsrc " | 11444 xe_check_libs=" -lwnn6_fromsrc " |
| 11438 cat > conftest.$ac_ext <<EOF | 11445 cat > conftest.$ac_ext <<EOF |
| 11439 #line 11440 "configure" | 11446 #line 11447 "configure" |
| 11440 #include "confdefs.h" | 11447 #include "confdefs.h" |
| 11441 /* Override any gcc2 internal prototype to avoid an error. */ | 11448 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11442 /* We use char because int might match the return type of a gcc2 | 11449 /* We use char because int might match the return type of a gcc2 |
| 11443 builtin and then its argument prototype would still apply. */ | 11450 builtin and then its argument prototype would still apply. */ |
| 11444 char dic_list_e(); | 11451 char dic_list_e(); |
| 11445 | 11452 |
| 11446 int main() { | 11453 int main() { |
| 11447 dic_list_e() | 11454 dic_list_e() |
| 11448 ; return 0; } | 11455 ; return 0; } |
| 11449 EOF | 11456 EOF |
| 11450 if { (eval echo configure:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11457 if { (eval echo configure:11458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11451 rm -rf conftest* | 11458 rm -rf conftest* |
| 11452 eval "ac_cv_lib_$ac_lib_var=yes" | 11459 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11453 else | 11460 else |
| 11454 echo "configure: failed program was:" >&5 | 11461 echo "configure: failed program was:" >&5 |
| 11455 cat conftest.$ac_ext >&5 | 11462 cat conftest.$ac_ext >&5 |
| 11490 | 11497 |
| 11491 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11498 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
| 11492 if test "$with_wnn6" != "no"; then | 11499 if test "$with_wnn6" != "no"; then |
| 11493 | 11500 |
| 11494 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11501 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 11495 echo "configure:11496: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11502 echo "configure:11503: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 11496 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11503 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 11497 | 11504 |
| 11498 xe_check_libs=" -l$libwnn " | 11505 xe_check_libs=" -l$libwnn " |
| 11499 cat > conftest.$ac_ext <<EOF | 11506 cat > conftest.$ac_ext <<EOF |
| 11500 #line 11501 "configure" | 11507 #line 11508 "configure" |
| 11501 #include "confdefs.h" | 11508 #include "confdefs.h" |
| 11502 /* Override any gcc2 internal prototype to avoid an error. */ | 11509 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11503 /* We use char because int might match the return type of a gcc2 | 11510 /* We use char because int might match the return type of a gcc2 |
| 11504 builtin and then its argument prototype would still apply. */ | 11511 builtin and then its argument prototype would still apply. */ |
| 11505 char jl_fi_dic_list(); | 11512 char jl_fi_dic_list(); |
| 11506 | 11513 |
| 11507 int main() { | 11514 int main() { |
| 11508 jl_fi_dic_list() | 11515 jl_fi_dic_list() |
| 11509 ; return 0; } | 11516 ; return 0; } |
| 11510 EOF | 11517 EOF |
| 11511 if { (eval echo configure:11512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11518 if { (eval echo configure:11519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11512 rm -rf conftest* | 11519 rm -rf conftest* |
| 11513 eval "ac_cv_lib_$ac_lib_var=yes" | 11520 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11514 else | 11521 else |
| 11515 echo "configure: failed program was:" >&5 | 11522 echo "configure: failed program was:" >&5 |
| 11516 cat conftest.$ac_ext >&5 | 11523 cat conftest.$ac_ext >&5 |
| 11541 | 11548 |
| 11542 canna_includes_found=no | 11549 canna_includes_found=no |
| 11543 if test "$with_canna" != "no"; then | 11550 if test "$with_canna" != "no"; then |
| 11544 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11551 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 11545 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11552 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 11546 echo "configure:11547: checking for canna/jrkanji.h" >&5 | 11553 echo "configure:11554: checking for canna/jrkanji.h" >&5 |
| 11547 | 11554 |
| 11548 cat > conftest.$ac_ext <<EOF | 11555 cat > conftest.$ac_ext <<EOF |
| 11549 #line 11550 "configure" | 11556 #line 11557 "configure" |
| 11550 #include "confdefs.h" | 11557 #include "confdefs.h" |
| 11551 #include <canna/jrkanji.h> | 11558 #include <canna/jrkanji.h> |
| 11552 EOF | 11559 EOF |
| 11553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11554 { (eval echo configure:11555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11561 { (eval echo configure:11562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11556 if test -z "$ac_err"; then | 11563 if test -z "$ac_err"; then |
| 11557 rm -rf conftest* | 11564 rm -rf conftest* |
| 11558 eval "ac_cv_header_$ac_safe=yes" | 11565 eval "ac_cv_header_$ac_safe=yes" |
| 11559 else | 11566 else |
| 11576 -d "/usr/local/canna/include"; then | 11583 -d "/usr/local/canna/include"; then |
| 11577 save_c_switch_site="$c_switch_site" | 11584 save_c_switch_site="$c_switch_site" |
| 11578 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11585 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 11579 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11586 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 11580 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11587 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 11581 echo "configure:11582: checking for canna/jrkanji.h" >&5 | 11588 echo "configure:11589: checking for canna/jrkanji.h" >&5 |
| 11582 | 11589 |
| 11583 cat > conftest.$ac_ext <<EOF | 11590 cat > conftest.$ac_ext <<EOF |
| 11584 #line 11585 "configure" | 11591 #line 11592 "configure" |
| 11585 #include "confdefs.h" | 11592 #include "confdefs.h" |
| 11586 #include <canna/jrkanji.h> | 11593 #include <canna/jrkanji.h> |
| 11587 EOF | 11594 EOF |
| 11588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11589 { (eval echo configure:11590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11596 { (eval echo configure:11597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11591 if test -z "$ac_err"; then | 11598 if test -z "$ac_err"; then |
| 11592 rm -rf conftest* | 11599 rm -rf conftest* |
| 11593 eval "ac_cv_header_$ac_safe=yes" | 11600 eval "ac_cv_header_$ac_safe=yes" |
| 11594 else | 11601 else |
| 11612 fi | 11619 fi |
| 11613 fi | 11620 fi |
| 11614 | 11621 |
| 11615 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11622 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 11616 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11623 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 11617 echo "configure:11618: checking for canna/RK.h" >&5 | 11624 echo "configure:11625: checking for canna/RK.h" >&5 |
| 11618 | 11625 |
| 11619 cat > conftest.$ac_ext <<EOF | 11626 cat > conftest.$ac_ext <<EOF |
| 11620 #line 11621 "configure" | 11627 #line 11628 "configure" |
| 11621 #include "confdefs.h" | 11628 #include "confdefs.h" |
| 11622 #include <canna/RK.h> | 11629 #include <canna/RK.h> |
| 11623 EOF | 11630 EOF |
| 11624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11625 { (eval echo configure:11626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11632 { (eval echo configure:11633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11627 if test -z "$ac_err"; then | 11634 if test -z "$ac_err"; then |
| 11628 rm -rf conftest* | 11635 rm -rf conftest* |
| 11629 eval "ac_cv_header_$ac_safe=yes" | 11636 eval "ac_cv_header_$ac_safe=yes" |
| 11630 else | 11637 else |
| 11643 with_canna=no | 11650 with_canna=no |
| 11644 fi | 11651 fi |
| 11645 } | 11652 } |
| 11646 test -z "$with_canna" && { | 11653 test -z "$with_canna" && { |
| 11647 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11654 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 11648 echo "configure:11649: checking for RkBgnBun in -lRKC" >&5 | 11655 echo "configure:11656: checking for RkBgnBun in -lRKC" >&5 |
| 11649 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11656 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 11650 | 11657 |
| 11651 xe_check_libs=" -lRKC " | 11658 xe_check_libs=" -lRKC " |
| 11652 cat > conftest.$ac_ext <<EOF | 11659 cat > conftest.$ac_ext <<EOF |
| 11653 #line 11654 "configure" | 11660 #line 11661 "configure" |
| 11654 #include "confdefs.h" | 11661 #include "confdefs.h" |
| 11655 /* Override any gcc2 internal prototype to avoid an error. */ | 11662 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11656 /* We use char because int might match the return type of a gcc2 | 11663 /* We use char because int might match the return type of a gcc2 |
| 11657 builtin and then its argument prototype would still apply. */ | 11664 builtin and then its argument prototype would still apply. */ |
| 11658 char RkBgnBun(); | 11665 char RkBgnBun(); |
| 11659 | 11666 |
| 11660 int main() { | 11667 int main() { |
| 11661 RkBgnBun() | 11668 RkBgnBun() |
| 11662 ; return 0; } | 11669 ; return 0; } |
| 11663 EOF | 11670 EOF |
| 11664 if { (eval echo configure:11665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11671 if { (eval echo configure:11672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11665 rm -rf conftest* | 11672 rm -rf conftest* |
| 11666 eval "ac_cv_lib_$ac_lib_var=yes" | 11673 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11667 else | 11674 else |
| 11668 echo "configure: failed program was:" >&5 | 11675 echo "configure: failed program was:" >&5 |
| 11669 cat conftest.$ac_ext >&5 | 11676 cat conftest.$ac_ext >&5 |
| 11682 fi | 11689 fi |
| 11683 | 11690 |
| 11684 } | 11691 } |
| 11685 test -z "$with_canna" && { | 11692 test -z "$with_canna" && { |
| 11686 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11693 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 11687 echo "configure:11688: checking for jrKanjiControl in -lcanna" >&5 | 11694 echo "configure:11695: checking for jrKanjiControl in -lcanna" >&5 |
| 11688 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11695 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 11689 | 11696 |
| 11690 xe_check_libs=" -lcanna " | 11697 xe_check_libs=" -lcanna " |
| 11691 cat > conftest.$ac_ext <<EOF | 11698 cat > conftest.$ac_ext <<EOF |
| 11692 #line 11693 "configure" | 11699 #line 11700 "configure" |
| 11693 #include "confdefs.h" | 11700 #include "confdefs.h" |
| 11694 /* Override any gcc2 internal prototype to avoid an error. */ | 11701 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11695 /* We use char because int might match the return type of a gcc2 | 11702 /* We use char because int might match the return type of a gcc2 |
| 11696 builtin and then its argument prototype would still apply. */ | 11703 builtin and then its argument prototype would still apply. */ |
| 11697 char jrKanjiControl(); | 11704 char jrKanjiControl(); |
| 11698 | 11705 |
| 11699 int main() { | 11706 int main() { |
| 11700 jrKanjiControl() | 11707 jrKanjiControl() |
| 11701 ; return 0; } | 11708 ; return 0; } |
| 11702 EOF | 11709 EOF |
| 11703 if { (eval echo configure:11704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11710 if { (eval echo configure:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11704 rm -rf conftest* | 11711 rm -rf conftest* |
| 11705 eval "ac_cv_lib_$ac_lib_var=yes" | 11712 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11706 else | 11713 else |
| 11707 echo "configure: failed program was:" >&5 | 11714 echo "configure: failed program was:" >&5 |
| 11708 cat conftest.$ac_ext >&5 | 11715 cat conftest.$ac_ext >&5 |
| 11744 | 11751 |
| 11745 if test "$need_motif" = "yes" ; then | 11752 if test "$need_motif" = "yes" ; then |
| 11746 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11753 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 11747 | 11754 |
| 11748 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11755 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 11749 echo "configure:11750: checking for layout_object_getvalue in -li18n" >&5 | 11756 echo "configure:11757: checking for layout_object_getvalue in -li18n" >&5 |
| 11750 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11757 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 11751 | 11758 |
| 11752 xe_check_libs=" -li18n " | 11759 xe_check_libs=" -li18n " |
| 11753 cat > conftest.$ac_ext <<EOF | 11760 cat > conftest.$ac_ext <<EOF |
| 11754 #line 11755 "configure" | 11761 #line 11762 "configure" |
| 11755 #include "confdefs.h" | 11762 #include "confdefs.h" |
| 11756 /* Override any gcc2 internal prototype to avoid an error. */ | 11763 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11757 /* We use char because int might match the return type of a gcc2 | 11764 /* We use char because int might match the return type of a gcc2 |
| 11758 builtin and then its argument prototype would still apply. */ | 11765 builtin and then its argument prototype would still apply. */ |
| 11759 char layout_object_getvalue(); | 11766 char layout_object_getvalue(); |
| 11760 | 11767 |
| 11761 int main() { | 11768 int main() { |
| 11762 layout_object_getvalue() | 11769 layout_object_getvalue() |
| 11763 ; return 0; } | 11770 ; return 0; } |
| 11764 EOF | 11771 EOF |
| 11765 if { (eval echo configure:11766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11772 if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11766 rm -rf conftest* | 11773 rm -rf conftest* |
| 11767 eval "ac_cv_lib_$ac_lib_var=yes" | 11774 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11768 else | 11775 else |
| 11769 echo "configure: failed program was:" >&5 | 11776 echo "configure: failed program was:" >&5 |
| 11770 cat conftest.$ac_ext >&5 | 11777 cat conftest.$ac_ext >&5 |
| 11847 | 11854 |
| 11848 | 11855 |
| 11849 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 strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11856 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 strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
| 11850 do | 11857 do |
| 11851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11852 echo "configure:11853: checking for $ac_func" >&5 | 11859 echo "configure:11860: checking for $ac_func" >&5 |
| 11853 | 11860 |
| 11854 cat > conftest.$ac_ext <<EOF | 11861 cat > conftest.$ac_ext <<EOF |
| 11855 #line 11856 "configure" | 11862 #line 11863 "configure" |
| 11856 #include "confdefs.h" | 11863 #include "confdefs.h" |
| 11857 /* System header to define __stub macros and hopefully few prototypes, | 11864 /* System header to define __stub macros and hopefully few prototypes, |
| 11858 which can conflict with char $ac_func(); below. */ | 11865 which can conflict with char $ac_func(); below. */ |
| 11859 #include <assert.h> | 11866 #include <assert.h> |
| 11860 /* Override any gcc2 internal prototype to avoid an error. */ | 11867 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11873 $ac_func(); | 11880 $ac_func(); |
| 11874 #endif | 11881 #endif |
| 11875 | 11882 |
| 11876 ; return 0; } | 11883 ; return 0; } |
| 11877 EOF | 11884 EOF |
| 11878 if { (eval echo configure:11879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11885 if { (eval echo configure:11886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11879 rm -rf conftest* | 11886 rm -rf conftest* |
| 11880 eval "ac_cv_func_$ac_func=yes" | 11887 eval "ac_cv_func_$ac_func=yes" |
| 11881 else | 11888 else |
| 11882 echo "configure: failed program was:" >&5 | 11889 echo "configure: failed program was:" >&5 |
| 11883 cat conftest.$ac_ext >&5 | 11890 cat conftest.$ac_ext >&5 |
| 11914 | 11921 |
| 11915 | 11922 |
| 11916 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11923 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
| 11917 do | 11924 do |
| 11918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11919 echo "configure:11920: checking for $ac_func" >&5 | 11926 echo "configure:11927: checking for $ac_func" >&5 |
| 11920 | 11927 |
| 11921 cat > conftest.$ac_ext <<EOF | 11928 cat > conftest.$ac_ext <<EOF |
| 11922 #line 11923 "configure" | 11929 #line 11930 "configure" |
| 11923 #include "confdefs.h" | 11930 #include "confdefs.h" |
| 11924 /* System header to define __stub macros and hopefully few prototypes, | 11931 /* System header to define __stub macros and hopefully few prototypes, |
| 11925 which can conflict with char $ac_func(); below. */ | 11932 which can conflict with char $ac_func(); below. */ |
| 11926 #include <assert.h> | 11933 #include <assert.h> |
| 11927 /* Override any gcc2 internal prototype to avoid an error. */ | 11934 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11940 $ac_func(); | 11947 $ac_func(); |
| 11941 #endif | 11948 #endif |
| 11942 | 11949 |
| 11943 ; return 0; } | 11950 ; return 0; } |
| 11944 EOF | 11951 EOF |
| 11945 if { (eval echo configure:11946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11952 if { (eval echo configure:11953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11946 rm -rf conftest* | 11953 rm -rf conftest* |
| 11947 eval "ac_cv_func_$ac_func=yes" | 11954 eval "ac_cv_func_$ac_func=yes" |
| 11948 else | 11955 else |
| 11949 echo "configure: failed program was:" >&5 | 11956 echo "configure: failed program was:" >&5 |
| 11950 cat conftest.$ac_ext >&5 | 11957 cat conftest.$ac_ext >&5 |
| 11969 fi | 11976 fi |
| 11970 done | 11977 done |
| 11971 | 11978 |
| 11972 | 11979 |
| 11973 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11980 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
| 11974 echo "configure:11975: checking for openpty" >&5 | 11981 echo "configure:11982: checking for openpty" >&5 |
| 11975 | 11982 |
| 11976 cat > conftest.$ac_ext <<EOF | 11983 cat > conftest.$ac_ext <<EOF |
| 11977 #line 11978 "configure" | 11984 #line 11985 "configure" |
| 11978 #include "confdefs.h" | 11985 #include "confdefs.h" |
| 11979 /* System header to define __stub macros and hopefully few prototypes, | 11986 /* System header to define __stub macros and hopefully few prototypes, |
| 11980 which can conflict with char openpty(); below. */ | 11987 which can conflict with char openpty(); below. */ |
| 11981 #include <assert.h> | 11988 #include <assert.h> |
| 11982 /* Override any gcc2 internal prototype to avoid an error. */ | 11989 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11995 openpty(); | 12002 openpty(); |
| 11996 #endif | 12003 #endif |
| 11997 | 12004 |
| 11998 ; return 0; } | 12005 ; return 0; } |
| 11999 EOF | 12006 EOF |
| 12000 if { (eval echo configure:12001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12007 if { (eval echo configure:12008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12001 rm -rf conftest* | 12008 rm -rf conftest* |
| 12002 eval "ac_cv_func_openpty=yes" | 12009 eval "ac_cv_func_openpty=yes" |
| 12003 else | 12010 else |
| 12004 echo "configure: failed program was:" >&5 | 12011 echo "configure: failed program was:" >&5 |
| 12005 cat conftest.$ac_ext >&5 | 12012 cat conftest.$ac_ext >&5 |
| 12014 else | 12021 else |
| 12015 echo "$ac_t""no" 1>&6 | 12022 echo "$ac_t""no" 1>&6 |
| 12016 | 12023 |
| 12017 | 12024 |
| 12018 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12025 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
| 12019 echo "configure:12020: checking for openpty in -lutil" >&5 | 12026 echo "configure:12027: checking for openpty in -lutil" >&5 |
| 12020 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12027 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
| 12021 | 12028 |
| 12022 xe_check_libs=" -lutil " | 12029 xe_check_libs=" -lutil " |
| 12023 cat > conftest.$ac_ext <<EOF | 12030 cat > conftest.$ac_ext <<EOF |
| 12024 #line 12025 "configure" | 12031 #line 12032 "configure" |
| 12025 #include "confdefs.h" | 12032 #include "confdefs.h" |
| 12026 /* Override any gcc2 internal prototype to avoid an error. */ | 12033 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12027 /* We use char because int might match the return type of a gcc2 | 12034 /* We use char because int might match the return type of a gcc2 |
| 12028 builtin and then its argument prototype would still apply. */ | 12035 builtin and then its argument prototype would still apply. */ |
| 12029 char openpty(); | 12036 char openpty(); |
| 12030 | 12037 |
| 12031 int main() { | 12038 int main() { |
| 12032 openpty() | 12039 openpty() |
| 12033 ; return 0; } | 12040 ; return 0; } |
| 12034 EOF | 12041 EOF |
| 12035 if { (eval echo configure:12036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12042 if { (eval echo configure:12043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12036 rm -rf conftest* | 12043 rm -rf conftest* |
| 12037 eval "ac_cv_lib_$ac_lib_var=yes" | 12044 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12038 else | 12045 else |
| 12039 echo "configure: failed program was:" >&5 | 12046 echo "configure: failed program was:" >&5 |
| 12040 cat conftest.$ac_ext >&5 | 12047 cat conftest.$ac_ext >&5 |
| 12065 | 12072 |
| 12066 for ac_hdr in libutil.h util.h | 12073 for ac_hdr in libutil.h util.h |
| 12067 do | 12074 do |
| 12068 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12075 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12069 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12076 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12070 echo "configure:12071: checking for $ac_hdr" >&5 | 12077 echo "configure:12078: checking for $ac_hdr" >&5 |
| 12071 | 12078 |
| 12072 cat > conftest.$ac_ext <<EOF | 12079 cat > conftest.$ac_ext <<EOF |
| 12073 #line 12074 "configure" | 12080 #line 12081 "configure" |
| 12074 #include "confdefs.h" | 12081 #include "confdefs.h" |
| 12075 #include <$ac_hdr> | 12082 #include <$ac_hdr> |
| 12076 EOF | 12083 EOF |
| 12077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12078 { (eval echo configure:12079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12085 { (eval echo configure:12086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12080 if test -z "$ac_err"; then | 12087 if test -z "$ac_err"; then |
| 12081 rm -rf conftest* | 12088 rm -rf conftest* |
| 12082 eval "ac_cv_header_$ac_safe=yes" | 12089 eval "ac_cv_header_$ac_safe=yes" |
| 12083 else | 12090 else |
| 12110 case "$opsys" in | 12117 case "$opsys" in |
| 12111 hpux*) for ac_hdr in sys/ptyio.h | 12118 hpux*) for ac_hdr in sys/ptyio.h |
| 12112 do | 12119 do |
| 12113 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12120 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12114 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12121 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12115 echo "configure:12116: checking for $ac_hdr" >&5 | 12122 echo "configure:12123: checking for $ac_hdr" >&5 |
| 12116 | 12123 |
| 12117 cat > conftest.$ac_ext <<EOF | 12124 cat > conftest.$ac_ext <<EOF |
| 12118 #line 12119 "configure" | 12125 #line 12126 "configure" |
| 12119 #include "confdefs.h" | 12126 #include "confdefs.h" |
| 12120 #include <$ac_hdr> | 12127 #include <$ac_hdr> |
| 12121 EOF | 12128 EOF |
| 12122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12129 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12123 { (eval echo configure:12124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12130 { (eval echo configure:12131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12131 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12125 if test -z "$ac_err"; then | 12132 if test -z "$ac_err"; then |
| 12126 rm -rf conftest* | 12133 rm -rf conftest* |
| 12127 eval "ac_cv_header_$ac_safe=yes" | 12134 eval "ac_cv_header_$ac_safe=yes" |
| 12128 else | 12135 else |
| 12151 ;; | 12158 ;; |
| 12152 *) for ac_hdr in pty.h | 12159 *) for ac_hdr in pty.h |
| 12153 do | 12160 do |
| 12154 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12161 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12155 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12156 echo "configure:12157: checking for $ac_hdr" >&5 | 12163 echo "configure:12164: checking for $ac_hdr" >&5 |
| 12157 | 12164 |
| 12158 cat > conftest.$ac_ext <<EOF | 12165 cat > conftest.$ac_ext <<EOF |
| 12159 #line 12160 "configure" | 12166 #line 12167 "configure" |
| 12160 #include "confdefs.h" | 12167 #include "confdefs.h" |
| 12161 #include <$ac_hdr> | 12168 #include <$ac_hdr> |
| 12162 EOF | 12169 EOF |
| 12163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12164 { (eval echo configure:12165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12171 { (eval echo configure:12172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12165 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12166 if test -z "$ac_err"; then | 12173 if test -z "$ac_err"; then |
| 12167 rm -rf conftest* | 12174 rm -rf conftest* |
| 12168 eval "ac_cv_header_$ac_safe=yes" | 12175 eval "ac_cv_header_$ac_safe=yes" |
| 12169 else | 12176 else |
| 12192 | 12199 |
| 12193 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12200 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
| 12194 do | 12201 do |
| 12195 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12202 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12203 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12197 echo "configure:12198: checking for $ac_hdr" >&5 | 12204 echo "configure:12205: checking for $ac_hdr" >&5 |
| 12198 | 12205 |
| 12199 cat > conftest.$ac_ext <<EOF | 12206 cat > conftest.$ac_ext <<EOF |
| 12200 #line 12201 "configure" | 12207 #line 12208 "configure" |
| 12201 #include "confdefs.h" | 12208 #include "confdefs.h" |
| 12202 #include <$ac_hdr> | 12209 #include <$ac_hdr> |
| 12203 EOF | 12210 EOF |
| 12204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12205 { (eval echo configure:12206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12212 { (eval echo configure:12213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12207 if test -z "$ac_err"; then | 12214 if test -z "$ac_err"; then |
| 12208 rm -rf conftest* | 12215 rm -rf conftest* |
| 12209 eval "ac_cv_header_$ac_safe=yes" | 12216 eval "ac_cv_header_$ac_safe=yes" |
| 12210 else | 12217 else |
| 12236 | 12243 |
| 12237 for ac_hdr in stropts.h | 12244 for ac_hdr in stropts.h |
| 12238 do | 12245 do |
| 12239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12246 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12247 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12241 echo "configure:12242: checking for $ac_hdr" >&5 | 12248 echo "configure:12249: checking for $ac_hdr" >&5 |
| 12242 | 12249 |
| 12243 cat > conftest.$ac_ext <<EOF | 12250 cat > conftest.$ac_ext <<EOF |
| 12244 #line 12245 "configure" | 12251 #line 12252 "configure" |
| 12245 #include "confdefs.h" | 12252 #include "confdefs.h" |
| 12246 #include <$ac_hdr> | 12253 #include <$ac_hdr> |
| 12247 EOF | 12254 EOF |
| 12248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12249 { (eval echo configure:12250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12256 { (eval echo configure:12257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12257 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12251 if test -z "$ac_err"; then | 12258 if test -z "$ac_err"; then |
| 12252 rm -rf conftest* | 12259 rm -rf conftest* |
| 12253 eval "ac_cv_header_$ac_safe=yes" | 12260 eval "ac_cv_header_$ac_safe=yes" |
| 12254 else | 12261 else |
| 12277 | 12284 |
| 12278 if test "$ac_cv_header_stropts_h" = "yes"; then | 12285 if test "$ac_cv_header_stropts_h" = "yes"; then |
| 12279 for ac_func in isastream | 12286 for ac_func in isastream |
| 12280 do | 12287 do |
| 12281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12282 echo "configure:12283: checking for $ac_func" >&5 | 12289 echo "configure:12290: checking for $ac_func" >&5 |
| 12283 | 12290 |
| 12284 cat > conftest.$ac_ext <<EOF | 12291 cat > conftest.$ac_ext <<EOF |
| 12285 #line 12286 "configure" | 12292 #line 12293 "configure" |
| 12286 #include "confdefs.h" | 12293 #include "confdefs.h" |
| 12287 /* System header to define __stub macros and hopefully few prototypes, | 12294 /* System header to define __stub macros and hopefully few prototypes, |
| 12288 which can conflict with char $ac_func(); below. */ | 12295 which can conflict with char $ac_func(); below. */ |
| 12289 #include <assert.h> | 12296 #include <assert.h> |
| 12290 /* Override any gcc2 internal prototype to avoid an error. */ | 12297 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12303 $ac_func(); | 12310 $ac_func(); |
| 12304 #endif | 12311 #endif |
| 12305 | 12312 |
| 12306 ; return 0; } | 12313 ; return 0; } |
| 12307 EOF | 12314 EOF |
| 12308 if { (eval echo configure:12309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12315 if { (eval echo configure:12316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12309 rm -rf conftest* | 12316 rm -rf conftest* |
| 12310 eval "ac_cv_func_$ac_func=yes" | 12317 eval "ac_cv_func_$ac_func=yes" |
| 12311 else | 12318 else |
| 12312 echo "configure: failed program was:" >&5 | 12319 echo "configure: failed program was:" >&5 |
| 12313 cat conftest.$ac_ext >&5 | 12320 cat conftest.$ac_ext >&5 |
| 12334 | 12341 |
| 12335 for ac_hdr in strtio.h | 12342 for ac_hdr in strtio.h |
| 12336 do | 12343 do |
| 12337 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12344 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12338 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12345 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12339 echo "configure:12340: checking for $ac_hdr" >&5 | 12346 echo "configure:12347: checking for $ac_hdr" >&5 |
| 12340 | 12347 |
| 12341 cat > conftest.$ac_ext <<EOF | 12348 cat > conftest.$ac_ext <<EOF |
| 12342 #line 12343 "configure" | 12349 #line 12350 "configure" |
| 12343 #include "confdefs.h" | 12350 #include "confdefs.h" |
| 12344 #include <$ac_hdr> | 12351 #include <$ac_hdr> |
| 12345 EOF | 12352 EOF |
| 12346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12347 { (eval echo configure:12348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12354 { (eval echo configure:12355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12349 if test -z "$ac_err"; then | 12356 if test -z "$ac_err"; then |
| 12350 rm -rf conftest* | 12357 rm -rf conftest* |
| 12351 eval "ac_cv_header_$ac_safe=yes" | 12358 eval "ac_cv_header_$ac_safe=yes" |
| 12352 else | 12359 else |
| 12375 fi | 12382 fi |
| 12376 | 12383 |
| 12377 for ac_func in getloadavg | 12384 for ac_func in getloadavg |
| 12378 do | 12385 do |
| 12379 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12380 echo "configure:12381: checking for $ac_func" >&5 | 12387 echo "configure:12388: checking for $ac_func" >&5 |
| 12381 | 12388 |
| 12382 cat > conftest.$ac_ext <<EOF | 12389 cat > conftest.$ac_ext <<EOF |
| 12383 #line 12384 "configure" | 12390 #line 12391 "configure" |
| 12384 #include "confdefs.h" | 12391 #include "confdefs.h" |
| 12385 /* System header to define __stub macros and hopefully few prototypes, | 12392 /* System header to define __stub macros and hopefully few prototypes, |
| 12386 which can conflict with char $ac_func(); below. */ | 12393 which can conflict with char $ac_func(); below. */ |
| 12387 #include <assert.h> | 12394 #include <assert.h> |
| 12388 /* Override any gcc2 internal prototype to avoid an error. */ | 12395 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12401 $ac_func(); | 12408 $ac_func(); |
| 12402 #endif | 12409 #endif |
| 12403 | 12410 |
| 12404 ; return 0; } | 12411 ; return 0; } |
| 12405 EOF | 12412 EOF |
| 12406 if { (eval echo configure:12407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12413 if { (eval echo configure:12414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12407 rm -rf conftest* | 12414 rm -rf conftest* |
| 12408 eval "ac_cv_func_$ac_func=yes" | 12415 eval "ac_cv_func_$ac_func=yes" |
| 12409 else | 12416 else |
| 12410 echo "configure: failed program was:" >&5 | 12417 echo "configure: failed program was:" >&5 |
| 12411 cat conftest.$ac_ext >&5 | 12418 cat conftest.$ac_ext >&5 |
| 12434 if test "$ac_cv_func_getloadavg" = "yes"; then | 12441 if test "$ac_cv_func_getloadavg" = "yes"; then |
| 12435 for ac_hdr in sys/loadavg.h | 12442 for ac_hdr in sys/loadavg.h |
| 12436 do | 12443 do |
| 12437 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12444 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12438 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12439 echo "configure:12440: checking for $ac_hdr" >&5 | 12446 echo "configure:12447: checking for $ac_hdr" >&5 |
| 12440 | 12447 |
| 12441 cat > conftest.$ac_ext <<EOF | 12448 cat > conftest.$ac_ext <<EOF |
| 12442 #line 12443 "configure" | 12449 #line 12450 "configure" |
| 12443 #include "confdefs.h" | 12450 #include "confdefs.h" |
| 12444 #include <$ac_hdr> | 12451 #include <$ac_hdr> |
| 12445 EOF | 12452 EOF |
| 12446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12447 { (eval echo configure:12448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12454 { (eval echo configure:12455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12449 if test -z "$ac_err"; then | 12456 if test -z "$ac_err"; then |
| 12450 rm -rf conftest* | 12457 rm -rf conftest* |
| 12451 eval "ac_cv_header_$ac_safe=yes" | 12458 eval "ac_cv_header_$ac_safe=yes" |
| 12452 else | 12459 else |
| 12478 echo " xemacs will be linked with \"getloadavg.o\"" | 12485 echo " xemacs will be linked with \"getloadavg.o\"" |
| 12479 fi | 12486 fi |
| 12480 | 12487 |
| 12481 | 12488 |
| 12482 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12489 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 12483 echo "configure:12484: checking for kstat_open in -lkstat" >&5 | 12490 echo "configure:12491: checking for kstat_open in -lkstat" >&5 |
| 12484 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12491 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 12485 | 12492 |
| 12486 xe_check_libs=" -lkstat " | 12493 xe_check_libs=" -lkstat " |
| 12487 cat > conftest.$ac_ext <<EOF | 12494 cat > conftest.$ac_ext <<EOF |
| 12488 #line 12489 "configure" | 12495 #line 12496 "configure" |
| 12489 #include "confdefs.h" | 12496 #include "confdefs.h" |
| 12490 /* Override any gcc2 internal prototype to avoid an error. */ | 12497 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12491 /* We use char because int might match the return type of a gcc2 | 12498 /* We use char because int might match the return type of a gcc2 |
| 12492 builtin and then its argument prototype would still apply. */ | 12499 builtin and then its argument prototype would still apply. */ |
| 12493 char kstat_open(); | 12500 char kstat_open(); |
| 12494 | 12501 |
| 12495 int main() { | 12502 int main() { |
| 12496 kstat_open() | 12503 kstat_open() |
| 12497 ; return 0; } | 12504 ; return 0; } |
| 12498 EOF | 12505 EOF |
| 12499 if { (eval echo configure:12500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12506 if { (eval echo configure:12507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12500 rm -rf conftest* | 12507 rm -rf conftest* |
| 12501 eval "ac_cv_lib_$ac_lib_var=yes" | 12508 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12502 else | 12509 else |
| 12503 echo "configure: failed program was:" >&5 | 12510 echo "configure: failed program was:" >&5 |
| 12504 cat conftest.$ac_ext >&5 | 12511 cat conftest.$ac_ext >&5 |
| 12529 | 12536 |
| 12530 for ac_hdr in kstat.h | 12537 for ac_hdr in kstat.h |
| 12531 do | 12538 do |
| 12532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12534 echo "configure:12535: checking for $ac_hdr" >&5 | 12541 echo "configure:12542: checking for $ac_hdr" >&5 |
| 12535 | 12542 |
| 12536 cat > conftest.$ac_ext <<EOF | 12543 cat > conftest.$ac_ext <<EOF |
| 12537 #line 12538 "configure" | 12544 #line 12545 "configure" |
| 12538 #include "confdefs.h" | 12545 #include "confdefs.h" |
| 12539 #include <$ac_hdr> | 12546 #include <$ac_hdr> |
| 12540 EOF | 12547 EOF |
| 12541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12542 { (eval echo configure:12543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12549 { (eval echo configure:12550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12544 if test -z "$ac_err"; then | 12551 if test -z "$ac_err"; then |
| 12545 rm -rf conftest* | 12552 rm -rf conftest* |
| 12546 eval "ac_cv_header_$ac_safe=yes" | 12553 eval "ac_cv_header_$ac_safe=yes" |
| 12547 else | 12554 else |
| 12569 done | 12576 done |
| 12570 | 12577 |
| 12571 | 12578 |
| 12572 | 12579 |
| 12573 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12580 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 12574 echo "configure:12575: checking for kvm_read in -lkvm" >&5 | 12581 echo "configure:12582: checking for kvm_read in -lkvm" >&5 |
| 12575 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12582 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 12576 | 12583 |
| 12577 xe_check_libs=" -lkvm " | 12584 xe_check_libs=" -lkvm " |
| 12578 cat > conftest.$ac_ext <<EOF | 12585 cat > conftest.$ac_ext <<EOF |
| 12579 #line 12580 "configure" | 12586 #line 12587 "configure" |
| 12580 #include "confdefs.h" | 12587 #include "confdefs.h" |
| 12581 /* Override any gcc2 internal prototype to avoid an error. */ | 12588 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12582 /* We use char because int might match the return type of a gcc2 | 12589 /* We use char because int might match the return type of a gcc2 |
| 12583 builtin and then its argument prototype would still apply. */ | 12590 builtin and then its argument prototype would still apply. */ |
| 12584 char kvm_read(); | 12591 char kvm_read(); |
| 12585 | 12592 |
| 12586 int main() { | 12593 int main() { |
| 12587 kvm_read() | 12594 kvm_read() |
| 12588 ; return 0; } | 12595 ; return 0; } |
| 12589 EOF | 12596 EOF |
| 12590 if { (eval echo configure:12591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12597 if { (eval echo configure:12598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12591 rm -rf conftest* | 12598 rm -rf conftest* |
| 12592 eval "ac_cv_lib_$ac_lib_var=yes" | 12599 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12593 else | 12600 else |
| 12594 echo "configure: failed program was:" >&5 | 12601 echo "configure: failed program was:" >&5 |
| 12595 cat conftest.$ac_ext >&5 | 12602 cat conftest.$ac_ext >&5 |
| 12619 | 12626 |
| 12620 | 12627 |
| 12621 fi | 12628 fi |
| 12622 | 12629 |
| 12623 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12630 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 12624 echo "configure:12625: checking whether netdb declares h_errno" >&5 | 12631 echo "configure:12632: checking whether netdb declares h_errno" >&5 |
| 12625 cat > conftest.$ac_ext <<EOF | 12632 cat > conftest.$ac_ext <<EOF |
| 12626 #line 12627 "configure" | 12633 #line 12634 "configure" |
| 12627 #include "confdefs.h" | 12634 #include "confdefs.h" |
| 12628 #include <netdb.h> | 12635 #include <netdb.h> |
| 12629 int main() { | 12636 int main() { |
| 12630 return h_errno; | 12637 return h_errno; |
| 12631 ; return 0; } | 12638 ; return 0; } |
| 12632 EOF | 12639 EOF |
| 12633 if { (eval echo configure:12634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12640 if { (eval echo configure:12641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12634 rm -rf conftest* | 12641 rm -rf conftest* |
| 12635 echo "$ac_t""yes" 1>&6 | 12642 echo "$ac_t""yes" 1>&6 |
| 12636 { test "$extra_verbose" = "yes" && cat << \EOF | 12643 { test "$extra_verbose" = "yes" && cat << \EOF |
| 12637 Defining HAVE_H_ERRNO | 12644 Defining HAVE_H_ERRNO |
| 12638 EOF | 12645 EOF |
| 12648 echo "$ac_t""no" 1>&6 | 12655 echo "$ac_t""no" 1>&6 |
| 12649 fi | 12656 fi |
| 12650 rm -f conftest* | 12657 rm -f conftest* |
| 12651 | 12658 |
| 12652 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12659 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 12653 echo "configure:12654: checking for sigsetjmp" >&5 | 12660 echo "configure:12661: checking for sigsetjmp" >&5 |
| 12654 cat > conftest.$ac_ext <<EOF | 12661 cat > conftest.$ac_ext <<EOF |
| 12655 #line 12656 "configure" | 12662 #line 12663 "configure" |
| 12656 #include "confdefs.h" | 12663 #include "confdefs.h" |
| 12657 #include <setjmp.h> | 12664 #include <setjmp.h> |
| 12658 int main() { | 12665 int main() { |
| 12659 sigjmp_buf bar; sigsetjmp (bar, 0); | 12666 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 12660 ; return 0; } | 12667 ; return 0; } |
| 12661 EOF | 12668 EOF |
| 12662 if { (eval echo configure:12663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12669 if { (eval echo configure:12670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 12663 rm -rf conftest* | 12670 rm -rf conftest* |
| 12664 echo "$ac_t""yes" 1>&6 | 12671 echo "$ac_t""yes" 1>&6 |
| 12665 { test "$extra_verbose" = "yes" && cat << \EOF | 12672 { test "$extra_verbose" = "yes" && cat << \EOF |
| 12666 Defining HAVE_SIGSETJMP | 12673 Defining HAVE_SIGSETJMP |
| 12667 EOF | 12674 EOF |
| 12677 echo "$ac_t""no" 1>&6 | 12684 echo "$ac_t""no" 1>&6 |
| 12678 fi | 12685 fi |
| 12679 rm -f conftest* | 12686 rm -f conftest* |
| 12680 | 12687 |
| 12681 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12688 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 12682 echo "configure:12683: checking whether localtime caches TZ" >&5 | 12689 echo "configure:12690: checking whether localtime caches TZ" >&5 |
| 12683 | 12690 |
| 12684 if test "$ac_cv_func_tzset" = "yes"; then | 12691 if test "$ac_cv_func_tzset" = "yes"; then |
| 12685 cat > conftest.$ac_ext <<EOF | 12692 cat > conftest.$ac_ext <<EOF |
| 12686 #line 12687 "configure" | 12693 #line 12694 "configure" |
| 12687 #include "confdefs.h" | 12694 #include "confdefs.h" |
| 12688 #include <time.h> | 12695 #include <time.h> |
| 12689 #if STDC_HEADERS | 12696 #if STDC_HEADERS |
| 12690 # include <stdlib.h> | 12697 # include <stdlib.h> |
| 12691 #endif | 12698 #endif |
| 12716 if (localtime (&now)->tm_hour != hour_unset) | 12723 if (localtime (&now)->tm_hour != hour_unset) |
| 12717 exit (1); | 12724 exit (1); |
| 12718 exit (0); | 12725 exit (0); |
| 12719 } | 12726 } |
| 12720 EOF | 12727 EOF |
| 12721 if { (eval echo configure:12722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12728 if { (eval echo configure:12729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12722 then | 12729 then |
| 12723 emacs_cv_localtime_cache=no | 12730 emacs_cv_localtime_cache=no |
| 12724 else | 12731 else |
| 12725 conftest_rc="$?" | 12732 conftest_rc="$?" |
| 12726 echo "configure: failed program was:" >&5 | 12733 echo "configure: failed program was:" >&5 |
| 12746 | 12753 |
| 12747 fi | 12754 fi |
| 12748 | 12755 |
| 12749 if test "$HAVE_TIMEVAL" = "yes"; then | 12756 if test "$HAVE_TIMEVAL" = "yes"; then |
| 12750 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12757 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 12751 echo "configure:12752: checking whether gettimeofday accepts one or two arguments" >&5 | 12758 echo "configure:12759: checking whether gettimeofday accepts one or two arguments" >&5 |
| 12752 cat > conftest.$ac_ext <<EOF | 12759 cat > conftest.$ac_ext <<EOF |
| 12753 #line 12754 "configure" | 12760 #line 12761 "configure" |
| 12754 #include "confdefs.h" | 12761 #include "confdefs.h" |
| 12755 | 12762 |
| 12756 #ifdef TIME_WITH_SYS_TIME | 12763 #ifdef TIME_WITH_SYS_TIME |
| 12757 #include <sys/time.h> | 12764 #include <sys/time.h> |
| 12758 #include <time.h> | 12765 #include <time.h> |
| 12769 struct timeval time; | 12776 struct timeval time; |
| 12770 gettimeofday (&time, 0); | 12777 gettimeofday (&time, 0); |
| 12771 | 12778 |
| 12772 ; return 0; } | 12779 ; return 0; } |
| 12773 EOF | 12780 EOF |
| 12774 if { (eval echo configure:12775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12781 if { (eval echo configure:12782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12775 rm -rf conftest* | 12782 rm -rf conftest* |
| 12776 echo "$ac_t""two" 1>&6 | 12783 echo "$ac_t""two" 1>&6 |
| 12777 else | 12784 else |
| 12778 echo "configure: failed program was:" >&5 | 12785 echo "configure: failed program was:" >&5 |
| 12779 cat conftest.$ac_ext >&5 | 12786 cat conftest.$ac_ext >&5 |
| 12791 rm -f conftest* | 12798 rm -f conftest* |
| 12792 fi | 12799 fi |
| 12793 | 12800 |
| 12794 | 12801 |
| 12795 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12802 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 12796 echo "configure:12797: checking for inline" >&5 | 12803 echo "configure:12804: checking for inline" >&5 |
| 12797 | 12804 |
| 12798 ac_cv_c_inline=no | 12805 ac_cv_c_inline=no |
| 12799 for ac_kw in inline __inline__ __inline; do | 12806 for ac_kw in inline __inline__ __inline; do |
| 12800 cat > conftest.$ac_ext <<EOF | 12807 cat > conftest.$ac_ext <<EOF |
| 12801 #line 12802 "configure" | 12808 #line 12809 "configure" |
| 12802 #include "confdefs.h" | 12809 #include "confdefs.h" |
| 12803 | 12810 |
| 12804 int main() { | 12811 int main() { |
| 12805 } $ac_kw foo() { | 12812 } $ac_kw foo() { |
| 12806 ; return 0; } | 12813 ; return 0; } |
| 12807 EOF | 12814 EOF |
| 12808 if { (eval echo configure:12809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12815 if { (eval echo configure:12816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 12809 rm -rf conftest* | 12816 rm -rf conftest* |
| 12810 ac_cv_c_inline=$ac_kw; break | 12817 ac_cv_c_inline=$ac_kw; break |
| 12811 else | 12818 else |
| 12812 echo "configure: failed program was:" >&5 | 12819 echo "configure: failed program was:" >&5 |
| 12813 cat conftest.$ac_ext >&5 | 12820 cat conftest.$ac_ext >&5 |
| 12844 | 12851 |
| 12845 if test "$__DECC" != "yes"; then | 12852 if test "$__DECC" != "yes"; then |
| 12846 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12853 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 12847 # for constant arguments. Useless! | 12854 # for constant arguments. Useless! |
| 12848 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12855 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 12849 echo "configure:12850: checking for working alloca.h" >&5 | 12856 echo "configure:12857: checking for working alloca.h" >&5 |
| 12850 | 12857 |
| 12851 cat > conftest.$ac_ext <<EOF | 12858 cat > conftest.$ac_ext <<EOF |
| 12852 #line 12853 "configure" | 12859 #line 12860 "configure" |
| 12853 #include "confdefs.h" | 12860 #include "confdefs.h" |
| 12854 #include <alloca.h> | 12861 #include <alloca.h> |
| 12855 int main() { | 12862 int main() { |
| 12856 char *p = alloca(2 * sizeof(int)); | 12863 char *p = alloca(2 * sizeof(int)); |
| 12857 ; return 0; } | 12864 ; return 0; } |
| 12858 EOF | 12865 EOF |
| 12859 if { (eval echo configure:12860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12866 if { (eval echo configure:12867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12860 rm -rf conftest* | 12867 rm -rf conftest* |
| 12861 ac_cv_header_alloca_h=yes | 12868 ac_cv_header_alloca_h=yes |
| 12862 else | 12869 else |
| 12863 echo "configure: failed program was:" >&5 | 12870 echo "configure: failed program was:" >&5 |
| 12864 cat conftest.$ac_ext >&5 | 12871 cat conftest.$ac_ext >&5 |
| 12878 } | 12885 } |
| 12879 | 12886 |
| 12880 fi | 12887 fi |
| 12881 | 12888 |
| 12882 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12889 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 12883 echo "configure:12884: checking for alloca" >&5 | 12890 echo "configure:12891: checking for alloca" >&5 |
| 12884 | 12891 |
| 12885 cat > conftest.$ac_ext <<EOF | 12892 cat > conftest.$ac_ext <<EOF |
| 12886 #line 12887 "configure" | 12893 #line 12894 "configure" |
| 12887 #include "confdefs.h" | 12894 #include "confdefs.h" |
| 12888 | 12895 |
| 12889 #ifdef __GNUC__ | 12896 #ifdef __GNUC__ |
| 12890 # define alloca __builtin_alloca | 12897 # define alloca __builtin_alloca |
| 12891 #else | 12898 #else |
| 12909 | 12916 |
| 12910 int main() { | 12917 int main() { |
| 12911 char *p = (char *) alloca(1); | 12918 char *p = (char *) alloca(1); |
| 12912 ; return 0; } | 12919 ; return 0; } |
| 12913 EOF | 12920 EOF |
| 12914 if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12921 if { (eval echo configure:12922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12915 rm -rf conftest* | 12922 rm -rf conftest* |
| 12916 ac_cv_func_alloca_works=yes | 12923 ac_cv_func_alloca_works=yes |
| 12917 else | 12924 else |
| 12918 echo "configure: failed program was:" >&5 | 12925 echo "configure: failed program was:" >&5 |
| 12919 cat conftest.$ac_ext >&5 | 12926 cat conftest.$ac_ext >&5 |
| 12948 EOF | 12955 EOF |
| 12949 } | 12956 } |
| 12950 | 12957 |
| 12951 | 12958 |
| 12952 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12959 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 12953 echo "configure:12954: checking whether alloca needs Cray hooks" >&5 | 12960 echo "configure:12961: checking whether alloca needs Cray hooks" >&5 |
| 12954 | 12961 |
| 12955 cat > conftest.$ac_ext <<EOF | 12962 cat > conftest.$ac_ext <<EOF |
| 12956 #line 12957 "configure" | 12963 #line 12964 "configure" |
| 12957 #include "confdefs.h" | 12964 #include "confdefs.h" |
| 12958 #if defined(CRAY) && ! defined(CRAY2) | 12965 #if defined(CRAY) && ! defined(CRAY2) |
| 12959 webecray | 12966 webecray |
| 12960 #else | 12967 #else |
| 12961 wenotbecray | 12968 wenotbecray |
| 12975 | 12982 |
| 12976 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12983 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 12977 if test $ac_cv_os_cray = yes; then | 12984 if test $ac_cv_os_cray = yes; then |
| 12978 for ac_func in _getb67 GETB67 getb67; do | 12985 for ac_func in _getb67 GETB67 getb67; do |
| 12979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12980 echo "configure:12981: checking for $ac_func" >&5 | 12987 echo "configure:12988: checking for $ac_func" >&5 |
| 12981 | 12988 |
| 12982 cat > conftest.$ac_ext <<EOF | 12989 cat > conftest.$ac_ext <<EOF |
| 12983 #line 12984 "configure" | 12990 #line 12991 "configure" |
| 12984 #include "confdefs.h" | 12991 #include "confdefs.h" |
| 12985 /* System header to define __stub macros and hopefully few prototypes, | 12992 /* System header to define __stub macros and hopefully few prototypes, |
| 12986 which can conflict with char $ac_func(); below. */ | 12993 which can conflict with char $ac_func(); below. */ |
| 12987 #include <assert.h> | 12994 #include <assert.h> |
| 12988 /* Override any gcc2 internal prototype to avoid an error. */ | 12995 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13001 $ac_func(); | 13008 $ac_func(); |
| 13002 #endif | 13009 #endif |
| 13003 | 13010 |
| 13004 ; return 0; } | 13011 ; return 0; } |
| 13005 EOF | 13012 EOF |
| 13006 if { (eval echo configure:13007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13013 if { (eval echo configure:13014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13007 rm -rf conftest* | 13014 rm -rf conftest* |
| 13008 eval "ac_cv_func_$ac_func=yes" | 13015 eval "ac_cv_func_$ac_func=yes" |
| 13009 else | 13016 else |
| 13010 echo "configure: failed program was:" >&5 | 13017 echo "configure: failed program was:" >&5 |
| 13011 cat conftest.$ac_ext >&5 | 13018 cat conftest.$ac_ext >&5 |
| 13031 | 13038 |
| 13032 done | 13039 done |
| 13033 fi | 13040 fi |
| 13034 | 13041 |
| 13035 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13042 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 13036 echo "configure:13037: checking stack direction for C alloca" >&5 | 13043 echo "configure:13044: checking stack direction for C alloca" >&5 |
| 13037 | 13044 |
| 13038 cat > conftest.$ac_ext <<EOF | 13045 cat > conftest.$ac_ext <<EOF |
| 13039 #line 13040 "configure" | 13046 #line 13047 "configure" |
| 13040 #include "confdefs.h" | 13047 #include "confdefs.h" |
| 13041 find_stack_direction () | 13048 find_stack_direction () |
| 13042 { | 13049 { |
| 13043 static char *addr = 0; | 13050 static char *addr = 0; |
| 13044 auto char dummy; | 13051 auto char dummy; |
| 13053 main () | 13060 main () |
| 13054 { | 13061 { |
| 13055 exit (find_stack_direction() < 0); | 13062 exit (find_stack_direction() < 0); |
| 13056 } | 13063 } |
| 13057 EOF | 13064 EOF |
| 13058 if { (eval echo configure:13059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13065 if { (eval echo configure:13066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 13059 then | 13066 then |
| 13060 ac_cv_c_stack_direction=1 | 13067 ac_cv_c_stack_direction=1 |
| 13061 else | 13068 else |
| 13062 conftest_rc="$?" | 13069 conftest_rc="$?" |
| 13063 echo "configure: failed program was:" >&5 | 13070 echo "configure: failed program was:" >&5 |
| 13082 echo " xemacs will be linked with \"$ALLOCA\"" | 13089 echo " xemacs will be linked with \"$ALLOCA\"" |
| 13083 fi | 13090 fi |
| 13084 fi | 13091 fi |
| 13085 | 13092 |
| 13086 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13093 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
| 13087 echo "configure:13088: checking for working alloca in function calls" >&5 | 13094 echo "configure:13095: checking for working alloca in function calls" >&5 |
| 13088 cat > conftest.$ac_ext <<EOF | 13095 cat > conftest.$ac_ext <<EOF |
| 13089 #line 13090 "configure" | 13096 #line 13097 "configure" |
| 13090 #include "confdefs.h" | 13097 #include "confdefs.h" |
| 13091 | 13098 |
| 13092 #if defined (__CYGWIN__) | 13099 #if defined (__CYGWIN__) |
| 13093 #include <alloca.h> | 13100 #include <alloca.h> |
| 13094 #elif defined (__GNUC__) | 13101 #elif defined (__GNUC__) |
| 13137 return 1; | 13144 return 1; |
| 13138 return 0; | 13145 return 0; |
| 13139 } | 13146 } |
| 13140 | 13147 |
| 13141 EOF | 13148 EOF |
| 13142 if { (eval echo configure:13143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13149 if { (eval echo configure:13150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 13143 then | 13150 then |
| 13144 working_alloca_in_function_calls=yes | 13151 working_alloca_in_function_calls=yes |
| 13145 else | 13152 else |
| 13146 conftest_rc="$?" | 13153 conftest_rc="$?" |
| 13147 echo "configure: failed program was:" >&5 | 13154 echo "configure: failed program was:" >&5 |
| 13160 EOF | 13167 EOF |
| 13161 } | 13168 } |
| 13162 | 13169 |
| 13163 | 13170 |
| 13164 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13171 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 13165 echo "configure:13166: checking for working strcoll" >&5 | 13172 echo "configure:13173: checking for working strcoll" >&5 |
| 13166 | 13173 |
| 13167 cat > conftest.$ac_ext <<EOF | 13174 cat > conftest.$ac_ext <<EOF |
| 13168 #line 13169 "configure" | 13175 #line 13176 "configure" |
| 13169 #include "confdefs.h" | 13176 #include "confdefs.h" |
| 13170 #include <string.h> | 13177 #include <string.h> |
| 13171 main () | 13178 main () |
| 13172 { | 13179 { |
| 13173 exit (strcoll ("abc", "def") >= 0 || | 13180 exit (strcoll ("abc", "def") >= 0 || |
| 13174 strcoll ("ABC", "DEF") >= 0 || | 13181 strcoll ("ABC", "DEF") >= 0 || |
| 13175 strcoll ("123", "456") >= 0); | 13182 strcoll ("123", "456") >= 0); |
| 13176 } | 13183 } |
| 13177 EOF | 13184 EOF |
| 13178 if { (eval echo configure:13179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13185 if { (eval echo configure:13186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 13179 then | 13186 then |
| 13180 ac_cv_func_strcoll_works=yes | 13187 ac_cv_func_strcoll_works=yes |
| 13181 else | 13188 else |
| 13182 conftest_rc="$?" | 13189 conftest_rc="$?" |
| 13183 echo "configure: failed program was:" >&5 | 13190 echo "configure: failed program was:" >&5 |
| 13201 | 13208 |
| 13202 | 13209 |
| 13203 for ac_func in getpgrp | 13210 for ac_func in getpgrp |
| 13204 do | 13211 do |
| 13205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 13206 echo "configure:13207: checking for $ac_func" >&5 | 13213 echo "configure:13214: checking for $ac_func" >&5 |
| 13207 | 13214 |
| 13208 cat > conftest.$ac_ext <<EOF | 13215 cat > conftest.$ac_ext <<EOF |
| 13209 #line 13210 "configure" | 13216 #line 13217 "configure" |
| 13210 #include "confdefs.h" | 13217 #include "confdefs.h" |
| 13211 /* System header to define __stub macros and hopefully few prototypes, | 13218 /* System header to define __stub macros and hopefully few prototypes, |
| 13212 which can conflict with char $ac_func(); below. */ | 13219 which can conflict with char $ac_func(); below. */ |
| 13213 #include <assert.h> | 13220 #include <assert.h> |
| 13214 /* Override any gcc2 internal prototype to avoid an error. */ | 13221 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13227 $ac_func(); | 13234 $ac_func(); |
| 13228 #endif | 13235 #endif |
| 13229 | 13236 |
| 13230 ; return 0; } | 13237 ; return 0; } |
| 13231 EOF | 13238 EOF |
| 13232 if { (eval echo configure:13233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13239 if { (eval echo configure:13240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13233 rm -rf conftest* | 13240 rm -rf conftest* |
| 13234 eval "ac_cv_func_$ac_func=yes" | 13241 eval "ac_cv_func_$ac_func=yes" |
| 13235 else | 13242 else |
| 13236 echo "configure: failed program was:" >&5 | 13243 echo "configure: failed program was:" >&5 |
| 13237 cat conftest.$ac_ext >&5 | 13244 cat conftest.$ac_ext >&5 |
| 13255 echo "$ac_t""no" 1>&6 | 13262 echo "$ac_t""no" 1>&6 |
| 13256 fi | 13263 fi |
| 13257 done | 13264 done |
| 13258 | 13265 |
| 13259 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13266 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 13260 echo "configure:13261: checking whether getpgrp takes no argument" >&5 | 13267 echo "configure:13268: checking whether getpgrp takes no argument" >&5 |
| 13261 | 13268 |
| 13262 cat > conftest.$ac_ext <<EOF | 13269 cat > conftest.$ac_ext <<EOF |
| 13263 #line 13264 "configure" | 13270 #line 13271 "configure" |
| 13264 #include "confdefs.h" | 13271 #include "confdefs.h" |
| 13265 | 13272 |
| 13266 /* | 13273 /* |
| 13267 * If this system has a BSD-style getpgrp(), | 13274 * If this system has a BSD-style getpgrp(), |
| 13268 * which takes a pid argument, exit unsuccessfully. | 13275 * which takes a pid argument, exit unsuccessfully. |
| 13313 exit(s>>8); | 13320 exit(s>>8); |
| 13314 } | 13321 } |
| 13315 } | 13322 } |
| 13316 | 13323 |
| 13317 EOF | 13324 EOF |
| 13318 if { (eval echo configure:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13325 if { (eval echo configure:13326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 13319 then | 13326 then |
| 13320 ac_cv_func_getpgrp_void=yes | 13327 ac_cv_func_getpgrp_void=yes |
| 13321 else | 13328 else |
| 13322 conftest_rc="$?" | 13329 conftest_rc="$?" |
| 13323 echo "configure: failed program was:" >&5 | 13330 echo "configure: failed program was:" >&5 |
| 13340 | 13347 |
| 13341 fi | 13348 fi |
| 13342 | 13349 |
| 13343 | 13350 |
| 13344 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13351 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 13345 echo "configure:13346: checking for working mmap" >&5 | 13352 echo "configure:13353: checking for working mmap" >&5 |
| 13346 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13353 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 13347 cat > conftest.$ac_ext <<EOF | 13354 cat > conftest.$ac_ext <<EOF |
| 13348 #line 13349 "configure" | 13355 #line 13356 "configure" |
| 13349 #include "confdefs.h" | 13356 #include "confdefs.h" |
| 13350 #include <stdio.h> | 13357 #include <stdio.h> |
| 13351 #include <unistd.h> | 13358 #include <unistd.h> |
| 13352 #include <fcntl.h> | 13359 #include <fcntl.h> |
| 13353 #include <sys/mman.h> | 13360 #include <sys/mman.h> |
| 13376 return 0; | 13383 return 0; |
| 13377 perror ("conftest: mmap failed"); | 13384 perror ("conftest: mmap failed"); |
| 13378 return 1; | 13385 return 1; |
| 13379 } | 13386 } |
| 13380 EOF | 13387 EOF |
| 13381 if { (eval echo configure:13382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13388 if { (eval echo configure:13389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 13382 then | 13389 then |
| 13383 have_mmap=yes | 13390 have_mmap=yes |
| 13384 else | 13391 else |
| 13385 conftest_rc="$?" | 13392 conftest_rc="$?" |
| 13386 echo "configure: failed program was:" >&5 | 13393 echo "configure: failed program was:" >&5 |
| 13405 esac | 13412 esac |
| 13406 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13413 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
| 13407 if test "$rel_alloc $have_mmap" = "default yes"; then | 13414 if test "$rel_alloc $have_mmap" = "default yes"; then |
| 13408 if test "$doug_lea_malloc" = "yes"; then | 13415 if test "$doug_lea_malloc" = "yes"; then |
| 13409 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13416 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
| 13410 echo "configure:13411: checking for M_MMAP_THRESHOLD" >&5 | 13417 echo "configure:13418: checking for M_MMAP_THRESHOLD" >&5 |
| 13411 cat > conftest.$ac_ext <<EOF | 13418 cat > conftest.$ac_ext <<EOF |
| 13412 #line 13413 "configure" | 13419 #line 13420 "configure" |
| 13413 #include "confdefs.h" | 13420 #include "confdefs.h" |
| 13414 #include <malloc.h> | 13421 #include <malloc.h> |
| 13415 int main() { | 13422 int main() { |
| 13416 | 13423 |
| 13417 #ifndef M_MMAP_THRESHOLD | 13424 #ifndef M_MMAP_THRESHOLD |
| 13419 !@+$%^&*_)(_ - unlikely to compile... | 13426 !@+$%^&*_)(_ - unlikely to compile... |
| 13420 #endif | 13427 #endif |
| 13421 | 13428 |
| 13422 ; return 0; } | 13429 ; return 0; } |
| 13423 EOF | 13430 EOF |
| 13424 if { (eval echo configure:13425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13431 if { (eval echo configure:13432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 13425 rm -rf conftest* | 13432 rm -rf conftest* |
| 13426 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13433 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
| 13427 else | 13434 else |
| 13428 echo "configure: failed program was:" >&5 | 13435 echo "configure: failed program was:" >&5 |
| 13429 cat conftest.$ac_ext >&5 | 13436 cat conftest.$ac_ext >&5 |
| 13444 } | 13451 } |
| 13445 | 13452 |
| 13446 | 13453 |
| 13447 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13454 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 13448 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13455 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 13449 echo "configure:13450: checking for termios.h" >&5 | 13456 echo "configure:13457: checking for termios.h" >&5 |
| 13450 | 13457 |
| 13451 cat > conftest.$ac_ext <<EOF | 13458 cat > conftest.$ac_ext <<EOF |
| 13452 #line 13453 "configure" | 13459 #line 13460 "configure" |
| 13453 #include "confdefs.h" | 13460 #include "confdefs.h" |
| 13454 #include <termios.h> | 13461 #include <termios.h> |
| 13455 EOF | 13462 EOF |
| 13456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13457 { (eval echo configure:13458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13464 { (eval echo configure:13465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13459 if test -z "$ac_err"; then | 13466 if test -z "$ac_err"; then |
| 13460 rm -rf conftest* | 13467 rm -rf conftest* |
| 13461 eval "ac_cv_header_$ac_safe=yes" | 13468 eval "ac_cv_header_$ac_safe=yes" |
| 13462 else | 13469 else |
| 13495 | 13502 |
| 13496 else | 13503 else |
| 13497 echo "$ac_t""no" 1>&6 | 13504 echo "$ac_t""no" 1>&6 |
| 13498 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13505 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 13499 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13506 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 13500 echo "configure:13501: checking for termio.h" >&5 | 13507 echo "configure:13508: checking for termio.h" >&5 |
| 13501 | 13508 |
| 13502 cat > conftest.$ac_ext <<EOF | 13509 cat > conftest.$ac_ext <<EOF |
| 13503 #line 13504 "configure" | 13510 #line 13511 "configure" |
| 13504 #include "confdefs.h" | 13511 #include "confdefs.h" |
| 13505 #include <termio.h> | 13512 #include <termio.h> |
| 13506 EOF | 13513 EOF |
| 13507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13508 { (eval echo configure:13509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13515 { (eval echo configure:13516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13510 if test -z "$ac_err"; then | 13517 if test -z "$ac_err"; then |
| 13511 rm -rf conftest* | 13518 rm -rf conftest* |
| 13512 eval "ac_cv_header_$ac_safe=yes" | 13519 eval "ac_cv_header_$ac_safe=yes" |
| 13513 else | 13520 else |
| 13535 fi | 13542 fi |
| 13536 | 13543 |
| 13537 | 13544 |
| 13538 | 13545 |
| 13539 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13546 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 13540 echo "configure:13541: checking for socket" >&5 | 13547 echo "configure:13548: checking for socket" >&5 |
| 13541 | 13548 |
| 13542 cat > conftest.$ac_ext <<EOF | 13549 cat > conftest.$ac_ext <<EOF |
| 13543 #line 13544 "configure" | 13550 #line 13551 "configure" |
| 13544 #include "confdefs.h" | 13551 #include "confdefs.h" |
| 13545 /* System header to define __stub macros and hopefully few prototypes, | 13552 /* System header to define __stub macros and hopefully few prototypes, |
| 13546 which can conflict with char socket(); below. */ | 13553 which can conflict with char socket(); below. */ |
| 13547 #include <assert.h> | 13554 #include <assert.h> |
| 13548 /* Override any gcc2 internal prototype to avoid an error. */ | 13555 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13561 socket(); | 13568 socket(); |
| 13562 #endif | 13569 #endif |
| 13563 | 13570 |
| 13564 ; return 0; } | 13571 ; return 0; } |
| 13565 EOF | 13572 EOF |
| 13566 if { (eval echo configure:13567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13573 if { (eval echo configure:13574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13567 rm -rf conftest* | 13574 rm -rf conftest* |
| 13568 eval "ac_cv_func_socket=yes" | 13575 eval "ac_cv_func_socket=yes" |
| 13569 else | 13576 else |
| 13570 echo "configure: failed program was:" >&5 | 13577 echo "configure: failed program was:" >&5 |
| 13571 cat conftest.$ac_ext >&5 | 13578 cat conftest.$ac_ext >&5 |
| 13576 | 13583 |
| 13577 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13584 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 13578 echo "$ac_t""yes" 1>&6 | 13585 echo "$ac_t""yes" 1>&6 |
| 13579 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13586 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 13580 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13587 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 13581 echo "configure:13582: checking for netinet/in.h" >&5 | 13588 echo "configure:13589: checking for netinet/in.h" >&5 |
| 13582 | 13589 |
| 13583 cat > conftest.$ac_ext <<EOF | 13590 cat > conftest.$ac_ext <<EOF |
| 13584 #line 13585 "configure" | 13591 #line 13592 "configure" |
| 13585 #include "confdefs.h" | 13592 #include "confdefs.h" |
| 13586 #include <netinet/in.h> | 13593 #include <netinet/in.h> |
| 13587 EOF | 13594 EOF |
| 13588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13589 { (eval echo configure:13590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13596 { (eval echo configure:13597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13591 if test -z "$ac_err"; then | 13598 if test -z "$ac_err"; then |
| 13592 rm -rf conftest* | 13599 rm -rf conftest* |
| 13593 eval "ac_cv_header_$ac_safe=yes" | 13600 eval "ac_cv_header_$ac_safe=yes" |
| 13594 else | 13601 else |
| 13601 rm -f conftest* | 13608 rm -f conftest* |
| 13602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 13603 echo "$ac_t""yes" 1>&6 | 13610 echo "$ac_t""yes" 1>&6 |
| 13604 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13611 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 13605 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13612 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 13606 echo "configure:13607: checking for arpa/inet.h" >&5 | 13613 echo "configure:13614: checking for arpa/inet.h" >&5 |
| 13607 | 13614 |
| 13608 cat > conftest.$ac_ext <<EOF | 13615 cat > conftest.$ac_ext <<EOF |
| 13609 #line 13610 "configure" | 13616 #line 13617 "configure" |
| 13610 #include "confdefs.h" | 13617 #include "confdefs.h" |
| 13611 #include <arpa/inet.h> | 13618 #include <arpa/inet.h> |
| 13612 EOF | 13619 EOF |
| 13613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13614 { (eval echo configure:13615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13621 { (eval echo configure:13622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13616 if test -z "$ac_err"; then | 13623 if test -z "$ac_err"; then |
| 13617 rm -rf conftest* | 13624 rm -rf conftest* |
| 13618 eval "ac_cv_header_$ac_safe=yes" | 13625 eval "ac_cv_header_$ac_safe=yes" |
| 13619 else | 13626 else |
| 13634 #define HAVE_SOCKETS 1 | 13641 #define HAVE_SOCKETS 1 |
| 13635 EOF | 13642 EOF |
| 13636 } | 13643 } |
| 13637 | 13644 |
| 13638 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13645 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 13639 echo "configure:13640: checking "for sun_len member in struct sockaddr_un"" >&5 | 13646 echo "configure:13647: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 13640 cat > conftest.$ac_ext <<EOF | 13647 cat > conftest.$ac_ext <<EOF |
| 13641 #line 13642 "configure" | 13648 #line 13649 "configure" |
| 13642 #include "confdefs.h" | 13649 #include "confdefs.h" |
| 13643 | 13650 |
| 13644 #include <sys/types.h> | 13651 #include <sys/types.h> |
| 13645 #include <sys/socket.h> | 13652 #include <sys/socket.h> |
| 13646 #include <sys/un.h> | 13653 #include <sys/un.h> |
| 13647 | 13654 |
| 13648 int main() { | 13655 int main() { |
| 13649 static struct sockaddr_un x; x.sun_len = 1; | 13656 static struct sockaddr_un x; x.sun_len = 1; |
| 13650 ; return 0; } | 13657 ; return 0; } |
| 13651 EOF | 13658 EOF |
| 13652 if { (eval echo configure:13653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13659 if { (eval echo configure:13660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13653 rm -rf conftest* | 13660 rm -rf conftest* |
| 13654 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13661 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 13655 Defining HAVE_SOCKADDR_SUN_LEN | 13662 Defining HAVE_SOCKADDR_SUN_LEN |
| 13656 EOF | 13663 EOF |
| 13657 cat >> confdefs.h <<\EOF | 13664 cat >> confdefs.h <<\EOF |
| 13665 rm -rf conftest* | 13672 rm -rf conftest* |
| 13666 echo "$ac_t""no" 1>&6 | 13673 echo "$ac_t""no" 1>&6 |
| 13667 fi | 13674 fi |
| 13668 rm -f conftest* | 13675 rm -f conftest* |
| 13669 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13676 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 13670 echo "configure:13671: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13677 echo "configure:13678: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 13671 cat > conftest.$ac_ext <<EOF | 13678 cat > conftest.$ac_ext <<EOF |
| 13672 #line 13673 "configure" | 13679 #line 13680 "configure" |
| 13673 #include "confdefs.h" | 13680 #include "confdefs.h" |
| 13674 | 13681 |
| 13675 #include <sys/types.h> | 13682 #include <sys/types.h> |
| 13676 #include <netinet/in.h> | 13683 #include <netinet/in.h> |
| 13677 | 13684 |
| 13678 int main() { | 13685 int main() { |
| 13679 static struct ip_mreq x; | 13686 static struct ip_mreq x; |
| 13680 ; return 0; } | 13687 ; return 0; } |
| 13681 EOF | 13688 EOF |
| 13682 if { (eval echo configure:13683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13689 if { (eval echo configure:13690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13683 rm -rf conftest* | 13690 rm -rf conftest* |
| 13684 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13691 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 13685 Defining HAVE_MULTICAST | 13692 Defining HAVE_MULTICAST |
| 13686 EOF | 13693 EOF |
| 13687 cat >> confdefs.h <<\EOF | 13694 cat >> confdefs.h <<\EOF |
| 13708 echo "$ac_t""no" 1>&6 | 13715 echo "$ac_t""no" 1>&6 |
| 13709 fi | 13716 fi |
| 13710 | 13717 |
| 13711 | 13718 |
| 13712 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13719 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 13713 echo "configure:13714: checking for msgget" >&5 | 13720 echo "configure:13721: checking for msgget" >&5 |
| 13714 | 13721 |
| 13715 cat > conftest.$ac_ext <<EOF | 13722 cat > conftest.$ac_ext <<EOF |
| 13716 #line 13717 "configure" | 13723 #line 13724 "configure" |
| 13717 #include "confdefs.h" | 13724 #include "confdefs.h" |
| 13718 /* System header to define __stub macros and hopefully few prototypes, | 13725 /* System header to define __stub macros and hopefully few prototypes, |
| 13719 which can conflict with char msgget(); below. */ | 13726 which can conflict with char msgget(); below. */ |
| 13720 #include <assert.h> | 13727 #include <assert.h> |
| 13721 /* Override any gcc2 internal prototype to avoid an error. */ | 13728 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13734 msgget(); | 13741 msgget(); |
| 13735 #endif | 13742 #endif |
| 13736 | 13743 |
| 13737 ; return 0; } | 13744 ; return 0; } |
| 13738 EOF | 13745 EOF |
| 13739 if { (eval echo configure:13740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13746 if { (eval echo configure:13747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13740 rm -rf conftest* | 13747 rm -rf conftest* |
| 13741 eval "ac_cv_func_msgget=yes" | 13748 eval "ac_cv_func_msgget=yes" |
| 13742 else | 13749 else |
| 13743 echo "configure: failed program was:" >&5 | 13750 echo "configure: failed program was:" >&5 |
| 13744 cat conftest.$ac_ext >&5 | 13751 cat conftest.$ac_ext >&5 |
| 13749 | 13756 |
| 13750 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13757 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 13751 echo "$ac_t""yes" 1>&6 | 13758 echo "$ac_t""yes" 1>&6 |
| 13752 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13759 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 13753 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13760 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 13754 echo "configure:13755: checking for sys/ipc.h" >&5 | 13761 echo "configure:13762: checking for sys/ipc.h" >&5 |
| 13755 | 13762 |
| 13756 cat > conftest.$ac_ext <<EOF | 13763 cat > conftest.$ac_ext <<EOF |
| 13757 #line 13758 "configure" | 13764 #line 13765 "configure" |
| 13758 #include "confdefs.h" | 13765 #include "confdefs.h" |
| 13759 #include <sys/ipc.h> | 13766 #include <sys/ipc.h> |
| 13760 EOF | 13767 EOF |
| 13761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13762 { (eval echo configure:13763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13769 { (eval echo configure:13770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13764 if test -z "$ac_err"; then | 13771 if test -z "$ac_err"; then |
| 13765 rm -rf conftest* | 13772 rm -rf conftest* |
| 13766 eval "ac_cv_header_$ac_safe=yes" | 13773 eval "ac_cv_header_$ac_safe=yes" |
| 13767 else | 13774 else |
| 13774 rm -f conftest* | 13781 rm -f conftest* |
| 13775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 13776 echo "$ac_t""yes" 1>&6 | 13783 echo "$ac_t""yes" 1>&6 |
| 13777 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13784 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 13778 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13785 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 13779 echo "configure:13780: checking for sys/msg.h" >&5 | 13786 echo "configure:13787: checking for sys/msg.h" >&5 |
| 13780 | 13787 |
| 13781 cat > conftest.$ac_ext <<EOF | 13788 cat > conftest.$ac_ext <<EOF |
| 13782 #line 13783 "configure" | 13789 #line 13790 "configure" |
| 13783 #include "confdefs.h" | 13790 #include "confdefs.h" |
| 13784 #include <sys/msg.h> | 13791 #include <sys/msg.h> |
| 13785 EOF | 13792 EOF |
| 13786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13787 { (eval echo configure:13788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13794 { (eval echo configure:13795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13789 if test -z "$ac_err"; then | 13796 if test -z "$ac_err"; then |
| 13790 rm -rf conftest* | 13797 rm -rf conftest* |
| 13791 eval "ac_cv_header_$ac_safe=yes" | 13798 eval "ac_cv_header_$ac_safe=yes" |
| 13792 else | 13799 else |
| 13820 fi | 13827 fi |
| 13821 | 13828 |
| 13822 | 13829 |
| 13823 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13830 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 13824 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13831 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 13825 echo "configure:13826: checking for dirent.h" >&5 | 13832 echo "configure:13833: checking for dirent.h" >&5 |
| 13826 | 13833 |
| 13827 cat > conftest.$ac_ext <<EOF | 13834 cat > conftest.$ac_ext <<EOF |
| 13828 #line 13829 "configure" | 13835 #line 13836 "configure" |
| 13829 #include "confdefs.h" | 13836 #include "confdefs.h" |
| 13830 #include <dirent.h> | 13837 #include <dirent.h> |
| 13831 EOF | 13838 EOF |
| 13832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13833 { (eval echo configure:13834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13840 { (eval echo configure:13841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13835 if test -z "$ac_err"; then | 13842 if test -z "$ac_err"; then |
| 13836 rm -rf conftest* | 13843 rm -rf conftest* |
| 13837 eval "ac_cv_header_$ac_safe=yes" | 13844 eval "ac_cv_header_$ac_safe=yes" |
| 13838 else | 13845 else |
| 13855 | 13862 |
| 13856 else | 13863 else |
| 13857 echo "$ac_t""no" 1>&6 | 13864 echo "$ac_t""no" 1>&6 |
| 13858 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13865 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 13859 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13866 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 13860 echo "configure:13861: checking for sys/dir.h" >&5 | 13867 echo "configure:13868: checking for sys/dir.h" >&5 |
| 13861 | 13868 |
| 13862 cat > conftest.$ac_ext <<EOF | 13869 cat > conftest.$ac_ext <<EOF |
| 13863 #line 13864 "configure" | 13870 #line 13871 "configure" |
| 13864 #include "confdefs.h" | 13871 #include "confdefs.h" |
| 13865 #include <sys/dir.h> | 13872 #include <sys/dir.h> |
| 13866 EOF | 13873 EOF |
| 13867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13868 { (eval echo configure:13869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13875 { (eval echo configure:13876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13870 if test -z "$ac_err"; then | 13877 if test -z "$ac_err"; then |
| 13871 rm -rf conftest* | 13878 rm -rf conftest* |
| 13872 eval "ac_cv_header_$ac_safe=yes" | 13879 eval "ac_cv_header_$ac_safe=yes" |
| 13873 else | 13880 else |
| 13896 fi | 13903 fi |
| 13897 | 13904 |
| 13898 | 13905 |
| 13899 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13906 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 13900 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13907 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 13901 echo "configure:13902: checking for nlist.h" >&5 | 13908 echo "configure:13909: checking for nlist.h" >&5 |
| 13902 | 13909 |
| 13903 cat > conftest.$ac_ext <<EOF | 13910 cat > conftest.$ac_ext <<EOF |
| 13904 #line 13905 "configure" | 13911 #line 13912 "configure" |
| 13905 #include "confdefs.h" | 13912 #include "confdefs.h" |
| 13906 #include <nlist.h> | 13913 #include <nlist.h> |
| 13907 EOF | 13914 EOF |
| 13908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13909 { (eval echo configure:13910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13916 { (eval echo configure:13917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13911 if test -z "$ac_err"; then | 13918 if test -z "$ac_err"; then |
| 13912 rm -rf conftest* | 13919 rm -rf conftest* |
| 13913 eval "ac_cv_header_$ac_safe=yes" | 13920 eval "ac_cv_header_$ac_safe=yes" |
| 13914 else | 13921 else |
| 13934 fi | 13941 fi |
| 13935 | 13942 |
| 13936 | 13943 |
| 13937 | 13944 |
| 13938 echo "checking "for sound support"" 1>&6 | 13945 echo "checking "for sound support"" 1>&6 |
| 13939 echo "configure:13940: checking "for sound support"" >&5 | 13946 echo "configure:13947: checking "for sound support"" >&5 |
| 13940 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13947 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 13941 | 13948 |
| 13942 if test "$with_native_sound" != "no"; then | 13949 if test "$with_native_sound" != "no"; then |
| 13943 if test -n "$native_sound_lib"; then | 13950 if test -n "$native_sound_lib"; then |
| 13944 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13951 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 13945 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13952 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 13946 echo "configure:13947: checking for multimedia/audio_device.h" >&5 | 13953 echo "configure:13954: checking for multimedia/audio_device.h" >&5 |
| 13947 | 13954 |
| 13948 cat > conftest.$ac_ext <<EOF | 13955 cat > conftest.$ac_ext <<EOF |
| 13949 #line 13950 "configure" | 13956 #line 13957 "configure" |
| 13950 #include "confdefs.h" | 13957 #include "confdefs.h" |
| 13951 #include <multimedia/audio_device.h> | 13958 #include <multimedia/audio_device.h> |
| 13952 EOF | 13959 EOF |
| 13953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13954 { (eval echo configure:13955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13961 { (eval echo configure:13962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13956 if test -z "$ac_err"; then | 13963 if test -z "$ac_err"; then |
| 13957 rm -rf conftest* | 13964 rm -rf conftest* |
| 13958 eval "ac_cv_header_$ac_safe=yes" | 13965 eval "ac_cv_header_$ac_safe=yes" |
| 13959 else | 13966 else |
| 14005 case "$canonical" in | 14012 case "$canonical" in |
| 14006 *-sgi-* ) | 14013 *-sgi-* ) |
| 14007 if test -z "$native_sound_lib"; then | 14014 if test -z "$native_sound_lib"; then |
| 14008 | 14015 |
| 14009 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14016 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 14010 echo "configure:14011: checking for ALopenport in -laudio" >&5 | 14017 echo "configure:14018: checking for ALopenport in -laudio" >&5 |
| 14011 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14018 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 14012 | 14019 |
| 14013 xe_check_libs=" -laudio " | 14020 xe_check_libs=" -laudio " |
| 14014 cat > conftest.$ac_ext <<EOF | 14021 cat > conftest.$ac_ext <<EOF |
| 14015 #line 14016 "configure" | 14022 #line 14023 "configure" |
| 14016 #include "confdefs.h" | 14023 #include "confdefs.h" |
| 14017 /* Override any gcc2 internal prototype to avoid an error. */ | 14024 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14018 /* We use char because int might match the return type of a gcc2 | 14025 /* We use char because int might match the return type of a gcc2 |
| 14019 builtin and then its argument prototype would still apply. */ | 14026 builtin and then its argument prototype would still apply. */ |
| 14020 char ALopenport(); | 14027 char ALopenport(); |
| 14021 | 14028 |
| 14022 int main() { | 14029 int main() { |
| 14023 ALopenport() | 14030 ALopenport() |
| 14024 ; return 0; } | 14031 ; return 0; } |
| 14025 EOF | 14032 EOF |
| 14026 if { (eval echo configure:14027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14033 if { (eval echo configure:14034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14027 rm -rf conftest* | 14034 rm -rf conftest* |
| 14028 eval "ac_cv_lib_$ac_lib_var=yes" | 14035 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14029 else | 14036 else |
| 14030 echo "configure: failed program was:" >&5 | 14037 echo "configure: failed program was:" >&5 |
| 14031 cat conftest.$ac_ext >&5 | 14038 cat conftest.$ac_ext >&5 |
| 14052 fi ;; | 14059 fi ;; |
| 14053 hppa*-hp-hpux* ) | 14060 hppa*-hp-hpux* ) |
| 14054 if test -z "$native_sound_lib"; then | 14061 if test -z "$native_sound_lib"; then |
| 14055 | 14062 |
| 14056 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14063 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 14057 echo "configure:14058: checking for AOpenAudio in -lAlib" >&5 | 14064 echo "configure:14065: checking for AOpenAudio in -lAlib" >&5 |
| 14058 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14065 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 14059 | 14066 |
| 14060 xe_check_libs=" -lAlib " | 14067 xe_check_libs=" -lAlib " |
| 14061 cat > conftest.$ac_ext <<EOF | 14068 cat > conftest.$ac_ext <<EOF |
| 14062 #line 14063 "configure" | 14069 #line 14070 "configure" |
| 14063 #include "confdefs.h" | 14070 #include "confdefs.h" |
| 14064 /* Override any gcc2 internal prototype to avoid an error. */ | 14071 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14065 /* We use char because int might match the return type of a gcc2 | 14072 /* We use char because int might match the return type of a gcc2 |
| 14066 builtin and then its argument prototype would still apply. */ | 14073 builtin and then its argument prototype would still apply. */ |
| 14067 char AOpenAudio(); | 14074 char AOpenAudio(); |
| 14068 | 14075 |
| 14069 int main() { | 14076 int main() { |
| 14070 AOpenAudio() | 14077 AOpenAudio() |
| 14071 ; return 0; } | 14078 ; return 0; } |
| 14072 EOF | 14079 EOF |
| 14073 if { (eval echo configure:14074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14080 if { (eval echo configure:14081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14074 rm -rf conftest* | 14081 rm -rf conftest* |
| 14075 eval "ac_cv_lib_$ac_lib_var=yes" | 14082 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14076 else | 14083 else |
| 14077 echo "configure: failed program was:" >&5 | 14084 echo "configure: failed program was:" >&5 |
| 14078 cat conftest.$ac_ext >&5 | 14085 cat conftest.$ac_ext >&5 |
| 14116 | 14123 |
| 14117 if test -z "$sound_found"; then | 14124 if test -z "$sound_found"; then |
| 14118 for dir in "machine" "sys" "linux"; do | 14125 for dir in "machine" "sys" "linux"; do |
| 14119 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14126 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 14120 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14127 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 14121 echo "configure:14122: checking for ${dir}/soundcard.h" >&5 | 14128 echo "configure:14129: checking for ${dir}/soundcard.h" >&5 |
| 14122 | 14129 |
| 14123 cat > conftest.$ac_ext <<EOF | 14130 cat > conftest.$ac_ext <<EOF |
| 14124 #line 14125 "configure" | 14131 #line 14132 "configure" |
| 14125 #include "confdefs.h" | 14132 #include "confdefs.h" |
| 14126 #include <${dir}/soundcard.h> | 14133 #include <${dir}/soundcard.h> |
| 14127 EOF | 14134 EOF |
| 14128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14129 { (eval echo configure:14130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14136 { (eval echo configure:14137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14131 if test -z "$ac_err"; then | 14138 if test -z "$ac_err"; then |
| 14132 rm -rf conftest* | 14139 rm -rf conftest* |
| 14133 eval "ac_cv_header_$ac_safe=yes" | 14140 eval "ac_cv_header_$ac_safe=yes" |
| 14134 else | 14141 else |
| 14178 fi | 14185 fi |
| 14179 | 14186 |
| 14180 if test "$with_nas_sound" != "no"; then | 14187 if test "$with_nas_sound" != "no"; then |
| 14181 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14188 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
| 14182 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14189 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
| 14183 echo "configure:14184: checking for audio/audiolib.h" >&5 | 14190 echo "configure:14191: checking for audio/audiolib.h" >&5 |
| 14184 | 14191 |
| 14185 cat > conftest.$ac_ext <<EOF | 14192 cat > conftest.$ac_ext <<EOF |
| 14186 #line 14187 "configure" | 14193 #line 14194 "configure" |
| 14187 #include "confdefs.h" | 14194 #include "confdefs.h" |
| 14188 #include <audio/audiolib.h> | 14195 #include <audio/audiolib.h> |
| 14189 EOF | 14196 EOF |
| 14190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14191 { (eval echo configure:14192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14198 { (eval echo configure:14199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14193 if test -z "$ac_err"; then | 14200 if test -z "$ac_err"; then |
| 14194 rm -rf conftest* | 14201 rm -rf conftest* |
| 14195 eval "ac_cv_header_$ac_safe=yes" | 14202 eval "ac_cv_header_$ac_safe=yes" |
| 14196 else | 14203 else |
| 14204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 14205 echo "$ac_t""yes" 1>&6 | 14212 echo "$ac_t""yes" 1>&6 |
| 14206 | 14213 |
| 14207 | 14214 |
| 14208 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14215 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
| 14209 echo "configure:14210: checking for AuOpenServer in -laudio" >&5 | 14216 echo "configure:14217: checking for AuOpenServer in -laudio" >&5 |
| 14210 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14217 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
| 14211 | 14218 |
| 14212 xe_check_libs=" -laudio " | 14219 xe_check_libs=" -laudio " |
| 14213 cat > conftest.$ac_ext <<EOF | 14220 cat > conftest.$ac_ext <<EOF |
| 14214 #line 14215 "configure" | 14221 #line 14222 "configure" |
| 14215 #include "confdefs.h" | 14222 #include "confdefs.h" |
| 14216 /* Override any gcc2 internal prototype to avoid an error. */ | 14223 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14217 /* We use char because int might match the return type of a gcc2 | 14224 /* We use char because int might match the return type of a gcc2 |
| 14218 builtin and then its argument prototype would still apply. */ | 14225 builtin and then its argument prototype would still apply. */ |
| 14219 char AuOpenServer(); | 14226 char AuOpenServer(); |
| 14220 | 14227 |
| 14221 int main() { | 14228 int main() { |
| 14222 AuOpenServer() | 14229 AuOpenServer() |
| 14223 ; return 0; } | 14230 ; return 0; } |
| 14224 EOF | 14231 EOF |
| 14225 if { (eval echo configure:14226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14232 if { (eval echo configure:14233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14226 rm -rf conftest* | 14233 rm -rf conftest* |
| 14227 eval "ac_cv_lib_$ac_lib_var=yes" | 14234 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14228 else | 14235 else |
| 14229 echo "configure: failed program was:" >&5 | 14236 echo "configure: failed program was:" >&5 |
| 14230 cat conftest.$ac_ext >&5 | 14237 cat conftest.$ac_ext >&5 |
| 14259 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14266 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 14260 echo " xemacs will be linked with \"nas.o\"" | 14267 echo " xemacs will be linked with \"nas.o\"" |
| 14261 fi | 14268 fi |
| 14262 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14269 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 14263 cat > conftest.$ac_ext <<EOF | 14270 cat > conftest.$ac_ext <<EOF |
| 14264 #line 14265 "configure" | 14271 #line 14272 "configure" |
| 14265 #include "confdefs.h" | 14272 #include "confdefs.h" |
| 14266 #include <audio/Xtutil.h> | 14273 #include <audio/Xtutil.h> |
| 14267 EOF | 14274 EOF |
| 14268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 14269 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14276 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 14290 | 14297 |
| 14291 if test "$with_esd_sound" != "no"; then | 14298 if test "$with_esd_sound" != "no"; then |
| 14292 # Extract the first word of "esd-config", so it can be a program name with args. | 14299 # Extract the first word of "esd-config", so it can be a program name with args. |
| 14293 set dummy esd-config; ac_word=$2 | 14300 set dummy esd-config; ac_word=$2 |
| 14294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14301 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 14295 echo "configure:14296: checking for $ac_word" >&5 | 14302 echo "configure:14303: checking for $ac_word" >&5 |
| 14296 | 14303 |
| 14297 if test -n "$have_esd_config"; then | 14304 if test -n "$have_esd_config"; then |
| 14298 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14305 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
| 14299 else | 14306 else |
| 14300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14307 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 14319 if test "$have_esd_config" = "yes"; then | 14326 if test "$have_esd_config" = "yes"; then |
| 14320 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14327 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
| 14321 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 | 14328 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 |
| 14322 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14329 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
| 14323 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14330 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
| 14324 echo "configure:14325: checking for esd_play_stream" >&5 | 14331 echo "configure:14332: checking for esd_play_stream" >&5 |
| 14325 | 14332 |
| 14326 cat > conftest.$ac_ext <<EOF | 14333 cat > conftest.$ac_ext <<EOF |
| 14327 #line 14328 "configure" | 14334 #line 14335 "configure" |
| 14328 #include "confdefs.h" | 14335 #include "confdefs.h" |
| 14329 /* System header to define __stub macros and hopefully few prototypes, | 14336 /* System header to define __stub macros and hopefully few prototypes, |
| 14330 which can conflict with char esd_play_stream(); below. */ | 14337 which can conflict with char esd_play_stream(); below. */ |
| 14331 #include <assert.h> | 14338 #include <assert.h> |
| 14332 /* Override any gcc2 internal prototype to avoid an error. */ | 14339 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14345 esd_play_stream(); | 14352 esd_play_stream(); |
| 14346 #endif | 14353 #endif |
| 14347 | 14354 |
| 14348 ; return 0; } | 14355 ; return 0; } |
| 14349 EOF | 14356 EOF |
| 14350 if { (eval echo configure:14351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14357 if { (eval echo configure:14358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14351 rm -rf conftest* | 14358 rm -rf conftest* |
| 14352 eval "ac_cv_func_esd_play_stream=yes" | 14359 eval "ac_cv_func_esd_play_stream=yes" |
| 14353 else | 14360 else |
| 14354 echo "configure: failed program was:" >&5 | 14361 echo "configure: failed program was:" >&5 |
| 14355 cat conftest.$ac_ext >&5 | 14362 cat conftest.$ac_ext >&5 |
| 14396 | 14403 |
| 14397 test -z "$with_tty" && with_tty=yes | 14404 test -z "$with_tty" && with_tty=yes |
| 14398 | 14405 |
| 14399 if test "$with_tty" = "yes" ; then | 14406 if test "$with_tty" = "yes" ; then |
| 14400 echo "checking for TTY-related features" 1>&6 | 14407 echo "checking for TTY-related features" 1>&6 |
| 14401 echo "configure:14402: checking for TTY-related features" >&5 | 14408 echo "configure:14409: checking for TTY-related features" >&5 |
| 14402 { test "$extra_verbose" = "yes" && cat << \EOF | 14409 { test "$extra_verbose" = "yes" && cat << \EOF |
| 14403 Defining HAVE_TTY | 14410 Defining HAVE_TTY |
| 14404 EOF | 14411 EOF |
| 14405 cat >> confdefs.h <<\EOF | 14412 cat >> confdefs.h <<\EOF |
| 14406 #define HAVE_TTY 1 | 14413 #define HAVE_TTY 1 |
| 14409 | 14416 |
| 14410 | 14417 |
| 14411 if test -z "$with_ncurses"; then | 14418 if test -z "$with_ncurses"; then |
| 14412 | 14419 |
| 14413 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14420 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 14414 echo "configure:14415: checking for tgetent in -lncurses" >&5 | 14421 echo "configure:14422: checking for tgetent in -lncurses" >&5 |
| 14415 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14422 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 14416 | 14423 |
| 14417 xe_check_libs=" -lncurses " | 14424 xe_check_libs=" -lncurses " |
| 14418 cat > conftest.$ac_ext <<EOF | 14425 cat > conftest.$ac_ext <<EOF |
| 14419 #line 14420 "configure" | 14426 #line 14427 "configure" |
| 14420 #include "confdefs.h" | 14427 #include "confdefs.h" |
| 14421 /* Override any gcc2 internal prototype to avoid an error. */ | 14428 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14422 /* We use char because int might match the return type of a gcc2 | 14429 /* We use char because int might match the return type of a gcc2 |
| 14423 builtin and then its argument prototype would still apply. */ | 14430 builtin and then its argument prototype would still apply. */ |
| 14424 char tgetent(); | 14431 char tgetent(); |
| 14425 | 14432 |
| 14426 int main() { | 14433 int main() { |
| 14427 tgetent() | 14434 tgetent() |
| 14428 ; return 0; } | 14435 ; return 0; } |
| 14429 EOF | 14436 EOF |
| 14430 if { (eval echo configure:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14437 if { (eval echo configure:14438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14431 rm -rf conftest* | 14438 rm -rf conftest* |
| 14432 eval "ac_cv_lib_$ac_lib_var=yes" | 14439 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14433 else | 14440 else |
| 14434 echo "configure: failed program was:" >&5 | 14441 echo "configure: failed program was:" >&5 |
| 14435 cat conftest.$ac_ext >&5 | 14442 cat conftest.$ac_ext >&5 |
| 14458 EOF | 14465 EOF |
| 14459 } | 14466 } |
| 14460 | 14467 |
| 14461 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14468 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 14462 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14469 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 14463 echo "configure:14464: checking for ncurses/curses.h" >&5 | 14470 echo "configure:14471: checking for ncurses/curses.h" >&5 |
| 14464 | 14471 |
| 14465 cat > conftest.$ac_ext <<EOF | 14472 cat > conftest.$ac_ext <<EOF |
| 14466 #line 14467 "configure" | 14473 #line 14474 "configure" |
| 14467 #include "confdefs.h" | 14474 #include "confdefs.h" |
| 14468 #include <ncurses/curses.h> | 14475 #include <ncurses/curses.h> |
| 14469 EOF | 14476 EOF |
| 14470 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14471 { (eval echo configure:14472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14478 { (eval echo configure:14479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14472 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14473 if test -z "$ac_err"; then | 14480 if test -z "$ac_err"; then |
| 14474 rm -rf conftest* | 14481 rm -rf conftest* |
| 14475 eval "ac_cv_header_$ac_safe=yes" | 14482 eval "ac_cv_header_$ac_safe=yes" |
| 14476 else | 14483 else |
| 14488 echo "$ac_t""no" 1>&6 | 14495 echo "$ac_t""no" 1>&6 |
| 14489 fi | 14496 fi |
| 14490 | 14497 |
| 14491 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14498 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 14492 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14499 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 14493 echo "configure:14494: checking for ncurses/term.h" >&5 | 14500 echo "configure:14501: checking for ncurses/term.h" >&5 |
| 14494 | 14501 |
| 14495 cat > conftest.$ac_ext <<EOF | 14502 cat > conftest.$ac_ext <<EOF |
| 14496 #line 14497 "configure" | 14503 #line 14504 "configure" |
| 14497 #include "confdefs.h" | 14504 #include "confdefs.h" |
| 14498 #include <ncurses/term.h> | 14505 #include <ncurses/term.h> |
| 14499 EOF | 14506 EOF |
| 14500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14501 { (eval echo configure:14502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14508 { (eval echo configure:14509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14503 if test -z "$ac_err"; then | 14510 if test -z "$ac_err"; then |
| 14504 rm -rf conftest* | 14511 rm -rf conftest* |
| 14505 eval "ac_cv_header_$ac_safe=yes" | 14512 eval "ac_cv_header_$ac_safe=yes" |
| 14506 else | 14513 else |
| 14526 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14533 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 14527 save_c_switch_site="$c_switch_site" | 14534 save_c_switch_site="$c_switch_site" |
| 14528 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14535 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 14529 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14536 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 14530 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14537 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 14531 echo "configure:14532: checking for ncurses/curses.h" >&5 | 14538 echo "configure:14539: checking for ncurses/curses.h" >&5 |
| 14532 | 14539 |
| 14533 cat > conftest.$ac_ext <<EOF | 14540 cat > conftest.$ac_ext <<EOF |
| 14534 #line 14535 "configure" | 14541 #line 14542 "configure" |
| 14535 #include "confdefs.h" | 14542 #include "confdefs.h" |
| 14536 #include <ncurses/curses.h> | 14543 #include <ncurses/curses.h> |
| 14537 EOF | 14544 EOF |
| 14538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14539 { (eval echo configure:14540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14546 { (eval echo configure:14547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14541 if test -z "$ac_err"; then | 14548 if test -z "$ac_err"; then |
| 14542 rm -rf conftest* | 14549 rm -rf conftest* |
| 14543 eval "ac_cv_header_$ac_safe=yes" | 14550 eval "ac_cv_header_$ac_safe=yes" |
| 14544 else | 14551 else |
| 14569 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14576 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 14570 else | 14577 else |
| 14571 for lib in curses termlib termcap; do | 14578 for lib in curses termlib termcap; do |
| 14572 | 14579 |
| 14573 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14580 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 14574 echo "configure:14575: checking for tgetent in -l$lib" >&5 | 14581 echo "configure:14582: checking for tgetent in -l$lib" >&5 |
| 14575 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14582 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 14576 | 14583 |
| 14577 xe_check_libs=" -l$lib " | 14584 xe_check_libs=" -l$lib " |
| 14578 cat > conftest.$ac_ext <<EOF | 14585 cat > conftest.$ac_ext <<EOF |
| 14579 #line 14580 "configure" | 14586 #line 14587 "configure" |
| 14580 #include "confdefs.h" | 14587 #include "confdefs.h" |
| 14581 /* Override any gcc2 internal prototype to avoid an error. */ | 14588 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14582 /* We use char because int might match the return type of a gcc2 | 14589 /* We use char because int might match the return type of a gcc2 |
| 14583 builtin and then its argument prototype would still apply. */ | 14590 builtin and then its argument prototype would still apply. */ |
| 14584 char tgetent(); | 14591 char tgetent(); |
| 14585 | 14592 |
| 14586 int main() { | 14593 int main() { |
| 14587 tgetent() | 14594 tgetent() |
| 14588 ; return 0; } | 14595 ; return 0; } |
| 14589 EOF | 14596 EOF |
| 14590 if { (eval echo configure:14591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14597 if { (eval echo configure:14598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14591 rm -rf conftest* | 14598 rm -rf conftest* |
| 14592 eval "ac_cv_lib_$ac_lib_var=yes" | 14599 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14593 else | 14600 else |
| 14594 echo "configure: failed program was:" >&5 | 14601 echo "configure: failed program was:" >&5 |
| 14595 cat conftest.$ac_ext >&5 | 14602 cat conftest.$ac_ext >&5 |
| 14616 if test -n "$libs_termcap"; then | 14623 if test -n "$libs_termcap"; then |
| 14617 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14624 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 14618 else | 14625 else |
| 14619 | 14626 |
| 14620 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14627 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 14621 echo "configure:14622: checking for tgetent in -lcurses" >&5 | 14628 echo "configure:14629: checking for tgetent in -lcurses" >&5 |
| 14622 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14629 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 14623 | 14630 |
| 14624 xe_check_libs=" -lcurses " | 14631 xe_check_libs=" -lcurses " |
| 14625 cat > conftest.$ac_ext <<EOF | 14632 cat > conftest.$ac_ext <<EOF |
| 14626 #line 14627 "configure" | 14633 #line 14634 "configure" |
| 14627 #include "confdefs.h" | 14634 #include "confdefs.h" |
| 14628 /* Override any gcc2 internal prototype to avoid an error. */ | 14635 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14629 /* We use char because int might match the return type of a gcc2 | 14636 /* We use char because int might match the return type of a gcc2 |
| 14630 builtin and then its argument prototype would still apply. */ | 14637 builtin and then its argument prototype would still apply. */ |
| 14631 char tgetent(); | 14638 char tgetent(); |
| 14632 | 14639 |
| 14633 int main() { | 14640 int main() { |
| 14634 tgetent() | 14641 tgetent() |
| 14635 ; return 0; } | 14642 ; return 0; } |
| 14636 EOF | 14643 EOF |
| 14637 if { (eval echo configure:14638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14644 if { (eval echo configure:14645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14638 rm -rf conftest* | 14645 rm -rf conftest* |
| 14639 eval "ac_cv_lib_$ac_lib_var=yes" | 14646 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14640 else | 14647 else |
| 14641 echo "configure: failed program was:" >&5 | 14648 echo "configure: failed program was:" >&5 |
| 14642 cat conftest.$ac_ext >&5 | 14649 cat conftest.$ac_ext >&5 |
| 14650 echo "$ac_t""yes" 1>&6 | 14657 echo "$ac_t""yes" 1>&6 |
| 14651 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14658 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 14652 else | 14659 else |
| 14653 echo "$ac_t""no" 1>&6 | 14660 echo "$ac_t""no" 1>&6 |
| 14654 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14661 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 14655 echo "configure:14656: checking for tgetent in -ltermcap" >&5 | 14662 echo "configure:14663: checking for tgetent in -ltermcap" >&5 |
| 14656 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14663 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 14657 | 14664 |
| 14658 xe_check_libs=" -ltermcap " | 14665 xe_check_libs=" -ltermcap " |
| 14659 cat > conftest.$ac_ext <<EOF | 14666 cat > conftest.$ac_ext <<EOF |
| 14660 #line 14661 "configure" | 14667 #line 14668 "configure" |
| 14661 #include "confdefs.h" | 14668 #include "confdefs.h" |
| 14662 /* Override any gcc2 internal prototype to avoid an error. */ | 14669 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14663 /* We use char because int might match the return type of a gcc2 | 14670 /* We use char because int might match the return type of a gcc2 |
| 14664 builtin and then its argument prototype would still apply. */ | 14671 builtin and then its argument prototype would still apply. */ |
| 14665 char tgetent(); | 14672 char tgetent(); |
| 14666 | 14673 |
| 14667 int main() { | 14674 int main() { |
| 14668 tgetent() | 14675 tgetent() |
| 14669 ; return 0; } | 14676 ; return 0; } |
| 14670 EOF | 14677 EOF |
| 14671 if { (eval echo configure:14672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14678 if { (eval echo configure:14679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14672 rm -rf conftest* | 14679 rm -rf conftest* |
| 14673 eval "ac_cv_lib_$ac_lib_var=yes" | 14680 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14674 else | 14681 else |
| 14675 echo "configure: failed program was:" >&5 | 14682 echo "configure: failed program was:" >&5 |
| 14676 cat conftest.$ac_ext >&5 | 14683 cat conftest.$ac_ext >&5 |
| 14714 } | 14721 } |
| 14715 | 14722 |
| 14716 | 14723 |
| 14717 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14724 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 14718 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14725 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 14719 echo "configure:14720: checking for gpm.h" >&5 | 14726 echo "configure:14727: checking for gpm.h" >&5 |
| 14720 | 14727 |
| 14721 cat > conftest.$ac_ext <<EOF | 14728 cat > conftest.$ac_ext <<EOF |
| 14722 #line 14723 "configure" | 14729 #line 14730 "configure" |
| 14723 #include "confdefs.h" | 14730 #include "confdefs.h" |
| 14724 #include <gpm.h> | 14731 #include <gpm.h> |
| 14725 EOF | 14732 EOF |
| 14726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14727 { (eval echo configure:14728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14734 { (eval echo configure:14735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14729 if test -z "$ac_err"; then | 14736 if test -z "$ac_err"; then |
| 14730 rm -rf conftest* | 14737 rm -rf conftest* |
| 14731 eval "ac_cv_header_$ac_safe=yes" | 14738 eval "ac_cv_header_$ac_safe=yes" |
| 14732 else | 14739 else |
| 14745 with_gpm=no | 14752 with_gpm=no |
| 14746 fi | 14753 fi |
| 14747 } | 14754 } |
| 14748 test -z "$with_gpm" && { | 14755 test -z "$with_gpm" && { |
| 14749 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14756 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 14750 echo "configure:14751: checking for Gpm_Open in -lgpm" >&5 | 14757 echo "configure:14758: checking for Gpm_Open in -lgpm" >&5 |
| 14751 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14758 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 14752 | 14759 |
| 14753 xe_check_libs=" -lgpm " | 14760 xe_check_libs=" -lgpm " |
| 14754 cat > conftest.$ac_ext <<EOF | 14761 cat > conftest.$ac_ext <<EOF |
| 14755 #line 14756 "configure" | 14762 #line 14763 "configure" |
| 14756 #include "confdefs.h" | 14763 #include "confdefs.h" |
| 14757 /* Override any gcc2 internal prototype to avoid an error. */ | 14764 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14758 /* We use char because int might match the return type of a gcc2 | 14765 /* We use char because int might match the return type of a gcc2 |
| 14759 builtin and then its argument prototype would still apply. */ | 14766 builtin and then its argument prototype would still apply. */ |
| 14760 char Gpm_Open(); | 14767 char Gpm_Open(); |
| 14761 | 14768 |
| 14762 int main() { | 14769 int main() { |
| 14763 Gpm_Open() | 14770 Gpm_Open() |
| 14764 ; return 0; } | 14771 ; return 0; } |
| 14765 EOF | 14772 EOF |
| 14766 if { (eval echo configure:14767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14773 if { (eval echo configure:14774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14767 rm -rf conftest* | 14774 rm -rf conftest* |
| 14768 eval "ac_cv_lib_$ac_lib_var=yes" | 14775 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14769 else | 14776 else |
| 14770 echo "configure: failed program was:" >&5 | 14777 echo "configure: failed program was:" >&5 |
| 14771 cat conftest.$ac_ext >&5 | 14778 cat conftest.$ac_ext >&5 |
| 14804 done | 14811 done |
| 14805 fi | 14812 fi |
| 14806 | 14813 |
| 14807 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14814 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
| 14808 != "no no no" && echo "checking for database support" 1>&6 | 14815 != "no no no" && echo "checking for database support" 1>&6 |
| 14809 echo "configure:14810: checking for database support" >&5 | 14816 echo "configure:14817: checking for database support" >&5 |
| 14810 | 14817 |
| 14811 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14818 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
| 14812 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14819 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 14813 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14820 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 14814 echo "configure:14815: checking for ndbm.h" >&5 | 14821 echo "configure:14822: checking for ndbm.h" >&5 |
| 14815 | 14822 |
| 14816 cat > conftest.$ac_ext <<EOF | 14823 cat > conftest.$ac_ext <<EOF |
| 14817 #line 14818 "configure" | 14824 #line 14825 "configure" |
| 14818 #include "confdefs.h" | 14825 #include "confdefs.h" |
| 14819 #include <ndbm.h> | 14826 #include <ndbm.h> |
| 14820 EOF | 14827 EOF |
| 14821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14822 { (eval echo configure:14823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14829 { (eval echo configure:14830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14830 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14824 if test -z "$ac_err"; then | 14831 if test -z "$ac_err"; then |
| 14825 rm -rf conftest* | 14832 rm -rf conftest* |
| 14826 eval "ac_cv_header_$ac_safe=yes" | 14833 eval "ac_cv_header_$ac_safe=yes" |
| 14827 else | 14834 else |
| 14847 fi | 14854 fi |
| 14848 | 14855 |
| 14849 if test "$with_database_gdbm" != "no"; then | 14856 if test "$with_database_gdbm" != "no"; then |
| 14850 | 14857 |
| 14851 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14858 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 14852 echo "configure:14853: checking for dbm_open in -lgdbm" >&5 | 14859 echo "configure:14860: checking for dbm_open in -lgdbm" >&5 |
| 14853 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14860 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 14854 | 14861 |
| 14855 xe_check_libs=" -lgdbm " | 14862 xe_check_libs=" -lgdbm " |
| 14856 cat > conftest.$ac_ext <<EOF | 14863 cat > conftest.$ac_ext <<EOF |
| 14857 #line 14858 "configure" | 14864 #line 14865 "configure" |
| 14858 #include "confdefs.h" | 14865 #include "confdefs.h" |
| 14859 /* Override any gcc2 internal prototype to avoid an error. */ | 14866 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14860 /* We use char because int might match the return type of a gcc2 | 14867 /* We use char because int might match the return type of a gcc2 |
| 14861 builtin and then its argument prototype would still apply. */ | 14868 builtin and then its argument prototype would still apply. */ |
| 14862 char dbm_open(); | 14869 char dbm_open(); |
| 14863 | 14870 |
| 14864 int main() { | 14871 int main() { |
| 14865 dbm_open() | 14872 dbm_open() |
| 14866 ; return 0; } | 14873 ; return 0; } |
| 14867 EOF | 14874 EOF |
| 14868 if { (eval echo configure:14869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14875 if { (eval echo configure:14876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14869 rm -rf conftest* | 14876 rm -rf conftest* |
| 14870 eval "ac_cv_lib_$ac_lib_var=yes" | 14877 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14871 else | 14878 else |
| 14872 echo "configure: failed program was:" >&5 | 14879 echo "configure: failed program was:" >&5 |
| 14873 cat conftest.$ac_ext >&5 | 14880 cat conftest.$ac_ext >&5 |
| 14891 | 14898 |
| 14892 fi | 14899 fi |
| 14893 | 14900 |
| 14894 if test "$with_database_dbm" != "no"; then | 14901 if test "$with_database_dbm" != "no"; then |
| 14895 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14902 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 14896 echo "configure:14897: checking for dbm_open" >&5 | 14903 echo "configure:14904: checking for dbm_open" >&5 |
| 14897 | 14904 |
| 14898 cat > conftest.$ac_ext <<EOF | 14905 cat > conftest.$ac_ext <<EOF |
| 14899 #line 14900 "configure" | 14906 #line 14907 "configure" |
| 14900 #include "confdefs.h" | 14907 #include "confdefs.h" |
| 14901 /* System header to define __stub macros and hopefully few prototypes, | 14908 /* System header to define __stub macros and hopefully few prototypes, |
| 14902 which can conflict with char dbm_open(); below. */ | 14909 which can conflict with char dbm_open(); below. */ |
| 14903 #include <assert.h> | 14910 #include <assert.h> |
| 14904 /* Override any gcc2 internal prototype to avoid an error. */ | 14911 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14917 dbm_open(); | 14924 dbm_open(); |
| 14918 #endif | 14925 #endif |
| 14919 | 14926 |
| 14920 ; return 0; } | 14927 ; return 0; } |
| 14921 EOF | 14928 EOF |
| 14922 if { (eval echo configure:14923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14929 if { (eval echo configure:14930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14923 rm -rf conftest* | 14930 rm -rf conftest* |
| 14924 eval "ac_cv_func_dbm_open=yes" | 14931 eval "ac_cv_func_dbm_open=yes" |
| 14925 else | 14932 else |
| 14926 echo "configure: failed program was:" >&5 | 14933 echo "configure: failed program was:" >&5 |
| 14927 cat conftest.$ac_ext >&5 | 14934 cat conftest.$ac_ext >&5 |
| 14936 else | 14943 else |
| 14937 echo "$ac_t""no" 1>&6 | 14944 echo "$ac_t""no" 1>&6 |
| 14938 | 14945 |
| 14939 | 14946 |
| 14940 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14947 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 14941 echo "configure:14942: checking for dbm_open in -ldbm" >&5 | 14948 echo "configure:14949: checking for dbm_open in -ldbm" >&5 |
| 14942 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14949 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 14943 | 14950 |
| 14944 xe_check_libs=" -ldbm " | 14951 xe_check_libs=" -ldbm " |
| 14945 cat > conftest.$ac_ext <<EOF | 14952 cat > conftest.$ac_ext <<EOF |
| 14946 #line 14947 "configure" | 14953 #line 14954 "configure" |
| 14947 #include "confdefs.h" | 14954 #include "confdefs.h" |
| 14948 /* Override any gcc2 internal prototype to avoid an error. */ | 14955 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14949 /* We use char because int might match the return type of a gcc2 | 14956 /* We use char because int might match the return type of a gcc2 |
| 14950 builtin and then its argument prototype would still apply. */ | 14957 builtin and then its argument prototype would still apply. */ |
| 14951 char dbm_open(); | 14958 char dbm_open(); |
| 14952 | 14959 |
| 14953 int main() { | 14960 int main() { |
| 14954 dbm_open() | 14961 dbm_open() |
| 14955 ; return 0; } | 14962 ; return 0; } |
| 14956 EOF | 14963 EOF |
| 14957 if { (eval echo configure:14958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14964 if { (eval echo configure:14965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14958 rm -rf conftest* | 14965 rm -rf conftest* |
| 14959 eval "ac_cv_lib_$ac_lib_var=yes" | 14966 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14960 else | 14967 else |
| 14961 echo "configure: failed program was:" >&5 | 14968 echo "configure: failed program was:" >&5 |
| 14962 cat conftest.$ac_ext >&5 | 14969 cat conftest.$ac_ext >&5 |
| 14993 } | 15000 } |
| 14994 | 15001 |
| 14995 | 15002 |
| 14996 if test "$with_database_berkdb" != "no"; then | 15003 if test "$with_database_berkdb" != "no"; then |
| 14997 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15004 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 14998 echo "configure:14999: checking for Berkeley db.h" >&5 | 15005 echo "configure:15006: checking for Berkeley db.h" >&5 |
| 14999 for header in "db/db.h" "db.h"; do | 15006 for header in "db/db.h" "db.h"; do |
| 15000 cat > conftest.$ac_ext <<EOF | 15007 cat > conftest.$ac_ext <<EOF |
| 15001 #line 15002 "configure" | 15008 #line 15009 "configure" |
| 15002 #include "confdefs.h" | 15009 #include "confdefs.h" |
| 15003 | 15010 |
| 15004 #include <stdlib.h> | 15011 #include <stdlib.h> |
| 15005 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15012 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
| 15006 #ifdef HAVE_INTTYPES_H | 15013 #ifdef HAVE_INTTYPES_H |
| 15018 | 15025 |
| 15019 int main() { | 15026 int main() { |
| 15020 | 15027 |
| 15021 ; return 0; } | 15028 ; return 0; } |
| 15022 EOF | 15029 EOF |
| 15023 if { (eval echo configure:15024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15030 if { (eval echo configure:15031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 15024 rm -rf conftest* | 15031 rm -rf conftest* |
| 15025 db_h_file="$header"; break | 15032 db_h_file="$header"; break |
| 15026 else | 15033 else |
| 15027 echo "configure: failed program was:" >&5 | 15034 echo "configure: failed program was:" >&5 |
| 15028 cat conftest.$ac_ext >&5 | 15035 cat conftest.$ac_ext >&5 |
| 15034 else echo "$ac_t""$db_h_file" 1>&6 | 15041 else echo "$ac_t""$db_h_file" 1>&6 |
| 15035 fi | 15042 fi |
| 15036 | 15043 |
| 15037 if test "$with_database_berkdb" != "no"; then | 15044 if test "$with_database_berkdb" != "no"; then |
| 15038 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15045 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 15039 echo "configure:15040: checking for Berkeley DB version" >&5 | 15046 echo "configure:15047: checking for Berkeley DB version" >&5 |
| 15040 cat > conftest.$ac_ext <<EOF | 15047 cat > conftest.$ac_ext <<EOF |
| 15041 #line 15042 "configure" | 15048 #line 15049 "configure" |
| 15042 #include "confdefs.h" | 15049 #include "confdefs.h" |
| 15043 #include <$db_h_file> | 15050 #include <$db_h_file> |
| 15044 #if DB_VERSION_MAJOR > 1 | 15051 #if DB_VERSION_MAJOR > 1 |
| 15045 yes | 15052 yes |
| 15046 #endif | 15053 #endif |
| 15048 EOF | 15055 EOF |
| 15049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 15050 egrep "yes" >/dev/null 2>&1; then | 15057 egrep "yes" >/dev/null 2>&1; then |
| 15051 rm -rf conftest* | 15058 rm -rf conftest* |
| 15052 cat > conftest.$ac_ext <<EOF | 15059 cat > conftest.$ac_ext <<EOF |
| 15053 #line 15054 "configure" | 15060 #line 15061 "configure" |
| 15054 #include "confdefs.h" | 15061 #include "confdefs.h" |
| 15055 #include <$db_h_file> | 15062 #include <$db_h_file> |
| 15056 #if DB_VERSION_MAJOR > 2 | 15063 #if DB_VERSION_MAJOR > 2 |
| 15057 yes | 15064 yes |
| 15058 #endif | 15065 #endif |
| 15060 EOF | 15067 EOF |
| 15061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 15062 egrep "yes" >/dev/null 2>&1; then | 15069 egrep "yes" >/dev/null 2>&1; then |
| 15063 rm -rf conftest* | 15070 rm -rf conftest* |
| 15064 cat > conftest.$ac_ext <<EOF | 15071 cat > conftest.$ac_ext <<EOF |
| 15065 #line 15066 "configure" | 15072 #line 15073 "configure" |
| 15066 #include "confdefs.h" | 15073 #include "confdefs.h" |
| 15067 #include <$db_h_file> | 15074 #include <$db_h_file> |
| 15068 #if DB_VERSION_MAJOR > 3 | 15075 #if DB_VERSION_MAJOR > 3 |
| 15069 yes | 15076 yes |
| 15070 #endif | 15077 #endif |
| 15094 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15101 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
| 15095 fi | 15102 fi |
| 15096 rm -f conftest* | 15103 rm -f conftest* |
| 15097 | 15104 |
| 15098 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15105 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 15099 echo "configure:15100: checking for $dbfunc" >&5 | 15106 echo "configure:15107: checking for $dbfunc" >&5 |
| 15100 | 15107 |
| 15101 cat > conftest.$ac_ext <<EOF | 15108 cat > conftest.$ac_ext <<EOF |
| 15102 #line 15103 "configure" | 15109 #line 15110 "configure" |
| 15103 #include "confdefs.h" | 15110 #include "confdefs.h" |
| 15104 /* System header to define __stub macros and hopefully few prototypes, | 15111 /* System header to define __stub macros and hopefully few prototypes, |
| 15105 which can conflict with char $dbfunc(); below. */ | 15112 which can conflict with char $dbfunc(); below. */ |
| 15106 #include <assert.h> | 15113 #include <assert.h> |
| 15107 /* Override any gcc2 internal prototype to avoid an error. */ | 15114 /* Override any gcc2 internal prototype to avoid an error. */ |
| 15120 $dbfunc(); | 15127 $dbfunc(); |
| 15121 #endif | 15128 #endif |
| 15122 | 15129 |
| 15123 ; return 0; } | 15130 ; return 0; } |
| 15124 EOF | 15131 EOF |
| 15125 if { (eval echo configure:15126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15132 if { (eval echo configure:15133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 15126 rm -rf conftest* | 15133 rm -rf conftest* |
| 15127 eval "ac_cv_func_$dbfunc=yes" | 15134 eval "ac_cv_func_$dbfunc=yes" |
| 15128 else | 15135 else |
| 15129 echo "configure: failed program was:" >&5 | 15136 echo "configure: failed program was:" >&5 |
| 15130 cat conftest.$ac_ext >&5 | 15137 cat conftest.$ac_ext >&5 |
| 15139 else | 15146 else |
| 15140 echo "$ac_t""no" 1>&6 | 15147 echo "$ac_t""no" 1>&6 |
| 15141 | 15148 |
| 15142 | 15149 |
| 15143 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15150 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 15144 echo "configure:15145: checking for $dbfunc in -ldb" >&5 | 15151 echo "configure:15152: checking for $dbfunc in -ldb" >&5 |
| 15145 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15152 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 15146 | 15153 |
| 15147 xe_check_libs=" -ldb " | 15154 xe_check_libs=" -ldb " |
| 15148 cat > conftest.$ac_ext <<EOF | 15155 cat > conftest.$ac_ext <<EOF |
| 15149 #line 15150 "configure" | 15156 #line 15157 "configure" |
| 15150 #include "confdefs.h" | 15157 #include "confdefs.h" |
| 15151 /* Override any gcc2 internal prototype to avoid an error. */ | 15158 /* Override any gcc2 internal prototype to avoid an error. */ |
| 15152 /* We use char because int might match the return type of a gcc2 | 15159 /* We use char because int might match the return type of a gcc2 |
| 15153 builtin and then its argument prototype would still apply. */ | 15160 builtin and then its argument prototype would still apply. */ |
| 15154 char $dbfunc(); | 15161 char $dbfunc(); |
| 15155 | 15162 |
| 15156 int main() { | 15163 int main() { |
| 15157 $dbfunc() | 15164 $dbfunc() |
| 15158 ; return 0; } | 15165 ; return 0; } |
| 15159 EOF | 15166 EOF |
| 15160 if { (eval echo configure:15161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15167 if { (eval echo configure:15168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 15161 rm -rf conftest* | 15168 rm -rf conftest* |
| 15162 eval "ac_cv_lib_$ac_lib_var=yes" | 15169 eval "ac_cv_lib_$ac_lib_var=yes" |
| 15163 else | 15170 else |
| 15164 echo "configure: failed program was:" >&5 | 15171 echo "configure: failed program was:" >&5 |
| 15165 cat conftest.$ac_ext >&5 | 15172 cat conftest.$ac_ext >&5 |
| 15189 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15196 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
| 15190 rm -f $tempcname | 15197 rm -f $tempcname |
| 15191 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15198 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
| 15192 | 15199 |
| 15193 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15200 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 15194 echo "configure:15195: checking for $dbfunc in -ldb" >&5 | 15201 echo "configure:15202: checking for $dbfunc in -ldb" >&5 |
| 15195 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15202 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 15196 | 15203 |
| 15197 xe_check_libs=" -ldb " | 15204 xe_check_libs=" -ldb " |
| 15198 cat > conftest.$ac_ext <<EOF | 15205 cat > conftest.$ac_ext <<EOF |
| 15199 #line 15200 "configure" | 15206 #line 15207 "configure" |
| 15200 #include "confdefs.h" | 15207 #include "confdefs.h" |
| 15201 /* Override any gcc2 internal prototype to avoid an error. */ | 15208 /* Override any gcc2 internal prototype to avoid an error. */ |
| 15202 /* We use char because int might match the return type of a gcc2 | 15209 /* We use char because int might match the return type of a gcc2 |
| 15203 builtin and then its argument prototype would still apply. */ | 15210 builtin and then its argument prototype would still apply. */ |
| 15204 char $dbfunc(); | 15211 char $dbfunc(); |
| 15205 | 15212 |
| 15206 int main() { | 15213 int main() { |
| 15207 $dbfunc() | 15214 $dbfunc() |
| 15208 ; return 0; } | 15215 ; return 0; } |
| 15209 EOF | 15216 EOF |
| 15210 if { (eval echo configure:15211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15217 if { (eval echo configure:15218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 15211 rm -rf conftest* | 15218 rm -rf conftest* |
| 15212 eval "ac_cv_lib_$ac_lib_var=yes" | 15219 eval "ac_cv_lib_$ac_lib_var=yes" |
| 15213 else | 15220 else |
| 15214 echo "configure: failed program was:" >&5 | 15221 echo "configure: failed program was:" >&5 |
| 15215 cat conftest.$ac_ext >&5 | 15222 cat conftest.$ac_ext >&5 |
| 15264 fi | 15271 fi |
| 15265 | 15272 |
| 15266 if test "$with_socks" = "yes"; then | 15273 if test "$with_socks" = "yes"; then |
| 15267 | 15274 |
| 15268 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15275 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 15269 echo "configure:15270: checking for SOCKSinit in -lsocks" >&5 | 15276 echo "configure:15277: checking for SOCKSinit in -lsocks" >&5 |
| 15270 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15277 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 15271 | 15278 |
| 15272 xe_check_libs=" -lsocks " | 15279 xe_check_libs=" -lsocks " |
| 15273 cat > conftest.$ac_ext <<EOF | 15280 cat > conftest.$ac_ext <<EOF |
| 15274 #line 15275 "configure" | 15281 #line 15282 "configure" |
| 15275 #include "confdefs.h" | 15282 #include "confdefs.h" |
| 15276 /* Override any gcc2 internal prototype to avoid an error. */ | 15283 /* Override any gcc2 internal prototype to avoid an error. */ |
| 15277 /* We use char because int might match the return type of a gcc2 | 15284 /* We use char because int might match the return type of a gcc2 |
| 15278 builtin and then its argument prototype would still apply. */ | 15285 builtin and then its argument prototype would still apply. */ |
| 15279 char SOCKSinit(); | 15286 char SOCKSinit(); |
| 15280 | 15287 |
| 15281 int main() { | 15288 int main() { |
| 15282 SOCKSinit() | 15289 SOCKSinit() |
| 15283 ; return 0; } | 15290 ; return 0; } |
| 15284 EOF | 15291 EOF |
| 15285 if { (eval echo configure:15286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15292 if { (eval echo configure:15293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 15286 rm -rf conftest* | 15293 rm -rf conftest* |
| 15287 eval "ac_cv_lib_$ac_lib_var=yes" | 15294 eval "ac_cv_lib_$ac_lib_var=yes" |
| 15288 else | 15295 else |
| 15289 echo "configure: failed program was:" >&5 | 15296 echo "configure: failed program was:" >&5 |
| 15290 cat conftest.$ac_ext >&5 | 15297 cat conftest.$ac_ext >&5 |
| 15334 | 15341 |
| 15335 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15342 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
| 15336 fi | 15343 fi |
| 15337 | 15344 |
| 15338 cat > conftest.$ac_ext <<EOF | 15345 cat > conftest.$ac_ext <<EOF |
| 15339 #line 15340 "configure" | 15346 #line 15347 "configure" |
| 15340 #include "confdefs.h" | 15347 #include "confdefs.h" |
| 15341 int main(int c,char *v[]){return 0;} | 15348 int main(int c,char *v[]){return 0;} |
| 15342 EOF | 15349 EOF |
| 15343 if { (eval echo configure:15344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15350 if { (eval echo configure:15351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 15344 then | 15351 then |
| 15345 : | 15352 : |
| 15346 else | 15353 else |
| 15347 conftest_rc="$?" | 15354 conftest_rc="$?" |
| 15348 echo "configure: failed program was:" >&5 | 15355 echo "configure: failed program was:" >&5 |
