Mercurial > hg > xemacs-beta
comparison configure @ 444:576fb035e263 r21-2-37
Import from CVS: tag r21-2-37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:36:19 +0200 |
parents | abe6d1db359e |
children | 1ccc32a20af4 |
comparison
equal
deleted
inserted
replaced
443:a8296e22da4e | 444:576fb035e263 |
---|---|
1138 | 1138 |
1139 *-dec-osf1.3 | *-dec-osf2* ) opsys=decosf1-3 ;; | 1139 *-dec-osf1.3 | *-dec-osf2* ) opsys=decosf1-3 ;; |
1140 *-dec-osf1.2 | *-dec-osf1* ) opsys=decosf1-2 ;; | 1140 *-dec-osf1.2 | *-dec-osf1* ) opsys=decosf1-2 ;; |
1141 *-dec-osf3.[2-9] ) opsys=decosf3-2 ;; | 1141 *-dec-osf3.[2-9] ) opsys=decosf3-2 ;; |
1142 *-dec-osf3* ) opsys=decosf3-1 ;; | 1142 *-dec-osf3* ) opsys=decosf3-1 ;; |
1143 *-dec-osf4* ) opsys=decosf4-0 ;; | 1143 *-dec-osf[4-9]* ) opsys=decosf4-0 ;; |
1144 | 1144 |
1145 *-*-ultrix[0-3].* | *-*-ultrix4.0* ) opsys=bsd4-2 ;; | 1145 *-*-ultrix[0-3].* | *-*-ultrix4.0* ) opsys=bsd4-2 ;; |
1146 *-*-ultrix4.[12]* ) opsys=bsd4-3 ;; | 1146 *-*-ultrix4.[12]* ) opsys=bsd4-3 ;; |
1147 *-*-ultrix* ) opsys=ultrix4-3 ;; | 1147 *-*-ultrix* ) opsys=ultrix4-3 ;; |
1148 | 1148 |
6291 echo "$ac_t""no" 1>&6 | 6291 echo "$ac_t""no" 1>&6 |
6292 fi | 6292 fi |
6293 done | 6293 done |
6294 | 6294 |
6295 | 6295 |
6296 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 6296 for ac_func in XRegisterIMInstantiateCallback |
6297 echo "configure:6298: checking for XFree86" >&5 | 6297 do |
6298 if test -d "/usr/X386/include" -o \ | 6298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6299 -f "/etc/XF86Config" -o \ | 6299 echo "configure:6300: checking for $ac_func" >&5 |
6300 -f "/etc/X11/XF86Config" -o \ | 6300 |
6301 -f "/usr/X11R6/lib/X11/XF86Config"; then | 6301 cat > conftest.$ac_ext <<EOF |
6302 echo "$ac_t""yes" 1>&6 | 6302 #line 6303 "configure" |
6303 { test "$extra_verbose" = "yes" && cat << \EOF | 6303 #include "confdefs.h" |
6304 Defining HAVE_XFREE386 | 6304 /* System header to define __stub macros and hopefully few prototypes, |
6305 EOF | 6305 which can conflict with char $ac_func(); below. */ |
6306 cat >> confdefs.h <<\EOF | 6306 #include <assert.h> |
6307 #define HAVE_XFREE386 1 | 6307 /* Override any gcc2 internal prototype to avoid an error. */ |
6308 EOF | 6308 /* We use char because int might match the return type of a gcc2 |
6309 } | 6309 builtin and then its argument prototype would still apply. */ |
6310 | 6310 char $ac_func(); |
6311 else | 6311 |
6312 echo "$ac_t""no" 1>&6 | 6312 int main() { |
6313 fi | 6313 |
6314 /* The GNU C library defines this for functions which it implements | |
6315 to always fail with ENOSYS. Some functions are actually named | |
6316 something starting with __ and the normal name is an alias. */ | |
6317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
6318 choke me | |
6319 #else | |
6320 $ac_func(); | |
6321 #endif | |
6322 | |
6323 ; return 0; } | |
6324 EOF | |
6325 if { (eval echo configure:6326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
6326 rm -rf conftest* | |
6327 eval "ac_cv_func_$ac_func=yes" | |
6328 else | |
6329 echo "configure: failed program was:" >&5 | |
6330 cat conftest.$ac_ext >&5 | |
6331 rm -rf conftest* | |
6332 eval "ac_cv_func_$ac_func=no" | |
6333 fi | |
6334 rm -f conftest* | |
6335 | |
6336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
6337 echo "$ac_t""yes" 1>&6 | |
6338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
6339 { test "$extra_verbose" = "yes" && cat << EOF | |
6340 Defining $ac_tr_func | |
6341 EOF | |
6342 cat >> confdefs.h <<EOF | |
6343 #define $ac_tr_func 1 | |
6344 EOF | |
6345 } | |
6346 | |
6347 else | |
6348 echo "$ac_t""no" 1>&6 | |
6349 fi | |
6350 done | |
6351 | |
6352 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | |
6353 echo "configure:6354: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | |
6354 cat > conftest.$ac_ext <<EOF | |
6355 #line 6356 "configure" | |
6356 #include "confdefs.h" | |
6357 | |
6358 #define NeedFunctionPrototypes 1 | |
6359 #include <X11/Xlib.h> | |
6360 extern Bool XRegisterIMInstantiateCallback( | |
6361 Display*, struct _XrmHashBucketRec*, char*, char*, XIMProc, XPointer*); | |
6362 | |
6363 int main() { | |
6364 | |
6365 ; return 0; } | |
6366 EOF | |
6367 if { (eval echo configure:6368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
6368 rm -rf conftest* | |
6369 echo "$ac_t""yes" 1>&6 | |
6370 else | |
6371 echo "configure: failed program was:" >&5 | |
6372 cat conftest.$ac_ext >&5 | |
6373 rm -rf conftest* | |
6374 echo "$ac_t""no" 1>&6 | |
6375 { test "$extra_verbose" = "yes" && cat << \EOF | |
6376 Defining XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE | |
6377 EOF | |
6378 cat >> confdefs.h <<\EOF | |
6379 #define XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE 1 | |
6380 EOF | |
6381 } | |
6382 | |
6383 fi | |
6384 rm -f conftest* | |
6314 | 6385 |
6315 test -z "$with_xmu" && { | 6386 test -z "$with_xmu" && { |
6316 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6387 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6317 echo "configure:6318: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6388 echo "configure:6389: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6318 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6389 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6319 | 6390 |
6320 xe_check_libs=" -lXmu " | 6391 xe_check_libs=" -lXmu " |
6321 cat > conftest.$ac_ext <<EOF | 6392 cat > conftest.$ac_ext <<EOF |
6322 #line 6323 "configure" | 6393 #line 6394 "configure" |
6323 #include "confdefs.h" | 6394 #include "confdefs.h" |
6324 /* Override any gcc2 internal prototype to avoid an error. */ | 6395 /* Override any gcc2 internal prototype to avoid an error. */ |
6325 /* We use char because int might match the return type of a gcc2 | 6396 /* We use char because int might match the return type of a gcc2 |
6326 builtin and then its argument prototype would still apply. */ | 6397 builtin and then its argument prototype would still apply. */ |
6327 char XmuReadBitmapDataFromFile(); | 6398 char XmuReadBitmapDataFromFile(); |
6328 | 6399 |
6329 int main() { | 6400 int main() { |
6330 XmuReadBitmapDataFromFile() | 6401 XmuReadBitmapDataFromFile() |
6331 ; return 0; } | 6402 ; return 0; } |
6332 EOF | 6403 EOF |
6333 if { (eval echo configure:6334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6404 if { (eval echo configure:6405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6334 rm -rf conftest* | 6405 rm -rf conftest* |
6335 eval "ac_cv_lib_$ac_lib_var=yes" | 6406 eval "ac_cv_lib_$ac_lib_var=yes" |
6336 else | 6407 else |
6337 echo "configure: failed program was:" >&5 | 6408 echo "configure: failed program was:" >&5 |
6338 cat conftest.$ac_ext >&5 | 6409 cat conftest.$ac_ext >&5 |
6367 | 6438 |
6368 fi | 6439 fi |
6369 | 6440 |
6370 | 6441 |
6371 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6442 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6372 echo "configure:6373: checking for main in -lXbsd" >&5 | 6443 echo "configure:6444: checking for main in -lXbsd" >&5 |
6373 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6444 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6374 | 6445 |
6375 xe_check_libs=" -lXbsd " | 6446 xe_check_libs=" -lXbsd " |
6376 cat > conftest.$ac_ext <<EOF | 6447 cat > conftest.$ac_ext <<EOF |
6377 #line 6378 "configure" | 6448 #line 6449 "configure" |
6378 #include "confdefs.h" | 6449 #include "confdefs.h" |
6379 | 6450 |
6380 int main() { | 6451 int main() { |
6381 main() | 6452 main() |
6382 ; return 0; } | 6453 ; return 0; } |
6383 EOF | 6454 EOF |
6384 if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6455 if { (eval echo configure:6456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6385 rm -rf conftest* | 6456 rm -rf conftest* |
6386 eval "ac_cv_lib_$ac_lib_var=yes" | 6457 eval "ac_cv_lib_$ac_lib_var=yes" |
6387 else | 6458 else |
6388 echo "configure: failed program was:" >&5 | 6459 echo "configure: failed program was:" >&5 |
6389 cat conftest.$ac_ext >&5 | 6460 cat conftest.$ac_ext >&5 |
6416 fi | 6487 fi |
6417 | 6488 |
6418 fi | 6489 fi |
6419 if test "$with_msw" != "no"; then | 6490 if test "$with_msw" != "no"; then |
6420 echo "checking for MS-Windows" 1>&6 | 6491 echo "checking for MS-Windows" 1>&6 |
6421 echo "configure:6422: checking for MS-Windows" >&5 | 6492 echo "configure:6493: checking for MS-Windows" >&5 |
6422 | 6493 |
6423 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6494 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6424 echo "configure:6425: checking for main in -lgdi32" >&5 | 6495 echo "configure:6496: checking for main in -lgdi32" >&5 |
6425 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6496 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6426 | 6497 |
6427 xe_check_libs=" -lgdi32 " | 6498 xe_check_libs=" -lgdi32 " |
6428 cat > conftest.$ac_ext <<EOF | 6499 cat > conftest.$ac_ext <<EOF |
6429 #line 6430 "configure" | 6500 #line 6501 "configure" |
6430 #include "confdefs.h" | 6501 #include "confdefs.h" |
6431 | 6502 |
6432 int main() { | 6503 int main() { |
6433 main() | 6504 main() |
6434 ; return 0; } | 6505 ; return 0; } |
6435 EOF | 6506 EOF |
6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6507 if { (eval echo configure:6508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6437 rm -rf conftest* | 6508 rm -rf conftest* |
6438 eval "ac_cv_lib_$ac_lib_var=yes" | 6509 eval "ac_cv_lib_$ac_lib_var=yes" |
6439 else | 6510 else |
6440 echo "configure: failed program was:" >&5 | 6511 echo "configure: failed program was:" >&5 |
6441 cat conftest.$ac_ext >&5 | 6512 cat conftest.$ac_ext >&5 |
6497 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6568 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6498 echo " xemacs will be linked with \"dialog-msw.o\"" | 6569 echo " xemacs will be linked with \"dialog-msw.o\"" |
6499 fi | 6570 fi |
6500 fi | 6571 fi |
6501 cat > conftest.$ac_ext <<EOF | 6572 cat > conftest.$ac_ext <<EOF |
6502 #line 6503 "configure" | 6573 #line 6574 "configure" |
6503 #include "confdefs.h" | 6574 #include "confdefs.h" |
6504 #include <fcntl.h> | 6575 #include <fcntl.h> |
6505 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6576 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6506 EOF | 6577 EOF |
6507 if { (eval echo configure:6508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6578 if { (eval echo configure:6579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6508 then | 6579 then |
6509 { test "$extra_verbose" = "yes" && cat << \EOF | 6580 { test "$extra_verbose" = "yes" && cat << \EOF |
6510 Defining HAVE_MSG_SELECT | 6581 Defining HAVE_MSG_SELECT |
6511 EOF | 6582 EOF |
6512 cat >> confdefs.h <<\EOF | 6583 cat >> confdefs.h <<\EOF |
6566 fi | 6637 fi |
6567 | 6638 |
6568 if test "$with_x11" = "yes"; then | 6639 if test "$with_x11" = "yes"; then |
6569 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 6640 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
6570 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 6641 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
6571 echo "configure:6572: checking for X11/extensions/shape.h" >&5 | 6642 echo "configure:6643: checking for X11/extensions/shape.h" >&5 |
6572 | 6643 |
6573 cat > conftest.$ac_ext <<EOF | 6644 cat > conftest.$ac_ext <<EOF |
6574 #line 6575 "configure" | 6645 #line 6646 "configure" |
6575 #include "confdefs.h" | 6646 #include "confdefs.h" |
6576 #include <X11/extensions/shape.h> | 6647 #include <X11/extensions/shape.h> |
6577 EOF | 6648 EOF |
6578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6579 { (eval echo configure:6580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6650 { (eval echo configure:6651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6581 if test -z "$ac_err"; then | 6652 if test -z "$ac_err"; then |
6582 rm -rf conftest* | 6653 rm -rf conftest* |
6583 eval "ac_cv_header_$ac_safe=yes" | 6654 eval "ac_cv_header_$ac_safe=yes" |
6584 else | 6655 else |
6621 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6692 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6622 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6693 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6623 esac | 6694 esac |
6624 | 6695 |
6625 echo "checking for WM_COMMAND option" 1>&6 | 6696 echo "checking for WM_COMMAND option" 1>&6 |
6626 echo "configure:6627: checking for WM_COMMAND option" >&5; | 6697 echo "configure:6698: checking for WM_COMMAND option" >&5; |
6627 if test "$with_wmcommand" != "no"; then | 6698 if test "$with_wmcommand" != "no"; then |
6628 { test "$extra_verbose" = "yes" && cat << \EOF | 6699 { test "$extra_verbose" = "yes" && cat << \EOF |
6629 Defining HAVE_WMCOMMAND | 6700 Defining HAVE_WMCOMMAND |
6630 EOF | 6701 EOF |
6631 cat >> confdefs.h <<\EOF | 6702 cat >> confdefs.h <<\EOF |
6636 fi | 6707 fi |
6637 | 6708 |
6638 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6709 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6639 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6710 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6640 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6711 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6641 echo "configure:6642: checking for X11/Xauth.h" >&5 | 6712 echo "configure:6713: checking for X11/Xauth.h" >&5 |
6642 | 6713 |
6643 cat > conftest.$ac_ext <<EOF | 6714 cat > conftest.$ac_ext <<EOF |
6644 #line 6645 "configure" | 6715 #line 6716 "configure" |
6645 #include "confdefs.h" | 6716 #include "confdefs.h" |
6646 #include <X11/Xauth.h> | 6717 #include <X11/Xauth.h> |
6647 EOF | 6718 EOF |
6648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6649 { (eval echo configure:6650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6720 { (eval echo configure:6721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6651 if test -z "$ac_err"; then | 6722 if test -z "$ac_err"; then |
6652 rm -rf conftest* | 6723 rm -rf conftest* |
6653 eval "ac_cv_header_$ac_safe=yes" | 6724 eval "ac_cv_header_$ac_safe=yes" |
6654 else | 6725 else |
6667 with_xauth=no | 6738 with_xauth=no |
6668 fi | 6739 fi |
6669 } | 6740 } |
6670 test -z "$with_xauth" && { | 6741 test -z "$with_xauth" && { |
6671 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6742 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6672 echo "configure:6673: checking for XauGetAuthByAddr in -lXau" >&5 | 6743 echo "configure:6744: checking for XauGetAuthByAddr in -lXau" >&5 |
6673 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6744 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6674 | 6745 |
6675 xe_check_libs=" -lXau " | 6746 xe_check_libs=" -lXau " |
6676 cat > conftest.$ac_ext <<EOF | 6747 cat > conftest.$ac_ext <<EOF |
6677 #line 6678 "configure" | 6748 #line 6749 "configure" |
6678 #include "confdefs.h" | 6749 #include "confdefs.h" |
6679 /* Override any gcc2 internal prototype to avoid an error. */ | 6750 /* Override any gcc2 internal prototype to avoid an error. */ |
6680 /* We use char because int might match the return type of a gcc2 | 6751 /* We use char because int might match the return type of a gcc2 |
6681 builtin and then its argument prototype would still apply. */ | 6752 builtin and then its argument prototype would still apply. */ |
6682 char XauGetAuthByAddr(); | 6753 char XauGetAuthByAddr(); |
6683 | 6754 |
6684 int main() { | 6755 int main() { |
6685 XauGetAuthByAddr() | 6756 XauGetAuthByAddr() |
6686 ; return 0; } | 6757 ; return 0; } |
6687 EOF | 6758 EOF |
6688 if { (eval echo configure:6689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6759 if { (eval echo configure:6760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6689 rm -rf conftest* | 6760 rm -rf conftest* |
6690 eval "ac_cv_lib_$ac_lib_var=yes" | 6761 eval "ac_cv_lib_$ac_lib_var=yes" |
6691 else | 6762 else |
6692 echo "configure: failed program was:" >&5 | 6763 echo "configure: failed program was:" >&5 |
6693 cat conftest.$ac_ext >&5 | 6764 cat conftest.$ac_ext >&5 |
6728 | 6799 |
6729 if test "$with_tooltalk" != "no" ; then | 6800 if test "$with_tooltalk" != "no" ; then |
6730 for dir in "" "Tt/" "desktop/" ; do | 6801 for dir in "" "Tt/" "desktop/" ; do |
6731 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6802 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6732 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6803 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6733 echo "configure:6734: checking for ${dir}tt_c.h" >&5 | 6804 echo "configure:6805: checking for ${dir}tt_c.h" >&5 |
6734 | 6805 |
6735 cat > conftest.$ac_ext <<EOF | 6806 cat > conftest.$ac_ext <<EOF |
6736 #line 6737 "configure" | 6807 #line 6808 "configure" |
6737 #include "confdefs.h" | 6808 #include "confdefs.h" |
6738 #include <${dir}tt_c.h> | 6809 #include <${dir}tt_c.h> |
6739 EOF | 6810 EOF |
6740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6741 { (eval echo configure:6742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6812 { (eval echo configure:6813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6743 if test -z "$ac_err"; then | 6814 if test -z "$ac_err"; then |
6744 rm -rf conftest* | 6815 rm -rf conftest* |
6745 eval "ac_cv_header_$ac_safe=yes" | 6816 eval "ac_cv_header_$ac_safe=yes" |
6746 else | 6817 else |
6772 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6843 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6773 | 6844 |
6774 xe_msg_checking="for tt_message_create in -ltt" | 6845 xe_msg_checking="for tt_message_create in -ltt" |
6775 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6846 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6776 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6847 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6777 echo "configure:6778: checking "$xe_msg_checking"" >&5 | 6848 echo "configure:6849: checking "$xe_msg_checking"" >&5 |
6778 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6849 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6779 | 6850 |
6780 xe_check_libs=" -ltt $extra_libs" | 6851 xe_check_libs=" -ltt $extra_libs" |
6781 cat > conftest.$ac_ext <<EOF | 6852 cat > conftest.$ac_ext <<EOF |
6782 #line 6783 "configure" | 6853 #line 6854 "configure" |
6783 #include "confdefs.h" | 6854 #include "confdefs.h" |
6784 /* Override any gcc2 internal prototype to avoid an error. */ | 6855 /* Override any gcc2 internal prototype to avoid an error. */ |
6785 /* We use char because int might match the return type of a gcc2 | 6856 /* We use char because int might match the return type of a gcc2 |
6786 builtin and then its argument prototype would still apply. */ | 6857 builtin and then its argument prototype would still apply. */ |
6787 char tt_message_create(); | 6858 char tt_message_create(); |
6788 | 6859 |
6789 int main() { | 6860 int main() { |
6790 tt_message_create() | 6861 tt_message_create() |
6791 ; return 0; } | 6862 ; return 0; } |
6792 EOF | 6863 EOF |
6793 if { (eval echo configure:6794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6864 if { (eval echo configure:6865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6794 rm -rf conftest* | 6865 rm -rf conftest* |
6795 eval "ac_cv_lib_$ac_lib_var=yes" | 6866 eval "ac_cv_lib_$ac_lib_var=yes" |
6796 else | 6867 else |
6797 echo "configure: failed program was:" >&5 | 6868 echo "configure: failed program was:" >&5 |
6798 cat conftest.$ac_ext >&5 | 6869 cat conftest.$ac_ext >&5 |
6845 fi | 6916 fi |
6846 fi | 6917 fi |
6847 | 6918 |
6848 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6919 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6849 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6920 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6850 echo "configure:6851: checking for Dt/Dt.h" >&5 | 6921 echo "configure:6922: checking for Dt/Dt.h" >&5 |
6851 | 6922 |
6852 cat > conftest.$ac_ext <<EOF | 6923 cat > conftest.$ac_ext <<EOF |
6853 #line 6854 "configure" | 6924 #line 6925 "configure" |
6854 #include "confdefs.h" | 6925 #include "confdefs.h" |
6855 #include <Dt/Dt.h> | 6926 #include <Dt/Dt.h> |
6856 EOF | 6927 EOF |
6857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6858 { (eval echo configure:6859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6929 { (eval echo configure:6930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6859 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6860 if test -z "$ac_err"; then | 6931 if test -z "$ac_err"; then |
6861 rm -rf conftest* | 6932 rm -rf conftest* |
6862 eval "ac_cv_header_$ac_safe=yes" | 6933 eval "ac_cv_header_$ac_safe=yes" |
6863 else | 6934 else |
6876 with_cde=no | 6947 with_cde=no |
6877 fi | 6948 fi |
6878 } | 6949 } |
6879 test -z "$with_cde" && { | 6950 test -z "$with_cde" && { |
6880 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6951 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6881 echo "configure:6882: checking for DtDndDragStart in -lDtSvc" >&5 | 6952 echo "configure:6953: checking for DtDndDragStart in -lDtSvc" >&5 |
6882 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6953 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6883 | 6954 |
6884 xe_check_libs=" -lDtSvc " | 6955 xe_check_libs=" -lDtSvc " |
6885 cat > conftest.$ac_ext <<EOF | 6956 cat > conftest.$ac_ext <<EOF |
6886 #line 6887 "configure" | 6957 #line 6958 "configure" |
6887 #include "confdefs.h" | 6958 #include "confdefs.h" |
6888 /* Override any gcc2 internal prototype to avoid an error. */ | 6959 /* Override any gcc2 internal prototype to avoid an error. */ |
6889 /* We use char because int might match the return type of a gcc2 | 6960 /* We use char because int might match the return type of a gcc2 |
6890 builtin and then its argument prototype would still apply. */ | 6961 builtin and then its argument prototype would still apply. */ |
6891 char DtDndDragStart(); | 6962 char DtDndDragStart(); |
6892 | 6963 |
6893 int main() { | 6964 int main() { |
6894 DtDndDragStart() | 6965 DtDndDragStart() |
6895 ; return 0; } | 6966 ; return 0; } |
6896 EOF | 6967 EOF |
6897 if { (eval echo configure:6898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6968 if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6898 rm -rf conftest* | 6969 rm -rf conftest* |
6899 eval "ac_cv_lib_$ac_lib_var=yes" | 6970 eval "ac_cv_lib_$ac_lib_var=yes" |
6900 else | 6971 else |
6901 echo "configure: failed program was:" >&5 | 6972 echo "configure: failed program was:" >&5 |
6902 cat conftest.$ac_ext >&5 | 6973 cat conftest.$ac_ext >&5 |
6961 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 7032 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6962 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 7033 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6963 fi | 7034 fi |
6964 | 7035 |
6965 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7036 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6966 echo "configure:6967: checking if drag and drop API is needed" >&5 | 7037 echo "configure:7038: checking if drag and drop API is needed" >&5 |
6967 if test "$with_dragndrop" != "no" ; then | 7038 if test "$with_dragndrop" != "no" ; then |
6968 if test -n "$dragndrop_proto" ; then | 7039 if test -n "$dragndrop_proto" ; then |
6969 with_dragndrop=yes | 7040 with_dragndrop=yes |
6970 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7041 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6971 { test "$extra_verbose" = "yes" && cat << \EOF | 7042 { test "$extra_verbose" = "yes" && cat << \EOF |
6982 echo "$ac_t""no" 1>&6 | 7053 echo "$ac_t""no" 1>&6 |
6983 fi | 7054 fi |
6984 fi | 7055 fi |
6985 | 7056 |
6986 echo "checking for LDAP" 1>&6 | 7057 echo "checking for LDAP" 1>&6 |
6987 echo "configure:6988: checking for LDAP" >&5 | 7058 echo "configure:7059: checking for LDAP" >&5 |
6988 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7059 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6989 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7060 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6990 echo "configure:6991: checking for ldap.h" >&5 | 7061 echo "configure:7062: checking for ldap.h" >&5 |
6991 | 7062 |
6992 cat > conftest.$ac_ext <<EOF | 7063 cat > conftest.$ac_ext <<EOF |
6993 #line 6994 "configure" | 7064 #line 7065 "configure" |
6994 #include "confdefs.h" | 7065 #include "confdefs.h" |
6995 #include <ldap.h> | 7066 #include <ldap.h> |
6996 EOF | 7067 EOF |
6997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6998 { (eval echo configure:6999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7069 { (eval echo configure:7070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6999 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7000 if test -z "$ac_err"; then | 7071 if test -z "$ac_err"; then |
7001 rm -rf conftest* | 7072 rm -rf conftest* |
7002 eval "ac_cv_header_$ac_safe=yes" | 7073 eval "ac_cv_header_$ac_safe=yes" |
7003 else | 7074 else |
7016 with_ldap=no | 7087 with_ldap=no |
7017 fi | 7088 fi |
7018 } | 7089 } |
7019 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7090 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7020 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7091 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7021 echo "configure:7022: checking for lber.h" >&5 | 7092 echo "configure:7093: checking for lber.h" >&5 |
7022 | 7093 |
7023 cat > conftest.$ac_ext <<EOF | 7094 cat > conftest.$ac_ext <<EOF |
7024 #line 7025 "configure" | 7095 #line 7096 "configure" |
7025 #include "confdefs.h" | 7096 #include "confdefs.h" |
7026 #include <lber.h> | 7097 #include <lber.h> |
7027 EOF | 7098 EOF |
7028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7099 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7029 { (eval echo configure:7030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7100 { (eval echo configure:7101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7101 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7031 if test -z "$ac_err"; then | 7102 if test -z "$ac_err"; then |
7032 rm -rf conftest* | 7103 rm -rf conftest* |
7033 eval "ac_cv_header_$ac_safe=yes" | 7104 eval "ac_cv_header_$ac_safe=yes" |
7034 else | 7105 else |
7048 fi | 7119 fi |
7049 } | 7120 } |
7050 if test "$with_ldap" != "no"; then | 7121 if test "$with_ldap" != "no"; then |
7051 | 7122 |
7052 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7123 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7053 echo "configure:7054: checking for ldap_search in -lldap" >&5 | 7124 echo "configure:7125: checking for ldap_search in -lldap" >&5 |
7054 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7125 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7055 | 7126 |
7056 xe_check_libs=" -lldap " | 7127 xe_check_libs=" -lldap " |
7057 cat > conftest.$ac_ext <<EOF | 7128 cat > conftest.$ac_ext <<EOF |
7058 #line 7059 "configure" | 7129 #line 7130 "configure" |
7059 #include "confdefs.h" | 7130 #include "confdefs.h" |
7060 /* Override any gcc2 internal prototype to avoid an error. */ | 7131 /* Override any gcc2 internal prototype to avoid an error. */ |
7061 /* We use char because int might match the return type of a gcc2 | 7132 /* We use char because int might match the return type of a gcc2 |
7062 builtin and then its argument prototype would still apply. */ | 7133 builtin and then its argument prototype would still apply. */ |
7063 char ldap_search(); | 7134 char ldap_search(); |
7064 | 7135 |
7065 int main() { | 7136 int main() { |
7066 ldap_search() | 7137 ldap_search() |
7067 ; return 0; } | 7138 ; return 0; } |
7068 EOF | 7139 EOF |
7069 if { (eval echo configure:7070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7140 if { (eval echo configure:7141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7070 rm -rf conftest* | 7141 rm -rf conftest* |
7071 eval "ac_cv_lib_$ac_lib_var=yes" | 7142 eval "ac_cv_lib_$ac_lib_var=yes" |
7072 else | 7143 else |
7073 echo "configure: failed program was:" >&5 | 7144 echo "configure: failed program was:" >&5 |
7074 cat conftest.$ac_ext >&5 | 7145 cat conftest.$ac_ext >&5 |
7089 | 7160 |
7090 test "$with_ldap_nolber" = "no" && { | 7161 test "$with_ldap_nolber" = "no" && { |
7091 xe_msg_checking="for ldap_open in -lldap" | 7162 xe_msg_checking="for ldap_open in -lldap" |
7092 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7163 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7093 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7164 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7094 echo "configure:7095: checking "$xe_msg_checking"" >&5 | 7165 echo "configure:7166: checking "$xe_msg_checking"" >&5 |
7095 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7166 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7096 | 7167 |
7097 xe_check_libs=" -lldap -llber" | 7168 xe_check_libs=" -lldap -llber" |
7098 cat > conftest.$ac_ext <<EOF | 7169 cat > conftest.$ac_ext <<EOF |
7099 #line 7100 "configure" | 7170 #line 7171 "configure" |
7100 #include "confdefs.h" | 7171 #include "confdefs.h" |
7101 /* Override any gcc2 internal prototype to avoid an error. */ | 7172 /* Override any gcc2 internal prototype to avoid an error. */ |
7102 /* We use char because int might match the return type of a gcc2 | 7173 /* We use char because int might match the return type of a gcc2 |
7103 builtin and then its argument prototype would still apply. */ | 7174 builtin and then its argument prototype would still apply. */ |
7104 char ldap_open(); | 7175 char ldap_open(); |
7105 | 7176 |
7106 int main() { | 7177 int main() { |
7107 ldap_open() | 7178 ldap_open() |
7108 ; return 0; } | 7179 ; return 0; } |
7109 EOF | 7180 EOF |
7110 if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7181 if { (eval echo configure:7182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7111 rm -rf conftest* | 7182 rm -rf conftest* |
7112 eval "ac_cv_lib_$ac_lib_var=yes" | 7183 eval "ac_cv_lib_$ac_lib_var=yes" |
7113 else | 7184 else |
7114 echo "configure: failed program was:" >&5 | 7185 echo "configure: failed program was:" >&5 |
7115 cat conftest.$ac_ext >&5 | 7186 cat conftest.$ac_ext >&5 |
7130 } | 7201 } |
7131 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7202 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7132 xe_msg_checking="for ldap_open in -lldap" | 7203 xe_msg_checking="for ldap_open in -lldap" |
7133 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7204 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7134 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7205 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7135 echo "configure:7136: checking "$xe_msg_checking"" >&5 | 7206 echo "configure:7207: checking "$xe_msg_checking"" >&5 |
7136 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7207 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7137 | 7208 |
7138 xe_check_libs=" -lldap -llber -lkrb" | 7209 xe_check_libs=" -lldap -llber -lkrb" |
7139 cat > conftest.$ac_ext <<EOF | 7210 cat > conftest.$ac_ext <<EOF |
7140 #line 7141 "configure" | 7211 #line 7212 "configure" |
7141 #include "confdefs.h" | 7212 #include "confdefs.h" |
7142 /* Override any gcc2 internal prototype to avoid an error. */ | 7213 /* Override any gcc2 internal prototype to avoid an error. */ |
7143 /* We use char because int might match the return type of a gcc2 | 7214 /* We use char because int might match the return type of a gcc2 |
7144 builtin and then its argument prototype would still apply. */ | 7215 builtin and then its argument prototype would still apply. */ |
7145 char ldap_open(); | 7216 char ldap_open(); |
7146 | 7217 |
7147 int main() { | 7218 int main() { |
7148 ldap_open() | 7219 ldap_open() |
7149 ; return 0; } | 7220 ; return 0; } |
7150 EOF | 7221 EOF |
7151 if { (eval echo configure:7152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7222 if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7152 rm -rf conftest* | 7223 rm -rf conftest* |
7153 eval "ac_cv_lib_$ac_lib_var=yes" | 7224 eval "ac_cv_lib_$ac_lib_var=yes" |
7154 else | 7225 else |
7155 echo "configure: failed program was:" >&5 | 7226 echo "configure: failed program was:" >&5 |
7156 cat conftest.$ac_ext >&5 | 7227 cat conftest.$ac_ext >&5 |
7171 } | 7242 } |
7172 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7243 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7173 xe_msg_checking="for ldap_open in -lldap" | 7244 xe_msg_checking="for ldap_open in -lldap" |
7174 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7245 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7175 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7246 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7176 echo "configure:7177: checking "$xe_msg_checking"" >&5 | 7247 echo "configure:7248: checking "$xe_msg_checking"" >&5 |
7177 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7248 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7178 | 7249 |
7179 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7250 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7180 cat > conftest.$ac_ext <<EOF | 7251 cat > conftest.$ac_ext <<EOF |
7181 #line 7182 "configure" | 7252 #line 7253 "configure" |
7182 #include "confdefs.h" | 7253 #include "confdefs.h" |
7183 /* Override any gcc2 internal prototype to avoid an error. */ | 7254 /* Override any gcc2 internal prototype to avoid an error. */ |
7184 /* We use char because int might match the return type of a gcc2 | 7255 /* We use char because int might match the return type of a gcc2 |
7185 builtin and then its argument prototype would still apply. */ | 7256 builtin and then its argument prototype would still apply. */ |
7186 char ldap_open(); | 7257 char ldap_open(); |
7187 | 7258 |
7188 int main() { | 7259 int main() { |
7189 ldap_open() | 7260 ldap_open() |
7190 ; return 0; } | 7261 ; return 0; } |
7191 EOF | 7262 EOF |
7192 if { (eval echo configure:7193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7263 if { (eval echo configure:7264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7193 rm -rf conftest* | 7264 rm -rf conftest* |
7194 eval "ac_cv_lib_$ac_lib_var=yes" | 7265 eval "ac_cv_lib_$ac_lib_var=yes" |
7195 else | 7266 else |
7196 echo "configure: failed program was:" >&5 | 7267 echo "configure: failed program was:" >&5 |
7197 cat conftest.$ac_ext >&5 | 7268 cat conftest.$ac_ext >&5 |
7238 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7309 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7239 fi | 7310 fi |
7240 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7311 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7241 do | 7312 do |
7242 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7243 echo "configure:7244: checking for $ac_func" >&5 | 7314 echo "configure:7315: checking for $ac_func" >&5 |
7244 | 7315 |
7245 cat > conftest.$ac_ext <<EOF | 7316 cat > conftest.$ac_ext <<EOF |
7246 #line 7247 "configure" | 7317 #line 7318 "configure" |
7247 #include "confdefs.h" | 7318 #include "confdefs.h" |
7248 /* System header to define __stub macros and hopefully few prototypes, | 7319 /* System header to define __stub macros and hopefully few prototypes, |
7249 which can conflict with char $ac_func(); below. */ | 7320 which can conflict with char $ac_func(); below. */ |
7250 #include <assert.h> | 7321 #include <assert.h> |
7251 /* Override any gcc2 internal prototype to avoid an error. */ | 7322 /* Override any gcc2 internal prototype to avoid an error. */ |
7264 $ac_func(); | 7335 $ac_func(); |
7265 #endif | 7336 #endif |
7266 | 7337 |
7267 ; return 0; } | 7338 ; return 0; } |
7268 EOF | 7339 EOF |
7269 if { (eval echo configure:7270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7340 if { (eval echo configure:7341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7270 rm -rf conftest* | 7341 rm -rf conftest* |
7271 eval "ac_cv_func_$ac_func=yes" | 7342 eval "ac_cv_func_$ac_func=yes" |
7272 else | 7343 else |
7273 echo "configure: failed program was:" >&5 | 7344 echo "configure: failed program was:" >&5 |
7274 cat conftest.$ac_ext >&5 | 7345 cat conftest.$ac_ext >&5 |
7295 | 7366 |
7296 fi | 7367 fi |
7297 | 7368 |
7298 if test "$with_postgresql" != "no"; then | 7369 if test "$with_postgresql" != "no"; then |
7299 echo "checking for PostgreSQL" 1>&6 | 7370 echo "checking for PostgreSQL" 1>&6 |
7300 echo "configure:7301: checking for PostgreSQL" >&5 | 7371 echo "configure:7372: checking for PostgreSQL" >&5 |
7301 | 7372 |
7302 for header_dir in "" "pgsql/" "postgresql/"; do | 7373 for header_dir in "" "pgsql/" "postgresql/"; do |
7303 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7374 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7304 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7375 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7305 echo "configure:7306: checking for ${header_dir}libpq-fe.h" >&5 | 7376 echo "configure:7377: checking for ${header_dir}libpq-fe.h" >&5 |
7306 | 7377 |
7307 cat > conftest.$ac_ext <<EOF | 7378 cat > conftest.$ac_ext <<EOF |
7308 #line 7309 "configure" | 7379 #line 7380 "configure" |
7309 #include "confdefs.h" | 7380 #include "confdefs.h" |
7310 #include <${header_dir}libpq-fe.h> | 7381 #include <${header_dir}libpq-fe.h> |
7311 EOF | 7382 EOF |
7312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7313 { (eval echo configure:7314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7384 { (eval echo configure:7385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7315 if test -z "$ac_err"; then | 7386 if test -z "$ac_err"; then |
7316 rm -rf conftest* | 7387 rm -rf conftest* |
7317 eval "ac_cv_header_$ac_safe=yes" | 7388 eval "ac_cv_header_$ac_safe=yes" |
7318 else | 7389 else |
7332 | 7403 |
7333 done | 7404 done |
7334 | 7405 |
7335 test -n "$libpq_fe_h_file" && { | 7406 test -n "$libpq_fe_h_file" && { |
7336 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7407 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7337 echo "configure:7338: checking for PQconnectdb in -lpq" >&5 | 7408 echo "configure:7409: checking for PQconnectdb in -lpq" >&5 |
7338 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7409 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7339 | 7410 |
7340 xe_check_libs=" -lpq " | 7411 xe_check_libs=" -lpq " |
7341 cat > conftest.$ac_ext <<EOF | 7412 cat > conftest.$ac_ext <<EOF |
7342 #line 7343 "configure" | 7413 #line 7414 "configure" |
7343 #include "confdefs.h" | 7414 #include "confdefs.h" |
7344 /* Override any gcc2 internal prototype to avoid an error. */ | 7415 /* Override any gcc2 internal prototype to avoid an error. */ |
7345 /* We use char because int might match the return type of a gcc2 | 7416 /* We use char because int might match the return type of a gcc2 |
7346 builtin and then its argument prototype would still apply. */ | 7417 builtin and then its argument prototype would still apply. */ |
7347 char PQconnectdb(); | 7418 char PQconnectdb(); |
7348 | 7419 |
7349 int main() { | 7420 int main() { |
7350 PQconnectdb() | 7421 PQconnectdb() |
7351 ; return 0; } | 7422 ; return 0; } |
7352 EOF | 7423 EOF |
7353 if { (eval echo configure:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7424 if { (eval echo configure:7425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7354 rm -rf conftest* | 7425 rm -rf conftest* |
7355 eval "ac_cv_lib_$ac_lib_var=yes" | 7426 eval "ac_cv_lib_$ac_lib_var=yes" |
7356 else | 7427 else |
7357 echo "configure: failed program was:" >&5 | 7428 echo "configure: failed program was:" >&5 |
7358 cat conftest.$ac_ext >&5 | 7429 cat conftest.$ac_ext >&5 |
7381 EOF | 7452 EOF |
7382 } | 7453 } |
7383 | 7454 |
7384 | 7455 |
7385 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7456 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7386 echo "configure:7387: checking for PQconnectStart in -lpq" >&5 | 7457 echo "configure:7458: checking for PQconnectStart in -lpq" >&5 |
7387 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7458 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7388 | 7459 |
7389 xe_check_libs=" -lpq " | 7460 xe_check_libs=" -lpq " |
7390 cat > conftest.$ac_ext <<EOF | 7461 cat > conftest.$ac_ext <<EOF |
7391 #line 7392 "configure" | 7462 #line 7463 "configure" |
7392 #include "confdefs.h" | 7463 #include "confdefs.h" |
7393 /* Override any gcc2 internal prototype to avoid an error. */ | 7464 /* Override any gcc2 internal prototype to avoid an error. */ |
7394 /* We use char because int might match the return type of a gcc2 | 7465 /* We use char because int might match the return type of a gcc2 |
7395 builtin and then its argument prototype would still apply. */ | 7466 builtin and then its argument prototype would still apply. */ |
7396 char PQconnectStart(); | 7467 char PQconnectStart(); |
7397 | 7468 |
7398 int main() { | 7469 int main() { |
7399 PQconnectStart() | 7470 PQconnectStart() |
7400 ; return 0; } | 7471 ; return 0; } |
7401 EOF | 7472 EOF |
7402 if { (eval echo configure:7403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7473 if { (eval echo configure:7474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7403 rm -rf conftest* | 7474 rm -rf conftest* |
7404 eval "ac_cv_lib_$ac_lib_var=yes" | 7475 eval "ac_cv_lib_$ac_lib_var=yes" |
7405 else | 7476 else |
7406 echo "configure: failed program was:" >&5 | 7477 echo "configure: failed program was:" >&5 |
7407 cat conftest.$ac_ext >&5 | 7478 cat conftest.$ac_ext >&5 |
7445 fi | 7516 fi |
7446 | 7517 |
7447 | 7518 |
7448 if test "$window_system" != "none"; then | 7519 if test "$window_system" != "none"; then |
7449 echo "checking for graphics libraries" 1>&6 | 7520 echo "checking for graphics libraries" 1>&6 |
7450 echo "configure:7451: checking for graphics libraries" >&5 | 7521 echo "configure:7522: checking for graphics libraries" >&5 |
7451 | 7522 |
7452 xpm_problem="" | 7523 xpm_problem="" |
7453 if test -z "$with_xpm"; then | 7524 if test -z "$with_xpm"; then |
7454 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7525 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
7455 echo "configure:7456: checking for Xpm - no older than 3.4f" >&5 | 7526 echo "configure:7527: checking for Xpm - no older than 3.4f" >&5 |
7456 xe_check_libs=-lXpm | 7527 xe_check_libs=-lXpm |
7457 cat > conftest.$ac_ext <<EOF | 7528 cat > conftest.$ac_ext <<EOF |
7458 #line 7459 "configure" | 7529 #line 7530 "configure" |
7459 #include "confdefs.h" | 7530 #include "confdefs.h" |
7460 #define XPM_NUMBERS | 7531 #define XPM_NUMBERS |
7461 #include <X11/xpm.h> | 7532 #include <X11/xpm.h> |
7462 int main(int c, char **v) { | 7533 int main(int c, char **v) { |
7463 return c == 1 ? 0 : | 7534 return c == 1 ? 0 : |
7464 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7535 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
7465 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7536 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
7466 EOF | 7537 EOF |
7467 if { (eval echo configure:7468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7538 if { (eval echo configure:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7468 then | 7539 then |
7469 ./conftest dummy_arg; xpm_status=$?; | 7540 ./conftest dummy_arg; xpm_status=$?; |
7470 if test "$xpm_status" = "0"; then | 7541 if test "$xpm_status" = "0"; then |
7471 with_xpm=yes; | 7542 with_xpm=yes; |
7472 else | 7543 else |
7504 EOF | 7575 EOF |
7505 } | 7576 } |
7506 | 7577 |
7507 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7578 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
7508 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7579 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
7509 echo "configure:7510: checking for \"FOR_MSW\" xpm" >&5 | 7580 echo "configure:7581: checking for \"FOR_MSW\" xpm" >&5 |
7510 xe_check_libs=-lXpm | 7581 xe_check_libs=-lXpm |
7511 cat > conftest.$ac_ext <<EOF | 7582 cat > conftest.$ac_ext <<EOF |
7512 #line 7513 "configure" | 7583 #line 7584 "configure" |
7513 #include "confdefs.h" | 7584 #include "confdefs.h" |
7514 | 7585 |
7515 int main() { | 7586 int main() { |
7516 XpmCreatePixmapFromData() | 7587 XpmCreatePixmapFromData() |
7517 ; return 0; } | 7588 ; return 0; } |
7518 EOF | 7589 EOF |
7519 if { (eval echo configure:7520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7590 if { (eval echo configure:7591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7520 rm -rf conftest* | 7591 rm -rf conftest* |
7521 xpm_for_msw=no | 7592 xpm_for_msw=no |
7522 else | 7593 else |
7523 echo "configure: failed program was:" >&5 | 7594 echo "configure: failed program was:" >&5 |
7524 cat conftest.$ac_ext >&5 | 7595 cat conftest.$ac_ext >&5 |
7540 fi | 7611 fi |
7541 fi | 7612 fi |
7542 | 7613 |
7543 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7614 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7544 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7615 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7545 echo "configure:7546: checking for compface.h" >&5 | 7616 echo "configure:7617: checking for compface.h" >&5 |
7546 | 7617 |
7547 cat > conftest.$ac_ext <<EOF | 7618 cat > conftest.$ac_ext <<EOF |
7548 #line 7549 "configure" | 7619 #line 7620 "configure" |
7549 #include "confdefs.h" | 7620 #include "confdefs.h" |
7550 #include <compface.h> | 7621 #include <compface.h> |
7551 EOF | 7622 EOF |
7552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7553 { (eval echo configure:7554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7624 { (eval echo configure:7625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7555 if test -z "$ac_err"; then | 7626 if test -z "$ac_err"; then |
7556 rm -rf conftest* | 7627 rm -rf conftest* |
7557 eval "ac_cv_header_$ac_safe=yes" | 7628 eval "ac_cv_header_$ac_safe=yes" |
7558 else | 7629 else |
7571 with_xface=no | 7642 with_xface=no |
7572 fi | 7643 fi |
7573 } | 7644 } |
7574 test -z "$with_xface" && { | 7645 test -z "$with_xface" && { |
7575 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7646 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7576 echo "configure:7577: checking for UnGenFace in -lcompface" >&5 | 7647 echo "configure:7648: checking for UnGenFace in -lcompface" >&5 |
7577 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7648 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7578 | 7649 |
7579 xe_check_libs=" -lcompface " | 7650 xe_check_libs=" -lcompface " |
7580 cat > conftest.$ac_ext <<EOF | 7651 cat > conftest.$ac_ext <<EOF |
7581 #line 7582 "configure" | 7652 #line 7653 "configure" |
7582 #include "confdefs.h" | 7653 #include "confdefs.h" |
7583 /* Override any gcc2 internal prototype to avoid an error. */ | 7654 /* Override any gcc2 internal prototype to avoid an error. */ |
7584 /* We use char because int might match the return type of a gcc2 | 7655 /* We use char because int might match the return type of a gcc2 |
7585 builtin and then its argument prototype would still apply. */ | 7656 builtin and then its argument prototype would still apply. */ |
7586 char UnGenFace(); | 7657 char UnGenFace(); |
7587 | 7658 |
7588 int main() { | 7659 int main() { |
7589 UnGenFace() | 7660 UnGenFace() |
7590 ; return 0; } | 7661 ; return 0; } |
7591 EOF | 7662 EOF |
7592 if { (eval echo configure:7593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7663 if { (eval echo configure:7664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7593 rm -rf conftest* | 7664 rm -rf conftest* |
7594 eval "ac_cv_lib_$ac_lib_var=yes" | 7665 eval "ac_cv_lib_$ac_lib_var=yes" |
7595 else | 7666 else |
7596 echo "configure: failed program was:" >&5 | 7667 echo "configure: failed program was:" >&5 |
7597 cat conftest.$ac_ext >&5 | 7668 cat conftest.$ac_ext >&5 |
7639 fi | 7710 fi |
7640 | 7711 |
7641 if test "$with_png $with_tiff" != "no no"; then | 7712 if test "$with_png $with_tiff" != "no no"; then |
7642 | 7713 |
7643 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7714 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7644 echo "configure:7645: checking for inflate in -lc" >&5 | 7715 echo "configure:7716: checking for inflate in -lc" >&5 |
7645 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7716 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7646 | 7717 |
7647 xe_check_libs=" -lc " | 7718 xe_check_libs=" -lc " |
7648 cat > conftest.$ac_ext <<EOF | 7719 cat > conftest.$ac_ext <<EOF |
7649 #line 7650 "configure" | 7720 #line 7721 "configure" |
7650 #include "confdefs.h" | 7721 #include "confdefs.h" |
7651 /* Override any gcc2 internal prototype to avoid an error. */ | 7722 /* Override any gcc2 internal prototype to avoid an error. */ |
7652 /* We use char because int might match the return type of a gcc2 | 7723 /* We use char because int might match the return type of a gcc2 |
7653 builtin and then its argument prototype would still apply. */ | 7724 builtin and then its argument prototype would still apply. */ |
7654 char inflate(); | 7725 char inflate(); |
7655 | 7726 |
7656 int main() { | 7727 int main() { |
7657 inflate() | 7728 inflate() |
7658 ; return 0; } | 7729 ; return 0; } |
7659 EOF | 7730 EOF |
7660 if { (eval echo configure:7661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7731 if { (eval echo configure:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7661 rm -rf conftest* | 7732 rm -rf conftest* |
7662 eval "ac_cv_lib_$ac_lib_var=yes" | 7733 eval "ac_cv_lib_$ac_lib_var=yes" |
7663 else | 7734 else |
7664 echo "configure: failed program was:" >&5 | 7735 echo "configure: failed program was:" >&5 |
7665 cat conftest.$ac_ext >&5 | 7736 cat conftest.$ac_ext >&5 |
7674 : | 7745 : |
7675 else | 7746 else |
7676 echo "$ac_t""no" 1>&6 | 7747 echo "$ac_t""no" 1>&6 |
7677 | 7748 |
7678 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7749 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7679 echo "configure:7680: checking for inflate in -lz" >&5 | 7750 echo "configure:7751: checking for inflate in -lz" >&5 |
7680 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7751 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7681 | 7752 |
7682 xe_check_libs=" -lz " | 7753 xe_check_libs=" -lz " |
7683 cat > conftest.$ac_ext <<EOF | 7754 cat > conftest.$ac_ext <<EOF |
7684 #line 7685 "configure" | 7755 #line 7756 "configure" |
7685 #include "confdefs.h" | 7756 #include "confdefs.h" |
7686 /* Override any gcc2 internal prototype to avoid an error. */ | 7757 /* Override any gcc2 internal prototype to avoid an error. */ |
7687 /* We use char because int might match the return type of a gcc2 | 7758 /* We use char because int might match the return type of a gcc2 |
7688 builtin and then its argument prototype would still apply. */ | 7759 builtin and then its argument prototype would still apply. */ |
7689 char inflate(); | 7760 char inflate(); |
7690 | 7761 |
7691 int main() { | 7762 int main() { |
7692 inflate() | 7763 inflate() |
7693 ; return 0; } | 7764 ; return 0; } |
7694 EOF | 7765 EOF |
7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7766 if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7696 rm -rf conftest* | 7767 rm -rf conftest* |
7697 eval "ac_cv_lib_$ac_lib_var=yes" | 7768 eval "ac_cv_lib_$ac_lib_var=yes" |
7698 else | 7769 else |
7699 echo "configure: failed program was:" >&5 | 7770 echo "configure: failed program was:" >&5 |
7700 cat conftest.$ac_ext >&5 | 7771 cat conftest.$ac_ext >&5 |
7709 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7780 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7710 else | 7781 else |
7711 echo "$ac_t""no" 1>&6 | 7782 echo "$ac_t""no" 1>&6 |
7712 | 7783 |
7713 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7784 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7714 echo "configure:7715: checking for inflate in -lgz" >&5 | 7785 echo "configure:7786: checking for inflate in -lgz" >&5 |
7715 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7786 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7716 | 7787 |
7717 xe_check_libs=" -lgz " | 7788 xe_check_libs=" -lgz " |
7718 cat > conftest.$ac_ext <<EOF | 7789 cat > conftest.$ac_ext <<EOF |
7719 #line 7720 "configure" | 7790 #line 7791 "configure" |
7720 #include "confdefs.h" | 7791 #include "confdefs.h" |
7721 /* Override any gcc2 internal prototype to avoid an error. */ | 7792 /* Override any gcc2 internal prototype to avoid an error. */ |
7722 /* We use char because int might match the return type of a gcc2 | 7793 /* We use char because int might match the return type of a gcc2 |
7723 builtin and then its argument prototype would still apply. */ | 7794 builtin and then its argument prototype would still apply. */ |
7724 char inflate(); | 7795 char inflate(); |
7725 | 7796 |
7726 int main() { | 7797 int main() { |
7727 inflate() | 7798 inflate() |
7728 ; return 0; } | 7799 ; return 0; } |
7729 EOF | 7800 EOF |
7730 if { (eval echo configure:7731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7801 if { (eval echo configure:7802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7731 rm -rf conftest* | 7802 rm -rf conftest* |
7732 eval "ac_cv_lib_$ac_lib_var=yes" | 7803 eval "ac_cv_lib_$ac_lib_var=yes" |
7733 else | 7804 else |
7734 echo "configure: failed program was:" >&5 | 7805 echo "configure: failed program was:" >&5 |
7735 cat conftest.$ac_ext >&5 | 7806 cat conftest.$ac_ext >&5 |
7755 | 7826 |
7756 fi | 7827 fi |
7757 | 7828 |
7758 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7829 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7759 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7830 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7760 echo "configure:7761: checking for jpeglib.h" >&5 | 7831 echo "configure:7832: checking for jpeglib.h" >&5 |
7761 | 7832 |
7762 cat > conftest.$ac_ext <<EOF | 7833 cat > conftest.$ac_ext <<EOF |
7763 #line 7764 "configure" | 7834 #line 7835 "configure" |
7764 #include "confdefs.h" | 7835 #include "confdefs.h" |
7765 #include <jpeglib.h> | 7836 #include <jpeglib.h> |
7766 EOF | 7837 EOF |
7767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7768 { (eval echo configure:7769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7839 { (eval echo configure:7840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7770 if test -z "$ac_err"; then | 7841 if test -z "$ac_err"; then |
7771 rm -rf conftest* | 7842 rm -rf conftest* |
7772 eval "ac_cv_header_$ac_safe=yes" | 7843 eval "ac_cv_header_$ac_safe=yes" |
7773 else | 7844 else |
7786 with_jpeg=no | 7857 with_jpeg=no |
7787 fi | 7858 fi |
7788 } | 7859 } |
7789 test -z "$with_jpeg" && { | 7860 test -z "$with_jpeg" && { |
7790 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7861 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7791 echo "configure:7792: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7862 echo "configure:7863: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7792 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7863 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7793 | 7864 |
7794 xe_check_libs=" -ljpeg " | 7865 xe_check_libs=" -ljpeg " |
7795 cat > conftest.$ac_ext <<EOF | 7866 cat > conftest.$ac_ext <<EOF |
7796 #line 7797 "configure" | 7867 #line 7868 "configure" |
7797 #include "confdefs.h" | 7868 #include "confdefs.h" |
7798 /* Override any gcc2 internal prototype to avoid an error. */ | 7869 /* Override any gcc2 internal prototype to avoid an error. */ |
7799 /* We use char because int might match the return type of a gcc2 | 7870 /* We use char because int might match the return type of a gcc2 |
7800 builtin and then its argument prototype would still apply. */ | 7871 builtin and then its argument prototype would still apply. */ |
7801 char jpeg_destroy_decompress(); | 7872 char jpeg_destroy_decompress(); |
7802 | 7873 |
7803 int main() { | 7874 int main() { |
7804 jpeg_destroy_decompress() | 7875 jpeg_destroy_decompress() |
7805 ; return 0; } | 7876 ; return 0; } |
7806 EOF | 7877 EOF |
7807 if { (eval echo configure:7808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7878 if { (eval echo configure:7879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7808 rm -rf conftest* | 7879 rm -rf conftest* |
7809 eval "ac_cv_lib_$ac_lib_var=yes" | 7880 eval "ac_cv_lib_$ac_lib_var=yes" |
7810 else | 7881 else |
7811 echo "configure: failed program was:" >&5 | 7882 echo "configure: failed program was:" >&5 |
7812 cat conftest.$ac_ext >&5 | 7883 cat conftest.$ac_ext >&5 |
7838 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7909 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7839 fi | 7910 fi |
7840 | 7911 |
7841 png_problem="" | 7912 png_problem="" |
7842 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7913 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7843 echo "configure:7844: checking for pow" >&5 | 7914 echo "configure:7915: checking for pow" >&5 |
7844 | 7915 |
7845 cat > conftest.$ac_ext <<EOF | 7916 cat > conftest.$ac_ext <<EOF |
7846 #line 7847 "configure" | 7917 #line 7918 "configure" |
7847 #include "confdefs.h" | 7918 #include "confdefs.h" |
7848 /* System header to define __stub macros and hopefully few prototypes, | 7919 /* System header to define __stub macros and hopefully few prototypes, |
7849 which can conflict with char pow(); below. */ | 7920 which can conflict with char pow(); below. */ |
7850 #include <assert.h> | 7921 #include <assert.h> |
7851 /* Override any gcc2 internal prototype to avoid an error. */ | 7922 /* Override any gcc2 internal prototype to avoid an error. */ |
7864 pow(); | 7935 pow(); |
7865 #endif | 7936 #endif |
7866 | 7937 |
7867 ; return 0; } | 7938 ; return 0; } |
7868 EOF | 7939 EOF |
7869 if { (eval echo configure:7870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7940 if { (eval echo configure:7941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7870 rm -rf conftest* | 7941 rm -rf conftest* |
7871 eval "ac_cv_func_pow=yes" | 7942 eval "ac_cv_func_pow=yes" |
7872 else | 7943 else |
7873 echo "configure: failed program was:" >&5 | 7944 echo "configure: failed program was:" >&5 |
7874 cat conftest.$ac_ext >&5 | 7945 cat conftest.$ac_ext >&5 |
7885 with_png=no | 7956 with_png=no |
7886 fi | 7957 fi |
7887 } | 7958 } |
7888 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7959 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7889 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7960 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7890 echo "configure:7891: checking for png.h" >&5 | 7961 echo "configure:7962: checking for png.h" >&5 |
7891 | 7962 |
7892 cat > conftest.$ac_ext <<EOF | 7963 cat > conftest.$ac_ext <<EOF |
7893 #line 7894 "configure" | 7964 #line 7965 "configure" |
7894 #include "confdefs.h" | 7965 #include "confdefs.h" |
7895 #include <png.h> | 7966 #include <png.h> |
7896 EOF | 7967 EOF |
7897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7898 { (eval echo configure:7899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7969 { (eval echo configure:7970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7970 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7900 if test -z "$ac_err"; then | 7971 if test -z "$ac_err"; then |
7901 rm -rf conftest* | 7972 rm -rf conftest* |
7902 eval "ac_cv_header_$ac_safe=yes" | 7973 eval "ac_cv_header_$ac_safe=yes" |
7903 else | 7974 else |
7916 with_png=no | 7987 with_png=no |
7917 fi | 7988 fi |
7918 } | 7989 } |
7919 test -z "$with_png" && { | 7990 test -z "$with_png" && { |
7920 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7991 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7921 echo "configure:7922: checking for png_read_image in -lpng" >&5 | 7992 echo "configure:7993: checking for png_read_image in -lpng" >&5 |
7922 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7993 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7923 | 7994 |
7924 xe_check_libs=" -lpng " | 7995 xe_check_libs=" -lpng " |
7925 cat > conftest.$ac_ext <<EOF | 7996 cat > conftest.$ac_ext <<EOF |
7926 #line 7927 "configure" | 7997 #line 7998 "configure" |
7927 #include "confdefs.h" | 7998 #include "confdefs.h" |
7928 /* Override any gcc2 internal prototype to avoid an error. */ | 7999 /* Override any gcc2 internal prototype to avoid an error. */ |
7929 /* We use char because int might match the return type of a gcc2 | 8000 /* We use char because int might match the return type of a gcc2 |
7930 builtin and then its argument prototype would still apply. */ | 8001 builtin and then its argument prototype would still apply. */ |
7931 char png_read_image(); | 8002 char png_read_image(); |
7932 | 8003 |
7933 int main() { | 8004 int main() { |
7934 png_read_image() | 8005 png_read_image() |
7935 ; return 0; } | 8006 ; return 0; } |
7936 EOF | 8007 EOF |
7937 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8008 if { (eval echo configure:8009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7938 rm -rf conftest* | 8009 rm -rf conftest* |
7939 eval "ac_cv_lib_$ac_lib_var=yes" | 8010 eval "ac_cv_lib_$ac_lib_var=yes" |
7940 else | 8011 else |
7941 echo "configure: failed program was:" >&5 | 8012 echo "configure: failed program was:" >&5 |
7942 cat conftest.$ac_ext >&5 | 8013 cat conftest.$ac_ext >&5 |
7955 fi | 8026 fi |
7956 | 8027 |
7957 } | 8028 } |
7958 if test -z "$with_png"; then | 8029 if test -z "$with_png"; then |
7959 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8030 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7960 echo "configure:7961: checking for workable png version information" >&5 | 8031 echo "configure:8032: checking for workable png version information" >&5 |
7961 xe_check_libs="-lpng -lz" | 8032 xe_check_libs="-lpng -lz" |
7962 cat > conftest.$ac_ext <<EOF | 8033 cat > conftest.$ac_ext <<EOF |
7963 #line 7964 "configure" | 8034 #line 8035 "configure" |
7964 #include "confdefs.h" | 8035 #include "confdefs.h" |
7965 #include <png.h> | 8036 #include <png.h> |
7966 int main(int c, char **v) { | 8037 int main(int c, char **v) { |
7967 if (c == 1) return 0; | 8038 if (c == 1) return 0; |
7968 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8039 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7969 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8040 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7970 EOF | 8041 EOF |
7971 if { (eval echo configure:7972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8042 if { (eval echo configure:8043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7972 then | 8043 then |
7973 ./conftest dummy_arg; png_status=$?; | 8044 ./conftest dummy_arg; png_status=$?; |
7974 if test "$png_status" = "0"; then | 8045 if test "$png_status" = "0"; then |
7975 with_png=yes; | 8046 with_png=yes; |
7976 else | 8047 else |
8009 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8080 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8010 fi | 8081 fi |
8011 | 8082 |
8012 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8083 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8013 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8084 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8014 echo "configure:8015: checking for tiffio.h" >&5 | 8085 echo "configure:8086: checking for tiffio.h" >&5 |
8015 | 8086 |
8016 cat > conftest.$ac_ext <<EOF | 8087 cat > conftest.$ac_ext <<EOF |
8017 #line 8018 "configure" | 8088 #line 8089 "configure" |
8018 #include "confdefs.h" | 8089 #include "confdefs.h" |
8019 #include <tiffio.h> | 8090 #include <tiffio.h> |
8020 EOF | 8091 EOF |
8021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8022 { (eval echo configure:8023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8093 { (eval echo configure:8094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8024 if test -z "$ac_err"; then | 8095 if test -z "$ac_err"; then |
8025 rm -rf conftest* | 8096 rm -rf conftest* |
8026 eval "ac_cv_header_$ac_safe=yes" | 8097 eval "ac_cv_header_$ac_safe=yes" |
8027 else | 8098 else |
8040 with_tiff=no | 8111 with_tiff=no |
8041 fi | 8112 fi |
8042 } | 8113 } |
8043 test -z "$with_tiff" && { | 8114 test -z "$with_tiff" && { |
8044 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8115 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8045 echo "configure:8046: checking for TIFFClientOpen in -ltiff" >&5 | 8116 echo "configure:8117: checking for TIFFClientOpen in -ltiff" >&5 |
8046 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8117 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8047 | 8118 |
8048 xe_check_libs=" -ltiff " | 8119 xe_check_libs=" -ltiff " |
8049 cat > conftest.$ac_ext <<EOF | 8120 cat > conftest.$ac_ext <<EOF |
8050 #line 8051 "configure" | 8121 #line 8122 "configure" |
8051 #include "confdefs.h" | 8122 #include "confdefs.h" |
8052 /* Override any gcc2 internal prototype to avoid an error. */ | 8123 /* Override any gcc2 internal prototype to avoid an error. */ |
8053 /* We use char because int might match the return type of a gcc2 | 8124 /* We use char because int might match the return type of a gcc2 |
8054 builtin and then its argument prototype would still apply. */ | 8125 builtin and then its argument prototype would still apply. */ |
8055 char TIFFClientOpen(); | 8126 char TIFFClientOpen(); |
8056 | 8127 |
8057 int main() { | 8128 int main() { |
8058 TIFFClientOpen() | 8129 TIFFClientOpen() |
8059 ; return 0; } | 8130 ; return 0; } |
8060 EOF | 8131 EOF |
8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8132 if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8062 rm -rf conftest* | 8133 rm -rf conftest* |
8063 eval "ac_cv_lib_$ac_lib_var=yes" | 8134 eval "ac_cv_lib_$ac_lib_var=yes" |
8064 else | 8135 else |
8065 echo "configure: failed program was:" >&5 | 8136 echo "configure: failed program was:" >&5 |
8066 cat conftest.$ac_ext >&5 | 8137 cat conftest.$ac_ext >&5 |
8095 | 8166 |
8096 | 8167 |
8097 if test "$with_x11" = "yes"; then | 8168 if test "$with_x11" = "yes"; then |
8098 | 8169 |
8099 echo "checking for X11 graphics libraries" 1>&6 | 8170 echo "checking for X11 graphics libraries" 1>&6 |
8100 echo "configure:8101: checking for X11 graphics libraries" >&5 | 8171 echo "configure:8172: checking for X11 graphics libraries" >&5 |
8101 | 8172 |
8102 echo "checking for the Athena widgets" 1>&6 | 8173 echo "checking for the Athena widgets" 1>&6 |
8103 echo "configure:8104: checking for the Athena widgets" >&5 | 8174 echo "configure:8175: checking for the Athena widgets" >&5 |
8104 | 8175 |
8105 case "$with_athena" in | 8176 case "$with_athena" in |
8106 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8177 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8107 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8178 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8108 "next") athena_variant=neXtaw athena_3d=yes ;; | 8179 "next") athena_variant=neXtaw athena_3d=yes ;; |
8112 esac | 8183 esac |
8113 | 8184 |
8114 if test "$athena_3d" = "no"; then | 8185 if test "$athena_3d" = "no"; then |
8115 | 8186 |
8116 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8187 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8117 echo "configure:8118: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8188 echo "configure:8189: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8118 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8189 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8119 | 8190 |
8120 xe_check_libs=" -l$athena_variant " | 8191 xe_check_libs=" -l$athena_variant " |
8121 cat > conftest.$ac_ext <<EOF | 8192 cat > conftest.$ac_ext <<EOF |
8122 #line 8123 "configure" | 8193 #line 8194 "configure" |
8123 #include "confdefs.h" | 8194 #include "confdefs.h" |
8124 /* Override any gcc2 internal prototype to avoid an error. */ | 8195 /* Override any gcc2 internal prototype to avoid an error. */ |
8125 /* We use char because int might match the return type of a gcc2 | 8196 /* We use char because int might match the return type of a gcc2 |
8126 builtin and then its argument prototype would still apply. */ | 8197 builtin and then its argument prototype would still apply. */ |
8127 char XawScrollbarSetThumb(); | 8198 char XawScrollbarSetThumb(); |
8128 | 8199 |
8129 int main() { | 8200 int main() { |
8130 XawScrollbarSetThumb() | 8201 XawScrollbarSetThumb() |
8131 ; return 0; } | 8202 ; return 0; } |
8132 EOF | 8203 EOF |
8133 if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8204 if { (eval echo configure:8205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8134 rm -rf conftest* | 8205 rm -rf conftest* |
8135 eval "ac_cv_lib_$ac_lib_var=yes" | 8206 eval "ac_cv_lib_$ac_lib_var=yes" |
8136 else | 8207 else |
8137 echo "configure: failed program was:" >&5 | 8208 echo "configure: failed program was:" >&5 |
8138 cat conftest.$ac_ext >&5 | 8209 cat conftest.$ac_ext >&5 |
8144 | 8215 |
8145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8216 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8146 echo "$ac_t""yes" 1>&6 | 8217 echo "$ac_t""yes" 1>&6 |
8147 | 8218 |
8148 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8219 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8149 echo "configure:8150: checking for threeDClassRec in -l$athena_variant" >&5 | 8220 echo "configure:8221: checking for threeDClassRec in -l$athena_variant" >&5 |
8150 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8221 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8151 | 8222 |
8152 xe_check_libs=" -l$athena_variant " | 8223 xe_check_libs=" -l$athena_variant " |
8153 cat > conftest.$ac_ext <<EOF | 8224 cat > conftest.$ac_ext <<EOF |
8154 #line 8155 "configure" | 8225 #line 8226 "configure" |
8155 #include "confdefs.h" | 8226 #include "confdefs.h" |
8156 /* Override any gcc2 internal prototype to avoid an error. */ | 8227 /* Override any gcc2 internal prototype to avoid an error. */ |
8157 /* We use char because int might match the return type of a gcc2 | 8228 /* We use char because int might match the return type of a gcc2 |
8158 builtin and then its argument prototype would still apply. */ | 8229 builtin and then its argument prototype would still apply. */ |
8159 char threeDClassRec(); | 8230 char threeDClassRec(); |
8160 | 8231 |
8161 int main() { | 8232 int main() { |
8162 threeDClassRec() | 8233 threeDClassRec() |
8163 ; return 0; } | 8234 ; return 0; } |
8164 EOF | 8235 EOF |
8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8236 if { (eval echo configure:8237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8166 rm -rf conftest* | 8237 rm -rf conftest* |
8167 eval "ac_cv_lib_$ac_lib_var=yes" | 8238 eval "ac_cv_lib_$ac_lib_var=yes" |
8168 else | 8239 else |
8169 echo "configure: failed program was:" >&5 | 8240 echo "configure: failed program was:" >&5 |
8170 cat conftest.$ac_ext >&5 | 8241 cat conftest.$ac_ext >&5 |
8191 | 8262 |
8192 | 8263 |
8193 else | 8264 else |
8194 | 8265 |
8195 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8266 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8196 echo "configure:8197: checking for threeDClassRec in -l$athena_variant" >&5 | 8267 echo "configure:8268: checking for threeDClassRec in -l$athena_variant" >&5 |
8197 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8268 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8198 | 8269 |
8199 xe_check_libs=" -l$athena_variant " | 8270 xe_check_libs=" -l$athena_variant " |
8200 cat > conftest.$ac_ext <<EOF | 8271 cat > conftest.$ac_ext <<EOF |
8201 #line 8202 "configure" | 8272 #line 8273 "configure" |
8202 #include "confdefs.h" | 8273 #include "confdefs.h" |
8203 /* Override any gcc2 internal prototype to avoid an error. */ | 8274 /* Override any gcc2 internal prototype to avoid an error. */ |
8204 /* We use char because int might match the return type of a gcc2 | 8275 /* We use char because int might match the return type of a gcc2 |
8205 builtin and then its argument prototype would still apply. */ | 8276 builtin and then its argument prototype would still apply. */ |
8206 char threeDClassRec(); | 8277 char threeDClassRec(); |
8207 | 8278 |
8208 int main() { | 8279 int main() { |
8209 threeDClassRec() | 8280 threeDClassRec() |
8210 ; return 0; } | 8281 ; return 0; } |
8211 EOF | 8282 EOF |
8212 if { (eval echo configure:8213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8283 if { (eval echo configure:8284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8213 rm -rf conftest* | 8284 rm -rf conftest* |
8214 eval "ac_cv_lib_$ac_lib_var=yes" | 8285 eval "ac_cv_lib_$ac_lib_var=yes" |
8215 else | 8286 else |
8216 echo "configure: failed program was:" >&5 | 8287 echo "configure: failed program was:" >&5 |
8217 cat conftest.$ac_ext >&5 | 8288 cat conftest.$ac_ext >&5 |
8225 echo "$ac_t""yes" 1>&6 | 8296 echo "$ac_t""yes" 1>&6 |
8226 athena_lib=$athena_variant | 8297 athena_lib=$athena_variant |
8227 else | 8298 else |
8228 echo "$ac_t""no" 1>&6 | 8299 echo "$ac_t""no" 1>&6 |
8229 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8300 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8230 echo "configure:8231: checking for threeDClassRec in -lXaw" >&5 | 8301 echo "configure:8302: checking for threeDClassRec in -lXaw" >&5 |
8231 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8302 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8232 | 8303 |
8233 xe_check_libs=" -lXaw " | 8304 xe_check_libs=" -lXaw " |
8234 cat > conftest.$ac_ext <<EOF | 8305 cat > conftest.$ac_ext <<EOF |
8235 #line 8236 "configure" | 8306 #line 8307 "configure" |
8236 #include "confdefs.h" | 8307 #include "confdefs.h" |
8237 /* Override any gcc2 internal prototype to avoid an error. */ | 8308 /* Override any gcc2 internal prototype to avoid an error. */ |
8238 /* We use char because int might match the return type of a gcc2 | 8309 /* We use char because int might match the return type of a gcc2 |
8239 builtin and then its argument prototype would still apply. */ | 8310 builtin and then its argument prototype would still apply. */ |
8240 char threeDClassRec(); | 8311 char threeDClassRec(); |
8241 | 8312 |
8242 int main() { | 8313 int main() { |
8243 threeDClassRec() | 8314 threeDClassRec() |
8244 ; return 0; } | 8315 ; return 0; } |
8245 EOF | 8316 EOF |
8246 if { (eval echo configure:8247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8317 if { (eval echo configure:8318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8247 rm -rf conftest* | 8318 rm -rf conftest* |
8248 eval "ac_cv_lib_$ac_lib_var=yes" | 8319 eval "ac_cv_lib_$ac_lib_var=yes" |
8249 else | 8320 else |
8250 echo "configure: failed program was:" >&5 | 8321 echo "configure: failed program was:" >&5 |
8251 cat conftest.$ac_ext >&5 | 8322 cat conftest.$ac_ext >&5 |
8272 fi | 8343 fi |
8273 | 8344 |
8274 if test "$athena_3d" = "no"; then | 8345 if test "$athena_3d" = "no"; then |
8275 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8346 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8276 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8347 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8277 echo "configure:8278: checking for X11/Xaw/ThreeD.h" >&5 | 8348 echo "configure:8349: checking for X11/Xaw/ThreeD.h" >&5 |
8278 | 8349 |
8279 cat > conftest.$ac_ext <<EOF | 8350 cat > conftest.$ac_ext <<EOF |
8280 #line 8281 "configure" | 8351 #line 8352 "configure" |
8281 #include "confdefs.h" | 8352 #include "confdefs.h" |
8282 #include <X11/Xaw/ThreeD.h> | 8353 #include <X11/Xaw/ThreeD.h> |
8283 EOF | 8354 EOF |
8284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8285 { (eval echo configure:8286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8356 { (eval echo configure:8357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8287 if test -z "$ac_err"; then | 8358 if test -z "$ac_err"; then |
8288 rm -rf conftest* | 8359 rm -rf conftest* |
8289 eval "ac_cv_header_$ac_safe=yes" | 8360 eval "ac_cv_header_$ac_safe=yes" |
8290 else | 8361 else |
8300 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8371 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
8301 else | 8372 else |
8302 echo "$ac_t""no" 1>&6 | 8373 echo "$ac_t""no" 1>&6 |
8303 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8374 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8304 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8375 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8305 echo "configure:8306: checking for X11/Xaw/XawInit.h" >&5 | 8376 echo "configure:8377: checking for X11/Xaw/XawInit.h" >&5 |
8306 | 8377 |
8307 cat > conftest.$ac_ext <<EOF | 8378 cat > conftest.$ac_ext <<EOF |
8308 #line 8309 "configure" | 8379 #line 8380 "configure" |
8309 #include "confdefs.h" | 8380 #include "confdefs.h" |
8310 #include <X11/Xaw/XawInit.h> | 8381 #include <X11/Xaw/XawInit.h> |
8311 EOF | 8382 EOF |
8312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8313 { (eval echo configure:8314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8384 { (eval echo configure:8385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8315 if test -z "$ac_err"; then | 8386 if test -z "$ac_err"; then |
8316 rm -rf conftest* | 8387 rm -rf conftest* |
8317 eval "ac_cv_header_$ac_safe=yes" | 8388 eval "ac_cv_header_$ac_safe=yes" |
8318 else | 8389 else |
8334 fi | 8405 fi |
8335 | 8406 |
8336 else | 8407 else |
8337 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8408 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8338 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8409 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
8339 echo "configure:8340: checking for X11/$athena_variant/XawInit.h" >&5 | 8410 echo "configure:8411: checking for X11/$athena_variant/XawInit.h" >&5 |
8340 | 8411 |
8341 cat > conftest.$ac_ext <<EOF | 8412 cat > conftest.$ac_ext <<EOF |
8342 #line 8343 "configure" | 8413 #line 8414 "configure" |
8343 #include "confdefs.h" | 8414 #include "confdefs.h" |
8344 #include <X11/$athena_variant/XawInit.h> | 8415 #include <X11/$athena_variant/XawInit.h> |
8345 EOF | 8416 EOF |
8346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8347 { (eval echo configure:8348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8418 { (eval echo configure:8419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8349 if test -z "$ac_err"; then | 8420 if test -z "$ac_err"; then |
8350 rm -rf conftest* | 8421 rm -rf conftest* |
8351 eval "ac_cv_header_$ac_safe=yes" | 8422 eval "ac_cv_header_$ac_safe=yes" |
8352 else | 8423 else |
8359 rm -f conftest* | 8430 rm -f conftest* |
8360 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8361 echo "$ac_t""yes" 1>&6 | 8432 echo "$ac_t""yes" 1>&6 |
8362 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8433 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8363 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8434 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8364 echo "configure:8365: checking for X11/$athena_variant/ThreeD.h" >&5 | 8435 echo "configure:8436: checking for X11/$athena_variant/ThreeD.h" >&5 |
8365 | 8436 |
8366 cat > conftest.$ac_ext <<EOF | 8437 cat > conftest.$ac_ext <<EOF |
8367 #line 8368 "configure" | 8438 #line 8439 "configure" |
8368 #include "confdefs.h" | 8439 #include "confdefs.h" |
8369 #include <X11/$athena_variant/ThreeD.h> | 8440 #include <X11/$athena_variant/ThreeD.h> |
8370 EOF | 8441 EOF |
8371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8372 { (eval echo configure:8373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8443 { (eval echo configure:8444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8374 if test -z "$ac_err"; then | 8445 if test -z "$ac_err"; then |
8375 rm -rf conftest* | 8446 rm -rf conftest* |
8376 eval "ac_cv_header_$ac_safe=yes" | 8447 eval "ac_cv_header_$ac_safe=yes" |
8377 else | 8448 else |
8395 | 8466 |
8396 | 8467 |
8397 if test -z "$athena_h_path"; then | 8468 if test -z "$athena_h_path"; then |
8398 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8469 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8399 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8470 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
8400 echo "configure:8401: checking for $athena_variant/XawInit.h" >&5 | 8471 echo "configure:8472: checking for $athena_variant/XawInit.h" >&5 |
8401 | 8472 |
8402 cat > conftest.$ac_ext <<EOF | 8473 cat > conftest.$ac_ext <<EOF |
8403 #line 8404 "configure" | 8474 #line 8475 "configure" |
8404 #include "confdefs.h" | 8475 #include "confdefs.h" |
8405 #include <$athena_variant/XawInit.h> | 8476 #include <$athena_variant/XawInit.h> |
8406 EOF | 8477 EOF |
8407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8408 { (eval echo configure:8409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8479 { (eval echo configure:8480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8410 if test -z "$ac_err"; then | 8481 if test -z "$ac_err"; then |
8411 rm -rf conftest* | 8482 rm -rf conftest* |
8412 eval "ac_cv_header_$ac_safe=yes" | 8483 eval "ac_cv_header_$ac_safe=yes" |
8413 else | 8484 else |
8420 rm -f conftest* | 8491 rm -f conftest* |
8421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8422 echo "$ac_t""yes" 1>&6 | 8493 echo "$ac_t""yes" 1>&6 |
8423 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8494 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8424 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8495 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8425 echo "configure:8426: checking for $athena_variant/ThreeD.h" >&5 | 8496 echo "configure:8497: checking for $athena_variant/ThreeD.h" >&5 |
8426 | 8497 |
8427 cat > conftest.$ac_ext <<EOF | 8498 cat > conftest.$ac_ext <<EOF |
8428 #line 8429 "configure" | 8499 #line 8500 "configure" |
8429 #include "confdefs.h" | 8500 #include "confdefs.h" |
8430 #include <$athena_variant/ThreeD.h> | 8501 #include <$athena_variant/ThreeD.h> |
8431 EOF | 8502 EOF |
8432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8433 { (eval echo configure:8434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8504 { (eval echo configure:8505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8435 if test -z "$ac_err"; then | 8506 if test -z "$ac_err"; then |
8436 rm -rf conftest* | 8507 rm -rf conftest* |
8437 eval "ac_cv_header_$ac_safe=yes" | 8508 eval "ac_cv_header_$ac_safe=yes" |
8438 else | 8509 else |
8457 fi | 8528 fi |
8458 | 8529 |
8459 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8530 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8460 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8531 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8461 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8532 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8462 echo "configure:8463: checking for X11/Xaw3d/XawInit.h" >&5 | 8533 echo "configure:8534: checking for X11/Xaw3d/XawInit.h" >&5 |
8463 | 8534 |
8464 cat > conftest.$ac_ext <<EOF | 8535 cat > conftest.$ac_ext <<EOF |
8465 #line 8466 "configure" | 8536 #line 8537 "configure" |
8466 #include "confdefs.h" | 8537 #include "confdefs.h" |
8467 #include <X11/Xaw3d/XawInit.h> | 8538 #include <X11/Xaw3d/XawInit.h> |
8468 EOF | 8539 EOF |
8469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8470 { (eval echo configure:8471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8541 { (eval echo configure:8542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8472 if test -z "$ac_err"; then | 8543 if test -z "$ac_err"; then |
8473 rm -rf conftest* | 8544 rm -rf conftest* |
8474 eval "ac_cv_header_$ac_safe=yes" | 8545 eval "ac_cv_header_$ac_safe=yes" |
8475 else | 8546 else |
8482 rm -f conftest* | 8553 rm -f conftest* |
8483 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8554 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8484 echo "$ac_t""yes" 1>&6 | 8555 echo "$ac_t""yes" 1>&6 |
8485 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8556 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8486 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8557 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8487 echo "configure:8488: checking for X11/Xaw3d/ThreeD.h" >&5 | 8558 echo "configure:8559: checking for X11/Xaw3d/ThreeD.h" >&5 |
8488 | 8559 |
8489 cat > conftest.$ac_ext <<EOF | 8560 cat > conftest.$ac_ext <<EOF |
8490 #line 8491 "configure" | 8561 #line 8562 "configure" |
8491 #include "confdefs.h" | 8562 #include "confdefs.h" |
8492 #include <X11/Xaw3d/ThreeD.h> | 8563 #include <X11/Xaw3d/ThreeD.h> |
8493 EOF | 8564 EOF |
8494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8495 { (eval echo configure:8496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8566 { (eval echo configure:8567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8497 if test -z "$ac_err"; then | 8568 if test -z "$ac_err"; then |
8498 rm -rf conftest* | 8569 rm -rf conftest* |
8499 eval "ac_cv_header_$ac_safe=yes" | 8570 eval "ac_cv_header_$ac_safe=yes" |
8500 else | 8571 else |
8522 fi | 8593 fi |
8523 | 8594 |
8524 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8595 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8525 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8596 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8526 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8597 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8527 echo "configure:8528: checking for Xaw3d/XawInit.h" >&5 | 8598 echo "configure:8599: checking for Xaw3d/XawInit.h" >&5 |
8528 | 8599 |
8529 cat > conftest.$ac_ext <<EOF | 8600 cat > conftest.$ac_ext <<EOF |
8530 #line 8531 "configure" | 8601 #line 8602 "configure" |
8531 #include "confdefs.h" | 8602 #include "confdefs.h" |
8532 #include <Xaw3d/XawInit.h> | 8603 #include <Xaw3d/XawInit.h> |
8533 EOF | 8604 EOF |
8534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8535 { (eval echo configure:8536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8606 { (eval echo configure:8607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8537 if test -z "$ac_err"; then | 8608 if test -z "$ac_err"; then |
8538 rm -rf conftest* | 8609 rm -rf conftest* |
8539 eval "ac_cv_header_$ac_safe=yes" | 8610 eval "ac_cv_header_$ac_safe=yes" |
8540 else | 8611 else |
8547 rm -f conftest* | 8618 rm -f conftest* |
8548 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8549 echo "$ac_t""yes" 1>&6 | 8620 echo "$ac_t""yes" 1>&6 |
8550 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8621 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8551 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8622 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8552 echo "configure:8553: checking for Xaw3d/ThreeD.h" >&5 | 8623 echo "configure:8624: checking for Xaw3d/ThreeD.h" >&5 |
8553 | 8624 |
8554 cat > conftest.$ac_ext <<EOF | 8625 cat > conftest.$ac_ext <<EOF |
8555 #line 8556 "configure" | 8626 #line 8627 "configure" |
8556 #include "confdefs.h" | 8627 #include "confdefs.h" |
8557 #include <Xaw3d/ThreeD.h> | 8628 #include <Xaw3d/ThreeD.h> |
8558 EOF | 8629 EOF |
8559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8630 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8560 { (eval echo configure:8561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8631 { (eval echo configure:8632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8632 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8562 if test -z "$ac_err"; then | 8633 if test -z "$ac_err"; then |
8563 rm -rf conftest* | 8634 rm -rf conftest* |
8564 eval "ac_cv_header_$ac_safe=yes" | 8635 eval "ac_cv_header_$ac_safe=yes" |
8565 else | 8636 else |
8587 fi | 8658 fi |
8588 | 8659 |
8589 if test -z "$athena_h_path"; then | 8660 if test -z "$athena_h_path"; then |
8590 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8661 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8591 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8662 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8592 echo "configure:8593: checking for X11/Xaw/ThreeD.h" >&5 | 8663 echo "configure:8664: checking for X11/Xaw/ThreeD.h" >&5 |
8593 | 8664 |
8594 cat > conftest.$ac_ext <<EOF | 8665 cat > conftest.$ac_ext <<EOF |
8595 #line 8596 "configure" | 8666 #line 8667 "configure" |
8596 #include "confdefs.h" | 8667 #include "confdefs.h" |
8597 #include <X11/Xaw/ThreeD.h> | 8668 #include <X11/Xaw/ThreeD.h> |
8598 EOF | 8669 EOF |
8599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8600 { (eval echo configure:8601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8671 { (eval echo configure:8672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8602 if test -z "$ac_err"; then | 8673 if test -z "$ac_err"; then |
8603 rm -rf conftest* | 8674 rm -rf conftest* |
8604 eval "ac_cv_header_$ac_safe=yes" | 8675 eval "ac_cv_header_$ac_safe=yes" |
8605 else | 8676 else |
8630 have_xaw=no | 8701 have_xaw=no |
8631 fi | 8702 fi |
8632 | 8703 |
8633 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 8704 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
8634 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 8705 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
8635 echo "configure:8636: checking for Xm/Xm.h" >&5 | 8706 echo "configure:8707: checking for Xm/Xm.h" >&5 |
8636 | 8707 |
8637 cat > conftest.$ac_ext <<EOF | 8708 cat > conftest.$ac_ext <<EOF |
8638 #line 8639 "configure" | 8709 #line 8710 "configure" |
8639 #include "confdefs.h" | 8710 #include "confdefs.h" |
8640 #include <Xm/Xm.h> | 8711 #include <Xm/Xm.h> |
8641 EOF | 8712 EOF |
8642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8643 { (eval echo configure:8644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8714 { (eval echo configure:8715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8645 if test -z "$ac_err"; then | 8716 if test -z "$ac_err"; then |
8646 rm -rf conftest* | 8717 rm -rf conftest* |
8647 eval "ac_cv_header_$ac_safe=yes" | 8718 eval "ac_cv_header_$ac_safe=yes" |
8648 else | 8719 else |
8655 rm -f conftest* | 8726 rm -f conftest* |
8656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8657 echo "$ac_t""yes" 1>&6 | 8728 echo "$ac_t""yes" 1>&6 |
8658 | 8729 |
8659 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 8730 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
8660 echo "configure:8661: checking for XmStringFree in -lXm" >&5 | 8731 echo "configure:8732: checking for XmStringFree in -lXm" >&5 |
8661 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 8732 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
8662 | 8733 |
8663 xe_check_libs=" -lXm " | 8734 xe_check_libs=" -lXm " |
8664 cat > conftest.$ac_ext <<EOF | 8735 cat > conftest.$ac_ext <<EOF |
8665 #line 8666 "configure" | 8736 #line 8737 "configure" |
8666 #include "confdefs.h" | 8737 #include "confdefs.h" |
8667 /* Override any gcc2 internal prototype to avoid an error. */ | 8738 /* Override any gcc2 internal prototype to avoid an error. */ |
8668 /* We use char because int might match the return type of a gcc2 | 8739 /* We use char because int might match the return type of a gcc2 |
8669 builtin and then its argument prototype would still apply. */ | 8740 builtin and then its argument prototype would still apply. */ |
8670 char XmStringFree(); | 8741 char XmStringFree(); |
8671 | 8742 |
8672 int main() { | 8743 int main() { |
8673 XmStringFree() | 8744 XmStringFree() |
8674 ; return 0; } | 8745 ; return 0; } |
8675 EOF | 8746 EOF |
8676 if { (eval echo configure:8677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8747 if { (eval echo configure:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8677 rm -rf conftest* | 8748 rm -rf conftest* |
8678 eval "ac_cv_lib_$ac_lib_var=yes" | 8749 eval "ac_cv_lib_$ac_lib_var=yes" |
8679 else | 8750 else |
8680 echo "configure: failed program was:" >&5 | 8751 echo "configure: failed program was:" >&5 |
8681 cat conftest.$ac_ext >&5 | 8752 cat conftest.$ac_ext >&5 |
8700 fi | 8771 fi |
8701 | 8772 |
8702 | 8773 |
8703 if test "$have_motif" = "yes"; then | 8774 if test "$have_motif" = "yes"; then |
8704 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 8775 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
8705 echo "configure:8706: checking for Lesstif" >&5 | 8776 echo "configure:8777: checking for Lesstif" >&5 |
8706 cat > conftest.$ac_ext <<EOF | 8777 cat > conftest.$ac_ext <<EOF |
8707 #line 8708 "configure" | 8778 #line 8779 "configure" |
8708 #include "confdefs.h" | 8779 #include "confdefs.h" |
8709 #include <Xm/Xm.h> | 8780 #include <Xm/Xm.h> |
8710 #ifdef LESSTIF_VERSION | 8781 #ifdef LESSTIF_VERSION |
8711 yes | 8782 yes |
8712 #endif | 8783 #endif |
9108 fi | 9179 fi |
9109 fi | 9180 fi |
9110 | 9181 |
9111 if test "$with_mule" = "yes" ; then | 9182 if test "$with_mule" = "yes" ; then |
9112 echo "checking for Mule-related features" 1>&6 | 9183 echo "checking for Mule-related features" 1>&6 |
9113 echo "configure:9114: checking for Mule-related features" >&5 | 9184 echo "configure:9185: checking for Mule-related features" >&5 |
9114 { test "$extra_verbose" = "yes" && cat << \EOF | 9185 { test "$extra_verbose" = "yes" && cat << \EOF |
9115 Defining MULE | 9186 Defining MULE |
9116 EOF | 9187 EOF |
9117 cat >> confdefs.h <<\EOF | 9188 cat >> confdefs.h <<\EOF |
9118 #define MULE 1 | 9189 #define MULE 1 |
9133 | 9204 |
9134 for ac_hdr in libintl.h | 9205 for ac_hdr in libintl.h |
9135 do | 9206 do |
9136 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9207 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9137 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9138 echo "configure:9139: checking for $ac_hdr" >&5 | 9209 echo "configure:9210: checking for $ac_hdr" >&5 |
9139 | 9210 |
9140 cat > conftest.$ac_ext <<EOF | 9211 cat > conftest.$ac_ext <<EOF |
9141 #line 9142 "configure" | 9212 #line 9213 "configure" |
9142 #include "confdefs.h" | 9213 #include "confdefs.h" |
9143 #include <$ac_hdr> | 9214 #include <$ac_hdr> |
9144 EOF | 9215 EOF |
9145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9146 { (eval echo configure:9147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9217 { (eval echo configure:9218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9148 if test -z "$ac_err"; then | 9219 if test -z "$ac_err"; then |
9149 rm -rf conftest* | 9220 rm -rf conftest* |
9150 eval "ac_cv_header_$ac_safe=yes" | 9221 eval "ac_cv_header_$ac_safe=yes" |
9151 else | 9222 else |
9172 fi | 9243 fi |
9173 done | 9244 done |
9174 | 9245 |
9175 | 9246 |
9176 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9247 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9177 echo "configure:9178: checking for strerror in -lintl" >&5 | 9248 echo "configure:9249: checking for strerror in -lintl" >&5 |
9178 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9249 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9179 | 9250 |
9180 xe_check_libs=" -lintl " | 9251 xe_check_libs=" -lintl " |
9181 cat > conftest.$ac_ext <<EOF | 9252 cat > conftest.$ac_ext <<EOF |
9182 #line 9183 "configure" | 9253 #line 9254 "configure" |
9183 #include "confdefs.h" | 9254 #include "confdefs.h" |
9184 /* Override any gcc2 internal prototype to avoid an error. */ | 9255 /* Override any gcc2 internal prototype to avoid an error. */ |
9185 /* We use char because int might match the return type of a gcc2 | 9256 /* We use char because int might match the return type of a gcc2 |
9186 builtin and then its argument prototype would still apply. */ | 9257 builtin and then its argument prototype would still apply. */ |
9187 char strerror(); | 9258 char strerror(); |
9188 | 9259 |
9189 int main() { | 9260 int main() { |
9190 strerror() | 9261 strerror() |
9191 ; return 0; } | 9262 ; return 0; } |
9192 EOF | 9263 EOF |
9193 if { (eval echo configure:9194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9264 if { (eval echo configure:9265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9194 rm -rf conftest* | 9265 rm -rf conftest* |
9195 eval "ac_cv_lib_$ac_lib_var=yes" | 9266 eval "ac_cv_lib_$ac_lib_var=yes" |
9196 else | 9267 else |
9197 echo "configure: failed program was:" >&5 | 9268 echo "configure: failed program was:" >&5 |
9198 cat conftest.$ac_ext >&5 | 9269 cat conftest.$ac_ext >&5 |
9221 fi | 9292 fi |
9222 | 9293 |
9223 | 9294 |
9224 | 9295 |
9225 echo "checking for Mule input methods" 1>&6 | 9296 echo "checking for Mule input methods" 1>&6 |
9226 echo "configure:9227: checking for Mule input methods" >&5 | 9297 echo "configure:9298: checking for Mule input methods" >&5 |
9227 case "$with_xim" in "" | "yes" ) | 9298 case "$with_xim" in "" | "yes" ) |
9228 echo "checking for XIM" 1>&6 | 9299 echo "checking for XIM" 1>&6 |
9229 echo "configure:9230: checking for XIM" >&5 | 9300 echo "configure:9301: checking for XIM" >&5 |
9230 | 9301 |
9231 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9302 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9232 echo "configure:9233: checking for XOpenIM in -lX11" >&5 | 9303 echo "configure:9304: checking for XOpenIM in -lX11" >&5 |
9233 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9304 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9234 | 9305 |
9235 xe_check_libs=" -lX11 " | 9306 xe_check_libs=" -lX11 " |
9236 cat > conftest.$ac_ext <<EOF | 9307 cat > conftest.$ac_ext <<EOF |
9237 #line 9238 "configure" | 9308 #line 9309 "configure" |
9238 #include "confdefs.h" | 9309 #include "confdefs.h" |
9239 /* Override any gcc2 internal prototype to avoid an error. */ | 9310 /* Override any gcc2 internal prototype to avoid an error. */ |
9240 /* We use char because int might match the return type of a gcc2 | 9311 /* We use char because int might match the return type of a gcc2 |
9241 builtin and then its argument prototype would still apply. */ | 9312 builtin and then its argument prototype would still apply. */ |
9242 char XOpenIM(); | 9313 char XOpenIM(); |
9243 | 9314 |
9244 int main() { | 9315 int main() { |
9245 XOpenIM() | 9316 XOpenIM() |
9246 ; return 0; } | 9317 ; return 0; } |
9247 EOF | 9318 EOF |
9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9319 if { (eval echo configure:9320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9249 rm -rf conftest* | 9320 rm -rf conftest* |
9250 eval "ac_cv_lib_$ac_lib_var=yes" | 9321 eval "ac_cv_lib_$ac_lib_var=yes" |
9251 else | 9322 else |
9252 echo "configure: failed program was:" >&5 | 9323 echo "configure: failed program was:" >&5 |
9253 cat conftest.$ac_ext >&5 | 9324 cat conftest.$ac_ext >&5 |
9267 | 9338 |
9268 | 9339 |
9269 if test "$have_motif $have_lesstif" = "yes no"; then | 9340 if test "$have_motif $have_lesstif" = "yes no"; then |
9270 | 9341 |
9271 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9342 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9272 echo "configure:9273: checking for XmImMbLookupString in -lXm" >&5 | 9343 echo "configure:9344: checking for XmImMbLookupString in -lXm" >&5 |
9273 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9344 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9274 | 9345 |
9275 xe_check_libs=" -lXm " | 9346 xe_check_libs=" -lXm " |
9276 cat > conftest.$ac_ext <<EOF | 9347 cat > conftest.$ac_ext <<EOF |
9277 #line 9278 "configure" | 9348 #line 9349 "configure" |
9278 #include "confdefs.h" | 9349 #include "confdefs.h" |
9279 /* Override any gcc2 internal prototype to avoid an error. */ | 9350 /* Override any gcc2 internal prototype to avoid an error. */ |
9280 /* We use char because int might match the return type of a gcc2 | 9351 /* We use char because int might match the return type of a gcc2 |
9281 builtin and then its argument prototype would still apply. */ | 9352 builtin and then its argument prototype would still apply. */ |
9282 char XmImMbLookupString(); | 9353 char XmImMbLookupString(); |
9283 | 9354 |
9284 int main() { | 9355 int main() { |
9285 XmImMbLookupString() | 9356 XmImMbLookupString() |
9286 ; return 0; } | 9357 ; return 0; } |
9287 EOF | 9358 EOF |
9288 if { (eval echo configure:9289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9359 if { (eval echo configure:9360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9289 rm -rf conftest* | 9360 rm -rf conftest* |
9290 eval "ac_cv_lib_$ac_lib_var=yes" | 9361 eval "ac_cv_lib_$ac_lib_var=yes" |
9291 else | 9362 else |
9292 echo "configure: failed program was:" >&5 | 9363 echo "configure: failed program was:" >&5 |
9293 cat conftest.$ac_ext >&5 | 9364 cat conftest.$ac_ext >&5 |
9348 fi | 9419 fi |
9349 fi | 9420 fi |
9350 | 9421 |
9351 if test "$with_xfs" = "yes" ; then | 9422 if test "$with_xfs" = "yes" ; then |
9352 echo "checking for XFontSet" 1>&6 | 9423 echo "checking for XFontSet" 1>&6 |
9353 echo "configure:9354: checking for XFontSet" >&5 | 9424 echo "configure:9425: checking for XFontSet" >&5 |
9354 | 9425 |
9355 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9426 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
9356 echo "configure:9357: checking for XmbDrawString in -lX11" >&5 | 9427 echo "configure:9428: checking for XmbDrawString in -lX11" >&5 |
9357 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9428 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
9358 | 9429 |
9359 xe_check_libs=" -lX11 " | 9430 xe_check_libs=" -lX11 " |
9360 cat > conftest.$ac_ext <<EOF | 9431 cat > conftest.$ac_ext <<EOF |
9361 #line 9362 "configure" | 9432 #line 9433 "configure" |
9362 #include "confdefs.h" | 9433 #include "confdefs.h" |
9363 /* Override any gcc2 internal prototype to avoid an error. */ | 9434 /* Override any gcc2 internal prototype to avoid an error. */ |
9364 /* We use char because int might match the return type of a gcc2 | 9435 /* We use char because int might match the return type of a gcc2 |
9365 builtin and then its argument prototype would still apply. */ | 9436 builtin and then its argument prototype would still apply. */ |
9366 char XmbDrawString(); | 9437 char XmbDrawString(); |
9367 | 9438 |
9368 int main() { | 9439 int main() { |
9369 XmbDrawString() | 9440 XmbDrawString() |
9370 ; return 0; } | 9441 ; return 0; } |
9371 EOF | 9442 EOF |
9372 if { (eval echo configure:9373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9443 if { (eval echo configure:9444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9373 rm -rf conftest* | 9444 rm -rf conftest* |
9374 eval "ac_cv_lib_$ac_lib_var=yes" | 9445 eval "ac_cv_lib_$ac_lib_var=yes" |
9375 else | 9446 else |
9376 echo "configure: failed program was:" >&5 | 9447 echo "configure: failed program was:" >&5 |
9377 cat conftest.$ac_ext >&5 | 9448 cat conftest.$ac_ext >&5 |
9407 fi | 9478 fi |
9408 fi | 9479 fi |
9409 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9480 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
9410 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9481 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
9411 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9482 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
9412 echo "configure:9413: checking for wnn/jllib.h" >&5 | 9483 echo "configure:9484: checking for wnn/jllib.h" >&5 |
9413 | 9484 |
9414 cat > conftest.$ac_ext <<EOF | 9485 cat > conftest.$ac_ext <<EOF |
9415 #line 9416 "configure" | 9486 #line 9487 "configure" |
9416 #include "confdefs.h" | 9487 #include "confdefs.h" |
9417 #include <wnn/jllib.h> | 9488 #include <wnn/jllib.h> |
9418 EOF | 9489 EOF |
9419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9420 { (eval echo configure:9421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9491 { (eval echo configure:9492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9422 if test -z "$ac_err"; then | 9493 if test -z "$ac_err"; then |
9423 rm -rf conftest* | 9494 rm -rf conftest* |
9424 eval "ac_cv_header_$ac_safe=yes" | 9495 eval "ac_cv_header_$ac_safe=yes" |
9425 else | 9496 else |
9440 } | 9511 } |
9441 if test "$with_wnn" != "no"; then | 9512 if test "$with_wnn" != "no"; then |
9442 for ac_func in crypt | 9513 for ac_func in crypt |
9443 do | 9514 do |
9444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9445 echo "configure:9446: checking for $ac_func" >&5 | 9516 echo "configure:9517: checking for $ac_func" >&5 |
9446 | 9517 |
9447 cat > conftest.$ac_ext <<EOF | 9518 cat > conftest.$ac_ext <<EOF |
9448 #line 9449 "configure" | 9519 #line 9520 "configure" |
9449 #include "confdefs.h" | 9520 #include "confdefs.h" |
9450 /* System header to define __stub macros and hopefully few prototypes, | 9521 /* System header to define __stub macros and hopefully few prototypes, |
9451 which can conflict with char $ac_func(); below. */ | 9522 which can conflict with char $ac_func(); below. */ |
9452 #include <assert.h> | 9523 #include <assert.h> |
9453 /* Override any gcc2 internal prototype to avoid an error. */ | 9524 /* Override any gcc2 internal prototype to avoid an error. */ |
9466 $ac_func(); | 9537 $ac_func(); |
9467 #endif | 9538 #endif |
9468 | 9539 |
9469 ; return 0; } | 9540 ; return 0; } |
9470 EOF | 9541 EOF |
9471 if { (eval echo configure:9472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9472 rm -rf conftest* | 9543 rm -rf conftest* |
9473 eval "ac_cv_func_$ac_func=yes" | 9544 eval "ac_cv_func_$ac_func=yes" |
9474 else | 9545 else |
9475 echo "configure: failed program was:" >&5 | 9546 echo "configure: failed program was:" >&5 |
9476 cat conftest.$ac_ext >&5 | 9547 cat conftest.$ac_ext >&5 |
9495 fi | 9566 fi |
9496 done | 9567 done |
9497 | 9568 |
9498 test "$ac_cv_func_crypt" != "yes" && { | 9569 test "$ac_cv_func_crypt" != "yes" && { |
9499 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9570 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
9500 echo "configure:9501: checking for crypt in -lcrypt" >&5 | 9571 echo "configure:9572: checking for crypt in -lcrypt" >&5 |
9501 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9572 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
9502 | 9573 |
9503 xe_check_libs=" -lcrypt " | 9574 xe_check_libs=" -lcrypt " |
9504 cat > conftest.$ac_ext <<EOF | 9575 cat > conftest.$ac_ext <<EOF |
9505 #line 9506 "configure" | 9576 #line 9577 "configure" |
9506 #include "confdefs.h" | 9577 #include "confdefs.h" |
9507 /* Override any gcc2 internal prototype to avoid an error. */ | 9578 /* Override any gcc2 internal prototype to avoid an error. */ |
9508 /* We use char because int might match the return type of a gcc2 | 9579 /* We use char because int might match the return type of a gcc2 |
9509 builtin and then its argument prototype would still apply. */ | 9580 builtin and then its argument prototype would still apply. */ |
9510 char crypt(); | 9581 char crypt(); |
9511 | 9582 |
9512 int main() { | 9583 int main() { |
9513 crypt() | 9584 crypt() |
9514 ; return 0; } | 9585 ; return 0; } |
9515 EOF | 9586 EOF |
9516 if { (eval echo configure:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9587 if { (eval echo configure:9588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9517 rm -rf conftest* | 9588 rm -rf conftest* |
9518 eval "ac_cv_lib_$ac_lib_var=yes" | 9589 eval "ac_cv_lib_$ac_lib_var=yes" |
9519 else | 9590 else |
9520 echo "configure: failed program was:" >&5 | 9591 echo "configure: failed program was:" >&5 |
9521 cat conftest.$ac_ext >&5 | 9592 cat conftest.$ac_ext >&5 |
9546 } | 9617 } |
9547 fi | 9618 fi |
9548 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 9619 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
9549 | 9620 |
9550 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 9621 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
9551 echo "configure:9552: checking for jl_dic_list_e in -lwnn" >&5 | 9622 echo "configure:9623: checking for jl_dic_list_e in -lwnn" >&5 |
9552 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9623 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9553 | 9624 |
9554 xe_check_libs=" -lwnn " | 9625 xe_check_libs=" -lwnn " |
9555 cat > conftest.$ac_ext <<EOF | 9626 cat > conftest.$ac_ext <<EOF |
9556 #line 9557 "configure" | 9627 #line 9628 "configure" |
9557 #include "confdefs.h" | 9628 #include "confdefs.h" |
9558 /* Override any gcc2 internal prototype to avoid an error. */ | 9629 /* Override any gcc2 internal prototype to avoid an error. */ |
9559 /* We use char because int might match the return type of a gcc2 | 9630 /* We use char because int might match the return type of a gcc2 |
9560 builtin and then its argument prototype would still apply. */ | 9631 builtin and then its argument prototype would still apply. */ |
9561 char jl_dic_list_e(); | 9632 char jl_dic_list_e(); |
9562 | 9633 |
9563 int main() { | 9634 int main() { |
9564 jl_dic_list_e() | 9635 jl_dic_list_e() |
9565 ; return 0; } | 9636 ; return 0; } |
9566 EOF | 9637 EOF |
9567 if { (eval echo configure:9568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9638 if { (eval echo configure:9639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9568 rm -rf conftest* | 9639 rm -rf conftest* |
9569 eval "ac_cv_lib_$ac_lib_var=yes" | 9640 eval "ac_cv_lib_$ac_lib_var=yes" |
9570 else | 9641 else |
9571 echo "configure: failed program was:" >&5 | 9642 echo "configure: failed program was:" >&5 |
9572 cat conftest.$ac_ext >&5 | 9643 cat conftest.$ac_ext >&5 |
9580 echo "$ac_t""yes" 1>&6 | 9651 echo "$ac_t""yes" 1>&6 |
9581 libwnn=wnn | 9652 libwnn=wnn |
9582 else | 9653 else |
9583 echo "$ac_t""no" 1>&6 | 9654 echo "$ac_t""no" 1>&6 |
9584 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 9655 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
9585 echo "configure:9586: checking for jl_dic_list_e in -lwnn4" >&5 | 9656 echo "configure:9657: checking for jl_dic_list_e in -lwnn4" >&5 |
9586 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9657 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9587 | 9658 |
9588 xe_check_libs=" -lwnn4 " | 9659 xe_check_libs=" -lwnn4 " |
9589 cat > conftest.$ac_ext <<EOF | 9660 cat > conftest.$ac_ext <<EOF |
9590 #line 9591 "configure" | 9661 #line 9662 "configure" |
9591 #include "confdefs.h" | 9662 #include "confdefs.h" |
9592 /* Override any gcc2 internal prototype to avoid an error. */ | 9663 /* Override any gcc2 internal prototype to avoid an error. */ |
9593 /* We use char because int might match the return type of a gcc2 | 9664 /* We use char because int might match the return type of a gcc2 |
9594 builtin and then its argument prototype would still apply. */ | 9665 builtin and then its argument prototype would still apply. */ |
9595 char jl_dic_list_e(); | 9666 char jl_dic_list_e(); |
9596 | 9667 |
9597 int main() { | 9668 int main() { |
9598 jl_dic_list_e() | 9669 jl_dic_list_e() |
9599 ; return 0; } | 9670 ; return 0; } |
9600 EOF | 9671 EOF |
9601 if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9672 if { (eval echo configure:9673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9602 rm -rf conftest* | 9673 rm -rf conftest* |
9603 eval "ac_cv_lib_$ac_lib_var=yes" | 9674 eval "ac_cv_lib_$ac_lib_var=yes" |
9604 else | 9675 else |
9605 echo "configure: failed program was:" >&5 | 9676 echo "configure: failed program was:" >&5 |
9606 cat conftest.$ac_ext >&5 | 9677 cat conftest.$ac_ext >&5 |
9614 echo "$ac_t""yes" 1>&6 | 9685 echo "$ac_t""yes" 1>&6 |
9615 libwnn=wnn4 | 9686 libwnn=wnn4 |
9616 else | 9687 else |
9617 echo "$ac_t""no" 1>&6 | 9688 echo "$ac_t""no" 1>&6 |
9618 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 9689 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
9619 echo "configure:9620: checking for jl_dic_list_e in -lwnn6" >&5 | 9690 echo "configure:9691: checking for jl_dic_list_e in -lwnn6" >&5 |
9620 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9691 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9621 | 9692 |
9622 xe_check_libs=" -lwnn6 " | 9693 xe_check_libs=" -lwnn6 " |
9623 cat > conftest.$ac_ext <<EOF | 9694 cat > conftest.$ac_ext <<EOF |
9624 #line 9625 "configure" | 9695 #line 9696 "configure" |
9625 #include "confdefs.h" | 9696 #include "confdefs.h" |
9626 /* Override any gcc2 internal prototype to avoid an error. */ | 9697 /* Override any gcc2 internal prototype to avoid an error. */ |
9627 /* We use char because int might match the return type of a gcc2 | 9698 /* We use char because int might match the return type of a gcc2 |
9628 builtin and then its argument prototype would still apply. */ | 9699 builtin and then its argument prototype would still apply. */ |
9629 char jl_dic_list_e(); | 9700 char jl_dic_list_e(); |
9630 | 9701 |
9631 int main() { | 9702 int main() { |
9632 jl_dic_list_e() | 9703 jl_dic_list_e() |
9633 ; return 0; } | 9704 ; return 0; } |
9634 EOF | 9705 EOF |
9635 if { (eval echo configure:9636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9706 if { (eval echo configure:9707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9636 rm -rf conftest* | 9707 rm -rf conftest* |
9637 eval "ac_cv_lib_$ac_lib_var=yes" | 9708 eval "ac_cv_lib_$ac_lib_var=yes" |
9638 else | 9709 else |
9639 echo "configure: failed program was:" >&5 | 9710 echo "configure: failed program was:" >&5 |
9640 cat conftest.$ac_ext >&5 | 9711 cat conftest.$ac_ext >&5 |
9648 echo "$ac_t""yes" 1>&6 | 9719 echo "$ac_t""yes" 1>&6 |
9649 libwnn=wnn6 | 9720 libwnn=wnn6 |
9650 else | 9721 else |
9651 echo "$ac_t""no" 1>&6 | 9722 echo "$ac_t""no" 1>&6 |
9652 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 9723 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
9653 echo "configure:9654: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 9724 echo "configure:9725: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
9654 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 9725 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
9655 | 9726 |
9656 xe_check_libs=" -lwnn6_fromsrc " | 9727 xe_check_libs=" -lwnn6_fromsrc " |
9657 cat > conftest.$ac_ext <<EOF | 9728 cat > conftest.$ac_ext <<EOF |
9658 #line 9659 "configure" | 9729 #line 9730 "configure" |
9659 #include "confdefs.h" | 9730 #include "confdefs.h" |
9660 /* Override any gcc2 internal prototype to avoid an error. */ | 9731 /* Override any gcc2 internal prototype to avoid an error. */ |
9661 /* We use char because int might match the return type of a gcc2 | 9732 /* We use char because int might match the return type of a gcc2 |
9662 builtin and then its argument prototype would still apply. */ | 9733 builtin and then its argument prototype would still apply. */ |
9663 char dic_list_e(); | 9734 char dic_list_e(); |
9664 | 9735 |
9665 int main() { | 9736 int main() { |
9666 dic_list_e() | 9737 dic_list_e() |
9667 ; return 0; } | 9738 ; return 0; } |
9668 EOF | 9739 EOF |
9669 if { (eval echo configure:9670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9740 if { (eval echo configure:9741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9670 rm -rf conftest* | 9741 rm -rf conftest* |
9671 eval "ac_cv_lib_$ac_lib_var=yes" | 9742 eval "ac_cv_lib_$ac_lib_var=yes" |
9672 else | 9743 else |
9673 echo "configure: failed program was:" >&5 | 9744 echo "configure: failed program was:" >&5 |
9674 cat conftest.$ac_ext >&5 | 9745 cat conftest.$ac_ext >&5 |
9712 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 9783 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
9713 fi | 9784 fi |
9714 if test "$with_wnn6" != "no"; then | 9785 if test "$with_wnn6" != "no"; then |
9715 | 9786 |
9716 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 9787 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
9717 echo "configure:9718: checking for jl_fi_dic_list in -l$libwnn" >&5 | 9788 echo "configure:9789: checking for jl_fi_dic_list in -l$libwnn" >&5 |
9718 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 9789 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
9719 | 9790 |
9720 xe_check_libs=" -l$libwnn " | 9791 xe_check_libs=" -l$libwnn " |
9721 cat > conftest.$ac_ext <<EOF | 9792 cat > conftest.$ac_ext <<EOF |
9722 #line 9723 "configure" | 9793 #line 9794 "configure" |
9723 #include "confdefs.h" | 9794 #include "confdefs.h" |
9724 /* Override any gcc2 internal prototype to avoid an error. */ | 9795 /* Override any gcc2 internal prototype to avoid an error. */ |
9725 /* We use char because int might match the return type of a gcc2 | 9796 /* We use char because int might match the return type of a gcc2 |
9726 builtin and then its argument prototype would still apply. */ | 9797 builtin and then its argument prototype would still apply. */ |
9727 char jl_fi_dic_list(); | 9798 char jl_fi_dic_list(); |
9728 | 9799 |
9729 int main() { | 9800 int main() { |
9730 jl_fi_dic_list() | 9801 jl_fi_dic_list() |
9731 ; return 0; } | 9802 ; return 0; } |
9732 EOF | 9803 EOF |
9733 if { (eval echo configure:9734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9804 if { (eval echo configure:9805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9734 rm -rf conftest* | 9805 rm -rf conftest* |
9735 eval "ac_cv_lib_$ac_lib_var=yes" | 9806 eval "ac_cv_lib_$ac_lib_var=yes" |
9736 else | 9807 else |
9737 echo "configure: failed program was:" >&5 | 9808 echo "configure: failed program was:" >&5 |
9738 cat conftest.$ac_ext >&5 | 9809 cat conftest.$ac_ext >&5 |
9763 | 9834 |
9764 canna_includes_found=no | 9835 canna_includes_found=no |
9765 if test "$with_canna" != "no"; then | 9836 if test "$with_canna" != "no"; then |
9766 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9837 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9767 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9838 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9768 echo "configure:9769: checking for canna/jrkanji.h" >&5 | 9839 echo "configure:9840: checking for canna/jrkanji.h" >&5 |
9769 | 9840 |
9770 cat > conftest.$ac_ext <<EOF | 9841 cat > conftest.$ac_ext <<EOF |
9771 #line 9772 "configure" | 9842 #line 9843 "configure" |
9772 #include "confdefs.h" | 9843 #include "confdefs.h" |
9773 #include <canna/jrkanji.h> | 9844 #include <canna/jrkanji.h> |
9774 EOF | 9845 EOF |
9775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9776 { (eval echo configure:9777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9847 { (eval echo configure:9848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9778 if test -z "$ac_err"; then | 9849 if test -z "$ac_err"; then |
9779 rm -rf conftest* | 9850 rm -rf conftest* |
9780 eval "ac_cv_header_$ac_safe=yes" | 9851 eval "ac_cv_header_$ac_safe=yes" |
9781 else | 9852 else |
9798 -d "/usr/local/canna/include"; then | 9869 -d "/usr/local/canna/include"; then |
9799 save_c_switch_site="$c_switch_site" | 9870 save_c_switch_site="$c_switch_site" |
9800 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 9871 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
9801 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9872 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9802 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9873 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9803 echo "configure:9804: checking for canna/jrkanji.h" >&5 | 9874 echo "configure:9875: checking for canna/jrkanji.h" >&5 |
9804 | 9875 |
9805 cat > conftest.$ac_ext <<EOF | 9876 cat > conftest.$ac_ext <<EOF |
9806 #line 9807 "configure" | 9877 #line 9878 "configure" |
9807 #include "confdefs.h" | 9878 #include "confdefs.h" |
9808 #include <canna/jrkanji.h> | 9879 #include <canna/jrkanji.h> |
9809 EOF | 9880 EOF |
9810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9811 { (eval echo configure:9812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9882 { (eval echo configure:9883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9813 if test -z "$ac_err"; then | 9884 if test -z "$ac_err"; then |
9814 rm -rf conftest* | 9885 rm -rf conftest* |
9815 eval "ac_cv_header_$ac_safe=yes" | 9886 eval "ac_cv_header_$ac_safe=yes" |
9816 else | 9887 else |
9834 fi | 9905 fi |
9835 fi | 9906 fi |
9836 | 9907 |
9837 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 9908 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
9838 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 9909 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
9839 echo "configure:9840: checking for canna/RK.h" >&5 | 9910 echo "configure:9911: checking for canna/RK.h" >&5 |
9840 | 9911 |
9841 cat > conftest.$ac_ext <<EOF | 9912 cat > conftest.$ac_ext <<EOF |
9842 #line 9843 "configure" | 9913 #line 9914 "configure" |
9843 #include "confdefs.h" | 9914 #include "confdefs.h" |
9844 #include <canna/RK.h> | 9915 #include <canna/RK.h> |
9845 EOF | 9916 EOF |
9846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9917 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9847 { (eval echo configure:9848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9918 { (eval echo configure:9919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9919 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9849 if test -z "$ac_err"; then | 9920 if test -z "$ac_err"; then |
9850 rm -rf conftest* | 9921 rm -rf conftest* |
9851 eval "ac_cv_header_$ac_safe=yes" | 9922 eval "ac_cv_header_$ac_safe=yes" |
9852 else | 9923 else |
9865 with_canna=no | 9936 with_canna=no |
9866 fi | 9937 fi |
9867 } | 9938 } |
9868 test -z "$with_canna" && { | 9939 test -z "$with_canna" && { |
9869 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 9940 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
9870 echo "configure:9871: checking for RkBgnBun in -lRKC" >&5 | 9941 echo "configure:9942: checking for RkBgnBun in -lRKC" >&5 |
9871 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 9942 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
9872 | 9943 |
9873 xe_check_libs=" -lRKC " | 9944 xe_check_libs=" -lRKC " |
9874 cat > conftest.$ac_ext <<EOF | 9945 cat > conftest.$ac_ext <<EOF |
9875 #line 9876 "configure" | 9946 #line 9947 "configure" |
9876 #include "confdefs.h" | 9947 #include "confdefs.h" |
9877 /* Override any gcc2 internal prototype to avoid an error. */ | 9948 /* Override any gcc2 internal prototype to avoid an error. */ |
9878 /* We use char because int might match the return type of a gcc2 | 9949 /* We use char because int might match the return type of a gcc2 |
9879 builtin and then its argument prototype would still apply. */ | 9950 builtin and then its argument prototype would still apply. */ |
9880 char RkBgnBun(); | 9951 char RkBgnBun(); |
9881 | 9952 |
9882 int main() { | 9953 int main() { |
9883 RkBgnBun() | 9954 RkBgnBun() |
9884 ; return 0; } | 9955 ; return 0; } |
9885 EOF | 9956 EOF |
9886 if { (eval echo configure:9887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9957 if { (eval echo configure:9958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9887 rm -rf conftest* | 9958 rm -rf conftest* |
9888 eval "ac_cv_lib_$ac_lib_var=yes" | 9959 eval "ac_cv_lib_$ac_lib_var=yes" |
9889 else | 9960 else |
9890 echo "configure: failed program was:" >&5 | 9961 echo "configure: failed program was:" >&5 |
9891 cat conftest.$ac_ext >&5 | 9962 cat conftest.$ac_ext >&5 |
9904 fi | 9975 fi |
9905 | 9976 |
9906 } | 9977 } |
9907 test -z "$with_canna" && { | 9978 test -z "$with_canna" && { |
9908 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 9979 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
9909 echo "configure:9910: checking for jrKanjiControl in -lcanna" >&5 | 9980 echo "configure:9981: checking for jrKanjiControl in -lcanna" >&5 |
9910 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 9981 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
9911 | 9982 |
9912 xe_check_libs=" -lcanna " | 9983 xe_check_libs=" -lcanna " |
9913 cat > conftest.$ac_ext <<EOF | 9984 cat > conftest.$ac_ext <<EOF |
9914 #line 9915 "configure" | 9985 #line 9986 "configure" |
9915 #include "confdefs.h" | 9986 #include "confdefs.h" |
9916 /* Override any gcc2 internal prototype to avoid an error. */ | 9987 /* Override any gcc2 internal prototype to avoid an error. */ |
9917 /* We use char because int might match the return type of a gcc2 | 9988 /* We use char because int might match the return type of a gcc2 |
9918 builtin and then its argument prototype would still apply. */ | 9989 builtin and then its argument prototype would still apply. */ |
9919 char jrKanjiControl(); | 9990 char jrKanjiControl(); |
9920 | 9991 |
9921 int main() { | 9992 int main() { |
9922 jrKanjiControl() | 9993 jrKanjiControl() |
9923 ; return 0; } | 9994 ; return 0; } |
9924 EOF | 9995 EOF |
9925 if { (eval echo configure:9926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9996 if { (eval echo configure:9997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9926 rm -rf conftest* | 9997 rm -rf conftest* |
9927 eval "ac_cv_lib_$ac_lib_var=yes" | 9998 eval "ac_cv_lib_$ac_lib_var=yes" |
9928 else | 9999 else |
9929 echo "configure: failed program was:" >&5 | 10000 echo "configure: failed program was:" >&5 |
9930 cat conftest.$ac_ext >&5 | 10001 cat conftest.$ac_ext >&5 |
9969 | 10040 |
9970 if test "$need_motif" = "yes" ; then | 10041 if test "$need_motif" = "yes" ; then |
9971 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10042 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
9972 | 10043 |
9973 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10044 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
9974 echo "configure:9975: checking for layout_object_getvalue in -li18n" >&5 | 10045 echo "configure:10046: checking for layout_object_getvalue in -li18n" >&5 |
9975 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10046 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
9976 | 10047 |
9977 xe_check_libs=" -li18n " | 10048 xe_check_libs=" -li18n " |
9978 cat > conftest.$ac_ext <<EOF | 10049 cat > conftest.$ac_ext <<EOF |
9979 #line 9980 "configure" | 10050 #line 10051 "configure" |
9980 #include "confdefs.h" | 10051 #include "confdefs.h" |
9981 /* Override any gcc2 internal prototype to avoid an error. */ | 10052 /* Override any gcc2 internal prototype to avoid an error. */ |
9982 /* We use char because int might match the return type of a gcc2 | 10053 /* We use char because int might match the return type of a gcc2 |
9983 builtin and then its argument prototype would still apply. */ | 10054 builtin and then its argument prototype would still apply. */ |
9984 char layout_object_getvalue(); | 10055 char layout_object_getvalue(); |
9985 | 10056 |
9986 int main() { | 10057 int main() { |
9987 layout_object_getvalue() | 10058 layout_object_getvalue() |
9988 ; return 0; } | 10059 ; return 0; } |
9989 EOF | 10060 EOF |
9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10061 if { (eval echo configure:10062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9991 rm -rf conftest* | 10062 rm -rf conftest* |
9992 eval "ac_cv_lib_$ac_lib_var=yes" | 10063 eval "ac_cv_lib_$ac_lib_var=yes" |
9993 else | 10064 else |
9994 echo "configure: failed program was:" >&5 | 10065 echo "configure: failed program was:" >&5 |
9995 cat conftest.$ac_ext >&5 | 10066 cat conftest.$ac_ext >&5 |
10071 fi | 10142 fi |
10072 | 10143 |
10073 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask | 10144 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask |
10074 do | 10145 do |
10075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10076 echo "configure:10077: checking for $ac_func" >&5 | 10147 echo "configure:10148: checking for $ac_func" >&5 |
10077 | 10148 |
10078 cat > conftest.$ac_ext <<EOF | 10149 cat > conftest.$ac_ext <<EOF |
10079 #line 10080 "configure" | 10150 #line 10151 "configure" |
10080 #include "confdefs.h" | 10151 #include "confdefs.h" |
10081 /* System header to define __stub macros and hopefully few prototypes, | 10152 /* System header to define __stub macros and hopefully few prototypes, |
10082 which can conflict with char $ac_func(); below. */ | 10153 which can conflict with char $ac_func(); below. */ |
10083 #include <assert.h> | 10154 #include <assert.h> |
10084 /* Override any gcc2 internal prototype to avoid an error. */ | 10155 /* Override any gcc2 internal prototype to avoid an error. */ |
10097 $ac_func(); | 10168 $ac_func(); |
10098 #endif | 10169 #endif |
10099 | 10170 |
10100 ; return 0; } | 10171 ; return 0; } |
10101 EOF | 10172 EOF |
10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10173 if { (eval echo configure:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10103 rm -rf conftest* | 10174 rm -rf conftest* |
10104 eval "ac_cv_func_$ac_func=yes" | 10175 eval "ac_cv_func_$ac_func=yes" |
10105 else | 10176 else |
10106 echo "configure: failed program was:" >&5 | 10177 echo "configure: failed program was:" >&5 |
10107 cat conftest.$ac_ext >&5 | 10178 cat conftest.$ac_ext >&5 |
10125 echo "$ac_t""no" 1>&6 | 10196 echo "$ac_t""no" 1>&6 |
10126 fi | 10197 fi |
10127 done | 10198 done |
10128 | 10199 |
10129 | 10200 |
10130 for ac_func in getpt _getpt grantpt unlockpt ptsname killpg tcgetpgrp | 10201 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10131 do | 10202 do |
10132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10133 echo "configure:10134: checking for $ac_func" >&5 | 10204 echo "configure:10205: checking for $ac_func" >&5 |
10134 | 10205 |
10135 cat > conftest.$ac_ext <<EOF | 10206 cat > conftest.$ac_ext <<EOF |
10136 #line 10137 "configure" | 10207 #line 10208 "configure" |
10137 #include "confdefs.h" | 10208 #include "confdefs.h" |
10138 /* System header to define __stub macros and hopefully few prototypes, | 10209 /* System header to define __stub macros and hopefully few prototypes, |
10139 which can conflict with char $ac_func(); below. */ | 10210 which can conflict with char $ac_func(); below. */ |
10140 #include <assert.h> | 10211 #include <assert.h> |
10141 /* Override any gcc2 internal prototype to avoid an error. */ | 10212 /* Override any gcc2 internal prototype to avoid an error. */ |
10154 $ac_func(); | 10225 $ac_func(); |
10155 #endif | 10226 #endif |
10156 | 10227 |
10157 ; return 0; } | 10228 ; return 0; } |
10158 EOF | 10229 EOF |
10159 if { (eval echo configure:10160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10230 if { (eval echo configure:10231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10160 rm -rf conftest* | 10231 rm -rf conftest* |
10161 eval "ac_cv_func_$ac_func=yes" | 10232 eval "ac_cv_func_$ac_func=yes" |
10162 else | 10233 else |
10163 echo "configure: failed program was:" >&5 | 10234 echo "configure: failed program was:" >&5 |
10164 cat conftest.$ac_ext >&5 | 10235 cat conftest.$ac_ext >&5 |
10183 fi | 10254 fi |
10184 done | 10255 done |
10185 | 10256 |
10186 | 10257 |
10187 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10258 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10188 echo "configure:10189: checking for openpty" >&5 | 10259 echo "configure:10260: checking for openpty" >&5 |
10189 | 10260 |
10190 cat > conftest.$ac_ext <<EOF | 10261 cat > conftest.$ac_ext <<EOF |
10191 #line 10192 "configure" | 10262 #line 10263 "configure" |
10192 #include "confdefs.h" | 10263 #include "confdefs.h" |
10193 /* System header to define __stub macros and hopefully few prototypes, | 10264 /* System header to define __stub macros and hopefully few prototypes, |
10194 which can conflict with char openpty(); below. */ | 10265 which can conflict with char openpty(); below. */ |
10195 #include <assert.h> | 10266 #include <assert.h> |
10196 /* Override any gcc2 internal prototype to avoid an error. */ | 10267 /* Override any gcc2 internal prototype to avoid an error. */ |
10209 openpty(); | 10280 openpty(); |
10210 #endif | 10281 #endif |
10211 | 10282 |
10212 ; return 0; } | 10283 ; return 0; } |
10213 EOF | 10284 EOF |
10214 if { (eval echo configure:10215: \"$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 |
10215 rm -rf conftest* | 10286 rm -rf conftest* |
10216 eval "ac_cv_func_openpty=yes" | 10287 eval "ac_cv_func_openpty=yes" |
10217 else | 10288 else |
10218 echo "configure: failed program was:" >&5 | 10289 echo "configure: failed program was:" >&5 |
10219 cat conftest.$ac_ext >&5 | 10290 cat conftest.$ac_ext >&5 |
10228 else | 10299 else |
10229 echo "$ac_t""no" 1>&6 | 10300 echo "$ac_t""no" 1>&6 |
10230 | 10301 |
10231 | 10302 |
10232 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10303 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10233 echo "configure:10234: checking for openpty in -lutil" >&5 | 10304 echo "configure:10305: checking for openpty in -lutil" >&5 |
10234 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10305 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10235 | 10306 |
10236 xe_check_libs=" -lutil " | 10307 xe_check_libs=" -lutil " |
10237 cat > conftest.$ac_ext <<EOF | 10308 cat > conftest.$ac_ext <<EOF |
10238 #line 10239 "configure" | 10309 #line 10310 "configure" |
10239 #include "confdefs.h" | 10310 #include "confdefs.h" |
10240 /* Override any gcc2 internal prototype to avoid an error. */ | 10311 /* Override any gcc2 internal prototype to avoid an error. */ |
10241 /* We use char because int might match the return type of a gcc2 | 10312 /* We use char because int might match the return type of a gcc2 |
10242 builtin and then its argument prototype would still apply. */ | 10313 builtin and then its argument prototype would still apply. */ |
10243 char openpty(); | 10314 char openpty(); |
10244 | 10315 |
10245 int main() { | 10316 int main() { |
10246 openpty() | 10317 openpty() |
10247 ; return 0; } | 10318 ; return 0; } |
10248 EOF | 10319 EOF |
10249 if { (eval echo configure:10250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10320 if { (eval echo configure:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10250 rm -rf conftest* | 10321 rm -rf conftest* |
10251 eval "ac_cv_lib_$ac_lib_var=yes" | 10322 eval "ac_cv_lib_$ac_lib_var=yes" |
10252 else | 10323 else |
10253 echo "configure: failed program was:" >&5 | 10324 echo "configure: failed program was:" >&5 |
10254 cat conftest.$ac_ext >&5 | 10325 cat conftest.$ac_ext >&5 |
10279 | 10350 |
10280 for ac_hdr in pty.h libutil.h | 10351 for ac_hdr in pty.h libutil.h |
10281 do | 10352 do |
10282 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10353 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10283 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10354 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10284 echo "configure:10285: checking for $ac_hdr" >&5 | 10355 echo "configure:10356: checking for $ac_hdr" >&5 |
10285 | 10356 |
10286 cat > conftest.$ac_ext <<EOF | 10357 cat > conftest.$ac_ext <<EOF |
10287 #line 10288 "configure" | 10358 #line 10359 "configure" |
10288 #include "confdefs.h" | 10359 #include "confdefs.h" |
10289 #include <$ac_hdr> | 10360 #include <$ac_hdr> |
10290 EOF | 10361 EOF |
10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10363 { (eval echo configure:10364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10294 if test -z "$ac_err"; then | 10365 if test -z "$ac_err"; then |
10295 rm -rf conftest* | 10366 rm -rf conftest* |
10296 eval "ac_cv_header_$ac_safe=yes" | 10367 eval "ac_cv_header_$ac_safe=yes" |
10297 else | 10368 else |
10319 done | 10390 done |
10320 | 10391 |
10321 test "$need_libutil" = "yes" && libs_system="$libs_system -lutil" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lutil\" to \$libs_system"; fi | 10392 test "$need_libutil" = "yes" && libs_system="$libs_system -lutil" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lutil\" to \$libs_system"; fi |
10322 fi | 10393 fi |
10323 | 10394 |
10324 for ac_hdr in sys/stropts.h | 10395 for ac_hdr in stropts.h |
10325 do | 10396 do |
10326 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10397 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10327 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10398 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10328 echo "configure:10329: checking for $ac_hdr" >&5 | 10399 echo "configure:10400: checking for $ac_hdr" >&5 |
10329 | 10400 |
10330 cat > conftest.$ac_ext <<EOF | 10401 cat > conftest.$ac_ext <<EOF |
10331 #line 10332 "configure" | 10402 #line 10403 "configure" |
10332 #include "confdefs.h" | 10403 #include "confdefs.h" |
10333 #include <$ac_hdr> | 10404 #include <$ac_hdr> |
10334 EOF | 10405 EOF |
10335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10336 { (eval echo configure:10337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10407 { (eval echo configure:10408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10338 if test -z "$ac_err"; then | 10409 if test -z "$ac_err"; then |
10339 rm -rf conftest* | 10410 rm -rf conftest* |
10340 eval "ac_cv_header_$ac_safe=yes" | 10411 eval "ac_cv_header_$ac_safe=yes" |
10341 else | 10412 else |
10360 else | 10431 else |
10361 echo "$ac_t""no" 1>&6 | 10432 echo "$ac_t""no" 1>&6 |
10362 fi | 10433 fi |
10363 done | 10434 done |
10364 | 10435 |
10365 if test "$ac_cv_header_sys_stropts_h" = "yes"; then | 10436 if test "$ac_cv_header_stropts_h" = "yes"; then |
10366 for ac_func in isastream | 10437 for ac_func in isastream |
10367 do | 10438 do |
10368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10369 echo "configure:10370: checking for $ac_func" >&5 | 10440 echo "configure:10441: checking for $ac_func" >&5 |
10370 | 10441 |
10371 cat > conftest.$ac_ext <<EOF | 10442 cat > conftest.$ac_ext <<EOF |
10372 #line 10373 "configure" | 10443 #line 10444 "configure" |
10373 #include "confdefs.h" | 10444 #include "confdefs.h" |
10374 /* System header to define __stub macros and hopefully few prototypes, | 10445 /* System header to define __stub macros and hopefully few prototypes, |
10375 which can conflict with char $ac_func(); below. */ | 10446 which can conflict with char $ac_func(); below. */ |
10376 #include <assert.h> | 10447 #include <assert.h> |
10377 /* Override any gcc2 internal prototype to avoid an error. */ | 10448 /* Override any gcc2 internal prototype to avoid an error. */ |
10390 $ac_func(); | 10461 $ac_func(); |
10391 #endif | 10462 #endif |
10392 | 10463 |
10393 ; return 0; } | 10464 ; return 0; } |
10394 EOF | 10465 EOF |
10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10466 if { (eval echo configure:10467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10396 rm -rf conftest* | 10467 rm -rf conftest* |
10397 eval "ac_cv_func_$ac_func=yes" | 10468 eval "ac_cv_func_$ac_func=yes" |
10398 else | 10469 else |
10399 echo "configure: failed program was:" >&5 | 10470 echo "configure: failed program was:" >&5 |
10400 cat conftest.$ac_ext >&5 | 10471 cat conftest.$ac_ext >&5 |
10417 else | 10488 else |
10418 echo "$ac_t""no" 1>&6 | 10489 echo "$ac_t""no" 1>&6 |
10419 fi | 10490 fi |
10420 done | 10491 done |
10421 | 10492 |
10422 for ac_hdr in sys/strtio.h | 10493 for ac_hdr in strtio.h |
10423 do | 10494 do |
10424 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10495 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10425 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10496 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10426 echo "configure:10427: checking for $ac_hdr" >&5 | 10497 echo "configure:10498: checking for $ac_hdr" >&5 |
10427 | 10498 |
10428 cat > conftest.$ac_ext <<EOF | 10499 cat > conftest.$ac_ext <<EOF |
10429 #line 10430 "configure" | 10500 #line 10501 "configure" |
10430 #include "confdefs.h" | 10501 #include "confdefs.h" |
10431 #include <$ac_hdr> | 10502 #include <$ac_hdr> |
10432 EOF | 10503 EOF |
10433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10434 { (eval echo configure:10435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10505 { (eval echo configure:10506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10436 if test -z "$ac_err"; then | 10507 if test -z "$ac_err"; then |
10437 rm -rf conftest* | 10508 rm -rf conftest* |
10438 eval "ac_cv_header_$ac_safe=yes" | 10509 eval "ac_cv_header_$ac_safe=yes" |
10439 else | 10510 else |
10466 fi | 10537 fi |
10467 | 10538 |
10468 for ac_func in getloadavg | 10539 for ac_func in getloadavg |
10469 do | 10540 do |
10470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10471 echo "configure:10472: checking for $ac_func" >&5 | 10542 echo "configure:10543: checking for $ac_func" >&5 |
10472 | 10543 |
10473 cat > conftest.$ac_ext <<EOF | 10544 cat > conftest.$ac_ext <<EOF |
10474 #line 10475 "configure" | 10545 #line 10546 "configure" |
10475 #include "confdefs.h" | 10546 #include "confdefs.h" |
10476 /* System header to define __stub macros and hopefully few prototypes, | 10547 /* System header to define __stub macros and hopefully few prototypes, |
10477 which can conflict with char $ac_func(); below. */ | 10548 which can conflict with char $ac_func(); below. */ |
10478 #include <assert.h> | 10549 #include <assert.h> |
10479 /* Override any gcc2 internal prototype to avoid an error. */ | 10550 /* Override any gcc2 internal prototype to avoid an error. */ |
10492 $ac_func(); | 10563 $ac_func(); |
10493 #endif | 10564 #endif |
10494 | 10565 |
10495 ; return 0; } | 10566 ; return 0; } |
10496 EOF | 10567 EOF |
10497 if { (eval echo configure:10498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10568 if { (eval echo configure:10569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10498 rm -rf conftest* | 10569 rm -rf conftest* |
10499 eval "ac_cv_func_$ac_func=yes" | 10570 eval "ac_cv_func_$ac_func=yes" |
10500 else | 10571 else |
10501 echo "configure: failed program was:" >&5 | 10572 echo "configure: failed program was:" >&5 |
10502 cat conftest.$ac_ext >&5 | 10573 cat conftest.$ac_ext >&5 |
10525 if test "$ac_cv_func_getloadavg" = "yes"; then | 10596 if test "$ac_cv_func_getloadavg" = "yes"; then |
10526 for ac_hdr in sys/loadavg.h | 10597 for ac_hdr in sys/loadavg.h |
10527 do | 10598 do |
10528 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10529 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10530 echo "configure:10531: checking for $ac_hdr" >&5 | 10601 echo "configure:10602: checking for $ac_hdr" >&5 |
10531 | 10602 |
10532 cat > conftest.$ac_ext <<EOF | 10603 cat > conftest.$ac_ext <<EOF |
10533 #line 10534 "configure" | 10604 #line 10605 "configure" |
10534 #include "confdefs.h" | 10605 #include "confdefs.h" |
10535 #include <$ac_hdr> | 10606 #include <$ac_hdr> |
10536 EOF | 10607 EOF |
10537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10538 { (eval echo configure:10539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10609 { (eval echo configure:10610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10540 if test -z "$ac_err"; then | 10611 if test -z "$ac_err"; then |
10541 rm -rf conftest* | 10612 rm -rf conftest* |
10542 eval "ac_cv_header_$ac_safe=yes" | 10613 eval "ac_cv_header_$ac_safe=yes" |
10543 else | 10614 else |
10569 echo " xemacs will be linked with \"getloadavg.o\"" | 10640 echo " xemacs will be linked with \"getloadavg.o\"" |
10570 fi | 10641 fi |
10571 | 10642 |
10572 | 10643 |
10573 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 10644 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
10574 echo "configure:10575: checking for kstat_open in -lkstat" >&5 | 10645 echo "configure:10646: checking for kstat_open in -lkstat" >&5 |
10575 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 10646 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
10576 | 10647 |
10577 xe_check_libs=" -lkstat " | 10648 xe_check_libs=" -lkstat " |
10578 cat > conftest.$ac_ext <<EOF | 10649 cat > conftest.$ac_ext <<EOF |
10579 #line 10580 "configure" | 10650 #line 10651 "configure" |
10580 #include "confdefs.h" | 10651 #include "confdefs.h" |
10581 /* Override any gcc2 internal prototype to avoid an error. */ | 10652 /* Override any gcc2 internal prototype to avoid an error. */ |
10582 /* We use char because int might match the return type of a gcc2 | 10653 /* We use char because int might match the return type of a gcc2 |
10583 builtin and then its argument prototype would still apply. */ | 10654 builtin and then its argument prototype would still apply. */ |
10584 char kstat_open(); | 10655 char kstat_open(); |
10585 | 10656 |
10586 int main() { | 10657 int main() { |
10587 kstat_open() | 10658 kstat_open() |
10588 ; return 0; } | 10659 ; return 0; } |
10589 EOF | 10660 EOF |
10590 if { (eval echo configure:10591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10661 if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10591 rm -rf conftest* | 10662 rm -rf conftest* |
10592 eval "ac_cv_lib_$ac_lib_var=yes" | 10663 eval "ac_cv_lib_$ac_lib_var=yes" |
10593 else | 10664 else |
10594 echo "configure: failed program was:" >&5 | 10665 echo "configure: failed program was:" >&5 |
10595 cat conftest.$ac_ext >&5 | 10666 cat conftest.$ac_ext >&5 |
10620 | 10691 |
10621 for ac_hdr in kstat.h | 10692 for ac_hdr in kstat.h |
10622 do | 10693 do |
10623 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10694 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10624 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10695 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10625 echo "configure:10626: checking for $ac_hdr" >&5 | 10696 echo "configure:10697: checking for $ac_hdr" >&5 |
10626 | 10697 |
10627 cat > conftest.$ac_ext <<EOF | 10698 cat > conftest.$ac_ext <<EOF |
10628 #line 10629 "configure" | 10699 #line 10700 "configure" |
10629 #include "confdefs.h" | 10700 #include "confdefs.h" |
10630 #include <$ac_hdr> | 10701 #include <$ac_hdr> |
10631 EOF | 10702 EOF |
10632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10633 { (eval echo configure:10634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10704 { (eval echo configure:10705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10635 if test -z "$ac_err"; then | 10706 if test -z "$ac_err"; then |
10636 rm -rf conftest* | 10707 rm -rf conftest* |
10637 eval "ac_cv_header_$ac_safe=yes" | 10708 eval "ac_cv_header_$ac_safe=yes" |
10638 else | 10709 else |
10660 done | 10731 done |
10661 | 10732 |
10662 | 10733 |
10663 | 10734 |
10664 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 10735 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
10665 echo "configure:10666: checking for kvm_read in -lkvm" >&5 | 10736 echo "configure:10737: checking for kvm_read in -lkvm" >&5 |
10666 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 10737 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
10667 | 10738 |
10668 xe_check_libs=" -lkvm " | 10739 xe_check_libs=" -lkvm " |
10669 cat > conftest.$ac_ext <<EOF | 10740 cat > conftest.$ac_ext <<EOF |
10670 #line 10671 "configure" | 10741 #line 10742 "configure" |
10671 #include "confdefs.h" | 10742 #include "confdefs.h" |
10672 /* Override any gcc2 internal prototype to avoid an error. */ | 10743 /* Override any gcc2 internal prototype to avoid an error. */ |
10673 /* We use char because int might match the return type of a gcc2 | 10744 /* We use char because int might match the return type of a gcc2 |
10674 builtin and then its argument prototype would still apply. */ | 10745 builtin and then its argument prototype would still apply. */ |
10675 char kvm_read(); | 10746 char kvm_read(); |
10676 | 10747 |
10677 int main() { | 10748 int main() { |
10678 kvm_read() | 10749 kvm_read() |
10679 ; return 0; } | 10750 ; return 0; } |
10680 EOF | 10751 EOF |
10681 if { (eval echo configure:10682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10752 if { (eval echo configure:10753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10682 rm -rf conftest* | 10753 rm -rf conftest* |
10683 eval "ac_cv_lib_$ac_lib_var=yes" | 10754 eval "ac_cv_lib_$ac_lib_var=yes" |
10684 else | 10755 else |
10685 echo "configure: failed program was:" >&5 | 10756 echo "configure: failed program was:" >&5 |
10686 cat conftest.$ac_ext >&5 | 10757 cat conftest.$ac_ext >&5 |
10710 | 10781 |
10711 | 10782 |
10712 fi | 10783 fi |
10713 | 10784 |
10714 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 10785 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
10715 echo "configure:10716: checking whether netdb declares h_errno" >&5 | 10786 echo "configure:10787: checking whether netdb declares h_errno" >&5 |
10716 cat > conftest.$ac_ext <<EOF | 10787 cat > conftest.$ac_ext <<EOF |
10717 #line 10718 "configure" | 10788 #line 10789 "configure" |
10718 #include "confdefs.h" | 10789 #include "confdefs.h" |
10719 #include <netdb.h> | 10790 #include <netdb.h> |
10720 int main() { | 10791 int main() { |
10721 return h_errno; | 10792 return h_errno; |
10722 ; return 0; } | 10793 ; return 0; } |
10723 EOF | 10794 EOF |
10724 if { (eval echo configure:10725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10795 if { (eval echo configure:10796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10725 rm -rf conftest* | 10796 rm -rf conftest* |
10726 echo "$ac_t""yes" 1>&6 | 10797 echo "$ac_t""yes" 1>&6 |
10727 { test "$extra_verbose" = "yes" && cat << \EOF | 10798 { test "$extra_verbose" = "yes" && cat << \EOF |
10728 Defining HAVE_H_ERRNO | 10799 Defining HAVE_H_ERRNO |
10729 EOF | 10800 EOF |
10739 echo "$ac_t""no" 1>&6 | 10810 echo "$ac_t""no" 1>&6 |
10740 fi | 10811 fi |
10741 rm -f conftest* | 10812 rm -f conftest* |
10742 | 10813 |
10743 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 10814 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
10744 echo "configure:10745: checking for sigsetjmp" >&5 | 10815 echo "configure:10816: checking for sigsetjmp" >&5 |
10745 cat > conftest.$ac_ext <<EOF | 10816 cat > conftest.$ac_ext <<EOF |
10746 #line 10747 "configure" | 10817 #line 10818 "configure" |
10747 #include "confdefs.h" | 10818 #include "confdefs.h" |
10748 #include <setjmp.h> | 10819 #include <setjmp.h> |
10749 int main() { | 10820 int main() { |
10750 sigjmp_buf bar; sigsetjmp (bar, 0); | 10821 sigjmp_buf bar; sigsetjmp (bar, 0); |
10751 ; return 0; } | 10822 ; return 0; } |
10752 EOF | 10823 EOF |
10753 if { (eval echo configure:10754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10824 if { (eval echo configure:10825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10754 rm -rf conftest* | 10825 rm -rf conftest* |
10755 echo "$ac_t""yes" 1>&6 | 10826 echo "$ac_t""yes" 1>&6 |
10756 { test "$extra_verbose" = "yes" && cat << \EOF | 10827 { test "$extra_verbose" = "yes" && cat << \EOF |
10757 Defining HAVE_SIGSETJMP | 10828 Defining HAVE_SIGSETJMP |
10758 EOF | 10829 EOF |
10768 echo "$ac_t""no" 1>&6 | 10839 echo "$ac_t""no" 1>&6 |
10769 fi | 10840 fi |
10770 rm -f conftest* | 10841 rm -f conftest* |
10771 | 10842 |
10772 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 10843 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
10773 echo "configure:10774: checking whether localtime caches TZ" >&5 | 10844 echo "configure:10845: checking whether localtime caches TZ" >&5 |
10774 | 10845 |
10775 if test "$ac_cv_func_tzset" = "yes"; then | 10846 if test "$ac_cv_func_tzset" = "yes"; then |
10776 cat > conftest.$ac_ext <<EOF | 10847 cat > conftest.$ac_ext <<EOF |
10777 #line 10778 "configure" | 10848 #line 10849 "configure" |
10778 #include "confdefs.h" | 10849 #include "confdefs.h" |
10779 #include <time.h> | 10850 #include <time.h> |
10780 #if STDC_HEADERS | 10851 #if STDC_HEADERS |
10781 # include <stdlib.h> | 10852 # include <stdlib.h> |
10782 #endif | 10853 #endif |
10807 if (localtime (&now)->tm_hour != hour_unset) | 10878 if (localtime (&now)->tm_hour != hour_unset) |
10808 exit (1); | 10879 exit (1); |
10809 exit (0); | 10880 exit (0); |
10810 } | 10881 } |
10811 EOF | 10882 EOF |
10812 if { (eval echo configure:10813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10883 if { (eval echo configure:10884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10813 then | 10884 then |
10814 emacs_cv_localtime_cache=no | 10885 emacs_cv_localtime_cache=no |
10815 else | 10886 else |
10816 conftest_rc="$?" | 10887 conftest_rc="$?" |
10817 echo "configure: failed program was:" >&5 | 10888 echo "configure: failed program was:" >&5 |
10837 | 10908 |
10838 fi | 10909 fi |
10839 | 10910 |
10840 if test "$HAVE_TIMEVAL" = "yes"; then | 10911 if test "$HAVE_TIMEVAL" = "yes"; then |
10841 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 10912 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
10842 echo "configure:10843: checking whether gettimeofday accepts one or two arguments" >&5 | 10913 echo "configure:10914: checking whether gettimeofday accepts one or two arguments" >&5 |
10843 cat > conftest.$ac_ext <<EOF | 10914 cat > conftest.$ac_ext <<EOF |
10844 #line 10845 "configure" | 10915 #line 10916 "configure" |
10845 #include "confdefs.h" | 10916 #include "confdefs.h" |
10846 | 10917 |
10847 #ifdef TIME_WITH_SYS_TIME | 10918 #ifdef TIME_WITH_SYS_TIME |
10848 #include <sys/time.h> | 10919 #include <sys/time.h> |
10849 #include <time.h> | 10920 #include <time.h> |
10860 struct timeval time; | 10931 struct timeval time; |
10861 gettimeofday (&time, 0); | 10932 gettimeofday (&time, 0); |
10862 | 10933 |
10863 ; return 0; } | 10934 ; return 0; } |
10864 EOF | 10935 EOF |
10865 if { (eval echo configure:10866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10936 if { (eval echo configure:10937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10866 rm -rf conftest* | 10937 rm -rf conftest* |
10867 echo "$ac_t""two" 1>&6 | 10938 echo "$ac_t""two" 1>&6 |
10868 else | 10939 else |
10869 echo "configure: failed program was:" >&5 | 10940 echo "configure: failed program was:" >&5 |
10870 cat conftest.$ac_ext >&5 | 10941 cat conftest.$ac_ext >&5 |
10882 rm -f conftest* | 10953 rm -f conftest* |
10883 fi | 10954 fi |
10884 | 10955 |
10885 | 10956 |
10886 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 10957 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
10887 echo "configure:10888: checking for inline" >&5 | 10958 echo "configure:10959: checking for inline" >&5 |
10888 | 10959 |
10889 ac_cv_c_inline=no | 10960 ac_cv_c_inline=no |
10890 for ac_kw in inline __inline__ __inline; do | 10961 for ac_kw in inline __inline__ __inline; do |
10891 cat > conftest.$ac_ext <<EOF | 10962 cat > conftest.$ac_ext <<EOF |
10892 #line 10893 "configure" | 10963 #line 10964 "configure" |
10893 #include "confdefs.h" | 10964 #include "confdefs.h" |
10894 | 10965 |
10895 int main() { | 10966 int main() { |
10896 } $ac_kw foo() { | 10967 } $ac_kw foo() { |
10897 ; return 0; } | 10968 ; return 0; } |
10898 EOF | 10969 EOF |
10899 if { (eval echo configure:10900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10970 if { (eval echo configure:10971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10900 rm -rf conftest* | 10971 rm -rf conftest* |
10901 ac_cv_c_inline=$ac_kw; break | 10972 ac_cv_c_inline=$ac_kw; break |
10902 else | 10973 else |
10903 echo "configure: failed program was:" >&5 | 10974 echo "configure: failed program was:" >&5 |
10904 cat conftest.$ac_ext >&5 | 10975 cat conftest.$ac_ext >&5 |
10931 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 11002 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
10932 echo " xemacs will be linked with \"inline.o\"" | 11003 echo " xemacs will be linked with \"inline.o\"" |
10933 fi | 11004 fi |
10934 | 11005 |
10935 | 11006 |
10936 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11007 if test "$__DECC" != "yes"; then |
11008 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | |
10937 # for constant arguments. Useless! | 11009 # for constant arguments. Useless! |
10938 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11010 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
10939 echo "configure:10940: checking for working alloca.h" >&5 | 11011 echo "configure:11012: checking for working alloca.h" >&5 |
10940 | 11012 |
10941 cat > conftest.$ac_ext <<EOF | 11013 cat > conftest.$ac_ext <<EOF |
10942 #line 10943 "configure" | 11014 #line 11015 "configure" |
10943 #include "confdefs.h" | 11015 #include "confdefs.h" |
10944 #include <alloca.h> | 11016 #include <alloca.h> |
10945 int main() { | 11017 int main() { |
10946 char *p = alloca(2 * sizeof(int)); | 11018 char *p = alloca(2 * sizeof(int)); |
10947 ; return 0; } | 11019 ; return 0; } |
10948 EOF | 11020 EOF |
10949 if { (eval echo configure:10950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10950 rm -rf conftest* | 11022 rm -rf conftest* |
10951 ac_cv_header_alloca_h=yes | 11023 ac_cv_header_alloca_h=yes |
10952 else | 11024 else |
10953 echo "configure: failed program was:" >&5 | 11025 echo "configure: failed program was:" >&5 |
10954 cat conftest.$ac_ext >&5 | 11026 cat conftest.$ac_ext >&5 |
10968 } | 11040 } |
10969 | 11041 |
10970 fi | 11042 fi |
10971 | 11043 |
10972 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11044 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
10973 echo "configure:10974: checking for alloca" >&5 | 11045 echo "configure:11046: checking for alloca" >&5 |
10974 | 11046 |
10975 cat > conftest.$ac_ext <<EOF | 11047 cat > conftest.$ac_ext <<EOF |
10976 #line 10977 "configure" | 11048 #line 11049 "configure" |
10977 #include "confdefs.h" | 11049 #include "confdefs.h" |
10978 | 11050 |
10979 #ifdef __GNUC__ | 11051 #ifdef __GNUC__ |
10980 # define alloca __builtin_alloca | 11052 # define alloca __builtin_alloca |
10981 #else | 11053 #else |
10999 | 11071 |
11000 int main() { | 11072 int main() { |
11001 char *p = (char *) alloca(1); | 11073 char *p = (char *) alloca(1); |
11002 ; return 0; } | 11074 ; return 0; } |
11003 EOF | 11075 EOF |
11004 if { (eval echo configure:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11076 if { (eval echo configure:11077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11005 rm -rf conftest* | 11077 rm -rf conftest* |
11006 ac_cv_func_alloca_works=yes | 11078 ac_cv_func_alloca_works=yes |
11007 else | 11079 else |
11008 echo "configure: failed program was:" >&5 | 11080 echo "configure: failed program was:" >&5 |
11009 cat conftest.$ac_ext >&5 | 11081 cat conftest.$ac_ext >&5 |
11038 EOF | 11110 EOF |
11039 } | 11111 } |
11040 | 11112 |
11041 | 11113 |
11042 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11114 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11043 echo "configure:11044: checking whether alloca needs Cray hooks" >&5 | 11115 echo "configure:11116: checking whether alloca needs Cray hooks" >&5 |
11044 | 11116 |
11045 cat > conftest.$ac_ext <<EOF | 11117 cat > conftest.$ac_ext <<EOF |
11046 #line 11047 "configure" | 11118 #line 11119 "configure" |
11047 #include "confdefs.h" | 11119 #include "confdefs.h" |
11048 #if defined(CRAY) && ! defined(CRAY2) | 11120 #if defined(CRAY) && ! defined(CRAY2) |
11049 webecray | 11121 webecray |
11050 #else | 11122 #else |
11051 wenotbecray | 11123 wenotbecray |
11065 | 11137 |
11066 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11138 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11067 if test $ac_cv_os_cray = yes; then | 11139 if test $ac_cv_os_cray = yes; then |
11068 for ac_func in _getb67 GETB67 getb67; do | 11140 for ac_func in _getb67 GETB67 getb67; do |
11069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11070 echo "configure:11071: checking for $ac_func" >&5 | 11142 echo "configure:11143: checking for $ac_func" >&5 |
11071 | 11143 |
11072 cat > conftest.$ac_ext <<EOF | 11144 cat > conftest.$ac_ext <<EOF |
11073 #line 11074 "configure" | 11145 #line 11146 "configure" |
11074 #include "confdefs.h" | 11146 #include "confdefs.h" |
11075 /* System header to define __stub macros and hopefully few prototypes, | 11147 /* System header to define __stub macros and hopefully few prototypes, |
11076 which can conflict with char $ac_func(); below. */ | 11148 which can conflict with char $ac_func(); below. */ |
11077 #include <assert.h> | 11149 #include <assert.h> |
11078 /* Override any gcc2 internal prototype to avoid an error. */ | 11150 /* Override any gcc2 internal prototype to avoid an error. */ |
11091 $ac_func(); | 11163 $ac_func(); |
11092 #endif | 11164 #endif |
11093 | 11165 |
11094 ; return 0; } | 11166 ; return 0; } |
11095 EOF | 11167 EOF |
11096 if { (eval echo configure:11097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11168 if { (eval echo configure:11169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11097 rm -rf conftest* | 11169 rm -rf conftest* |
11098 eval "ac_cv_func_$ac_func=yes" | 11170 eval "ac_cv_func_$ac_func=yes" |
11099 else | 11171 else |
11100 echo "configure: failed program was:" >&5 | 11172 echo "configure: failed program was:" >&5 |
11101 cat conftest.$ac_ext >&5 | 11173 cat conftest.$ac_ext >&5 |
11121 | 11193 |
11122 done | 11194 done |
11123 fi | 11195 fi |
11124 | 11196 |
11125 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11197 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11126 echo "configure:11127: checking stack direction for C alloca" >&5 | 11198 echo "configure:11199: checking stack direction for C alloca" >&5 |
11127 | 11199 |
11128 cat > conftest.$ac_ext <<EOF | 11200 cat > conftest.$ac_ext <<EOF |
11129 #line 11130 "configure" | 11201 #line 11202 "configure" |
11130 #include "confdefs.h" | 11202 #include "confdefs.h" |
11131 find_stack_direction () | 11203 find_stack_direction () |
11132 { | 11204 { |
11133 static char *addr = 0; | 11205 static char *addr = 0; |
11134 auto char dummy; | 11206 auto char dummy; |
11143 main () | 11215 main () |
11144 { | 11216 { |
11145 exit (find_stack_direction() < 0); | 11217 exit (find_stack_direction() < 0); |
11146 } | 11218 } |
11147 EOF | 11219 EOF |
11148 if { (eval echo configure:11149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11220 if { (eval echo configure:11221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11149 then | 11221 then |
11150 ac_cv_c_stack_direction=1 | 11222 ac_cv_c_stack_direction=1 |
11151 else | 11223 else |
11152 conftest_rc="$?" | 11224 conftest_rc="$?" |
11153 echo "configure: failed program was:" >&5 | 11225 echo "configure: failed program was:" >&5 |
11166 EOF | 11238 EOF |
11167 } | 11239 } |
11168 | 11240 |
11169 fi | 11241 fi |
11170 | 11242 |
11171 test -n "$ALLOCA" && extra_objs="$extra_objs $ALLOCA" && if test "$extra_verbose" = "yes"; then | 11243 test -n "$ALLOCA" && extra_objs="$extra_objs $ALLOCA" && if test "$extra_verbose" = "yes"; then |
11172 echo " xemacs will be linked with \"$ALLOCA\"" | 11244 echo " xemacs will be linked with \"$ALLOCA\"" |
11173 fi | 11245 fi |
11246 fi | |
11174 | 11247 |
11175 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 11248 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
11176 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 11249 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
11177 echo "configure:11178: checking for vfork.h" >&5 | 11250 echo "configure:11251: checking for vfork.h" >&5 |
11178 | 11251 |
11179 cat > conftest.$ac_ext <<EOF | 11252 cat > conftest.$ac_ext <<EOF |
11180 #line 11181 "configure" | 11253 #line 11254 "configure" |
11181 #include "confdefs.h" | 11254 #include "confdefs.h" |
11182 #include <vfork.h> | 11255 #include <vfork.h> |
11183 EOF | 11256 EOF |
11184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11185 { (eval echo configure:11186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11258 { (eval echo configure:11259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11187 if test -z "$ac_err"; then | 11260 if test -z "$ac_err"; then |
11188 rm -rf conftest* | 11261 rm -rf conftest* |
11189 eval "ac_cv_header_$ac_safe=yes" | 11262 eval "ac_cv_header_$ac_safe=yes" |
11190 else | 11263 else |
11208 else | 11281 else |
11209 echo "$ac_t""no" 1>&6 | 11282 echo "$ac_t""no" 1>&6 |
11210 fi | 11283 fi |
11211 | 11284 |
11212 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 11285 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
11213 echo "configure:11214: checking for working vfork" >&5 | 11286 echo "configure:11287: checking for working vfork" >&5 |
11214 | 11287 |
11215 cat > conftest.$ac_ext <<EOF | 11288 cat > conftest.$ac_ext <<EOF |
11216 #line 11217 "configure" | 11289 #line 11290 "configure" |
11217 #include "confdefs.h" | 11290 #include "confdefs.h" |
11218 /* Thanks to Paul Eggert for this test. */ | 11291 /* Thanks to Paul Eggert for this test. */ |
11219 #include <stdio.h> | 11292 #include <stdio.h> |
11220 #include <sys/types.h> | 11293 #include <sys/types.h> |
11221 #include <sys/stat.h> | 11294 #include <sys/stat.h> |
11306 || fstat(fileno(stdout), &st) != 0 | 11379 || fstat(fileno(stdout), &st) != 0 |
11307 ); | 11380 ); |
11308 } | 11381 } |
11309 } | 11382 } |
11310 EOF | 11383 EOF |
11311 if { (eval echo configure:11312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11384 if { (eval echo configure:11385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11312 then | 11385 then |
11313 ac_cv_func_vfork_works=yes | 11386 ac_cv_func_vfork_works=yes |
11314 else | 11387 else |
11315 conftest_rc="$?" | 11388 conftest_rc="$?" |
11316 echo "configure: failed program was:" >&5 | 11389 echo "configure: failed program was:" >&5 |
11332 | 11405 |
11333 fi | 11406 fi |
11334 | 11407 |
11335 | 11408 |
11336 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 11409 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
11337 echo "configure:11338: checking for working strcoll" >&5 | 11410 echo "configure:11411: checking for working strcoll" >&5 |
11338 | 11411 |
11339 cat > conftest.$ac_ext <<EOF | 11412 cat > conftest.$ac_ext <<EOF |
11340 #line 11341 "configure" | 11413 #line 11414 "configure" |
11341 #include "confdefs.h" | 11414 #include "confdefs.h" |
11342 #include <string.h> | 11415 #include <string.h> |
11343 main () | 11416 main () |
11344 { | 11417 { |
11345 exit (strcoll ("abc", "def") >= 0 || | 11418 exit (strcoll ("abc", "def") >= 0 || |
11346 strcoll ("ABC", "DEF") >= 0 || | 11419 strcoll ("ABC", "DEF") >= 0 || |
11347 strcoll ("123", "456") >= 0); | 11420 strcoll ("123", "456") >= 0); |
11348 } | 11421 } |
11349 EOF | 11422 EOF |
11350 if { (eval echo configure:11351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11423 if { (eval echo configure:11424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11351 then | 11424 then |
11352 ac_cv_func_strcoll_works=yes | 11425 ac_cv_func_strcoll_works=yes |
11353 else | 11426 else |
11354 conftest_rc="$?" | 11427 conftest_rc="$?" |
11355 echo "configure: failed program was:" >&5 | 11428 echo "configure: failed program was:" >&5 |
11373 | 11446 |
11374 | 11447 |
11375 for ac_func in getpgrp | 11448 for ac_func in getpgrp |
11376 do | 11449 do |
11377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11378 echo "configure:11379: checking for $ac_func" >&5 | 11451 echo "configure:11452: checking for $ac_func" >&5 |
11379 | 11452 |
11380 cat > conftest.$ac_ext <<EOF | 11453 cat > conftest.$ac_ext <<EOF |
11381 #line 11382 "configure" | 11454 #line 11455 "configure" |
11382 #include "confdefs.h" | 11455 #include "confdefs.h" |
11383 /* System header to define __stub macros and hopefully few prototypes, | 11456 /* System header to define __stub macros and hopefully few prototypes, |
11384 which can conflict with char $ac_func(); below. */ | 11457 which can conflict with char $ac_func(); below. */ |
11385 #include <assert.h> | 11458 #include <assert.h> |
11386 /* Override any gcc2 internal prototype to avoid an error. */ | 11459 /* Override any gcc2 internal prototype to avoid an error. */ |
11399 $ac_func(); | 11472 $ac_func(); |
11400 #endif | 11473 #endif |
11401 | 11474 |
11402 ; return 0; } | 11475 ; return 0; } |
11403 EOF | 11476 EOF |
11404 if { (eval echo configure:11405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11477 if { (eval echo configure:11478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11405 rm -rf conftest* | 11478 rm -rf conftest* |
11406 eval "ac_cv_func_$ac_func=yes" | 11479 eval "ac_cv_func_$ac_func=yes" |
11407 else | 11480 else |
11408 echo "configure: failed program was:" >&5 | 11481 echo "configure: failed program was:" >&5 |
11409 cat conftest.$ac_ext >&5 | 11482 cat conftest.$ac_ext >&5 |
11427 echo "$ac_t""no" 1>&6 | 11500 echo "$ac_t""no" 1>&6 |
11428 fi | 11501 fi |
11429 done | 11502 done |
11430 | 11503 |
11431 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 11504 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
11432 echo "configure:11433: checking whether getpgrp takes no argument" >&5 | 11505 echo "configure:11506: checking whether getpgrp takes no argument" >&5 |
11433 | 11506 |
11434 cat > conftest.$ac_ext <<EOF | 11507 cat > conftest.$ac_ext <<EOF |
11435 #line 11436 "configure" | 11508 #line 11509 "configure" |
11436 #include "confdefs.h" | 11509 #include "confdefs.h" |
11437 | 11510 |
11438 /* | 11511 /* |
11439 * If this system has a BSD-style getpgrp(), | 11512 * If this system has a BSD-style getpgrp(), |
11440 * which takes a pid argument, exit unsuccessfully. | 11513 * which takes a pid argument, exit unsuccessfully. |
11485 exit(s>>8); | 11558 exit(s>>8); |
11486 } | 11559 } |
11487 } | 11560 } |
11488 | 11561 |
11489 EOF | 11562 EOF |
11490 if { (eval echo configure:11491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11563 if { (eval echo configure:11564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11491 then | 11564 then |
11492 ac_cv_func_getpgrp_void=yes | 11565 ac_cv_func_getpgrp_void=yes |
11493 else | 11566 else |
11494 conftest_rc="$?" | 11567 conftest_rc="$?" |
11495 echo "configure: failed program was:" >&5 | 11568 echo "configure: failed program was:" >&5 |
11512 | 11585 |
11513 fi | 11586 fi |
11514 | 11587 |
11515 | 11588 |
11516 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 11589 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
11517 echo "configure:11518: checking for working mmap" >&5 | 11590 echo "configure:11591: checking for working mmap" >&5 |
11518 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 11591 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
11519 cat > conftest.$ac_ext <<EOF | 11592 cat > conftest.$ac_ext <<EOF |
11520 #line 11521 "configure" | 11593 #line 11594 "configure" |
11521 #include "confdefs.h" | 11594 #include "confdefs.h" |
11522 #include <stdio.h> | 11595 #include <stdio.h> |
11523 #include <unistd.h> | 11596 #include <unistd.h> |
11524 #include <fcntl.h> | 11597 #include <fcntl.h> |
11525 #include <sys/mman.h> | 11598 #include <sys/mman.h> |
11548 return 0; | 11621 return 0; |
11549 perror ("conftest: mmap failed"); | 11622 perror ("conftest: mmap failed"); |
11550 return 1; | 11623 return 1; |
11551 } | 11624 } |
11552 EOF | 11625 EOF |
11553 if { (eval echo configure:11554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11626 if { (eval echo configure:11627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11554 then | 11627 then |
11555 have_mmap=yes | 11628 have_mmap=yes |
11556 else | 11629 else |
11557 conftest_rc="$?" | 11630 conftest_rc="$?" |
11558 echo "configure: failed program was:" >&5 | 11631 echo "configure: failed program was:" >&5 |
11574 | 11647 |
11575 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 11648 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
11576 if test "$rel_alloc $have_mmap" = "default yes"; then | 11649 if test "$rel_alloc $have_mmap" = "default yes"; then |
11577 if test "$doug_lea_malloc" = "yes"; then | 11650 if test "$doug_lea_malloc" = "yes"; then |
11578 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 11651 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
11579 echo "configure:11580: checking for M_MMAP_THRESHOLD" >&5 | 11652 echo "configure:11653: checking for M_MMAP_THRESHOLD" >&5 |
11580 cat > conftest.$ac_ext <<EOF | 11653 cat > conftest.$ac_ext <<EOF |
11581 #line 11582 "configure" | 11654 #line 11655 "configure" |
11582 #include "confdefs.h" | 11655 #include "confdefs.h" |
11583 #include <malloc.h> | 11656 #include <malloc.h> |
11584 int main() { | 11657 int main() { |
11585 | 11658 |
11586 #ifndef M_MMAP_THRESHOLD | 11659 #ifndef M_MMAP_THRESHOLD |
11588 !@+$%^&*_)(_ - unlikely to compile... | 11661 !@+$%^&*_)(_ - unlikely to compile... |
11589 #endif | 11662 #endif |
11590 | 11663 |
11591 ; return 0; } | 11664 ; return 0; } |
11592 EOF | 11665 EOF |
11593 if { (eval echo configure:11594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11666 if { (eval echo configure:11667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11594 rm -rf conftest* | 11667 rm -rf conftest* |
11595 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 11668 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
11596 else | 11669 else |
11597 echo "configure: failed program was:" >&5 | 11670 echo "configure: failed program was:" >&5 |
11598 cat conftest.$ac_ext >&5 | 11671 cat conftest.$ac_ext >&5 |
11613 } | 11686 } |
11614 | 11687 |
11615 | 11688 |
11616 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 11689 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
11617 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 11690 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
11618 echo "configure:11619: checking for termios.h" >&5 | 11691 echo "configure:11692: checking for termios.h" >&5 |
11619 | 11692 |
11620 cat > conftest.$ac_ext <<EOF | 11693 cat > conftest.$ac_ext <<EOF |
11621 #line 11622 "configure" | 11694 #line 11695 "configure" |
11622 #include "confdefs.h" | 11695 #include "confdefs.h" |
11623 #include <termios.h> | 11696 #include <termios.h> |
11624 EOF | 11697 EOF |
11625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11626 { (eval echo configure:11627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11699 { (eval echo configure:11700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11628 if test -z "$ac_err"; then | 11701 if test -z "$ac_err"; then |
11629 rm -rf conftest* | 11702 rm -rf conftest* |
11630 eval "ac_cv_header_$ac_safe=yes" | 11703 eval "ac_cv_header_$ac_safe=yes" |
11631 else | 11704 else |
11664 | 11737 |
11665 else | 11738 else |
11666 echo "$ac_t""no" 1>&6 | 11739 echo "$ac_t""no" 1>&6 |
11667 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 11740 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
11668 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 11741 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
11669 echo "configure:11670: checking for termio.h" >&5 | 11742 echo "configure:11743: checking for termio.h" >&5 |
11670 | 11743 |
11671 cat > conftest.$ac_ext <<EOF | 11744 cat > conftest.$ac_ext <<EOF |
11672 #line 11673 "configure" | 11745 #line 11746 "configure" |
11673 #include "confdefs.h" | 11746 #include "confdefs.h" |
11674 #include <termio.h> | 11747 #include <termio.h> |
11675 EOF | 11748 EOF |
11676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11677 { (eval echo configure:11678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11750 { (eval echo configure:11751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11679 if test -z "$ac_err"; then | 11752 if test -z "$ac_err"; then |
11680 rm -rf conftest* | 11753 rm -rf conftest* |
11681 eval "ac_cv_header_$ac_safe=yes" | 11754 eval "ac_cv_header_$ac_safe=yes" |
11682 else | 11755 else |
11704 fi | 11777 fi |
11705 | 11778 |
11706 | 11779 |
11707 | 11780 |
11708 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 11781 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
11709 echo "configure:11710: checking for socket" >&5 | 11782 echo "configure:11783: checking for socket" >&5 |
11710 | 11783 |
11711 cat > conftest.$ac_ext <<EOF | 11784 cat > conftest.$ac_ext <<EOF |
11712 #line 11713 "configure" | 11785 #line 11786 "configure" |
11713 #include "confdefs.h" | 11786 #include "confdefs.h" |
11714 /* System header to define __stub macros and hopefully few prototypes, | 11787 /* System header to define __stub macros and hopefully few prototypes, |
11715 which can conflict with char socket(); below. */ | 11788 which can conflict with char socket(); below. */ |
11716 #include <assert.h> | 11789 #include <assert.h> |
11717 /* Override any gcc2 internal prototype to avoid an error. */ | 11790 /* Override any gcc2 internal prototype to avoid an error. */ |
11730 socket(); | 11803 socket(); |
11731 #endif | 11804 #endif |
11732 | 11805 |
11733 ; return 0; } | 11806 ; return 0; } |
11734 EOF | 11807 EOF |
11735 if { (eval echo configure:11736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11808 if { (eval echo configure:11809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11736 rm -rf conftest* | 11809 rm -rf conftest* |
11737 eval "ac_cv_func_socket=yes" | 11810 eval "ac_cv_func_socket=yes" |
11738 else | 11811 else |
11739 echo "configure: failed program was:" >&5 | 11812 echo "configure: failed program was:" >&5 |
11740 cat conftest.$ac_ext >&5 | 11813 cat conftest.$ac_ext >&5 |
11745 | 11818 |
11746 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 11819 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
11747 echo "$ac_t""yes" 1>&6 | 11820 echo "$ac_t""yes" 1>&6 |
11748 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 11821 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
11749 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 11822 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
11750 echo "configure:11751: checking for netinet/in.h" >&5 | 11823 echo "configure:11824: checking for netinet/in.h" >&5 |
11751 | 11824 |
11752 cat > conftest.$ac_ext <<EOF | 11825 cat > conftest.$ac_ext <<EOF |
11753 #line 11754 "configure" | 11826 #line 11827 "configure" |
11754 #include "confdefs.h" | 11827 #include "confdefs.h" |
11755 #include <netinet/in.h> | 11828 #include <netinet/in.h> |
11756 EOF | 11829 EOF |
11757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11758 { (eval echo configure:11759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11831 { (eval echo configure:11832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11760 if test -z "$ac_err"; then | 11833 if test -z "$ac_err"; then |
11761 rm -rf conftest* | 11834 rm -rf conftest* |
11762 eval "ac_cv_header_$ac_safe=yes" | 11835 eval "ac_cv_header_$ac_safe=yes" |
11763 else | 11836 else |
11770 rm -f conftest* | 11843 rm -f conftest* |
11771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11844 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11772 echo "$ac_t""yes" 1>&6 | 11845 echo "$ac_t""yes" 1>&6 |
11773 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 11846 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
11774 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 11847 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
11775 echo "configure:11776: checking for arpa/inet.h" >&5 | 11848 echo "configure:11849: checking for arpa/inet.h" >&5 |
11776 | 11849 |
11777 cat > conftest.$ac_ext <<EOF | 11850 cat > conftest.$ac_ext <<EOF |
11778 #line 11779 "configure" | 11851 #line 11852 "configure" |
11779 #include "confdefs.h" | 11852 #include "confdefs.h" |
11780 #include <arpa/inet.h> | 11853 #include <arpa/inet.h> |
11781 EOF | 11854 EOF |
11782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11783 { (eval echo configure:11784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11856 { (eval echo configure:11857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11785 if test -z "$ac_err"; then | 11858 if test -z "$ac_err"; then |
11786 rm -rf conftest* | 11859 rm -rf conftest* |
11787 eval "ac_cv_header_$ac_safe=yes" | 11860 eval "ac_cv_header_$ac_safe=yes" |
11788 else | 11861 else |
11803 #define HAVE_SOCKETS 1 | 11876 #define HAVE_SOCKETS 1 |
11804 EOF | 11877 EOF |
11805 } | 11878 } |
11806 | 11879 |
11807 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 11880 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
11808 echo "configure:11809: checking "for sun_len member in struct sockaddr_un"" >&5 | 11881 echo "configure:11882: checking "for sun_len member in struct sockaddr_un"" >&5 |
11809 cat > conftest.$ac_ext <<EOF | 11882 cat > conftest.$ac_ext <<EOF |
11810 #line 11811 "configure" | 11883 #line 11884 "configure" |
11811 #include "confdefs.h" | 11884 #include "confdefs.h" |
11812 | 11885 |
11813 #include <sys/types.h> | 11886 #include <sys/types.h> |
11814 #include <sys/socket.h> | 11887 #include <sys/socket.h> |
11815 #include <sys/un.h> | 11888 #include <sys/un.h> |
11816 | 11889 |
11817 int main() { | 11890 int main() { |
11818 static struct sockaddr_un x; x.sun_len = 1; | 11891 static struct sockaddr_un x; x.sun_len = 1; |
11819 ; return 0; } | 11892 ; return 0; } |
11820 EOF | 11893 EOF |
11821 if { (eval echo configure:11822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11894 if { (eval echo configure:11895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11822 rm -rf conftest* | 11895 rm -rf conftest* |
11823 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11896 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11824 Defining HAVE_SOCKADDR_SUN_LEN | 11897 Defining HAVE_SOCKADDR_SUN_LEN |
11825 EOF | 11898 EOF |
11826 cat >> confdefs.h <<\EOF | 11899 cat >> confdefs.h <<\EOF |
11834 rm -rf conftest* | 11907 rm -rf conftest* |
11835 echo "$ac_t""no" 1>&6 | 11908 echo "$ac_t""no" 1>&6 |
11836 fi | 11909 fi |
11837 rm -f conftest* | 11910 rm -f conftest* |
11838 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 11911 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
11839 echo "configure:11840: checking "for ip_mreq struct in netinet/in.h"" >&5 | 11912 echo "configure:11913: checking "for ip_mreq struct in netinet/in.h"" >&5 |
11840 cat > conftest.$ac_ext <<EOF | 11913 cat > conftest.$ac_ext <<EOF |
11841 #line 11842 "configure" | 11914 #line 11915 "configure" |
11842 #include "confdefs.h" | 11915 #include "confdefs.h" |
11843 | 11916 |
11844 #include <sys/types.h> | 11917 #include <sys/types.h> |
11845 #include <netinet/in.h> | 11918 #include <netinet/in.h> |
11846 | 11919 |
11847 int main() { | 11920 int main() { |
11848 static struct ip_mreq x; | 11921 static struct ip_mreq x; |
11849 ; return 0; } | 11922 ; return 0; } |
11850 EOF | 11923 EOF |
11851 if { (eval echo configure:11852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11924 if { (eval echo configure:11925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11852 rm -rf conftest* | 11925 rm -rf conftest* |
11853 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11926 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11854 Defining HAVE_MULTICAST | 11927 Defining HAVE_MULTICAST |
11855 EOF | 11928 EOF |
11856 cat >> confdefs.h <<\EOF | 11929 cat >> confdefs.h <<\EOF |
11877 echo "$ac_t""no" 1>&6 | 11950 echo "$ac_t""no" 1>&6 |
11878 fi | 11951 fi |
11879 | 11952 |
11880 | 11953 |
11881 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 11954 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
11882 echo "configure:11883: checking for msgget" >&5 | 11955 echo "configure:11956: checking for msgget" >&5 |
11883 | 11956 |
11884 cat > conftest.$ac_ext <<EOF | 11957 cat > conftest.$ac_ext <<EOF |
11885 #line 11886 "configure" | 11958 #line 11959 "configure" |
11886 #include "confdefs.h" | 11959 #include "confdefs.h" |
11887 /* System header to define __stub macros and hopefully few prototypes, | 11960 /* System header to define __stub macros and hopefully few prototypes, |
11888 which can conflict with char msgget(); below. */ | 11961 which can conflict with char msgget(); below. */ |
11889 #include <assert.h> | 11962 #include <assert.h> |
11890 /* Override any gcc2 internal prototype to avoid an error. */ | 11963 /* Override any gcc2 internal prototype to avoid an error. */ |
11903 msgget(); | 11976 msgget(); |
11904 #endif | 11977 #endif |
11905 | 11978 |
11906 ; return 0; } | 11979 ; return 0; } |
11907 EOF | 11980 EOF |
11908 if { (eval echo configure:11909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11909 rm -rf conftest* | 11982 rm -rf conftest* |
11910 eval "ac_cv_func_msgget=yes" | 11983 eval "ac_cv_func_msgget=yes" |
11911 else | 11984 else |
11912 echo "configure: failed program was:" >&5 | 11985 echo "configure: failed program was:" >&5 |
11913 cat conftest.$ac_ext >&5 | 11986 cat conftest.$ac_ext >&5 |
11918 | 11991 |
11919 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 11992 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
11920 echo "$ac_t""yes" 1>&6 | 11993 echo "$ac_t""yes" 1>&6 |
11921 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 11994 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
11922 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 11995 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
11923 echo "configure:11924: checking for sys/ipc.h" >&5 | 11996 echo "configure:11997: checking for sys/ipc.h" >&5 |
11924 | 11997 |
11925 cat > conftest.$ac_ext <<EOF | 11998 cat > conftest.$ac_ext <<EOF |
11926 #line 11927 "configure" | 11999 #line 12000 "configure" |
11927 #include "confdefs.h" | 12000 #include "confdefs.h" |
11928 #include <sys/ipc.h> | 12001 #include <sys/ipc.h> |
11929 EOF | 12002 EOF |
11930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11931 { (eval echo configure:11932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12004 { (eval echo configure:12005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11933 if test -z "$ac_err"; then | 12006 if test -z "$ac_err"; then |
11934 rm -rf conftest* | 12007 rm -rf conftest* |
11935 eval "ac_cv_header_$ac_safe=yes" | 12008 eval "ac_cv_header_$ac_safe=yes" |
11936 else | 12009 else |
11943 rm -f conftest* | 12016 rm -f conftest* |
11944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11945 echo "$ac_t""yes" 1>&6 | 12018 echo "$ac_t""yes" 1>&6 |
11946 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12019 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
11947 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12020 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
11948 echo "configure:11949: checking for sys/msg.h" >&5 | 12021 echo "configure:12022: checking for sys/msg.h" >&5 |
11949 | 12022 |
11950 cat > conftest.$ac_ext <<EOF | 12023 cat > conftest.$ac_ext <<EOF |
11951 #line 11952 "configure" | 12024 #line 12025 "configure" |
11952 #include "confdefs.h" | 12025 #include "confdefs.h" |
11953 #include <sys/msg.h> | 12026 #include <sys/msg.h> |
11954 EOF | 12027 EOF |
11955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11956 { (eval echo configure:11957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12029 { (eval echo configure:12030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11958 if test -z "$ac_err"; then | 12031 if test -z "$ac_err"; then |
11959 rm -rf conftest* | 12032 rm -rf conftest* |
11960 eval "ac_cv_header_$ac_safe=yes" | 12033 eval "ac_cv_header_$ac_safe=yes" |
11961 else | 12034 else |
11989 fi | 12062 fi |
11990 | 12063 |
11991 | 12064 |
11992 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12065 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
11993 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12066 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
11994 echo "configure:11995: checking for dirent.h" >&5 | 12067 echo "configure:12068: checking for dirent.h" >&5 |
11995 | 12068 |
11996 cat > conftest.$ac_ext <<EOF | 12069 cat > conftest.$ac_ext <<EOF |
11997 #line 11998 "configure" | 12070 #line 12071 "configure" |
11998 #include "confdefs.h" | 12071 #include "confdefs.h" |
11999 #include <dirent.h> | 12072 #include <dirent.h> |
12000 EOF | 12073 EOF |
12001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12002 { (eval echo configure:12003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12075 { (eval echo configure:12076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12004 if test -z "$ac_err"; then | 12077 if test -z "$ac_err"; then |
12005 rm -rf conftest* | 12078 rm -rf conftest* |
12006 eval "ac_cv_header_$ac_safe=yes" | 12079 eval "ac_cv_header_$ac_safe=yes" |
12007 else | 12080 else |
12024 | 12097 |
12025 else | 12098 else |
12026 echo "$ac_t""no" 1>&6 | 12099 echo "$ac_t""no" 1>&6 |
12027 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12100 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12028 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12101 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12029 echo "configure:12030: checking for sys/dir.h" >&5 | 12102 echo "configure:12103: checking for sys/dir.h" >&5 |
12030 | 12103 |
12031 cat > conftest.$ac_ext <<EOF | 12104 cat > conftest.$ac_ext <<EOF |
12032 #line 12033 "configure" | 12105 #line 12106 "configure" |
12033 #include "confdefs.h" | 12106 #include "confdefs.h" |
12034 #include <sys/dir.h> | 12107 #include <sys/dir.h> |
12035 EOF | 12108 EOF |
12036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12037 { (eval echo configure:12038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12110 { (eval echo configure:12111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12039 if test -z "$ac_err"; then | 12112 if test -z "$ac_err"; then |
12040 rm -rf conftest* | 12113 rm -rf conftest* |
12041 eval "ac_cv_header_$ac_safe=yes" | 12114 eval "ac_cv_header_$ac_safe=yes" |
12042 else | 12115 else |
12065 fi | 12138 fi |
12066 | 12139 |
12067 | 12140 |
12068 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12141 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12069 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12142 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12070 echo "configure:12071: checking for nlist.h" >&5 | 12143 echo "configure:12144: checking for nlist.h" >&5 |
12071 | 12144 |
12072 cat > conftest.$ac_ext <<EOF | 12145 cat > conftest.$ac_ext <<EOF |
12073 #line 12074 "configure" | 12146 #line 12147 "configure" |
12074 #include "confdefs.h" | 12147 #include "confdefs.h" |
12075 #include <nlist.h> | 12148 #include <nlist.h> |
12076 EOF | 12149 EOF |
12077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12078 { (eval echo configure:12079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12151 { (eval echo configure:12152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12080 if test -z "$ac_err"; then | 12153 if test -z "$ac_err"; then |
12081 rm -rf conftest* | 12154 rm -rf conftest* |
12082 eval "ac_cv_header_$ac_safe=yes" | 12155 eval "ac_cv_header_$ac_safe=yes" |
12083 else | 12156 else |
12103 fi | 12176 fi |
12104 | 12177 |
12105 | 12178 |
12106 | 12179 |
12107 echo "checking "for sound support"" 1>&6 | 12180 echo "checking "for sound support"" 1>&6 |
12108 echo "configure:12109: checking "for sound support"" >&5 | 12181 echo "configure:12182: checking "for sound support"" >&5 |
12109 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12182 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12110 | 12183 |
12111 if test "$with_native_sound" != "no"; then | 12184 if test "$with_native_sound" != "no"; then |
12112 if test -n "$native_sound_lib"; then | 12185 if test -n "$native_sound_lib"; then |
12113 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12186 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12114 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12187 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12115 echo "configure:12116: checking for multimedia/audio_device.h" >&5 | 12188 echo "configure:12189: checking for multimedia/audio_device.h" >&5 |
12116 | 12189 |
12117 cat > conftest.$ac_ext <<EOF | 12190 cat > conftest.$ac_ext <<EOF |
12118 #line 12119 "configure" | 12191 #line 12192 "configure" |
12119 #include "confdefs.h" | 12192 #include "confdefs.h" |
12120 #include <multimedia/audio_device.h> | 12193 #include <multimedia/audio_device.h> |
12121 EOF | 12194 EOF |
12122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12123 { (eval echo configure:12124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12196 { (eval echo configure:12197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12125 if test -z "$ac_err"; then | 12198 if test -z "$ac_err"; then |
12126 rm -rf conftest* | 12199 rm -rf conftest* |
12127 eval "ac_cv_header_$ac_safe=yes" | 12200 eval "ac_cv_header_$ac_safe=yes" |
12128 else | 12201 else |
12166 case "$canonical" in | 12239 case "$canonical" in |
12167 *-sgi-* ) | 12240 *-sgi-* ) |
12168 if test -z "$native_sound_lib"; then | 12241 if test -z "$native_sound_lib"; then |
12169 | 12242 |
12170 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12243 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12171 echo "configure:12172: checking for ALopenport in -laudio" >&5 | 12244 echo "configure:12245: checking for ALopenport in -laudio" >&5 |
12172 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12245 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12173 | 12246 |
12174 xe_check_libs=" -laudio " | 12247 xe_check_libs=" -laudio " |
12175 cat > conftest.$ac_ext <<EOF | 12248 cat > conftest.$ac_ext <<EOF |
12176 #line 12177 "configure" | 12249 #line 12250 "configure" |
12177 #include "confdefs.h" | 12250 #include "confdefs.h" |
12178 /* Override any gcc2 internal prototype to avoid an error. */ | 12251 /* Override any gcc2 internal prototype to avoid an error. */ |
12179 /* We use char because int might match the return type of a gcc2 | 12252 /* We use char because int might match the return type of a gcc2 |
12180 builtin and then its argument prototype would still apply. */ | 12253 builtin and then its argument prototype would still apply. */ |
12181 char ALopenport(); | 12254 char ALopenport(); |
12182 | 12255 |
12183 int main() { | 12256 int main() { |
12184 ALopenport() | 12257 ALopenport() |
12185 ; return 0; } | 12258 ; return 0; } |
12186 EOF | 12259 EOF |
12187 if { (eval echo configure:12188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12260 if { (eval echo configure:12261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12188 rm -rf conftest* | 12261 rm -rf conftest* |
12189 eval "ac_cv_lib_$ac_lib_var=yes" | 12262 eval "ac_cv_lib_$ac_lib_var=yes" |
12190 else | 12263 else |
12191 echo "configure: failed program was:" >&5 | 12264 echo "configure: failed program was:" >&5 |
12192 cat conftest.$ac_ext >&5 | 12265 cat conftest.$ac_ext >&5 |
12213 fi ;; | 12286 fi ;; |
12214 hppa*-hp-hpux* ) | 12287 hppa*-hp-hpux* ) |
12215 if test -z "$native_sound_lib"; then | 12288 if test -z "$native_sound_lib"; then |
12216 | 12289 |
12217 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12290 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12218 echo "configure:12219: checking for AOpenAudio in -lAlib" >&5 | 12291 echo "configure:12292: checking for AOpenAudio in -lAlib" >&5 |
12219 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12292 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12220 | 12293 |
12221 xe_check_libs=" -lAlib " | 12294 xe_check_libs=" -lAlib " |
12222 cat > conftest.$ac_ext <<EOF | 12295 cat > conftest.$ac_ext <<EOF |
12223 #line 12224 "configure" | 12296 #line 12297 "configure" |
12224 #include "confdefs.h" | 12297 #include "confdefs.h" |
12225 /* Override any gcc2 internal prototype to avoid an error. */ | 12298 /* Override any gcc2 internal prototype to avoid an error. */ |
12226 /* We use char because int might match the return type of a gcc2 | 12299 /* We use char because int might match the return type of a gcc2 |
12227 builtin and then its argument prototype would still apply. */ | 12300 builtin and then its argument prototype would still apply. */ |
12228 char AOpenAudio(); | 12301 char AOpenAudio(); |
12229 | 12302 |
12230 int main() { | 12303 int main() { |
12231 AOpenAudio() | 12304 AOpenAudio() |
12232 ; return 0; } | 12305 ; return 0; } |
12233 EOF | 12306 EOF |
12234 if { (eval echo configure:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12307 if { (eval echo configure:12308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12235 rm -rf conftest* | 12308 rm -rf conftest* |
12236 eval "ac_cv_lib_$ac_lib_var=yes" | 12309 eval "ac_cv_lib_$ac_lib_var=yes" |
12237 else | 12310 else |
12238 echo "configure: failed program was:" >&5 | 12311 echo "configure: failed program was:" >&5 |
12239 cat conftest.$ac_ext >&5 | 12312 cat conftest.$ac_ext >&5 |
12267 | 12340 |
12268 if test -z "$sound_found"; then | 12341 if test -z "$sound_found"; then |
12269 for dir in "machine" "sys" "linux"; do | 12342 for dir in "machine" "sys" "linux"; do |
12270 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12343 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
12271 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12344 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
12272 echo "configure:12273: checking for ${dir}/soundcard.h" >&5 | 12345 echo "configure:12346: checking for ${dir}/soundcard.h" >&5 |
12273 | 12346 |
12274 cat > conftest.$ac_ext <<EOF | 12347 cat > conftest.$ac_ext <<EOF |
12275 #line 12276 "configure" | 12348 #line 12349 "configure" |
12276 #include "confdefs.h" | 12349 #include "confdefs.h" |
12277 #include <${dir}/soundcard.h> | 12350 #include <${dir}/soundcard.h> |
12278 EOF | 12351 EOF |
12279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12280 { (eval echo configure:12281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12353 { (eval echo configure:12354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12282 if test -z "$ac_err"; then | 12355 if test -z "$ac_err"; then |
12283 rm -rf conftest* | 12356 rm -rf conftest* |
12284 eval "ac_cv_header_$ac_safe=yes" | 12357 eval "ac_cv_header_$ac_safe=yes" |
12285 else | 12358 else |
12336 fi | 12409 fi |
12337 | 12410 |
12338 if test "$with_nas_sound" != "no"; then | 12411 if test "$with_nas_sound" != "no"; then |
12339 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 12412 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
12340 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 12413 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
12341 echo "configure:12342: checking for audio/audiolib.h" >&5 | 12414 echo "configure:12415: checking for audio/audiolib.h" >&5 |
12342 | 12415 |
12343 cat > conftest.$ac_ext <<EOF | 12416 cat > conftest.$ac_ext <<EOF |
12344 #line 12345 "configure" | 12417 #line 12418 "configure" |
12345 #include "confdefs.h" | 12418 #include "confdefs.h" |
12346 #include <audio/audiolib.h> | 12419 #include <audio/audiolib.h> |
12347 EOF | 12420 EOF |
12348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12349 { (eval echo configure:12350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12422 { (eval echo configure:12423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12351 if test -z "$ac_err"; then | 12424 if test -z "$ac_err"; then |
12352 rm -rf conftest* | 12425 rm -rf conftest* |
12353 eval "ac_cv_header_$ac_safe=yes" | 12426 eval "ac_cv_header_$ac_safe=yes" |
12354 else | 12427 else |
12362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12435 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12363 echo "$ac_t""yes" 1>&6 | 12436 echo "$ac_t""yes" 1>&6 |
12364 | 12437 |
12365 | 12438 |
12366 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 12439 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
12367 echo "configure:12368: checking for AuOpenServer in -laudio" >&5 | 12440 echo "configure:12441: checking for AuOpenServer in -laudio" >&5 |
12368 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 12441 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
12369 | 12442 |
12370 xe_check_libs=" -laudio " | 12443 xe_check_libs=" -laudio " |
12371 cat > conftest.$ac_ext <<EOF | 12444 cat > conftest.$ac_ext <<EOF |
12372 #line 12373 "configure" | 12445 #line 12446 "configure" |
12373 #include "confdefs.h" | 12446 #include "confdefs.h" |
12374 /* Override any gcc2 internal prototype to avoid an error. */ | 12447 /* Override any gcc2 internal prototype to avoid an error. */ |
12375 /* We use char because int might match the return type of a gcc2 | 12448 /* We use char because int might match the return type of a gcc2 |
12376 builtin and then its argument prototype would still apply. */ | 12449 builtin and then its argument prototype would still apply. */ |
12377 char AuOpenServer(); | 12450 char AuOpenServer(); |
12378 | 12451 |
12379 int main() { | 12452 int main() { |
12380 AuOpenServer() | 12453 AuOpenServer() |
12381 ; return 0; } | 12454 ; return 0; } |
12382 EOF | 12455 EOF |
12383 if { (eval echo configure:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12456 if { (eval echo configure:12457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12384 rm -rf conftest* | 12457 rm -rf conftest* |
12385 eval "ac_cv_lib_$ac_lib_var=yes" | 12458 eval "ac_cv_lib_$ac_lib_var=yes" |
12386 else | 12459 else |
12387 echo "configure: failed program was:" >&5 | 12460 echo "configure: failed program was:" >&5 |
12388 cat conftest.$ac_ext >&5 | 12461 cat conftest.$ac_ext >&5 |
12417 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 12490 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
12418 echo " xemacs will be linked with \"nas.o\"" | 12491 echo " xemacs will be linked with \"nas.o\"" |
12419 fi | 12492 fi |
12420 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 12493 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
12421 cat > conftest.$ac_ext <<EOF | 12494 cat > conftest.$ac_ext <<EOF |
12422 #line 12423 "configure" | 12495 #line 12496 "configure" |
12423 #include "confdefs.h" | 12496 #include "confdefs.h" |
12424 #include <audio/Xtutil.h> | 12497 #include <audio/Xtutil.h> |
12425 EOF | 12498 EOF |
12426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12427 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 12500 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
12448 | 12521 |
12449 if test "$with_esd_sound" != "no"; then | 12522 if test "$with_esd_sound" != "no"; then |
12450 # Extract the first word of "esd-config", so it can be a program name with args. | 12523 # Extract the first word of "esd-config", so it can be a program name with args. |
12451 set dummy esd-config; ac_word=$2 | 12524 set dummy esd-config; ac_word=$2 |
12452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 12525 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
12453 echo "configure:12454: checking for $ac_word" >&5 | 12526 echo "configure:12527: checking for $ac_word" >&5 |
12454 | 12527 |
12455 if test -n "$have_esd_config"; then | 12528 if test -n "$have_esd_config"; then |
12456 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 12529 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
12457 else | 12530 else |
12458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 12531 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
12477 if test "$have_esd_config" = "yes"; then | 12550 if test "$have_esd_config" = "yes"; then |
12478 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 12551 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
12479 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 | 12552 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 |
12480 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 12553 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
12481 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 12554 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
12482 echo "configure:12483: checking for esd_play_stream" >&5 | 12555 echo "configure:12556: checking for esd_play_stream" >&5 |
12483 | 12556 |
12484 cat > conftest.$ac_ext <<EOF | 12557 cat > conftest.$ac_ext <<EOF |
12485 #line 12486 "configure" | 12558 #line 12559 "configure" |
12486 #include "confdefs.h" | 12559 #include "confdefs.h" |
12487 /* System header to define __stub macros and hopefully few prototypes, | 12560 /* System header to define __stub macros and hopefully few prototypes, |
12488 which can conflict with char esd_play_stream(); below. */ | 12561 which can conflict with char esd_play_stream(); below. */ |
12489 #include <assert.h> | 12562 #include <assert.h> |
12490 /* Override any gcc2 internal prototype to avoid an error. */ | 12563 /* Override any gcc2 internal prototype to avoid an error. */ |
12503 esd_play_stream(); | 12576 esd_play_stream(); |
12504 #endif | 12577 #endif |
12505 | 12578 |
12506 ; return 0; } | 12579 ; return 0; } |
12507 EOF | 12580 EOF |
12508 if { (eval echo configure:12509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12581 if { (eval echo configure:12582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12509 rm -rf conftest* | 12582 rm -rf conftest* |
12510 eval "ac_cv_func_esd_play_stream=yes" | 12583 eval "ac_cv_func_esd_play_stream=yes" |
12511 else | 12584 else |
12512 echo "configure: failed program was:" >&5 | 12585 echo "configure: failed program was:" >&5 |
12513 cat conftest.$ac_ext >&5 | 12586 cat conftest.$ac_ext >&5 |
12554 | 12627 |
12555 test -z "$with_tty" && with_tty=yes | 12628 test -z "$with_tty" && with_tty=yes |
12556 | 12629 |
12557 if test "$with_tty" = "yes" ; then | 12630 if test "$with_tty" = "yes" ; then |
12558 echo "checking for TTY-related features" 1>&6 | 12631 echo "checking for TTY-related features" 1>&6 |
12559 echo "configure:12560: checking for TTY-related features" >&5 | 12632 echo "configure:12633: checking for TTY-related features" >&5 |
12560 { test "$extra_verbose" = "yes" && cat << \EOF | 12633 { test "$extra_verbose" = "yes" && cat << \EOF |
12561 Defining HAVE_TTY | 12634 Defining HAVE_TTY |
12562 EOF | 12635 EOF |
12563 cat >> confdefs.h <<\EOF | 12636 cat >> confdefs.h <<\EOF |
12564 #define HAVE_TTY 1 | 12637 #define HAVE_TTY 1 |
12570 fi | 12643 fi |
12571 | 12644 |
12572 if test -z "$with_ncurses"; then | 12645 if test -z "$with_ncurses"; then |
12573 | 12646 |
12574 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 12647 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
12575 echo "configure:12576: checking for tgetent in -lncurses" >&5 | 12648 echo "configure:12649: checking for tgetent in -lncurses" >&5 |
12576 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 12649 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
12577 | 12650 |
12578 xe_check_libs=" -lncurses " | 12651 xe_check_libs=" -lncurses " |
12579 cat > conftest.$ac_ext <<EOF | 12652 cat > conftest.$ac_ext <<EOF |
12580 #line 12581 "configure" | 12653 #line 12654 "configure" |
12581 #include "confdefs.h" | 12654 #include "confdefs.h" |
12582 /* Override any gcc2 internal prototype to avoid an error. */ | 12655 /* Override any gcc2 internal prototype to avoid an error. */ |
12583 /* We use char because int might match the return type of a gcc2 | 12656 /* We use char because int might match the return type of a gcc2 |
12584 builtin and then its argument prototype would still apply. */ | 12657 builtin and then its argument prototype would still apply. */ |
12585 char tgetent(); | 12658 char tgetent(); |
12586 | 12659 |
12587 int main() { | 12660 int main() { |
12588 tgetent() | 12661 tgetent() |
12589 ; return 0; } | 12662 ; return 0; } |
12590 EOF | 12663 EOF |
12591 if { (eval echo configure:12592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12592 rm -rf conftest* | 12665 rm -rf conftest* |
12593 eval "ac_cv_lib_$ac_lib_var=yes" | 12666 eval "ac_cv_lib_$ac_lib_var=yes" |
12594 else | 12667 else |
12595 echo "configure: failed program was:" >&5 | 12668 echo "configure: failed program was:" >&5 |
12596 cat conftest.$ac_ext >&5 | 12669 cat conftest.$ac_ext >&5 |
12619 EOF | 12692 EOF |
12620 } | 12693 } |
12621 | 12694 |
12622 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12695 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
12623 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12696 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
12624 echo "configure:12625: checking for ncurses/curses.h" >&5 | 12697 echo "configure:12698: checking for ncurses/curses.h" >&5 |
12625 | 12698 |
12626 cat > conftest.$ac_ext <<EOF | 12699 cat > conftest.$ac_ext <<EOF |
12627 #line 12628 "configure" | 12700 #line 12701 "configure" |
12628 #include "confdefs.h" | 12701 #include "confdefs.h" |
12629 #include <ncurses/curses.h> | 12702 #include <ncurses/curses.h> |
12630 EOF | 12703 EOF |
12631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12632 { (eval echo configure:12633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12705 { (eval echo configure:12706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12634 if test -z "$ac_err"; then | 12707 if test -z "$ac_err"; then |
12635 rm -rf conftest* | 12708 rm -rf conftest* |
12636 eval "ac_cv_header_$ac_safe=yes" | 12709 eval "ac_cv_header_$ac_safe=yes" |
12637 else | 12710 else |
12649 echo "$ac_t""no" 1>&6 | 12722 echo "$ac_t""no" 1>&6 |
12650 fi | 12723 fi |
12651 | 12724 |
12652 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 12725 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
12653 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 12726 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
12654 echo "configure:12655: checking for ncurses/term.h" >&5 | 12727 echo "configure:12728: checking for ncurses/term.h" >&5 |
12655 | 12728 |
12656 cat > conftest.$ac_ext <<EOF | 12729 cat > conftest.$ac_ext <<EOF |
12657 #line 12658 "configure" | 12730 #line 12731 "configure" |
12658 #include "confdefs.h" | 12731 #include "confdefs.h" |
12659 #include <ncurses/term.h> | 12732 #include <ncurses/term.h> |
12660 EOF | 12733 EOF |
12661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12662 { (eval echo configure:12663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12735 { (eval echo configure:12736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12664 if test -z "$ac_err"; then | 12737 if test -z "$ac_err"; then |
12665 rm -rf conftest* | 12738 rm -rf conftest* |
12666 eval "ac_cv_header_$ac_safe=yes" | 12739 eval "ac_cv_header_$ac_safe=yes" |
12667 else | 12740 else |
12687 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 12760 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
12688 save_c_switch_site="$c_switch_site" | 12761 save_c_switch_site="$c_switch_site" |
12689 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 12762 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
12690 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12763 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
12691 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12764 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
12692 echo "configure:12693: checking for ncurses/curses.h" >&5 | 12765 echo "configure:12766: checking for ncurses/curses.h" >&5 |
12693 | 12766 |
12694 cat > conftest.$ac_ext <<EOF | 12767 cat > conftest.$ac_ext <<EOF |
12695 #line 12696 "configure" | 12768 #line 12769 "configure" |
12696 #include "confdefs.h" | 12769 #include "confdefs.h" |
12697 #include <ncurses/curses.h> | 12770 #include <ncurses/curses.h> |
12698 EOF | 12771 EOF |
12699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12700 { (eval echo configure:12701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12773 { (eval echo configure:12774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12702 if test -z "$ac_err"; then | 12775 if test -z "$ac_err"; then |
12703 rm -rf conftest* | 12776 rm -rf conftest* |
12704 eval "ac_cv_header_$ac_safe=yes" | 12777 eval "ac_cv_header_$ac_safe=yes" |
12705 else | 12778 else |
12730 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12803 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
12731 else | 12804 else |
12732 for lib in curses termlib termcap; do | 12805 for lib in curses termlib termcap; do |
12733 | 12806 |
12734 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 12807 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
12735 echo "configure:12736: checking for tgetent in -l$lib" >&5 | 12808 echo "configure:12809: checking for tgetent in -l$lib" >&5 |
12736 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 12809 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
12737 | 12810 |
12738 xe_check_libs=" -l$lib " | 12811 xe_check_libs=" -l$lib " |
12739 cat > conftest.$ac_ext <<EOF | 12812 cat > conftest.$ac_ext <<EOF |
12740 #line 12741 "configure" | 12813 #line 12814 "configure" |
12741 #include "confdefs.h" | 12814 #include "confdefs.h" |
12742 /* Override any gcc2 internal prototype to avoid an error. */ | 12815 /* Override any gcc2 internal prototype to avoid an error. */ |
12743 /* We use char because int might match the return type of a gcc2 | 12816 /* We use char because int might match the return type of a gcc2 |
12744 builtin and then its argument prototype would still apply. */ | 12817 builtin and then its argument prototype would still apply. */ |
12745 char tgetent(); | 12818 char tgetent(); |
12746 | 12819 |
12747 int main() { | 12820 int main() { |
12748 tgetent() | 12821 tgetent() |
12749 ; return 0; } | 12822 ; return 0; } |
12750 EOF | 12823 EOF |
12751 if { (eval echo configure:12752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12824 if { (eval echo configure:12825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12752 rm -rf conftest* | 12825 rm -rf conftest* |
12753 eval "ac_cv_lib_$ac_lib_var=yes" | 12826 eval "ac_cv_lib_$ac_lib_var=yes" |
12754 else | 12827 else |
12755 echo "configure: failed program was:" >&5 | 12828 echo "configure: failed program was:" >&5 |
12756 cat conftest.$ac_ext >&5 | 12829 cat conftest.$ac_ext >&5 |
12777 if test -n "$libs_termcap"; then | 12850 if test -n "$libs_termcap"; then |
12778 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12851 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
12779 else | 12852 else |
12780 | 12853 |
12781 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 12854 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
12782 echo "configure:12783: checking for tgetent in -lcurses" >&5 | 12855 echo "configure:12856: checking for tgetent in -lcurses" >&5 |
12783 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 12856 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
12784 | 12857 |
12785 xe_check_libs=" -lcurses " | 12858 xe_check_libs=" -lcurses " |
12786 cat > conftest.$ac_ext <<EOF | 12859 cat > conftest.$ac_ext <<EOF |
12787 #line 12788 "configure" | 12860 #line 12861 "configure" |
12788 #include "confdefs.h" | 12861 #include "confdefs.h" |
12789 /* Override any gcc2 internal prototype to avoid an error. */ | 12862 /* Override any gcc2 internal prototype to avoid an error. */ |
12790 /* We use char because int might match the return type of a gcc2 | 12863 /* We use char because int might match the return type of a gcc2 |
12791 builtin and then its argument prototype would still apply. */ | 12864 builtin and then its argument prototype would still apply. */ |
12792 char tgetent(); | 12865 char tgetent(); |
12793 | 12866 |
12794 int main() { | 12867 int main() { |
12795 tgetent() | 12868 tgetent() |
12796 ; return 0; } | 12869 ; return 0; } |
12797 EOF | 12870 EOF |
12798 if { (eval echo configure:12799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12871 if { (eval echo configure:12872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12799 rm -rf conftest* | 12872 rm -rf conftest* |
12800 eval "ac_cv_lib_$ac_lib_var=yes" | 12873 eval "ac_cv_lib_$ac_lib_var=yes" |
12801 else | 12874 else |
12802 echo "configure: failed program was:" >&5 | 12875 echo "configure: failed program was:" >&5 |
12803 cat conftest.$ac_ext >&5 | 12876 cat conftest.$ac_ext >&5 |
12811 echo "$ac_t""yes" 1>&6 | 12884 echo "$ac_t""yes" 1>&6 |
12812 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 12885 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
12813 else | 12886 else |
12814 echo "$ac_t""no" 1>&6 | 12887 echo "$ac_t""no" 1>&6 |
12815 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 12888 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
12816 echo "configure:12817: checking for tgetent in -ltermcap" >&5 | 12889 echo "configure:12890: checking for tgetent in -ltermcap" >&5 |
12817 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 12890 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
12818 | 12891 |
12819 xe_check_libs=" -ltermcap " | 12892 xe_check_libs=" -ltermcap " |
12820 cat > conftest.$ac_ext <<EOF | 12893 cat > conftest.$ac_ext <<EOF |
12821 #line 12822 "configure" | 12894 #line 12895 "configure" |
12822 #include "confdefs.h" | 12895 #include "confdefs.h" |
12823 /* Override any gcc2 internal prototype to avoid an error. */ | 12896 /* Override any gcc2 internal prototype to avoid an error. */ |
12824 /* We use char because int might match the return type of a gcc2 | 12897 /* We use char because int might match the return type of a gcc2 |
12825 builtin and then its argument prototype would still apply. */ | 12898 builtin and then its argument prototype would still apply. */ |
12826 char tgetent(); | 12899 char tgetent(); |
12827 | 12900 |
12828 int main() { | 12901 int main() { |
12829 tgetent() | 12902 tgetent() |
12830 ; return 0; } | 12903 ; return 0; } |
12831 EOF | 12904 EOF |
12832 if { (eval echo configure:12833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12905 if { (eval echo configure:12906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12833 rm -rf conftest* | 12906 rm -rf conftest* |
12834 eval "ac_cv_lib_$ac_lib_var=yes" | 12907 eval "ac_cv_lib_$ac_lib_var=yes" |
12835 else | 12908 else |
12836 echo "configure: failed program was:" >&5 | 12909 echo "configure: failed program was:" >&5 |
12837 cat conftest.$ac_ext >&5 | 12910 cat conftest.$ac_ext >&5 |
12875 } | 12948 } |
12876 | 12949 |
12877 | 12950 |
12878 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 12951 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
12879 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 12952 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
12880 echo "configure:12881: checking for gpm.h" >&5 | 12953 echo "configure:12954: checking for gpm.h" >&5 |
12881 | 12954 |
12882 cat > conftest.$ac_ext <<EOF | 12955 cat > conftest.$ac_ext <<EOF |
12883 #line 12884 "configure" | 12956 #line 12957 "configure" |
12884 #include "confdefs.h" | 12957 #include "confdefs.h" |
12885 #include <gpm.h> | 12958 #include <gpm.h> |
12886 EOF | 12959 EOF |
12887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12888 { (eval echo configure:12889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12961 { (eval echo configure:12962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12890 if test -z "$ac_err"; then | 12963 if test -z "$ac_err"; then |
12891 rm -rf conftest* | 12964 rm -rf conftest* |
12892 eval "ac_cv_header_$ac_safe=yes" | 12965 eval "ac_cv_header_$ac_safe=yes" |
12893 else | 12966 else |
12906 with_gpm=no | 12979 with_gpm=no |
12907 fi | 12980 fi |
12908 } | 12981 } |
12909 test -z "$with_gpm" && { | 12982 test -z "$with_gpm" && { |
12910 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 12983 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
12911 echo "configure:12912: checking for Gpm_Open in -lgpm" >&5 | 12984 echo "configure:12985: checking for Gpm_Open in -lgpm" >&5 |
12912 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 12985 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
12913 | 12986 |
12914 xe_check_libs=" -lgpm " | 12987 xe_check_libs=" -lgpm " |
12915 cat > conftest.$ac_ext <<EOF | 12988 cat > conftest.$ac_ext <<EOF |
12916 #line 12917 "configure" | 12989 #line 12990 "configure" |
12917 #include "confdefs.h" | 12990 #include "confdefs.h" |
12918 /* Override any gcc2 internal prototype to avoid an error. */ | 12991 /* Override any gcc2 internal prototype to avoid an error. */ |
12919 /* We use char because int might match the return type of a gcc2 | 12992 /* We use char because int might match the return type of a gcc2 |
12920 builtin and then its argument prototype would still apply. */ | 12993 builtin and then its argument prototype would still apply. */ |
12921 char Gpm_Open(); | 12994 char Gpm_Open(); |
12922 | 12995 |
12923 int main() { | 12996 int main() { |
12924 Gpm_Open() | 12997 Gpm_Open() |
12925 ; return 0; } | 12998 ; return 0; } |
12926 EOF | 12999 EOF |
12927 if { (eval echo configure:12928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13000 if { (eval echo configure:13001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12928 rm -rf conftest* | 13001 rm -rf conftest* |
12929 eval "ac_cv_lib_$ac_lib_var=yes" | 13002 eval "ac_cv_lib_$ac_lib_var=yes" |
12930 else | 13003 else |
12931 echo "configure: failed program was:" >&5 | 13004 echo "configure: failed program was:" >&5 |
12932 cat conftest.$ac_ext >&5 | 13005 cat conftest.$ac_ext >&5 |
12972 fi | 13045 fi |
12973 | 13046 |
12974 | 13047 |
12975 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13048 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
12976 != "no no no" && echo "checking for database support" 1>&6 | 13049 != "no no no" && echo "checking for database support" 1>&6 |
12977 echo "configure:12978: checking for database support" >&5 | 13050 echo "configure:13051: checking for database support" >&5 |
12978 | 13051 |
12979 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13052 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
12980 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13053 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
12981 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13054 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
12982 echo "configure:12983: checking for ndbm.h" >&5 | 13055 echo "configure:13056: checking for ndbm.h" >&5 |
12983 | 13056 |
12984 cat > conftest.$ac_ext <<EOF | 13057 cat > conftest.$ac_ext <<EOF |
12985 #line 12986 "configure" | 13058 #line 13059 "configure" |
12986 #include "confdefs.h" | 13059 #include "confdefs.h" |
12987 #include <ndbm.h> | 13060 #include <ndbm.h> |
12988 EOF | 13061 EOF |
12989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12990 { (eval echo configure:12991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13063 { (eval echo configure:13064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12992 if test -z "$ac_err"; then | 13065 if test -z "$ac_err"; then |
12993 rm -rf conftest* | 13066 rm -rf conftest* |
12994 eval "ac_cv_header_$ac_safe=yes" | 13067 eval "ac_cv_header_$ac_safe=yes" |
12995 else | 13068 else |
13015 fi | 13088 fi |
13016 | 13089 |
13017 if test "$with_database_gdbm" != "no"; then | 13090 if test "$with_database_gdbm" != "no"; then |
13018 | 13091 |
13019 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13092 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13020 echo "configure:13021: checking for dbm_open in -lgdbm" >&5 | 13093 echo "configure:13094: checking for dbm_open in -lgdbm" >&5 |
13021 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13094 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13022 | 13095 |
13023 xe_check_libs=" -lgdbm " | 13096 xe_check_libs=" -lgdbm " |
13024 cat > conftest.$ac_ext <<EOF | 13097 cat > conftest.$ac_ext <<EOF |
13025 #line 13026 "configure" | 13098 #line 13099 "configure" |
13026 #include "confdefs.h" | 13099 #include "confdefs.h" |
13027 /* Override any gcc2 internal prototype to avoid an error. */ | 13100 /* Override any gcc2 internal prototype to avoid an error. */ |
13028 /* We use char because int might match the return type of a gcc2 | 13101 /* We use char because int might match the return type of a gcc2 |
13029 builtin and then its argument prototype would still apply. */ | 13102 builtin and then its argument prototype would still apply. */ |
13030 char dbm_open(); | 13103 char dbm_open(); |
13031 | 13104 |
13032 int main() { | 13105 int main() { |
13033 dbm_open() | 13106 dbm_open() |
13034 ; return 0; } | 13107 ; return 0; } |
13035 EOF | 13108 EOF |
13036 if { (eval echo configure:13037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13037 rm -rf conftest* | 13110 rm -rf conftest* |
13038 eval "ac_cv_lib_$ac_lib_var=yes" | 13111 eval "ac_cv_lib_$ac_lib_var=yes" |
13039 else | 13112 else |
13040 echo "configure: failed program was:" >&5 | 13113 echo "configure: failed program was:" >&5 |
13041 cat conftest.$ac_ext >&5 | 13114 cat conftest.$ac_ext >&5 |
13059 | 13132 |
13060 fi | 13133 fi |
13061 | 13134 |
13062 if test "$with_database_dbm" != "no"; then | 13135 if test "$with_database_dbm" != "no"; then |
13063 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13136 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13064 echo "configure:13065: checking for dbm_open" >&5 | 13137 echo "configure:13138: checking for dbm_open" >&5 |
13065 | 13138 |
13066 cat > conftest.$ac_ext <<EOF | 13139 cat > conftest.$ac_ext <<EOF |
13067 #line 13068 "configure" | 13140 #line 13141 "configure" |
13068 #include "confdefs.h" | 13141 #include "confdefs.h" |
13069 /* System header to define __stub macros and hopefully few prototypes, | 13142 /* System header to define __stub macros and hopefully few prototypes, |
13070 which can conflict with char dbm_open(); below. */ | 13143 which can conflict with char dbm_open(); below. */ |
13071 #include <assert.h> | 13144 #include <assert.h> |
13072 /* Override any gcc2 internal prototype to avoid an error. */ | 13145 /* Override any gcc2 internal prototype to avoid an error. */ |
13085 dbm_open(); | 13158 dbm_open(); |
13086 #endif | 13159 #endif |
13087 | 13160 |
13088 ; return 0; } | 13161 ; return 0; } |
13089 EOF | 13162 EOF |
13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13163 if { (eval echo configure:13164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13091 rm -rf conftest* | 13164 rm -rf conftest* |
13092 eval "ac_cv_func_dbm_open=yes" | 13165 eval "ac_cv_func_dbm_open=yes" |
13093 else | 13166 else |
13094 echo "configure: failed program was:" >&5 | 13167 echo "configure: failed program was:" >&5 |
13095 cat conftest.$ac_ext >&5 | 13168 cat conftest.$ac_ext >&5 |
13104 else | 13177 else |
13105 echo "$ac_t""no" 1>&6 | 13178 echo "$ac_t""no" 1>&6 |
13106 | 13179 |
13107 | 13180 |
13108 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13181 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13109 echo "configure:13110: checking for dbm_open in -ldbm" >&5 | 13182 echo "configure:13183: checking for dbm_open in -ldbm" >&5 |
13110 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13183 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13111 | 13184 |
13112 xe_check_libs=" -ldbm " | 13185 xe_check_libs=" -ldbm " |
13113 cat > conftest.$ac_ext <<EOF | 13186 cat > conftest.$ac_ext <<EOF |
13114 #line 13115 "configure" | 13187 #line 13188 "configure" |
13115 #include "confdefs.h" | 13188 #include "confdefs.h" |
13116 /* Override any gcc2 internal prototype to avoid an error. */ | 13189 /* Override any gcc2 internal prototype to avoid an error. */ |
13117 /* We use char because int might match the return type of a gcc2 | 13190 /* We use char because int might match the return type of a gcc2 |
13118 builtin and then its argument prototype would still apply. */ | 13191 builtin and then its argument prototype would still apply. */ |
13119 char dbm_open(); | 13192 char dbm_open(); |
13120 | 13193 |
13121 int main() { | 13194 int main() { |
13122 dbm_open() | 13195 dbm_open() |
13123 ; return 0; } | 13196 ; return 0; } |
13124 EOF | 13197 EOF |
13125 if { (eval echo configure:13126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13198 if { (eval echo configure:13199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13126 rm -rf conftest* | 13199 rm -rf conftest* |
13127 eval "ac_cv_lib_$ac_lib_var=yes" | 13200 eval "ac_cv_lib_$ac_lib_var=yes" |
13128 else | 13201 else |
13129 echo "configure: failed program was:" >&5 | 13202 echo "configure: failed program was:" >&5 |
13130 cat conftest.$ac_ext >&5 | 13203 cat conftest.$ac_ext >&5 |
13161 } | 13234 } |
13162 | 13235 |
13163 | 13236 |
13164 if test "$with_database_berkdb" != "no"; then | 13237 if test "$with_database_berkdb" != "no"; then |
13165 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13238 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13166 echo "configure:13167: checking for Berkeley db.h" >&5 | 13239 echo "configure:13240: checking for Berkeley db.h" >&5 |
13167 for header in "db/db.h" "db.h"; do | 13240 for header in "db/db.h" "db.h"; do |
13168 cat > conftest.$ac_ext <<EOF | 13241 cat > conftest.$ac_ext <<EOF |
13169 #line 13170 "configure" | 13242 #line 13243 "configure" |
13170 #include "confdefs.h" | 13243 #include "confdefs.h" |
13171 | 13244 |
13172 #include <stdlib.h> | 13245 #include <stdlib.h> |
13173 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13246 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13174 #ifdef HAVE_INTTYPES_H | 13247 #ifdef HAVE_INTTYPES_H |
13186 | 13259 |
13187 int main() { | 13260 int main() { |
13188 | 13261 |
13189 ; return 0; } | 13262 ; return 0; } |
13190 EOF | 13263 EOF |
13191 if { (eval echo configure:13192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13264 if { (eval echo configure:13265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13192 rm -rf conftest* | 13265 rm -rf conftest* |
13193 db_h_file="$header"; break | 13266 db_h_file="$header"; break |
13194 else | 13267 else |
13195 echo "configure: failed program was:" >&5 | 13268 echo "configure: failed program was:" >&5 |
13196 cat conftest.$ac_ext >&5 | 13269 cat conftest.$ac_ext >&5 |
13202 else echo "$ac_t""$db_h_file" 1>&6 | 13275 else echo "$ac_t""$db_h_file" 1>&6 |
13203 fi | 13276 fi |
13204 | 13277 |
13205 if test "$with_database_berkdb" != "no"; then | 13278 if test "$with_database_berkdb" != "no"; then |
13206 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13279 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13207 echo "configure:13208: checking for Berkeley DB version" >&5 | 13280 echo "configure:13281: checking for Berkeley DB version" >&5 |
13208 cat > conftest.$ac_ext <<EOF | 13281 cat > conftest.$ac_ext <<EOF |
13209 #line 13210 "configure" | 13282 #line 13283 "configure" |
13210 #include "confdefs.h" | 13283 #include "confdefs.h" |
13211 #include <$db_h_file> | 13284 #include <$db_h_file> |
13212 #if DB_VERSION_MAJOR > 1 | 13285 #if DB_VERSION_MAJOR > 1 |
13213 yes | 13286 yes |
13214 #endif | 13287 #endif |
13223 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13296 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13224 fi | 13297 fi |
13225 rm -f conftest* | 13298 rm -f conftest* |
13226 | 13299 |
13227 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13300 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13228 echo "configure:13229: checking for $dbfunc" >&5 | 13301 echo "configure:13302: checking for $dbfunc" >&5 |
13229 | 13302 |
13230 cat > conftest.$ac_ext <<EOF | 13303 cat > conftest.$ac_ext <<EOF |
13231 #line 13232 "configure" | 13304 #line 13305 "configure" |
13232 #include "confdefs.h" | 13305 #include "confdefs.h" |
13233 /* System header to define __stub macros and hopefully few prototypes, | 13306 /* System header to define __stub macros and hopefully few prototypes, |
13234 which can conflict with char $dbfunc(); below. */ | 13307 which can conflict with char $dbfunc(); below. */ |
13235 #include <assert.h> | 13308 #include <assert.h> |
13236 /* Override any gcc2 internal prototype to avoid an error. */ | 13309 /* Override any gcc2 internal prototype to avoid an error. */ |
13249 $dbfunc(); | 13322 $dbfunc(); |
13250 #endif | 13323 #endif |
13251 | 13324 |
13252 ; return 0; } | 13325 ; return 0; } |
13253 EOF | 13326 EOF |
13254 if { (eval echo configure:13255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13327 if { (eval echo configure:13328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13255 rm -rf conftest* | 13328 rm -rf conftest* |
13256 eval "ac_cv_func_$dbfunc=yes" | 13329 eval "ac_cv_func_$dbfunc=yes" |
13257 else | 13330 else |
13258 echo "configure: failed program was:" >&5 | 13331 echo "configure: failed program was:" >&5 |
13259 cat conftest.$ac_ext >&5 | 13332 cat conftest.$ac_ext >&5 |
13268 else | 13341 else |
13269 echo "$ac_t""no" 1>&6 | 13342 echo "$ac_t""no" 1>&6 |
13270 | 13343 |
13271 | 13344 |
13272 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13345 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
13273 echo "configure:13274: checking for $dbfunc in -ldb" >&5 | 13346 echo "configure:13347: checking for $dbfunc in -ldb" >&5 |
13274 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13347 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
13275 | 13348 |
13276 xe_check_libs=" -ldb " | 13349 xe_check_libs=" -ldb " |
13277 cat > conftest.$ac_ext <<EOF | 13350 cat > conftest.$ac_ext <<EOF |
13278 #line 13279 "configure" | 13351 #line 13352 "configure" |
13279 #include "confdefs.h" | 13352 #include "confdefs.h" |
13280 /* Override any gcc2 internal prototype to avoid an error. */ | 13353 /* Override any gcc2 internal prototype to avoid an error. */ |
13281 /* We use char because int might match the return type of a gcc2 | 13354 /* We use char because int might match the return type of a gcc2 |
13282 builtin and then its argument prototype would still apply. */ | 13355 builtin and then its argument prototype would still apply. */ |
13283 char $dbfunc(); | 13356 char $dbfunc(); |
13284 | 13357 |
13285 int main() { | 13358 int main() { |
13286 $dbfunc() | 13359 $dbfunc() |
13287 ; return 0; } | 13360 ; return 0; } |
13288 EOF | 13361 EOF |
13289 if { (eval echo configure:13290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13362 if { (eval echo configure:13363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13290 rm -rf conftest* | 13363 rm -rf conftest* |
13291 eval "ac_cv_lib_$ac_lib_var=yes" | 13364 eval "ac_cv_lib_$ac_lib_var=yes" |
13292 else | 13365 else |
13293 echo "configure: failed program was:" >&5 | 13366 echo "configure: failed program was:" >&5 |
13294 cat conftest.$ac_ext >&5 | 13367 cat conftest.$ac_ext >&5 |
13348 fi | 13421 fi |
13349 | 13422 |
13350 if test "$with_socks" = "yes"; then | 13423 if test "$with_socks" = "yes"; then |
13351 | 13424 |
13352 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 13425 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
13353 echo "configure:13354: checking for SOCKSinit in -lsocks" >&5 | 13426 echo "configure:13427: checking for SOCKSinit in -lsocks" >&5 |
13354 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 13427 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
13355 | 13428 |
13356 xe_check_libs=" -lsocks " | 13429 xe_check_libs=" -lsocks " |
13357 cat > conftest.$ac_ext <<EOF | 13430 cat > conftest.$ac_ext <<EOF |
13358 #line 13359 "configure" | 13431 #line 13432 "configure" |
13359 #include "confdefs.h" | 13432 #include "confdefs.h" |
13360 /* Override any gcc2 internal prototype to avoid an error. */ | 13433 /* Override any gcc2 internal prototype to avoid an error. */ |
13361 /* We use char because int might match the return type of a gcc2 | 13434 /* We use char because int might match the return type of a gcc2 |
13362 builtin and then its argument prototype would still apply. */ | 13435 builtin and then its argument prototype would still apply. */ |
13363 char SOCKSinit(); | 13436 char SOCKSinit(); |
13364 | 13437 |
13365 int main() { | 13438 int main() { |
13366 SOCKSinit() | 13439 SOCKSinit() |
13367 ; return 0; } | 13440 ; return 0; } |
13368 EOF | 13441 EOF |
13369 if { (eval echo configure:13370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13442 if { (eval echo configure:13443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13370 rm -rf conftest* | 13443 rm -rf conftest* |
13371 eval "ac_cv_lib_$ac_lib_var=yes" | 13444 eval "ac_cv_lib_$ac_lib_var=yes" |
13372 else | 13445 else |
13373 echo "configure: failed program was:" >&5 | 13446 echo "configure: failed program was:" >&5 |
13374 cat conftest.$ac_ext >&5 | 13447 cat conftest.$ac_ext >&5 |
13419 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 13492 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
13420 fi | 13493 fi |
13421 | 13494 |
13422 if test "$with_modules" != "no"; then | 13495 if test "$with_modules" != "no"; then |
13423 echo "checking for module support" 1>&6 | 13496 echo "checking for module support" 1>&6 |
13424 echo "configure:13425: checking for module support" >&5 | 13497 echo "configure:13498: checking for module support" >&5 |
13425 | 13498 |
13426 if test "$with_msw" = "yes"; then | 13499 if test "$with_msw" = "yes"; then |
13427 have_dl=yes; | 13500 have_dl=yes; |
13428 else | 13501 else |
13429 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 13502 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
13430 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 13503 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
13431 echo "configure:13432: checking for dlfcn.h" >&5 | 13504 echo "configure:13505: checking for dlfcn.h" >&5 |
13432 | 13505 |
13433 cat > conftest.$ac_ext <<EOF | 13506 cat > conftest.$ac_ext <<EOF |
13434 #line 13435 "configure" | 13507 #line 13508 "configure" |
13435 #include "confdefs.h" | 13508 #include "confdefs.h" |
13436 #include <dlfcn.h> | 13509 #include <dlfcn.h> |
13437 EOF | 13510 EOF |
13438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13439 { (eval echo configure:13440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13512 { (eval echo configure:13513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13441 if test -z "$ac_err"; then | 13514 if test -z "$ac_err"; then |
13442 rm -rf conftest* | 13515 rm -rf conftest* |
13443 eval "ac_cv_header_$ac_safe=yes" | 13516 eval "ac_cv_header_$ac_safe=yes" |
13444 else | 13517 else |
13452 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13525 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13453 echo "$ac_t""yes" 1>&6 | 13526 echo "$ac_t""yes" 1>&6 |
13454 | 13527 |
13455 | 13528 |
13456 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 13529 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
13457 echo "configure:13458: checking for dlopen in -ldl" >&5 | 13530 echo "configure:13531: checking for dlopen in -ldl" >&5 |
13458 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 13531 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
13459 | 13532 |
13460 xe_check_libs=" -ldl " | 13533 xe_check_libs=" -ldl " |
13461 cat > conftest.$ac_ext <<EOF | 13534 cat > conftest.$ac_ext <<EOF |
13462 #line 13463 "configure" | 13535 #line 13536 "configure" |
13463 #include "confdefs.h" | 13536 #include "confdefs.h" |
13464 /* Override any gcc2 internal prototype to avoid an error. */ | 13537 /* Override any gcc2 internal prototype to avoid an error. */ |
13465 /* We use char because int might match the return type of a gcc2 | 13538 /* We use char because int might match the return type of a gcc2 |
13466 builtin and then its argument prototype would still apply. */ | 13539 builtin and then its argument prototype would still apply. */ |
13467 char dlopen(); | 13540 char dlopen(); |
13468 | 13541 |
13469 int main() { | 13542 int main() { |
13470 dlopen() | 13543 dlopen() |
13471 ; return 0; } | 13544 ; return 0; } |
13472 EOF | 13545 EOF |
13473 if { (eval echo configure:13474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13546 if { (eval echo configure:13547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13474 rm -rf conftest* | 13547 rm -rf conftest* |
13475 eval "ac_cv_lib_$ac_lib_var=yes" | 13548 eval "ac_cv_lib_$ac_lib_var=yes" |
13476 else | 13549 else |
13477 echo "configure: failed program was:" >&5 | 13550 echo "configure: failed program was:" >&5 |
13478 cat conftest.$ac_ext >&5 | 13551 cat conftest.$ac_ext >&5 |
13487 have_dl=yes libdl=dl | 13560 have_dl=yes libdl=dl |
13488 else | 13561 else |
13489 echo "$ac_t""no" 1>&6 | 13562 echo "$ac_t""no" 1>&6 |
13490 | 13563 |
13491 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 13564 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
13492 echo "configure:13493: checking for dlopen in -lc" >&5 | 13565 echo "configure:13566: checking for dlopen in -lc" >&5 |
13493 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 13566 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
13494 | 13567 |
13495 xe_check_libs=" -lc " | 13568 xe_check_libs=" -lc " |
13496 cat > conftest.$ac_ext <<EOF | 13569 cat > conftest.$ac_ext <<EOF |
13497 #line 13498 "configure" | 13570 #line 13571 "configure" |
13498 #include "confdefs.h" | 13571 #include "confdefs.h" |
13499 /* Override any gcc2 internal prototype to avoid an error. */ | 13572 /* Override any gcc2 internal prototype to avoid an error. */ |
13500 /* We use char because int might match the return type of a gcc2 | 13573 /* We use char because int might match the return type of a gcc2 |
13501 builtin and then its argument prototype would still apply. */ | 13574 builtin and then its argument prototype would still apply. */ |
13502 char dlopen(); | 13575 char dlopen(); |
13503 | 13576 |
13504 int main() { | 13577 int main() { |
13505 dlopen() | 13578 dlopen() |
13506 ; return 0; } | 13579 ; return 0; } |
13507 EOF | 13580 EOF |
13508 if { (eval echo configure:13509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13581 if { (eval echo configure:13582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13509 rm -rf conftest* | 13582 rm -rf conftest* |
13510 eval "ac_cv_lib_$ac_lib_var=yes" | 13583 eval "ac_cv_lib_$ac_lib_var=yes" |
13511 else | 13584 else |
13512 echo "configure: failed program was:" >&5 | 13585 echo "configure: failed program was:" >&5 |
13513 cat conftest.$ac_ext >&5 | 13586 cat conftest.$ac_ext >&5 |
13542 } | 13615 } |
13543 | 13616 |
13544 else | 13617 else |
13545 | 13618 |
13546 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 13619 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
13547 echo "configure:13548: checking for shl_load in -ldld" >&5 | 13620 echo "configure:13621: checking for shl_load in -ldld" >&5 |
13548 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 13621 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
13549 | 13622 |
13550 xe_check_libs=" -ldld " | 13623 xe_check_libs=" -ldld " |
13551 cat > conftest.$ac_ext <<EOF | 13624 cat > conftest.$ac_ext <<EOF |
13552 #line 13553 "configure" | 13625 #line 13626 "configure" |
13553 #include "confdefs.h" | 13626 #include "confdefs.h" |
13554 /* Override any gcc2 internal prototype to avoid an error. */ | 13627 /* Override any gcc2 internal prototype to avoid an error. */ |
13555 /* We use char because int might match the return type of a gcc2 | 13628 /* We use char because int might match the return type of a gcc2 |
13556 builtin and then its argument prototype would still apply. */ | 13629 builtin and then its argument prototype would still apply. */ |
13557 char shl_load(); | 13630 char shl_load(); |
13558 | 13631 |
13559 int main() { | 13632 int main() { |
13560 shl_load() | 13633 shl_load() |
13561 ; return 0; } | 13634 ; return 0; } |
13562 EOF | 13635 EOF |
13563 if { (eval echo configure:13564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13564 rm -rf conftest* | 13637 rm -rf conftest* |
13565 eval "ac_cv_lib_$ac_lib_var=yes" | 13638 eval "ac_cv_lib_$ac_lib_var=yes" |
13566 else | 13639 else |
13567 echo "configure: failed program was:" >&5 | 13640 echo "configure: failed program was:" >&5 |
13568 cat conftest.$ac_ext >&5 | 13641 cat conftest.$ac_ext >&5 |
13585 | 13658 |
13586 else | 13659 else |
13587 echo "$ac_t""no" 1>&6 | 13660 echo "$ac_t""no" 1>&6 |
13588 | 13661 |
13589 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 13662 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
13590 echo "configure:13591: checking for dld_init in -ldld" >&5 | 13663 echo "configure:13664: checking for dld_init in -ldld" >&5 |
13591 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 13664 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
13592 | 13665 |
13593 xe_check_libs=" -ldld " | 13666 xe_check_libs=" -ldld " |
13594 cat > conftest.$ac_ext <<EOF | 13667 cat > conftest.$ac_ext <<EOF |
13595 #line 13596 "configure" | 13668 #line 13669 "configure" |
13596 #include "confdefs.h" | 13669 #include "confdefs.h" |
13597 /* Override any gcc2 internal prototype to avoid an error. */ | 13670 /* Override any gcc2 internal prototype to avoid an error. */ |
13598 /* We use char because int might match the return type of a gcc2 | 13671 /* We use char because int might match the return type of a gcc2 |
13599 builtin and then its argument prototype would still apply. */ | 13672 builtin and then its argument prototype would still apply. */ |
13600 char dld_init(); | 13673 char dld_init(); |
13601 | 13674 |
13602 int main() { | 13675 int main() { |
13603 dld_init() | 13676 dld_init() |
13604 ; return 0; } | 13677 ; return 0; } |
13605 EOF | 13678 EOF |
13606 if { (eval echo configure:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13679 if { (eval echo configure:13680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13607 rm -rf conftest* | 13680 rm -rf conftest* |
13608 eval "ac_cv_lib_$ac_lib_var=yes" | 13681 eval "ac_cv_lib_$ac_lib_var=yes" |
13609 else | 13682 else |
13610 echo "configure: failed program was:" >&5 | 13683 echo "configure: failed program was:" >&5 |
13611 cat conftest.$ac_ext >&5 | 13684 cat conftest.$ac_ext >&5 |
13646 ld_dynamic_link_flags= | 13719 ld_dynamic_link_flags= |
13647 xehost=$canonical | 13720 xehost=$canonical |
13648 xealias=$internal_configuration | 13721 xealias=$internal_configuration |
13649 | 13722 |
13650 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 13723 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
13651 echo "configure:13652: checking how to build dynamic libraries for ${xehost}" >&5 | 13724 echo "configure:13725: checking how to build dynamic libraries for ${xehost}" >&5 |
13652 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 13725 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
13653 case "$xehost" in | 13726 case "$xehost" in |
13654 *-*-linux-gnu*) ;; | 13727 *-*-linux-gnu*) ;; |
13655 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 13728 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
13656 esac | 13729 esac |
13674 # Now see if the compiler is really GCC. | 13747 # Now see if the compiler is really GCC. |
13675 if test "$GCC" = "yes"; then | 13748 if test "$GCC" = "yes"; then |
13676 XEGCC=yes | 13749 XEGCC=yes |
13677 else | 13750 else |
13678 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 13751 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
13679 echo "configure:13680: checking checking whether we are using GNU C" >&5 | 13752 echo "configure:13753: checking checking whether we are using GNU C" >&5 |
13680 cat > conftest.$ac_ext <<EOF | 13753 cat > conftest.$ac_ext <<EOF |
13681 #line 13682 "configure" | 13754 #line 13755 "configure" |
13682 #include "confdefs.h" | 13755 #include "confdefs.h" |
13683 | 13756 |
13684 #ifdef __GNUC__ | 13757 #ifdef __GNUC__ |
13685 yes; | 13758 yes; |
13686 #endif | 13759 #endif |
13698 | 13771 |
13699 echo "$ac_t""${XEGCC}" 1>&6 | 13772 echo "$ac_t""${XEGCC}" 1>&6 |
13700 fi | 13773 fi |
13701 | 13774 |
13702 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 13775 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
13703 echo "configure:13704: checking how to produce PIC code" >&5 | 13776 echo "configure:13777: checking how to produce PIC code" >&5 |
13704 wl= | 13777 wl= |
13705 | 13778 |
13706 can_build_shared=yes | 13779 can_build_shared=yes |
13707 if test "$XEGCC" = yes; then | 13780 if test "$XEGCC" = yes; then |
13708 wl='-Wl,' | 13781 wl='-Wl,' |
13794 if test -n "$dll_cflags"; then | 13867 if test -n "$dll_cflags"; then |
13795 echo "$ac_t""${dll_cflags}" 1>&6 | 13868 echo "$ac_t""${dll_cflags}" 1>&6 |
13796 | 13869 |
13797 # Check to make sure the dll_cflags actually works. | 13870 # Check to make sure the dll_cflags actually works. |
13798 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 13871 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
13799 echo "configure:13800: checking if PIC flag ${dll_cflags} really works" >&5 | 13872 echo "configure:13873: checking if PIC flag ${dll_cflags} really works" >&5 |
13800 save_CFLAGS="$CFLAGS" | 13873 save_CFLAGS="$CFLAGS" |
13801 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 13874 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
13802 cat > conftest.$ac_ext <<EOF | 13875 cat > conftest.$ac_ext <<EOF |
13803 #line 13804 "configure" | 13876 #line 13877 "configure" |
13804 #include "confdefs.h" | 13877 #include "confdefs.h" |
13805 | 13878 |
13806 int main() { | 13879 int main() { |
13807 int x=0; | 13880 int x=0; |
13808 ; return 0; } | 13881 ; return 0; } |
13809 EOF | 13882 EOF |
13810 if { (eval echo configure:13811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13883 if { (eval echo configure:13884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13811 rm -rf conftest* | 13884 rm -rf conftest* |
13812 | 13885 |
13813 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 13886 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
13814 # reports no error. So, we need to grep stderr for (Bundled). | 13887 # reports no error. So, we need to grep stderr for (Bundled). |
13815 if grep '(Bundled)' config.log >/dev/null; then | 13888 if grep '(Bundled)' config.log >/dev/null; then |
13836 if test "$can_build_shared" = "yes"; then | 13909 if test "$can_build_shared" = "yes"; then |
13837 cc_produces_so=no | 13910 cc_produces_so=no |
13838 xldf= | 13911 xldf= |
13839 xcldf= | 13912 xcldf= |
13840 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 13913 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
13841 echo "configure:13842: checking if C compiler can produce shared libraries" >&5 | 13914 echo "configure:13915: checking if C compiler can produce shared libraries" >&5 |
13842 if test "$XEGCC" = yes; then | 13915 if test "$XEGCC" = yes; then |
13843 xcldf="-shared" | 13916 xcldf="-shared" |
13844 xldf="-shared" | 13917 xldf="-shared" |
13845 else # Not using GCC | 13918 else # Not using GCC |
13846 case "$xehost_os" in | 13919 case "$xehost_os" in |
13887 LDFLAGS="$xcldf $LDFLAGS" | 13960 LDFLAGS="$xcldf $LDFLAGS" |
13888 LIBS= | 13961 LIBS= |
13889 xe_libs= | 13962 xe_libs= |
13890 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 13963 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
13891 cat > conftest.$ac_ext <<EOF | 13964 cat > conftest.$ac_ext <<EOF |
13892 #line 13893 "configure" | 13965 #line 13966 "configure" |
13893 #include "confdefs.h" | 13966 #include "confdefs.h" |
13894 | 13967 |
13895 int main() { | 13968 int main() { |
13896 int x=0; | 13969 int x=0; |
13897 ; return 0; } | 13970 ; return 0; } |
13898 EOF | 13971 EOF |
13899 if { (eval echo configure:13900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13972 if { (eval echo configure:13973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13900 rm -rf conftest* | 13973 rm -rf conftest* |
13901 cc_produces_so=yes | 13974 cc_produces_so=yes |
13902 else | 13975 else |
13903 echo "configure: failed program was:" >&5 | 13976 echo "configure: failed program was:" >&5 |
13904 cat conftest.$ac_ext >&5 | 13977 cat conftest.$ac_ext >&5 |
13919 if test -z "$LTLD"; then | 13992 if test -z "$LTLD"; then |
13920 ac_prog=ld | 13993 ac_prog=ld |
13921 if test "$XEGCC" = yes; then | 13994 if test "$XEGCC" = yes; then |
13922 # Check if gcc -print-prog-name=ld gives a path. | 13995 # Check if gcc -print-prog-name=ld gives a path. |
13923 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 13996 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
13924 echo "configure:13925: checking for ld used by GCC" >&5 | 13997 echo "configure:13998: checking for ld used by GCC" >&5 |
13925 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 13998 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
13926 case "$ac_prog" in | 13999 case "$ac_prog" in |
13927 # Accept absolute paths. | 14000 # Accept absolute paths. |
13928 /*) | 14001 /*) |
13929 if test -z "$LTLD"; then | 14002 if test -z "$LTLD"; then |
13944 with_gnu_ld=unknown | 14017 with_gnu_ld=unknown |
13945 ;; | 14018 ;; |
13946 esac | 14019 esac |
13947 else | 14020 else |
13948 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14021 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
13949 echo "configure:13950: checking for GNU ld" >&5 | 14022 echo "configure:14023: checking for GNU ld" >&5 |
13950 fi | 14023 fi |
13951 | 14024 |
13952 if test -z "$LTLD"; then | 14025 if test -z "$LTLD"; then |
13953 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14026 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
13954 for ac_dir in $PATH; do | 14027 for ac_dir in $PATH; do |
13982 | 14055 |
13983 ld_dynamic_link_flags= | 14056 ld_dynamic_link_flags= |
13984 | 14057 |
13985 # Check to see if it really is or isn't GNU ld. | 14058 # Check to see if it really is or isn't GNU ld. |
13986 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14059 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
13987 echo "configure:13988: checking if the linker is GNU ld" >&5 | 14060 echo "configure:14061: checking if the linker is GNU ld" >&5 |
13988 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14061 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
13989 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14062 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
13990 xe_gnu_ld=yes | 14063 xe_gnu_ld=yes |
13991 else | 14064 else |
13992 xe_gnu_ld=no | 14065 xe_gnu_ld=no |
14010 ld_shlibs=yes | 14083 ld_shlibs=yes |
14011 else | 14084 else |
14012 # OK - only NOW do we futz about with ld. | 14085 # OK - only NOW do we futz about with ld. |
14013 # See if the linker supports building shared libraries. | 14086 # See if the linker supports building shared libraries. |
14014 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14087 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14015 echo "configure:14016: checking whether the linker supports shared libraries" >&5 | 14088 echo "configure:14089: checking whether the linker supports shared libraries" >&5 |
14016 dll_ld=$CC | 14089 dll_ld=$CC |
14017 dll_ldflags=$LDFLAGS | 14090 dll_ldflags=$LDFLAGS |
14018 ld_shlibs=yes | 14091 ld_shlibs=yes |
14019 can_build_shared=yes | 14092 can_build_shared=yes |
14020 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14093 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14225 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14298 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14226 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14299 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14227 for ac_func in dlerror _dlerror | 14300 for ac_func in dlerror _dlerror |
14228 do | 14301 do |
14229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14230 echo "configure:14231: checking for $ac_func" >&5 | 14303 echo "configure:14304: checking for $ac_func" >&5 |
14231 | 14304 |
14232 cat > conftest.$ac_ext <<EOF | 14305 cat > conftest.$ac_ext <<EOF |
14233 #line 14234 "configure" | 14306 #line 14307 "configure" |
14234 #include "confdefs.h" | 14307 #include "confdefs.h" |
14235 /* System header to define __stub macros and hopefully few prototypes, | 14308 /* System header to define __stub macros and hopefully few prototypes, |
14236 which can conflict with char $ac_func(); below. */ | 14309 which can conflict with char $ac_func(); below. */ |
14237 #include <assert.h> | 14310 #include <assert.h> |
14238 /* Override any gcc2 internal prototype to avoid an error. */ | 14311 /* Override any gcc2 internal prototype to avoid an error. */ |
14251 $ac_func(); | 14324 $ac_func(); |
14252 #endif | 14325 #endif |
14253 | 14326 |
14254 ; return 0; } | 14327 ; return 0; } |
14255 EOF | 14328 EOF |
14256 if { (eval echo configure:14257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14329 if { (eval echo configure:14330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14257 rm -rf conftest* | 14330 rm -rf conftest* |
14258 eval "ac_cv_func_$ac_func=yes" | 14331 eval "ac_cv_func_$ac_func=yes" |
14259 else | 14332 else |
14260 echo "configure: failed program was:" >&5 | 14333 echo "configure: failed program was:" >&5 |
14261 cat conftest.$ac_ext >&5 | 14334 cat conftest.$ac_ext >&5 |
14290 with_modules=no | 14363 with_modules=no |
14291 fi | 14364 fi |
14292 fi | 14365 fi |
14293 | 14366 |
14294 cat > conftest.$ac_ext <<EOF | 14367 cat > conftest.$ac_ext <<EOF |
14295 #line 14296 "configure" | 14368 #line 14369 "configure" |
14296 #include "confdefs.h" | 14369 #include "confdefs.h" |
14297 int main(int c,char *v[]){return 0;} | 14370 int main(int c,char *v[]){return 0;} |
14298 EOF | 14371 EOF |
14299 if { (eval echo configure:14300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14372 if { (eval echo configure:14373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
14300 then | 14373 then |
14301 : | 14374 : |
14302 else | 14375 else |
14303 conftest_rc="$?" | 14376 conftest_rc="$?" |
14304 echo "configure: failed program was:" >&5 | 14377 echo "configure: failed program was:" >&5 |