Mercurial > hg > xemacs-beta
comparison configure @ 369:1d62742628b6 r21-1-14
Import from CVS: tag r21-1-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:01:51 +0200 |
parents | a4f53d9b3154 |
children | cc15677e0335 |
comparison
equal
deleted
inserted
replaced
368:397a7324211a | 369:1d62742628b6 |
---|---|
9012 | 9012 |
9013 | 9013 |
9014 # Check for UNIX98 PTYs. | 9014 # Check for UNIX98 PTYs. |
9015 # getpt is a glibc addition which emulates the master device on | 9015 # getpt is a glibc addition which emulates the master device on |
9016 # systems without kernel support. | 9016 # systems without kernel support. |
9017 for ac_func in grantpt unlockpt getpt ptsname | 9017 for ac_func in grantpt unlockpt getpt ptsname killpg |
9018 do | 9018 do |
9019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9020 echo "configure:9021: checking for $ac_func" >&5 | 9020 echo "configure:9021: checking for $ac_func" >&5 |
9021 | 9021 |
9022 cat > conftest.$ac_ext <<EOF | 9022 cat > conftest.$ac_ext <<EOF |
9068 else | 9068 else |
9069 echo "$ac_t""no" 1>&6 | 9069 echo "$ac_t""no" 1>&6 |
9070 fi | 9070 fi |
9071 done | 9071 done |
9072 | 9072 |
9073 | |
9074 for ac_hdr in stropts.h | |
9075 do | |
9076 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
9077 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
9078 echo "configure:9079: checking for $ac_hdr" >&5 | |
9079 | |
9080 cat > conftest.$ac_ext <<EOF | |
9081 #line 9082 "configure" | |
9082 #include "confdefs.h" | |
9083 #include <$ac_hdr> | |
9084 EOF | |
9085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
9086 { (eval echo configure:9087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
9087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
9088 if test -z "$ac_err"; then | |
9089 rm -rf conftest* | |
9090 eval "ac_cv_header_$ac_safe=yes" | |
9091 else | |
9092 echo "$ac_err" >&5 | |
9093 echo "configure: failed program was:" >&5 | |
9094 cat conftest.$ac_ext >&5 | |
9095 rm -rf conftest* | |
9096 eval "ac_cv_header_$ac_safe=no" | |
9097 fi | |
9098 rm -f conftest* | |
9099 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
9100 echo "$ac_t""yes" 1>&6 | |
9101 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
9102 { test "$extra_verbose" = "yes" && cat << EOF | |
9103 Defining $ac_tr_hdr | |
9104 EOF | |
9105 cat >> confdefs.h <<EOF | |
9106 #define $ac_tr_hdr 1 | |
9107 EOF | |
9108 } | |
9109 | |
9110 else | |
9111 echo "$ac_t""no" 1>&6 | |
9112 fi | |
9113 done | |
9114 | |
9115 if test "$ac_cv_header_stropts_h" = "yes"; then | |
9116 for ac_func in isastream | |
9117 do | |
9118 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
9119 echo "configure:9120: checking for $ac_func" >&5 | |
9120 | |
9121 cat > conftest.$ac_ext <<EOF | |
9122 #line 9123 "configure" | |
9123 #include "confdefs.h" | |
9124 /* System header to define __stub macros and hopefully few prototypes, | |
9125 which can conflict with char $ac_func(); below. */ | |
9126 #include <assert.h> | |
9127 /* Override any gcc2 internal prototype to avoid an error. */ | |
9128 /* We use char because int might match the return type of a gcc2 | |
9129 builtin and then its argument prototype would still apply. */ | |
9130 char $ac_func(); | |
9131 | |
9132 int main() { | |
9133 | |
9134 /* The GNU C library defines this for functions which it implements | |
9135 to always fail with ENOSYS. Some functions are actually named | |
9136 something starting with __ and the normal name is an alias. */ | |
9137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
9138 choke me | |
9139 #else | |
9140 $ac_func(); | |
9141 #endif | |
9142 | |
9143 ; return 0; } | |
9144 EOF | |
9145 if { (eval echo configure:9146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
9146 rm -rf conftest* | |
9147 eval "ac_cv_func_$ac_func=yes" | |
9148 else | |
9149 echo "configure: failed program was:" >&5 | |
9150 cat conftest.$ac_ext >&5 | |
9151 rm -rf conftest* | |
9152 eval "ac_cv_func_$ac_func=no" | |
9153 fi | |
9154 rm -f conftest* | |
9155 | |
9156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9157 echo "$ac_t""yes" 1>&6 | |
9158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
9159 { test "$extra_verbose" = "yes" && cat << EOF | |
9160 Defining $ac_tr_func | |
9161 EOF | |
9162 cat >> confdefs.h <<EOF | |
9163 #define $ac_tr_func 1 | |
9164 EOF | |
9165 } | |
9166 | |
9167 else | |
9168 echo "$ac_t""no" 1>&6 | |
9169 fi | |
9170 done | |
9171 | |
9172 for ac_hdr in strtio.h | |
9173 do | |
9174 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
9175 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
9176 echo "configure:9177: checking for $ac_hdr" >&5 | |
9177 | |
9178 cat > conftest.$ac_ext <<EOF | |
9179 #line 9180 "configure" | |
9180 #include "confdefs.h" | |
9181 #include <$ac_hdr> | |
9182 EOF | |
9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
9185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
9186 if test -z "$ac_err"; then | |
9187 rm -rf conftest* | |
9188 eval "ac_cv_header_$ac_safe=yes" | |
9189 else | |
9190 echo "$ac_err" >&5 | |
9191 echo "configure: failed program was:" >&5 | |
9192 cat conftest.$ac_ext >&5 | |
9193 rm -rf conftest* | |
9194 eval "ac_cv_header_$ac_safe=no" | |
9195 fi | |
9196 rm -f conftest* | |
9197 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
9198 echo "$ac_t""yes" 1>&6 | |
9199 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
9200 { test "$extra_verbose" = "yes" && cat << EOF | |
9201 Defining $ac_tr_hdr | |
9202 EOF | |
9203 cat >> confdefs.h <<EOF | |
9204 #define $ac_tr_hdr 1 | |
9205 EOF | |
9206 } | |
9207 | |
9208 else | |
9209 echo "$ac_t""no" 1>&6 | |
9210 fi | |
9211 done | |
9212 fi | |
9073 | 9213 |
9074 | 9214 |
9075 case "$opsys" in | 9215 case "$opsys" in |
9076 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | 9216 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then |
9077 echo " xemacs will be linked with \"realpath.o\"" | 9217 echo " xemacs will be linked with \"realpath.o\"" |
9082 echo " xemacs will be linked with \"realpath.o\"" | 9222 echo " xemacs will be linked with \"realpath.o\"" |
9083 fi ;; | 9223 fi ;; |
9084 * ) for ac_func in realpath | 9224 * ) for ac_func in realpath |
9085 do | 9225 do |
9086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9087 echo "configure:9088: checking for $ac_func" >&5 | 9227 echo "configure:9228: checking for $ac_func" >&5 |
9088 | 9228 |
9089 cat > conftest.$ac_ext <<EOF | 9229 cat > conftest.$ac_ext <<EOF |
9090 #line 9091 "configure" | 9230 #line 9231 "configure" |
9091 #include "confdefs.h" | 9231 #include "confdefs.h" |
9092 /* System header to define __stub macros and hopefully few prototypes, | 9232 /* System header to define __stub macros and hopefully few prototypes, |
9093 which can conflict with char $ac_func(); below. */ | 9233 which can conflict with char $ac_func(); below. */ |
9094 #include <assert.h> | 9234 #include <assert.h> |
9095 /* Override any gcc2 internal prototype to avoid an error. */ | 9235 /* Override any gcc2 internal prototype to avoid an error. */ |
9108 $ac_func(); | 9248 $ac_func(); |
9109 #endif | 9249 #endif |
9110 | 9250 |
9111 ; return 0; } | 9251 ; return 0; } |
9112 EOF | 9252 EOF |
9113 if { (eval echo configure:9114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9253 if { (eval echo configure:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9114 rm -rf conftest* | 9254 rm -rf conftest* |
9115 eval "ac_cv_func_$ac_func=yes" | 9255 eval "ac_cv_func_$ac_func=yes" |
9116 else | 9256 else |
9117 echo "configure: failed program was:" >&5 | 9257 echo "configure: failed program was:" >&5 |
9118 cat conftest.$ac_ext >&5 | 9258 cat conftest.$ac_ext >&5 |
9142 fi ;; | 9282 fi ;; |
9143 esac ;; | 9283 esac ;; |
9144 esac | 9284 esac |
9145 | 9285 |
9146 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9286 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
9147 echo "configure:9148: checking whether netdb declares h_errno" >&5 | 9287 echo "configure:9288: checking whether netdb declares h_errno" >&5 |
9148 cat > conftest.$ac_ext <<EOF | 9288 cat > conftest.$ac_ext <<EOF |
9149 #line 9150 "configure" | 9289 #line 9290 "configure" |
9150 #include "confdefs.h" | 9290 #include "confdefs.h" |
9151 #include <netdb.h> | 9291 #include <netdb.h> |
9152 int main() { | 9292 int main() { |
9153 return h_errno; | 9293 return h_errno; |
9154 ; return 0; } | 9294 ; return 0; } |
9155 EOF | 9295 EOF |
9156 if { (eval echo configure:9157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9296 if { (eval echo configure:9297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9157 rm -rf conftest* | 9297 rm -rf conftest* |
9158 echo "$ac_t""yes" 1>&6 | 9298 echo "$ac_t""yes" 1>&6 |
9159 { test "$extra_verbose" = "yes" && cat << \EOF | 9299 { test "$extra_verbose" = "yes" && cat << \EOF |
9160 Defining HAVE_H_ERRNO | 9300 Defining HAVE_H_ERRNO |
9161 EOF | 9301 EOF |
9171 echo "$ac_t""no" 1>&6 | 9311 echo "$ac_t""no" 1>&6 |
9172 fi | 9312 fi |
9173 rm -f conftest* | 9313 rm -f conftest* |
9174 | 9314 |
9175 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9315 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
9176 echo "configure:9177: checking for sigsetjmp" >&5 | 9316 echo "configure:9317: checking for sigsetjmp" >&5 |
9177 cat > conftest.$ac_ext <<EOF | 9317 cat > conftest.$ac_ext <<EOF |
9178 #line 9179 "configure" | 9318 #line 9319 "configure" |
9179 #include "confdefs.h" | 9319 #include "confdefs.h" |
9180 #include <setjmp.h> | 9320 #include <setjmp.h> |
9181 int main() { | 9321 int main() { |
9182 sigjmp_buf bar; sigsetjmp (bar, 0); | 9322 sigjmp_buf bar; sigsetjmp (bar, 0); |
9183 ; return 0; } | 9323 ; return 0; } |
9184 EOF | 9324 EOF |
9185 if { (eval echo configure:9186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9325 if { (eval echo configure:9326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9186 rm -rf conftest* | 9326 rm -rf conftest* |
9187 echo "$ac_t""yes" 1>&6 | 9327 echo "$ac_t""yes" 1>&6 |
9188 { test "$extra_verbose" = "yes" && cat << \EOF | 9328 { test "$extra_verbose" = "yes" && cat << \EOF |
9189 Defining HAVE_SIGSETJMP | 9329 Defining HAVE_SIGSETJMP |
9190 EOF | 9330 EOF |
9200 echo "$ac_t""no" 1>&6 | 9340 echo "$ac_t""no" 1>&6 |
9201 fi | 9341 fi |
9202 rm -f conftest* | 9342 rm -f conftest* |
9203 | 9343 |
9204 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9344 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9205 echo "configure:9206: checking whether localtime caches TZ" >&5 | 9345 echo "configure:9346: checking whether localtime caches TZ" >&5 |
9206 | 9346 |
9207 if test "$ac_cv_func_tzset" = "yes"; then | 9347 if test "$ac_cv_func_tzset" = "yes"; then |
9208 cat > conftest.$ac_ext <<EOF | 9348 cat > conftest.$ac_ext <<EOF |
9209 #line 9210 "configure" | 9349 #line 9350 "configure" |
9210 #include "confdefs.h" | 9350 #include "confdefs.h" |
9211 #include <time.h> | 9351 #include <time.h> |
9212 #if STDC_HEADERS | 9352 #if STDC_HEADERS |
9213 # include <stdlib.h> | 9353 # include <stdlib.h> |
9214 #endif | 9354 #endif |
9239 if (localtime (&now)->tm_hour != hour_unset) | 9379 if (localtime (&now)->tm_hour != hour_unset) |
9240 exit (1); | 9380 exit (1); |
9241 exit (0); | 9381 exit (0); |
9242 } | 9382 } |
9243 EOF | 9383 EOF |
9244 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9384 if { (eval echo configure:9385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9245 then | 9385 then |
9246 emacs_cv_localtime_cache=no | 9386 emacs_cv_localtime_cache=no |
9247 else | 9387 else |
9248 conftest_rc="$?" | 9388 conftest_rc="$?" |
9249 echo "configure: failed program was:" >&5 | 9389 echo "configure: failed program was:" >&5 |
9269 | 9409 |
9270 fi | 9410 fi |
9271 | 9411 |
9272 if test "$HAVE_TIMEVAL" = "yes"; then | 9412 if test "$HAVE_TIMEVAL" = "yes"; then |
9273 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9413 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9274 echo "configure:9275: checking whether gettimeofday accepts one or two arguments" >&5 | 9414 echo "configure:9415: checking whether gettimeofday accepts one or two arguments" >&5 |
9275 cat > conftest.$ac_ext <<EOF | 9415 cat > conftest.$ac_ext <<EOF |
9276 #line 9277 "configure" | 9416 #line 9417 "configure" |
9277 #include "confdefs.h" | 9417 #include "confdefs.h" |
9278 | 9418 |
9279 #ifdef TIME_WITH_SYS_TIME | 9419 #ifdef TIME_WITH_SYS_TIME |
9280 #include <sys/time.h> | 9420 #include <sys/time.h> |
9281 #include <time.h> | 9421 #include <time.h> |
9293 struct timezone dummy; | 9433 struct timezone dummy; |
9294 gettimeofday (&time, &dummy); | 9434 gettimeofday (&time, &dummy); |
9295 | 9435 |
9296 ; return 0; } | 9436 ; return 0; } |
9297 EOF | 9437 EOF |
9298 if { (eval echo configure:9299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9438 if { (eval echo configure:9439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9299 rm -rf conftest* | 9439 rm -rf conftest* |
9300 echo "$ac_t""two" 1>&6 | 9440 echo "$ac_t""two" 1>&6 |
9301 else | 9441 else |
9302 echo "configure: failed program was:" >&5 | 9442 echo "configure: failed program was:" >&5 |
9303 cat conftest.$ac_ext >&5 | 9443 cat conftest.$ac_ext >&5 |
9315 rm -f conftest* | 9455 rm -f conftest* |
9316 fi | 9456 fi |
9317 | 9457 |
9318 | 9458 |
9319 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9459 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9320 echo "configure:9321: checking for inline" >&5 | 9460 echo "configure:9461: checking for inline" >&5 |
9321 | 9461 |
9322 ac_cv_c_inline=no | 9462 ac_cv_c_inline=no |
9323 for ac_kw in inline __inline__ __inline; do | 9463 for ac_kw in inline __inline__ __inline; do |
9324 cat > conftest.$ac_ext <<EOF | 9464 cat > conftest.$ac_ext <<EOF |
9325 #line 9326 "configure" | 9465 #line 9466 "configure" |
9326 #include "confdefs.h" | 9466 #include "confdefs.h" |
9327 | 9467 |
9328 int main() { | 9468 int main() { |
9329 } $ac_kw foo() { | 9469 } $ac_kw foo() { |
9330 ; return 0; } | 9470 ; return 0; } |
9331 EOF | 9471 EOF |
9332 if { (eval echo configure:9333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9472 if { (eval echo configure:9473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9333 rm -rf conftest* | 9473 rm -rf conftest* |
9334 ac_cv_c_inline=$ac_kw; break | 9474 ac_cv_c_inline=$ac_kw; break |
9335 else | 9475 else |
9336 echo "configure: failed program was:" >&5 | 9476 echo "configure: failed program was:" >&5 |
9337 cat conftest.$ac_ext >&5 | 9477 cat conftest.$ac_ext >&5 |
9378 | 9518 |
9379 if test "$__DECC" != "yes"; then | 9519 if test "$__DECC" != "yes"; then |
9380 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9520 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9381 # for constant arguments. Useless! | 9521 # for constant arguments. Useless! |
9382 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9522 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9383 echo "configure:9384: checking for working alloca.h" >&5 | 9523 echo "configure:9524: checking for working alloca.h" >&5 |
9384 | 9524 |
9385 cat > conftest.$ac_ext <<EOF | 9525 cat > conftest.$ac_ext <<EOF |
9386 #line 9387 "configure" | 9526 #line 9527 "configure" |
9387 #include "confdefs.h" | 9527 #include "confdefs.h" |
9388 #include <alloca.h> | 9528 #include <alloca.h> |
9389 int main() { | 9529 int main() { |
9390 char *p = alloca(2 * sizeof(int)); | 9530 char *p = alloca(2 * sizeof(int)); |
9391 ; return 0; } | 9531 ; return 0; } |
9392 EOF | 9532 EOF |
9393 if { (eval echo configure:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9533 if { (eval echo configure:9534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9394 rm -rf conftest* | 9534 rm -rf conftest* |
9395 ac_cv_header_alloca_h=yes | 9535 ac_cv_header_alloca_h=yes |
9396 else | 9536 else |
9397 echo "configure: failed program was:" >&5 | 9537 echo "configure: failed program was:" >&5 |
9398 cat conftest.$ac_ext >&5 | 9538 cat conftest.$ac_ext >&5 |
9412 } | 9552 } |
9413 | 9553 |
9414 fi | 9554 fi |
9415 | 9555 |
9416 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9556 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9417 echo "configure:9418: checking for alloca" >&5 | 9557 echo "configure:9558: checking for alloca" >&5 |
9418 | 9558 |
9419 cat > conftest.$ac_ext <<EOF | 9559 cat > conftest.$ac_ext <<EOF |
9420 #line 9421 "configure" | 9560 #line 9561 "configure" |
9421 #include "confdefs.h" | 9561 #include "confdefs.h" |
9422 | 9562 |
9423 #ifdef __GNUC__ | 9563 #ifdef __GNUC__ |
9424 # define alloca __builtin_alloca | 9564 # define alloca __builtin_alloca |
9425 #else | 9565 #else |
9443 | 9583 |
9444 int main() { | 9584 int main() { |
9445 char *p = (char *) alloca(1); | 9585 char *p = (char *) alloca(1); |
9446 ; return 0; } | 9586 ; return 0; } |
9447 EOF | 9587 EOF |
9448 if { (eval echo configure:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9588 if { (eval echo configure:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9449 rm -rf conftest* | 9589 rm -rf conftest* |
9450 ac_cv_func_alloca_works=yes | 9590 ac_cv_func_alloca_works=yes |
9451 else | 9591 else |
9452 echo "configure: failed program was:" >&5 | 9592 echo "configure: failed program was:" >&5 |
9453 cat conftest.$ac_ext >&5 | 9593 cat conftest.$ac_ext >&5 |
9482 EOF | 9622 EOF |
9483 } | 9623 } |
9484 | 9624 |
9485 | 9625 |
9486 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9626 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9487 echo "configure:9488: checking whether alloca needs Cray hooks" >&5 | 9627 echo "configure:9628: checking whether alloca needs Cray hooks" >&5 |
9488 | 9628 |
9489 cat > conftest.$ac_ext <<EOF | 9629 cat > conftest.$ac_ext <<EOF |
9490 #line 9491 "configure" | 9630 #line 9631 "configure" |
9491 #include "confdefs.h" | 9631 #include "confdefs.h" |
9492 #if defined(CRAY) && ! defined(CRAY2) | 9632 #if defined(CRAY) && ! defined(CRAY2) |
9493 webecray | 9633 webecray |
9494 #else | 9634 #else |
9495 wenotbecray | 9635 wenotbecray |
9509 | 9649 |
9510 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9650 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9511 if test $ac_cv_os_cray = yes; then | 9651 if test $ac_cv_os_cray = yes; then |
9512 for ac_func in _getb67 GETB67 getb67; do | 9652 for ac_func in _getb67 GETB67 getb67; do |
9513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9514 echo "configure:9515: checking for $ac_func" >&5 | 9654 echo "configure:9655: checking for $ac_func" >&5 |
9515 | 9655 |
9516 cat > conftest.$ac_ext <<EOF | 9656 cat > conftest.$ac_ext <<EOF |
9517 #line 9518 "configure" | 9657 #line 9658 "configure" |
9518 #include "confdefs.h" | 9658 #include "confdefs.h" |
9519 /* System header to define __stub macros and hopefully few prototypes, | 9659 /* System header to define __stub macros and hopefully few prototypes, |
9520 which can conflict with char $ac_func(); below. */ | 9660 which can conflict with char $ac_func(); below. */ |
9521 #include <assert.h> | 9661 #include <assert.h> |
9522 /* Override any gcc2 internal prototype to avoid an error. */ | 9662 /* Override any gcc2 internal prototype to avoid an error. */ |
9535 $ac_func(); | 9675 $ac_func(); |
9536 #endif | 9676 #endif |
9537 | 9677 |
9538 ; return 0; } | 9678 ; return 0; } |
9539 EOF | 9679 EOF |
9540 if { (eval echo configure:9541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9680 if { (eval echo configure:9681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9541 rm -rf conftest* | 9681 rm -rf conftest* |
9542 eval "ac_cv_func_$ac_func=yes" | 9682 eval "ac_cv_func_$ac_func=yes" |
9543 else | 9683 else |
9544 echo "configure: failed program was:" >&5 | 9684 echo "configure: failed program was:" >&5 |
9545 cat conftest.$ac_ext >&5 | 9685 cat conftest.$ac_ext >&5 |
9565 | 9705 |
9566 done | 9706 done |
9567 fi | 9707 fi |
9568 | 9708 |
9569 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9709 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9570 echo "configure:9571: checking stack direction for C alloca" >&5 | 9710 echo "configure:9711: checking stack direction for C alloca" >&5 |
9571 | 9711 |
9572 cat > conftest.$ac_ext <<EOF | 9712 cat > conftest.$ac_ext <<EOF |
9573 #line 9574 "configure" | 9713 #line 9714 "configure" |
9574 #include "confdefs.h" | 9714 #include "confdefs.h" |
9575 find_stack_direction () | 9715 find_stack_direction () |
9576 { | 9716 { |
9577 static char *addr = 0; | 9717 static char *addr = 0; |
9578 auto char dummy; | 9718 auto char dummy; |
9587 main () | 9727 main () |
9588 { | 9728 { |
9589 exit (find_stack_direction() < 0); | 9729 exit (find_stack_direction() < 0); |
9590 } | 9730 } |
9591 EOF | 9731 EOF |
9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9732 if { (eval echo configure:9733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9593 then | 9733 then |
9594 ac_cv_c_stack_direction=1 | 9734 ac_cv_c_stack_direction=1 |
9595 else | 9735 else |
9596 conftest_rc="$?" | 9736 conftest_rc="$?" |
9597 echo "configure: failed program was:" >&5 | 9737 echo "configure: failed program was:" >&5 |
9617 fi | 9757 fi |
9618 fi | 9758 fi |
9619 | 9759 |
9620 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9760 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9621 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9761 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9622 echo "configure:9623: checking for vfork.h" >&5 | 9762 echo "configure:9763: checking for vfork.h" >&5 |
9623 | 9763 |
9624 cat > conftest.$ac_ext <<EOF | 9764 cat > conftest.$ac_ext <<EOF |
9625 #line 9626 "configure" | 9765 #line 9766 "configure" |
9626 #include "confdefs.h" | 9766 #include "confdefs.h" |
9627 #include <vfork.h> | 9767 #include <vfork.h> |
9628 EOF | 9768 EOF |
9629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9630 { (eval echo configure:9631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9770 { (eval echo configure:9771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9632 if test -z "$ac_err"; then | 9772 if test -z "$ac_err"; then |
9633 rm -rf conftest* | 9773 rm -rf conftest* |
9634 eval "ac_cv_header_$ac_safe=yes" | 9774 eval "ac_cv_header_$ac_safe=yes" |
9635 else | 9775 else |
9653 else | 9793 else |
9654 echo "$ac_t""no" 1>&6 | 9794 echo "$ac_t""no" 1>&6 |
9655 fi | 9795 fi |
9656 | 9796 |
9657 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9797 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9658 echo "configure:9659: checking for working vfork" >&5 | 9798 echo "configure:9799: checking for working vfork" >&5 |
9659 | 9799 |
9660 cat > conftest.$ac_ext <<EOF | 9800 cat > conftest.$ac_ext <<EOF |
9661 #line 9662 "configure" | 9801 #line 9802 "configure" |
9662 #include "confdefs.h" | 9802 #include "confdefs.h" |
9663 /* Thanks to Paul Eggert for this test. */ | 9803 /* Thanks to Paul Eggert for this test. */ |
9664 #include <stdio.h> | 9804 #include <stdio.h> |
9665 #include <sys/types.h> | 9805 #include <sys/types.h> |
9666 #include <sys/stat.h> | 9806 #include <sys/stat.h> |
9751 || fstat(fileno(stdout), &st) != 0 | 9891 || fstat(fileno(stdout), &st) != 0 |
9752 ); | 9892 ); |
9753 } | 9893 } |
9754 } | 9894 } |
9755 EOF | 9895 EOF |
9756 if { (eval echo configure:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9896 if { (eval echo configure:9897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9757 then | 9897 then |
9758 ac_cv_func_vfork_works=yes | 9898 ac_cv_func_vfork_works=yes |
9759 else | 9899 else |
9760 conftest_rc="$?" | 9900 conftest_rc="$?" |
9761 echo "configure: failed program was:" >&5 | 9901 echo "configure: failed program was:" >&5 |
9777 | 9917 |
9778 fi | 9918 fi |
9779 | 9919 |
9780 | 9920 |
9781 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9921 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9782 echo "configure:9783: checking for working strcoll" >&5 | 9922 echo "configure:9923: checking for working strcoll" >&5 |
9783 | 9923 |
9784 cat > conftest.$ac_ext <<EOF | 9924 cat > conftest.$ac_ext <<EOF |
9785 #line 9786 "configure" | 9925 #line 9926 "configure" |
9786 #include "confdefs.h" | 9926 #include "confdefs.h" |
9787 #include <string.h> | 9927 #include <string.h> |
9788 main () | 9928 main () |
9789 { | 9929 { |
9790 exit (strcoll ("abc", "def") >= 0 || | 9930 exit (strcoll ("abc", "def") >= 0 || |
9791 strcoll ("ABC", "DEF") >= 0 || | 9931 strcoll ("ABC", "DEF") >= 0 || |
9792 strcoll ("123", "456") >= 0); | 9932 strcoll ("123", "456") >= 0); |
9793 } | 9933 } |
9794 EOF | 9934 EOF |
9795 if { (eval echo configure:9796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9935 if { (eval echo configure:9936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9796 then | 9936 then |
9797 ac_cv_func_strcoll_works=yes | 9937 ac_cv_func_strcoll_works=yes |
9798 else | 9938 else |
9799 conftest_rc="$?" | 9939 conftest_rc="$?" |
9800 echo "configure: failed program was:" >&5 | 9940 echo "configure: failed program was:" >&5 |
9818 | 9958 |
9819 | 9959 |
9820 for ac_func in getpgrp | 9960 for ac_func in getpgrp |
9821 do | 9961 do |
9822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9823 echo "configure:9824: checking for $ac_func" >&5 | 9963 echo "configure:9964: checking for $ac_func" >&5 |
9824 | 9964 |
9825 cat > conftest.$ac_ext <<EOF | 9965 cat > conftest.$ac_ext <<EOF |
9826 #line 9827 "configure" | 9966 #line 9967 "configure" |
9827 #include "confdefs.h" | 9967 #include "confdefs.h" |
9828 /* System header to define __stub macros and hopefully few prototypes, | 9968 /* System header to define __stub macros and hopefully few prototypes, |
9829 which can conflict with char $ac_func(); below. */ | 9969 which can conflict with char $ac_func(); below. */ |
9830 #include <assert.h> | 9970 #include <assert.h> |
9831 /* Override any gcc2 internal prototype to avoid an error. */ | 9971 /* Override any gcc2 internal prototype to avoid an error. */ |
9844 $ac_func(); | 9984 $ac_func(); |
9845 #endif | 9985 #endif |
9846 | 9986 |
9847 ; return 0; } | 9987 ; return 0; } |
9848 EOF | 9988 EOF |
9849 if { (eval echo configure:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9850 rm -rf conftest* | 9990 rm -rf conftest* |
9851 eval "ac_cv_func_$ac_func=yes" | 9991 eval "ac_cv_func_$ac_func=yes" |
9852 else | 9992 else |
9853 echo "configure: failed program was:" >&5 | 9993 echo "configure: failed program was:" >&5 |
9854 cat conftest.$ac_ext >&5 | 9994 cat conftest.$ac_ext >&5 |
9872 echo "$ac_t""no" 1>&6 | 10012 echo "$ac_t""no" 1>&6 |
9873 fi | 10013 fi |
9874 done | 10014 done |
9875 | 10015 |
9876 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 10016 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9877 echo "configure:9878: checking whether getpgrp takes no argument" >&5 | 10017 echo "configure:10018: checking whether getpgrp takes no argument" >&5 |
9878 | 10018 |
9879 cat > conftest.$ac_ext <<EOF | 10019 cat > conftest.$ac_ext <<EOF |
9880 #line 9881 "configure" | 10020 #line 10021 "configure" |
9881 #include "confdefs.h" | 10021 #include "confdefs.h" |
9882 | 10022 |
9883 /* | 10023 /* |
9884 * If this system has a BSD-style getpgrp(), | 10024 * If this system has a BSD-style getpgrp(), |
9885 * which takes a pid argument, exit unsuccessfully. | 10025 * which takes a pid argument, exit unsuccessfully. |
9930 exit(s>>8); | 10070 exit(s>>8); |
9931 } | 10071 } |
9932 } | 10072 } |
9933 | 10073 |
9934 EOF | 10074 EOF |
9935 if { (eval echo configure:9936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10075 if { (eval echo configure:10076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9936 then | 10076 then |
9937 ac_cv_func_getpgrp_void=yes | 10077 ac_cv_func_getpgrp_void=yes |
9938 else | 10078 else |
9939 conftest_rc="$?" | 10079 conftest_rc="$?" |
9940 echo "configure: failed program was:" >&5 | 10080 echo "configure: failed program was:" >&5 |
9957 | 10097 |
9958 fi | 10098 fi |
9959 | 10099 |
9960 | 10100 |
9961 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 10101 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9962 echo "configure:9963: checking for working mmap" >&5 | 10102 echo "configure:10103: checking for working mmap" >&5 |
9963 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 10103 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9964 cat > conftest.$ac_ext <<EOF | 10104 cat > conftest.$ac_ext <<EOF |
9965 #line 9966 "configure" | 10105 #line 10106 "configure" |
9966 #include "confdefs.h" | 10106 #include "confdefs.h" |
9967 #include <stdio.h> | 10107 #include <stdio.h> |
9968 #include <unistd.h> | 10108 #include <unistd.h> |
9969 #include <fcntl.h> | 10109 #include <fcntl.h> |
9970 #include <sys/mman.h> | 10110 #include <sys/mman.h> |
9993 return 0; | 10133 return 0; |
9994 perror ("conftest: mmap failed"); | 10134 perror ("conftest: mmap failed"); |
9995 return 1; | 10135 return 1; |
9996 } | 10136 } |
9997 EOF | 10137 EOF |
9998 if { (eval echo configure:9999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10138 if { (eval echo configure:10139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9999 then | 10139 then |
10000 have_mmap=yes | 10140 have_mmap=yes |
10001 else | 10141 else |
10002 conftest_rc="$?" | 10142 conftest_rc="$?" |
10003 echo "configure: failed program was:" >&5 | 10143 echo "configure: failed program was:" >&5 |
10028 } | 10168 } |
10029 | 10169 |
10030 | 10170 |
10031 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10171 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
10032 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10172 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
10033 echo "configure:10034: checking for termios.h" >&5 | 10173 echo "configure:10174: checking for termios.h" >&5 |
10034 | 10174 |
10035 cat > conftest.$ac_ext <<EOF | 10175 cat > conftest.$ac_ext <<EOF |
10036 #line 10037 "configure" | 10176 #line 10177 "configure" |
10037 #include "confdefs.h" | 10177 #include "confdefs.h" |
10038 #include <termios.h> | 10178 #include <termios.h> |
10039 EOF | 10179 EOF |
10040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10041 { (eval echo configure:10042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10181 { (eval echo configure:10182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10182 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10043 if test -z "$ac_err"; then | 10183 if test -z "$ac_err"; then |
10044 rm -rf conftest* | 10184 rm -rf conftest* |
10045 eval "ac_cv_header_$ac_safe=yes" | 10185 eval "ac_cv_header_$ac_safe=yes" |
10046 else | 10186 else |
10079 | 10219 |
10080 else | 10220 else |
10081 echo "$ac_t""no" 1>&6 | 10221 echo "$ac_t""no" 1>&6 |
10082 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10222 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10083 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10223 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10084 echo "configure:10085: checking for termio.h" >&5 | 10224 echo "configure:10225: checking for termio.h" >&5 |
10085 | 10225 |
10086 cat > conftest.$ac_ext <<EOF | 10226 cat > conftest.$ac_ext <<EOF |
10087 #line 10088 "configure" | 10227 #line 10228 "configure" |
10088 #include "confdefs.h" | 10228 #include "confdefs.h" |
10089 #include <termio.h> | 10229 #include <termio.h> |
10090 EOF | 10230 EOF |
10091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10092 { (eval echo configure:10093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10232 { (eval echo configure:10233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10094 if test -z "$ac_err"; then | 10234 if test -z "$ac_err"; then |
10095 rm -rf conftest* | 10235 rm -rf conftest* |
10096 eval "ac_cv_header_$ac_safe=yes" | 10236 eval "ac_cv_header_$ac_safe=yes" |
10097 else | 10237 else |
10119 fi | 10259 fi |
10120 | 10260 |
10121 | 10261 |
10122 | 10262 |
10123 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10263 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10124 echo "configure:10125: checking for socket" >&5 | 10264 echo "configure:10265: checking for socket" >&5 |
10125 | 10265 |
10126 cat > conftest.$ac_ext <<EOF | 10266 cat > conftest.$ac_ext <<EOF |
10127 #line 10128 "configure" | 10267 #line 10268 "configure" |
10128 #include "confdefs.h" | 10268 #include "confdefs.h" |
10129 /* System header to define __stub macros and hopefully few prototypes, | 10269 /* System header to define __stub macros and hopefully few prototypes, |
10130 which can conflict with char socket(); below. */ | 10270 which can conflict with char socket(); below. */ |
10131 #include <assert.h> | 10271 #include <assert.h> |
10132 /* Override any gcc2 internal prototype to avoid an error. */ | 10272 /* Override any gcc2 internal prototype to avoid an error. */ |
10145 socket(); | 10285 socket(); |
10146 #endif | 10286 #endif |
10147 | 10287 |
10148 ; return 0; } | 10288 ; return 0; } |
10149 EOF | 10289 EOF |
10150 if { (eval echo configure:10151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10290 if { (eval echo configure:10291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10151 rm -rf conftest* | 10291 rm -rf conftest* |
10152 eval "ac_cv_func_socket=yes" | 10292 eval "ac_cv_func_socket=yes" |
10153 else | 10293 else |
10154 echo "configure: failed program was:" >&5 | 10294 echo "configure: failed program was:" >&5 |
10155 cat conftest.$ac_ext >&5 | 10295 cat conftest.$ac_ext >&5 |
10160 | 10300 |
10161 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10301 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10162 echo "$ac_t""yes" 1>&6 | 10302 echo "$ac_t""yes" 1>&6 |
10163 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10303 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10164 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10304 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10165 echo "configure:10166: checking for netinet/in.h" >&5 | 10305 echo "configure:10306: checking for netinet/in.h" >&5 |
10166 | 10306 |
10167 cat > conftest.$ac_ext <<EOF | 10307 cat > conftest.$ac_ext <<EOF |
10168 #line 10169 "configure" | 10308 #line 10309 "configure" |
10169 #include "confdefs.h" | 10309 #include "confdefs.h" |
10170 #include <netinet/in.h> | 10310 #include <netinet/in.h> |
10171 EOF | 10311 EOF |
10172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10173 { (eval echo configure:10174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10313 { (eval echo configure:10314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10175 if test -z "$ac_err"; then | 10315 if test -z "$ac_err"; then |
10176 rm -rf conftest* | 10316 rm -rf conftest* |
10177 eval "ac_cv_header_$ac_safe=yes" | 10317 eval "ac_cv_header_$ac_safe=yes" |
10178 else | 10318 else |
10185 rm -f conftest* | 10325 rm -f conftest* |
10186 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10187 echo "$ac_t""yes" 1>&6 | 10327 echo "$ac_t""yes" 1>&6 |
10188 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10328 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10189 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10329 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10190 echo "configure:10191: checking for arpa/inet.h" >&5 | 10330 echo "configure:10331: checking for arpa/inet.h" >&5 |
10191 | 10331 |
10192 cat > conftest.$ac_ext <<EOF | 10332 cat > conftest.$ac_ext <<EOF |
10193 #line 10194 "configure" | 10333 #line 10334 "configure" |
10194 #include "confdefs.h" | 10334 #include "confdefs.h" |
10195 #include <arpa/inet.h> | 10335 #include <arpa/inet.h> |
10196 EOF | 10336 EOF |
10197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10337 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; } | 10338 { (eval echo configure:10339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10200 if test -z "$ac_err"; then | 10340 if test -z "$ac_err"; then |
10201 rm -rf conftest* | 10341 rm -rf conftest* |
10202 eval "ac_cv_header_$ac_safe=yes" | 10342 eval "ac_cv_header_$ac_safe=yes" |
10203 else | 10343 else |
10218 #define HAVE_SOCKETS 1 | 10358 #define HAVE_SOCKETS 1 |
10219 EOF | 10359 EOF |
10220 } | 10360 } |
10221 | 10361 |
10222 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10362 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10223 echo "configure:10224: checking "for sun_len member in struct sockaddr_un"" >&5 | 10363 echo "configure:10364: checking "for sun_len member in struct sockaddr_un"" >&5 |
10224 cat > conftest.$ac_ext <<EOF | 10364 cat > conftest.$ac_ext <<EOF |
10225 #line 10226 "configure" | 10365 #line 10366 "configure" |
10226 #include "confdefs.h" | 10366 #include "confdefs.h" |
10227 | 10367 |
10228 #include <sys/types.h> | 10368 #include <sys/types.h> |
10229 #include <sys/socket.h> | 10369 #include <sys/socket.h> |
10230 #include <sys/un.h> | 10370 #include <sys/un.h> |
10231 | 10371 |
10232 int main() { | 10372 int main() { |
10233 static struct sockaddr_un x; x.sun_len = 1; | 10373 static struct sockaddr_un x; x.sun_len = 1; |
10234 ; return 0; } | 10374 ; return 0; } |
10235 EOF | 10375 EOF |
10236 if { (eval echo configure:10237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10376 if { (eval echo configure:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10237 rm -rf conftest* | 10377 rm -rf conftest* |
10238 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10378 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10239 Defining HAVE_SOCKADDR_SUN_LEN | 10379 Defining HAVE_SOCKADDR_SUN_LEN |
10240 EOF | 10380 EOF |
10241 cat >> confdefs.h <<\EOF | 10381 cat >> confdefs.h <<\EOF |
10249 rm -rf conftest* | 10389 rm -rf conftest* |
10250 echo "$ac_t""no" 1>&6 | 10390 echo "$ac_t""no" 1>&6 |
10251 fi | 10391 fi |
10252 rm -f conftest* | 10392 rm -f conftest* |
10253 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10393 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10254 echo "configure:10255: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10394 echo "configure:10395: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10255 cat > conftest.$ac_ext <<EOF | 10395 cat > conftest.$ac_ext <<EOF |
10256 #line 10257 "configure" | 10396 #line 10397 "configure" |
10257 #include "confdefs.h" | 10397 #include "confdefs.h" |
10258 | 10398 |
10259 #include <sys/types.h> | 10399 #include <sys/types.h> |
10260 #include <netinet/in.h> | 10400 #include <netinet/in.h> |
10261 | 10401 |
10262 int main() { | 10402 int main() { |
10263 static struct ip_mreq x; | 10403 static struct ip_mreq x; |
10264 ; return 0; } | 10404 ; return 0; } |
10265 EOF | 10405 EOF |
10266 if { (eval echo configure:10267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10406 if { (eval echo configure:10407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10267 rm -rf conftest* | 10407 rm -rf conftest* |
10268 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10408 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10269 Defining HAVE_MULTICAST | 10409 Defining HAVE_MULTICAST |
10270 EOF | 10410 EOF |
10271 cat >> confdefs.h <<\EOF | 10411 cat >> confdefs.h <<\EOF |
10292 echo "$ac_t""no" 1>&6 | 10432 echo "$ac_t""no" 1>&6 |
10293 fi | 10433 fi |
10294 | 10434 |
10295 | 10435 |
10296 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10436 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10297 echo "configure:10298: checking for msgget" >&5 | 10437 echo "configure:10438: checking for msgget" >&5 |
10298 | 10438 |
10299 cat > conftest.$ac_ext <<EOF | 10439 cat > conftest.$ac_ext <<EOF |
10300 #line 10301 "configure" | 10440 #line 10441 "configure" |
10301 #include "confdefs.h" | 10441 #include "confdefs.h" |
10302 /* System header to define __stub macros and hopefully few prototypes, | 10442 /* System header to define __stub macros and hopefully few prototypes, |
10303 which can conflict with char msgget(); below. */ | 10443 which can conflict with char msgget(); below. */ |
10304 #include <assert.h> | 10444 #include <assert.h> |
10305 /* Override any gcc2 internal prototype to avoid an error. */ | 10445 /* Override any gcc2 internal prototype to avoid an error. */ |
10318 msgget(); | 10458 msgget(); |
10319 #endif | 10459 #endif |
10320 | 10460 |
10321 ; return 0; } | 10461 ; return 0; } |
10322 EOF | 10462 EOF |
10323 if { (eval echo configure:10324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10463 if { (eval echo configure:10464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10324 rm -rf conftest* | 10464 rm -rf conftest* |
10325 eval "ac_cv_func_msgget=yes" | 10465 eval "ac_cv_func_msgget=yes" |
10326 else | 10466 else |
10327 echo "configure: failed program was:" >&5 | 10467 echo "configure: failed program was:" >&5 |
10328 cat conftest.$ac_ext >&5 | 10468 cat conftest.$ac_ext >&5 |
10333 | 10473 |
10334 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10474 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10335 echo "$ac_t""yes" 1>&6 | 10475 echo "$ac_t""yes" 1>&6 |
10336 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10476 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10337 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10477 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10338 echo "configure:10339: checking for sys/ipc.h" >&5 | 10478 echo "configure:10479: checking for sys/ipc.h" >&5 |
10339 | 10479 |
10340 cat > conftest.$ac_ext <<EOF | 10480 cat > conftest.$ac_ext <<EOF |
10341 #line 10342 "configure" | 10481 #line 10482 "configure" |
10342 #include "confdefs.h" | 10482 #include "confdefs.h" |
10343 #include <sys/ipc.h> | 10483 #include <sys/ipc.h> |
10344 EOF | 10484 EOF |
10345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10346 { (eval echo configure:10347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10486 { (eval echo configure:10487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10348 if test -z "$ac_err"; then | 10488 if test -z "$ac_err"; then |
10349 rm -rf conftest* | 10489 rm -rf conftest* |
10350 eval "ac_cv_header_$ac_safe=yes" | 10490 eval "ac_cv_header_$ac_safe=yes" |
10351 else | 10491 else |
10358 rm -f conftest* | 10498 rm -f conftest* |
10359 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10499 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10360 echo "$ac_t""yes" 1>&6 | 10500 echo "$ac_t""yes" 1>&6 |
10361 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10501 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10362 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10502 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10363 echo "configure:10364: checking for sys/msg.h" >&5 | 10503 echo "configure:10504: checking for sys/msg.h" >&5 |
10364 | 10504 |
10365 cat > conftest.$ac_ext <<EOF | 10505 cat > conftest.$ac_ext <<EOF |
10366 #line 10367 "configure" | 10506 #line 10507 "configure" |
10367 #include "confdefs.h" | 10507 #include "confdefs.h" |
10368 #include <sys/msg.h> | 10508 #include <sys/msg.h> |
10369 EOF | 10509 EOF |
10370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10371 { (eval echo configure:10372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10511 { (eval echo configure:10512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10373 if test -z "$ac_err"; then | 10513 if test -z "$ac_err"; then |
10374 rm -rf conftest* | 10514 rm -rf conftest* |
10375 eval "ac_cv_header_$ac_safe=yes" | 10515 eval "ac_cv_header_$ac_safe=yes" |
10376 else | 10516 else |
10404 fi | 10544 fi |
10405 | 10545 |
10406 | 10546 |
10407 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10547 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10408 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10548 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10409 echo "configure:10410: checking for dirent.h" >&5 | 10549 echo "configure:10550: checking for dirent.h" >&5 |
10410 | 10550 |
10411 cat > conftest.$ac_ext <<EOF | 10551 cat > conftest.$ac_ext <<EOF |
10412 #line 10413 "configure" | 10552 #line 10553 "configure" |
10413 #include "confdefs.h" | 10553 #include "confdefs.h" |
10414 #include <dirent.h> | 10554 #include <dirent.h> |
10415 EOF | 10555 EOF |
10416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10417 { (eval echo configure:10418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10557 { (eval echo configure:10558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10419 if test -z "$ac_err"; then | 10559 if test -z "$ac_err"; then |
10420 rm -rf conftest* | 10560 rm -rf conftest* |
10421 eval "ac_cv_header_$ac_safe=yes" | 10561 eval "ac_cv_header_$ac_safe=yes" |
10422 else | 10562 else |
10439 | 10579 |
10440 else | 10580 else |
10441 echo "$ac_t""no" 1>&6 | 10581 echo "$ac_t""no" 1>&6 |
10442 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10582 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10443 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10583 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10444 echo "configure:10445: checking for sys/dir.h" >&5 | 10584 echo "configure:10585: checking for sys/dir.h" >&5 |
10445 | 10585 |
10446 cat > conftest.$ac_ext <<EOF | 10586 cat > conftest.$ac_ext <<EOF |
10447 #line 10448 "configure" | 10587 #line 10588 "configure" |
10448 #include "confdefs.h" | 10588 #include "confdefs.h" |
10449 #include <sys/dir.h> | 10589 #include <sys/dir.h> |
10450 EOF | 10590 EOF |
10451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10452 { (eval echo configure:10453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10592 { (eval echo configure:10593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10454 if test -z "$ac_err"; then | 10594 if test -z "$ac_err"; then |
10455 rm -rf conftest* | 10595 rm -rf conftest* |
10456 eval "ac_cv_header_$ac_safe=yes" | 10596 eval "ac_cv_header_$ac_safe=yes" |
10457 else | 10597 else |
10480 fi | 10620 fi |
10481 | 10621 |
10482 | 10622 |
10483 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10623 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10484 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10624 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10485 echo "configure:10486: checking for nlist.h" >&5 | 10625 echo "configure:10626: checking for nlist.h" >&5 |
10486 | 10626 |
10487 cat > conftest.$ac_ext <<EOF | 10627 cat > conftest.$ac_ext <<EOF |
10488 #line 10489 "configure" | 10628 #line 10629 "configure" |
10489 #include "confdefs.h" | 10629 #include "confdefs.h" |
10490 #include <nlist.h> | 10630 #include <nlist.h> |
10491 EOF | 10631 EOF |
10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10633 { (eval echo configure:10634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10495 if test -z "$ac_err"; then | 10635 if test -z "$ac_err"; then |
10496 rm -rf conftest* | 10636 rm -rf conftest* |
10497 eval "ac_cv_header_$ac_safe=yes" | 10637 eval "ac_cv_header_$ac_safe=yes" |
10498 else | 10638 else |
10518 fi | 10658 fi |
10519 | 10659 |
10520 | 10660 |
10521 | 10661 |
10522 echo "checking "for sound support"" 1>&6 | 10662 echo "checking "for sound support"" 1>&6 |
10523 echo "configure:10524: checking "for sound support"" >&5 | 10663 echo "configure:10664: checking "for sound support"" >&5 |
10524 case "$with_sound" in | 10664 case "$with_sound" in |
10525 native | both ) with_native_sound=yes;; | 10665 native | both ) with_native_sound=yes;; |
10526 nas | no ) with_native_sound=no;; | 10666 nas | no ) with_native_sound=no;; |
10527 esac | 10667 esac |
10528 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10668 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10529 | 10669 |
10530 if test "$with_native_sound" != "no"; then | 10670 if test "$with_native_sound" != "no"; then |
10531 if test -n "$native_sound_lib"; then | 10671 if test -n "$native_sound_lib"; then |
10532 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10672 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10533 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10673 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10534 echo "configure:10535: checking for multimedia/audio_device.h" >&5 | 10674 echo "configure:10675: checking for multimedia/audio_device.h" >&5 |
10535 | 10675 |
10536 cat > conftest.$ac_ext <<EOF | 10676 cat > conftest.$ac_ext <<EOF |
10537 #line 10538 "configure" | 10677 #line 10678 "configure" |
10538 #include "confdefs.h" | 10678 #include "confdefs.h" |
10539 #include <multimedia/audio_device.h> | 10679 #include <multimedia/audio_device.h> |
10540 EOF | 10680 EOF |
10541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10542 { (eval echo configure:10543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10682 { (eval echo configure:10683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10544 if test -z "$ac_err"; then | 10684 if test -z "$ac_err"; then |
10545 rm -rf conftest* | 10685 rm -rf conftest* |
10546 eval "ac_cv_header_$ac_safe=yes" | 10686 eval "ac_cv_header_$ac_safe=yes" |
10547 else | 10687 else |
10585 case "$canonical" in | 10725 case "$canonical" in |
10586 *-sgi-* ) | 10726 *-sgi-* ) |
10587 if test -z "$native_sound_lib"; then | 10727 if test -z "$native_sound_lib"; then |
10588 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` | 10728 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` |
10589 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 | 10729 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 |
10590 echo "configure:10591: checking for audio.h" >&5 | 10730 echo "configure:10731: checking for audio.h" >&5 |
10591 | 10731 |
10592 cat > conftest.$ac_ext <<EOF | 10732 cat > conftest.$ac_ext <<EOF |
10593 #line 10594 "configure" | 10733 #line 10734 "configure" |
10594 #include "confdefs.h" | 10734 #include "confdefs.h" |
10595 #include <audio.h> | 10735 #include <audio.h> |
10596 EOF | 10736 EOF |
10597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10598 { (eval echo configure:10599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10738 { (eval echo configure:10739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10739 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10600 if test -z "$ac_err"; then | 10740 if test -z "$ac_err"; then |
10601 rm -rf conftest* | 10741 rm -rf conftest* |
10602 eval "ac_cv_header_$ac_safe=yes" | 10742 eval "ac_cv_header_$ac_safe=yes" |
10603 else | 10743 else |
10611 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10751 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10612 echo "$ac_t""yes" 1>&6 | 10752 echo "$ac_t""yes" 1>&6 |
10613 | 10753 |
10614 | 10754 |
10615 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10755 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10616 echo "configure:10617: checking for ALopenport in -laudio" >&5 | 10756 echo "configure:10757: checking for ALopenport in -laudio" >&5 |
10617 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10757 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10618 | 10758 |
10619 xe_check_libs=" -laudio " | 10759 xe_check_libs=" -laudio " |
10620 cat > conftest.$ac_ext <<EOF | 10760 cat > conftest.$ac_ext <<EOF |
10621 #line 10622 "configure" | 10761 #line 10762 "configure" |
10622 #include "confdefs.h" | 10762 #include "confdefs.h" |
10623 /* Override any gcc2 internal prototype to avoid an error. */ | 10763 /* Override any gcc2 internal prototype to avoid an error. */ |
10624 /* We use char because int might match the return type of a gcc2 | 10764 /* We use char because int might match the return type of a gcc2 |
10625 builtin and then its argument prototype would still apply. */ | 10765 builtin and then its argument prototype would still apply. */ |
10626 char ALopenport(); | 10766 char ALopenport(); |
10627 | 10767 |
10628 int main() { | 10768 int main() { |
10629 ALopenport() | 10769 ALopenport() |
10630 ; return 0; } | 10770 ; return 0; } |
10631 EOF | 10771 EOF |
10632 if { (eval echo configure:10633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10772 if { (eval echo configure:10773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10633 rm -rf conftest* | 10773 rm -rf conftest* |
10634 eval "ac_cv_lib_$ac_lib_var=yes" | 10774 eval "ac_cv_lib_$ac_lib_var=yes" |
10635 else | 10775 else |
10636 echo "configure: failed program was:" >&5 | 10776 echo "configure: failed program was:" >&5 |
10637 cat conftest.$ac_ext >&5 | 10777 cat conftest.$ac_ext >&5 |
10663 fi ;; | 10803 fi ;; |
10664 hppa*-hp-hpux* ) | 10804 hppa*-hp-hpux* ) |
10665 if test -z "$native_sound_lib"; then | 10805 if test -z "$native_sound_lib"; then |
10666 | 10806 |
10667 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10807 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10668 echo "configure:10669: checking for AOpenAudio in -lAlib" >&5 | 10808 echo "configure:10809: checking for AOpenAudio in -lAlib" >&5 |
10669 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10809 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10670 | 10810 |
10671 xe_check_libs=" -lAlib " | 10811 xe_check_libs=" -lAlib " |
10672 cat > conftest.$ac_ext <<EOF | 10812 cat > conftest.$ac_ext <<EOF |
10673 #line 10674 "configure" | 10813 #line 10814 "configure" |
10674 #include "confdefs.h" | 10814 #include "confdefs.h" |
10675 /* Override any gcc2 internal prototype to avoid an error. */ | 10815 /* Override any gcc2 internal prototype to avoid an error. */ |
10676 /* We use char because int might match the return type of a gcc2 | 10816 /* We use char because int might match the return type of a gcc2 |
10677 builtin and then its argument prototype would still apply. */ | 10817 builtin and then its argument prototype would still apply. */ |
10678 char AOpenAudio(); | 10818 char AOpenAudio(); |
10679 | 10819 |
10680 int main() { | 10820 int main() { |
10681 AOpenAudio() | 10821 AOpenAudio() |
10682 ; return 0; } | 10822 ; return 0; } |
10683 EOF | 10823 EOF |
10684 if { (eval echo configure:10685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10824 if { (eval echo configure:10825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10685 rm -rf conftest* | 10825 rm -rf conftest* |
10686 eval "ac_cv_lib_$ac_lib_var=yes" | 10826 eval "ac_cv_lib_$ac_lib_var=yes" |
10687 else | 10827 else |
10688 echo "configure: failed program was:" >&5 | 10828 echo "configure: failed program was:" >&5 |
10689 cat conftest.$ac_ext >&5 | 10829 cat conftest.$ac_ext >&5 |
10717 | 10857 |
10718 if test -z "$sound_found"; then | 10858 if test -z "$sound_found"; then |
10719 for dir in "machine" "sys" "linux"; do | 10859 for dir in "machine" "sys" "linux"; do |
10720 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10860 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10721 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10861 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10722 echo "configure:10723: checking for ${dir}/soundcard.h" >&5 | 10862 echo "configure:10863: checking for ${dir}/soundcard.h" >&5 |
10723 | 10863 |
10724 cat > conftest.$ac_ext <<EOF | 10864 cat > conftest.$ac_ext <<EOF |
10725 #line 10726 "configure" | 10865 #line 10866 "configure" |
10726 #include "confdefs.h" | 10866 #include "confdefs.h" |
10727 #include <${dir}/soundcard.h> | 10867 #include <${dir}/soundcard.h> |
10728 EOF | 10868 EOF |
10729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10730 { (eval echo configure:10731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10870 { (eval echo configure:10871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10732 if test -z "$ac_err"; then | 10872 if test -z "$ac_err"; then |
10733 rm -rf conftest* | 10873 rm -rf conftest* |
10734 eval "ac_cv_header_$ac_safe=yes" | 10874 eval "ac_cv_header_$ac_safe=yes" |
10735 else | 10875 else |
10795 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10935 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10796 echo " xemacs will be linked with \"nas.o\"" | 10936 echo " xemacs will be linked with \"nas.o\"" |
10797 fi | 10937 fi |
10798 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10938 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10799 cat > conftest.$ac_ext <<EOF | 10939 cat > conftest.$ac_ext <<EOF |
10800 #line 10801 "configure" | 10940 #line 10941 "configure" |
10801 #include "confdefs.h" | 10941 #include "confdefs.h" |
10802 #include <audio/Xtutil.h> | 10942 #include <audio/Xtutil.h> |
10803 EOF | 10943 EOF |
10804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10805 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10945 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10816 | 10956 |
10817 fi | 10957 fi |
10818 rm -f conftest* | 10958 rm -f conftest* |
10819 | 10959 |
10820 cat > conftest.$ac_ext <<EOF | 10960 cat > conftest.$ac_ext <<EOF |
10821 #line 10822 "configure" | 10961 #line 10962 "configure" |
10822 #include "confdefs.h" | 10962 #include "confdefs.h" |
10823 #include <audio/fileutil.h> | 10963 #include <audio/fileutil.h> |
10824 #ifdef NAS_BIG_ENDIAN | 10964 #ifdef NAS_BIG_ENDIAN |
10825 yes | 10965 yes |
10826 #endif | 10966 #endif |
10845 | 10985 |
10846 test -z "$with_tty" && with_tty=yes | 10986 test -z "$with_tty" && with_tty=yes |
10847 | 10987 |
10848 if test "$with_tty" = "yes" ; then | 10988 if test "$with_tty" = "yes" ; then |
10849 echo "checking for TTY-related features" 1>&6 | 10989 echo "checking for TTY-related features" 1>&6 |
10850 echo "configure:10851: checking for TTY-related features" >&5 | 10990 echo "configure:10991: checking for TTY-related features" >&5 |
10851 { test "$extra_verbose" = "yes" && cat << \EOF | 10991 { test "$extra_verbose" = "yes" && cat << \EOF |
10852 Defining HAVE_TTY | 10992 Defining HAVE_TTY |
10853 EOF | 10993 EOF |
10854 cat >> confdefs.h <<\EOF | 10994 cat >> confdefs.h <<\EOF |
10855 #define HAVE_TTY 1 | 10995 #define HAVE_TTY 1 |
10861 fi | 11001 fi |
10862 | 11002 |
10863 if test -z "$with_ncurses"; then | 11003 if test -z "$with_ncurses"; then |
10864 | 11004 |
10865 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 11005 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10866 echo "configure:10867: checking for tgetent in -lncurses" >&5 | 11006 echo "configure:11007: checking for tgetent in -lncurses" >&5 |
10867 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 11007 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10868 | 11008 |
10869 xe_check_libs=" -lncurses " | 11009 xe_check_libs=" -lncurses " |
10870 cat > conftest.$ac_ext <<EOF | 11010 cat > conftest.$ac_ext <<EOF |
10871 #line 10872 "configure" | 11011 #line 11012 "configure" |
10872 #include "confdefs.h" | 11012 #include "confdefs.h" |
10873 /* Override any gcc2 internal prototype to avoid an error. */ | 11013 /* Override any gcc2 internal prototype to avoid an error. */ |
10874 /* We use char because int might match the return type of a gcc2 | 11014 /* We use char because int might match the return type of a gcc2 |
10875 builtin and then its argument prototype would still apply. */ | 11015 builtin and then its argument prototype would still apply. */ |
10876 char tgetent(); | 11016 char tgetent(); |
10877 | 11017 |
10878 int main() { | 11018 int main() { |
10879 tgetent() | 11019 tgetent() |
10880 ; return 0; } | 11020 ; return 0; } |
10881 EOF | 11021 EOF |
10882 if { (eval echo configure:10883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11022 if { (eval echo configure:11023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10883 rm -rf conftest* | 11023 rm -rf conftest* |
10884 eval "ac_cv_lib_$ac_lib_var=yes" | 11024 eval "ac_cv_lib_$ac_lib_var=yes" |
10885 else | 11025 else |
10886 echo "configure: failed program was:" >&5 | 11026 echo "configure: failed program was:" >&5 |
10887 cat conftest.$ac_ext >&5 | 11027 cat conftest.$ac_ext >&5 |
10910 EOF | 11050 EOF |
10911 } | 11051 } |
10912 | 11052 |
10913 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11053 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10914 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11054 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10915 echo "configure:10916: checking for ncurses/curses.h" >&5 | 11055 echo "configure:11056: checking for ncurses/curses.h" >&5 |
10916 | 11056 |
10917 cat > conftest.$ac_ext <<EOF | 11057 cat > conftest.$ac_ext <<EOF |
10918 #line 10919 "configure" | 11058 #line 11059 "configure" |
10919 #include "confdefs.h" | 11059 #include "confdefs.h" |
10920 #include <ncurses/curses.h> | 11060 #include <ncurses/curses.h> |
10921 EOF | 11061 EOF |
10922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10923 { (eval echo configure:10924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11063 { (eval echo configure:11064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10925 if test -z "$ac_err"; then | 11065 if test -z "$ac_err"; then |
10926 rm -rf conftest* | 11066 rm -rf conftest* |
10927 eval "ac_cv_header_$ac_safe=yes" | 11067 eval "ac_cv_header_$ac_safe=yes" |
10928 else | 11068 else |
10940 echo "$ac_t""no" 1>&6 | 11080 echo "$ac_t""no" 1>&6 |
10941 fi | 11081 fi |
10942 | 11082 |
10943 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 11083 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10944 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 11084 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10945 echo "configure:10946: checking for ncurses/term.h" >&5 | 11085 echo "configure:11086: checking for ncurses/term.h" >&5 |
10946 | 11086 |
10947 cat > conftest.$ac_ext <<EOF | 11087 cat > conftest.$ac_ext <<EOF |
10948 #line 10949 "configure" | 11088 #line 11089 "configure" |
10949 #include "confdefs.h" | 11089 #include "confdefs.h" |
10950 #include <ncurses/term.h> | 11090 #include <ncurses/term.h> |
10951 EOF | 11091 EOF |
10952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10953 { (eval echo configure:10954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11093 { (eval echo configure:11094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10954 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10955 if test -z "$ac_err"; then | 11095 if test -z "$ac_err"; then |
10956 rm -rf conftest* | 11096 rm -rf conftest* |
10957 eval "ac_cv_header_$ac_safe=yes" | 11097 eval "ac_cv_header_$ac_safe=yes" |
10958 else | 11098 else |
10978 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 11118 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10979 save_c_switch_site="$c_switch_site" | 11119 save_c_switch_site="$c_switch_site" |
10980 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 11120 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10981 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11121 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10982 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11122 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10983 echo "configure:10984: checking for ncurses/curses.h" >&5 | 11123 echo "configure:11124: checking for ncurses/curses.h" >&5 |
10984 | 11124 |
10985 cat > conftest.$ac_ext <<EOF | 11125 cat > conftest.$ac_ext <<EOF |
10986 #line 10987 "configure" | 11126 #line 11127 "configure" |
10987 #include "confdefs.h" | 11127 #include "confdefs.h" |
10988 #include <ncurses/curses.h> | 11128 #include <ncurses/curses.h> |
10989 EOF | 11129 EOF |
10990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10991 { (eval echo configure:10992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11131 { (eval echo configure:11132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10993 if test -z "$ac_err"; then | 11133 if test -z "$ac_err"; then |
10994 rm -rf conftest* | 11134 rm -rf conftest* |
10995 eval "ac_cv_header_$ac_safe=yes" | 11135 eval "ac_cv_header_$ac_safe=yes" |
10996 else | 11136 else |
11021 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11161 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11022 else | 11162 else |
11023 for lib in curses termlib termcap; do | 11163 for lib in curses termlib termcap; do |
11024 | 11164 |
11025 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 11165 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
11026 echo "configure:11027: checking for tgetent in -l$lib" >&5 | 11166 echo "configure:11167: checking for tgetent in -l$lib" >&5 |
11027 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 11167 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
11028 | 11168 |
11029 xe_check_libs=" -l$lib " | 11169 xe_check_libs=" -l$lib " |
11030 cat > conftest.$ac_ext <<EOF | 11170 cat > conftest.$ac_ext <<EOF |
11031 #line 11032 "configure" | 11171 #line 11172 "configure" |
11032 #include "confdefs.h" | 11172 #include "confdefs.h" |
11033 /* Override any gcc2 internal prototype to avoid an error. */ | 11173 /* Override any gcc2 internal prototype to avoid an error. */ |
11034 /* We use char because int might match the return type of a gcc2 | 11174 /* We use char because int might match the return type of a gcc2 |
11035 builtin and then its argument prototype would still apply. */ | 11175 builtin and then its argument prototype would still apply. */ |
11036 char tgetent(); | 11176 char tgetent(); |
11037 | 11177 |
11038 int main() { | 11178 int main() { |
11039 tgetent() | 11179 tgetent() |
11040 ; return 0; } | 11180 ; return 0; } |
11041 EOF | 11181 EOF |
11042 if { (eval echo configure:11043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11182 if { (eval echo configure:11183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11043 rm -rf conftest* | 11183 rm -rf conftest* |
11044 eval "ac_cv_lib_$ac_lib_var=yes" | 11184 eval "ac_cv_lib_$ac_lib_var=yes" |
11045 else | 11185 else |
11046 echo "configure: failed program was:" >&5 | 11186 echo "configure: failed program was:" >&5 |
11047 cat conftest.$ac_ext >&5 | 11187 cat conftest.$ac_ext >&5 |
11068 if test -n "$libs_termcap"; then | 11208 if test -n "$libs_termcap"; then |
11069 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11209 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11070 else | 11210 else |
11071 | 11211 |
11072 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11212 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
11073 echo "configure:11074: checking for tgetent in -lcurses" >&5 | 11213 echo "configure:11214: checking for tgetent in -lcurses" >&5 |
11074 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11214 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
11075 | 11215 |
11076 xe_check_libs=" -lcurses " | 11216 xe_check_libs=" -lcurses " |
11077 cat > conftest.$ac_ext <<EOF | 11217 cat > conftest.$ac_ext <<EOF |
11078 #line 11079 "configure" | 11218 #line 11219 "configure" |
11079 #include "confdefs.h" | 11219 #include "confdefs.h" |
11080 /* Override any gcc2 internal prototype to avoid an error. */ | 11220 /* Override any gcc2 internal prototype to avoid an error. */ |
11081 /* We use char because int might match the return type of a gcc2 | 11221 /* We use char because int might match the return type of a gcc2 |
11082 builtin and then its argument prototype would still apply. */ | 11222 builtin and then its argument prototype would still apply. */ |
11083 char tgetent(); | 11223 char tgetent(); |
11084 | 11224 |
11085 int main() { | 11225 int main() { |
11086 tgetent() | 11226 tgetent() |
11087 ; return 0; } | 11227 ; return 0; } |
11088 EOF | 11228 EOF |
11089 if { (eval echo configure:11090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11229 if { (eval echo configure:11230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11090 rm -rf conftest* | 11230 rm -rf conftest* |
11091 eval "ac_cv_lib_$ac_lib_var=yes" | 11231 eval "ac_cv_lib_$ac_lib_var=yes" |
11092 else | 11232 else |
11093 echo "configure: failed program was:" >&5 | 11233 echo "configure: failed program was:" >&5 |
11094 cat conftest.$ac_ext >&5 | 11234 cat conftest.$ac_ext >&5 |
11102 echo "$ac_t""yes" 1>&6 | 11242 echo "$ac_t""yes" 1>&6 |
11103 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11243 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11104 else | 11244 else |
11105 echo "$ac_t""no" 1>&6 | 11245 echo "$ac_t""no" 1>&6 |
11106 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11246 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11107 echo "configure:11108: checking for tgetent in -ltermcap" >&5 | 11247 echo "configure:11248: checking for tgetent in -ltermcap" >&5 |
11108 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11248 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11109 | 11249 |
11110 xe_check_libs=" -ltermcap " | 11250 xe_check_libs=" -ltermcap " |
11111 cat > conftest.$ac_ext <<EOF | 11251 cat > conftest.$ac_ext <<EOF |
11112 #line 11113 "configure" | 11252 #line 11253 "configure" |
11113 #include "confdefs.h" | 11253 #include "confdefs.h" |
11114 /* Override any gcc2 internal prototype to avoid an error. */ | 11254 /* Override any gcc2 internal prototype to avoid an error. */ |
11115 /* We use char because int might match the return type of a gcc2 | 11255 /* We use char because int might match the return type of a gcc2 |
11116 builtin and then its argument prototype would still apply. */ | 11256 builtin and then its argument prototype would still apply. */ |
11117 char tgetent(); | 11257 char tgetent(); |
11118 | 11258 |
11119 int main() { | 11259 int main() { |
11120 tgetent() | 11260 tgetent() |
11121 ; return 0; } | 11261 ; return 0; } |
11122 EOF | 11262 EOF |
11123 if { (eval echo configure:11124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11263 if { (eval echo configure:11264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11124 rm -rf conftest* | 11264 rm -rf conftest* |
11125 eval "ac_cv_lib_$ac_lib_var=yes" | 11265 eval "ac_cv_lib_$ac_lib_var=yes" |
11126 else | 11266 else |
11127 echo "configure: failed program was:" >&5 | 11267 echo "configure: failed program was:" >&5 |
11128 cat conftest.$ac_ext >&5 | 11268 cat conftest.$ac_ext >&5 |
11166 } | 11306 } |
11167 | 11307 |
11168 | 11308 |
11169 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11309 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11170 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11310 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11171 echo "configure:11172: checking for gpm.h" >&5 | 11311 echo "configure:11312: checking for gpm.h" >&5 |
11172 | 11312 |
11173 cat > conftest.$ac_ext <<EOF | 11313 cat > conftest.$ac_ext <<EOF |
11174 #line 11175 "configure" | 11314 #line 11315 "configure" |
11175 #include "confdefs.h" | 11315 #include "confdefs.h" |
11176 #include <gpm.h> | 11316 #include <gpm.h> |
11177 EOF | 11317 EOF |
11178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11179 { (eval echo configure:11180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11319 { (eval echo configure:11320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11181 if test -z "$ac_err"; then | 11321 if test -z "$ac_err"; then |
11182 rm -rf conftest* | 11322 rm -rf conftest* |
11183 eval "ac_cv_header_$ac_safe=yes" | 11323 eval "ac_cv_header_$ac_safe=yes" |
11184 else | 11324 else |
11197 with_gpm=no | 11337 with_gpm=no |
11198 fi | 11338 fi |
11199 } | 11339 } |
11200 test -z "$with_gpm" && { | 11340 test -z "$with_gpm" && { |
11201 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11341 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11202 echo "configure:11203: checking for Gpm_Open in -lgpm" >&5 | 11342 echo "configure:11343: checking for Gpm_Open in -lgpm" >&5 |
11203 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11343 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11204 | 11344 |
11205 xe_check_libs=" -lgpm " | 11345 xe_check_libs=" -lgpm " |
11206 cat > conftest.$ac_ext <<EOF | 11346 cat > conftest.$ac_ext <<EOF |
11207 #line 11208 "configure" | 11347 #line 11348 "configure" |
11208 #include "confdefs.h" | 11348 #include "confdefs.h" |
11209 /* Override any gcc2 internal prototype to avoid an error. */ | 11349 /* Override any gcc2 internal prototype to avoid an error. */ |
11210 /* We use char because int might match the return type of a gcc2 | 11350 /* We use char because int might match the return type of a gcc2 |
11211 builtin and then its argument prototype would still apply. */ | 11351 builtin and then its argument prototype would still apply. */ |
11212 char Gpm_Open(); | 11352 char Gpm_Open(); |
11213 | 11353 |
11214 int main() { | 11354 int main() { |
11215 Gpm_Open() | 11355 Gpm_Open() |
11216 ; return 0; } | 11356 ; return 0; } |
11217 EOF | 11357 EOF |
11218 if { (eval echo configure:11219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11358 if { (eval echo configure:11359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11219 rm -rf conftest* | 11359 rm -rf conftest* |
11220 eval "ac_cv_lib_$ac_lib_var=yes" | 11360 eval "ac_cv_lib_$ac_lib_var=yes" |
11221 else | 11361 else |
11222 echo "configure: failed program was:" >&5 | 11362 echo "configure: failed program was:" >&5 |
11223 cat conftest.$ac_ext >&5 | 11363 cat conftest.$ac_ext >&5 |
11262 echo " xemacs will be linked with \"event-unixoid.o\"" | 11402 echo " xemacs will be linked with \"event-unixoid.o\"" |
11263 fi | 11403 fi |
11264 | 11404 |
11265 | 11405 |
11266 echo "checking for database support" 1>&6 | 11406 echo "checking for database support" 1>&6 |
11267 echo "configure:11268: checking for database support" >&5 | 11407 echo "configure:11408: checking for database support" >&5 |
11268 | 11408 |
11269 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11409 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
11270 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11410 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11271 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11411 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11272 echo "configure:11273: checking for ndbm.h" >&5 | 11412 echo "configure:11413: checking for ndbm.h" >&5 |
11273 | 11413 |
11274 cat > conftest.$ac_ext <<EOF | 11414 cat > conftest.$ac_ext <<EOF |
11275 #line 11276 "configure" | 11415 #line 11416 "configure" |
11276 #include "confdefs.h" | 11416 #include "confdefs.h" |
11277 #include <ndbm.h> | 11417 #include <ndbm.h> |
11278 EOF | 11418 EOF |
11279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11280 { (eval echo configure:11281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11420 { (eval echo configure:11421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11282 if test -z "$ac_err"; then | 11422 if test -z "$ac_err"; then |
11283 rm -rf conftest* | 11423 rm -rf conftest* |
11284 eval "ac_cv_header_$ac_safe=yes" | 11424 eval "ac_cv_header_$ac_safe=yes" |
11285 else | 11425 else |
11305 fi | 11445 fi |
11306 | 11446 |
11307 if test "$with_database_gnudbm" != "no"; then | 11447 if test "$with_database_gnudbm" != "no"; then |
11308 | 11448 |
11309 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11449 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11310 echo "configure:11311: checking for dbm_open in -lgdbm" >&5 | 11450 echo "configure:11451: checking for dbm_open in -lgdbm" >&5 |
11311 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11451 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11312 | 11452 |
11313 xe_check_libs=" -lgdbm " | 11453 xe_check_libs=" -lgdbm " |
11314 cat > conftest.$ac_ext <<EOF | 11454 cat > conftest.$ac_ext <<EOF |
11315 #line 11316 "configure" | 11455 #line 11456 "configure" |
11316 #include "confdefs.h" | 11456 #include "confdefs.h" |
11317 /* Override any gcc2 internal prototype to avoid an error. */ | 11457 /* Override any gcc2 internal prototype to avoid an error. */ |
11318 /* We use char because int might match the return type of a gcc2 | 11458 /* We use char because int might match the return type of a gcc2 |
11319 builtin and then its argument prototype would still apply. */ | 11459 builtin and then its argument prototype would still apply. */ |
11320 char dbm_open(); | 11460 char dbm_open(); |
11321 | 11461 |
11322 int main() { | 11462 int main() { |
11323 dbm_open() | 11463 dbm_open() |
11324 ; return 0; } | 11464 ; return 0; } |
11325 EOF | 11465 EOF |
11326 if { (eval echo configure:11327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11466 if { (eval echo configure:11467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11327 rm -rf conftest* | 11467 rm -rf conftest* |
11328 eval "ac_cv_lib_$ac_lib_var=yes" | 11468 eval "ac_cv_lib_$ac_lib_var=yes" |
11329 else | 11469 else |
11330 echo "configure: failed program was:" >&5 | 11470 echo "configure: failed program was:" >&5 |
11331 cat conftest.$ac_ext >&5 | 11471 cat conftest.$ac_ext >&5 |
11349 | 11489 |
11350 fi | 11490 fi |
11351 | 11491 |
11352 if test "$with_database_dbm" != "no"; then | 11492 if test "$with_database_dbm" != "no"; then |
11353 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11493 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11354 echo "configure:11355: checking for dbm_open" >&5 | 11494 echo "configure:11495: checking for dbm_open" >&5 |
11355 | 11495 |
11356 cat > conftest.$ac_ext <<EOF | 11496 cat > conftest.$ac_ext <<EOF |
11357 #line 11358 "configure" | 11497 #line 11498 "configure" |
11358 #include "confdefs.h" | 11498 #include "confdefs.h" |
11359 /* System header to define __stub macros and hopefully few prototypes, | 11499 /* System header to define __stub macros and hopefully few prototypes, |
11360 which can conflict with char dbm_open(); below. */ | 11500 which can conflict with char dbm_open(); below. */ |
11361 #include <assert.h> | 11501 #include <assert.h> |
11362 /* Override any gcc2 internal prototype to avoid an error. */ | 11502 /* Override any gcc2 internal prototype to avoid an error. */ |
11375 dbm_open(); | 11515 dbm_open(); |
11376 #endif | 11516 #endif |
11377 | 11517 |
11378 ; return 0; } | 11518 ; return 0; } |
11379 EOF | 11519 EOF |
11380 if { (eval echo configure:11381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11520 if { (eval echo configure:11521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11381 rm -rf conftest* | 11521 rm -rf conftest* |
11382 eval "ac_cv_func_dbm_open=yes" | 11522 eval "ac_cv_func_dbm_open=yes" |
11383 else | 11523 else |
11384 echo "configure: failed program was:" >&5 | 11524 echo "configure: failed program was:" >&5 |
11385 cat conftest.$ac_ext >&5 | 11525 cat conftest.$ac_ext >&5 |
11394 else | 11534 else |
11395 echo "$ac_t""no" 1>&6 | 11535 echo "$ac_t""no" 1>&6 |
11396 | 11536 |
11397 | 11537 |
11398 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11538 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11399 echo "configure:11400: checking for dbm_open in -ldbm" >&5 | 11539 echo "configure:11540: checking for dbm_open in -ldbm" >&5 |
11400 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11540 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11401 | 11541 |
11402 xe_check_libs=" -ldbm " | 11542 xe_check_libs=" -ldbm " |
11403 cat > conftest.$ac_ext <<EOF | 11543 cat > conftest.$ac_ext <<EOF |
11404 #line 11405 "configure" | 11544 #line 11545 "configure" |
11405 #include "confdefs.h" | 11545 #include "confdefs.h" |
11406 /* Override any gcc2 internal prototype to avoid an error. */ | 11546 /* Override any gcc2 internal prototype to avoid an error. */ |
11407 /* We use char because int might match the return type of a gcc2 | 11547 /* We use char because int might match the return type of a gcc2 |
11408 builtin and then its argument prototype would still apply. */ | 11548 builtin and then its argument prototype would still apply. */ |
11409 char dbm_open(); | 11549 char dbm_open(); |
11410 | 11550 |
11411 int main() { | 11551 int main() { |
11412 dbm_open() | 11552 dbm_open() |
11413 ; return 0; } | 11553 ; return 0; } |
11414 EOF | 11554 EOF |
11415 if { (eval echo configure:11416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11555 if { (eval echo configure:11556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11416 rm -rf conftest* | 11556 rm -rf conftest* |
11417 eval "ac_cv_lib_$ac_lib_var=yes" | 11557 eval "ac_cv_lib_$ac_lib_var=yes" |
11418 else | 11558 else |
11419 echo "configure: failed program was:" >&5 | 11559 echo "configure: failed program was:" >&5 |
11420 cat conftest.$ac_ext >&5 | 11560 cat conftest.$ac_ext >&5 |
11452 | 11592 |
11453 fi | 11593 fi |
11454 | 11594 |
11455 if test "$with_database_berkdb" != "no"; then | 11595 if test "$with_database_berkdb" != "no"; then |
11456 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11596 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11457 echo "configure:11458: checking for Berkeley db.h" >&5 | 11597 echo "configure:11598: checking for Berkeley db.h" >&5 |
11458 for path in "db/db.h" "db.h"; do | 11598 for path in "db/db.h" "db.h"; do |
11459 cat > conftest.$ac_ext <<EOF | 11599 cat > conftest.$ac_ext <<EOF |
11460 #line 11461 "configure" | 11600 #line 11601 "configure" |
11461 #include "confdefs.h" | 11601 #include "confdefs.h" |
11462 | 11602 |
11463 #include <stdlib.h> | 11603 #include <stdlib.h> |
11464 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 11604 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
11465 #ifdef HAVE_INTTYPES_H | 11605 #ifdef HAVE_INTTYPES_H |
11477 | 11617 |
11478 int main() { | 11618 int main() { |
11479 | 11619 |
11480 ; return 0; } | 11620 ; return 0; } |
11481 EOF | 11621 EOF |
11482 if { (eval echo configure:11483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11622 if { (eval echo configure:11623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11483 rm -rf conftest* | 11623 rm -rf conftest* |
11484 db_h_path="$path"; break | 11624 db_h_path="$path"; break |
11485 else | 11625 else |
11486 echo "configure: failed program was:" >&5 | 11626 echo "configure: failed program was:" >&5 |
11487 cat conftest.$ac_ext >&5 | 11627 cat conftest.$ac_ext >&5 |
11493 else echo "$ac_t""$db_h_path" 1>&6 | 11633 else echo "$ac_t""$db_h_path" 1>&6 |
11494 fi | 11634 fi |
11495 | 11635 |
11496 if test "$with_database_berkdb" != "no"; then | 11636 if test "$with_database_berkdb" != "no"; then |
11497 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11637 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11498 echo "configure:11499: checking for Berkeley DB version" >&5 | 11638 echo "configure:11639: checking for Berkeley DB version" >&5 |
11499 cat > conftest.$ac_ext <<EOF | 11639 cat > conftest.$ac_ext <<EOF |
11500 #line 11501 "configure" | 11640 #line 11641 "configure" |
11501 #include "confdefs.h" | 11641 #include "confdefs.h" |
11502 #include <$db_h_path> | 11642 #include <$db_h_path> |
11503 #if DB_VERSION_MAJOR > 1 | 11643 #if DB_VERSION_MAJOR > 1 |
11504 yes | 11644 yes |
11505 #endif | 11645 #endif |
11514 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11654 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11515 fi | 11655 fi |
11516 rm -f conftest* | 11656 rm -f conftest* |
11517 | 11657 |
11518 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11658 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11519 echo "configure:11520: checking for $dbfunc" >&5 | 11659 echo "configure:11660: checking for $dbfunc" >&5 |
11520 | 11660 |
11521 cat > conftest.$ac_ext <<EOF | 11661 cat > conftest.$ac_ext <<EOF |
11522 #line 11523 "configure" | 11662 #line 11663 "configure" |
11523 #include "confdefs.h" | 11663 #include "confdefs.h" |
11524 /* System header to define __stub macros and hopefully few prototypes, | 11664 /* System header to define __stub macros and hopefully few prototypes, |
11525 which can conflict with char $dbfunc(); below. */ | 11665 which can conflict with char $dbfunc(); below. */ |
11526 #include <assert.h> | 11666 #include <assert.h> |
11527 /* Override any gcc2 internal prototype to avoid an error. */ | 11667 /* Override any gcc2 internal prototype to avoid an error. */ |
11540 $dbfunc(); | 11680 $dbfunc(); |
11541 #endif | 11681 #endif |
11542 | 11682 |
11543 ; return 0; } | 11683 ; return 0; } |
11544 EOF | 11684 EOF |
11545 if { (eval echo configure:11546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11685 if { (eval echo configure:11686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11546 rm -rf conftest* | 11686 rm -rf conftest* |
11547 eval "ac_cv_func_$dbfunc=yes" | 11687 eval "ac_cv_func_$dbfunc=yes" |
11548 else | 11688 else |
11549 echo "configure: failed program was:" >&5 | 11689 echo "configure: failed program was:" >&5 |
11550 cat conftest.$ac_ext >&5 | 11690 cat conftest.$ac_ext >&5 |
11559 else | 11699 else |
11560 echo "$ac_t""no" 1>&6 | 11700 echo "$ac_t""no" 1>&6 |
11561 | 11701 |
11562 | 11702 |
11563 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11703 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11564 echo "configure:11565: checking for $dbfunc in -ldb" >&5 | 11704 echo "configure:11705: checking for $dbfunc in -ldb" >&5 |
11565 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11705 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11566 | 11706 |
11567 xe_check_libs=" -ldb " | 11707 xe_check_libs=" -ldb " |
11568 cat > conftest.$ac_ext <<EOF | 11708 cat > conftest.$ac_ext <<EOF |
11569 #line 11570 "configure" | 11709 #line 11710 "configure" |
11570 #include "confdefs.h" | 11710 #include "confdefs.h" |
11571 /* Override any gcc2 internal prototype to avoid an error. */ | 11711 /* Override any gcc2 internal prototype to avoid an error. */ |
11572 /* We use char because int might match the return type of a gcc2 | 11712 /* We use char because int might match the return type of a gcc2 |
11573 builtin and then its argument prototype would still apply. */ | 11713 builtin and then its argument prototype would still apply. */ |
11574 char $dbfunc(); | 11714 char $dbfunc(); |
11575 | 11715 |
11576 int main() { | 11716 int main() { |
11577 $dbfunc() | 11717 $dbfunc() |
11578 ; return 0; } | 11718 ; return 0; } |
11579 EOF | 11719 EOF |
11580 if { (eval echo configure:11581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11720 if { (eval echo configure:11721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11581 rm -rf conftest* | 11721 rm -rf conftest* |
11582 eval "ac_cv_lib_$ac_lib_var=yes" | 11722 eval "ac_cv_lib_$ac_lib_var=yes" |
11583 else | 11723 else |
11584 echo "configure: failed program was:" >&5 | 11724 echo "configure: failed program was:" >&5 |
11585 cat conftest.$ac_ext >&5 | 11725 cat conftest.$ac_ext >&5 |
11639 fi | 11779 fi |
11640 | 11780 |
11641 if test "$with_socks" = "yes"; then | 11781 if test "$with_socks" = "yes"; then |
11642 | 11782 |
11643 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11783 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11644 echo "configure:11645: checking for SOCKSinit in -lsocks" >&5 | 11784 echo "configure:11785: checking for SOCKSinit in -lsocks" >&5 |
11645 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11785 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11646 | 11786 |
11647 xe_check_libs=" -lsocks " | 11787 xe_check_libs=" -lsocks " |
11648 cat > conftest.$ac_ext <<EOF | 11788 cat > conftest.$ac_ext <<EOF |
11649 #line 11650 "configure" | 11789 #line 11790 "configure" |
11650 #include "confdefs.h" | 11790 #include "confdefs.h" |
11651 /* Override any gcc2 internal prototype to avoid an error. */ | 11791 /* Override any gcc2 internal prototype to avoid an error. */ |
11652 /* We use char because int might match the return type of a gcc2 | 11792 /* We use char because int might match the return type of a gcc2 |
11653 builtin and then its argument prototype would still apply. */ | 11793 builtin and then its argument prototype would still apply. */ |
11654 char SOCKSinit(); | 11794 char SOCKSinit(); |
11655 | 11795 |
11656 int main() { | 11796 int main() { |
11657 SOCKSinit() | 11797 SOCKSinit() |
11658 ; return 0; } | 11798 ; return 0; } |
11659 EOF | 11799 EOF |
11660 if { (eval echo configure:11661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11800 if { (eval echo configure:11801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11661 rm -rf conftest* | 11801 rm -rf conftest* |
11662 eval "ac_cv_lib_$ac_lib_var=yes" | 11802 eval "ac_cv_lib_$ac_lib_var=yes" |
11663 else | 11803 else |
11664 echo "configure: failed program was:" >&5 | 11804 echo "configure: failed program was:" >&5 |
11665 cat conftest.$ac_ext >&5 | 11805 cat conftest.$ac_ext >&5 |
11714 | 11854 |
11715 for ac_hdr in dlfcn.h | 11855 for ac_hdr in dlfcn.h |
11716 do | 11856 do |
11717 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11857 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11718 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11719 echo "configure:11720: checking for $ac_hdr" >&5 | 11859 echo "configure:11860: checking for $ac_hdr" >&5 |
11720 | 11860 |
11721 cat > conftest.$ac_ext <<EOF | 11861 cat > conftest.$ac_ext <<EOF |
11722 #line 11723 "configure" | 11862 #line 11863 "configure" |
11723 #include "confdefs.h" | 11863 #include "confdefs.h" |
11724 #include <$ac_hdr> | 11864 #include <$ac_hdr> |
11725 EOF | 11865 EOF |
11726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11727 { (eval echo configure:11728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11867 { (eval echo configure:11868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11729 if test -z "$ac_err"; then | 11869 if test -z "$ac_err"; then |
11730 rm -rf conftest* | 11870 rm -rf conftest* |
11731 eval "ac_cv_header_$ac_safe=yes" | 11871 eval "ac_cv_header_$ac_safe=yes" |
11732 else | 11872 else |
11753 fi | 11893 fi |
11754 done | 11894 done |
11755 | 11895 |
11756 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11896 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11757 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11897 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11758 echo "configure:11759: checking for dlopen in -ldl" >&5 | 11898 echo "configure:11899: checking for dlopen in -ldl" >&5 |
11759 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11899 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11760 | 11900 |
11761 xe_check_libs=" -ldl " | 11901 xe_check_libs=" -ldl " |
11762 cat > conftest.$ac_ext <<EOF | 11902 cat > conftest.$ac_ext <<EOF |
11763 #line 11764 "configure" | 11903 #line 11904 "configure" |
11764 #include "confdefs.h" | 11904 #include "confdefs.h" |
11765 /* Override any gcc2 internal prototype to avoid an error. */ | 11905 /* Override any gcc2 internal prototype to avoid an error. */ |
11766 /* We use char because int might match the return type of a gcc2 | 11906 /* We use char because int might match the return type of a gcc2 |
11767 builtin and then its argument prototype would still apply. */ | 11907 builtin and then its argument prototype would still apply. */ |
11768 char dlopen(); | 11908 char dlopen(); |
11769 | 11909 |
11770 int main() { | 11910 int main() { |
11771 dlopen() | 11911 dlopen() |
11772 ; return 0; } | 11912 ; return 0; } |
11773 EOF | 11913 EOF |
11774 if { (eval echo configure:11775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11914 if { (eval echo configure:11915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11775 rm -rf conftest* | 11915 rm -rf conftest* |
11776 eval "ac_cv_lib_$ac_lib_var=yes" | 11916 eval "ac_cv_lib_$ac_lib_var=yes" |
11777 else | 11917 else |
11778 echo "configure: failed program was:" >&5 | 11918 echo "configure: failed program was:" >&5 |
11779 cat conftest.$ac_ext >&5 | 11919 cat conftest.$ac_ext >&5 |
11798 fi | 11938 fi |
11799 | 11939 |
11800 } | 11940 } |
11801 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11941 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11802 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11942 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11803 echo "configure:11804: checking for _dlopen in -lc" >&5 | 11943 echo "configure:11944: checking for _dlopen in -lc" >&5 |
11804 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11944 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11805 | 11945 |
11806 xe_check_libs=" -lc " | 11946 xe_check_libs=" -lc " |
11807 cat > conftest.$ac_ext <<EOF | 11947 cat > conftest.$ac_ext <<EOF |
11808 #line 11809 "configure" | 11948 #line 11949 "configure" |
11809 #include "confdefs.h" | 11949 #include "confdefs.h" |
11810 /* Override any gcc2 internal prototype to avoid an error. */ | 11950 /* Override any gcc2 internal prototype to avoid an error. */ |
11811 /* We use char because int might match the return type of a gcc2 | 11951 /* We use char because int might match the return type of a gcc2 |
11812 builtin and then its argument prototype would still apply. */ | 11952 builtin and then its argument prototype would still apply. */ |
11813 char _dlopen(); | 11953 char _dlopen(); |
11814 | 11954 |
11815 int main() { | 11955 int main() { |
11816 _dlopen() | 11956 _dlopen() |
11817 ; return 0; } | 11957 ; return 0; } |
11818 EOF | 11958 EOF |
11819 if { (eval echo configure:11820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11959 if { (eval echo configure:11960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11820 rm -rf conftest* | 11960 rm -rf conftest* |
11821 eval "ac_cv_lib_$ac_lib_var=yes" | 11961 eval "ac_cv_lib_$ac_lib_var=yes" |
11822 else | 11962 else |
11823 echo "configure: failed program was:" >&5 | 11963 echo "configure: failed program was:" >&5 |
11824 cat conftest.$ac_ext >&5 | 11964 cat conftest.$ac_ext >&5 |
11843 fi | 11983 fi |
11844 | 11984 |
11845 } | 11985 } |
11846 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11986 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11847 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11987 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11848 echo "configure:11849: checking for dlopen in -lc" >&5 | 11988 echo "configure:11989: checking for dlopen in -lc" >&5 |
11849 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11989 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11850 | 11990 |
11851 xe_check_libs=" -lc " | 11991 xe_check_libs=" -lc " |
11852 cat > conftest.$ac_ext <<EOF | 11992 cat > conftest.$ac_ext <<EOF |
11853 #line 11854 "configure" | 11993 #line 11994 "configure" |
11854 #include "confdefs.h" | 11994 #include "confdefs.h" |
11855 /* Override any gcc2 internal prototype to avoid an error. */ | 11995 /* Override any gcc2 internal prototype to avoid an error. */ |
11856 /* We use char because int might match the return type of a gcc2 | 11996 /* We use char because int might match the return type of a gcc2 |
11857 builtin and then its argument prototype would still apply. */ | 11997 builtin and then its argument prototype would still apply. */ |
11858 char dlopen(); | 11998 char dlopen(); |
11859 | 11999 |
11860 int main() { | 12000 int main() { |
11861 dlopen() | 12001 dlopen() |
11862 ; return 0; } | 12002 ; return 0; } |
11863 EOF | 12003 EOF |
11864 if { (eval echo configure:11865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12004 if { (eval echo configure:12005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11865 rm -rf conftest* | 12005 rm -rf conftest* |
11866 eval "ac_cv_lib_$ac_lib_var=yes" | 12006 eval "ac_cv_lib_$ac_lib_var=yes" |
11867 else | 12007 else |
11868 echo "configure: failed program was:" >&5 | 12008 echo "configure: failed program was:" >&5 |
11869 cat conftest.$ac_ext >&5 | 12009 cat conftest.$ac_ext >&5 |
11888 fi | 12028 fi |
11889 | 12029 |
11890 } | 12030 } |
11891 test -z "$with_shlib" && { | 12031 test -z "$with_shlib" && { |
11892 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 12032 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11893 echo "configure:11894: checking for shl_load in -ldld" >&5 | 12033 echo "configure:12034: checking for shl_load in -ldld" >&5 |
11894 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 12034 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11895 | 12035 |
11896 xe_check_libs=" -ldld " | 12036 xe_check_libs=" -ldld " |
11897 cat > conftest.$ac_ext <<EOF | 12037 cat > conftest.$ac_ext <<EOF |
11898 #line 11899 "configure" | 12038 #line 12039 "configure" |
11899 #include "confdefs.h" | 12039 #include "confdefs.h" |
11900 /* Override any gcc2 internal prototype to avoid an error. */ | 12040 /* Override any gcc2 internal prototype to avoid an error. */ |
11901 /* We use char because int might match the return type of a gcc2 | 12041 /* We use char because int might match the return type of a gcc2 |
11902 builtin and then its argument prototype would still apply. */ | 12042 builtin and then its argument prototype would still apply. */ |
11903 char shl_load(); | 12043 char shl_load(); |
11904 | 12044 |
11905 int main() { | 12045 int main() { |
11906 shl_load() | 12046 shl_load() |
11907 ; return 0; } | 12047 ; return 0; } |
11908 EOF | 12048 EOF |
11909 if { (eval echo configure:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12049 if { (eval echo configure:12050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11910 rm -rf conftest* | 12050 rm -rf conftest* |
11911 eval "ac_cv_lib_$ac_lib_var=yes" | 12051 eval "ac_cv_lib_$ac_lib_var=yes" |
11912 else | 12052 else |
11913 echo "configure: failed program was:" >&5 | 12053 echo "configure: failed program was:" >&5 |
11914 cat conftest.$ac_ext >&5 | 12054 cat conftest.$ac_ext >&5 |
11933 fi | 12073 fi |
11934 | 12074 |
11935 } | 12075 } |
11936 test -z "$with_shlib" && { | 12076 test -z "$with_shlib" && { |
11937 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 12077 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11938 echo "configure:11939: checking for dld_init in -ldld" >&5 | 12078 echo "configure:12079: checking for dld_init in -ldld" >&5 |
11939 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 12079 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11940 | 12080 |
11941 xe_check_libs=" -ldld " | 12081 xe_check_libs=" -ldld " |
11942 cat > conftest.$ac_ext <<EOF | 12082 cat > conftest.$ac_ext <<EOF |
11943 #line 11944 "configure" | 12083 #line 12084 "configure" |
11944 #include "confdefs.h" | 12084 #include "confdefs.h" |
11945 /* Override any gcc2 internal prototype to avoid an error. */ | 12085 /* Override any gcc2 internal prototype to avoid an error. */ |
11946 /* We use char because int might match the return type of a gcc2 | 12086 /* We use char because int might match the return type of a gcc2 |
11947 builtin and then its argument prototype would still apply. */ | 12087 builtin and then its argument prototype would still apply. */ |
11948 char dld_init(); | 12088 char dld_init(); |
11949 | 12089 |
11950 int main() { | 12090 int main() { |
11951 dld_init() | 12091 dld_init() |
11952 ; return 0; } | 12092 ; return 0; } |
11953 EOF | 12093 EOF |
11954 if { (eval echo configure:11955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12094 if { (eval echo configure:12095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11955 rm -rf conftest* | 12095 rm -rf conftest* |
11956 eval "ac_cv_lib_$ac_lib_var=yes" | 12096 eval "ac_cv_lib_$ac_lib_var=yes" |
11957 else | 12097 else |
11958 echo "configure: failed program was:" >&5 | 12098 echo "configure: failed program was:" >&5 |
11959 cat conftest.$ac_ext >&5 | 12099 cat conftest.$ac_ext >&5 |
11999 dll_lflags="-shared" | 12139 dll_lflags="-shared" |
12000 dll_cflags="-r" | 12140 dll_cflags="-r" |
12001 dll_oflags="-o " | 12141 dll_oflags="-o " |
12002 | 12142 |
12003 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 12143 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
12004 echo "configure:12005: checking how to build a shared library" >&5 | 12144 echo "configure:12145: checking how to build a shared library" >&5 |
12005 case `uname -rs` in | 12145 case `uname -rs` in |
12006 UNIX_SV*|UNIX_System_V*) | 12146 UNIX_SV*|UNIX_System_V*) |
12007 dll_lflags="-G" | 12147 dll_lflags="-G" |
12008 dll_cflags=-Kpic | 12148 dll_cflags=-Kpic |
12009 dll_ld="ld" | 12149 dll_ld="ld" |
12090 | 12230 |
12091 | 12231 |
12092 for ac_func in dlerror | 12232 for ac_func in dlerror |
12093 do | 12233 do |
12094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12095 echo "configure:12096: checking for $ac_func" >&5 | 12235 echo "configure:12236: checking for $ac_func" >&5 |
12096 | 12236 |
12097 cat > conftest.$ac_ext <<EOF | 12237 cat > conftest.$ac_ext <<EOF |
12098 #line 12099 "configure" | 12238 #line 12239 "configure" |
12099 #include "confdefs.h" | 12239 #include "confdefs.h" |
12100 /* System header to define __stub macros and hopefully few prototypes, | 12240 /* System header to define __stub macros and hopefully few prototypes, |
12101 which can conflict with char $ac_func(); below. */ | 12241 which can conflict with char $ac_func(); below. */ |
12102 #include <assert.h> | 12242 #include <assert.h> |
12103 /* Override any gcc2 internal prototype to avoid an error. */ | 12243 /* Override any gcc2 internal prototype to avoid an error. */ |
12116 $ac_func(); | 12256 $ac_func(); |
12117 #endif | 12257 #endif |
12118 | 12258 |
12119 ; return 0; } | 12259 ; return 0; } |
12120 EOF | 12260 EOF |
12121 if { (eval echo configure:12122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12261 if { (eval echo configure:12262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12122 rm -rf conftest* | 12262 rm -rf conftest* |
12123 eval "ac_cv_func_$ac_func=yes" | 12263 eval "ac_cv_func_$ac_func=yes" |
12124 else | 12264 else |
12125 echo "configure: failed program was:" >&5 | 12265 echo "configure: failed program was:" >&5 |
12126 cat conftest.$ac_ext >&5 | 12266 cat conftest.$ac_ext >&5 |
12152 *) ;; | 12292 *) ;; |
12153 esac | 12293 esac |
12154 fi | 12294 fi |
12155 | 12295 |
12156 cat > conftest.$ac_ext <<EOF | 12296 cat > conftest.$ac_ext <<EOF |
12157 #line 12158 "configure" | 12297 #line 12298 "configure" |
12158 #include "confdefs.h" | 12298 #include "confdefs.h" |
12159 int main(int c,char *v[]){return 0;} | 12299 int main(int c,char *v[]){return 0;} |
12160 EOF | 12300 EOF |
12161 if { (eval echo configure:12162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12301 if { (eval echo configure:12302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12162 then | 12302 then |
12163 : | 12303 : |
12164 else | 12304 else |
12165 conftest_rc="$?" | 12305 conftest_rc="$?" |
12166 echo "configure: failed program was:" >&5 | 12306 echo "configure: failed program was:" >&5 |