Mercurial > hg > xemacs-beta
comparison configure @ 365:30d2cfa1092a r21-1-12
Import from CVS: tag r21-1-12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:00:12 +0200 |
parents | 972bbb6d6ca2 |
children | a4f53d9b3154 |
comparison
equal
deleted
inserted
replaced
364:63c3368d1275 | 365:30d2cfa1092a |
---|---|
8963 echo "$ac_t""no" 1>&6 | 8963 echo "$ac_t""no" 1>&6 |
8964 fi | 8964 fi |
8965 done | 8965 done |
8966 | 8966 |
8967 | 8967 |
8968 # Check for UNIX98 PTYs. | |
8969 # getpt is a glibc addition which emulates the master device on | |
8970 # systems without kernel support. | |
8971 for ac_func in grantpt unlockpt getpt ptsname | |
8972 do | |
8973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
8974 echo "configure:8975: checking for $ac_func" >&5 | |
8975 | |
8976 cat > conftest.$ac_ext <<EOF | |
8977 #line 8978 "configure" | |
8978 #include "confdefs.h" | |
8979 /* System header to define __stub macros and hopefully few prototypes, | |
8980 which can conflict with char $ac_func(); below. */ | |
8981 #include <assert.h> | |
8982 /* Override any gcc2 internal prototype to avoid an error. */ | |
8983 /* We use char because int might match the return type of a gcc2 | |
8984 builtin and then its argument prototype would still apply. */ | |
8985 char $ac_func(); | |
8986 | |
8987 int main() { | |
8988 | |
8989 /* The GNU C library defines this for functions which it implements | |
8990 to always fail with ENOSYS. Some functions are actually named | |
8991 something starting with __ and the normal name is an alias. */ | |
8992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
8993 choke me | |
8994 #else | |
8995 $ac_func(); | |
8996 #endif | |
8997 | |
8998 ; return 0; } | |
8999 EOF | |
9000 if { (eval echo configure:9001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
9001 rm -rf conftest* | |
9002 eval "ac_cv_func_$ac_func=yes" | |
9003 else | |
9004 echo "configure: failed program was:" >&5 | |
9005 cat conftest.$ac_ext >&5 | |
9006 rm -rf conftest* | |
9007 eval "ac_cv_func_$ac_func=no" | |
9008 fi | |
9009 rm -f conftest* | |
9010 | |
9011 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
9012 echo "$ac_t""yes" 1>&6 | |
9013 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
9014 { test "$extra_verbose" = "yes" && cat << EOF | |
9015 Defining $ac_tr_func | |
9016 EOF | |
9017 cat >> confdefs.h <<EOF | |
9018 #define $ac_tr_func 1 | |
9019 EOF | |
9020 } | |
9021 | |
9022 else | |
9023 echo "$ac_t""no" 1>&6 | |
9024 fi | |
9025 done | |
9026 | |
9027 | |
8968 | 9028 |
8969 case "$opsys" in | 9029 case "$opsys" in |
8970 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | 9030 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then |
8971 echo " xemacs will be linked with \"realpath.o\"" | 9031 echo " xemacs will be linked with \"realpath.o\"" |
8972 fi ;; | 9032 fi ;; |
8976 echo " xemacs will be linked with \"realpath.o\"" | 9036 echo " xemacs will be linked with \"realpath.o\"" |
8977 fi ;; | 9037 fi ;; |
8978 * ) for ac_func in realpath | 9038 * ) for ac_func in realpath |
8979 do | 9039 do |
8980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8981 echo "configure:8982: checking for $ac_func" >&5 | 9041 echo "configure:9042: checking for $ac_func" >&5 |
8982 | 9042 |
8983 cat > conftest.$ac_ext <<EOF | 9043 cat > conftest.$ac_ext <<EOF |
8984 #line 8985 "configure" | 9044 #line 9045 "configure" |
8985 #include "confdefs.h" | 9045 #include "confdefs.h" |
8986 /* System header to define __stub macros and hopefully few prototypes, | 9046 /* System header to define __stub macros and hopefully few prototypes, |
8987 which can conflict with char $ac_func(); below. */ | 9047 which can conflict with char $ac_func(); below. */ |
8988 #include <assert.h> | 9048 #include <assert.h> |
8989 /* Override any gcc2 internal prototype to avoid an error. */ | 9049 /* Override any gcc2 internal prototype to avoid an error. */ |
9002 $ac_func(); | 9062 $ac_func(); |
9003 #endif | 9063 #endif |
9004 | 9064 |
9005 ; return 0; } | 9065 ; return 0; } |
9006 EOF | 9066 EOF |
9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9067 if { (eval echo configure:9068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9008 rm -rf conftest* | 9068 rm -rf conftest* |
9009 eval "ac_cv_func_$ac_func=yes" | 9069 eval "ac_cv_func_$ac_func=yes" |
9010 else | 9070 else |
9011 echo "configure: failed program was:" >&5 | 9071 echo "configure: failed program was:" >&5 |
9012 cat conftest.$ac_ext >&5 | 9072 cat conftest.$ac_ext >&5 |
9036 fi ;; | 9096 fi ;; |
9037 esac ;; | 9097 esac ;; |
9038 esac | 9098 esac |
9039 | 9099 |
9040 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9100 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
9041 echo "configure:9042: checking whether netdb declares h_errno" >&5 | 9101 echo "configure:9102: checking whether netdb declares h_errno" >&5 |
9042 cat > conftest.$ac_ext <<EOF | 9102 cat > conftest.$ac_ext <<EOF |
9043 #line 9044 "configure" | 9103 #line 9104 "configure" |
9044 #include "confdefs.h" | 9104 #include "confdefs.h" |
9045 #include <netdb.h> | 9105 #include <netdb.h> |
9046 int main() { | 9106 int main() { |
9047 return h_errno; | 9107 return h_errno; |
9048 ; return 0; } | 9108 ; return 0; } |
9049 EOF | 9109 EOF |
9050 if { (eval echo configure:9051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9110 if { (eval echo configure:9111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9051 rm -rf conftest* | 9111 rm -rf conftest* |
9052 echo "$ac_t""yes" 1>&6 | 9112 echo "$ac_t""yes" 1>&6 |
9053 { test "$extra_verbose" = "yes" && cat << \EOF | 9113 { test "$extra_verbose" = "yes" && cat << \EOF |
9054 Defining HAVE_H_ERRNO | 9114 Defining HAVE_H_ERRNO |
9055 EOF | 9115 EOF |
9065 echo "$ac_t""no" 1>&6 | 9125 echo "$ac_t""no" 1>&6 |
9066 fi | 9126 fi |
9067 rm -f conftest* | 9127 rm -f conftest* |
9068 | 9128 |
9069 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9129 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
9070 echo "configure:9071: checking for sigsetjmp" >&5 | 9130 echo "configure:9131: checking for sigsetjmp" >&5 |
9071 cat > conftest.$ac_ext <<EOF | 9131 cat > conftest.$ac_ext <<EOF |
9072 #line 9073 "configure" | 9132 #line 9133 "configure" |
9073 #include "confdefs.h" | 9133 #include "confdefs.h" |
9074 #include <setjmp.h> | 9134 #include <setjmp.h> |
9075 int main() { | 9135 int main() { |
9076 sigjmp_buf bar; sigsetjmp (bar, 0); | 9136 sigjmp_buf bar; sigsetjmp (bar, 0); |
9077 ; return 0; } | 9137 ; return 0; } |
9078 EOF | 9138 EOF |
9079 if { (eval echo configure:9080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9139 if { (eval echo configure:9140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9080 rm -rf conftest* | 9140 rm -rf conftest* |
9081 echo "$ac_t""yes" 1>&6 | 9141 echo "$ac_t""yes" 1>&6 |
9082 { test "$extra_verbose" = "yes" && cat << \EOF | 9142 { test "$extra_verbose" = "yes" && cat << \EOF |
9083 Defining HAVE_SIGSETJMP | 9143 Defining HAVE_SIGSETJMP |
9084 EOF | 9144 EOF |
9094 echo "$ac_t""no" 1>&6 | 9154 echo "$ac_t""no" 1>&6 |
9095 fi | 9155 fi |
9096 rm -f conftest* | 9156 rm -f conftest* |
9097 | 9157 |
9098 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9158 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9099 echo "configure:9100: checking whether localtime caches TZ" >&5 | 9159 echo "configure:9160: checking whether localtime caches TZ" >&5 |
9100 | 9160 |
9101 if test "$ac_cv_func_tzset" = "yes"; then | 9161 if test "$ac_cv_func_tzset" = "yes"; then |
9102 cat > conftest.$ac_ext <<EOF | 9162 cat > conftest.$ac_ext <<EOF |
9103 #line 9104 "configure" | 9163 #line 9164 "configure" |
9104 #include "confdefs.h" | 9164 #include "confdefs.h" |
9105 #include <time.h> | 9165 #include <time.h> |
9106 #if STDC_HEADERS | 9166 #if STDC_HEADERS |
9107 # include <stdlib.h> | 9167 # include <stdlib.h> |
9108 #endif | 9168 #endif |
9133 if (localtime (&now)->tm_hour != hour_unset) | 9193 if (localtime (&now)->tm_hour != hour_unset) |
9134 exit (1); | 9194 exit (1); |
9135 exit (0); | 9195 exit (0); |
9136 } | 9196 } |
9137 EOF | 9197 EOF |
9138 if { (eval echo configure:9139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9198 if { (eval echo configure:9199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9139 then | 9199 then |
9140 emacs_cv_localtime_cache=no | 9200 emacs_cv_localtime_cache=no |
9141 else | 9201 else |
9142 conftest_rc="$?" | 9202 conftest_rc="$?" |
9143 echo "configure: failed program was:" >&5 | 9203 echo "configure: failed program was:" >&5 |
9163 | 9223 |
9164 fi | 9224 fi |
9165 | 9225 |
9166 if test "$HAVE_TIMEVAL" = "yes"; then | 9226 if test "$HAVE_TIMEVAL" = "yes"; then |
9167 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9227 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9168 echo "configure:9169: checking whether gettimeofday accepts one or two arguments" >&5 | 9228 echo "configure:9229: checking whether gettimeofday accepts one or two arguments" >&5 |
9169 cat > conftest.$ac_ext <<EOF | 9229 cat > conftest.$ac_ext <<EOF |
9170 #line 9171 "configure" | 9230 #line 9231 "configure" |
9171 #include "confdefs.h" | 9231 #include "confdefs.h" |
9172 | 9232 |
9173 #ifdef TIME_WITH_SYS_TIME | 9233 #ifdef TIME_WITH_SYS_TIME |
9174 #include <sys/time.h> | 9234 #include <sys/time.h> |
9175 #include <time.h> | 9235 #include <time.h> |
9187 struct timezone dummy; | 9247 struct timezone dummy; |
9188 gettimeofday (&time, &dummy); | 9248 gettimeofday (&time, &dummy); |
9189 | 9249 |
9190 ; return 0; } | 9250 ; return 0; } |
9191 EOF | 9251 EOF |
9192 if { (eval echo configure:9193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9252 if { (eval echo configure:9253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9193 rm -rf conftest* | 9253 rm -rf conftest* |
9194 echo "$ac_t""two" 1>&6 | 9254 echo "$ac_t""two" 1>&6 |
9195 else | 9255 else |
9196 echo "configure: failed program was:" >&5 | 9256 echo "configure: failed program was:" >&5 |
9197 cat conftest.$ac_ext >&5 | 9257 cat conftest.$ac_ext >&5 |
9209 rm -f conftest* | 9269 rm -f conftest* |
9210 fi | 9270 fi |
9211 | 9271 |
9212 | 9272 |
9213 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9273 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9214 echo "configure:9215: checking for inline" >&5 | 9274 echo "configure:9275: checking for inline" >&5 |
9215 | 9275 |
9216 ac_cv_c_inline=no | 9276 ac_cv_c_inline=no |
9217 for ac_kw in inline __inline__ __inline; do | 9277 for ac_kw in inline __inline__ __inline; do |
9218 cat > conftest.$ac_ext <<EOF | 9278 cat > conftest.$ac_ext <<EOF |
9219 #line 9220 "configure" | 9279 #line 9280 "configure" |
9220 #include "confdefs.h" | 9280 #include "confdefs.h" |
9221 | 9281 |
9222 int main() { | 9282 int main() { |
9223 } $ac_kw foo() { | 9283 } $ac_kw foo() { |
9224 ; return 0; } | 9284 ; return 0; } |
9225 EOF | 9285 EOF |
9226 if { (eval echo configure:9227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9286 if { (eval echo configure:9287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9227 rm -rf conftest* | 9287 rm -rf conftest* |
9228 ac_cv_c_inline=$ac_kw; break | 9288 ac_cv_c_inline=$ac_kw; break |
9229 else | 9289 else |
9230 echo "configure: failed program was:" >&5 | 9290 echo "configure: failed program was:" >&5 |
9231 cat conftest.$ac_ext >&5 | 9291 cat conftest.$ac_ext >&5 |
9271 | 9331 |
9272 | 9332 |
9273 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9333 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9274 # for constant arguments. Useless! | 9334 # for constant arguments. Useless! |
9275 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9335 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9276 echo "configure:9277: checking for working alloca.h" >&5 | 9336 echo "configure:9337: checking for working alloca.h" >&5 |
9277 | 9337 |
9278 cat > conftest.$ac_ext <<EOF | 9338 cat > conftest.$ac_ext <<EOF |
9279 #line 9280 "configure" | 9339 #line 9340 "configure" |
9280 #include "confdefs.h" | 9340 #include "confdefs.h" |
9281 #include <alloca.h> | 9341 #include <alloca.h> |
9282 int main() { | 9342 int main() { |
9283 char *p = alloca(2 * sizeof(int)); | 9343 char *p = alloca(2 * sizeof(int)); |
9284 ; return 0; } | 9344 ; return 0; } |
9285 EOF | 9345 EOF |
9286 if { (eval echo configure:9287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9346 if { (eval echo configure:9347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9287 rm -rf conftest* | 9347 rm -rf conftest* |
9288 ac_cv_header_alloca_h=yes | 9348 ac_cv_header_alloca_h=yes |
9289 else | 9349 else |
9290 echo "configure: failed program was:" >&5 | 9350 echo "configure: failed program was:" >&5 |
9291 cat conftest.$ac_ext >&5 | 9351 cat conftest.$ac_ext >&5 |
9305 } | 9365 } |
9306 | 9366 |
9307 fi | 9367 fi |
9308 | 9368 |
9309 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9369 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9310 echo "configure:9311: checking for alloca" >&5 | 9370 echo "configure:9371: checking for alloca" >&5 |
9311 | 9371 |
9312 cat > conftest.$ac_ext <<EOF | 9372 cat > conftest.$ac_ext <<EOF |
9313 #line 9314 "configure" | 9373 #line 9374 "configure" |
9314 #include "confdefs.h" | 9374 #include "confdefs.h" |
9315 | 9375 |
9316 #ifdef __GNUC__ | 9376 #ifdef __GNUC__ |
9317 # define alloca __builtin_alloca | 9377 # define alloca __builtin_alloca |
9318 #else | 9378 #else |
9336 | 9396 |
9337 int main() { | 9397 int main() { |
9338 char *p = (char *) alloca(1); | 9398 char *p = (char *) alloca(1); |
9339 ; return 0; } | 9399 ; return 0; } |
9340 EOF | 9400 EOF |
9341 if { (eval echo configure:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9401 if { (eval echo configure:9402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9342 rm -rf conftest* | 9402 rm -rf conftest* |
9343 ac_cv_func_alloca_works=yes | 9403 ac_cv_func_alloca_works=yes |
9344 else | 9404 else |
9345 echo "configure: failed program was:" >&5 | 9405 echo "configure: failed program was:" >&5 |
9346 cat conftest.$ac_ext >&5 | 9406 cat conftest.$ac_ext >&5 |
9375 EOF | 9435 EOF |
9376 } | 9436 } |
9377 | 9437 |
9378 | 9438 |
9379 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9439 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9380 echo "configure:9381: checking whether alloca needs Cray hooks" >&5 | 9440 echo "configure:9441: checking whether alloca needs Cray hooks" >&5 |
9381 | 9441 |
9382 cat > conftest.$ac_ext <<EOF | 9442 cat > conftest.$ac_ext <<EOF |
9383 #line 9384 "configure" | 9443 #line 9444 "configure" |
9384 #include "confdefs.h" | 9444 #include "confdefs.h" |
9385 #if defined(CRAY) && ! defined(CRAY2) | 9445 #if defined(CRAY) && ! defined(CRAY2) |
9386 webecray | 9446 webecray |
9387 #else | 9447 #else |
9388 wenotbecray | 9448 wenotbecray |
9402 | 9462 |
9403 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9463 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9404 if test $ac_cv_os_cray = yes; then | 9464 if test $ac_cv_os_cray = yes; then |
9405 for ac_func in _getb67 GETB67 getb67; do | 9465 for ac_func in _getb67 GETB67 getb67; do |
9406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9407 echo "configure:9408: checking for $ac_func" >&5 | 9467 echo "configure:9468: checking for $ac_func" >&5 |
9408 | 9468 |
9409 cat > conftest.$ac_ext <<EOF | 9469 cat > conftest.$ac_ext <<EOF |
9410 #line 9411 "configure" | 9470 #line 9471 "configure" |
9411 #include "confdefs.h" | 9471 #include "confdefs.h" |
9412 /* System header to define __stub macros and hopefully few prototypes, | 9472 /* System header to define __stub macros and hopefully few prototypes, |
9413 which can conflict with char $ac_func(); below. */ | 9473 which can conflict with char $ac_func(); below. */ |
9414 #include <assert.h> | 9474 #include <assert.h> |
9415 /* Override any gcc2 internal prototype to avoid an error. */ | 9475 /* Override any gcc2 internal prototype to avoid an error. */ |
9428 $ac_func(); | 9488 $ac_func(); |
9429 #endif | 9489 #endif |
9430 | 9490 |
9431 ; return 0; } | 9491 ; return 0; } |
9432 EOF | 9492 EOF |
9433 if { (eval echo configure:9434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9493 if { (eval echo configure:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9434 rm -rf conftest* | 9494 rm -rf conftest* |
9435 eval "ac_cv_func_$ac_func=yes" | 9495 eval "ac_cv_func_$ac_func=yes" |
9436 else | 9496 else |
9437 echo "configure: failed program was:" >&5 | 9497 echo "configure: failed program was:" >&5 |
9438 cat conftest.$ac_ext >&5 | 9498 cat conftest.$ac_ext >&5 |
9458 | 9518 |
9459 done | 9519 done |
9460 fi | 9520 fi |
9461 | 9521 |
9462 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9522 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9463 echo "configure:9464: checking stack direction for C alloca" >&5 | 9523 echo "configure:9524: checking stack direction for C alloca" >&5 |
9464 | 9524 |
9465 cat > conftest.$ac_ext <<EOF | 9525 cat > conftest.$ac_ext <<EOF |
9466 #line 9467 "configure" | 9526 #line 9527 "configure" |
9467 #include "confdefs.h" | 9527 #include "confdefs.h" |
9468 find_stack_direction () | 9528 find_stack_direction () |
9469 { | 9529 { |
9470 static char *addr = 0; | 9530 static char *addr = 0; |
9471 auto char dummy; | 9531 auto char dummy; |
9480 main () | 9540 main () |
9481 { | 9541 { |
9482 exit (find_stack_direction() < 0); | 9542 exit (find_stack_direction() < 0); |
9483 } | 9543 } |
9484 EOF | 9544 EOF |
9485 if { (eval echo configure:9486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9545 if { (eval echo configure:9546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9486 then | 9546 then |
9487 ac_cv_c_stack_direction=1 | 9547 ac_cv_c_stack_direction=1 |
9488 else | 9548 else |
9489 conftest_rc="$?" | 9549 conftest_rc="$?" |
9490 echo "configure: failed program was:" >&5 | 9550 echo "configure: failed program was:" >&5 |
9509 echo " xemacs will be linked with \"$ALLOCA\"" | 9569 echo " xemacs will be linked with \"$ALLOCA\"" |
9510 fi | 9570 fi |
9511 | 9571 |
9512 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9572 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9513 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9573 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9514 echo "configure:9515: checking for vfork.h" >&5 | 9574 echo "configure:9575: checking for vfork.h" >&5 |
9515 | 9575 |
9516 cat > conftest.$ac_ext <<EOF | 9576 cat > conftest.$ac_ext <<EOF |
9517 #line 9518 "configure" | 9577 #line 9578 "configure" |
9518 #include "confdefs.h" | 9578 #include "confdefs.h" |
9519 #include <vfork.h> | 9579 #include <vfork.h> |
9520 EOF | 9580 EOF |
9521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9522 { (eval echo configure:9523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9582 { (eval echo configure:9583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9524 if test -z "$ac_err"; then | 9584 if test -z "$ac_err"; then |
9525 rm -rf conftest* | 9585 rm -rf conftest* |
9526 eval "ac_cv_header_$ac_safe=yes" | 9586 eval "ac_cv_header_$ac_safe=yes" |
9527 else | 9587 else |
9545 else | 9605 else |
9546 echo "$ac_t""no" 1>&6 | 9606 echo "$ac_t""no" 1>&6 |
9547 fi | 9607 fi |
9548 | 9608 |
9549 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9609 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9550 echo "configure:9551: checking for working vfork" >&5 | 9610 echo "configure:9611: checking for working vfork" >&5 |
9551 | 9611 |
9552 cat > conftest.$ac_ext <<EOF | 9612 cat > conftest.$ac_ext <<EOF |
9553 #line 9554 "configure" | 9613 #line 9614 "configure" |
9554 #include "confdefs.h" | 9614 #include "confdefs.h" |
9555 /* Thanks to Paul Eggert for this test. */ | 9615 /* Thanks to Paul Eggert for this test. */ |
9556 #include <stdio.h> | 9616 #include <stdio.h> |
9557 #include <sys/types.h> | 9617 #include <sys/types.h> |
9558 #include <sys/stat.h> | 9618 #include <sys/stat.h> |
9643 || fstat(fileno(stdout), &st) != 0 | 9703 || fstat(fileno(stdout), &st) != 0 |
9644 ); | 9704 ); |
9645 } | 9705 } |
9646 } | 9706 } |
9647 EOF | 9707 EOF |
9648 if { (eval echo configure:9649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9708 if { (eval echo configure:9709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9649 then | 9709 then |
9650 ac_cv_func_vfork_works=yes | 9710 ac_cv_func_vfork_works=yes |
9651 else | 9711 else |
9652 conftest_rc="$?" | 9712 conftest_rc="$?" |
9653 echo "configure: failed program was:" >&5 | 9713 echo "configure: failed program was:" >&5 |
9669 | 9729 |
9670 fi | 9730 fi |
9671 | 9731 |
9672 | 9732 |
9673 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9733 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9674 echo "configure:9675: checking for working strcoll" >&5 | 9734 echo "configure:9735: checking for working strcoll" >&5 |
9675 | 9735 |
9676 cat > conftest.$ac_ext <<EOF | 9736 cat > conftest.$ac_ext <<EOF |
9677 #line 9678 "configure" | 9737 #line 9738 "configure" |
9678 #include "confdefs.h" | 9738 #include "confdefs.h" |
9679 #include <string.h> | 9739 #include <string.h> |
9680 main () | 9740 main () |
9681 { | 9741 { |
9682 exit (strcoll ("abc", "def") >= 0 || | 9742 exit (strcoll ("abc", "def") >= 0 || |
9683 strcoll ("ABC", "DEF") >= 0 || | 9743 strcoll ("ABC", "DEF") >= 0 || |
9684 strcoll ("123", "456") >= 0); | 9744 strcoll ("123", "456") >= 0); |
9685 } | 9745 } |
9686 EOF | 9746 EOF |
9687 if { (eval echo configure:9688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9688 then | 9748 then |
9689 ac_cv_func_strcoll_works=yes | 9749 ac_cv_func_strcoll_works=yes |
9690 else | 9750 else |
9691 conftest_rc="$?" | 9751 conftest_rc="$?" |
9692 echo "configure: failed program was:" >&5 | 9752 echo "configure: failed program was:" >&5 |
9710 | 9770 |
9711 | 9771 |
9712 for ac_func in getpgrp | 9772 for ac_func in getpgrp |
9713 do | 9773 do |
9714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9715 echo "configure:9716: checking for $ac_func" >&5 | 9775 echo "configure:9776: checking for $ac_func" >&5 |
9716 | 9776 |
9717 cat > conftest.$ac_ext <<EOF | 9777 cat > conftest.$ac_ext <<EOF |
9718 #line 9719 "configure" | 9778 #line 9779 "configure" |
9719 #include "confdefs.h" | 9779 #include "confdefs.h" |
9720 /* System header to define __stub macros and hopefully few prototypes, | 9780 /* System header to define __stub macros and hopefully few prototypes, |
9721 which can conflict with char $ac_func(); below. */ | 9781 which can conflict with char $ac_func(); below. */ |
9722 #include <assert.h> | 9782 #include <assert.h> |
9723 /* Override any gcc2 internal prototype to avoid an error. */ | 9783 /* Override any gcc2 internal prototype to avoid an error. */ |
9736 $ac_func(); | 9796 $ac_func(); |
9737 #endif | 9797 #endif |
9738 | 9798 |
9739 ; return 0; } | 9799 ; return 0; } |
9740 EOF | 9800 EOF |
9741 if { (eval echo configure:9742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9801 if { (eval echo configure:9802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9742 rm -rf conftest* | 9802 rm -rf conftest* |
9743 eval "ac_cv_func_$ac_func=yes" | 9803 eval "ac_cv_func_$ac_func=yes" |
9744 else | 9804 else |
9745 echo "configure: failed program was:" >&5 | 9805 echo "configure: failed program was:" >&5 |
9746 cat conftest.$ac_ext >&5 | 9806 cat conftest.$ac_ext >&5 |
9764 echo "$ac_t""no" 1>&6 | 9824 echo "$ac_t""no" 1>&6 |
9765 fi | 9825 fi |
9766 done | 9826 done |
9767 | 9827 |
9768 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9828 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9769 echo "configure:9770: checking whether getpgrp takes no argument" >&5 | 9829 echo "configure:9830: checking whether getpgrp takes no argument" >&5 |
9770 | 9830 |
9771 cat > conftest.$ac_ext <<EOF | 9831 cat > conftest.$ac_ext <<EOF |
9772 #line 9773 "configure" | 9832 #line 9833 "configure" |
9773 #include "confdefs.h" | 9833 #include "confdefs.h" |
9774 | 9834 |
9775 /* | 9835 /* |
9776 * If this system has a BSD-style getpgrp(), | 9836 * If this system has a BSD-style getpgrp(), |
9777 * which takes a pid argument, exit unsuccessfully. | 9837 * which takes a pid argument, exit unsuccessfully. |
9822 exit(s>>8); | 9882 exit(s>>8); |
9823 } | 9883 } |
9824 } | 9884 } |
9825 | 9885 |
9826 EOF | 9886 EOF |
9827 if { (eval echo configure:9828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9887 if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9828 then | 9888 then |
9829 ac_cv_func_getpgrp_void=yes | 9889 ac_cv_func_getpgrp_void=yes |
9830 else | 9890 else |
9831 conftest_rc="$?" | 9891 conftest_rc="$?" |
9832 echo "configure: failed program was:" >&5 | 9892 echo "configure: failed program was:" >&5 |
9849 | 9909 |
9850 fi | 9910 fi |
9851 | 9911 |
9852 | 9912 |
9853 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9913 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9854 echo "configure:9855: checking for working mmap" >&5 | 9914 echo "configure:9915: checking for working mmap" >&5 |
9855 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9915 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9856 cat > conftest.$ac_ext <<EOF | 9916 cat > conftest.$ac_ext <<EOF |
9857 #line 9858 "configure" | 9917 #line 9918 "configure" |
9858 #include "confdefs.h" | 9918 #include "confdefs.h" |
9859 #include <stdio.h> | 9919 #include <stdio.h> |
9860 #include <unistd.h> | 9920 #include <unistd.h> |
9861 #include <fcntl.h> | 9921 #include <fcntl.h> |
9862 #include <sys/mman.h> | 9922 #include <sys/mman.h> |
9885 return 0; | 9945 return 0; |
9886 perror ("conftest: mmap failed"); | 9946 perror ("conftest: mmap failed"); |
9887 return 1; | 9947 return 1; |
9888 } | 9948 } |
9889 EOF | 9949 EOF |
9890 if { (eval echo configure:9891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9950 if { (eval echo configure:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9891 then | 9951 then |
9892 have_mmap=yes | 9952 have_mmap=yes |
9893 else | 9953 else |
9894 conftest_rc="$?" | 9954 conftest_rc="$?" |
9895 echo "configure: failed program was:" >&5 | 9955 echo "configure: failed program was:" >&5 |
9920 } | 9980 } |
9921 | 9981 |
9922 | 9982 |
9923 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9983 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9924 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9984 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9925 echo "configure:9926: checking for termios.h" >&5 | 9985 echo "configure:9986: checking for termios.h" >&5 |
9926 | 9986 |
9927 cat > conftest.$ac_ext <<EOF | 9987 cat > conftest.$ac_ext <<EOF |
9928 #line 9929 "configure" | 9988 #line 9989 "configure" |
9929 #include "confdefs.h" | 9989 #include "confdefs.h" |
9930 #include <termios.h> | 9990 #include <termios.h> |
9931 EOF | 9991 EOF |
9932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9933 { (eval echo configure:9934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9993 { (eval echo configure:9994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9935 if test -z "$ac_err"; then | 9995 if test -z "$ac_err"; then |
9936 rm -rf conftest* | 9996 rm -rf conftest* |
9937 eval "ac_cv_header_$ac_safe=yes" | 9997 eval "ac_cv_header_$ac_safe=yes" |
9938 else | 9998 else |
9971 | 10031 |
9972 else | 10032 else |
9973 echo "$ac_t""no" 1>&6 | 10033 echo "$ac_t""no" 1>&6 |
9974 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10034 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9975 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10035 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9976 echo "configure:9977: checking for termio.h" >&5 | 10036 echo "configure:10037: checking for termio.h" >&5 |
9977 | 10037 |
9978 cat > conftest.$ac_ext <<EOF | 10038 cat > conftest.$ac_ext <<EOF |
9979 #line 9980 "configure" | 10039 #line 10040 "configure" |
9980 #include "confdefs.h" | 10040 #include "confdefs.h" |
9981 #include <termio.h> | 10041 #include <termio.h> |
9982 EOF | 10042 EOF |
9983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9984 { (eval echo configure:9985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10044 { (eval echo configure:10045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10045 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9986 if test -z "$ac_err"; then | 10046 if test -z "$ac_err"; then |
9987 rm -rf conftest* | 10047 rm -rf conftest* |
9988 eval "ac_cv_header_$ac_safe=yes" | 10048 eval "ac_cv_header_$ac_safe=yes" |
9989 else | 10049 else |
10011 fi | 10071 fi |
10012 | 10072 |
10013 | 10073 |
10014 | 10074 |
10015 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10075 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10016 echo "configure:10017: checking for socket" >&5 | 10076 echo "configure:10077: checking for socket" >&5 |
10017 | 10077 |
10018 cat > conftest.$ac_ext <<EOF | 10078 cat > conftest.$ac_ext <<EOF |
10019 #line 10020 "configure" | 10079 #line 10080 "configure" |
10020 #include "confdefs.h" | 10080 #include "confdefs.h" |
10021 /* System header to define __stub macros and hopefully few prototypes, | 10081 /* System header to define __stub macros and hopefully few prototypes, |
10022 which can conflict with char socket(); below. */ | 10082 which can conflict with char socket(); below. */ |
10023 #include <assert.h> | 10083 #include <assert.h> |
10024 /* Override any gcc2 internal prototype to avoid an error. */ | 10084 /* Override any gcc2 internal prototype to avoid an error. */ |
10037 socket(); | 10097 socket(); |
10038 #endif | 10098 #endif |
10039 | 10099 |
10040 ; return 0; } | 10100 ; return 0; } |
10041 EOF | 10101 EOF |
10042 if { (eval echo configure:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10043 rm -rf conftest* | 10103 rm -rf conftest* |
10044 eval "ac_cv_func_socket=yes" | 10104 eval "ac_cv_func_socket=yes" |
10045 else | 10105 else |
10046 echo "configure: failed program was:" >&5 | 10106 echo "configure: failed program was:" >&5 |
10047 cat conftest.$ac_ext >&5 | 10107 cat conftest.$ac_ext >&5 |
10052 | 10112 |
10053 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10113 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10054 echo "$ac_t""yes" 1>&6 | 10114 echo "$ac_t""yes" 1>&6 |
10055 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10115 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10056 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10116 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10057 echo "configure:10058: checking for netinet/in.h" >&5 | 10117 echo "configure:10118: checking for netinet/in.h" >&5 |
10058 | 10118 |
10059 cat > conftest.$ac_ext <<EOF | 10119 cat > conftest.$ac_ext <<EOF |
10060 #line 10061 "configure" | 10120 #line 10121 "configure" |
10061 #include "confdefs.h" | 10121 #include "confdefs.h" |
10062 #include <netinet/in.h> | 10122 #include <netinet/in.h> |
10063 EOF | 10123 EOF |
10064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10065 { (eval echo configure:10066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10125 { (eval echo configure:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10067 if test -z "$ac_err"; then | 10127 if test -z "$ac_err"; then |
10068 rm -rf conftest* | 10128 rm -rf conftest* |
10069 eval "ac_cv_header_$ac_safe=yes" | 10129 eval "ac_cv_header_$ac_safe=yes" |
10070 else | 10130 else |
10077 rm -f conftest* | 10137 rm -f conftest* |
10078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10079 echo "$ac_t""yes" 1>&6 | 10139 echo "$ac_t""yes" 1>&6 |
10080 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10140 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10081 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10141 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10082 echo "configure:10083: checking for arpa/inet.h" >&5 | 10142 echo "configure:10143: checking for arpa/inet.h" >&5 |
10083 | 10143 |
10084 cat > conftest.$ac_ext <<EOF | 10144 cat > conftest.$ac_ext <<EOF |
10085 #line 10086 "configure" | 10145 #line 10146 "configure" |
10086 #include "confdefs.h" | 10146 #include "confdefs.h" |
10087 #include <arpa/inet.h> | 10147 #include <arpa/inet.h> |
10088 EOF | 10148 EOF |
10089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10090 { (eval echo configure:10091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10150 { (eval echo configure:10151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10092 if test -z "$ac_err"; then | 10152 if test -z "$ac_err"; then |
10093 rm -rf conftest* | 10153 rm -rf conftest* |
10094 eval "ac_cv_header_$ac_safe=yes" | 10154 eval "ac_cv_header_$ac_safe=yes" |
10095 else | 10155 else |
10110 #define HAVE_SOCKETS 1 | 10170 #define HAVE_SOCKETS 1 |
10111 EOF | 10171 EOF |
10112 } | 10172 } |
10113 | 10173 |
10114 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10174 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10115 echo "configure:10116: checking "for sun_len member in struct sockaddr_un"" >&5 | 10175 echo "configure:10176: checking "for sun_len member in struct sockaddr_un"" >&5 |
10116 cat > conftest.$ac_ext <<EOF | 10176 cat > conftest.$ac_ext <<EOF |
10117 #line 10118 "configure" | 10177 #line 10178 "configure" |
10118 #include "confdefs.h" | 10178 #include "confdefs.h" |
10119 | 10179 |
10120 #include <sys/types.h> | 10180 #include <sys/types.h> |
10121 #include <sys/socket.h> | 10181 #include <sys/socket.h> |
10122 #include <sys/un.h> | 10182 #include <sys/un.h> |
10123 | 10183 |
10124 int main() { | 10184 int main() { |
10125 static struct sockaddr_un x; x.sun_len = 1; | 10185 static struct sockaddr_un x; x.sun_len = 1; |
10126 ; return 0; } | 10186 ; return 0; } |
10127 EOF | 10187 EOF |
10128 if { (eval echo configure:10129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10188 if { (eval echo configure:10189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10129 rm -rf conftest* | 10189 rm -rf conftest* |
10130 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10190 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10131 Defining HAVE_SOCKADDR_SUN_LEN | 10191 Defining HAVE_SOCKADDR_SUN_LEN |
10132 EOF | 10192 EOF |
10133 cat >> confdefs.h <<\EOF | 10193 cat >> confdefs.h <<\EOF |
10141 rm -rf conftest* | 10201 rm -rf conftest* |
10142 echo "$ac_t""no" 1>&6 | 10202 echo "$ac_t""no" 1>&6 |
10143 fi | 10203 fi |
10144 rm -f conftest* | 10204 rm -f conftest* |
10145 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10205 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10146 echo "configure:10147: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10206 echo "configure:10207: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10147 cat > conftest.$ac_ext <<EOF | 10207 cat > conftest.$ac_ext <<EOF |
10148 #line 10149 "configure" | 10208 #line 10209 "configure" |
10149 #include "confdefs.h" | 10209 #include "confdefs.h" |
10150 | 10210 |
10151 #include <sys/types.h> | 10211 #include <sys/types.h> |
10152 #include <netinet/in.h> | 10212 #include <netinet/in.h> |
10153 | 10213 |
10154 int main() { | 10214 int main() { |
10155 static struct ip_mreq x; | 10215 static struct ip_mreq x; |
10156 ; return 0; } | 10216 ; return 0; } |
10157 EOF | 10217 EOF |
10158 if { (eval echo configure:10159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10159 rm -rf conftest* | 10219 rm -rf conftest* |
10160 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10220 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10161 Defining HAVE_MULTICAST | 10221 Defining HAVE_MULTICAST |
10162 EOF | 10222 EOF |
10163 cat >> confdefs.h <<\EOF | 10223 cat >> confdefs.h <<\EOF |
10184 echo "$ac_t""no" 1>&6 | 10244 echo "$ac_t""no" 1>&6 |
10185 fi | 10245 fi |
10186 | 10246 |
10187 | 10247 |
10188 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10248 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10189 echo "configure:10190: checking for msgget" >&5 | 10249 echo "configure:10250: checking for msgget" >&5 |
10190 | 10250 |
10191 cat > conftest.$ac_ext <<EOF | 10251 cat > conftest.$ac_ext <<EOF |
10192 #line 10193 "configure" | 10252 #line 10253 "configure" |
10193 #include "confdefs.h" | 10253 #include "confdefs.h" |
10194 /* System header to define __stub macros and hopefully few prototypes, | 10254 /* System header to define __stub macros and hopefully few prototypes, |
10195 which can conflict with char msgget(); below. */ | 10255 which can conflict with char msgget(); below. */ |
10196 #include <assert.h> | 10256 #include <assert.h> |
10197 /* Override any gcc2 internal prototype to avoid an error. */ | 10257 /* Override any gcc2 internal prototype to avoid an error. */ |
10210 msgget(); | 10270 msgget(); |
10211 #endif | 10271 #endif |
10212 | 10272 |
10213 ; return 0; } | 10273 ; return 0; } |
10214 EOF | 10274 EOF |
10215 if { (eval echo configure:10216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10275 if { (eval echo configure:10276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10216 rm -rf conftest* | 10276 rm -rf conftest* |
10217 eval "ac_cv_func_msgget=yes" | 10277 eval "ac_cv_func_msgget=yes" |
10218 else | 10278 else |
10219 echo "configure: failed program was:" >&5 | 10279 echo "configure: failed program was:" >&5 |
10220 cat conftest.$ac_ext >&5 | 10280 cat conftest.$ac_ext >&5 |
10225 | 10285 |
10226 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10286 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10227 echo "$ac_t""yes" 1>&6 | 10287 echo "$ac_t""yes" 1>&6 |
10228 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10288 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10229 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10289 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10230 echo "configure:10231: checking for sys/ipc.h" >&5 | 10290 echo "configure:10291: checking for sys/ipc.h" >&5 |
10231 | 10291 |
10232 cat > conftest.$ac_ext <<EOF | 10292 cat > conftest.$ac_ext <<EOF |
10233 #line 10234 "configure" | 10293 #line 10294 "configure" |
10234 #include "confdefs.h" | 10294 #include "confdefs.h" |
10235 #include <sys/ipc.h> | 10295 #include <sys/ipc.h> |
10236 EOF | 10296 EOF |
10237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10238 { (eval echo configure:10239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10298 { (eval echo configure:10299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10240 if test -z "$ac_err"; then | 10300 if test -z "$ac_err"; then |
10241 rm -rf conftest* | 10301 rm -rf conftest* |
10242 eval "ac_cv_header_$ac_safe=yes" | 10302 eval "ac_cv_header_$ac_safe=yes" |
10243 else | 10303 else |
10250 rm -f conftest* | 10310 rm -f conftest* |
10251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10252 echo "$ac_t""yes" 1>&6 | 10312 echo "$ac_t""yes" 1>&6 |
10253 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10313 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10254 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10314 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10255 echo "configure:10256: checking for sys/msg.h" >&5 | 10315 echo "configure:10316: checking for sys/msg.h" >&5 |
10256 | 10316 |
10257 cat > conftest.$ac_ext <<EOF | 10317 cat > conftest.$ac_ext <<EOF |
10258 #line 10259 "configure" | 10318 #line 10319 "configure" |
10259 #include "confdefs.h" | 10319 #include "confdefs.h" |
10260 #include <sys/msg.h> | 10320 #include <sys/msg.h> |
10261 EOF | 10321 EOF |
10262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10263 { (eval echo configure:10264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10323 { (eval echo configure:10324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10265 if test -z "$ac_err"; then | 10325 if test -z "$ac_err"; then |
10266 rm -rf conftest* | 10326 rm -rf conftest* |
10267 eval "ac_cv_header_$ac_safe=yes" | 10327 eval "ac_cv_header_$ac_safe=yes" |
10268 else | 10328 else |
10296 fi | 10356 fi |
10297 | 10357 |
10298 | 10358 |
10299 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10359 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10300 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10360 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10301 echo "configure:10302: checking for dirent.h" >&5 | 10361 echo "configure:10362: checking for dirent.h" >&5 |
10302 | 10362 |
10303 cat > conftest.$ac_ext <<EOF | 10363 cat > conftest.$ac_ext <<EOF |
10304 #line 10305 "configure" | 10364 #line 10365 "configure" |
10305 #include "confdefs.h" | 10365 #include "confdefs.h" |
10306 #include <dirent.h> | 10366 #include <dirent.h> |
10307 EOF | 10367 EOF |
10308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10309 { (eval echo configure:10310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10369 { (eval echo configure:10370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10311 if test -z "$ac_err"; then | 10371 if test -z "$ac_err"; then |
10312 rm -rf conftest* | 10372 rm -rf conftest* |
10313 eval "ac_cv_header_$ac_safe=yes" | 10373 eval "ac_cv_header_$ac_safe=yes" |
10314 else | 10374 else |
10331 | 10391 |
10332 else | 10392 else |
10333 echo "$ac_t""no" 1>&6 | 10393 echo "$ac_t""no" 1>&6 |
10334 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10394 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10335 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10395 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10336 echo "configure:10337: checking for sys/dir.h" >&5 | 10396 echo "configure:10397: checking for sys/dir.h" >&5 |
10337 | 10397 |
10338 cat > conftest.$ac_ext <<EOF | 10398 cat > conftest.$ac_ext <<EOF |
10339 #line 10340 "configure" | 10399 #line 10400 "configure" |
10340 #include "confdefs.h" | 10400 #include "confdefs.h" |
10341 #include <sys/dir.h> | 10401 #include <sys/dir.h> |
10342 EOF | 10402 EOF |
10343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10344 { (eval echo configure:10345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10404 { (eval echo configure:10405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10346 if test -z "$ac_err"; then | 10406 if test -z "$ac_err"; then |
10347 rm -rf conftest* | 10407 rm -rf conftest* |
10348 eval "ac_cv_header_$ac_safe=yes" | 10408 eval "ac_cv_header_$ac_safe=yes" |
10349 else | 10409 else |
10372 fi | 10432 fi |
10373 | 10433 |
10374 | 10434 |
10375 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10435 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10376 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10436 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10377 echo "configure:10378: checking for nlist.h" >&5 | 10437 echo "configure:10438: checking for nlist.h" >&5 |
10378 | 10438 |
10379 cat > conftest.$ac_ext <<EOF | 10439 cat > conftest.$ac_ext <<EOF |
10380 #line 10381 "configure" | 10440 #line 10441 "configure" |
10381 #include "confdefs.h" | 10441 #include "confdefs.h" |
10382 #include <nlist.h> | 10442 #include <nlist.h> |
10383 EOF | 10443 EOF |
10384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10385 { (eval echo configure:10386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10445 { (eval echo configure:10446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10387 if test -z "$ac_err"; then | 10447 if test -z "$ac_err"; then |
10388 rm -rf conftest* | 10448 rm -rf conftest* |
10389 eval "ac_cv_header_$ac_safe=yes" | 10449 eval "ac_cv_header_$ac_safe=yes" |
10390 else | 10450 else |
10410 fi | 10470 fi |
10411 | 10471 |
10412 | 10472 |
10413 | 10473 |
10414 echo "checking "for sound support"" 1>&6 | 10474 echo "checking "for sound support"" 1>&6 |
10415 echo "configure:10416: checking "for sound support"" >&5 | 10475 echo "configure:10476: checking "for sound support"" >&5 |
10416 case "$with_sound" in | 10476 case "$with_sound" in |
10417 native | both ) with_native_sound=yes;; | 10477 native | both ) with_native_sound=yes;; |
10418 nas | no ) with_native_sound=no;; | 10478 nas | no ) with_native_sound=no;; |
10419 esac | 10479 esac |
10420 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10480 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10421 | 10481 |
10422 if test "$with_native_sound" != "no"; then | 10482 if test "$with_native_sound" != "no"; then |
10423 if test -n "$native_sound_lib"; then | 10483 if test -n "$native_sound_lib"; then |
10424 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10484 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10425 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10485 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10426 echo "configure:10427: checking for multimedia/audio_device.h" >&5 | 10486 echo "configure:10487: checking for multimedia/audio_device.h" >&5 |
10427 | 10487 |
10428 cat > conftest.$ac_ext <<EOF | 10488 cat > conftest.$ac_ext <<EOF |
10429 #line 10430 "configure" | 10489 #line 10490 "configure" |
10430 #include "confdefs.h" | 10490 #include "confdefs.h" |
10431 #include <multimedia/audio_device.h> | 10491 #include <multimedia/audio_device.h> |
10432 EOF | 10492 EOF |
10433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10434 { (eval echo configure:10435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10494 { (eval echo configure:10495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10495 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10436 if test -z "$ac_err"; then | 10496 if test -z "$ac_err"; then |
10437 rm -rf conftest* | 10497 rm -rf conftest* |
10438 eval "ac_cv_header_$ac_safe=yes" | 10498 eval "ac_cv_header_$ac_safe=yes" |
10439 else | 10499 else |
10477 case "$canonical" in | 10537 case "$canonical" in |
10478 *-sgi-* ) | 10538 *-sgi-* ) |
10479 if test -z "$native_sound_lib"; then | 10539 if test -z "$native_sound_lib"; then |
10480 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` | 10540 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` |
10481 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 | 10541 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 |
10482 echo "configure:10483: checking for audio.h" >&5 | 10542 echo "configure:10543: checking for audio.h" >&5 |
10483 | 10543 |
10484 cat > conftest.$ac_ext <<EOF | 10544 cat > conftest.$ac_ext <<EOF |
10485 #line 10486 "configure" | 10545 #line 10546 "configure" |
10486 #include "confdefs.h" | 10546 #include "confdefs.h" |
10487 #include <audio.h> | 10547 #include <audio.h> |
10488 EOF | 10548 EOF |
10489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10490 { (eval echo configure:10491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10550 { (eval echo configure:10551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10492 if test -z "$ac_err"; then | 10552 if test -z "$ac_err"; then |
10493 rm -rf conftest* | 10553 rm -rf conftest* |
10494 eval "ac_cv_header_$ac_safe=yes" | 10554 eval "ac_cv_header_$ac_safe=yes" |
10495 else | 10555 else |
10503 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10563 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10504 echo "$ac_t""yes" 1>&6 | 10564 echo "$ac_t""yes" 1>&6 |
10505 | 10565 |
10506 | 10566 |
10507 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10567 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10508 echo "configure:10509: checking for ALopenport in -laudio" >&5 | 10568 echo "configure:10569: checking for ALopenport in -laudio" >&5 |
10509 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10569 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10510 | 10570 |
10511 xe_check_libs=" -laudio " | 10571 xe_check_libs=" -laudio " |
10512 cat > conftest.$ac_ext <<EOF | 10572 cat > conftest.$ac_ext <<EOF |
10513 #line 10514 "configure" | 10573 #line 10574 "configure" |
10514 #include "confdefs.h" | 10574 #include "confdefs.h" |
10515 /* Override any gcc2 internal prototype to avoid an error. */ | 10575 /* Override any gcc2 internal prototype to avoid an error. */ |
10516 /* We use char because int might match the return type of a gcc2 | 10576 /* We use char because int might match the return type of a gcc2 |
10517 builtin and then its argument prototype would still apply. */ | 10577 builtin and then its argument prototype would still apply. */ |
10518 char ALopenport(); | 10578 char ALopenport(); |
10519 | 10579 |
10520 int main() { | 10580 int main() { |
10521 ALopenport() | 10581 ALopenport() |
10522 ; return 0; } | 10582 ; return 0; } |
10523 EOF | 10583 EOF |
10524 if { (eval echo configure:10525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10584 if { (eval echo configure:10585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10525 rm -rf conftest* | 10585 rm -rf conftest* |
10526 eval "ac_cv_lib_$ac_lib_var=yes" | 10586 eval "ac_cv_lib_$ac_lib_var=yes" |
10527 else | 10587 else |
10528 echo "configure: failed program was:" >&5 | 10588 echo "configure: failed program was:" >&5 |
10529 cat conftest.$ac_ext >&5 | 10589 cat conftest.$ac_ext >&5 |
10555 fi ;; | 10615 fi ;; |
10556 hppa*-hp-hpux* ) | 10616 hppa*-hp-hpux* ) |
10557 if test -z "$native_sound_lib"; then | 10617 if test -z "$native_sound_lib"; then |
10558 | 10618 |
10559 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10619 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10560 echo "configure:10561: checking for AOpenAudio in -lAlib" >&5 | 10620 echo "configure:10621: checking for AOpenAudio in -lAlib" >&5 |
10561 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10621 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10562 | 10622 |
10563 xe_check_libs=" -lAlib " | 10623 xe_check_libs=" -lAlib " |
10564 cat > conftest.$ac_ext <<EOF | 10624 cat > conftest.$ac_ext <<EOF |
10565 #line 10566 "configure" | 10625 #line 10626 "configure" |
10566 #include "confdefs.h" | 10626 #include "confdefs.h" |
10567 /* Override any gcc2 internal prototype to avoid an error. */ | 10627 /* Override any gcc2 internal prototype to avoid an error. */ |
10568 /* We use char because int might match the return type of a gcc2 | 10628 /* We use char because int might match the return type of a gcc2 |
10569 builtin and then its argument prototype would still apply. */ | 10629 builtin and then its argument prototype would still apply. */ |
10570 char AOpenAudio(); | 10630 char AOpenAudio(); |
10571 | 10631 |
10572 int main() { | 10632 int main() { |
10573 AOpenAudio() | 10633 AOpenAudio() |
10574 ; return 0; } | 10634 ; return 0; } |
10575 EOF | 10635 EOF |
10576 if { (eval echo configure:10577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10636 if { (eval echo configure:10637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10577 rm -rf conftest* | 10637 rm -rf conftest* |
10578 eval "ac_cv_lib_$ac_lib_var=yes" | 10638 eval "ac_cv_lib_$ac_lib_var=yes" |
10579 else | 10639 else |
10580 echo "configure: failed program was:" >&5 | 10640 echo "configure: failed program was:" >&5 |
10581 cat conftest.$ac_ext >&5 | 10641 cat conftest.$ac_ext >&5 |
10609 | 10669 |
10610 if test -z "$sound_found"; then | 10670 if test -z "$sound_found"; then |
10611 for dir in "machine" "sys" "linux"; do | 10671 for dir in "machine" "sys" "linux"; do |
10612 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10672 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10613 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10673 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10614 echo "configure:10615: checking for ${dir}/soundcard.h" >&5 | 10674 echo "configure:10675: checking for ${dir}/soundcard.h" >&5 |
10615 | 10675 |
10616 cat > conftest.$ac_ext <<EOF | 10676 cat > conftest.$ac_ext <<EOF |
10617 #line 10618 "configure" | 10677 #line 10678 "configure" |
10618 #include "confdefs.h" | 10678 #include "confdefs.h" |
10619 #include <${dir}/soundcard.h> | 10679 #include <${dir}/soundcard.h> |
10620 EOF | 10680 EOF |
10621 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" |
10622 { (eval echo configure:10623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10682 { (eval echo configure:10683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10624 if test -z "$ac_err"; then | 10684 if test -z "$ac_err"; then |
10625 rm -rf conftest* | 10685 rm -rf conftest* |
10626 eval "ac_cv_header_$ac_safe=yes" | 10686 eval "ac_cv_header_$ac_safe=yes" |
10627 else | 10687 else |
10687 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10747 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10688 echo " xemacs will be linked with \"nas.o\"" | 10748 echo " xemacs will be linked with \"nas.o\"" |
10689 fi | 10749 fi |
10690 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10750 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10691 cat > conftest.$ac_ext <<EOF | 10751 cat > conftest.$ac_ext <<EOF |
10692 #line 10693 "configure" | 10752 #line 10753 "configure" |
10693 #include "confdefs.h" | 10753 #include "confdefs.h" |
10694 #include <audio/Xtutil.h> | 10754 #include <audio/Xtutil.h> |
10695 EOF | 10755 EOF |
10696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10697 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10757 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10707 } | 10767 } |
10708 | 10768 |
10709 fi | 10769 fi |
10710 rm -f conftest* | 10770 rm -f conftest* |
10711 | 10771 |
10772 cat > conftest.$ac_ext <<EOF | |
10773 #line 10774 "configure" | |
10774 #include "confdefs.h" | |
10775 #include <audio/fileutil.h> | |
10776 #ifdef NAS_BIG_ENDIAN | |
10777 yes | |
10778 #endif | |
10779 | |
10780 EOF | |
10781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
10782 egrep "yes" >/dev/null 2>&1; then | |
10783 rm -rf conftest* | |
10784 { test "$extra_verbose" = "yes" && cat << \EOF | |
10785 Defining NAS_USES_OWN_NAMESPACE | |
10786 EOF | |
10787 cat >> confdefs.h <<\EOF | |
10788 #define NAS_USES_OWN_NAMESPACE 1 | |
10789 EOF | |
10790 } | |
10791 | |
10792 fi | |
10793 rm -f conftest* | |
10794 | |
10712 esac | 10795 esac |
10713 | 10796 |
10714 | 10797 |
10715 test -z "$with_tty" && with_tty=yes | 10798 test -z "$with_tty" && with_tty=yes |
10716 | 10799 |
10717 if test "$with_tty" = "yes" ; then | 10800 if test "$with_tty" = "yes" ; then |
10718 echo "checking for TTY-related features" 1>&6 | 10801 echo "checking for TTY-related features" 1>&6 |
10719 echo "configure:10720: checking for TTY-related features" >&5 | 10802 echo "configure:10803: checking for TTY-related features" >&5 |
10720 { test "$extra_verbose" = "yes" && cat << \EOF | 10803 { test "$extra_verbose" = "yes" && cat << \EOF |
10721 Defining HAVE_TTY | 10804 Defining HAVE_TTY |
10722 EOF | 10805 EOF |
10723 cat >> confdefs.h <<\EOF | 10806 cat >> confdefs.h <<\EOF |
10724 #define HAVE_TTY 1 | 10807 #define HAVE_TTY 1 |
10730 fi | 10813 fi |
10731 | 10814 |
10732 if test -z "$with_ncurses"; then | 10815 if test -z "$with_ncurses"; then |
10733 | 10816 |
10734 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10817 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10735 echo "configure:10736: checking for tgetent in -lncurses" >&5 | 10818 echo "configure:10819: checking for tgetent in -lncurses" >&5 |
10736 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10819 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10737 | 10820 |
10738 xe_check_libs=" -lncurses " | 10821 xe_check_libs=" -lncurses " |
10739 cat > conftest.$ac_ext <<EOF | 10822 cat > conftest.$ac_ext <<EOF |
10740 #line 10741 "configure" | 10823 #line 10824 "configure" |
10741 #include "confdefs.h" | 10824 #include "confdefs.h" |
10742 /* Override any gcc2 internal prototype to avoid an error. */ | 10825 /* Override any gcc2 internal prototype to avoid an error. */ |
10743 /* We use char because int might match the return type of a gcc2 | 10826 /* We use char because int might match the return type of a gcc2 |
10744 builtin and then its argument prototype would still apply. */ | 10827 builtin and then its argument prototype would still apply. */ |
10745 char tgetent(); | 10828 char tgetent(); |
10746 | 10829 |
10747 int main() { | 10830 int main() { |
10748 tgetent() | 10831 tgetent() |
10749 ; return 0; } | 10832 ; return 0; } |
10750 EOF | 10833 EOF |
10751 if { (eval echo configure:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10834 if { (eval echo configure:10835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10752 rm -rf conftest* | 10835 rm -rf conftest* |
10753 eval "ac_cv_lib_$ac_lib_var=yes" | 10836 eval "ac_cv_lib_$ac_lib_var=yes" |
10754 else | 10837 else |
10755 echo "configure: failed program was:" >&5 | 10838 echo "configure: failed program was:" >&5 |
10756 cat conftest.$ac_ext >&5 | 10839 cat conftest.$ac_ext >&5 |
10779 EOF | 10862 EOF |
10780 } | 10863 } |
10781 | 10864 |
10782 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10865 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10783 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10866 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10784 echo "configure:10785: checking for ncurses/curses.h" >&5 | 10867 echo "configure:10868: checking for ncurses/curses.h" >&5 |
10785 | 10868 |
10786 cat > conftest.$ac_ext <<EOF | 10869 cat > conftest.$ac_ext <<EOF |
10787 #line 10788 "configure" | 10870 #line 10871 "configure" |
10788 #include "confdefs.h" | 10871 #include "confdefs.h" |
10789 #include <ncurses/curses.h> | 10872 #include <ncurses/curses.h> |
10790 EOF | 10873 EOF |
10791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10792 { (eval echo configure:10793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10875 { (eval echo configure:10876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10794 if test -z "$ac_err"; then | 10877 if test -z "$ac_err"; then |
10795 rm -rf conftest* | 10878 rm -rf conftest* |
10796 eval "ac_cv_header_$ac_safe=yes" | 10879 eval "ac_cv_header_$ac_safe=yes" |
10797 else | 10880 else |
10809 echo "$ac_t""no" 1>&6 | 10892 echo "$ac_t""no" 1>&6 |
10810 fi | 10893 fi |
10811 | 10894 |
10812 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10895 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10813 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10896 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10814 echo "configure:10815: checking for ncurses/term.h" >&5 | 10897 echo "configure:10898: checking for ncurses/term.h" >&5 |
10815 | 10898 |
10816 cat > conftest.$ac_ext <<EOF | 10899 cat > conftest.$ac_ext <<EOF |
10817 #line 10818 "configure" | 10900 #line 10901 "configure" |
10818 #include "confdefs.h" | 10901 #include "confdefs.h" |
10819 #include <ncurses/term.h> | 10902 #include <ncurses/term.h> |
10820 EOF | 10903 EOF |
10821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10822 { (eval echo configure:10823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10905 { (eval echo configure:10906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10824 if test -z "$ac_err"; then | 10907 if test -z "$ac_err"; then |
10825 rm -rf conftest* | 10908 rm -rf conftest* |
10826 eval "ac_cv_header_$ac_safe=yes" | 10909 eval "ac_cv_header_$ac_safe=yes" |
10827 else | 10910 else |
10847 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10930 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10848 save_c_switch_site="$c_switch_site" | 10931 save_c_switch_site="$c_switch_site" |
10849 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10932 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10850 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10933 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10851 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10934 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10852 echo "configure:10853: checking for ncurses/curses.h" >&5 | 10935 echo "configure:10936: checking for ncurses/curses.h" >&5 |
10853 | 10936 |
10854 cat > conftest.$ac_ext <<EOF | 10937 cat > conftest.$ac_ext <<EOF |
10855 #line 10856 "configure" | 10938 #line 10939 "configure" |
10856 #include "confdefs.h" | 10939 #include "confdefs.h" |
10857 #include <ncurses/curses.h> | 10940 #include <ncurses/curses.h> |
10858 EOF | 10941 EOF |
10859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10860 { (eval echo configure:10861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10943 { (eval echo configure:10944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10862 if test -z "$ac_err"; then | 10945 if test -z "$ac_err"; then |
10863 rm -rf conftest* | 10946 rm -rf conftest* |
10864 eval "ac_cv_header_$ac_safe=yes" | 10947 eval "ac_cv_header_$ac_safe=yes" |
10865 else | 10948 else |
10890 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10973 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10891 else | 10974 else |
10892 for lib in curses termlib termcap; do | 10975 for lib in curses termlib termcap; do |
10893 | 10976 |
10894 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10977 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10895 echo "configure:10896: checking for tgetent in -l$lib" >&5 | 10978 echo "configure:10979: checking for tgetent in -l$lib" >&5 |
10896 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10979 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10897 | 10980 |
10898 xe_check_libs=" -l$lib " | 10981 xe_check_libs=" -l$lib " |
10899 cat > conftest.$ac_ext <<EOF | 10982 cat > conftest.$ac_ext <<EOF |
10900 #line 10901 "configure" | 10983 #line 10984 "configure" |
10901 #include "confdefs.h" | 10984 #include "confdefs.h" |
10902 /* Override any gcc2 internal prototype to avoid an error. */ | 10985 /* Override any gcc2 internal prototype to avoid an error. */ |
10903 /* We use char because int might match the return type of a gcc2 | 10986 /* We use char because int might match the return type of a gcc2 |
10904 builtin and then its argument prototype would still apply. */ | 10987 builtin and then its argument prototype would still apply. */ |
10905 char tgetent(); | 10988 char tgetent(); |
10906 | 10989 |
10907 int main() { | 10990 int main() { |
10908 tgetent() | 10991 tgetent() |
10909 ; return 0; } | 10992 ; return 0; } |
10910 EOF | 10993 EOF |
10911 if { (eval echo configure:10912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10994 if { (eval echo configure:10995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10912 rm -rf conftest* | 10995 rm -rf conftest* |
10913 eval "ac_cv_lib_$ac_lib_var=yes" | 10996 eval "ac_cv_lib_$ac_lib_var=yes" |
10914 else | 10997 else |
10915 echo "configure: failed program was:" >&5 | 10998 echo "configure: failed program was:" >&5 |
10916 cat conftest.$ac_ext >&5 | 10999 cat conftest.$ac_ext >&5 |
10937 if test -n "$libs_termcap"; then | 11020 if test -n "$libs_termcap"; then |
10938 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11021 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10939 else | 11022 else |
10940 | 11023 |
10941 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11024 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10942 echo "configure:10943: checking for tgetent in -lcurses" >&5 | 11025 echo "configure:11026: checking for tgetent in -lcurses" >&5 |
10943 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11026 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10944 | 11027 |
10945 xe_check_libs=" -lcurses " | 11028 xe_check_libs=" -lcurses " |
10946 cat > conftest.$ac_ext <<EOF | 11029 cat > conftest.$ac_ext <<EOF |
10947 #line 10948 "configure" | 11030 #line 11031 "configure" |
10948 #include "confdefs.h" | 11031 #include "confdefs.h" |
10949 /* Override any gcc2 internal prototype to avoid an error. */ | 11032 /* Override any gcc2 internal prototype to avoid an error. */ |
10950 /* We use char because int might match the return type of a gcc2 | 11033 /* We use char because int might match the return type of a gcc2 |
10951 builtin and then its argument prototype would still apply. */ | 11034 builtin and then its argument prototype would still apply. */ |
10952 char tgetent(); | 11035 char tgetent(); |
10953 | 11036 |
10954 int main() { | 11037 int main() { |
10955 tgetent() | 11038 tgetent() |
10956 ; return 0; } | 11039 ; return 0; } |
10957 EOF | 11040 EOF |
10958 if { (eval echo configure:10959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11041 if { (eval echo configure:11042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10959 rm -rf conftest* | 11042 rm -rf conftest* |
10960 eval "ac_cv_lib_$ac_lib_var=yes" | 11043 eval "ac_cv_lib_$ac_lib_var=yes" |
10961 else | 11044 else |
10962 echo "configure: failed program was:" >&5 | 11045 echo "configure: failed program was:" >&5 |
10963 cat conftest.$ac_ext >&5 | 11046 cat conftest.$ac_ext >&5 |
10971 echo "$ac_t""yes" 1>&6 | 11054 echo "$ac_t""yes" 1>&6 |
10972 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11055 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10973 else | 11056 else |
10974 echo "$ac_t""no" 1>&6 | 11057 echo "$ac_t""no" 1>&6 |
10975 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11058 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10976 echo "configure:10977: checking for tgetent in -ltermcap" >&5 | 11059 echo "configure:11060: checking for tgetent in -ltermcap" >&5 |
10977 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11060 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10978 | 11061 |
10979 xe_check_libs=" -ltermcap " | 11062 xe_check_libs=" -ltermcap " |
10980 cat > conftest.$ac_ext <<EOF | 11063 cat > conftest.$ac_ext <<EOF |
10981 #line 10982 "configure" | 11064 #line 11065 "configure" |
10982 #include "confdefs.h" | 11065 #include "confdefs.h" |
10983 /* Override any gcc2 internal prototype to avoid an error. */ | 11066 /* Override any gcc2 internal prototype to avoid an error. */ |
10984 /* We use char because int might match the return type of a gcc2 | 11067 /* We use char because int might match the return type of a gcc2 |
10985 builtin and then its argument prototype would still apply. */ | 11068 builtin and then its argument prototype would still apply. */ |
10986 char tgetent(); | 11069 char tgetent(); |
10987 | 11070 |
10988 int main() { | 11071 int main() { |
10989 tgetent() | 11072 tgetent() |
10990 ; return 0; } | 11073 ; return 0; } |
10991 EOF | 11074 EOF |
10992 if { (eval echo configure:10993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11075 if { (eval echo configure:11076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10993 rm -rf conftest* | 11076 rm -rf conftest* |
10994 eval "ac_cv_lib_$ac_lib_var=yes" | 11077 eval "ac_cv_lib_$ac_lib_var=yes" |
10995 else | 11078 else |
10996 echo "configure: failed program was:" >&5 | 11079 echo "configure: failed program was:" >&5 |
10997 cat conftest.$ac_ext >&5 | 11080 cat conftest.$ac_ext >&5 |
11035 } | 11118 } |
11036 | 11119 |
11037 | 11120 |
11038 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11121 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11039 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11122 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11040 echo "configure:11041: checking for gpm.h" >&5 | 11123 echo "configure:11124: checking for gpm.h" >&5 |
11041 | 11124 |
11042 cat > conftest.$ac_ext <<EOF | 11125 cat > conftest.$ac_ext <<EOF |
11043 #line 11044 "configure" | 11126 #line 11127 "configure" |
11044 #include "confdefs.h" | 11127 #include "confdefs.h" |
11045 #include <gpm.h> | 11128 #include <gpm.h> |
11046 EOF | 11129 EOF |
11047 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" |
11048 { (eval echo configure:11049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11131 { (eval echo configure:11132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11049 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11050 if test -z "$ac_err"; then | 11133 if test -z "$ac_err"; then |
11051 rm -rf conftest* | 11134 rm -rf conftest* |
11052 eval "ac_cv_header_$ac_safe=yes" | 11135 eval "ac_cv_header_$ac_safe=yes" |
11053 else | 11136 else |
11066 with_gpm=no | 11149 with_gpm=no |
11067 fi | 11150 fi |
11068 } | 11151 } |
11069 test -z "$with_gpm" && { | 11152 test -z "$with_gpm" && { |
11070 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11153 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11071 echo "configure:11072: checking for Gpm_Open in -lgpm" >&5 | 11154 echo "configure:11155: checking for Gpm_Open in -lgpm" >&5 |
11072 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11155 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11073 | 11156 |
11074 xe_check_libs=" -lgpm " | 11157 xe_check_libs=" -lgpm " |
11075 cat > conftest.$ac_ext <<EOF | 11158 cat > conftest.$ac_ext <<EOF |
11076 #line 11077 "configure" | 11159 #line 11160 "configure" |
11077 #include "confdefs.h" | 11160 #include "confdefs.h" |
11078 /* Override any gcc2 internal prototype to avoid an error. */ | 11161 /* Override any gcc2 internal prototype to avoid an error. */ |
11079 /* We use char because int might match the return type of a gcc2 | 11162 /* We use char because int might match the return type of a gcc2 |
11080 builtin and then its argument prototype would still apply. */ | 11163 builtin and then its argument prototype would still apply. */ |
11081 char Gpm_Open(); | 11164 char Gpm_Open(); |
11082 | 11165 |
11083 int main() { | 11166 int main() { |
11084 Gpm_Open() | 11167 Gpm_Open() |
11085 ; return 0; } | 11168 ; return 0; } |
11086 EOF | 11169 EOF |
11087 if { (eval echo configure:11088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11170 if { (eval echo configure:11171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11088 rm -rf conftest* | 11171 rm -rf conftest* |
11089 eval "ac_cv_lib_$ac_lib_var=yes" | 11172 eval "ac_cv_lib_$ac_lib_var=yes" |
11090 else | 11173 else |
11091 echo "configure: failed program was:" >&5 | 11174 echo "configure: failed program was:" >&5 |
11092 cat conftest.$ac_ext >&5 | 11175 cat conftest.$ac_ext >&5 |
11131 echo " xemacs will be linked with \"event-unixoid.o\"" | 11214 echo " xemacs will be linked with \"event-unixoid.o\"" |
11132 fi | 11215 fi |
11133 | 11216 |
11134 | 11217 |
11135 echo "checking for database support" 1>&6 | 11218 echo "checking for database support" 1>&6 |
11136 echo "configure:11137: checking for database support" >&5 | 11219 echo "configure:11220: checking for database support" >&5 |
11137 | 11220 |
11138 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11221 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
11139 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11222 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11140 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11223 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11141 echo "configure:11142: checking for ndbm.h" >&5 | 11224 echo "configure:11225: checking for ndbm.h" >&5 |
11142 | 11225 |
11143 cat > conftest.$ac_ext <<EOF | 11226 cat > conftest.$ac_ext <<EOF |
11144 #line 11145 "configure" | 11227 #line 11228 "configure" |
11145 #include "confdefs.h" | 11228 #include "confdefs.h" |
11146 #include <ndbm.h> | 11229 #include <ndbm.h> |
11147 EOF | 11230 EOF |
11148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11149 { (eval echo configure:11150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11232 { (eval echo configure:11233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11151 if test -z "$ac_err"; then | 11234 if test -z "$ac_err"; then |
11152 rm -rf conftest* | 11235 rm -rf conftest* |
11153 eval "ac_cv_header_$ac_safe=yes" | 11236 eval "ac_cv_header_$ac_safe=yes" |
11154 else | 11237 else |
11174 fi | 11257 fi |
11175 | 11258 |
11176 if test "$with_database_gnudbm" != "no"; then | 11259 if test "$with_database_gnudbm" != "no"; then |
11177 | 11260 |
11178 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11261 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11179 echo "configure:11180: checking for dbm_open in -lgdbm" >&5 | 11262 echo "configure:11263: checking for dbm_open in -lgdbm" >&5 |
11180 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11263 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11181 | 11264 |
11182 xe_check_libs=" -lgdbm " | 11265 xe_check_libs=" -lgdbm " |
11183 cat > conftest.$ac_ext <<EOF | 11266 cat > conftest.$ac_ext <<EOF |
11184 #line 11185 "configure" | 11267 #line 11268 "configure" |
11185 #include "confdefs.h" | 11268 #include "confdefs.h" |
11186 /* Override any gcc2 internal prototype to avoid an error. */ | 11269 /* Override any gcc2 internal prototype to avoid an error. */ |
11187 /* We use char because int might match the return type of a gcc2 | 11270 /* We use char because int might match the return type of a gcc2 |
11188 builtin and then its argument prototype would still apply. */ | 11271 builtin and then its argument prototype would still apply. */ |
11189 char dbm_open(); | 11272 char dbm_open(); |
11190 | 11273 |
11191 int main() { | 11274 int main() { |
11192 dbm_open() | 11275 dbm_open() |
11193 ; return 0; } | 11276 ; return 0; } |
11194 EOF | 11277 EOF |
11195 if { (eval echo configure:11196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11196 rm -rf conftest* | 11279 rm -rf conftest* |
11197 eval "ac_cv_lib_$ac_lib_var=yes" | 11280 eval "ac_cv_lib_$ac_lib_var=yes" |
11198 else | 11281 else |
11199 echo "configure: failed program was:" >&5 | 11282 echo "configure: failed program was:" >&5 |
11200 cat conftest.$ac_ext >&5 | 11283 cat conftest.$ac_ext >&5 |
11218 | 11301 |
11219 fi | 11302 fi |
11220 | 11303 |
11221 if test "$with_database_dbm" != "no"; then | 11304 if test "$with_database_dbm" != "no"; then |
11222 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11305 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11223 echo "configure:11224: checking for dbm_open" >&5 | 11306 echo "configure:11307: checking for dbm_open" >&5 |
11224 | 11307 |
11225 cat > conftest.$ac_ext <<EOF | 11308 cat > conftest.$ac_ext <<EOF |
11226 #line 11227 "configure" | 11309 #line 11310 "configure" |
11227 #include "confdefs.h" | 11310 #include "confdefs.h" |
11228 /* System header to define __stub macros and hopefully few prototypes, | 11311 /* System header to define __stub macros and hopefully few prototypes, |
11229 which can conflict with char dbm_open(); below. */ | 11312 which can conflict with char dbm_open(); below. */ |
11230 #include <assert.h> | 11313 #include <assert.h> |
11231 /* Override any gcc2 internal prototype to avoid an error. */ | 11314 /* Override any gcc2 internal prototype to avoid an error. */ |
11244 dbm_open(); | 11327 dbm_open(); |
11245 #endif | 11328 #endif |
11246 | 11329 |
11247 ; return 0; } | 11330 ; return 0; } |
11248 EOF | 11331 EOF |
11249 if { (eval echo configure:11250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11332 if { (eval echo configure:11333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11250 rm -rf conftest* | 11333 rm -rf conftest* |
11251 eval "ac_cv_func_dbm_open=yes" | 11334 eval "ac_cv_func_dbm_open=yes" |
11252 else | 11335 else |
11253 echo "configure: failed program was:" >&5 | 11336 echo "configure: failed program was:" >&5 |
11254 cat conftest.$ac_ext >&5 | 11337 cat conftest.$ac_ext >&5 |
11263 else | 11346 else |
11264 echo "$ac_t""no" 1>&6 | 11347 echo "$ac_t""no" 1>&6 |
11265 | 11348 |
11266 | 11349 |
11267 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11350 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11268 echo "configure:11269: checking for dbm_open in -ldbm" >&5 | 11351 echo "configure:11352: checking for dbm_open in -ldbm" >&5 |
11269 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11352 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11270 | 11353 |
11271 xe_check_libs=" -ldbm " | 11354 xe_check_libs=" -ldbm " |
11272 cat > conftest.$ac_ext <<EOF | 11355 cat > conftest.$ac_ext <<EOF |
11273 #line 11274 "configure" | 11356 #line 11357 "configure" |
11274 #include "confdefs.h" | 11357 #include "confdefs.h" |
11275 /* Override any gcc2 internal prototype to avoid an error. */ | 11358 /* Override any gcc2 internal prototype to avoid an error. */ |
11276 /* We use char because int might match the return type of a gcc2 | 11359 /* We use char because int might match the return type of a gcc2 |
11277 builtin and then its argument prototype would still apply. */ | 11360 builtin and then its argument prototype would still apply. */ |
11278 char dbm_open(); | 11361 char dbm_open(); |
11279 | 11362 |
11280 int main() { | 11363 int main() { |
11281 dbm_open() | 11364 dbm_open() |
11282 ; return 0; } | 11365 ; return 0; } |
11283 EOF | 11366 EOF |
11284 if { (eval echo configure:11285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11367 if { (eval echo configure:11368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11285 rm -rf conftest* | 11368 rm -rf conftest* |
11286 eval "ac_cv_lib_$ac_lib_var=yes" | 11369 eval "ac_cv_lib_$ac_lib_var=yes" |
11287 else | 11370 else |
11288 echo "configure: failed program was:" >&5 | 11371 echo "configure: failed program was:" >&5 |
11289 cat conftest.$ac_ext >&5 | 11372 cat conftest.$ac_ext >&5 |
11321 | 11404 |
11322 fi | 11405 fi |
11323 | 11406 |
11324 if test "$with_database_berkdb" != "no"; then | 11407 if test "$with_database_berkdb" != "no"; then |
11325 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11408 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11326 echo "configure:11327: checking for Berkeley db.h" >&5 | 11409 echo "configure:11410: checking for Berkeley db.h" >&5 |
11327 for path in "db/db.h" "db.h"; do | 11410 for path in "db/db.h" "db.h"; do |
11328 cat > conftest.$ac_ext <<EOF | 11411 cat > conftest.$ac_ext <<EOF |
11329 #line 11330 "configure" | 11412 #line 11413 "configure" |
11330 #include "confdefs.h" | 11413 #include "confdefs.h" |
11331 | 11414 |
11332 #include <stdlib.h> | 11415 #include <stdlib.h> |
11333 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 11416 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
11334 #ifdef HAVE_INTTYPES_H | 11417 #ifdef HAVE_INTTYPES_H |
11346 | 11429 |
11347 int main() { | 11430 int main() { |
11348 | 11431 |
11349 ; return 0; } | 11432 ; return 0; } |
11350 EOF | 11433 EOF |
11351 if { (eval echo configure:11352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11434 if { (eval echo configure:11435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11352 rm -rf conftest* | 11435 rm -rf conftest* |
11353 db_h_path="$path"; break | 11436 db_h_path="$path"; break |
11354 else | 11437 else |
11355 echo "configure: failed program was:" >&5 | 11438 echo "configure: failed program was:" >&5 |
11356 cat conftest.$ac_ext >&5 | 11439 cat conftest.$ac_ext >&5 |
11362 else echo "$ac_t""$db_h_path" 1>&6 | 11445 else echo "$ac_t""$db_h_path" 1>&6 |
11363 fi | 11446 fi |
11364 | 11447 |
11365 if test "$with_database_berkdb" != "no"; then | 11448 if test "$with_database_berkdb" != "no"; then |
11366 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11449 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11367 echo "configure:11368: checking for Berkeley DB version" >&5 | 11450 echo "configure:11451: checking for Berkeley DB version" >&5 |
11368 cat > conftest.$ac_ext <<EOF | 11451 cat > conftest.$ac_ext <<EOF |
11369 #line 11370 "configure" | 11452 #line 11453 "configure" |
11370 #include "confdefs.h" | 11453 #include "confdefs.h" |
11371 #include <$db_h_path> | 11454 #include <$db_h_path> |
11372 #if DB_VERSION_MAJOR > 1 | 11455 #if DB_VERSION_MAJOR > 1 |
11373 yes | 11456 yes |
11374 #endif | 11457 #endif |
11383 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11466 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11384 fi | 11467 fi |
11385 rm -f conftest* | 11468 rm -f conftest* |
11386 | 11469 |
11387 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11470 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11388 echo "configure:11389: checking for $dbfunc" >&5 | 11471 echo "configure:11472: checking for $dbfunc" >&5 |
11389 | 11472 |
11390 cat > conftest.$ac_ext <<EOF | 11473 cat > conftest.$ac_ext <<EOF |
11391 #line 11392 "configure" | 11474 #line 11475 "configure" |
11392 #include "confdefs.h" | 11475 #include "confdefs.h" |
11393 /* System header to define __stub macros and hopefully few prototypes, | 11476 /* System header to define __stub macros and hopefully few prototypes, |
11394 which can conflict with char $dbfunc(); below. */ | 11477 which can conflict with char $dbfunc(); below. */ |
11395 #include <assert.h> | 11478 #include <assert.h> |
11396 /* Override any gcc2 internal prototype to avoid an error. */ | 11479 /* Override any gcc2 internal prototype to avoid an error. */ |
11409 $dbfunc(); | 11492 $dbfunc(); |
11410 #endif | 11493 #endif |
11411 | 11494 |
11412 ; return 0; } | 11495 ; return 0; } |
11413 EOF | 11496 EOF |
11414 if { (eval echo configure:11415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11497 if { (eval echo configure:11498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11415 rm -rf conftest* | 11498 rm -rf conftest* |
11416 eval "ac_cv_func_$dbfunc=yes" | 11499 eval "ac_cv_func_$dbfunc=yes" |
11417 else | 11500 else |
11418 echo "configure: failed program was:" >&5 | 11501 echo "configure: failed program was:" >&5 |
11419 cat conftest.$ac_ext >&5 | 11502 cat conftest.$ac_ext >&5 |
11428 else | 11511 else |
11429 echo "$ac_t""no" 1>&6 | 11512 echo "$ac_t""no" 1>&6 |
11430 | 11513 |
11431 | 11514 |
11432 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11515 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11433 echo "configure:11434: checking for $dbfunc in -ldb" >&5 | 11516 echo "configure:11517: checking for $dbfunc in -ldb" >&5 |
11434 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11517 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11435 | 11518 |
11436 xe_check_libs=" -ldb " | 11519 xe_check_libs=" -ldb " |
11437 cat > conftest.$ac_ext <<EOF | 11520 cat > conftest.$ac_ext <<EOF |
11438 #line 11439 "configure" | 11521 #line 11522 "configure" |
11439 #include "confdefs.h" | 11522 #include "confdefs.h" |
11440 /* Override any gcc2 internal prototype to avoid an error. */ | 11523 /* Override any gcc2 internal prototype to avoid an error. */ |
11441 /* We use char because int might match the return type of a gcc2 | 11524 /* We use char because int might match the return type of a gcc2 |
11442 builtin and then its argument prototype would still apply. */ | 11525 builtin and then its argument prototype would still apply. */ |
11443 char $dbfunc(); | 11526 char $dbfunc(); |
11444 | 11527 |
11445 int main() { | 11528 int main() { |
11446 $dbfunc() | 11529 $dbfunc() |
11447 ; return 0; } | 11530 ; return 0; } |
11448 EOF | 11531 EOF |
11449 if { (eval echo configure:11450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11532 if { (eval echo configure:11533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11450 rm -rf conftest* | 11533 rm -rf conftest* |
11451 eval "ac_cv_lib_$ac_lib_var=yes" | 11534 eval "ac_cv_lib_$ac_lib_var=yes" |
11452 else | 11535 else |
11453 echo "configure: failed program was:" >&5 | 11536 echo "configure: failed program was:" >&5 |
11454 cat conftest.$ac_ext >&5 | 11537 cat conftest.$ac_ext >&5 |
11508 fi | 11591 fi |
11509 | 11592 |
11510 if test "$with_socks" = "yes"; then | 11593 if test "$with_socks" = "yes"; then |
11511 | 11594 |
11512 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11595 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11513 echo "configure:11514: checking for SOCKSinit in -lsocks" >&5 | 11596 echo "configure:11597: checking for SOCKSinit in -lsocks" >&5 |
11514 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11597 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11515 | 11598 |
11516 xe_check_libs=" -lsocks " | 11599 xe_check_libs=" -lsocks " |
11517 cat > conftest.$ac_ext <<EOF | 11600 cat > conftest.$ac_ext <<EOF |
11518 #line 11519 "configure" | 11601 #line 11602 "configure" |
11519 #include "confdefs.h" | 11602 #include "confdefs.h" |
11520 /* Override any gcc2 internal prototype to avoid an error. */ | 11603 /* Override any gcc2 internal prototype to avoid an error. */ |
11521 /* We use char because int might match the return type of a gcc2 | 11604 /* We use char because int might match the return type of a gcc2 |
11522 builtin and then its argument prototype would still apply. */ | 11605 builtin and then its argument prototype would still apply. */ |
11523 char SOCKSinit(); | 11606 char SOCKSinit(); |
11524 | 11607 |
11525 int main() { | 11608 int main() { |
11526 SOCKSinit() | 11609 SOCKSinit() |
11527 ; return 0; } | 11610 ; return 0; } |
11528 EOF | 11611 EOF |
11529 if { (eval echo configure:11530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11612 if { (eval echo configure:11613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11530 rm -rf conftest* | 11613 rm -rf conftest* |
11531 eval "ac_cv_lib_$ac_lib_var=yes" | 11614 eval "ac_cv_lib_$ac_lib_var=yes" |
11532 else | 11615 else |
11533 echo "configure: failed program was:" >&5 | 11616 echo "configure: failed program was:" >&5 |
11534 cat conftest.$ac_ext >&5 | 11617 cat conftest.$ac_ext >&5 |
11583 | 11666 |
11584 for ac_hdr in dlfcn.h | 11667 for ac_hdr in dlfcn.h |
11585 do | 11668 do |
11586 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11669 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11587 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11670 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11588 echo "configure:11589: checking for $ac_hdr" >&5 | 11671 echo "configure:11672: checking for $ac_hdr" >&5 |
11589 | 11672 |
11590 cat > conftest.$ac_ext <<EOF | 11673 cat > conftest.$ac_ext <<EOF |
11591 #line 11592 "configure" | 11674 #line 11675 "configure" |
11592 #include "confdefs.h" | 11675 #include "confdefs.h" |
11593 #include <$ac_hdr> | 11676 #include <$ac_hdr> |
11594 EOF | 11677 EOF |
11595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11596 { (eval echo configure:11597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11679 { (eval echo configure:11680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11598 if test -z "$ac_err"; then | 11681 if test -z "$ac_err"; then |
11599 rm -rf conftest* | 11682 rm -rf conftest* |
11600 eval "ac_cv_header_$ac_safe=yes" | 11683 eval "ac_cv_header_$ac_safe=yes" |
11601 else | 11684 else |
11622 fi | 11705 fi |
11623 done | 11706 done |
11624 | 11707 |
11625 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11708 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11626 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11709 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11627 echo "configure:11628: checking for dlopen in -ldl" >&5 | 11710 echo "configure:11711: checking for dlopen in -ldl" >&5 |
11628 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11711 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11629 | 11712 |
11630 xe_check_libs=" -ldl " | 11713 xe_check_libs=" -ldl " |
11631 cat > conftest.$ac_ext <<EOF | 11714 cat > conftest.$ac_ext <<EOF |
11632 #line 11633 "configure" | 11715 #line 11716 "configure" |
11633 #include "confdefs.h" | 11716 #include "confdefs.h" |
11634 /* Override any gcc2 internal prototype to avoid an error. */ | 11717 /* Override any gcc2 internal prototype to avoid an error. */ |
11635 /* We use char because int might match the return type of a gcc2 | 11718 /* We use char because int might match the return type of a gcc2 |
11636 builtin and then its argument prototype would still apply. */ | 11719 builtin and then its argument prototype would still apply. */ |
11637 char dlopen(); | 11720 char dlopen(); |
11638 | 11721 |
11639 int main() { | 11722 int main() { |
11640 dlopen() | 11723 dlopen() |
11641 ; return 0; } | 11724 ; return 0; } |
11642 EOF | 11725 EOF |
11643 if { (eval echo configure:11644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11726 if { (eval echo configure:11727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11644 rm -rf conftest* | 11727 rm -rf conftest* |
11645 eval "ac_cv_lib_$ac_lib_var=yes" | 11728 eval "ac_cv_lib_$ac_lib_var=yes" |
11646 else | 11729 else |
11647 echo "configure: failed program was:" >&5 | 11730 echo "configure: failed program was:" >&5 |
11648 cat conftest.$ac_ext >&5 | 11731 cat conftest.$ac_ext >&5 |
11667 fi | 11750 fi |
11668 | 11751 |
11669 } | 11752 } |
11670 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11753 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11671 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11754 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11672 echo "configure:11673: checking for _dlopen in -lc" >&5 | 11755 echo "configure:11756: checking for _dlopen in -lc" >&5 |
11673 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11756 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11674 | 11757 |
11675 xe_check_libs=" -lc " | 11758 xe_check_libs=" -lc " |
11676 cat > conftest.$ac_ext <<EOF | 11759 cat > conftest.$ac_ext <<EOF |
11677 #line 11678 "configure" | 11760 #line 11761 "configure" |
11678 #include "confdefs.h" | 11761 #include "confdefs.h" |
11679 /* Override any gcc2 internal prototype to avoid an error. */ | 11762 /* Override any gcc2 internal prototype to avoid an error. */ |
11680 /* We use char because int might match the return type of a gcc2 | 11763 /* We use char because int might match the return type of a gcc2 |
11681 builtin and then its argument prototype would still apply. */ | 11764 builtin and then its argument prototype would still apply. */ |
11682 char _dlopen(); | 11765 char _dlopen(); |
11683 | 11766 |
11684 int main() { | 11767 int main() { |
11685 _dlopen() | 11768 _dlopen() |
11686 ; return 0; } | 11769 ; return 0; } |
11687 EOF | 11770 EOF |
11688 if { (eval echo configure:11689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11771 if { (eval echo configure:11772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11689 rm -rf conftest* | 11772 rm -rf conftest* |
11690 eval "ac_cv_lib_$ac_lib_var=yes" | 11773 eval "ac_cv_lib_$ac_lib_var=yes" |
11691 else | 11774 else |
11692 echo "configure: failed program was:" >&5 | 11775 echo "configure: failed program was:" >&5 |
11693 cat conftest.$ac_ext >&5 | 11776 cat conftest.$ac_ext >&5 |
11712 fi | 11795 fi |
11713 | 11796 |
11714 } | 11797 } |
11715 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11798 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11716 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11799 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11717 echo "configure:11718: checking for dlopen in -lc" >&5 | 11800 echo "configure:11801: checking for dlopen in -lc" >&5 |
11718 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11801 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11719 | 11802 |
11720 xe_check_libs=" -lc " | 11803 xe_check_libs=" -lc " |
11721 cat > conftest.$ac_ext <<EOF | 11804 cat > conftest.$ac_ext <<EOF |
11722 #line 11723 "configure" | 11805 #line 11806 "configure" |
11723 #include "confdefs.h" | 11806 #include "confdefs.h" |
11724 /* Override any gcc2 internal prototype to avoid an error. */ | 11807 /* Override any gcc2 internal prototype to avoid an error. */ |
11725 /* We use char because int might match the return type of a gcc2 | 11808 /* We use char because int might match the return type of a gcc2 |
11726 builtin and then its argument prototype would still apply. */ | 11809 builtin and then its argument prototype would still apply. */ |
11727 char dlopen(); | 11810 char dlopen(); |
11728 | 11811 |
11729 int main() { | 11812 int main() { |
11730 dlopen() | 11813 dlopen() |
11731 ; return 0; } | 11814 ; return 0; } |
11732 EOF | 11815 EOF |
11733 if { (eval echo configure:11734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11816 if { (eval echo configure:11817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11734 rm -rf conftest* | 11817 rm -rf conftest* |
11735 eval "ac_cv_lib_$ac_lib_var=yes" | 11818 eval "ac_cv_lib_$ac_lib_var=yes" |
11736 else | 11819 else |
11737 echo "configure: failed program was:" >&5 | 11820 echo "configure: failed program was:" >&5 |
11738 cat conftest.$ac_ext >&5 | 11821 cat conftest.$ac_ext >&5 |
11757 fi | 11840 fi |
11758 | 11841 |
11759 } | 11842 } |
11760 test -z "$with_shlib" && { | 11843 test -z "$with_shlib" && { |
11761 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11844 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11762 echo "configure:11763: checking for shl_load in -ldld" >&5 | 11845 echo "configure:11846: checking for shl_load in -ldld" >&5 |
11763 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11846 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11764 | 11847 |
11765 xe_check_libs=" -ldld " | 11848 xe_check_libs=" -ldld " |
11766 cat > conftest.$ac_ext <<EOF | 11849 cat > conftest.$ac_ext <<EOF |
11767 #line 11768 "configure" | 11850 #line 11851 "configure" |
11768 #include "confdefs.h" | 11851 #include "confdefs.h" |
11769 /* Override any gcc2 internal prototype to avoid an error. */ | 11852 /* Override any gcc2 internal prototype to avoid an error. */ |
11770 /* We use char because int might match the return type of a gcc2 | 11853 /* We use char because int might match the return type of a gcc2 |
11771 builtin and then its argument prototype would still apply. */ | 11854 builtin and then its argument prototype would still apply. */ |
11772 char shl_load(); | 11855 char shl_load(); |
11773 | 11856 |
11774 int main() { | 11857 int main() { |
11775 shl_load() | 11858 shl_load() |
11776 ; return 0; } | 11859 ; return 0; } |
11777 EOF | 11860 EOF |
11778 if { (eval echo configure:11779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11861 if { (eval echo configure:11862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11779 rm -rf conftest* | 11862 rm -rf conftest* |
11780 eval "ac_cv_lib_$ac_lib_var=yes" | 11863 eval "ac_cv_lib_$ac_lib_var=yes" |
11781 else | 11864 else |
11782 echo "configure: failed program was:" >&5 | 11865 echo "configure: failed program was:" >&5 |
11783 cat conftest.$ac_ext >&5 | 11866 cat conftest.$ac_ext >&5 |
11802 fi | 11885 fi |
11803 | 11886 |
11804 } | 11887 } |
11805 test -z "$with_shlib" && { | 11888 test -z "$with_shlib" && { |
11806 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11889 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11807 echo "configure:11808: checking for dld_init in -ldld" >&5 | 11890 echo "configure:11891: checking for dld_init in -ldld" >&5 |
11808 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11891 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11809 | 11892 |
11810 xe_check_libs=" -ldld " | 11893 xe_check_libs=" -ldld " |
11811 cat > conftest.$ac_ext <<EOF | 11894 cat > conftest.$ac_ext <<EOF |
11812 #line 11813 "configure" | 11895 #line 11896 "configure" |
11813 #include "confdefs.h" | 11896 #include "confdefs.h" |
11814 /* Override any gcc2 internal prototype to avoid an error. */ | 11897 /* Override any gcc2 internal prototype to avoid an error. */ |
11815 /* We use char because int might match the return type of a gcc2 | 11898 /* We use char because int might match the return type of a gcc2 |
11816 builtin and then its argument prototype would still apply. */ | 11899 builtin and then its argument prototype would still apply. */ |
11817 char dld_init(); | 11900 char dld_init(); |
11818 | 11901 |
11819 int main() { | 11902 int main() { |
11820 dld_init() | 11903 dld_init() |
11821 ; return 0; } | 11904 ; return 0; } |
11822 EOF | 11905 EOF |
11823 if { (eval echo configure:11824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11906 if { (eval echo configure:11907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11824 rm -rf conftest* | 11907 rm -rf conftest* |
11825 eval "ac_cv_lib_$ac_lib_var=yes" | 11908 eval "ac_cv_lib_$ac_lib_var=yes" |
11826 else | 11909 else |
11827 echo "configure: failed program was:" >&5 | 11910 echo "configure: failed program was:" >&5 |
11828 cat conftest.$ac_ext >&5 | 11911 cat conftest.$ac_ext >&5 |
11868 dll_lflags="-shared" | 11951 dll_lflags="-shared" |
11869 dll_cflags="-r" | 11952 dll_cflags="-r" |
11870 dll_oflags="-o " | 11953 dll_oflags="-o " |
11871 | 11954 |
11872 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11955 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11873 echo "configure:11874: checking how to build a shared library" >&5 | 11956 echo "configure:11957: checking how to build a shared library" >&5 |
11874 case `uname -rs` in | 11957 case `uname -rs` in |
11875 UNIX_SV*|UNIX_System_V*) | 11958 UNIX_SV*|UNIX_System_V*) |
11876 dll_lflags="-G" | 11959 dll_lflags="-G" |
11877 dll_cflags=-Kpic | 11960 dll_cflags=-Kpic |
11878 dll_ld="ld" | 11961 dll_ld="ld" |
11959 | 12042 |
11960 | 12043 |
11961 for ac_func in dlerror | 12044 for ac_func in dlerror |
11962 do | 12045 do |
11963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11964 echo "configure:11965: checking for $ac_func" >&5 | 12047 echo "configure:12048: checking for $ac_func" >&5 |
11965 | 12048 |
11966 cat > conftest.$ac_ext <<EOF | 12049 cat > conftest.$ac_ext <<EOF |
11967 #line 11968 "configure" | 12050 #line 12051 "configure" |
11968 #include "confdefs.h" | 12051 #include "confdefs.h" |
11969 /* System header to define __stub macros and hopefully few prototypes, | 12052 /* System header to define __stub macros and hopefully few prototypes, |
11970 which can conflict with char $ac_func(); below. */ | 12053 which can conflict with char $ac_func(); below. */ |
11971 #include <assert.h> | 12054 #include <assert.h> |
11972 /* Override any gcc2 internal prototype to avoid an error. */ | 12055 /* Override any gcc2 internal prototype to avoid an error. */ |
11985 $ac_func(); | 12068 $ac_func(); |
11986 #endif | 12069 #endif |
11987 | 12070 |
11988 ; return 0; } | 12071 ; return 0; } |
11989 EOF | 12072 EOF |
11990 if { (eval echo configure:11991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12073 if { (eval echo configure:12074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11991 rm -rf conftest* | 12074 rm -rf conftest* |
11992 eval "ac_cv_func_$ac_func=yes" | 12075 eval "ac_cv_func_$ac_func=yes" |
11993 else | 12076 else |
11994 echo "configure: failed program was:" >&5 | 12077 echo "configure: failed program was:" >&5 |
11995 cat conftest.$ac_ext >&5 | 12078 cat conftest.$ac_ext >&5 |
12021 *) ;; | 12104 *) ;; |
12022 esac | 12105 esac |
12023 fi | 12106 fi |
12024 | 12107 |
12025 cat > conftest.$ac_ext <<EOF | 12108 cat > conftest.$ac_ext <<EOF |
12026 #line 12027 "configure" | 12109 #line 12110 "configure" |
12027 #include "confdefs.h" | 12110 #include "confdefs.h" |
12028 int main(int c,char *v[]){return 0;} | 12111 int main(int c,char *v[]){return 0;} |
12029 EOF | 12112 EOF |
12030 if { (eval echo configure:12031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12113 if { (eval echo configure:12114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12031 then | 12114 then |
12032 : | 12115 : |
12033 else | 12116 else |
12034 conftest_rc="$?" | 12117 conftest_rc="$?" |
12035 echo "configure: failed program was:" >&5 | 12118 echo "configure: failed program was:" >&5 |