Mercurial > hg > xemacs-beta
comparison configure @ 432:3a7e78e1142d r21-2-24
Import from CVS: tag r21-2-24
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:29:58 +0200 |
parents | a5df635868b2 |
children | 9d177e8d4150 |
comparison
equal
deleted
inserted
replaced
431:a97165e56215 | 432:3a7e78e1142d |
---|---|
457 nonative ) with_native_sound=no ;; | 457 nonative ) with_native_sound=no ;; |
458 | 458 |
459 nas ) with_nas_sound=yes ;; | 459 nas ) with_nas_sound=yes ;; |
460 nonas ) with_nas_sound=no ;; | 460 nonas ) with_nas_sound=no ;; |
461 | 461 |
462 esd ) with_esd=yes ;; | 462 esd ) with_esd_sound=yes ;; |
463 noesd ) with_esh=no ;; | 463 noesd ) with_esd_sound=no ;; |
464 | 464 |
465 * ) bogus_sound=yes ;; | 465 * ) bogus_sound=yes ;; |
466 esac | 466 esac |
467 if test "$bogus_sound" -o \ | 467 if test "$bogus_sound" -o \ |
468 \( -n "$new_sdefault" -a -n "$sound_notfirst" \) ; then | 468 \( -n "$new_sdefault" -a -n "$sound_notfirst" \) ; then |
469 types="\`all', \`none', \`(no)native', \`no(nas)', \`(no)esd'." | 469 types="\`all', \`none', \`(no)native', \`no(nas)', \`(no)esd'." |
470 (echo "$progname: Usage error:" | 470 (echo "$progname: Usage error:" |
471 echo " " "Valid types for the \`--$optname' option are: | 471 echo " " "Valid types for the \`--$optname' option are: |
472 $types. | 472 $types. |
473 The default is native,esd." | 473 The default is to autodetect all sound support." |
474 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 474 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
475 elif test -n "$new_sdefault" ; then | 475 elif test -n "$new_sdefault" ; then |
476 with_native_sound=$new_sdefault | 476 with_native_sound=$new_sdefault |
477 with_nas_sound=$new_sdefault | 477 with_nas_sound=$new_sdefault |
478 with_esd=$new_sdefault | 478 with_esd_sound=$new_sdefault |
479 new_sdefault= # reset this | 479 new_sdefault= # reset this |
480 fi | 480 fi |
481 sound_notfirst=true | 481 sound_notfirst=true |
482 done | 482 done |
483 ;; | 483 ;; |
6195 else | 6195 else |
6196 : | 6196 : |
6197 fi | 6197 fi |
6198 | 6198 |
6199 if test "$with_x11" != "yes"; then | 6199 if test "$with_x11" != "yes"; then |
6200 for feature in tooltalk cde offix wmcommand xim xmu | 6200 for feature in tooltalk cde offix wmcommand xim xmu xpm nas_sound |
6201 do | 6201 do |
6202 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 6202 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
6203 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 | 6203 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 |
6204 fi | 6204 fi |
6205 eval "with_${feature}=no" | 6205 eval "with_${feature}=no" |
8002 echo " xemacs will be linked with \"toolbar-x.o\"" | 8002 echo " xemacs will be linked with \"toolbar-x.o\"" |
8003 fi | 8003 fi |
8004 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then | 8004 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then |
8005 echo " xemacs will be linked with \"gui-x.o\"" | 8005 echo " xemacs will be linked with \"gui-x.o\"" |
8006 fi | 8006 fi |
8007 else | |
8008 if test "$with_nas_sound" = "nas"; then | |
8009 echo "Attempt to Build NAS sound without X" | |
8010 echo "Please remove NAS configuration or build with X" | |
8011 exit 1 | |
8012 fi | |
8013 fi | 8007 fi |
8014 | 8008 |
8015 | 8009 |
8016 test -z "$with_mule" && with_mule=no | 8010 test -z "$with_mule" && with_mule=no |
8017 test -z "$with_file_coding" && with_file_coding=no | 8011 test -z "$with_file_coding" && with_file_coding=no |
8031 fi | 8025 fi |
8032 fi | 8026 fi |
8033 | 8027 |
8034 if test "$with_mule" = "yes" ; then | 8028 if test "$with_mule" = "yes" ; then |
8035 echo "checking for Mule-related features" 1>&6 | 8029 echo "checking for Mule-related features" 1>&6 |
8036 echo "configure:8037: checking for Mule-related features" >&5 | 8030 echo "configure:8031: checking for Mule-related features" >&5 |
8037 { test "$extra_verbose" = "yes" && cat << \EOF | 8031 { test "$extra_verbose" = "yes" && cat << \EOF |
8038 Defining MULE | 8032 Defining MULE |
8039 EOF | 8033 EOF |
8040 cat >> confdefs.h <<\EOF | 8034 cat >> confdefs.h <<\EOF |
8041 #define MULE 1 | 8035 #define MULE 1 |
8056 | 8050 |
8057 for ac_hdr in libintl.h | 8051 for ac_hdr in libintl.h |
8058 do | 8052 do |
8059 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 8053 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
8060 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 8054 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
8061 echo "configure:8062: checking for $ac_hdr" >&5 | 8055 echo "configure:8056: checking for $ac_hdr" >&5 |
8062 | 8056 |
8063 cat > conftest.$ac_ext <<EOF | 8057 cat > conftest.$ac_ext <<EOF |
8064 #line 8065 "configure" | 8058 #line 8059 "configure" |
8065 #include "confdefs.h" | 8059 #include "confdefs.h" |
8066 #include <$ac_hdr> | 8060 #include <$ac_hdr> |
8067 EOF | 8061 EOF |
8068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8069 { (eval echo configure:8070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8063 { (eval echo configure:8064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8071 if test -z "$ac_err"; then | 8065 if test -z "$ac_err"; then |
8072 rm -rf conftest* | 8066 rm -rf conftest* |
8073 eval "ac_cv_header_$ac_safe=yes" | 8067 eval "ac_cv_header_$ac_safe=yes" |
8074 else | 8068 else |
8095 fi | 8089 fi |
8096 done | 8090 done |
8097 | 8091 |
8098 | 8092 |
8099 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 8093 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
8100 echo "configure:8101: checking for strerror in -lintl" >&5 | 8094 echo "configure:8095: checking for strerror in -lintl" >&5 |
8101 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 8095 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
8102 | 8096 |
8103 xe_check_libs=" -lintl " | 8097 xe_check_libs=" -lintl " |
8104 cat > conftest.$ac_ext <<EOF | 8098 cat > conftest.$ac_ext <<EOF |
8105 #line 8106 "configure" | 8099 #line 8100 "configure" |
8106 #include "confdefs.h" | 8100 #include "confdefs.h" |
8107 /* Override any gcc2 internal prototype to avoid an error. */ | 8101 /* Override any gcc2 internal prototype to avoid an error. */ |
8108 /* We use char because int might match the return type of a gcc2 | 8102 /* We use char because int might match the return type of a gcc2 |
8109 builtin and then its argument prototype would still apply. */ | 8103 builtin and then its argument prototype would still apply. */ |
8110 char strerror(); | 8104 char strerror(); |
8111 | 8105 |
8112 int main() { | 8106 int main() { |
8113 strerror() | 8107 strerror() |
8114 ; return 0; } | 8108 ; return 0; } |
8115 EOF | 8109 EOF |
8116 if { (eval echo configure:8117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8110 if { (eval echo configure:8111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8117 rm -rf conftest* | 8111 rm -rf conftest* |
8118 eval "ac_cv_lib_$ac_lib_var=yes" | 8112 eval "ac_cv_lib_$ac_lib_var=yes" |
8119 else | 8113 else |
8120 echo "configure: failed program was:" >&5 | 8114 echo "configure: failed program was:" >&5 |
8121 cat conftest.$ac_ext >&5 | 8115 cat conftest.$ac_ext >&5 |
8144 fi | 8138 fi |
8145 | 8139 |
8146 | 8140 |
8147 | 8141 |
8148 echo "checking for Mule input methods" 1>&6 | 8142 echo "checking for Mule input methods" 1>&6 |
8149 echo "configure:8150: checking for Mule input methods" >&5 | 8143 echo "configure:8144: checking for Mule input methods" >&5 |
8150 case "$with_xim" in "" | "yes" ) | 8144 case "$with_xim" in "" | "yes" ) |
8151 echo "checking for XIM" 1>&6 | 8145 echo "checking for XIM" 1>&6 |
8152 echo "configure:8153: checking for XIM" >&5 | 8146 echo "configure:8147: checking for XIM" >&5 |
8153 | 8147 |
8154 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 8148 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
8155 echo "configure:8156: checking for XOpenIM in -lX11" >&5 | 8149 echo "configure:8150: checking for XOpenIM in -lX11" >&5 |
8156 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 8150 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
8157 | 8151 |
8158 xe_check_libs=" -lX11 " | 8152 xe_check_libs=" -lX11 " |
8159 cat > conftest.$ac_ext <<EOF | 8153 cat > conftest.$ac_ext <<EOF |
8160 #line 8161 "configure" | 8154 #line 8155 "configure" |
8161 #include "confdefs.h" | 8155 #include "confdefs.h" |
8162 /* Override any gcc2 internal prototype to avoid an error. */ | 8156 /* Override any gcc2 internal prototype to avoid an error. */ |
8163 /* We use char because int might match the return type of a gcc2 | 8157 /* We use char because int might match the return type of a gcc2 |
8164 builtin and then its argument prototype would still apply. */ | 8158 builtin and then its argument prototype would still apply. */ |
8165 char XOpenIM(); | 8159 char XOpenIM(); |
8166 | 8160 |
8167 int main() { | 8161 int main() { |
8168 XOpenIM() | 8162 XOpenIM() |
8169 ; return 0; } | 8163 ; return 0; } |
8170 EOF | 8164 EOF |
8171 if { (eval echo configure:8172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8172 rm -rf conftest* | 8166 rm -rf conftest* |
8173 eval "ac_cv_lib_$ac_lib_var=yes" | 8167 eval "ac_cv_lib_$ac_lib_var=yes" |
8174 else | 8168 else |
8175 echo "configure: failed program was:" >&5 | 8169 echo "configure: failed program was:" >&5 |
8176 cat conftest.$ac_ext >&5 | 8170 cat conftest.$ac_ext >&5 |
8190 | 8184 |
8191 | 8185 |
8192 if test "$have_motif $have_lesstif" = "yes no"; then | 8186 if test "$have_motif $have_lesstif" = "yes no"; then |
8193 | 8187 |
8194 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 8188 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
8195 echo "configure:8196: checking for XmImMbLookupString in -lXm" >&5 | 8189 echo "configure:8190: checking for XmImMbLookupString in -lXm" >&5 |
8196 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 8190 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
8197 | 8191 |
8198 xe_check_libs=" -lXm " | 8192 xe_check_libs=" -lXm " |
8199 cat > conftest.$ac_ext <<EOF | 8193 cat > conftest.$ac_ext <<EOF |
8200 #line 8201 "configure" | 8194 #line 8195 "configure" |
8201 #include "confdefs.h" | 8195 #include "confdefs.h" |
8202 /* Override any gcc2 internal prototype to avoid an error. */ | 8196 /* Override any gcc2 internal prototype to avoid an error. */ |
8203 /* We use char because int might match the return type of a gcc2 | 8197 /* We use char because int might match the return type of a gcc2 |
8204 builtin and then its argument prototype would still apply. */ | 8198 builtin and then its argument prototype would still apply. */ |
8205 char XmImMbLookupString(); | 8199 char XmImMbLookupString(); |
8206 | 8200 |
8207 int main() { | 8201 int main() { |
8208 XmImMbLookupString() | 8202 XmImMbLookupString() |
8209 ; return 0; } | 8203 ; return 0; } |
8210 EOF | 8204 EOF |
8211 if { (eval echo configure:8212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8205 if { (eval echo configure:8206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8212 rm -rf conftest* | 8206 rm -rf conftest* |
8213 eval "ac_cv_lib_$ac_lib_var=yes" | 8207 eval "ac_cv_lib_$ac_lib_var=yes" |
8214 else | 8208 else |
8215 echo "configure: failed program was:" >&5 | 8209 echo "configure: failed program was:" >&5 |
8216 cat conftest.$ac_ext >&5 | 8210 cat conftest.$ac_ext >&5 |
8271 fi | 8265 fi |
8272 fi | 8266 fi |
8273 | 8267 |
8274 if test "$with_xfs" = "yes" ; then | 8268 if test "$with_xfs" = "yes" ; then |
8275 echo "checking for XFontSet" 1>&6 | 8269 echo "checking for XFontSet" 1>&6 |
8276 echo "configure:8277: checking for XFontSet" >&5 | 8270 echo "configure:8271: checking for XFontSet" >&5 |
8277 | 8271 |
8278 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 8272 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
8279 echo "configure:8280: checking for XmbDrawString in -lX11" >&5 | 8273 echo "configure:8274: checking for XmbDrawString in -lX11" >&5 |
8280 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 8274 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
8281 | 8275 |
8282 xe_check_libs=" -lX11 " | 8276 xe_check_libs=" -lX11 " |
8283 cat > conftest.$ac_ext <<EOF | 8277 cat > conftest.$ac_ext <<EOF |
8284 #line 8285 "configure" | 8278 #line 8279 "configure" |
8285 #include "confdefs.h" | 8279 #include "confdefs.h" |
8286 /* Override any gcc2 internal prototype to avoid an error. */ | 8280 /* Override any gcc2 internal prototype to avoid an error. */ |
8287 /* We use char because int might match the return type of a gcc2 | 8281 /* We use char because int might match the return type of a gcc2 |
8288 builtin and then its argument prototype would still apply. */ | 8282 builtin and then its argument prototype would still apply. */ |
8289 char XmbDrawString(); | 8283 char XmbDrawString(); |
8290 | 8284 |
8291 int main() { | 8285 int main() { |
8292 XmbDrawString() | 8286 XmbDrawString() |
8293 ; return 0; } | 8287 ; return 0; } |
8294 EOF | 8288 EOF |
8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8289 if { (eval echo configure:8290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8296 rm -rf conftest* | 8290 rm -rf conftest* |
8297 eval "ac_cv_lib_$ac_lib_var=yes" | 8291 eval "ac_cv_lib_$ac_lib_var=yes" |
8298 else | 8292 else |
8299 echo "configure: failed program was:" >&5 | 8293 echo "configure: failed program was:" >&5 |
8300 cat conftest.$ac_ext >&5 | 8294 cat conftest.$ac_ext >&5 |
8330 fi | 8324 fi |
8331 fi | 8325 fi |
8332 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8326 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8333 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8327 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8334 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8328 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8335 echo "configure:8336: checking for wnn/jllib.h" >&5 | 8329 echo "configure:8330: checking for wnn/jllib.h" >&5 |
8336 | 8330 |
8337 cat > conftest.$ac_ext <<EOF | 8331 cat > conftest.$ac_ext <<EOF |
8338 #line 8339 "configure" | 8332 #line 8333 "configure" |
8339 #include "confdefs.h" | 8333 #include "confdefs.h" |
8340 #include <wnn/jllib.h> | 8334 #include <wnn/jllib.h> |
8341 EOF | 8335 EOF |
8342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8336 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8343 { (eval echo configure:8344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8337 { (eval echo configure:8338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8338 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8345 if test -z "$ac_err"; then | 8339 if test -z "$ac_err"; then |
8346 rm -rf conftest* | 8340 rm -rf conftest* |
8347 eval "ac_cv_header_$ac_safe=yes" | 8341 eval "ac_cv_header_$ac_safe=yes" |
8348 else | 8342 else |
8363 } | 8357 } |
8364 if test "$with_wnn" != "no"; then | 8358 if test "$with_wnn" != "no"; then |
8365 for ac_func in crypt | 8359 for ac_func in crypt |
8366 do | 8360 do |
8367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8368 echo "configure:8369: checking for $ac_func" >&5 | 8362 echo "configure:8363: checking for $ac_func" >&5 |
8369 | 8363 |
8370 cat > conftest.$ac_ext <<EOF | 8364 cat > conftest.$ac_ext <<EOF |
8371 #line 8372 "configure" | 8365 #line 8366 "configure" |
8372 #include "confdefs.h" | 8366 #include "confdefs.h" |
8373 /* System header to define __stub macros and hopefully few prototypes, | 8367 /* System header to define __stub macros and hopefully few prototypes, |
8374 which can conflict with char $ac_func(); below. */ | 8368 which can conflict with char $ac_func(); below. */ |
8375 #include <assert.h> | 8369 #include <assert.h> |
8376 /* Override any gcc2 internal prototype to avoid an error. */ | 8370 /* Override any gcc2 internal prototype to avoid an error. */ |
8389 $ac_func(); | 8383 $ac_func(); |
8390 #endif | 8384 #endif |
8391 | 8385 |
8392 ; return 0; } | 8386 ; return 0; } |
8393 EOF | 8387 EOF |
8394 if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8388 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8395 rm -rf conftest* | 8389 rm -rf conftest* |
8396 eval "ac_cv_func_$ac_func=yes" | 8390 eval "ac_cv_func_$ac_func=yes" |
8397 else | 8391 else |
8398 echo "configure: failed program was:" >&5 | 8392 echo "configure: failed program was:" >&5 |
8399 cat conftest.$ac_ext >&5 | 8393 cat conftest.$ac_ext >&5 |
8418 fi | 8412 fi |
8419 done | 8413 done |
8420 | 8414 |
8421 test "$ac_cv_func_crypt" != "yes" && { | 8415 test "$ac_cv_func_crypt" != "yes" && { |
8422 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8416 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
8423 echo "configure:8424: checking for crypt in -lcrypt" >&5 | 8417 echo "configure:8418: checking for crypt in -lcrypt" >&5 |
8424 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8418 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
8425 | 8419 |
8426 xe_check_libs=" -lcrypt " | 8420 xe_check_libs=" -lcrypt " |
8427 cat > conftest.$ac_ext <<EOF | 8421 cat > conftest.$ac_ext <<EOF |
8428 #line 8429 "configure" | 8422 #line 8423 "configure" |
8429 #include "confdefs.h" | 8423 #include "confdefs.h" |
8430 /* Override any gcc2 internal prototype to avoid an error. */ | 8424 /* Override any gcc2 internal prototype to avoid an error. */ |
8431 /* We use char because int might match the return type of a gcc2 | 8425 /* We use char because int might match the return type of a gcc2 |
8432 builtin and then its argument prototype would still apply. */ | 8426 builtin and then its argument prototype would still apply. */ |
8433 char crypt(); | 8427 char crypt(); |
8434 | 8428 |
8435 int main() { | 8429 int main() { |
8436 crypt() | 8430 crypt() |
8437 ; return 0; } | 8431 ; return 0; } |
8438 EOF | 8432 EOF |
8439 if { (eval echo configure:8440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8433 if { (eval echo configure:8434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8440 rm -rf conftest* | 8434 rm -rf conftest* |
8441 eval "ac_cv_lib_$ac_lib_var=yes" | 8435 eval "ac_cv_lib_$ac_lib_var=yes" |
8442 else | 8436 else |
8443 echo "configure: failed program was:" >&5 | 8437 echo "configure: failed program was:" >&5 |
8444 cat conftest.$ac_ext >&5 | 8438 cat conftest.$ac_ext >&5 |
8469 } | 8463 } |
8470 fi | 8464 fi |
8471 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8465 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
8472 | 8466 |
8473 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8467 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
8474 echo "configure:8475: checking for jl_dic_list_e in -lwnn" >&5 | 8468 echo "configure:8469: checking for jl_dic_list_e in -lwnn" >&5 |
8475 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8469 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8476 | 8470 |
8477 xe_check_libs=" -lwnn " | 8471 xe_check_libs=" -lwnn " |
8478 cat > conftest.$ac_ext <<EOF | 8472 cat > conftest.$ac_ext <<EOF |
8479 #line 8480 "configure" | 8473 #line 8474 "configure" |
8480 #include "confdefs.h" | 8474 #include "confdefs.h" |
8481 /* Override any gcc2 internal prototype to avoid an error. */ | 8475 /* Override any gcc2 internal prototype to avoid an error. */ |
8482 /* We use char because int might match the return type of a gcc2 | 8476 /* We use char because int might match the return type of a gcc2 |
8483 builtin and then its argument prototype would still apply. */ | 8477 builtin and then its argument prototype would still apply. */ |
8484 char jl_dic_list_e(); | 8478 char jl_dic_list_e(); |
8485 | 8479 |
8486 int main() { | 8480 int main() { |
8487 jl_dic_list_e() | 8481 jl_dic_list_e() |
8488 ; return 0; } | 8482 ; return 0; } |
8489 EOF | 8483 EOF |
8490 if { (eval echo configure:8491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8491 rm -rf conftest* | 8485 rm -rf conftest* |
8492 eval "ac_cv_lib_$ac_lib_var=yes" | 8486 eval "ac_cv_lib_$ac_lib_var=yes" |
8493 else | 8487 else |
8494 echo "configure: failed program was:" >&5 | 8488 echo "configure: failed program was:" >&5 |
8495 cat conftest.$ac_ext >&5 | 8489 cat conftest.$ac_ext >&5 |
8503 echo "$ac_t""yes" 1>&6 | 8497 echo "$ac_t""yes" 1>&6 |
8504 libwnn=wnn | 8498 libwnn=wnn |
8505 else | 8499 else |
8506 echo "$ac_t""no" 1>&6 | 8500 echo "$ac_t""no" 1>&6 |
8507 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8501 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
8508 echo "configure:8509: checking for jl_dic_list_e in -lwnn4" >&5 | 8502 echo "configure:8503: checking for jl_dic_list_e in -lwnn4" >&5 |
8509 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8503 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8510 | 8504 |
8511 xe_check_libs=" -lwnn4 " | 8505 xe_check_libs=" -lwnn4 " |
8512 cat > conftest.$ac_ext <<EOF | 8506 cat > conftest.$ac_ext <<EOF |
8513 #line 8514 "configure" | 8507 #line 8508 "configure" |
8514 #include "confdefs.h" | 8508 #include "confdefs.h" |
8515 /* Override any gcc2 internal prototype to avoid an error. */ | 8509 /* Override any gcc2 internal prototype to avoid an error. */ |
8516 /* We use char because int might match the return type of a gcc2 | 8510 /* We use char because int might match the return type of a gcc2 |
8517 builtin and then its argument prototype would still apply. */ | 8511 builtin and then its argument prototype would still apply. */ |
8518 char jl_dic_list_e(); | 8512 char jl_dic_list_e(); |
8519 | 8513 |
8520 int main() { | 8514 int main() { |
8521 jl_dic_list_e() | 8515 jl_dic_list_e() |
8522 ; return 0; } | 8516 ; return 0; } |
8523 EOF | 8517 EOF |
8524 if { (eval echo configure:8525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8518 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8525 rm -rf conftest* | 8519 rm -rf conftest* |
8526 eval "ac_cv_lib_$ac_lib_var=yes" | 8520 eval "ac_cv_lib_$ac_lib_var=yes" |
8527 else | 8521 else |
8528 echo "configure: failed program was:" >&5 | 8522 echo "configure: failed program was:" >&5 |
8529 cat conftest.$ac_ext >&5 | 8523 cat conftest.$ac_ext >&5 |
8537 echo "$ac_t""yes" 1>&6 | 8531 echo "$ac_t""yes" 1>&6 |
8538 libwnn=wnn4 | 8532 libwnn=wnn4 |
8539 else | 8533 else |
8540 echo "$ac_t""no" 1>&6 | 8534 echo "$ac_t""no" 1>&6 |
8541 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8535 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8542 echo "configure:8543: checking for jl_dic_list_e in -lwnn6" >&5 | 8536 echo "configure:8537: checking for jl_dic_list_e in -lwnn6" >&5 |
8543 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8537 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8544 | 8538 |
8545 xe_check_libs=" -lwnn6 " | 8539 xe_check_libs=" -lwnn6 " |
8546 cat > conftest.$ac_ext <<EOF | 8540 cat > conftest.$ac_ext <<EOF |
8547 #line 8548 "configure" | 8541 #line 8542 "configure" |
8548 #include "confdefs.h" | 8542 #include "confdefs.h" |
8549 /* Override any gcc2 internal prototype to avoid an error. */ | 8543 /* Override any gcc2 internal prototype to avoid an error. */ |
8550 /* We use char because int might match the return type of a gcc2 | 8544 /* We use char because int might match the return type of a gcc2 |
8551 builtin and then its argument prototype would still apply. */ | 8545 builtin and then its argument prototype would still apply. */ |
8552 char jl_dic_list_e(); | 8546 char jl_dic_list_e(); |
8553 | 8547 |
8554 int main() { | 8548 int main() { |
8555 jl_dic_list_e() | 8549 jl_dic_list_e() |
8556 ; return 0; } | 8550 ; return 0; } |
8557 EOF | 8551 EOF |
8558 if { (eval echo configure:8559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8552 if { (eval echo configure:8553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8559 rm -rf conftest* | 8553 rm -rf conftest* |
8560 eval "ac_cv_lib_$ac_lib_var=yes" | 8554 eval "ac_cv_lib_$ac_lib_var=yes" |
8561 else | 8555 else |
8562 echo "configure: failed program was:" >&5 | 8556 echo "configure: failed program was:" >&5 |
8563 cat conftest.$ac_ext >&5 | 8557 cat conftest.$ac_ext >&5 |
8571 echo "$ac_t""yes" 1>&6 | 8565 echo "$ac_t""yes" 1>&6 |
8572 libwnn=wnn6 | 8566 libwnn=wnn6 |
8573 else | 8567 else |
8574 echo "$ac_t""no" 1>&6 | 8568 echo "$ac_t""no" 1>&6 |
8575 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8569 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8576 echo "configure:8577: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8570 echo "configure:8571: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8577 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8571 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8578 | 8572 |
8579 xe_check_libs=" -lwnn6_fromsrc " | 8573 xe_check_libs=" -lwnn6_fromsrc " |
8580 cat > conftest.$ac_ext <<EOF | 8574 cat > conftest.$ac_ext <<EOF |
8581 #line 8582 "configure" | 8575 #line 8576 "configure" |
8582 #include "confdefs.h" | 8576 #include "confdefs.h" |
8583 /* Override any gcc2 internal prototype to avoid an error. */ | 8577 /* Override any gcc2 internal prototype to avoid an error. */ |
8584 /* We use char because int might match the return type of a gcc2 | 8578 /* We use char because int might match the return type of a gcc2 |
8585 builtin and then its argument prototype would still apply. */ | 8579 builtin and then its argument prototype would still apply. */ |
8586 char dic_list_e(); | 8580 char dic_list_e(); |
8587 | 8581 |
8588 int main() { | 8582 int main() { |
8589 dic_list_e() | 8583 dic_list_e() |
8590 ; return 0; } | 8584 ; return 0; } |
8591 EOF | 8585 EOF |
8592 if { (eval echo configure:8593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8586 if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8593 rm -rf conftest* | 8587 rm -rf conftest* |
8594 eval "ac_cv_lib_$ac_lib_var=yes" | 8588 eval "ac_cv_lib_$ac_lib_var=yes" |
8595 else | 8589 else |
8596 echo "configure: failed program was:" >&5 | 8590 echo "configure: failed program was:" >&5 |
8597 cat conftest.$ac_ext >&5 | 8591 cat conftest.$ac_ext >&5 |
8635 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8629 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8636 fi | 8630 fi |
8637 if test "$with_wnn6" != "no"; then | 8631 if test "$with_wnn6" != "no"; then |
8638 | 8632 |
8639 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8633 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8640 echo "configure:8641: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8634 echo "configure:8635: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8641 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8635 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8642 | 8636 |
8643 xe_check_libs=" -l$libwnn " | 8637 xe_check_libs=" -l$libwnn " |
8644 cat > conftest.$ac_ext <<EOF | 8638 cat > conftest.$ac_ext <<EOF |
8645 #line 8646 "configure" | 8639 #line 8640 "configure" |
8646 #include "confdefs.h" | 8640 #include "confdefs.h" |
8647 /* Override any gcc2 internal prototype to avoid an error. */ | 8641 /* Override any gcc2 internal prototype to avoid an error. */ |
8648 /* We use char because int might match the return type of a gcc2 | 8642 /* We use char because int might match the return type of a gcc2 |
8649 builtin and then its argument prototype would still apply. */ | 8643 builtin and then its argument prototype would still apply. */ |
8650 char jl_fi_dic_list(); | 8644 char jl_fi_dic_list(); |
8651 | 8645 |
8652 int main() { | 8646 int main() { |
8653 jl_fi_dic_list() | 8647 jl_fi_dic_list() |
8654 ; return 0; } | 8648 ; return 0; } |
8655 EOF | 8649 EOF |
8656 if { (eval echo configure:8657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8650 if { (eval echo configure:8651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8657 rm -rf conftest* | 8651 rm -rf conftest* |
8658 eval "ac_cv_lib_$ac_lib_var=yes" | 8652 eval "ac_cv_lib_$ac_lib_var=yes" |
8659 else | 8653 else |
8660 echo "configure: failed program was:" >&5 | 8654 echo "configure: failed program was:" >&5 |
8661 cat conftest.$ac_ext >&5 | 8655 cat conftest.$ac_ext >&5 |
8686 | 8680 |
8687 canna_includes_found=no | 8681 canna_includes_found=no |
8688 if test "$with_canna" != "no"; then | 8682 if test "$with_canna" != "no"; then |
8689 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8683 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8690 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8684 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8691 echo "configure:8692: checking for canna/jrkanji.h" >&5 | 8685 echo "configure:8686: checking for canna/jrkanji.h" >&5 |
8692 | 8686 |
8693 cat > conftest.$ac_ext <<EOF | 8687 cat > conftest.$ac_ext <<EOF |
8694 #line 8695 "configure" | 8688 #line 8689 "configure" |
8695 #include "confdefs.h" | 8689 #include "confdefs.h" |
8696 #include <canna/jrkanji.h> | 8690 #include <canna/jrkanji.h> |
8697 EOF | 8691 EOF |
8698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8699 { (eval echo configure:8700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8693 { (eval echo configure:8694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8701 if test -z "$ac_err"; then | 8695 if test -z "$ac_err"; then |
8702 rm -rf conftest* | 8696 rm -rf conftest* |
8703 eval "ac_cv_header_$ac_safe=yes" | 8697 eval "ac_cv_header_$ac_safe=yes" |
8704 else | 8698 else |
8721 -d "/usr/local/canna/include"; then | 8715 -d "/usr/local/canna/include"; then |
8722 save_c_switch_site="$c_switch_site" | 8716 save_c_switch_site="$c_switch_site" |
8723 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8717 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8724 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8718 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8725 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8719 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8726 echo "configure:8727: checking for canna/jrkanji.h" >&5 | 8720 echo "configure:8721: checking for canna/jrkanji.h" >&5 |
8727 | 8721 |
8728 cat > conftest.$ac_ext <<EOF | 8722 cat > conftest.$ac_ext <<EOF |
8729 #line 8730 "configure" | 8723 #line 8724 "configure" |
8730 #include "confdefs.h" | 8724 #include "confdefs.h" |
8731 #include <canna/jrkanji.h> | 8725 #include <canna/jrkanji.h> |
8732 EOF | 8726 EOF |
8733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8727 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8734 { (eval echo configure:8735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8728 { (eval echo configure:8729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8729 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8736 if test -z "$ac_err"; then | 8730 if test -z "$ac_err"; then |
8737 rm -rf conftest* | 8731 rm -rf conftest* |
8738 eval "ac_cv_header_$ac_safe=yes" | 8732 eval "ac_cv_header_$ac_safe=yes" |
8739 else | 8733 else |
8757 fi | 8751 fi |
8758 fi | 8752 fi |
8759 | 8753 |
8760 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8754 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8761 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8755 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8762 echo "configure:8763: checking for canna/RK.h" >&5 | 8756 echo "configure:8757: checking for canna/RK.h" >&5 |
8763 | 8757 |
8764 cat > conftest.$ac_ext <<EOF | 8758 cat > conftest.$ac_ext <<EOF |
8765 #line 8766 "configure" | 8759 #line 8760 "configure" |
8766 #include "confdefs.h" | 8760 #include "confdefs.h" |
8767 #include <canna/RK.h> | 8761 #include <canna/RK.h> |
8768 EOF | 8762 EOF |
8769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8770 { (eval echo configure:8771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8764 { (eval echo configure:8765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8772 if test -z "$ac_err"; then | 8766 if test -z "$ac_err"; then |
8773 rm -rf conftest* | 8767 rm -rf conftest* |
8774 eval "ac_cv_header_$ac_safe=yes" | 8768 eval "ac_cv_header_$ac_safe=yes" |
8775 else | 8769 else |
8788 with_canna=no | 8782 with_canna=no |
8789 fi | 8783 fi |
8790 } | 8784 } |
8791 test -z "$with_canna" && { | 8785 test -z "$with_canna" && { |
8792 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8786 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8793 echo "configure:8794: checking for RkBgnBun in -lRKC" >&5 | 8787 echo "configure:8788: checking for RkBgnBun in -lRKC" >&5 |
8794 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8788 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8795 | 8789 |
8796 xe_check_libs=" -lRKC " | 8790 xe_check_libs=" -lRKC " |
8797 cat > conftest.$ac_ext <<EOF | 8791 cat > conftest.$ac_ext <<EOF |
8798 #line 8799 "configure" | 8792 #line 8793 "configure" |
8799 #include "confdefs.h" | 8793 #include "confdefs.h" |
8800 /* Override any gcc2 internal prototype to avoid an error. */ | 8794 /* Override any gcc2 internal prototype to avoid an error. */ |
8801 /* We use char because int might match the return type of a gcc2 | 8795 /* We use char because int might match the return type of a gcc2 |
8802 builtin and then its argument prototype would still apply. */ | 8796 builtin and then its argument prototype would still apply. */ |
8803 char RkBgnBun(); | 8797 char RkBgnBun(); |
8804 | 8798 |
8805 int main() { | 8799 int main() { |
8806 RkBgnBun() | 8800 RkBgnBun() |
8807 ; return 0; } | 8801 ; return 0; } |
8808 EOF | 8802 EOF |
8809 if { (eval echo configure:8810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8803 if { (eval echo configure:8804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8810 rm -rf conftest* | 8804 rm -rf conftest* |
8811 eval "ac_cv_lib_$ac_lib_var=yes" | 8805 eval "ac_cv_lib_$ac_lib_var=yes" |
8812 else | 8806 else |
8813 echo "configure: failed program was:" >&5 | 8807 echo "configure: failed program was:" >&5 |
8814 cat conftest.$ac_ext >&5 | 8808 cat conftest.$ac_ext >&5 |
8827 fi | 8821 fi |
8828 | 8822 |
8829 } | 8823 } |
8830 test -z "$with_canna" && { | 8824 test -z "$with_canna" && { |
8831 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8825 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8832 echo "configure:8833: checking for jrKanjiControl in -lcanna" >&5 | 8826 echo "configure:8827: checking for jrKanjiControl in -lcanna" >&5 |
8833 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8827 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8834 | 8828 |
8835 xe_check_libs=" -lcanna " | 8829 xe_check_libs=" -lcanna " |
8836 cat > conftest.$ac_ext <<EOF | 8830 cat > conftest.$ac_ext <<EOF |
8837 #line 8838 "configure" | 8831 #line 8832 "configure" |
8838 #include "confdefs.h" | 8832 #include "confdefs.h" |
8839 /* Override any gcc2 internal prototype to avoid an error. */ | 8833 /* Override any gcc2 internal prototype to avoid an error. */ |
8840 /* We use char because int might match the return type of a gcc2 | 8834 /* We use char because int might match the return type of a gcc2 |
8841 builtin and then its argument prototype would still apply. */ | 8835 builtin and then its argument prototype would still apply. */ |
8842 char jrKanjiControl(); | 8836 char jrKanjiControl(); |
8843 | 8837 |
8844 int main() { | 8838 int main() { |
8845 jrKanjiControl() | 8839 jrKanjiControl() |
8846 ; return 0; } | 8840 ; return 0; } |
8847 EOF | 8841 EOF |
8848 if { (eval echo configure:8849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8842 if { (eval echo configure:8843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8849 rm -rf conftest* | 8843 rm -rf conftest* |
8850 eval "ac_cv_lib_$ac_lib_var=yes" | 8844 eval "ac_cv_lib_$ac_lib_var=yes" |
8851 else | 8845 else |
8852 echo "configure: failed program was:" >&5 | 8846 echo "configure: failed program was:" >&5 |
8853 cat conftest.$ac_ext >&5 | 8847 cat conftest.$ac_ext >&5 |
8892 | 8886 |
8893 if test "$need_motif" = "yes" ; then | 8887 if test "$need_motif" = "yes" ; then |
8894 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8888 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8895 | 8889 |
8896 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8890 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8897 echo "configure:8898: checking for layout_object_getvalue in -li18n" >&5 | 8891 echo "configure:8892: checking for layout_object_getvalue in -li18n" >&5 |
8898 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8892 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8899 | 8893 |
8900 xe_check_libs=" -li18n " | 8894 xe_check_libs=" -li18n " |
8901 cat > conftest.$ac_ext <<EOF | 8895 cat > conftest.$ac_ext <<EOF |
8902 #line 8903 "configure" | 8896 #line 8897 "configure" |
8903 #include "confdefs.h" | 8897 #include "confdefs.h" |
8904 /* Override any gcc2 internal prototype to avoid an error. */ | 8898 /* Override any gcc2 internal prototype to avoid an error. */ |
8905 /* We use char because int might match the return type of a gcc2 | 8899 /* We use char because int might match the return type of a gcc2 |
8906 builtin and then its argument prototype would still apply. */ | 8900 builtin and then its argument prototype would still apply. */ |
8907 char layout_object_getvalue(); | 8901 char layout_object_getvalue(); |
8908 | 8902 |
8909 int main() { | 8903 int main() { |
8910 layout_object_getvalue() | 8904 layout_object_getvalue() |
8911 ; return 0; } | 8905 ; return 0; } |
8912 EOF | 8906 EOF |
8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8914 rm -rf conftest* | 8908 rm -rf conftest* |
8915 eval "ac_cv_lib_$ac_lib_var=yes" | 8909 eval "ac_cv_lib_$ac_lib_var=yes" |
8916 else | 8910 else |
8917 echo "configure: failed program was:" >&5 | 8911 echo "configure: failed program was:" >&5 |
8918 cat conftest.$ac_ext >&5 | 8912 cat conftest.$ac_ext >&5 |
8994 fi | 8988 fi |
8995 | 8989 |
8996 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8990 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8997 do | 8991 do |
8998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8999 echo "configure:9000: checking for $ac_func" >&5 | 8993 echo "configure:8994: checking for $ac_func" >&5 |
9000 | 8994 |
9001 cat > conftest.$ac_ext <<EOF | 8995 cat > conftest.$ac_ext <<EOF |
9002 #line 9003 "configure" | 8996 #line 8997 "configure" |
9003 #include "confdefs.h" | 8997 #include "confdefs.h" |
9004 /* System header to define __stub macros and hopefully few prototypes, | 8998 /* System header to define __stub macros and hopefully few prototypes, |
9005 which can conflict with char $ac_func(); below. */ | 8999 which can conflict with char $ac_func(); below. */ |
9006 #include <assert.h> | 9000 #include <assert.h> |
9007 /* Override any gcc2 internal prototype to avoid an error. */ | 9001 /* Override any gcc2 internal prototype to avoid an error. */ |
9020 $ac_func(); | 9014 $ac_func(); |
9021 #endif | 9015 #endif |
9022 | 9016 |
9023 ; return 0; } | 9017 ; return 0; } |
9024 EOF | 9018 EOF |
9025 if { (eval echo configure:9026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9019 if { (eval echo configure:9020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9026 rm -rf conftest* | 9020 rm -rf conftest* |
9027 eval "ac_cv_func_$ac_func=yes" | 9021 eval "ac_cv_func_$ac_func=yes" |
9028 else | 9022 else |
9029 echo "configure: failed program was:" >&5 | 9023 echo "configure: failed program was:" >&5 |
9030 cat conftest.$ac_ext >&5 | 9024 cat conftest.$ac_ext >&5 |
9061 echo " xemacs will be linked with \"realpath.o\"" | 9055 echo " xemacs will be linked with \"realpath.o\"" |
9062 fi ;; | 9056 fi ;; |
9063 * ) for ac_func in realpath | 9057 * ) for ac_func in realpath |
9064 do | 9058 do |
9065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9066 echo "configure:9067: checking for $ac_func" >&5 | 9060 echo "configure:9061: checking for $ac_func" >&5 |
9067 | 9061 |
9068 cat > conftest.$ac_ext <<EOF | 9062 cat > conftest.$ac_ext <<EOF |
9069 #line 9070 "configure" | 9063 #line 9064 "configure" |
9070 #include "confdefs.h" | 9064 #include "confdefs.h" |
9071 /* System header to define __stub macros and hopefully few prototypes, | 9065 /* System header to define __stub macros and hopefully few prototypes, |
9072 which can conflict with char $ac_func(); below. */ | 9066 which can conflict with char $ac_func(); below. */ |
9073 #include <assert.h> | 9067 #include <assert.h> |
9074 /* Override any gcc2 internal prototype to avoid an error. */ | 9068 /* Override any gcc2 internal prototype to avoid an error. */ |
9087 $ac_func(); | 9081 $ac_func(); |
9088 #endif | 9082 #endif |
9089 | 9083 |
9090 ; return 0; } | 9084 ; return 0; } |
9091 EOF | 9085 EOF |
9092 if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9086 if { (eval echo configure:9087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9093 rm -rf conftest* | 9087 rm -rf conftest* |
9094 eval "ac_cv_func_$ac_func=yes" | 9088 eval "ac_cv_func_$ac_func=yes" |
9095 else | 9089 else |
9096 echo "configure: failed program was:" >&5 | 9090 echo "configure: failed program was:" >&5 |
9097 cat conftest.$ac_ext >&5 | 9091 cat conftest.$ac_ext >&5 |
9123 esac | 9117 esac |
9124 | 9118 |
9125 for ac_func in getloadavg | 9119 for ac_func in getloadavg |
9126 do | 9120 do |
9127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9128 echo "configure:9129: checking for $ac_func" >&5 | 9122 echo "configure:9123: checking for $ac_func" >&5 |
9129 | 9123 |
9130 cat > conftest.$ac_ext <<EOF | 9124 cat > conftest.$ac_ext <<EOF |
9131 #line 9132 "configure" | 9125 #line 9126 "configure" |
9132 #include "confdefs.h" | 9126 #include "confdefs.h" |
9133 /* System header to define __stub macros and hopefully few prototypes, | 9127 /* System header to define __stub macros and hopefully few prototypes, |
9134 which can conflict with char $ac_func(); below. */ | 9128 which can conflict with char $ac_func(); below. */ |
9135 #include <assert.h> | 9129 #include <assert.h> |
9136 /* Override any gcc2 internal prototype to avoid an error. */ | 9130 /* Override any gcc2 internal prototype to avoid an error. */ |
9149 $ac_func(); | 9143 $ac_func(); |
9150 #endif | 9144 #endif |
9151 | 9145 |
9152 ; return 0; } | 9146 ; return 0; } |
9153 EOF | 9147 EOF |
9154 if { (eval echo configure:9155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9148 if { (eval echo configure:9149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9155 rm -rf conftest* | 9149 rm -rf conftest* |
9156 eval "ac_cv_func_$ac_func=yes" | 9150 eval "ac_cv_func_$ac_func=yes" |
9157 else | 9151 else |
9158 echo "configure: failed program was:" >&5 | 9152 echo "configure: failed program was:" >&5 |
9159 cat conftest.$ac_ext >&5 | 9153 cat conftest.$ac_ext >&5 |
9185 echo " xemacs will be linked with \"getloadavg.o\"" | 9179 echo " xemacs will be linked with \"getloadavg.o\"" |
9186 fi | 9180 fi |
9187 | 9181 |
9188 | 9182 |
9189 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 9183 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
9190 echo "configure:9191: checking for kstat_open in -lkstat" >&5 | 9184 echo "configure:9185: checking for kstat_open in -lkstat" >&5 |
9191 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 9185 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
9192 | 9186 |
9193 xe_check_libs=" -lkstat " | 9187 xe_check_libs=" -lkstat " |
9194 cat > conftest.$ac_ext <<EOF | 9188 cat > conftest.$ac_ext <<EOF |
9195 #line 9196 "configure" | 9189 #line 9190 "configure" |
9196 #include "confdefs.h" | 9190 #include "confdefs.h" |
9197 /* Override any gcc2 internal prototype to avoid an error. */ | 9191 /* Override any gcc2 internal prototype to avoid an error. */ |
9198 /* We use char because int might match the return type of a gcc2 | 9192 /* We use char because int might match the return type of a gcc2 |
9199 builtin and then its argument prototype would still apply. */ | 9193 builtin and then its argument prototype would still apply. */ |
9200 char kstat_open(); | 9194 char kstat_open(); |
9201 | 9195 |
9202 int main() { | 9196 int main() { |
9203 kstat_open() | 9197 kstat_open() |
9204 ; return 0; } | 9198 ; return 0; } |
9205 EOF | 9199 EOF |
9206 if { (eval echo configure:9207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9200 if { (eval echo configure:9201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9207 rm -rf conftest* | 9201 rm -rf conftest* |
9208 eval "ac_cv_lib_$ac_lib_var=yes" | 9202 eval "ac_cv_lib_$ac_lib_var=yes" |
9209 else | 9203 else |
9210 echo "configure: failed program was:" >&5 | 9204 echo "configure: failed program was:" >&5 |
9211 cat conftest.$ac_ext >&5 | 9205 cat conftest.$ac_ext >&5 |
9235 | 9229 |
9236 | 9230 |
9237 | 9231 |
9238 | 9232 |
9239 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 9233 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
9240 echo "configure:9241: checking for kvm_read in -lkvm" >&5 | 9234 echo "configure:9235: checking for kvm_read in -lkvm" >&5 |
9241 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 9235 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
9242 | 9236 |
9243 xe_check_libs=" -lkvm " | 9237 xe_check_libs=" -lkvm " |
9244 cat > conftest.$ac_ext <<EOF | 9238 cat > conftest.$ac_ext <<EOF |
9245 #line 9246 "configure" | 9239 #line 9240 "configure" |
9246 #include "confdefs.h" | 9240 #include "confdefs.h" |
9247 /* Override any gcc2 internal prototype to avoid an error. */ | 9241 /* Override any gcc2 internal prototype to avoid an error. */ |
9248 /* We use char because int might match the return type of a gcc2 | 9242 /* We use char because int might match the return type of a gcc2 |
9249 builtin and then its argument prototype would still apply. */ | 9243 builtin and then its argument prototype would still apply. */ |
9250 char kvm_read(); | 9244 char kvm_read(); |
9251 | 9245 |
9252 int main() { | 9246 int main() { |
9253 kvm_read() | 9247 kvm_read() |
9254 ; return 0; } | 9248 ; return 0; } |
9255 EOF | 9249 EOF |
9256 if { (eval echo configure:9257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9250 if { (eval echo configure:9251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9257 rm -rf conftest* | 9251 rm -rf conftest* |
9258 eval "ac_cv_lib_$ac_lib_var=yes" | 9252 eval "ac_cv_lib_$ac_lib_var=yes" |
9259 else | 9253 else |
9260 echo "configure: failed program was:" >&5 | 9254 echo "configure: failed program was:" >&5 |
9261 cat conftest.$ac_ext >&5 | 9255 cat conftest.$ac_ext >&5 |
9285 | 9279 |
9286 | 9280 |
9287 fi | 9281 fi |
9288 | 9282 |
9289 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9283 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
9290 echo "configure:9291: checking whether netdb declares h_errno" >&5 | 9284 echo "configure:9285: checking whether netdb declares h_errno" >&5 |
9291 cat > conftest.$ac_ext <<EOF | 9285 cat > conftest.$ac_ext <<EOF |
9292 #line 9293 "configure" | 9286 #line 9287 "configure" |
9293 #include "confdefs.h" | 9287 #include "confdefs.h" |
9294 #include <netdb.h> | 9288 #include <netdb.h> |
9295 int main() { | 9289 int main() { |
9296 return h_errno; | 9290 return h_errno; |
9297 ; return 0; } | 9291 ; return 0; } |
9298 EOF | 9292 EOF |
9299 if { (eval echo configure:9300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9293 if { (eval echo configure:9294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9300 rm -rf conftest* | 9294 rm -rf conftest* |
9301 echo "$ac_t""yes" 1>&6 | 9295 echo "$ac_t""yes" 1>&6 |
9302 { test "$extra_verbose" = "yes" && cat << \EOF | 9296 { test "$extra_verbose" = "yes" && cat << \EOF |
9303 Defining HAVE_H_ERRNO | 9297 Defining HAVE_H_ERRNO |
9304 EOF | 9298 EOF |
9314 echo "$ac_t""no" 1>&6 | 9308 echo "$ac_t""no" 1>&6 |
9315 fi | 9309 fi |
9316 rm -f conftest* | 9310 rm -f conftest* |
9317 | 9311 |
9318 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
9319 echo "configure:9320: checking for sigsetjmp" >&5 | 9313 echo "configure:9314: checking for sigsetjmp" >&5 |
9320 cat > conftest.$ac_ext <<EOF | 9314 cat > conftest.$ac_ext <<EOF |
9321 #line 9322 "configure" | 9315 #line 9316 "configure" |
9322 #include "confdefs.h" | 9316 #include "confdefs.h" |
9323 #include <setjmp.h> | 9317 #include <setjmp.h> |
9324 int main() { | 9318 int main() { |
9325 sigjmp_buf bar; sigsetjmp (bar, 0); | 9319 sigjmp_buf bar; sigsetjmp (bar, 0); |
9326 ; return 0; } | 9320 ; return 0; } |
9327 EOF | 9321 EOF |
9328 if { (eval echo configure:9329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9322 if { (eval echo configure:9323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9329 rm -rf conftest* | 9323 rm -rf conftest* |
9330 echo "$ac_t""yes" 1>&6 | 9324 echo "$ac_t""yes" 1>&6 |
9331 { test "$extra_verbose" = "yes" && cat << \EOF | 9325 { test "$extra_verbose" = "yes" && cat << \EOF |
9332 Defining HAVE_SIGSETJMP | 9326 Defining HAVE_SIGSETJMP |
9333 EOF | 9327 EOF |
9343 echo "$ac_t""no" 1>&6 | 9337 echo "$ac_t""no" 1>&6 |
9344 fi | 9338 fi |
9345 rm -f conftest* | 9339 rm -f conftest* |
9346 | 9340 |
9347 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9341 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9348 echo "configure:9349: checking whether localtime caches TZ" >&5 | 9342 echo "configure:9343: checking whether localtime caches TZ" >&5 |
9349 | 9343 |
9350 if test "$ac_cv_func_tzset" = "yes"; then | 9344 if test "$ac_cv_func_tzset" = "yes"; then |
9351 cat > conftest.$ac_ext <<EOF | 9345 cat > conftest.$ac_ext <<EOF |
9352 #line 9353 "configure" | 9346 #line 9347 "configure" |
9353 #include "confdefs.h" | 9347 #include "confdefs.h" |
9354 #include <time.h> | 9348 #include <time.h> |
9355 #if STDC_HEADERS | 9349 #if STDC_HEADERS |
9356 # include <stdlib.h> | 9350 # include <stdlib.h> |
9357 #endif | 9351 #endif |
9382 if (localtime (&now)->tm_hour != hour_unset) | 9376 if (localtime (&now)->tm_hour != hour_unset) |
9383 exit (1); | 9377 exit (1); |
9384 exit (0); | 9378 exit (0); |
9385 } | 9379 } |
9386 EOF | 9380 EOF |
9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9381 if { (eval echo configure:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9388 then | 9382 then |
9389 emacs_cv_localtime_cache=no | 9383 emacs_cv_localtime_cache=no |
9390 else | 9384 else |
9391 conftest_rc="$?" | 9385 conftest_rc="$?" |
9392 echo "configure: failed program was:" >&5 | 9386 echo "configure: failed program was:" >&5 |
9412 | 9406 |
9413 fi | 9407 fi |
9414 | 9408 |
9415 if test "$HAVE_TIMEVAL" = "yes"; then | 9409 if test "$HAVE_TIMEVAL" = "yes"; then |
9416 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9410 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9417 echo "configure:9418: checking whether gettimeofday accepts one or two arguments" >&5 | 9411 echo "configure:9412: checking whether gettimeofday accepts one or two arguments" >&5 |
9418 cat > conftest.$ac_ext <<EOF | 9412 cat > conftest.$ac_ext <<EOF |
9419 #line 9420 "configure" | 9413 #line 9414 "configure" |
9420 #include "confdefs.h" | 9414 #include "confdefs.h" |
9421 | 9415 |
9422 #ifdef TIME_WITH_SYS_TIME | 9416 #ifdef TIME_WITH_SYS_TIME |
9423 #include <sys/time.h> | 9417 #include <sys/time.h> |
9424 #include <time.h> | 9418 #include <time.h> |
9436 struct timezone dummy; | 9430 struct timezone dummy; |
9437 gettimeofday (&time, &dummy); | 9431 gettimeofday (&time, &dummy); |
9438 | 9432 |
9439 ; return 0; } | 9433 ; return 0; } |
9440 EOF | 9434 EOF |
9441 if { (eval echo configure:9442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9442 rm -rf conftest* | 9436 rm -rf conftest* |
9443 echo "$ac_t""two" 1>&6 | 9437 echo "$ac_t""two" 1>&6 |
9444 else | 9438 else |
9445 echo "configure: failed program was:" >&5 | 9439 echo "configure: failed program was:" >&5 |
9446 cat conftest.$ac_ext >&5 | 9440 cat conftest.$ac_ext >&5 |
9458 rm -f conftest* | 9452 rm -f conftest* |
9459 fi | 9453 fi |
9460 | 9454 |
9461 | 9455 |
9462 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9456 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9463 echo "configure:9464: checking for inline" >&5 | 9457 echo "configure:9458: checking for inline" >&5 |
9464 | 9458 |
9465 ac_cv_c_inline=no | 9459 ac_cv_c_inline=no |
9466 for ac_kw in inline __inline__ __inline; do | 9460 for ac_kw in inline __inline__ __inline; do |
9467 cat > conftest.$ac_ext <<EOF | 9461 cat > conftest.$ac_ext <<EOF |
9468 #line 9469 "configure" | 9462 #line 9463 "configure" |
9469 #include "confdefs.h" | 9463 #include "confdefs.h" |
9470 | 9464 |
9471 int main() { | 9465 int main() { |
9472 } $ac_kw foo() { | 9466 } $ac_kw foo() { |
9473 ; return 0; } | 9467 ; return 0; } |
9474 EOF | 9468 EOF |
9475 if { (eval echo configure:9476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9469 if { (eval echo configure:9470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9476 rm -rf conftest* | 9470 rm -rf conftest* |
9477 ac_cv_c_inline=$ac_kw; break | 9471 ac_cv_c_inline=$ac_kw; break |
9478 else | 9472 else |
9479 echo "configure: failed program was:" >&5 | 9473 echo "configure: failed program was:" >&5 |
9480 cat conftest.$ac_ext >&5 | 9474 cat conftest.$ac_ext >&5 |
9520 | 9514 |
9521 | 9515 |
9522 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9516 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9523 # for constant arguments. Useless! | 9517 # for constant arguments. Useless! |
9524 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9518 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9525 echo "configure:9526: checking for working alloca.h" >&5 | 9519 echo "configure:9520: checking for working alloca.h" >&5 |
9526 | 9520 |
9527 cat > conftest.$ac_ext <<EOF | 9521 cat > conftest.$ac_ext <<EOF |
9528 #line 9529 "configure" | 9522 #line 9523 "configure" |
9529 #include "confdefs.h" | 9523 #include "confdefs.h" |
9530 #include <alloca.h> | 9524 #include <alloca.h> |
9531 int main() { | 9525 int main() { |
9532 char *p = alloca(2 * sizeof(int)); | 9526 char *p = alloca(2 * sizeof(int)); |
9533 ; return 0; } | 9527 ; return 0; } |
9534 EOF | 9528 EOF |
9535 if { (eval echo configure:9536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9529 if { (eval echo configure:9530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9536 rm -rf conftest* | 9530 rm -rf conftest* |
9537 ac_cv_header_alloca_h=yes | 9531 ac_cv_header_alloca_h=yes |
9538 else | 9532 else |
9539 echo "configure: failed program was:" >&5 | 9533 echo "configure: failed program was:" >&5 |
9540 cat conftest.$ac_ext >&5 | 9534 cat conftest.$ac_ext >&5 |
9554 } | 9548 } |
9555 | 9549 |
9556 fi | 9550 fi |
9557 | 9551 |
9558 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9552 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9559 echo "configure:9560: checking for alloca" >&5 | 9553 echo "configure:9554: checking for alloca" >&5 |
9560 | 9554 |
9561 cat > conftest.$ac_ext <<EOF | 9555 cat > conftest.$ac_ext <<EOF |
9562 #line 9563 "configure" | 9556 #line 9557 "configure" |
9563 #include "confdefs.h" | 9557 #include "confdefs.h" |
9564 | 9558 |
9565 #ifdef __GNUC__ | 9559 #ifdef __GNUC__ |
9566 # define alloca __builtin_alloca | 9560 # define alloca __builtin_alloca |
9567 #else | 9561 #else |
9585 | 9579 |
9586 int main() { | 9580 int main() { |
9587 char *p = (char *) alloca(1); | 9581 char *p = (char *) alloca(1); |
9588 ; return 0; } | 9582 ; return 0; } |
9589 EOF | 9583 EOF |
9590 if { (eval echo configure:9591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9584 if { (eval echo configure:9585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9591 rm -rf conftest* | 9585 rm -rf conftest* |
9592 ac_cv_func_alloca_works=yes | 9586 ac_cv_func_alloca_works=yes |
9593 else | 9587 else |
9594 echo "configure: failed program was:" >&5 | 9588 echo "configure: failed program was:" >&5 |
9595 cat conftest.$ac_ext >&5 | 9589 cat conftest.$ac_ext >&5 |
9624 EOF | 9618 EOF |
9625 } | 9619 } |
9626 | 9620 |
9627 | 9621 |
9628 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9622 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9629 echo "configure:9630: checking whether alloca needs Cray hooks" >&5 | 9623 echo "configure:9624: checking whether alloca needs Cray hooks" >&5 |
9630 | 9624 |
9631 cat > conftest.$ac_ext <<EOF | 9625 cat > conftest.$ac_ext <<EOF |
9632 #line 9633 "configure" | 9626 #line 9627 "configure" |
9633 #include "confdefs.h" | 9627 #include "confdefs.h" |
9634 #if defined(CRAY) && ! defined(CRAY2) | 9628 #if defined(CRAY) && ! defined(CRAY2) |
9635 webecray | 9629 webecray |
9636 #else | 9630 #else |
9637 wenotbecray | 9631 wenotbecray |
9651 | 9645 |
9652 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9646 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9653 if test $ac_cv_os_cray = yes; then | 9647 if test $ac_cv_os_cray = yes; then |
9654 for ac_func in _getb67 GETB67 getb67; do | 9648 for ac_func in _getb67 GETB67 getb67; do |
9655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9656 echo "configure:9657: checking for $ac_func" >&5 | 9650 echo "configure:9651: checking for $ac_func" >&5 |
9657 | 9651 |
9658 cat > conftest.$ac_ext <<EOF | 9652 cat > conftest.$ac_ext <<EOF |
9659 #line 9660 "configure" | 9653 #line 9654 "configure" |
9660 #include "confdefs.h" | 9654 #include "confdefs.h" |
9661 /* System header to define __stub macros and hopefully few prototypes, | 9655 /* System header to define __stub macros and hopefully few prototypes, |
9662 which can conflict with char $ac_func(); below. */ | 9656 which can conflict with char $ac_func(); below. */ |
9663 #include <assert.h> | 9657 #include <assert.h> |
9664 /* Override any gcc2 internal prototype to avoid an error. */ | 9658 /* Override any gcc2 internal prototype to avoid an error. */ |
9677 $ac_func(); | 9671 $ac_func(); |
9678 #endif | 9672 #endif |
9679 | 9673 |
9680 ; return 0; } | 9674 ; return 0; } |
9681 EOF | 9675 EOF |
9682 if { (eval echo configure:9683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9676 if { (eval echo configure:9677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9683 rm -rf conftest* | 9677 rm -rf conftest* |
9684 eval "ac_cv_func_$ac_func=yes" | 9678 eval "ac_cv_func_$ac_func=yes" |
9685 else | 9679 else |
9686 echo "configure: failed program was:" >&5 | 9680 echo "configure: failed program was:" >&5 |
9687 cat conftest.$ac_ext >&5 | 9681 cat conftest.$ac_ext >&5 |
9707 | 9701 |
9708 done | 9702 done |
9709 fi | 9703 fi |
9710 | 9704 |
9711 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9705 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9712 echo "configure:9713: checking stack direction for C alloca" >&5 | 9706 echo "configure:9707: checking stack direction for C alloca" >&5 |
9713 | 9707 |
9714 cat > conftest.$ac_ext <<EOF | 9708 cat > conftest.$ac_ext <<EOF |
9715 #line 9716 "configure" | 9709 #line 9710 "configure" |
9716 #include "confdefs.h" | 9710 #include "confdefs.h" |
9717 find_stack_direction () | 9711 find_stack_direction () |
9718 { | 9712 { |
9719 static char *addr = 0; | 9713 static char *addr = 0; |
9720 auto char dummy; | 9714 auto char dummy; |
9729 main () | 9723 main () |
9730 { | 9724 { |
9731 exit (find_stack_direction() < 0); | 9725 exit (find_stack_direction() < 0); |
9732 } | 9726 } |
9733 EOF | 9727 EOF |
9734 if { (eval echo configure:9735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9728 if { (eval echo configure:9729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9735 then | 9729 then |
9736 ac_cv_c_stack_direction=1 | 9730 ac_cv_c_stack_direction=1 |
9737 else | 9731 else |
9738 conftest_rc="$?" | 9732 conftest_rc="$?" |
9739 echo "configure: failed program was:" >&5 | 9733 echo "configure: failed program was:" >&5 |
9758 echo " xemacs will be linked with \"$ALLOCA\"" | 9752 echo " xemacs will be linked with \"$ALLOCA\"" |
9759 fi | 9753 fi |
9760 | 9754 |
9761 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9755 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9762 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9756 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9763 echo "configure:9764: checking for vfork.h" >&5 | 9757 echo "configure:9758: checking for vfork.h" >&5 |
9764 | 9758 |
9765 cat > conftest.$ac_ext <<EOF | 9759 cat > conftest.$ac_ext <<EOF |
9766 #line 9767 "configure" | 9760 #line 9761 "configure" |
9767 #include "confdefs.h" | 9761 #include "confdefs.h" |
9768 #include <vfork.h> | 9762 #include <vfork.h> |
9769 EOF | 9763 EOF |
9770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9771 { (eval echo configure:9772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9765 { (eval echo configure:9766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9772 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9773 if test -z "$ac_err"; then | 9767 if test -z "$ac_err"; then |
9774 rm -rf conftest* | 9768 rm -rf conftest* |
9775 eval "ac_cv_header_$ac_safe=yes" | 9769 eval "ac_cv_header_$ac_safe=yes" |
9776 else | 9770 else |
9794 else | 9788 else |
9795 echo "$ac_t""no" 1>&6 | 9789 echo "$ac_t""no" 1>&6 |
9796 fi | 9790 fi |
9797 | 9791 |
9798 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9792 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9799 echo "configure:9800: checking for working vfork" >&5 | 9793 echo "configure:9794: checking for working vfork" >&5 |
9800 | 9794 |
9801 cat > conftest.$ac_ext <<EOF | 9795 cat > conftest.$ac_ext <<EOF |
9802 #line 9803 "configure" | 9796 #line 9797 "configure" |
9803 #include "confdefs.h" | 9797 #include "confdefs.h" |
9804 /* Thanks to Paul Eggert for this test. */ | 9798 /* Thanks to Paul Eggert for this test. */ |
9805 #include <stdio.h> | 9799 #include <stdio.h> |
9806 #include <sys/types.h> | 9800 #include <sys/types.h> |
9807 #include <sys/stat.h> | 9801 #include <sys/stat.h> |
9892 || fstat(fileno(stdout), &st) != 0 | 9886 || fstat(fileno(stdout), &st) != 0 |
9893 ); | 9887 ); |
9894 } | 9888 } |
9895 } | 9889 } |
9896 EOF | 9890 EOF |
9897 if { (eval echo configure:9898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9891 if { (eval echo configure:9892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9898 then | 9892 then |
9899 ac_cv_func_vfork_works=yes | 9893 ac_cv_func_vfork_works=yes |
9900 else | 9894 else |
9901 conftest_rc="$?" | 9895 conftest_rc="$?" |
9902 echo "configure: failed program was:" >&5 | 9896 echo "configure: failed program was:" >&5 |
9918 | 9912 |
9919 fi | 9913 fi |
9920 | 9914 |
9921 | 9915 |
9922 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9916 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9923 echo "configure:9924: checking for working strcoll" >&5 | 9917 echo "configure:9918: checking for working strcoll" >&5 |
9924 | 9918 |
9925 cat > conftest.$ac_ext <<EOF | 9919 cat > conftest.$ac_ext <<EOF |
9926 #line 9927 "configure" | 9920 #line 9921 "configure" |
9927 #include "confdefs.h" | 9921 #include "confdefs.h" |
9928 #include <string.h> | 9922 #include <string.h> |
9929 main () | 9923 main () |
9930 { | 9924 { |
9931 exit (strcoll ("abc", "def") >= 0 || | 9925 exit (strcoll ("abc", "def") >= 0 || |
9932 strcoll ("ABC", "DEF") >= 0 || | 9926 strcoll ("ABC", "DEF") >= 0 || |
9933 strcoll ("123", "456") >= 0); | 9927 strcoll ("123", "456") >= 0); |
9934 } | 9928 } |
9935 EOF | 9929 EOF |
9936 if { (eval echo configure:9937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9930 if { (eval echo configure:9931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9937 then | 9931 then |
9938 ac_cv_func_strcoll_works=yes | 9932 ac_cv_func_strcoll_works=yes |
9939 else | 9933 else |
9940 conftest_rc="$?" | 9934 conftest_rc="$?" |
9941 echo "configure: failed program was:" >&5 | 9935 echo "configure: failed program was:" >&5 |
9959 | 9953 |
9960 | 9954 |
9961 for ac_func in getpgrp | 9955 for ac_func in getpgrp |
9962 do | 9956 do |
9963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9964 echo "configure:9965: checking for $ac_func" >&5 | 9958 echo "configure:9959: checking for $ac_func" >&5 |
9965 | 9959 |
9966 cat > conftest.$ac_ext <<EOF | 9960 cat > conftest.$ac_ext <<EOF |
9967 #line 9968 "configure" | 9961 #line 9962 "configure" |
9968 #include "confdefs.h" | 9962 #include "confdefs.h" |
9969 /* System header to define __stub macros and hopefully few prototypes, | 9963 /* System header to define __stub macros and hopefully few prototypes, |
9970 which can conflict with char $ac_func(); below. */ | 9964 which can conflict with char $ac_func(); below. */ |
9971 #include <assert.h> | 9965 #include <assert.h> |
9972 /* Override any gcc2 internal prototype to avoid an error. */ | 9966 /* Override any gcc2 internal prototype to avoid an error. */ |
9985 $ac_func(); | 9979 $ac_func(); |
9986 #endif | 9980 #endif |
9987 | 9981 |
9988 ; return 0; } | 9982 ; return 0; } |
9989 EOF | 9983 EOF |
9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9984 if { (eval echo configure:9985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9991 rm -rf conftest* | 9985 rm -rf conftest* |
9992 eval "ac_cv_func_$ac_func=yes" | 9986 eval "ac_cv_func_$ac_func=yes" |
9993 else | 9987 else |
9994 echo "configure: failed program was:" >&5 | 9988 echo "configure: failed program was:" >&5 |
9995 cat conftest.$ac_ext >&5 | 9989 cat conftest.$ac_ext >&5 |
10013 echo "$ac_t""no" 1>&6 | 10007 echo "$ac_t""no" 1>&6 |
10014 fi | 10008 fi |
10015 done | 10009 done |
10016 | 10010 |
10017 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 10011 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
10018 echo "configure:10019: checking whether getpgrp takes no argument" >&5 | 10012 echo "configure:10013: checking whether getpgrp takes no argument" >&5 |
10019 | 10013 |
10020 cat > conftest.$ac_ext <<EOF | 10014 cat > conftest.$ac_ext <<EOF |
10021 #line 10022 "configure" | 10015 #line 10016 "configure" |
10022 #include "confdefs.h" | 10016 #include "confdefs.h" |
10023 | 10017 |
10024 /* | 10018 /* |
10025 * If this system has a BSD-style getpgrp(), | 10019 * If this system has a BSD-style getpgrp(), |
10026 * which takes a pid argument, exit unsuccessfully. | 10020 * which takes a pid argument, exit unsuccessfully. |
10071 exit(s>>8); | 10065 exit(s>>8); |
10072 } | 10066 } |
10073 } | 10067 } |
10074 | 10068 |
10075 EOF | 10069 EOF |
10076 if { (eval echo configure:10077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10070 if { (eval echo configure:10071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10077 then | 10071 then |
10078 ac_cv_func_getpgrp_void=yes | 10072 ac_cv_func_getpgrp_void=yes |
10079 else | 10073 else |
10080 conftest_rc="$?" | 10074 conftest_rc="$?" |
10081 echo "configure: failed program was:" >&5 | 10075 echo "configure: failed program was:" >&5 |
10098 | 10092 |
10099 fi | 10093 fi |
10100 | 10094 |
10101 | 10095 |
10102 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 10096 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
10103 echo "configure:10104: checking for working mmap" >&5 | 10097 echo "configure:10098: checking for working mmap" >&5 |
10104 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 10098 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
10105 cat > conftest.$ac_ext <<EOF | 10099 cat > conftest.$ac_ext <<EOF |
10106 #line 10107 "configure" | 10100 #line 10101 "configure" |
10107 #include "confdefs.h" | 10101 #include "confdefs.h" |
10108 #include <stdio.h> | 10102 #include <stdio.h> |
10109 #include <unistd.h> | 10103 #include <unistd.h> |
10110 #include <fcntl.h> | 10104 #include <fcntl.h> |
10111 #include <sys/mman.h> | 10105 #include <sys/mman.h> |
10134 return 0; | 10128 return 0; |
10135 perror ("conftest: mmap failed"); | 10129 perror ("conftest: mmap failed"); |
10136 return 1; | 10130 return 1; |
10137 } | 10131 } |
10138 EOF | 10132 EOF |
10139 if { (eval echo configure:10140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10133 if { (eval echo configure:10134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10140 then | 10134 then |
10141 have_mmap=yes | 10135 have_mmap=yes |
10142 else | 10136 else |
10143 conftest_rc="$?" | 10137 conftest_rc="$?" |
10144 echo "configure: failed program was:" >&5 | 10138 echo "configure: failed program was:" >&5 |
10169 } | 10163 } |
10170 | 10164 |
10171 | 10165 |
10172 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10166 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
10173 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10167 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
10174 echo "configure:10175: checking for termios.h" >&5 | 10168 echo "configure:10169: checking for termios.h" >&5 |
10175 | 10169 |
10176 cat > conftest.$ac_ext <<EOF | 10170 cat > conftest.$ac_ext <<EOF |
10177 #line 10178 "configure" | 10171 #line 10172 "configure" |
10178 #include "confdefs.h" | 10172 #include "confdefs.h" |
10179 #include <termios.h> | 10173 #include <termios.h> |
10180 EOF | 10174 EOF |
10181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10182 { (eval echo configure:10183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10176 { (eval echo configure:10177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10184 if test -z "$ac_err"; then | 10178 if test -z "$ac_err"; then |
10185 rm -rf conftest* | 10179 rm -rf conftest* |
10186 eval "ac_cv_header_$ac_safe=yes" | 10180 eval "ac_cv_header_$ac_safe=yes" |
10187 else | 10181 else |
10220 | 10214 |
10221 else | 10215 else |
10222 echo "$ac_t""no" 1>&6 | 10216 echo "$ac_t""no" 1>&6 |
10223 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10217 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10224 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10218 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10225 echo "configure:10226: checking for termio.h" >&5 | 10219 echo "configure:10220: checking for termio.h" >&5 |
10226 | 10220 |
10227 cat > conftest.$ac_ext <<EOF | 10221 cat > conftest.$ac_ext <<EOF |
10228 #line 10229 "configure" | 10222 #line 10223 "configure" |
10229 #include "confdefs.h" | 10223 #include "confdefs.h" |
10230 #include <termio.h> | 10224 #include <termio.h> |
10231 EOF | 10225 EOF |
10232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10233 { (eval echo configure:10234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10227 { (eval echo configure:10228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10235 if test -z "$ac_err"; then | 10229 if test -z "$ac_err"; then |
10236 rm -rf conftest* | 10230 rm -rf conftest* |
10237 eval "ac_cv_header_$ac_safe=yes" | 10231 eval "ac_cv_header_$ac_safe=yes" |
10238 else | 10232 else |
10260 fi | 10254 fi |
10261 | 10255 |
10262 | 10256 |
10263 | 10257 |
10264 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10258 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10265 echo "configure:10266: checking for socket" >&5 | 10259 echo "configure:10260: checking for socket" >&5 |
10266 | 10260 |
10267 cat > conftest.$ac_ext <<EOF | 10261 cat > conftest.$ac_ext <<EOF |
10268 #line 10269 "configure" | 10262 #line 10263 "configure" |
10269 #include "confdefs.h" | 10263 #include "confdefs.h" |
10270 /* System header to define __stub macros and hopefully few prototypes, | 10264 /* System header to define __stub macros and hopefully few prototypes, |
10271 which can conflict with char socket(); below. */ | 10265 which can conflict with char socket(); below. */ |
10272 #include <assert.h> | 10266 #include <assert.h> |
10273 /* Override any gcc2 internal prototype to avoid an error. */ | 10267 /* Override any gcc2 internal prototype to avoid an error. */ |
10286 socket(); | 10280 socket(); |
10287 #endif | 10281 #endif |
10288 | 10282 |
10289 ; return 0; } | 10283 ; return 0; } |
10290 EOF | 10284 EOF |
10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10292 rm -rf conftest* | 10286 rm -rf conftest* |
10293 eval "ac_cv_func_socket=yes" | 10287 eval "ac_cv_func_socket=yes" |
10294 else | 10288 else |
10295 echo "configure: failed program was:" >&5 | 10289 echo "configure: failed program was:" >&5 |
10296 cat conftest.$ac_ext >&5 | 10290 cat conftest.$ac_ext >&5 |
10301 | 10295 |
10302 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10296 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10303 echo "$ac_t""yes" 1>&6 | 10297 echo "$ac_t""yes" 1>&6 |
10304 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10298 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10305 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10299 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10306 echo "configure:10307: checking for netinet/in.h" >&5 | 10300 echo "configure:10301: checking for netinet/in.h" >&5 |
10307 | 10301 |
10308 cat > conftest.$ac_ext <<EOF | 10302 cat > conftest.$ac_ext <<EOF |
10309 #line 10310 "configure" | 10303 #line 10304 "configure" |
10310 #include "confdefs.h" | 10304 #include "confdefs.h" |
10311 #include <netinet/in.h> | 10305 #include <netinet/in.h> |
10312 EOF | 10306 EOF |
10313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10314 { (eval echo configure:10315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10308 { (eval echo configure:10309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10316 if test -z "$ac_err"; then | 10310 if test -z "$ac_err"; then |
10317 rm -rf conftest* | 10311 rm -rf conftest* |
10318 eval "ac_cv_header_$ac_safe=yes" | 10312 eval "ac_cv_header_$ac_safe=yes" |
10319 else | 10313 else |
10326 rm -f conftest* | 10320 rm -f conftest* |
10327 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10321 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10328 echo "$ac_t""yes" 1>&6 | 10322 echo "$ac_t""yes" 1>&6 |
10329 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10323 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10330 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10324 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10331 echo "configure:10332: checking for arpa/inet.h" >&5 | 10325 echo "configure:10326: checking for arpa/inet.h" >&5 |
10332 | 10326 |
10333 cat > conftest.$ac_ext <<EOF | 10327 cat > conftest.$ac_ext <<EOF |
10334 #line 10335 "configure" | 10328 #line 10329 "configure" |
10335 #include "confdefs.h" | 10329 #include "confdefs.h" |
10336 #include <arpa/inet.h> | 10330 #include <arpa/inet.h> |
10337 EOF | 10331 EOF |
10338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10339 { (eval echo configure:10340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10333 { (eval echo configure:10334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10341 if test -z "$ac_err"; then | 10335 if test -z "$ac_err"; then |
10342 rm -rf conftest* | 10336 rm -rf conftest* |
10343 eval "ac_cv_header_$ac_safe=yes" | 10337 eval "ac_cv_header_$ac_safe=yes" |
10344 else | 10338 else |
10359 #define HAVE_SOCKETS 1 | 10353 #define HAVE_SOCKETS 1 |
10360 EOF | 10354 EOF |
10361 } | 10355 } |
10362 | 10356 |
10363 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10357 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10364 echo "configure:10365: checking "for sun_len member in struct sockaddr_un"" >&5 | 10358 echo "configure:10359: checking "for sun_len member in struct sockaddr_un"" >&5 |
10365 cat > conftest.$ac_ext <<EOF | 10359 cat > conftest.$ac_ext <<EOF |
10366 #line 10367 "configure" | 10360 #line 10361 "configure" |
10367 #include "confdefs.h" | 10361 #include "confdefs.h" |
10368 | 10362 |
10369 #include <sys/types.h> | 10363 #include <sys/types.h> |
10370 #include <sys/socket.h> | 10364 #include <sys/socket.h> |
10371 #include <sys/un.h> | 10365 #include <sys/un.h> |
10372 | 10366 |
10373 int main() { | 10367 int main() { |
10374 static struct sockaddr_un x; x.sun_len = 1; | 10368 static struct sockaddr_un x; x.sun_len = 1; |
10375 ; return 0; } | 10369 ; return 0; } |
10376 EOF | 10370 EOF |
10377 if { (eval echo configure:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10371 if { (eval echo configure:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10378 rm -rf conftest* | 10372 rm -rf conftest* |
10379 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10373 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10380 Defining HAVE_SOCKADDR_SUN_LEN | 10374 Defining HAVE_SOCKADDR_SUN_LEN |
10381 EOF | 10375 EOF |
10382 cat >> confdefs.h <<\EOF | 10376 cat >> confdefs.h <<\EOF |
10390 rm -rf conftest* | 10384 rm -rf conftest* |
10391 echo "$ac_t""no" 1>&6 | 10385 echo "$ac_t""no" 1>&6 |
10392 fi | 10386 fi |
10393 rm -f conftest* | 10387 rm -f conftest* |
10394 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10388 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10395 echo "configure:10396: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10389 echo "configure:10390: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10396 cat > conftest.$ac_ext <<EOF | 10390 cat > conftest.$ac_ext <<EOF |
10397 #line 10398 "configure" | 10391 #line 10392 "configure" |
10398 #include "confdefs.h" | 10392 #include "confdefs.h" |
10399 | 10393 |
10400 #include <sys/types.h> | 10394 #include <sys/types.h> |
10401 #include <netinet/in.h> | 10395 #include <netinet/in.h> |
10402 | 10396 |
10403 int main() { | 10397 int main() { |
10404 static struct ip_mreq x; | 10398 static struct ip_mreq x; |
10405 ; return 0; } | 10399 ; return 0; } |
10406 EOF | 10400 EOF |
10407 if { (eval echo configure:10408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10401 if { (eval echo configure:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10408 rm -rf conftest* | 10402 rm -rf conftest* |
10409 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10403 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10410 Defining HAVE_MULTICAST | 10404 Defining HAVE_MULTICAST |
10411 EOF | 10405 EOF |
10412 cat >> confdefs.h <<\EOF | 10406 cat >> confdefs.h <<\EOF |
10433 echo "$ac_t""no" 1>&6 | 10427 echo "$ac_t""no" 1>&6 |
10434 fi | 10428 fi |
10435 | 10429 |
10436 | 10430 |
10437 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10431 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10438 echo "configure:10439: checking for msgget" >&5 | 10432 echo "configure:10433: checking for msgget" >&5 |
10439 | 10433 |
10440 cat > conftest.$ac_ext <<EOF | 10434 cat > conftest.$ac_ext <<EOF |
10441 #line 10442 "configure" | 10435 #line 10436 "configure" |
10442 #include "confdefs.h" | 10436 #include "confdefs.h" |
10443 /* System header to define __stub macros and hopefully few prototypes, | 10437 /* System header to define __stub macros and hopefully few prototypes, |
10444 which can conflict with char msgget(); below. */ | 10438 which can conflict with char msgget(); below. */ |
10445 #include <assert.h> | 10439 #include <assert.h> |
10446 /* Override any gcc2 internal prototype to avoid an error. */ | 10440 /* Override any gcc2 internal prototype to avoid an error. */ |
10459 msgget(); | 10453 msgget(); |
10460 #endif | 10454 #endif |
10461 | 10455 |
10462 ; return 0; } | 10456 ; return 0; } |
10463 EOF | 10457 EOF |
10464 if { (eval echo configure:10465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10458 if { (eval echo configure:10459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10465 rm -rf conftest* | 10459 rm -rf conftest* |
10466 eval "ac_cv_func_msgget=yes" | 10460 eval "ac_cv_func_msgget=yes" |
10467 else | 10461 else |
10468 echo "configure: failed program was:" >&5 | 10462 echo "configure: failed program was:" >&5 |
10469 cat conftest.$ac_ext >&5 | 10463 cat conftest.$ac_ext >&5 |
10474 | 10468 |
10475 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10469 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10476 echo "$ac_t""yes" 1>&6 | 10470 echo "$ac_t""yes" 1>&6 |
10477 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10471 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10478 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10472 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10479 echo "configure:10480: checking for sys/ipc.h" >&5 | 10473 echo "configure:10474: checking for sys/ipc.h" >&5 |
10480 | 10474 |
10481 cat > conftest.$ac_ext <<EOF | 10475 cat > conftest.$ac_ext <<EOF |
10482 #line 10483 "configure" | 10476 #line 10477 "configure" |
10483 #include "confdefs.h" | 10477 #include "confdefs.h" |
10484 #include <sys/ipc.h> | 10478 #include <sys/ipc.h> |
10485 EOF | 10479 EOF |
10486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10487 { (eval echo configure:10488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10481 { (eval echo configure:10482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10489 if test -z "$ac_err"; then | 10483 if test -z "$ac_err"; then |
10490 rm -rf conftest* | 10484 rm -rf conftest* |
10491 eval "ac_cv_header_$ac_safe=yes" | 10485 eval "ac_cv_header_$ac_safe=yes" |
10492 else | 10486 else |
10499 rm -f conftest* | 10493 rm -f conftest* |
10500 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10501 echo "$ac_t""yes" 1>&6 | 10495 echo "$ac_t""yes" 1>&6 |
10502 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10496 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10503 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10497 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10504 echo "configure:10505: checking for sys/msg.h" >&5 | 10498 echo "configure:10499: checking for sys/msg.h" >&5 |
10505 | 10499 |
10506 cat > conftest.$ac_ext <<EOF | 10500 cat > conftest.$ac_ext <<EOF |
10507 #line 10508 "configure" | 10501 #line 10502 "configure" |
10508 #include "confdefs.h" | 10502 #include "confdefs.h" |
10509 #include <sys/msg.h> | 10503 #include <sys/msg.h> |
10510 EOF | 10504 EOF |
10511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10512 { (eval echo configure:10513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10506 { (eval echo configure:10507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10514 if test -z "$ac_err"; then | 10508 if test -z "$ac_err"; then |
10515 rm -rf conftest* | 10509 rm -rf conftest* |
10516 eval "ac_cv_header_$ac_safe=yes" | 10510 eval "ac_cv_header_$ac_safe=yes" |
10517 else | 10511 else |
10545 fi | 10539 fi |
10546 | 10540 |
10547 | 10541 |
10548 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10542 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10549 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10543 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10550 echo "configure:10551: checking for dirent.h" >&5 | 10544 echo "configure:10545: checking for dirent.h" >&5 |
10551 | 10545 |
10552 cat > conftest.$ac_ext <<EOF | 10546 cat > conftest.$ac_ext <<EOF |
10553 #line 10554 "configure" | 10547 #line 10548 "configure" |
10554 #include "confdefs.h" | 10548 #include "confdefs.h" |
10555 #include <dirent.h> | 10549 #include <dirent.h> |
10556 EOF | 10550 EOF |
10557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10558 { (eval echo configure:10559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10552 { (eval echo configure:10553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10560 if test -z "$ac_err"; then | 10554 if test -z "$ac_err"; then |
10561 rm -rf conftest* | 10555 rm -rf conftest* |
10562 eval "ac_cv_header_$ac_safe=yes" | 10556 eval "ac_cv_header_$ac_safe=yes" |
10563 else | 10557 else |
10580 | 10574 |
10581 else | 10575 else |
10582 echo "$ac_t""no" 1>&6 | 10576 echo "$ac_t""no" 1>&6 |
10583 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10577 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10584 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10578 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10585 echo "configure:10586: checking for sys/dir.h" >&5 | 10579 echo "configure:10580: checking for sys/dir.h" >&5 |
10586 | 10580 |
10587 cat > conftest.$ac_ext <<EOF | 10581 cat > conftest.$ac_ext <<EOF |
10588 #line 10589 "configure" | 10582 #line 10583 "configure" |
10589 #include "confdefs.h" | 10583 #include "confdefs.h" |
10590 #include <sys/dir.h> | 10584 #include <sys/dir.h> |
10591 EOF | 10585 EOF |
10592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10593 { (eval echo configure:10594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10587 { (eval echo configure:10588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10595 if test -z "$ac_err"; then | 10589 if test -z "$ac_err"; then |
10596 rm -rf conftest* | 10590 rm -rf conftest* |
10597 eval "ac_cv_header_$ac_safe=yes" | 10591 eval "ac_cv_header_$ac_safe=yes" |
10598 else | 10592 else |
10621 fi | 10615 fi |
10622 | 10616 |
10623 | 10617 |
10624 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10618 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10625 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10619 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10626 echo "configure:10627: checking for nlist.h" >&5 | 10620 echo "configure:10621: checking for nlist.h" >&5 |
10627 | 10621 |
10628 cat > conftest.$ac_ext <<EOF | 10622 cat > conftest.$ac_ext <<EOF |
10629 #line 10630 "configure" | 10623 #line 10624 "configure" |
10630 #include "confdefs.h" | 10624 #include "confdefs.h" |
10631 #include <nlist.h> | 10625 #include <nlist.h> |
10632 EOF | 10626 EOF |
10633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10634 { (eval echo configure:10635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10628 { (eval echo configure:10629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10636 if test -z "$ac_err"; then | 10630 if test -z "$ac_err"; then |
10637 rm -rf conftest* | 10631 rm -rf conftest* |
10638 eval "ac_cv_header_$ac_safe=yes" | 10632 eval "ac_cv_header_$ac_safe=yes" |
10639 else | 10633 else |
10659 fi | 10653 fi |
10660 | 10654 |
10661 | 10655 |
10662 | 10656 |
10663 echo "checking "for sound support"" 1>&6 | 10657 echo "checking "for sound support"" 1>&6 |
10664 echo "configure:10665: checking "for sound support"" >&5 | 10658 echo "configure:10659: checking "for sound support"" >&5 |
10665 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10659 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10666 | 10660 |
10667 if test "$with_native_sound" != "no"; then | 10661 if test "$with_native_sound" != "no"; then |
10668 if test -n "$native_sound_lib"; then | 10662 if test -n "$native_sound_lib"; then |
10669 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10663 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10670 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10664 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10671 echo "configure:10672: checking for multimedia/audio_device.h" >&5 | 10665 echo "configure:10666: checking for multimedia/audio_device.h" >&5 |
10672 | 10666 |
10673 cat > conftest.$ac_ext <<EOF | 10667 cat > conftest.$ac_ext <<EOF |
10674 #line 10675 "configure" | 10668 #line 10669 "configure" |
10675 #include "confdefs.h" | 10669 #include "confdefs.h" |
10676 #include <multimedia/audio_device.h> | 10670 #include <multimedia/audio_device.h> |
10677 EOF | 10671 EOF |
10678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10679 { (eval echo configure:10680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10673 { (eval echo configure:10674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10681 if test -z "$ac_err"; then | 10675 if test -z "$ac_err"; then |
10682 rm -rf conftest* | 10676 rm -rf conftest* |
10683 eval "ac_cv_header_$ac_safe=yes" | 10677 eval "ac_cv_header_$ac_safe=yes" |
10684 else | 10678 else |
10722 case "$canonical" in | 10716 case "$canonical" in |
10723 *-sgi-* ) | 10717 *-sgi-* ) |
10724 if test -z "$native_sound_lib"; then | 10718 if test -z "$native_sound_lib"; then |
10725 | 10719 |
10726 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10720 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10727 echo "configure:10728: checking for ALopenport in -laudio" >&5 | 10721 echo "configure:10722: checking for ALopenport in -laudio" >&5 |
10728 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10722 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10729 | 10723 |
10730 xe_check_libs=" -laudio " | 10724 xe_check_libs=" -laudio " |
10731 cat > conftest.$ac_ext <<EOF | 10725 cat > conftest.$ac_ext <<EOF |
10732 #line 10733 "configure" | 10726 #line 10727 "configure" |
10733 #include "confdefs.h" | 10727 #include "confdefs.h" |
10734 /* Override any gcc2 internal prototype to avoid an error. */ | 10728 /* Override any gcc2 internal prototype to avoid an error. */ |
10735 /* We use char because int might match the return type of a gcc2 | 10729 /* We use char because int might match the return type of a gcc2 |
10736 builtin and then its argument prototype would still apply. */ | 10730 builtin and then its argument prototype would still apply. */ |
10737 char ALopenport(); | 10731 char ALopenport(); |
10738 | 10732 |
10739 int main() { | 10733 int main() { |
10740 ALopenport() | 10734 ALopenport() |
10741 ; return 0; } | 10735 ; return 0; } |
10742 EOF | 10736 EOF |
10743 if { (eval echo configure:10744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10737 if { (eval echo configure:10738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10744 rm -rf conftest* | 10738 rm -rf conftest* |
10745 eval "ac_cv_lib_$ac_lib_var=yes" | 10739 eval "ac_cv_lib_$ac_lib_var=yes" |
10746 else | 10740 else |
10747 echo "configure: failed program was:" >&5 | 10741 echo "configure: failed program was:" >&5 |
10748 cat conftest.$ac_ext >&5 | 10742 cat conftest.$ac_ext >&5 |
10769 fi ;; | 10763 fi ;; |
10770 hppa*-hp-hpux* ) | 10764 hppa*-hp-hpux* ) |
10771 if test -z "$native_sound_lib"; then | 10765 if test -z "$native_sound_lib"; then |
10772 | 10766 |
10773 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10767 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10774 echo "configure:10775: checking for AOpenAudio in -lAlib" >&5 | 10768 echo "configure:10769: checking for AOpenAudio in -lAlib" >&5 |
10775 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10769 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10776 | 10770 |
10777 xe_check_libs=" -lAlib " | 10771 xe_check_libs=" -lAlib " |
10778 cat > conftest.$ac_ext <<EOF | 10772 cat > conftest.$ac_ext <<EOF |
10779 #line 10780 "configure" | 10773 #line 10774 "configure" |
10780 #include "confdefs.h" | 10774 #include "confdefs.h" |
10781 /* Override any gcc2 internal prototype to avoid an error. */ | 10775 /* Override any gcc2 internal prototype to avoid an error. */ |
10782 /* We use char because int might match the return type of a gcc2 | 10776 /* We use char because int might match the return type of a gcc2 |
10783 builtin and then its argument prototype would still apply. */ | 10777 builtin and then its argument prototype would still apply. */ |
10784 char AOpenAudio(); | 10778 char AOpenAudio(); |
10785 | 10779 |
10786 int main() { | 10780 int main() { |
10787 AOpenAudio() | 10781 AOpenAudio() |
10788 ; return 0; } | 10782 ; return 0; } |
10789 EOF | 10783 EOF |
10790 if { (eval echo configure:10791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10784 if { (eval echo configure:10785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10791 rm -rf conftest* | 10785 rm -rf conftest* |
10792 eval "ac_cv_lib_$ac_lib_var=yes" | 10786 eval "ac_cv_lib_$ac_lib_var=yes" |
10793 else | 10787 else |
10794 echo "configure: failed program was:" >&5 | 10788 echo "configure: failed program was:" >&5 |
10795 cat conftest.$ac_ext >&5 | 10789 cat conftest.$ac_ext >&5 |
10823 | 10817 |
10824 if test -z "$sound_found"; then | 10818 if test -z "$sound_found"; then |
10825 for dir in "machine" "sys" "linux"; do | 10819 for dir in "machine" "sys" "linux"; do |
10826 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10820 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10827 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10821 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10828 echo "configure:10829: checking for ${dir}/soundcard.h" >&5 | 10822 echo "configure:10823: checking for ${dir}/soundcard.h" >&5 |
10829 | 10823 |
10830 cat > conftest.$ac_ext <<EOF | 10824 cat > conftest.$ac_ext <<EOF |
10831 #line 10832 "configure" | 10825 #line 10826 "configure" |
10832 #include "confdefs.h" | 10826 #include "confdefs.h" |
10833 #include <${dir}/soundcard.h> | 10827 #include <${dir}/soundcard.h> |
10834 EOF | 10828 EOF |
10835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10836 { (eval echo configure:10837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10830 { (eval echo configure:10831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10838 if test -z "$ac_err"; then | 10832 if test -z "$ac_err"; then |
10839 rm -rf conftest* | 10833 rm -rf conftest* |
10840 eval "ac_cv_header_$ac_safe=yes" | 10834 eval "ac_cv_header_$ac_safe=yes" |
10841 else | 10835 else |
10882 } | 10876 } |
10883 | 10877 |
10884 test -n "$native_sound_lib" && LIBS="$native_sound_lib $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$native_sound_lib\" to \$LIBS"; fi | 10878 test -n "$native_sound_lib" && LIBS="$native_sound_lib $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$native_sound_lib\" to \$LIBS"; fi |
10885 fi | 10879 fi |
10886 | 10880 |
10887 if test "$with_nas_sound" = "yes"; then | 10881 if test "$with_nas_sound" != "no"; then |
10888 { test "$extra_verbose" = "yes" && cat << \EOF | 10882 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
10883 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | |
10884 echo "configure:10885: checking for audio/audiolib.h" >&5 | |
10885 | |
10886 cat > conftest.$ac_ext <<EOF | |
10887 #line 10888 "configure" | |
10888 #include "confdefs.h" | |
10889 #include <audio/audiolib.h> | |
10890 EOF | |
10891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
10892 { (eval echo configure:10893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
10893 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
10894 if test -z "$ac_err"; then | |
10895 rm -rf conftest* | |
10896 eval "ac_cv_header_$ac_safe=yes" | |
10897 else | |
10898 echo "$ac_err" >&5 | |
10899 echo "configure: failed program was:" >&5 | |
10900 cat conftest.$ac_ext >&5 | |
10901 rm -rf conftest* | |
10902 eval "ac_cv_header_$ac_safe=no" | |
10903 fi | |
10904 rm -f conftest* | |
10905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10906 echo "$ac_t""yes" 1>&6 | |
10907 | |
10908 | |
10909 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | |
10910 echo "configure:10911: checking for AuOpenServer in -laudio" >&5 | |
10911 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | |
10912 | |
10913 xe_check_libs=" -laudio " | |
10914 cat > conftest.$ac_ext <<EOF | |
10915 #line 10916 "configure" | |
10916 #include "confdefs.h" | |
10917 /* Override any gcc2 internal prototype to avoid an error. */ | |
10918 /* We use char because int might match the return type of a gcc2 | |
10919 builtin and then its argument prototype would still apply. */ | |
10920 char AuOpenServer(); | |
10921 | |
10922 int main() { | |
10923 AuOpenServer() | |
10924 ; return 0; } | |
10925 EOF | |
10926 if { (eval echo configure:10927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
10927 rm -rf conftest* | |
10928 eval "ac_cv_lib_$ac_lib_var=yes" | |
10929 else | |
10930 echo "configure: failed program was:" >&5 | |
10931 cat conftest.$ac_ext >&5 | |
10932 rm -rf conftest* | |
10933 eval "ac_cv_lib_$ac_lib_var=no" | |
10934 fi | |
10935 rm -f conftest* | |
10936 xe_check_libs="" | |
10937 | |
10938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
10939 echo "$ac_t""yes" 1>&6 | |
10940 have_nas_sound=yes | |
10941 else | |
10942 echo "$ac_t""no" 1>&6 | |
10943 fi | |
10944 | |
10945 | |
10946 else | |
10947 echo "$ac_t""no" 1>&6 | |
10948 fi | |
10949 | |
10950 if test "$have_nas_sound" = "yes"; then | |
10951 with_nas_sound=yes | |
10952 { test "$extra_verbose" = "yes" && cat << \EOF | |
10889 Defining HAVE_NAS_SOUND | 10953 Defining HAVE_NAS_SOUND |
10890 EOF | 10954 EOF |
10891 cat >> confdefs.h <<\EOF | 10955 cat >> confdefs.h <<\EOF |
10892 #define HAVE_NAS_SOUND 1 | 10956 #define HAVE_NAS_SOUND 1 |
10893 EOF | 10957 EOF |
10894 } | 10958 } |
10895 | 10959 |
10896 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10960 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10897 echo " xemacs will be linked with \"nas.o\"" | 10961 echo " xemacs will be linked with \"nas.o\"" |
10898 fi | 10962 fi |
10899 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10963 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10900 cat > conftest.$ac_ext <<EOF | 10964 cat > conftest.$ac_ext <<EOF |
10901 #line 10902 "configure" | 10965 #line 10966 "configure" |
10902 #include "confdefs.h" | 10966 #include "confdefs.h" |
10903 #include <audio/Xtutil.h> | 10967 #include <audio/Xtutil.h> |
10904 EOF | 10968 EOF |
10905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10906 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10970 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10907 : | 10971 : |
10908 else | 10972 else |
10909 rm -rf conftest* | 10973 rm -rf conftest* |
10910 { test "$extra_verbose" = "yes" && cat << \EOF | 10974 old_nas=yes; { test "$extra_verbose" = "yes" && cat << \EOF |
10911 Defining NAS_NO_ERROR_JUMP | 10975 Defining NAS_NO_ERROR_JUMP |
10912 EOF | 10976 EOF |
10913 cat >> confdefs.h <<\EOF | 10977 cat >> confdefs.h <<\EOF |
10914 #define NAS_NO_ERROR_JUMP 1 | 10978 #define NAS_NO_ERROR_JUMP 1 |
10915 EOF | 10979 EOF |
10916 } | 10980 } |
10917 | 10981 |
10918 fi | 10982 fi |
10919 rm -f conftest* | 10983 rm -f conftest* |
10920 | 10984 |
10921 fi | 10985 else |
10922 | 10986 test "$with_nas_sound" = "yes" && \ |
10923 # Extract the first word of "esd-config", so it can be a program name with args. | 10987 { echo "Error:" "Required NAS sound support cannot be provided." >&2; exit 1; } |
10988 with_nas_sound=no | |
10989 fi | |
10990 fi | |
10991 | |
10992 if test "$with_esd_sound" != "no"; then | |
10993 # Extract the first word of "esd-config", so it can be a program name with args. | |
10924 set dummy esd-config; ac_word=$2 | 10994 set dummy esd-config; ac_word=$2 |
10925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 10995 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
10926 echo "configure:10927: checking for $ac_word" >&5 | 10996 echo "configure:10997: checking for $ac_word" >&5 |
10927 | 10997 |
10928 if test -n "$have_esd_config"; then | 10998 if test -n "$have_esd_config"; then |
10929 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 10999 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
10930 else | 11000 else |
10931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 11001 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
10945 echo "$ac_t""$have_esd_config" 1>&6 | 11015 echo "$ac_t""$have_esd_config" 1>&6 |
10946 else | 11016 else |
10947 echo "$ac_t""no" 1>&6 | 11017 echo "$ac_t""no" 1>&6 |
10948 fi | 11018 fi |
10949 | 11019 |
10950 if test -z "$with_esd"; then | 11020 if test "$have_esd_config" = "yes"; then |
10951 with_esd=$have_esd_config | 11021 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
10952 fi | 11022 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
10953 | 11023 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
10954 if test "$with_esd" = "yes"; then | 11024 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
10955 if test "$have_esd_config" = "no"; then | 11025 echo "configure:11026: checking for esd_play_stream" >&5 |
10956 echo "*** esd-config was not found in your PATH. Disabling esd support." | 11026 |
10957 with_esd=no | 11027 cat > conftest.$ac_ext <<EOF |
10958 else | 11028 #line 11029 "configure" |
10959 { test "$extra_verbose" = "yes" && cat << \EOF | 11029 #include "confdefs.h" |
10960 Defining HAVE_ESD_SOUND | 11030 /* System header to define __stub macros and hopefully few prototypes, |
10961 EOF | 11031 which can conflict with char esd_play_stream(); below. */ |
10962 cat >> confdefs.h <<\EOF | 11032 #include <assert.h> |
10963 #define HAVE_ESD_SOUND 1 | 11033 /* Override any gcc2 internal prototype to avoid an error. */ |
10964 EOF | 11034 /* We use char because int might match the return type of a gcc2 |
10965 } | 11035 builtin and then its argument prototype would still apply. */ |
10966 | 11036 char esd_play_stream(); |
11037 | |
11038 int main() { | |
11039 | |
11040 /* The GNU C library defines this for functions which it implements | |
11041 to always fail with ENOSYS. Some functions are actually named | |
11042 something starting with __ and the normal name is an alias. */ | |
11043 #if defined (__stub_esd_play_stream) || defined (__stub___esd_play_stream) | |
11044 choke me | |
11045 #else | |
11046 esd_play_stream(); | |
11047 #endif | |
11048 | |
11049 ; return 0; } | |
11050 EOF | |
11051 if { (eval echo configure:11052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
11052 rm -rf conftest* | |
11053 eval "ac_cv_func_esd_play_stream=yes" | |
11054 else | |
11055 echo "configure: failed program was:" >&5 | |
11056 cat conftest.$ac_ext >&5 | |
11057 rm -rf conftest* | |
11058 eval "ac_cv_func_esd_play_stream=no" | |
11059 fi | |
11060 rm -f conftest* | |
11061 | |
11062 if eval "test \"`echo '$ac_cv_func_'esd_play_stream`\" = yes"; then | |
11063 echo "$ac_t""yes" 1>&6 | |
11064 have_esd_sound=yes | |
11065 else | |
11066 echo "$ac_t""no" 1>&6 | |
11067 c_switch_site="$save_c_switch_site" LIBS="$save_LIBS" | |
11068 fi | |
11069 | |
11070 fi | |
11071 | |
11072 if test "$have_esd_sound" = "yes"; then | |
11073 with_esd_sound=yes | |
10967 need_miscplay=yes | 11074 need_miscplay=yes |
10968 extra_objs="$extra_objs esd.o" && if test "$extra_verbose" = "yes"; then | 11075 extra_objs="$extra_objs esd.o" && if test "$extra_verbose" = "yes"; then |
10969 echo " xemacs will be linked with \"esd.o\"" | 11076 echo " xemacs will be linked with \"esd.o\"" |
10970 fi | 11077 fi |
10971 libs_x="`esd-config --libs` $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$libs_x"; fi | 11078 { test "$extra_verbose" = "yes" && cat << \EOF |
11079 Defining HAVE_ESD_SOUND | |
11080 EOF | |
11081 cat >> confdefs.h <<\EOF | |
11082 #define HAVE_ESD_SOUND 1 | |
11083 EOF | |
11084 } | |
11085 | |
11086 else | |
11087 test "$with_esd_sound" = "yes" && \ | |
11088 { echo "Error:" "Required ESD sound support cannot be provided." >&2; exit 1; } | |
11089 with_esd_sound=no | |
10972 fi | 11090 fi |
10973 fi | 11091 fi |
10974 | 11092 |
10975 if test "$need_miscplay" = "yes"; then | 11093 test "$need_miscplay" = "yes" && extra_objs="$extra_objs miscplay.o" && if test "$extra_verbose" = "yes"; then |
10976 extra_objs="$extra_objs miscplay.o" && if test "$extra_verbose" = "yes"; then | |
10977 echo " xemacs will be linked with \"miscplay.o\"" | 11094 echo " xemacs will be linked with \"miscplay.o\"" |
10978 fi | 11095 fi |
10979 fi | |
10980 | 11096 |
10981 | 11097 |
10982 test -z "$with_tty" && with_tty=yes | 11098 test -z "$with_tty" && with_tty=yes |
10983 | 11099 |
10984 if test "$with_tty" = "yes" ; then | 11100 if test "$with_tty" = "yes" ; then |
10985 echo "checking for TTY-related features" 1>&6 | 11101 echo "checking for TTY-related features" 1>&6 |
10986 echo "configure:10987: checking for TTY-related features" >&5 | 11102 echo "configure:11103: checking for TTY-related features" >&5 |
10987 { test "$extra_verbose" = "yes" && cat << \EOF | 11103 { test "$extra_verbose" = "yes" && cat << \EOF |
10988 Defining HAVE_TTY | 11104 Defining HAVE_TTY |
10989 EOF | 11105 EOF |
10990 cat >> confdefs.h <<\EOF | 11106 cat >> confdefs.h <<\EOF |
10991 #define HAVE_TTY 1 | 11107 #define HAVE_TTY 1 |
10997 fi | 11113 fi |
10998 | 11114 |
10999 if test -z "$with_ncurses"; then | 11115 if test -z "$with_ncurses"; then |
11000 | 11116 |
11001 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 11117 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
11002 echo "configure:11003: checking for tgetent in -lncurses" >&5 | 11118 echo "configure:11119: checking for tgetent in -lncurses" >&5 |
11003 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 11119 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
11004 | 11120 |
11005 xe_check_libs=" -lncurses " | 11121 xe_check_libs=" -lncurses " |
11006 cat > conftest.$ac_ext <<EOF | 11122 cat > conftest.$ac_ext <<EOF |
11007 #line 11008 "configure" | 11123 #line 11124 "configure" |
11008 #include "confdefs.h" | 11124 #include "confdefs.h" |
11009 /* Override any gcc2 internal prototype to avoid an error. */ | 11125 /* Override any gcc2 internal prototype to avoid an error. */ |
11010 /* We use char because int might match the return type of a gcc2 | 11126 /* We use char because int might match the return type of a gcc2 |
11011 builtin and then its argument prototype would still apply. */ | 11127 builtin and then its argument prototype would still apply. */ |
11012 char tgetent(); | 11128 char tgetent(); |
11013 | 11129 |
11014 int main() { | 11130 int main() { |
11015 tgetent() | 11131 tgetent() |
11016 ; return 0; } | 11132 ; return 0; } |
11017 EOF | 11133 EOF |
11018 if { (eval echo configure:11019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11134 if { (eval echo configure:11135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11019 rm -rf conftest* | 11135 rm -rf conftest* |
11020 eval "ac_cv_lib_$ac_lib_var=yes" | 11136 eval "ac_cv_lib_$ac_lib_var=yes" |
11021 else | 11137 else |
11022 echo "configure: failed program was:" >&5 | 11138 echo "configure: failed program was:" >&5 |
11023 cat conftest.$ac_ext >&5 | 11139 cat conftest.$ac_ext >&5 |
11046 EOF | 11162 EOF |
11047 } | 11163 } |
11048 | 11164 |
11049 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11165 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11050 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11166 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11051 echo "configure:11052: checking for ncurses/curses.h" >&5 | 11167 echo "configure:11168: checking for ncurses/curses.h" >&5 |
11052 | 11168 |
11053 cat > conftest.$ac_ext <<EOF | 11169 cat > conftest.$ac_ext <<EOF |
11054 #line 11055 "configure" | 11170 #line 11171 "configure" |
11055 #include "confdefs.h" | 11171 #include "confdefs.h" |
11056 #include <ncurses/curses.h> | 11172 #include <ncurses/curses.h> |
11057 EOF | 11173 EOF |
11058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11059 { (eval echo configure:11060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11175 { (eval echo configure:11176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11061 if test -z "$ac_err"; then | 11177 if test -z "$ac_err"; then |
11062 rm -rf conftest* | 11178 rm -rf conftest* |
11063 eval "ac_cv_header_$ac_safe=yes" | 11179 eval "ac_cv_header_$ac_safe=yes" |
11064 else | 11180 else |
11076 echo "$ac_t""no" 1>&6 | 11192 echo "$ac_t""no" 1>&6 |
11077 fi | 11193 fi |
11078 | 11194 |
11079 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 11195 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
11080 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 11196 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
11081 echo "configure:11082: checking for ncurses/term.h" >&5 | 11197 echo "configure:11198: checking for ncurses/term.h" >&5 |
11082 | 11198 |
11083 cat > conftest.$ac_ext <<EOF | 11199 cat > conftest.$ac_ext <<EOF |
11084 #line 11085 "configure" | 11200 #line 11201 "configure" |
11085 #include "confdefs.h" | 11201 #include "confdefs.h" |
11086 #include <ncurses/term.h> | 11202 #include <ncurses/term.h> |
11087 EOF | 11203 EOF |
11088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11089 { (eval echo configure:11090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11205 { (eval echo configure:11206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11090 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11091 if test -z "$ac_err"; then | 11207 if test -z "$ac_err"; then |
11092 rm -rf conftest* | 11208 rm -rf conftest* |
11093 eval "ac_cv_header_$ac_safe=yes" | 11209 eval "ac_cv_header_$ac_safe=yes" |
11094 else | 11210 else |
11114 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 11230 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
11115 save_c_switch_site="$c_switch_site" | 11231 save_c_switch_site="$c_switch_site" |
11116 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 11232 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
11117 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11233 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11118 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11234 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11119 echo "configure:11120: checking for ncurses/curses.h" >&5 | 11235 echo "configure:11236: checking for ncurses/curses.h" >&5 |
11120 | 11236 |
11121 cat > conftest.$ac_ext <<EOF | 11237 cat > conftest.$ac_ext <<EOF |
11122 #line 11123 "configure" | 11238 #line 11239 "configure" |
11123 #include "confdefs.h" | 11239 #include "confdefs.h" |
11124 #include <ncurses/curses.h> | 11240 #include <ncurses/curses.h> |
11125 EOF | 11241 EOF |
11126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11127 { (eval echo configure:11128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11243 { (eval echo configure:11244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11128 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11129 if test -z "$ac_err"; then | 11245 if test -z "$ac_err"; then |
11130 rm -rf conftest* | 11246 rm -rf conftest* |
11131 eval "ac_cv_header_$ac_safe=yes" | 11247 eval "ac_cv_header_$ac_safe=yes" |
11132 else | 11248 else |
11157 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11273 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11158 else | 11274 else |
11159 for lib in curses termlib termcap; do | 11275 for lib in curses termlib termcap; do |
11160 | 11276 |
11161 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 11277 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
11162 echo "configure:11163: checking for tgetent in -l$lib" >&5 | 11278 echo "configure:11279: checking for tgetent in -l$lib" >&5 |
11163 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 11279 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
11164 | 11280 |
11165 xe_check_libs=" -l$lib " | 11281 xe_check_libs=" -l$lib " |
11166 cat > conftest.$ac_ext <<EOF | 11282 cat > conftest.$ac_ext <<EOF |
11167 #line 11168 "configure" | 11283 #line 11284 "configure" |
11168 #include "confdefs.h" | 11284 #include "confdefs.h" |
11169 /* Override any gcc2 internal prototype to avoid an error. */ | 11285 /* Override any gcc2 internal prototype to avoid an error. */ |
11170 /* We use char because int might match the return type of a gcc2 | 11286 /* We use char because int might match the return type of a gcc2 |
11171 builtin and then its argument prototype would still apply. */ | 11287 builtin and then its argument prototype would still apply. */ |
11172 char tgetent(); | 11288 char tgetent(); |
11173 | 11289 |
11174 int main() { | 11290 int main() { |
11175 tgetent() | 11291 tgetent() |
11176 ; return 0; } | 11292 ; return 0; } |
11177 EOF | 11293 EOF |
11178 if { (eval echo configure:11179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11294 if { (eval echo configure:11295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11179 rm -rf conftest* | 11295 rm -rf conftest* |
11180 eval "ac_cv_lib_$ac_lib_var=yes" | 11296 eval "ac_cv_lib_$ac_lib_var=yes" |
11181 else | 11297 else |
11182 echo "configure: failed program was:" >&5 | 11298 echo "configure: failed program was:" >&5 |
11183 cat conftest.$ac_ext >&5 | 11299 cat conftest.$ac_ext >&5 |
11204 if test -n "$libs_termcap"; then | 11320 if test -n "$libs_termcap"; then |
11205 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11321 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11206 else | 11322 else |
11207 | 11323 |
11208 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11324 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
11209 echo "configure:11210: checking for tgetent in -lcurses" >&5 | 11325 echo "configure:11326: checking for tgetent in -lcurses" >&5 |
11210 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11326 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
11211 | 11327 |
11212 xe_check_libs=" -lcurses " | 11328 xe_check_libs=" -lcurses " |
11213 cat > conftest.$ac_ext <<EOF | 11329 cat > conftest.$ac_ext <<EOF |
11214 #line 11215 "configure" | 11330 #line 11331 "configure" |
11215 #include "confdefs.h" | 11331 #include "confdefs.h" |
11216 /* Override any gcc2 internal prototype to avoid an error. */ | 11332 /* Override any gcc2 internal prototype to avoid an error. */ |
11217 /* We use char because int might match the return type of a gcc2 | 11333 /* We use char because int might match the return type of a gcc2 |
11218 builtin and then its argument prototype would still apply. */ | 11334 builtin and then its argument prototype would still apply. */ |
11219 char tgetent(); | 11335 char tgetent(); |
11220 | 11336 |
11221 int main() { | 11337 int main() { |
11222 tgetent() | 11338 tgetent() |
11223 ; return 0; } | 11339 ; return 0; } |
11224 EOF | 11340 EOF |
11225 if { (eval echo configure:11226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11341 if { (eval echo configure:11342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11226 rm -rf conftest* | 11342 rm -rf conftest* |
11227 eval "ac_cv_lib_$ac_lib_var=yes" | 11343 eval "ac_cv_lib_$ac_lib_var=yes" |
11228 else | 11344 else |
11229 echo "configure: failed program was:" >&5 | 11345 echo "configure: failed program was:" >&5 |
11230 cat conftest.$ac_ext >&5 | 11346 cat conftest.$ac_ext >&5 |
11238 echo "$ac_t""yes" 1>&6 | 11354 echo "$ac_t""yes" 1>&6 |
11239 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11355 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11240 else | 11356 else |
11241 echo "$ac_t""no" 1>&6 | 11357 echo "$ac_t""no" 1>&6 |
11242 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11358 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11243 echo "configure:11244: checking for tgetent in -ltermcap" >&5 | 11359 echo "configure:11360: checking for tgetent in -ltermcap" >&5 |
11244 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11360 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11245 | 11361 |
11246 xe_check_libs=" -ltermcap " | 11362 xe_check_libs=" -ltermcap " |
11247 cat > conftest.$ac_ext <<EOF | 11363 cat > conftest.$ac_ext <<EOF |
11248 #line 11249 "configure" | 11364 #line 11365 "configure" |
11249 #include "confdefs.h" | 11365 #include "confdefs.h" |
11250 /* Override any gcc2 internal prototype to avoid an error. */ | 11366 /* Override any gcc2 internal prototype to avoid an error. */ |
11251 /* We use char because int might match the return type of a gcc2 | 11367 /* We use char because int might match the return type of a gcc2 |
11252 builtin and then its argument prototype would still apply. */ | 11368 builtin and then its argument prototype would still apply. */ |
11253 char tgetent(); | 11369 char tgetent(); |
11254 | 11370 |
11255 int main() { | 11371 int main() { |
11256 tgetent() | 11372 tgetent() |
11257 ; return 0; } | 11373 ; return 0; } |
11258 EOF | 11374 EOF |
11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11375 if { (eval echo configure:11376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11260 rm -rf conftest* | 11376 rm -rf conftest* |
11261 eval "ac_cv_lib_$ac_lib_var=yes" | 11377 eval "ac_cv_lib_$ac_lib_var=yes" |
11262 else | 11378 else |
11263 echo "configure: failed program was:" >&5 | 11379 echo "configure: failed program was:" >&5 |
11264 cat conftest.$ac_ext >&5 | 11380 cat conftest.$ac_ext >&5 |
11302 } | 11418 } |
11303 | 11419 |
11304 | 11420 |
11305 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11421 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11306 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11422 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11307 echo "configure:11308: checking for gpm.h" >&5 | 11423 echo "configure:11424: checking for gpm.h" >&5 |
11308 | 11424 |
11309 cat > conftest.$ac_ext <<EOF | 11425 cat > conftest.$ac_ext <<EOF |
11310 #line 11311 "configure" | 11426 #line 11427 "configure" |
11311 #include "confdefs.h" | 11427 #include "confdefs.h" |
11312 #include <gpm.h> | 11428 #include <gpm.h> |
11313 EOF | 11429 EOF |
11314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11315 { (eval echo configure:11316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11431 { (eval echo configure:11432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11317 if test -z "$ac_err"; then | 11433 if test -z "$ac_err"; then |
11318 rm -rf conftest* | 11434 rm -rf conftest* |
11319 eval "ac_cv_header_$ac_safe=yes" | 11435 eval "ac_cv_header_$ac_safe=yes" |
11320 else | 11436 else |
11333 with_gpm=no | 11449 with_gpm=no |
11334 fi | 11450 fi |
11335 } | 11451 } |
11336 test -z "$with_gpm" && { | 11452 test -z "$with_gpm" && { |
11337 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11453 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11338 echo "configure:11339: checking for Gpm_Open in -lgpm" >&5 | 11454 echo "configure:11455: checking for Gpm_Open in -lgpm" >&5 |
11339 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11455 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11340 | 11456 |
11341 xe_check_libs=" -lgpm " | 11457 xe_check_libs=" -lgpm " |
11342 cat > conftest.$ac_ext <<EOF | 11458 cat > conftest.$ac_ext <<EOF |
11343 #line 11344 "configure" | 11459 #line 11460 "configure" |
11344 #include "confdefs.h" | 11460 #include "confdefs.h" |
11345 /* Override any gcc2 internal prototype to avoid an error. */ | 11461 /* Override any gcc2 internal prototype to avoid an error. */ |
11346 /* We use char because int might match the return type of a gcc2 | 11462 /* We use char because int might match the return type of a gcc2 |
11347 builtin and then its argument prototype would still apply. */ | 11463 builtin and then its argument prototype would still apply. */ |
11348 char Gpm_Open(); | 11464 char Gpm_Open(); |
11349 | 11465 |
11350 int main() { | 11466 int main() { |
11351 Gpm_Open() | 11467 Gpm_Open() |
11352 ; return 0; } | 11468 ; return 0; } |
11353 EOF | 11469 EOF |
11354 if { (eval echo configure:11355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11470 if { (eval echo configure:11471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11355 rm -rf conftest* | 11471 rm -rf conftest* |
11356 eval "ac_cv_lib_$ac_lib_var=yes" | 11472 eval "ac_cv_lib_$ac_lib_var=yes" |
11357 else | 11473 else |
11358 echo "configure: failed program was:" >&5 | 11474 echo "configure: failed program was:" >&5 |
11359 cat conftest.$ac_ext >&5 | 11475 cat conftest.$ac_ext >&5 |
11399 fi | 11515 fi |
11400 | 11516 |
11401 | 11517 |
11402 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 11518 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
11403 != "no no no" && echo "checking for database support" 1>&6 | 11519 != "no no no" && echo "checking for database support" 1>&6 |
11404 echo "configure:11405: checking for database support" >&5 | 11520 echo "configure:11521: checking for database support" >&5 |
11405 | 11521 |
11406 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 11522 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
11407 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11523 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11408 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11524 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11409 echo "configure:11410: checking for ndbm.h" >&5 | 11525 echo "configure:11526: checking for ndbm.h" >&5 |
11410 | 11526 |
11411 cat > conftest.$ac_ext <<EOF | 11527 cat > conftest.$ac_ext <<EOF |
11412 #line 11413 "configure" | 11528 #line 11529 "configure" |
11413 #include "confdefs.h" | 11529 #include "confdefs.h" |
11414 #include <ndbm.h> | 11530 #include <ndbm.h> |
11415 EOF | 11531 EOF |
11416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11417 { (eval echo configure:11418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11533 { (eval echo configure:11534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11419 if test -z "$ac_err"; then | 11535 if test -z "$ac_err"; then |
11420 rm -rf conftest* | 11536 rm -rf conftest* |
11421 eval "ac_cv_header_$ac_safe=yes" | 11537 eval "ac_cv_header_$ac_safe=yes" |
11422 else | 11538 else |
11442 fi | 11558 fi |
11443 | 11559 |
11444 if test "$with_database_gdbm" != "no"; then | 11560 if test "$with_database_gdbm" != "no"; then |
11445 | 11561 |
11446 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11562 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11447 echo "configure:11448: checking for dbm_open in -lgdbm" >&5 | 11563 echo "configure:11564: checking for dbm_open in -lgdbm" >&5 |
11448 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11564 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11449 | 11565 |
11450 xe_check_libs=" -lgdbm " | 11566 xe_check_libs=" -lgdbm " |
11451 cat > conftest.$ac_ext <<EOF | 11567 cat > conftest.$ac_ext <<EOF |
11452 #line 11453 "configure" | 11568 #line 11569 "configure" |
11453 #include "confdefs.h" | 11569 #include "confdefs.h" |
11454 /* Override any gcc2 internal prototype to avoid an error. */ | 11570 /* Override any gcc2 internal prototype to avoid an error. */ |
11455 /* We use char because int might match the return type of a gcc2 | 11571 /* We use char because int might match the return type of a gcc2 |
11456 builtin and then its argument prototype would still apply. */ | 11572 builtin and then its argument prototype would still apply. */ |
11457 char dbm_open(); | 11573 char dbm_open(); |
11458 | 11574 |
11459 int main() { | 11575 int main() { |
11460 dbm_open() | 11576 dbm_open() |
11461 ; return 0; } | 11577 ; return 0; } |
11462 EOF | 11578 EOF |
11463 if { (eval echo configure:11464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11579 if { (eval echo configure:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11464 rm -rf conftest* | 11580 rm -rf conftest* |
11465 eval "ac_cv_lib_$ac_lib_var=yes" | 11581 eval "ac_cv_lib_$ac_lib_var=yes" |
11466 else | 11582 else |
11467 echo "configure: failed program was:" >&5 | 11583 echo "configure: failed program was:" >&5 |
11468 cat conftest.$ac_ext >&5 | 11584 cat conftest.$ac_ext >&5 |
11486 | 11602 |
11487 fi | 11603 fi |
11488 | 11604 |
11489 if test "$with_database_dbm" != "no"; then | 11605 if test "$with_database_dbm" != "no"; then |
11490 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11606 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11491 echo "configure:11492: checking for dbm_open" >&5 | 11607 echo "configure:11608: checking for dbm_open" >&5 |
11492 | 11608 |
11493 cat > conftest.$ac_ext <<EOF | 11609 cat > conftest.$ac_ext <<EOF |
11494 #line 11495 "configure" | 11610 #line 11611 "configure" |
11495 #include "confdefs.h" | 11611 #include "confdefs.h" |
11496 /* System header to define __stub macros and hopefully few prototypes, | 11612 /* System header to define __stub macros and hopefully few prototypes, |
11497 which can conflict with char dbm_open(); below. */ | 11613 which can conflict with char dbm_open(); below. */ |
11498 #include <assert.h> | 11614 #include <assert.h> |
11499 /* Override any gcc2 internal prototype to avoid an error. */ | 11615 /* Override any gcc2 internal prototype to avoid an error. */ |
11512 dbm_open(); | 11628 dbm_open(); |
11513 #endif | 11629 #endif |
11514 | 11630 |
11515 ; return 0; } | 11631 ; return 0; } |
11516 EOF | 11632 EOF |
11517 if { (eval echo configure:11518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11633 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11518 rm -rf conftest* | 11634 rm -rf conftest* |
11519 eval "ac_cv_func_dbm_open=yes" | 11635 eval "ac_cv_func_dbm_open=yes" |
11520 else | 11636 else |
11521 echo "configure: failed program was:" >&5 | 11637 echo "configure: failed program was:" >&5 |
11522 cat conftest.$ac_ext >&5 | 11638 cat conftest.$ac_ext >&5 |
11531 else | 11647 else |
11532 echo "$ac_t""no" 1>&6 | 11648 echo "$ac_t""no" 1>&6 |
11533 | 11649 |
11534 | 11650 |
11535 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11651 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11536 echo "configure:11537: checking for dbm_open in -ldbm" >&5 | 11652 echo "configure:11653: checking for dbm_open in -ldbm" >&5 |
11537 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11653 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11538 | 11654 |
11539 xe_check_libs=" -ldbm " | 11655 xe_check_libs=" -ldbm " |
11540 cat > conftest.$ac_ext <<EOF | 11656 cat > conftest.$ac_ext <<EOF |
11541 #line 11542 "configure" | 11657 #line 11658 "configure" |
11542 #include "confdefs.h" | 11658 #include "confdefs.h" |
11543 /* Override any gcc2 internal prototype to avoid an error. */ | 11659 /* Override any gcc2 internal prototype to avoid an error. */ |
11544 /* We use char because int might match the return type of a gcc2 | 11660 /* We use char because int might match the return type of a gcc2 |
11545 builtin and then its argument prototype would still apply. */ | 11661 builtin and then its argument prototype would still apply. */ |
11546 char dbm_open(); | 11662 char dbm_open(); |
11547 | 11663 |
11548 int main() { | 11664 int main() { |
11549 dbm_open() | 11665 dbm_open() |
11550 ; return 0; } | 11666 ; return 0; } |
11551 EOF | 11667 EOF |
11552 if { (eval echo configure:11553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11553 rm -rf conftest* | 11669 rm -rf conftest* |
11554 eval "ac_cv_lib_$ac_lib_var=yes" | 11670 eval "ac_cv_lib_$ac_lib_var=yes" |
11555 else | 11671 else |
11556 echo "configure: failed program was:" >&5 | 11672 echo "configure: failed program was:" >&5 |
11557 cat conftest.$ac_ext >&5 | 11673 cat conftest.$ac_ext >&5 |
11588 } | 11704 } |
11589 | 11705 |
11590 | 11706 |
11591 if test "$with_database_berkdb" != "no"; then | 11707 if test "$with_database_berkdb" != "no"; then |
11592 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11708 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11593 echo "configure:11594: checking for Berkeley db.h" >&5 | 11709 echo "configure:11710: checking for Berkeley db.h" >&5 |
11594 for path in "db/db.h" "db.h"; do | 11710 for path in "db/db.h" "db.h"; do |
11595 cat > conftest.$ac_ext <<EOF | 11711 cat > conftest.$ac_ext <<EOF |
11596 #line 11597 "configure" | 11712 #line 11713 "configure" |
11597 #include "confdefs.h" | 11713 #include "confdefs.h" |
11598 #ifdef HAVE_INTTYPES_H | 11714 #ifdef HAVE_INTTYPES_H |
11599 #define __BIT_TYPES_DEFINED__ | 11715 #define __BIT_TYPES_DEFINED__ |
11600 #include <inttypes.h> | 11716 #include <inttypes.h> |
11601 typedef uint8_t u_int8_t; | 11717 typedef uint8_t u_int8_t; |
11609 | 11725 |
11610 int main() { | 11726 int main() { |
11611 | 11727 |
11612 ; return 0; } | 11728 ; return 0; } |
11613 EOF | 11729 EOF |
11614 if { (eval echo configure:11615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11730 if { (eval echo configure:11731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11615 rm -rf conftest* | 11731 rm -rf conftest* |
11616 db_h_path="$path"; break | 11732 db_h_path="$path"; break |
11617 else | 11733 else |
11618 echo "configure: failed program was:" >&5 | 11734 echo "configure: failed program was:" >&5 |
11619 cat conftest.$ac_ext >&5 | 11735 cat conftest.$ac_ext >&5 |
11625 else echo "$ac_t""$db_h_path" 1>&6 | 11741 else echo "$ac_t""$db_h_path" 1>&6 |
11626 fi | 11742 fi |
11627 | 11743 |
11628 if test "$with_database_berkdb" != "no"; then | 11744 if test "$with_database_berkdb" != "no"; then |
11629 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11745 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11630 echo "configure:11631: checking for Berkeley DB version" >&5 | 11746 echo "configure:11747: checking for Berkeley DB version" >&5 |
11631 cat > conftest.$ac_ext <<EOF | 11747 cat > conftest.$ac_ext <<EOF |
11632 #line 11633 "configure" | 11748 #line 11749 "configure" |
11633 #include "confdefs.h" | 11749 #include "confdefs.h" |
11634 #include <$db_h_path> | 11750 #include <$db_h_path> |
11635 #if DB_VERSION_MAJOR > 1 | 11751 #if DB_VERSION_MAJOR > 1 |
11636 yes | 11752 yes |
11637 #endif | 11753 #endif |
11646 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11762 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11647 fi | 11763 fi |
11648 rm -f conftest* | 11764 rm -f conftest* |
11649 | 11765 |
11650 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11766 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11651 echo "configure:11652: checking for $dbfunc" >&5 | 11767 echo "configure:11768: checking for $dbfunc" >&5 |
11652 | 11768 |
11653 cat > conftest.$ac_ext <<EOF | 11769 cat > conftest.$ac_ext <<EOF |
11654 #line 11655 "configure" | 11770 #line 11771 "configure" |
11655 #include "confdefs.h" | 11771 #include "confdefs.h" |
11656 /* System header to define __stub macros and hopefully few prototypes, | 11772 /* System header to define __stub macros and hopefully few prototypes, |
11657 which can conflict with char $dbfunc(); below. */ | 11773 which can conflict with char $dbfunc(); below. */ |
11658 #include <assert.h> | 11774 #include <assert.h> |
11659 /* Override any gcc2 internal prototype to avoid an error. */ | 11775 /* Override any gcc2 internal prototype to avoid an error. */ |
11672 $dbfunc(); | 11788 $dbfunc(); |
11673 #endif | 11789 #endif |
11674 | 11790 |
11675 ; return 0; } | 11791 ; return 0; } |
11676 EOF | 11792 EOF |
11677 if { (eval echo configure:11678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11793 if { (eval echo configure:11794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11678 rm -rf conftest* | 11794 rm -rf conftest* |
11679 eval "ac_cv_func_$dbfunc=yes" | 11795 eval "ac_cv_func_$dbfunc=yes" |
11680 else | 11796 else |
11681 echo "configure: failed program was:" >&5 | 11797 echo "configure: failed program was:" >&5 |
11682 cat conftest.$ac_ext >&5 | 11798 cat conftest.$ac_ext >&5 |
11691 else | 11807 else |
11692 echo "$ac_t""no" 1>&6 | 11808 echo "$ac_t""no" 1>&6 |
11693 | 11809 |
11694 | 11810 |
11695 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11811 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11696 echo "configure:11697: checking for $dbfunc in -ldb" >&5 | 11812 echo "configure:11813: checking for $dbfunc in -ldb" >&5 |
11697 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11813 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11698 | 11814 |
11699 xe_check_libs=" -ldb " | 11815 xe_check_libs=" -ldb " |
11700 cat > conftest.$ac_ext <<EOF | 11816 cat > conftest.$ac_ext <<EOF |
11701 #line 11702 "configure" | 11817 #line 11818 "configure" |
11702 #include "confdefs.h" | 11818 #include "confdefs.h" |
11703 /* Override any gcc2 internal prototype to avoid an error. */ | 11819 /* Override any gcc2 internal prototype to avoid an error. */ |
11704 /* We use char because int might match the return type of a gcc2 | 11820 /* We use char because int might match the return type of a gcc2 |
11705 builtin and then its argument prototype would still apply. */ | 11821 builtin and then its argument prototype would still apply. */ |
11706 char $dbfunc(); | 11822 char $dbfunc(); |
11707 | 11823 |
11708 int main() { | 11824 int main() { |
11709 $dbfunc() | 11825 $dbfunc() |
11710 ; return 0; } | 11826 ; return 0; } |
11711 EOF | 11827 EOF |
11712 if { (eval echo configure:11713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11828 if { (eval echo configure:11829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11713 rm -rf conftest* | 11829 rm -rf conftest* |
11714 eval "ac_cv_lib_$ac_lib_var=yes" | 11830 eval "ac_cv_lib_$ac_lib_var=yes" |
11715 else | 11831 else |
11716 echo "configure: failed program was:" >&5 | 11832 echo "configure: failed program was:" >&5 |
11717 cat conftest.$ac_ext >&5 | 11833 cat conftest.$ac_ext >&5 |
11771 fi | 11887 fi |
11772 | 11888 |
11773 if test "$with_socks" = "yes"; then | 11889 if test "$with_socks" = "yes"; then |
11774 | 11890 |
11775 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11891 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11776 echo "configure:11777: checking for SOCKSinit in -lsocks" >&5 | 11892 echo "configure:11893: checking for SOCKSinit in -lsocks" >&5 |
11777 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11893 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11778 | 11894 |
11779 xe_check_libs=" -lsocks " | 11895 xe_check_libs=" -lsocks " |
11780 cat > conftest.$ac_ext <<EOF | 11896 cat > conftest.$ac_ext <<EOF |
11781 #line 11782 "configure" | 11897 #line 11898 "configure" |
11782 #include "confdefs.h" | 11898 #include "confdefs.h" |
11783 /* Override any gcc2 internal prototype to avoid an error. */ | 11899 /* Override any gcc2 internal prototype to avoid an error. */ |
11784 /* We use char because int might match the return type of a gcc2 | 11900 /* We use char because int might match the return type of a gcc2 |
11785 builtin and then its argument prototype would still apply. */ | 11901 builtin and then its argument prototype would still apply. */ |
11786 char SOCKSinit(); | 11902 char SOCKSinit(); |
11787 | 11903 |
11788 int main() { | 11904 int main() { |
11789 SOCKSinit() | 11905 SOCKSinit() |
11790 ; return 0; } | 11906 ; return 0; } |
11791 EOF | 11907 EOF |
11792 if { (eval echo configure:11793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11908 if { (eval echo configure:11909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11793 rm -rf conftest* | 11909 rm -rf conftest* |
11794 eval "ac_cv_lib_$ac_lib_var=yes" | 11910 eval "ac_cv_lib_$ac_lib_var=yes" |
11795 else | 11911 else |
11796 echo "configure: failed program was:" >&5 | 11912 echo "configure: failed program was:" >&5 |
11797 cat conftest.$ac_ext >&5 | 11913 cat conftest.$ac_ext >&5 |
11842 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 11958 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
11843 fi | 11959 fi |
11844 | 11960 |
11845 if test "$with_modules" != "no"; then | 11961 if test "$with_modules" != "no"; then |
11846 echo "checking for module support" 1>&6 | 11962 echo "checking for module support" 1>&6 |
11847 echo "configure:11848: checking for module support" >&5 | 11963 echo "configure:11964: checking for module support" >&5 |
11848 | 11964 |
11849 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 11965 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
11850 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 11966 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
11851 echo "configure:11852: checking for dlfcn.h" >&5 | 11967 echo "configure:11968: checking for dlfcn.h" >&5 |
11852 | 11968 |
11853 cat > conftest.$ac_ext <<EOF | 11969 cat > conftest.$ac_ext <<EOF |
11854 #line 11855 "configure" | 11970 #line 11971 "configure" |
11855 #include "confdefs.h" | 11971 #include "confdefs.h" |
11856 #include <dlfcn.h> | 11972 #include <dlfcn.h> |
11857 EOF | 11973 EOF |
11858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11859 { (eval echo configure:11860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11975 { (eval echo configure:11976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11861 if test -z "$ac_err"; then | 11977 if test -z "$ac_err"; then |
11862 rm -rf conftest* | 11978 rm -rf conftest* |
11863 eval "ac_cv_header_$ac_safe=yes" | 11979 eval "ac_cv_header_$ac_safe=yes" |
11864 else | 11980 else |
11872 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11988 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11873 echo "$ac_t""yes" 1>&6 | 11989 echo "$ac_t""yes" 1>&6 |
11874 | 11990 |
11875 | 11991 |
11876 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11992 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11877 echo "configure:11878: checking for dlopen in -ldl" >&5 | 11993 echo "configure:11994: checking for dlopen in -ldl" >&5 |
11878 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11994 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11879 | 11995 |
11880 xe_check_libs=" -ldl " | 11996 xe_check_libs=" -ldl " |
11881 cat > conftest.$ac_ext <<EOF | 11997 cat > conftest.$ac_ext <<EOF |
11882 #line 11883 "configure" | 11998 #line 11999 "configure" |
11883 #include "confdefs.h" | 11999 #include "confdefs.h" |
11884 /* Override any gcc2 internal prototype to avoid an error. */ | 12000 /* Override any gcc2 internal prototype to avoid an error. */ |
11885 /* We use char because int might match the return type of a gcc2 | 12001 /* We use char because int might match the return type of a gcc2 |
11886 builtin and then its argument prototype would still apply. */ | 12002 builtin and then its argument prototype would still apply. */ |
11887 char dlopen(); | 12003 char dlopen(); |
11888 | 12004 |
11889 int main() { | 12005 int main() { |
11890 dlopen() | 12006 dlopen() |
11891 ; return 0; } | 12007 ; return 0; } |
11892 EOF | 12008 EOF |
11893 if { (eval echo configure:11894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12009 if { (eval echo configure:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11894 rm -rf conftest* | 12010 rm -rf conftest* |
11895 eval "ac_cv_lib_$ac_lib_var=yes" | 12011 eval "ac_cv_lib_$ac_lib_var=yes" |
11896 else | 12012 else |
11897 echo "configure: failed program was:" >&5 | 12013 echo "configure: failed program was:" >&5 |
11898 cat conftest.$ac_ext >&5 | 12014 cat conftest.$ac_ext >&5 |
11907 have_dl=yes libdl=dl | 12023 have_dl=yes libdl=dl |
11908 else | 12024 else |
11909 echo "$ac_t""no" 1>&6 | 12025 echo "$ac_t""no" 1>&6 |
11910 | 12026 |
11911 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 12027 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11912 echo "configure:11913: checking for dlopen in -lc" >&5 | 12028 echo "configure:12029: checking for dlopen in -lc" >&5 |
11913 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 12029 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11914 | 12030 |
11915 xe_check_libs=" -lc " | 12031 xe_check_libs=" -lc " |
11916 cat > conftest.$ac_ext <<EOF | 12032 cat > conftest.$ac_ext <<EOF |
11917 #line 11918 "configure" | 12033 #line 12034 "configure" |
11918 #include "confdefs.h" | 12034 #include "confdefs.h" |
11919 /* Override any gcc2 internal prototype to avoid an error. */ | 12035 /* Override any gcc2 internal prototype to avoid an error. */ |
11920 /* We use char because int might match the return type of a gcc2 | 12036 /* We use char because int might match the return type of a gcc2 |
11921 builtin and then its argument prototype would still apply. */ | 12037 builtin and then its argument prototype would still apply. */ |
11922 char dlopen(); | 12038 char dlopen(); |
11923 | 12039 |
11924 int main() { | 12040 int main() { |
11925 dlopen() | 12041 dlopen() |
11926 ; return 0; } | 12042 ; return 0; } |
11927 EOF | 12043 EOF |
11928 if { (eval echo configure:11929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12044 if { (eval echo configure:12045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11929 rm -rf conftest* | 12045 rm -rf conftest* |
11930 eval "ac_cv_lib_$ac_lib_var=yes" | 12046 eval "ac_cv_lib_$ac_lib_var=yes" |
11931 else | 12047 else |
11932 echo "configure: failed program was:" >&5 | 12048 echo "configure: failed program was:" >&5 |
11933 cat conftest.$ac_ext >&5 | 12049 cat conftest.$ac_ext >&5 |
11962 } | 12078 } |
11963 | 12079 |
11964 else | 12080 else |
11965 | 12081 |
11966 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 12082 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11967 echo "configure:11968: checking for shl_load in -ldld" >&5 | 12083 echo "configure:12084: checking for shl_load in -ldld" >&5 |
11968 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 12084 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11969 | 12085 |
11970 xe_check_libs=" -ldld " | 12086 xe_check_libs=" -ldld " |
11971 cat > conftest.$ac_ext <<EOF | 12087 cat > conftest.$ac_ext <<EOF |
11972 #line 11973 "configure" | 12088 #line 12089 "configure" |
11973 #include "confdefs.h" | 12089 #include "confdefs.h" |
11974 /* Override any gcc2 internal prototype to avoid an error. */ | 12090 /* Override any gcc2 internal prototype to avoid an error. */ |
11975 /* We use char because int might match the return type of a gcc2 | 12091 /* We use char because int might match the return type of a gcc2 |
11976 builtin and then its argument prototype would still apply. */ | 12092 builtin and then its argument prototype would still apply. */ |
11977 char shl_load(); | 12093 char shl_load(); |
11978 | 12094 |
11979 int main() { | 12095 int main() { |
11980 shl_load() | 12096 shl_load() |
11981 ; return 0; } | 12097 ; return 0; } |
11982 EOF | 12098 EOF |
11983 if { (eval echo configure:11984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12099 if { (eval echo configure:12100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11984 rm -rf conftest* | 12100 rm -rf conftest* |
11985 eval "ac_cv_lib_$ac_lib_var=yes" | 12101 eval "ac_cv_lib_$ac_lib_var=yes" |
11986 else | 12102 else |
11987 echo "configure: failed program was:" >&5 | 12103 echo "configure: failed program was:" >&5 |
11988 cat conftest.$ac_ext >&5 | 12104 cat conftest.$ac_ext >&5 |
12005 | 12121 |
12006 else | 12122 else |
12007 echo "$ac_t""no" 1>&6 | 12123 echo "$ac_t""no" 1>&6 |
12008 | 12124 |
12009 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 12125 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
12010 echo "configure:12011: checking for dld_init in -ldld" >&5 | 12126 echo "configure:12127: checking for dld_init in -ldld" >&5 |
12011 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 12127 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
12012 | 12128 |
12013 xe_check_libs=" -ldld " | 12129 xe_check_libs=" -ldld " |
12014 cat > conftest.$ac_ext <<EOF | 12130 cat > conftest.$ac_ext <<EOF |
12015 #line 12016 "configure" | 12131 #line 12132 "configure" |
12016 #include "confdefs.h" | 12132 #include "confdefs.h" |
12017 /* Override any gcc2 internal prototype to avoid an error. */ | 12133 /* Override any gcc2 internal prototype to avoid an error. */ |
12018 /* We use char because int might match the return type of a gcc2 | 12134 /* We use char because int might match the return type of a gcc2 |
12019 builtin and then its argument prototype would still apply. */ | 12135 builtin and then its argument prototype would still apply. */ |
12020 char dld_init(); | 12136 char dld_init(); |
12021 | 12137 |
12022 int main() { | 12138 int main() { |
12023 dld_init() | 12139 dld_init() |
12024 ; return 0; } | 12140 ; return 0; } |
12025 EOF | 12141 EOF |
12026 if { (eval echo configure:12027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12142 if { (eval echo configure:12143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12027 rm -rf conftest* | 12143 rm -rf conftest* |
12028 eval "ac_cv_lib_$ac_lib_var=yes" | 12144 eval "ac_cv_lib_$ac_lib_var=yes" |
12029 else | 12145 else |
12030 echo "configure: failed program was:" >&5 | 12146 echo "configure: failed program was:" >&5 |
12031 cat conftest.$ac_ext >&5 | 12147 cat conftest.$ac_ext >&5 |
12066 ld_dynamic_link_flags= | 12182 ld_dynamic_link_flags= |
12067 xehost=$canonical | 12183 xehost=$canonical |
12068 xealias=$internal_configuration | 12184 xealias=$internal_configuration |
12069 | 12185 |
12070 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 12186 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
12071 echo "configure:12072: checking how to build dynamic libraries for ${xehost}" >&5 | 12187 echo "configure:12188: checking how to build dynamic libraries for ${xehost}" >&5 |
12072 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 12188 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
12073 case "$xehost" in | 12189 case "$xehost" in |
12074 *-*-linux-gnu*) ;; | 12190 *-*-linux-gnu*) ;; |
12075 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 12191 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
12076 esac | 12192 esac |
12094 # Now see if the compiler is really GCC. | 12210 # Now see if the compiler is really GCC. |
12095 if test "$GCC" = "yes"; then | 12211 if test "$GCC" = "yes"; then |
12096 XEGCC=yes | 12212 XEGCC=yes |
12097 else | 12213 else |
12098 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 12214 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
12099 echo "configure:12100: checking checking whether we are using GNU C" >&5 | 12215 echo "configure:12216: checking checking whether we are using GNU C" >&5 |
12100 cat > conftest.$ac_ext <<EOF | 12216 cat > conftest.$ac_ext <<EOF |
12101 #line 12102 "configure" | 12217 #line 12218 "configure" |
12102 #include "confdefs.h" | 12218 #include "confdefs.h" |
12103 | 12219 |
12104 #ifdef __GNUC__ | 12220 #ifdef __GNUC__ |
12105 yes; | 12221 yes; |
12106 #endif | 12222 #endif |
12118 | 12234 |
12119 echo "$ac_t""${XEGCC}" 1>&6 | 12235 echo "$ac_t""${XEGCC}" 1>&6 |
12120 fi | 12236 fi |
12121 | 12237 |
12122 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 12238 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
12123 echo "configure:12124: checking how to produce PIC code" >&5 | 12239 echo "configure:12240: checking how to produce PIC code" >&5 |
12124 wl= | 12240 wl= |
12125 | 12241 |
12126 can_build_shared=yes | 12242 can_build_shared=yes |
12127 if test "$XEGCC" = yes; then | 12243 if test "$XEGCC" = yes; then |
12128 wl='-Wl,' | 12244 wl='-Wl,' |
12211 if test -n "$dll_cflags"; then | 12327 if test -n "$dll_cflags"; then |
12212 echo "$ac_t""${dll_cflags}" 1>&6 | 12328 echo "$ac_t""${dll_cflags}" 1>&6 |
12213 | 12329 |
12214 # Check to make sure the dll_cflags actually works. | 12330 # Check to make sure the dll_cflags actually works. |
12215 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 12331 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
12216 echo "configure:12217: checking if PIC flag ${dll_cflags} really works" >&5 | 12332 echo "configure:12333: checking if PIC flag ${dll_cflags} really works" >&5 |
12217 save_CFLAGS="$CFLAGS" | 12333 save_CFLAGS="$CFLAGS" |
12218 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 12334 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
12219 cat > conftest.$ac_ext <<EOF | 12335 cat > conftest.$ac_ext <<EOF |
12220 #line 12221 "configure" | 12336 #line 12337 "configure" |
12221 #include "confdefs.h" | 12337 #include "confdefs.h" |
12222 | 12338 |
12223 int main() { | 12339 int main() { |
12224 int x=0; | 12340 int x=0; |
12225 ; return 0; } | 12341 ; return 0; } |
12226 EOF | 12342 EOF |
12227 if { (eval echo configure:12228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12343 if { (eval echo configure:12344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12228 rm -rf conftest* | 12344 rm -rf conftest* |
12229 | 12345 |
12230 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 12346 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
12231 # reports no error. So, we need to grep stderr for (Bundled). | 12347 # reports no error. So, we need to grep stderr for (Bundled). |
12232 if grep '(Bundled)' config.log >/dev/null; then | 12348 if grep '(Bundled)' config.log >/dev/null; then |
12253 if test "$can_build_shared" = "yes"; then | 12369 if test "$can_build_shared" = "yes"; then |
12254 cc_produces_so=no | 12370 cc_produces_so=no |
12255 xldf= | 12371 xldf= |
12256 xcldf= | 12372 xcldf= |
12257 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 12373 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
12258 echo "configure:12259: checking if C compiler can produce shared libraries" >&5 | 12374 echo "configure:12375: checking if C compiler can produce shared libraries" >&5 |
12259 if test "$XEGCC" = yes; then | 12375 if test "$XEGCC" = yes; then |
12260 xcldf="-shared" | 12376 xcldf="-shared" |
12261 xldf="-shared" | 12377 xldf="-shared" |
12262 else # Not using GCC | 12378 else # Not using GCC |
12263 case "$xehost_os" in | 12379 case "$xehost_os" in |
12304 LDFLAGS="$xcldf $LDFLAGS" | 12420 LDFLAGS="$xcldf $LDFLAGS" |
12305 LIBS= | 12421 LIBS= |
12306 xe_libs= | 12422 xe_libs= |
12307 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 12423 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
12308 cat > conftest.$ac_ext <<EOF | 12424 cat > conftest.$ac_ext <<EOF |
12309 #line 12310 "configure" | 12425 #line 12426 "configure" |
12310 #include "confdefs.h" | 12426 #include "confdefs.h" |
12311 | 12427 |
12312 int main() { | 12428 int main() { |
12313 int x=0; | 12429 int x=0; |
12314 ; return 0; } | 12430 ; return 0; } |
12315 EOF | 12431 EOF |
12316 if { (eval echo configure:12317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12432 if { (eval echo configure:12433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12317 rm -rf conftest* | 12433 rm -rf conftest* |
12318 cc_produces_so=yes | 12434 cc_produces_so=yes |
12319 else | 12435 else |
12320 echo "configure: failed program was:" >&5 | 12436 echo "configure: failed program was:" >&5 |
12321 cat conftest.$ac_ext >&5 | 12437 cat conftest.$ac_ext >&5 |
12336 if test -z "$LTLD"; then | 12452 if test -z "$LTLD"; then |
12337 ac_prog=ld | 12453 ac_prog=ld |
12338 if test "$XEGCC" = yes; then | 12454 if test "$XEGCC" = yes; then |
12339 # Check if gcc -print-prog-name=ld gives a path. | 12455 # Check if gcc -print-prog-name=ld gives a path. |
12340 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 12456 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
12341 echo "configure:12342: checking for ld used by GCC" >&5 | 12457 echo "configure:12458: checking for ld used by GCC" >&5 |
12342 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 12458 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
12343 case "$ac_prog" in | 12459 case "$ac_prog" in |
12344 # Accept absolute paths. | 12460 # Accept absolute paths. |
12345 /*) | 12461 /*) |
12346 if test -z "$LTLD"; then | 12462 if test -z "$LTLD"; then |
12361 with_gnu_ld=unknown | 12477 with_gnu_ld=unknown |
12362 ;; | 12478 ;; |
12363 esac | 12479 esac |
12364 else | 12480 else |
12365 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 12481 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
12366 echo "configure:12367: checking for GNU ld" >&5 | 12482 echo "configure:12483: checking for GNU ld" >&5 |
12367 fi | 12483 fi |
12368 | 12484 |
12369 if test -z "$LTLD"; then | 12485 if test -z "$LTLD"; then |
12370 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 12486 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
12371 for ac_dir in $PATH; do | 12487 for ac_dir in $PATH; do |
12399 | 12515 |
12400 ld_dynamic_link_flags= | 12516 ld_dynamic_link_flags= |
12401 | 12517 |
12402 # Check to see if it really is or isn't GNU ld. | 12518 # Check to see if it really is or isn't GNU ld. |
12403 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 12519 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
12404 echo "configure:12405: checking if the linker is GNU ld" >&5 | 12520 echo "configure:12521: checking if the linker is GNU ld" >&5 |
12405 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 12521 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
12406 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 12522 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
12407 xe_gnu_ld=yes | 12523 xe_gnu_ld=yes |
12408 else | 12524 else |
12409 xe_gnu_ld=no | 12525 xe_gnu_ld=no |
12426 can_build_shared=yes | 12542 can_build_shared=yes |
12427 else | 12543 else |
12428 # OK - only NOW do we futz about with ld. | 12544 # OK - only NOW do we futz about with ld. |
12429 # See if the linker supports building shared libraries. | 12545 # See if the linker supports building shared libraries. |
12430 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 12546 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
12431 echo "configure:12432: checking whether the linker supports shared libraries" >&5 | 12547 echo "configure:12548: checking whether the linker supports shared libraries" >&5 |
12432 dll_ld=$CC | 12548 dll_ld=$CC |
12433 dll_ldflags=$LDFLAGS | 12549 dll_ldflags=$LDFLAGS |
12434 ld_shlibs=yes | 12550 ld_shlibs=yes |
12435 can_build_shared=yes | 12551 can_build_shared=yes |
12436 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 12552 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
12641 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 12757 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
12642 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 12758 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
12643 for ac_func in dlerror _dlerror | 12759 for ac_func in dlerror _dlerror |
12644 do | 12760 do |
12645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12761 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12646 echo "configure:12647: checking for $ac_func" >&5 | 12762 echo "configure:12763: checking for $ac_func" >&5 |
12647 | 12763 |
12648 cat > conftest.$ac_ext <<EOF | 12764 cat > conftest.$ac_ext <<EOF |
12649 #line 12650 "configure" | 12765 #line 12766 "configure" |
12650 #include "confdefs.h" | 12766 #include "confdefs.h" |
12651 /* System header to define __stub macros and hopefully few prototypes, | 12767 /* System header to define __stub macros and hopefully few prototypes, |
12652 which can conflict with char $ac_func(); below. */ | 12768 which can conflict with char $ac_func(); below. */ |
12653 #include <assert.h> | 12769 #include <assert.h> |
12654 /* Override any gcc2 internal prototype to avoid an error. */ | 12770 /* Override any gcc2 internal prototype to avoid an error. */ |
12667 $ac_func(); | 12783 $ac_func(); |
12668 #endif | 12784 #endif |
12669 | 12785 |
12670 ; return 0; } | 12786 ; return 0; } |
12671 EOF | 12787 EOF |
12672 if { (eval echo configure:12673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12788 if { (eval echo configure:12789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12673 rm -rf conftest* | 12789 rm -rf conftest* |
12674 eval "ac_cv_func_$ac_func=yes" | 12790 eval "ac_cv_func_$ac_func=yes" |
12675 else | 12791 else |
12676 echo "configure: failed program was:" >&5 | 12792 echo "configure: failed program was:" >&5 |
12677 cat conftest.$ac_ext >&5 | 12793 cat conftest.$ac_ext >&5 |
12706 with_modules=no | 12822 with_modules=no |
12707 fi | 12823 fi |
12708 fi | 12824 fi |
12709 | 12825 |
12710 cat > conftest.$ac_ext <<EOF | 12826 cat > conftest.$ac_ext <<EOF |
12711 #line 12712 "configure" | 12827 #line 12828 "configure" |
12712 #include "confdefs.h" | 12828 #include "confdefs.h" |
12713 int main(int c,char *v[]){return 0;} | 12829 int main(int c,char *v[]){return 0;} |
12714 EOF | 12830 EOF |
12715 if { (eval echo configure:12716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12831 if { (eval echo configure:12832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12716 then | 12832 then |
12717 : | 12833 : |
12718 else | 12834 else |
12719 conftest_rc="$?" | 12835 conftest_rc="$?" |
12720 echo "configure: failed program was:" >&5 | 12836 echo "configure: failed program was:" >&5 |
13376 fi | 13492 fi |
13377 test "$with_gif" = yes && echo " Compiling in support for (builtin) GIF image handling." | 13493 test "$with_gif" = yes && echo " Compiling in support for (builtin) GIF image handling." |
13378 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image handling." | 13494 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image handling." |
13379 test "$with_tiff" = yes && echo " Compiling in support for TIFF image handling." | 13495 test "$with_tiff" = yes && echo " Compiling in support for TIFF image handling." |
13380 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | 13496 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." |
13497 | |
13381 test "$with_native_sound" = yes && echo " Compiling in native sound support." | 13498 test "$with_native_sound" = yes && echo " Compiling in native sound support." |
13382 test "$with_nas_sound" = yes && echo " Compiling in network sound (NAS) support." | 13499 test "$with_nas_sound" = yes && echo " Compiling in network sound (NAS) support." |
13383 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously." | 13500 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously." |
13384 test "$with_esd" = yes && echo " Compiling in support for Enlightened Sound Daemon." | 13501 test "$with_esd_sound" = yes && echo " Compiling in support for Enlightened Sound Daemon (ESD)." |
13385 | 13502 |
13386 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 13503 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
13387 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 13504 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
13388 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." | 13505 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." |
13389 | 13506 |