Mercurial > hg > xemacs-beta
comparison configure @ 997:89cca5f594bd
[xemacs-hg @ 2002-09-10 15:37:48 by james]
Commit the stuff in the top-level directory that CVS didn't commit the first
time around. This completes the module changes begun with the previous commit.
author | james |
---|---|
date | Tue, 10 Sep 2002 15:38:03 +0000 |
parents | 151d438d2d55 |
children | 989ddde6705d |
comparison
equal
deleted
inserted
replaced
996:25e260cb7994 | 997:89cca5f594bd |
---|---|
4522 | 4522 |
4523 cat > conftest.$ac_ext <<EOF | 4523 cat > conftest.$ac_ext <<EOF |
4524 #line 4525 "configure" | 4524 #line 4525 "configure" |
4525 #include "confdefs.h" | 4525 #include "confdefs.h" |
4526 #include <stdio.h> | 4526 #include <stdio.h> |
4527 main() | 4527 int main() |
4528 { | 4528 { |
4529 FILE *f=fopen("conftestval", "w"); | 4529 FILE *f=fopen("conftestval", "w"); |
4530 if (!f) exit(1); | 4530 if (!f) return(1); |
4531 fprintf(f, "%d\n", sizeof(short)); | 4531 fprintf(f, "%d\n", sizeof(short)); |
4532 exit(0); | 4532 return(0); |
4533 } | 4533 } |
4534 EOF | 4534 EOF |
4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4536 then | 4536 then |
4537 ac_cv_sizeof_short=`cat conftestval` | 4537 ac_cv_sizeof_short=`cat conftestval` |
4564 | 4564 |
4565 cat > conftest.$ac_ext <<EOF | 4565 cat > conftest.$ac_ext <<EOF |
4566 #line 4567 "configure" | 4566 #line 4567 "configure" |
4567 #include "confdefs.h" | 4567 #include "confdefs.h" |
4568 #include <stdio.h> | 4568 #include <stdio.h> |
4569 main() | 4569 int main() |
4570 { | 4570 { |
4571 FILE *f=fopen("conftestval", "w"); | 4571 FILE *f=fopen("conftestval", "w"); |
4572 if (!f) exit(1); | 4572 if (!f) return(1); |
4573 fprintf(f, "%d\n", sizeof(int)); | 4573 fprintf(f, "%d\n", sizeof(int)); |
4574 exit(0); | 4574 return(0); |
4575 } | 4575 } |
4576 EOF | 4576 EOF |
4577 if { (eval echo configure:4578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4577 if { (eval echo configure:4578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4578 then | 4578 then |
4579 ac_cv_sizeof_int=`cat conftestval` | 4579 ac_cv_sizeof_int=`cat conftestval` |
4600 | 4600 |
4601 cat > conftest.$ac_ext <<EOF | 4601 cat > conftest.$ac_ext <<EOF |
4602 #line 4603 "configure" | 4602 #line 4603 "configure" |
4603 #include "confdefs.h" | 4603 #include "confdefs.h" |
4604 #include <stdio.h> | 4604 #include <stdio.h> |
4605 main() | 4605 int main() |
4606 { | 4606 { |
4607 FILE *f=fopen("conftestval", "w"); | 4607 FILE *f=fopen("conftestval", "w"); |
4608 if (!f) exit(1); | 4608 if (!f) return(1); |
4609 fprintf(f, "%d\n", sizeof(long)); | 4609 fprintf(f, "%d\n", sizeof(long)); |
4610 exit(0); | 4610 return(0); |
4611 } | 4611 } |
4612 EOF | 4612 EOF |
4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4614 then | 4614 then |
4615 ac_cv_sizeof_long=`cat conftestval` | 4615 ac_cv_sizeof_long=`cat conftestval` |
4636 | 4636 |
4637 cat > conftest.$ac_ext <<EOF | 4637 cat > conftest.$ac_ext <<EOF |
4638 #line 4639 "configure" | 4638 #line 4639 "configure" |
4639 #include "confdefs.h" | 4639 #include "confdefs.h" |
4640 #include <stdio.h> | 4640 #include <stdio.h> |
4641 main() | 4641 int main() |
4642 { | 4642 { |
4643 FILE *f=fopen("conftestval", "w"); | 4643 FILE *f=fopen("conftestval", "w"); |
4644 if (!f) exit(1); | 4644 if (!f) return(1); |
4645 fprintf(f, "%d\n", sizeof(long long)); | 4645 fprintf(f, "%d\n", sizeof(long long)); |
4646 exit(0); | 4646 return(0); |
4647 } | 4647 } |
4648 EOF | 4648 EOF |
4649 if { (eval echo configure:4650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4649 if { (eval echo configure:4650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4650 then | 4650 then |
4651 ac_cv_sizeof_long_long=`cat conftestval` | 4651 ac_cv_sizeof_long_long=`cat conftestval` |
4672 | 4672 |
4673 cat > conftest.$ac_ext <<EOF | 4673 cat > conftest.$ac_ext <<EOF |
4674 #line 4675 "configure" | 4674 #line 4675 "configure" |
4675 #include "confdefs.h" | 4675 #include "confdefs.h" |
4676 #include <stdio.h> | 4676 #include <stdio.h> |
4677 main() | 4677 int main() |
4678 { | 4678 { |
4679 FILE *f=fopen("conftestval", "w"); | 4679 FILE *f=fopen("conftestval", "w"); |
4680 if (!f) exit(1); | 4680 if (!f) return(1); |
4681 fprintf(f, "%d\n", sizeof(void *)); | 4681 fprintf(f, "%d\n", sizeof(void *)); |
4682 exit(0); | 4682 return(0); |
4683 } | 4683 } |
4684 EOF | 4684 EOF |
4685 if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4685 if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4686 then | 4686 then |
4687 ac_cv_sizeof_void_p=`cat conftestval` | 4687 ac_cv_sizeof_void_p=`cat conftestval` |
7389 fi | 7389 fi |
7390 | 7390 |
7391 | 7391 |
7392 | 7392 |
7393 | 7393 |
7394 if test "$with_modules" != "no"; then | |
7395 echo "checking for module support" 1>&6 | |
7396 echo "configure:7397: checking for module support" >&5 | |
7397 | |
7398 if test "$with_msw" = "yes"; then | |
7399 have_dl=yes; | |
7400 else | |
7401 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | |
7402 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | |
7403 echo "configure:7404: checking for dlfcn.h" >&5 | |
7404 | |
7405 cat > conftest.$ac_ext <<EOF | |
7406 #line 7407 "configure" | |
7407 #include "confdefs.h" | |
7408 #include <dlfcn.h> | |
7409 EOF | |
7410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7411 { (eval echo configure:7412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7413 if test -z "$ac_err"; then | |
7414 rm -rf conftest* | |
7415 eval "ac_cv_header_$ac_safe=yes" | |
7416 else | |
7417 echo "$ac_err" >&5 | |
7418 echo "configure: failed program was:" >&5 | |
7419 cat conftest.$ac_ext >&5 | |
7420 rm -rf conftest* | |
7421 eval "ac_cv_header_$ac_safe=no" | |
7422 fi | |
7423 rm -f conftest* | |
7424 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7425 echo "$ac_t""yes" 1>&6 | |
7426 | |
7427 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | |
7428 echo "configure:7429: checking for dlopen in -lc" >&5 | |
7429 cat > conftest.$ac_ext <<EOF | |
7430 #line 7431 "configure" | |
7431 #include "confdefs.h" | |
7432 #include <dlfcn.h> | |
7433 int main() { | |
7434 dlopen ("", 0); | |
7435 ; return 0; } | |
7436 EOF | |
7437 if { (eval echo configure:7438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7438 rm -rf conftest* | |
7439 have_dl=yes | |
7440 else | |
7441 echo "configure: failed program was:" >&5 | |
7442 cat conftest.$ac_ext >&5 | |
7443 rm -rf conftest* | |
7444 | |
7445 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | |
7446 echo "configure:7447: checking for dlopen in -ldl" >&5 | |
7447 ac_save_LIBS="$LIBS" | |
7448 LIBS="-ldl $LIBS" | |
7449 cat > conftest.$ac_ext <<EOF | |
7450 #line 7451 "configure" | |
7451 #include "confdefs.h" | |
7452 #include <dlfcn.h> | |
7453 int main() { | |
7454 dlopen ("", 0); | |
7455 ; return 0; } | |
7456 EOF | |
7457 if { (eval echo configure:7458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7458 rm -rf conftest* | |
7459 have_dl=yes | |
7460 else | |
7461 echo "configure: failed program was:" >&5 | |
7462 cat conftest.$ac_ext >&5 | |
7463 rm -rf conftest* | |
7464 LIBS="$ac_save_LIBS" | |
7465 fi | |
7466 rm -f conftest* | |
7467 ac_save_LIBS= | |
7468 fi | |
7469 rm -f conftest* | |
7470 else | |
7471 echo "$ac_t""no" 1>&6 | |
7472 fi | |
7473 | |
7474 if test -n "$have_dl"; then | |
7475 { test "$extra_verbose" = "yes" && cat << \EOF | |
7476 Defining HAVE_DLOPEN | |
7477 EOF | |
7478 cat >> confdefs.h <<\EOF | |
7479 #define HAVE_DLOPEN 1 | |
7480 EOF | |
7481 } | |
7482 | |
7483 else | |
7484 | |
7485 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | |
7486 echo "configure:7487: checking for shl_load in -ldld" >&5 | |
7487 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | |
7488 | |
7489 xe_check_libs=" -ldld " | |
7490 cat > conftest.$ac_ext <<EOF | |
7491 #line 7492 "configure" | |
7492 #include "confdefs.h" | |
7493 /* Override any gcc2 internal prototype to avoid an error. */ | |
7494 /* We use char because int might match the return type of a gcc2 | |
7495 builtin and then its argument prototype would still apply. */ | |
7496 char shl_load(); | |
7497 | |
7498 int main() { | |
7499 shl_load() | |
7500 ; return 0; } | |
7501 EOF | |
7502 if { (eval echo configure:7503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7503 rm -rf conftest* | |
7504 eval "ac_cv_lib_$ac_lib_var=yes" | |
7505 else | |
7506 echo "configure: failed program was:" >&5 | |
7507 cat conftest.$ac_ext >&5 | |
7508 rm -rf conftest* | |
7509 eval "ac_cv_lib_$ac_lib_var=no" | |
7510 fi | |
7511 rm -f conftest* | |
7512 xe_check_libs="" | |
7513 | |
7514 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7515 echo "$ac_t""yes" 1>&6 | |
7516 libdl=dld have_dl=yes; | |
7517 { test "$extra_verbose" = "yes" && cat << \EOF | |
7518 Defining HAVE_SHL_LOAD | |
7519 EOF | |
7520 cat >> confdefs.h <<\EOF | |
7521 #define HAVE_SHL_LOAD 1 | |
7522 EOF | |
7523 } | |
7524 | |
7525 else | |
7526 echo "$ac_t""no" 1>&6 | |
7527 | |
7528 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | |
7529 echo "configure:7530: checking for dld_init in -ldld" >&5 | |
7530 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | |
7531 | |
7532 xe_check_libs=" -ldld " | |
7533 cat > conftest.$ac_ext <<EOF | |
7534 #line 7535 "configure" | |
7535 #include "confdefs.h" | |
7536 /* Override any gcc2 internal prototype to avoid an error. */ | |
7537 /* We use char because int might match the return type of a gcc2 | |
7538 builtin and then its argument prototype would still apply. */ | |
7539 char dld_init(); | |
7540 | |
7541 int main() { | |
7542 dld_init() | |
7543 ; return 0; } | |
7544 EOF | |
7545 if { (eval echo configure:7546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7546 rm -rf conftest* | |
7547 eval "ac_cv_lib_$ac_lib_var=yes" | |
7548 else | |
7549 echo "configure: failed program was:" >&5 | |
7550 cat conftest.$ac_ext >&5 | |
7551 rm -rf conftest* | |
7552 eval "ac_cv_lib_$ac_lib_var=no" | |
7553 fi | |
7554 rm -f conftest* | |
7555 xe_check_libs="" | |
7556 | |
7557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7558 echo "$ac_t""yes" 1>&6 | |
7559 libdl=dld have_dl=yes; | |
7560 { test "$extra_verbose" = "yes" && cat << \EOF | |
7561 Defining HAVE_DLD_INIT | |
7562 EOF | |
7563 cat >> confdefs.h <<\EOF | |
7564 #define HAVE_DLD_INIT 1 | |
7565 EOF | |
7566 } | |
7567 | |
7568 else | |
7569 echo "$ac_t""no" 1>&6 | |
7570 fi | |
7571 | |
7572 | |
7573 fi | |
7574 | |
7575 | |
7576 fi | |
7577 fi | |
7578 if test -n "$have_dl"; then | |
7579 | |
7580 dll_ld= | |
7581 dll_ldflags= | |
7582 dll_cflags= | |
7583 dll_post= | |
7584 dll_ldo="-o" | |
7585 ld_dynamic_link_flags= | |
7586 xehost=$canonical | |
7587 xealias=$internal_configuration | |
7588 | |
7589 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | |
7590 echo "configure:7591: checking how to build dynamic libraries for ${xehost}" >&5 | |
7591 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | |
7592 case "$xehost" in | |
7593 *-*-linux-gnu*) ;; | |
7594 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | |
7595 esac | |
7596 | |
7597 xehost_cpu=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
7598 xehost_vendor=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
7599 xehost_os=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
7600 | |
7601 case "$xehost_os" in | |
7602 aix3*) | |
7603 # AIX sometimes has problems with the GCC collect2 program. For some | |
7604 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
7605 # vanish in a puff of smoke. | |
7606 if test "${COLLECT_NAMES+set}" != set; then | |
7607 COLLECT_NAMES= | |
7608 export COLLECT_NAMES | |
7609 fi | |
7610 ;; | |
7611 esac | |
7612 | |
7613 # Now see if the compiler is really GCC. | |
7614 if test "$GCC" = "yes"; then | |
7615 XEGCC=yes | |
7616 else | |
7617 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | |
7618 echo "configure:7619: checking checking whether we are using GNU C" >&5 | |
7619 cat > conftest.$ac_ext <<EOF | |
7620 #line 7621 "configure" | |
7621 #include "confdefs.h" | |
7622 | |
7623 #ifdef __GNUC__ | |
7624 yes; | |
7625 #endif | |
7626 | |
7627 EOF | |
7628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
7629 egrep "yes" >/dev/null 2>&1; then | |
7630 rm -rf conftest* | |
7631 XEGCC=yes | |
7632 else | |
7633 rm -rf conftest* | |
7634 XEGCC=no | |
7635 fi | |
7636 rm -f conftest* | |
7637 | |
7638 echo "$ac_t""${XEGCC}" 1>&6 | |
7639 fi | |
7640 | |
7641 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | |
7642 echo "configure:7643: checking how to produce PIC code" >&5 | |
7643 wl= | |
7644 | |
7645 can_build_shared=yes | |
7646 if test "$XEGCC" = yes; then | |
7647 wl='-Wl,' | |
7648 | |
7649 case "$xehost_os" in | |
7650 aix[3-9]* | irix[5-9]* | osf[3-9]) | |
7651 # PIC is the default for these OSes. | |
7652 ;; | |
7653 | |
7654 os2*) | |
7655 # We can build DLLs from non-PIC. | |
7656 ;; | |
7657 amigaos*) | |
7658 # FIXME: we need at least 68020 code to build shared libraries, but | |
7659 # adding the `-m68020' flag to GCC prevents building anything better, | |
7660 # like `-m68040'. | |
7661 dll_cflags='-m68020 -resident32 -malways-restore-a4' | |
7662 ;; | |
7663 *cygwin* | *mingw* ) | |
7664 # PIC is the default | |
7665 ;; | |
7666 *) | |
7667 dll_cflags='-fPIC' | |
7668 ;; | |
7669 esac | |
7670 else | |
7671 # PORTME Check for PIC flags for the system compiler. | |
7672 case "$xehost_os" in | |
7673 hpux9* | hpux1[0-9]*) | |
7674 # Is there a better link_static_flag that works with the bundled CC? | |
7675 wl='-Wl,' | |
7676 dll_cflags='+Z' | |
7677 ;; | |
7678 | |
7679 irix[5-9]*) | |
7680 wl='-Wl,' | |
7681 # PIC (with -KPIC) is the default. | |
7682 ;; | |
7683 | |
7684 os2*) | |
7685 # We can build DLLs from non-PIC. | |
7686 ;; | |
7687 | |
7688 osf[3-9]*) | |
7689 # All OSF/1 code is PIC. | |
7690 wl='-Wl,' | |
7691 ;; | |
7692 | |
7693 aix[3-9]*) | |
7694 # All AIX code is PIC. | |
7695 wl='-Wl,' | |
7696 ;; | |
7697 | |
7698 sco3.2v5*) | |
7699 dll_cflags='-belf -Kpic' | |
7700 wl='-Wl,' | |
7701 ;; | |
7702 | |
7703 unixware*) | |
7704 dll_cflags="-KPIC" | |
7705 wl="-Wl," | |
7706 ;; | |
7707 | |
7708 sysv4*) | |
7709 dll_cflags="-KPIC" | |
7710 wl="-Wl," | |
7711 ;; | |
7712 | |
7713 sysv5*) | |
7714 dll_cflags="-KPIC" | |
7715 wl="-Wl," | |
7716 ;; | |
7717 | |
7718 solaris2*) | |
7719 dll_cflags='-KPIC' | |
7720 wl='-Wl,' | |
7721 ;; | |
7722 | |
7723 sunos4*) | |
7724 dll_cflags='-PIC' | |
7725 wl='-Qoption ld ' | |
7726 ;; | |
7727 | |
7728 uts4*) | |
7729 dll_cflags='-pic' | |
7730 ;; | |
7731 | |
7732 *) | |
7733 can_build_shared=no | |
7734 ;; | |
7735 esac | |
7736 fi | |
7737 | |
7738 if test -n "$dll_cflags"; then | |
7739 echo "$ac_t""${dll_cflags}" 1>&6 | |
7740 | |
7741 # Check to make sure the dll_cflags actually works. | |
7742 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | |
7743 echo "configure:7744: checking if PIC flag ${dll_cflags} really works" >&5 | |
7744 save_CFLAGS="$CFLAGS" | |
7745 CFLAGS="$CFLAGS $dll_cflags -DPIC" | |
7746 cat > conftest.$ac_ext <<EOF | |
7747 #line 7748 "configure" | |
7748 #include "confdefs.h" | |
7749 | |
7750 int main() { | |
7751 int x=0; | |
7752 ; return 0; } | |
7753 EOF | |
7754 if { (eval echo configure:7755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
7755 rm -rf conftest* | |
7756 | |
7757 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | |
7758 # reports no error. So, we need to grep stderr for (Bundled). | |
7759 if grep '(Bundled)' config.log >/dev/null; then | |
7760 echo "$ac_t""no" 1>&6 | |
7761 can_build_shared=no | |
7762 dll_cflags= | |
7763 else | |
7764 echo "$ac_t""yes" 1>&6 | |
7765 fi | |
7766 else | |
7767 echo "configure: failed program was:" >&5 | |
7768 cat conftest.$ac_ext >&5 | |
7769 rm -rf conftest* | |
7770 echo "$ac_t""no" 1>&6 | |
7771 can_build_shared=no | |
7772 dll_cflags= | |
7773 fi | |
7774 rm -f conftest* | |
7775 CFLAGS="$save_CFLAGS" | |
7776 else | |
7777 echo "$ac_t""none" 1>&6 | |
7778 fi | |
7779 | |
7780 if test "$can_build_shared" = "yes"; then | |
7781 cc_produces_so=no | |
7782 xldf= | |
7783 xcldf= | |
7784 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | |
7785 echo "configure:7786: checking if C compiler can produce shared libraries" >&5 | |
7786 if test "$XEGCC" = yes; then | |
7787 xcldf="-shared" | |
7788 xldf="-shared" | |
7789 else # Not using GCC | |
7790 case "$xehost_os" in | |
7791 aix[3-9]*) | |
7792 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" | |
7793 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" | |
7794 ;; | |
7795 | |
7796 freebsd2* | netbsd* | openbsd*) | |
7797 xldf="-Bshareable" | |
7798 xcldf="${wl}-Bshareable" | |
7799 ;; | |
7800 | |
7801 freebsd3*) | |
7802 xcldf="-shared" | |
7803 ;; | |
7804 | |
7805 hpux*) | |
7806 xldf="-b +s" | |
7807 xcldf="${wl}-b ${wl}+s" | |
7808 ;; | |
7809 | |
7810 irix[5-9]* | osf[3-9]*) | |
7811 xcldf="${wl}-shared" | |
7812 xldf="-shared" | |
7813 ;; | |
7814 | |
7815 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7* | uts4*) | |
7816 xcldf="-G" | |
7817 xldf="-G" | |
7818 ;; | |
7819 | |
7820 sunos4*) | |
7821 xcldf="${wl}-assert ${wl}pure-text ${wl}-Bstatic" | |
7822 xldf="-assert pure-text -Bstatic" | |
7823 ;; | |
7824 esac | |
7825 fi # End if if we are using gcc | |
7826 | |
7827 if test -n "$xcldf"; then | |
7828 save_LDFLAGS=$LDFLAGS | |
7829 save_LIBS=$LIBS | |
7830 save_xe_libs=$xe_libs | |
7831 LDFLAGS="$xcldf $LDFLAGS" | |
7832 LIBS= | |
7833 xe_libs= | |
7834 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
7835 cat > conftest.$ac_ext <<EOF | |
7836 #line 7837 "configure" | |
7837 #include "confdefs.h" | |
7838 | |
7839 int main() { | |
7840 int x=0; | |
7841 ; return 0; } | |
7842 EOF | |
7843 if { (eval echo configure:7844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7844 rm -rf conftest* | |
7845 cc_produces_so=yes | |
7846 else | |
7847 echo "configure: failed program was:" >&5 | |
7848 cat conftest.$ac_ext >&5 | |
7849 rm -rf conftest* | |
7850 cc_produces_so=no | |
7851 fi | |
7852 rm -f conftest* | |
7853 LDFLAGS=$save_LDFLAGS | |
7854 LIBS=$save_LIBS | |
7855 xe_libs=$save_xe_libs | |
7856 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
7857 else | |
7858 cc_produces_so=no | |
7859 fi | |
7860 echo "$ac_t""${cc_produces_so}" 1>&6 | |
7861 | |
7862 LTLD=$LD | |
7863 if test -z "$LTLD"; then | |
7864 ac_prog=ld | |
7865 if test "$XEGCC" = yes; then | |
7866 # Check if gcc -print-prog-name=ld gives a path. | |
7867 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | |
7868 echo "configure:7869: checking for ld used by GCC" >&5 | |
7869 ac_prog=`($CC -print-prog-name=ld) 2>&5` | |
7870 case "$ac_prog" in | |
7871 # Accept absolute paths. | |
7872 /*) | |
7873 if test -z "$LTLD"; then | |
7874 # case "$ac_prog" in | |
7875 # *gcc-lib*) LTLD="$CC" | |
7876 # ;; | |
7877 # *) | |
7878 LTLD="$ac_prog" | |
7879 # ;; | |
7880 # esac | |
7881 fi | |
7882 ;; | |
7883 "") | |
7884 # If it fails, then pretend we aren't using GCC. | |
7885 ac_prog=ld | |
7886 ;; | |
7887 *) | |
7888 # If it is relative, then search for the first ld in PATH. | |
7889 with_gnu_ld=unknown | |
7890 ;; | |
7891 esac | |
7892 else | |
7893 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | |
7894 echo "configure:7895: checking for GNU ld" >&5 | |
7895 fi | |
7896 | |
7897 if test -z "$LTLD"; then | |
7898 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
7899 for ac_dir in $PATH; do | |
7900 test -z "$ac_dir" && ac_dir=. | |
7901 if test -f "$ac_dir/$ac_prog"; then | |
7902 LTLD="$ac_dir/$ac_prog" | |
7903 # Check to see if the program is GNU ld. I'd rather use --version, | |
7904 # but apparently some GNU ld's only accept -v. | |
7905 # Break only if it was the GNU/non-GNU ld that we prefer. | |
7906 if "$LTLD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | |
7907 xe_gnu_ld=yes | |
7908 else | |
7909 xe_gnu_ld=no | |
7910 fi | |
7911 fi | |
7912 done | |
7913 IFS="$ac_save_ifs" | |
7914 fi | |
7915 | |
7916 if test -n "$LTLD"; then | |
7917 echo "$ac_t""${LTLD}" 1>&6 | |
7918 else | |
7919 echo "$ac_t""no" 1>&6 | |
7920 fi | |
7921 | |
7922 if test -z "$LTLD" -a "$cc_produces_so" = no; then | |
7923 { echo "configure: error: no acceptable linker found in \$PATH" 1>&2; exit 1; } | |
7924 exit 1 | |
7925 fi | |
7926 fi | |
7927 | |
7928 ld_dynamic_link_flags= | |
7929 | |
7930 # Check to see if it really is or isn't GNU ld. | |
7931 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | |
7932 echo "configure:7933: checking if the linker is GNU ld" >&5 | |
7933 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | |
7934 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | |
7935 xe_gnu_ld=yes | |
7936 else | |
7937 xe_gnu_ld=no | |
7938 fi | |
7939 echo "$ac_t""${xe_gnu_ld}" 1>&6 | |
7940 | |
7941 case "$xehost_os" in | |
7942 amigaos* | sunos4*) | |
7943 # On these operating systems, we should treat GNU ld like the system ld. | |
7944 gnu_ld_acts_native=yes | |
7945 ;; | |
7946 *) | |
7947 gnu_ld_acts_native=no | |
7948 ;; | |
7949 esac | |
7950 | |
7951 if test "$cc_produces_so" = "yes"; then | |
7952 dll_ld=$CC | |
7953 dll_ldflags=$xcldf | |
7954 can_build_shared=yes | |
7955 ld_shlibs=yes | |
7956 else | |
7957 # OK - only NOW do we futz about with ld. | |
7958 # See if the linker supports building shared libraries. | |
7959 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | |
7960 echo "configure:7961: checking whether the linker supports shared libraries" >&5 | |
7961 dll_ld=$CC | |
7962 dll_ldflags=$LDFLAGS | |
7963 ld_shlibs=yes | |
7964 can_build_shared=yes | |
7965 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | |
7966 # See if GNU ld supports shared libraries. | |
7967 if $LTLD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | |
7968 dll_ld=$CC | |
7969 dll_ldflags="-shared" | |
7970 ld_shlibs=yes | |
7971 else | |
7972 ld_shlibs=no | |
7973 fi | |
7974 else | |
7975 # PORTME fill in a description of your system's linker (not GNU ld) | |
7976 case "$xehost_os" in | |
7977 aix3*) | |
7978 dll_ld=$LTLD | |
7979 dll_ldflags=$xldf | |
7980 ;; | |
7981 | |
7982 aix[4-9]*) | |
7983 dll_ldflags=$xcldf | |
7984 ;; | |
7985 | |
7986 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | |
7987 # support. Future versions do this automatically, but an explicit c++rt0.o | |
7988 # doesn't break anything, and helps significantly (at the cost of a little | |
7989 # extra space). | |
7990 freebsd2.2*) | |
7991 dll_ld=$LTLD | |
7992 dll_ldflags=$xldf | |
7993 dll_post="/usr/lib/c++rt0.o" | |
7994 ;; | |
7995 | |
7996 # Unfortunately, older versions of FreeBSD 2 don't have this feature. | |
7997 freebsd2*) | |
7998 dll_ld=$LTLD | |
7999 dll_ldflags="-Bshareable" | |
8000 ;; | |
8001 | |
8002 # FreeBSD 3, at last, uses gcc -shared to do shared libraries. | |
8003 freebsd3*) | |
8004 dll_ldflags="-shared" | |
8005 ;; | |
8006 | |
8007 hpux*) | |
8008 dll_ld=$LTLD | |
8009 dll_ldflags=$xldf | |
8010 ;; | |
8011 | |
8012 irix[5-9]*) | |
8013 dll_ld=$LTLD | |
8014 dll_ldflags=$xldf | |
8015 ;; | |
8016 | |
8017 netbsd*) | |
8018 # Tested with NetBSD 1.2 ld | |
8019 dll_ld=$LTLD | |
8020 dll_ldflags=$xldf | |
8021 ;; | |
8022 | |
8023 openbsd*) | |
8024 dll_ld=$LTLD | |
8025 dll_ldflags=$xldf | |
8026 ;; | |
8027 | |
8028 osf3* | osf4*) | |
8029 dll_ld=$LTLD | |
8030 dll_ldflags=$xldf | |
8031 ;; | |
8032 | |
8033 # For both SCO and Solaris we MAY want to have LDFLAGS include -z text | |
8034 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7*) | |
8035 dll_ld=$LTLD | |
8036 case "$dll_ld" in | |
8037 *gcc*) dll_ldflags="-shared" | |
8038 dll_ld=$CC | |
8039 ;; | |
8040 *) dll_ldflags="-G" | |
8041 ;; | |
8042 esac | |
8043 ;; | |
8044 | |
8045 sunos4*) | |
8046 if test "$XEGCC" = yes; then | |
8047 dll_ld=$CC | |
8048 else | |
8049 dll_ld=$LTLD | |
8050 fi | |
8051 dll_ldflags=$xldf | |
8052 ;; | |
8053 | |
8054 uts4*) | |
8055 dll_ld=$LTLD | |
8056 dll_ldflags="-G" | |
8057 ;; | |
8058 | |
8059 bsdi*) | |
8060 dll_ldflags="-r" | |
8061 dll_ld="shlicc2" | |
8062 ;; | |
8063 | |
8064 *) | |
8065 ld_shlibs=no | |
8066 can_build_shared=no | |
8067 ;; | |
8068 esac | |
8069 fi | |
8070 echo "$ac_t""${ld_shlibs}" 1>&6 | |
8071 if test "$ld_shlibs" = "no"; then | |
8072 can_build_shared=no | |
8073 fi | |
8074 fi # End of if cc_produces_so = no | |
8075 | |
8076 | |
8077 if test "$xe_gnu_ld" = yes; then | |
8078 if test "$ld_shlibs" = yes; then | |
8079 ld_dynamic_link_flags="${wl}-export-dynamic" | |
8080 fi | |
8081 fi | |
8082 | |
8083 if test -z "$ld_dynamic_link_flags"; then | |
8084 case "$xehost_os" in | |
8085 aix[3-9]*) | |
8086 ld_dynamic_link_flags= | |
8087 ;; | |
8088 | |
8089 freebsd2.2*) | |
8090 ld_dynamic_link_flags= | |
8091 ;; | |
8092 | |
8093 freebsd2*) | |
8094 ld_dynamic_link_flags= | |
8095 ;; | |
8096 | |
8097 freebsd3*) | |
8098 ld_dynamic_link_flags= | |
8099 ;; | |
8100 | |
8101 hpux*) | |
8102 ld_dynamic_link_flags="${wl}-E" | |
8103 ;; | |
8104 | |
8105 irix[5-9]*) | |
8106 ld_dynamic_link_flags= | |
8107 ;; | |
8108 | |
8109 netbsd*) | |
8110 ld_dynamic_link_flags= | |
8111 ;; | |
8112 | |
8113 openbsd*) | |
8114 ld_dynamic_link_flags= | |
8115 ;; | |
8116 | |
8117 osf3* | osf4*) | |
8118 ld_dynamic_link_flags= | |
8119 ;; | |
8120 | |
8121 solaris2* | solaris7*) | |
8122 ld_dynamic_link_flags= | |
8123 ;; | |
8124 | |
8125 sco3.2v5* | unixware* | sysv5* | sysv4*) | |
8126 ld_dynamic_link_flags="${wl}-Bexport" | |
8127 ;; | |
8128 | |
8129 sunos4*) | |
8130 ld_dynamic_link_flags= | |
8131 ;; | |
8132 | |
8133 uts4*) | |
8134 ld_dynamic_link_flags= | |
8135 ;; | |
8136 | |
8137 bsdi*) | |
8138 ld_dynamic_link_flags= | |
8139 ;; | |
8140 | |
8141 esac | |
8142 fi # End of if -z ld_dynamic_link_flags | |
8143 fi # End of if test "$can_build_shared" = "yes" | |
8144 | |
8145 | |
8146 | |
8147 | |
8148 | |
8149 | |
8150 | |
8151 | |
8152 fi | |
8153 | |
8154 if test "$can_build_shared" = "yes"; then | |
8155 { test "$extra_verbose" = "yes" && cat << \EOF | |
8156 Defining HAVE_SHLIB | |
8157 EOF | |
8158 cat >> confdefs.h <<\EOF | |
8159 #define HAVE_SHLIB 1 | |
8160 EOF | |
8161 } | |
8162 | |
8163 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
8164 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | |
8165 for ac_func in dlerror _dlerror | |
8166 do | |
8167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
8168 echo "configure:8169: checking for $ac_func" >&5 | |
8169 | |
8170 cat > conftest.$ac_ext <<EOF | |
8171 #line 8172 "configure" | |
8172 #include "confdefs.h" | |
8173 /* System header to define __stub macros and hopefully few prototypes, | |
8174 which can conflict with char $ac_func(); below. */ | |
8175 #include <assert.h> | |
8176 /* Override any gcc2 internal prototype to avoid an error. */ | |
8177 /* We use char because int might match the return type of a gcc2 | |
8178 builtin and then its argument prototype would still apply. */ | |
8179 char $ac_func(); | |
8180 | |
8181 int main() { | |
8182 | |
8183 /* The GNU C library defines this for functions which it implements | |
8184 to always fail with ENOSYS. Some functions are actually named | |
8185 something starting with __ and the normal name is an alias. */ | |
8186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
8187 choke me | |
8188 #else | |
8189 $ac_func(); | |
8190 #endif | |
8191 | |
8192 ; return 0; } | |
8193 EOF | |
8194 if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
8195 rm -rf conftest* | |
8196 eval "ac_cv_func_$ac_func=yes" | |
8197 else | |
8198 echo "configure: failed program was:" >&5 | |
8199 cat conftest.$ac_ext >&5 | |
8200 rm -rf conftest* | |
8201 eval "ac_cv_func_$ac_func=no" | |
8202 fi | |
8203 rm -f conftest* | |
8204 | |
8205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
8206 echo "$ac_t""yes" 1>&6 | |
8207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
8208 { test "$extra_verbose" = "yes" && cat << EOF | |
8209 Defining $ac_tr_func | |
8210 EOF | |
8211 cat >> confdefs.h <<EOF | |
8212 #define $ac_tr_func 1 | |
8213 EOF | |
8214 } | |
8215 | |
8216 else | |
8217 echo "$ac_t""no" 1>&6 | |
8218 fi | |
8219 done | |
8220 | |
8221 with_modules=yes | |
8222 MOD_CC="../../lib-src/ellcc" | |
8223 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I../../src -I\$(srcdir)/../../src" | |
8224 INSTALLPATH="\$(moduledir)" | |
8225 MOD_INSTALL_PROGRAM=${INSTALL_PROGRAM} | |
8226 OBJECT_TO_BUILD="\$(MODNAME).ell" | |
8227 else | |
8228 if test "$with_modules" = "yes"; then | |
8229 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } | |
8230 else | |
8231 echo " No module support." | |
8232 fi | |
8233 with_modules=no | |
8234 MOD_CC=${CC} | |
8235 MODCFLAGS="\$(CFLAGS) -I../../src -I\$(srcdir)/../../src" | |
8236 INSTALLPATH="" | |
8237 MOD_INSTALL_PROGRAM="true" | |
8238 OBJECT_TO_BUILD="\$(MODNAME).o" | |
8239 fi | |
8240 fi | |
8241 MODARCHDIR= | |
8242 MAKE_DOCFILE="../../lib-src/make-docfile" | |
8243 | |
8244 | |
8245 | |
8246 | |
8247 | |
8248 | |
8249 | |
8250 | |
8251 | |
7394 if test "$with_tooltalk" != "no" ; then | 8252 if test "$with_tooltalk" != "no" ; then |
7395 for dir in "" "Tt/" "desktop/" ; do | 8253 for dir in "" "Tt/" "desktop/" ; do |
7396 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8254 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7397 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8255 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7398 echo "configure:7399: checking for ${dir}tt_c.h" >&5 | 8256 echo "configure:8257: checking for ${dir}tt_c.h" >&5 |
7399 | 8257 |
7400 cat > conftest.$ac_ext <<EOF | 8258 cat > conftest.$ac_ext <<EOF |
7401 #line 7402 "configure" | 8259 #line 8260 "configure" |
7402 #include "confdefs.h" | 8260 #include "confdefs.h" |
7403 #include <${dir}tt_c.h> | 8261 #include <${dir}tt_c.h> |
7404 EOF | 8262 EOF |
7405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7406 { (eval echo configure:7407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8264 { (eval echo configure:8265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7408 if test -z "$ac_err"; then | 8266 if test -z "$ac_err"; then |
7409 rm -rf conftest* | 8267 rm -rf conftest* |
7410 eval "ac_cv_header_$ac_safe=yes" | 8268 eval "ac_cv_header_$ac_safe=yes" |
7411 else | 8269 else |
7437 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8295 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7438 | 8296 |
7439 xe_msg_checking="for tt_message_create in -ltt" | 8297 xe_msg_checking="for tt_message_create in -ltt" |
7440 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8298 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7441 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8299 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7442 echo "configure:7443: checking "$xe_msg_checking"" >&5 | 8300 echo "configure:8301: checking "$xe_msg_checking"" >&5 |
7443 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8301 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7444 | 8302 |
7445 xe_check_libs=" -ltt $extra_libs" | 8303 xe_check_libs=" -ltt $extra_libs" |
7446 cat > conftest.$ac_ext <<EOF | 8304 cat > conftest.$ac_ext <<EOF |
7447 #line 7448 "configure" | 8305 #line 8306 "configure" |
7448 #include "confdefs.h" | 8306 #include "confdefs.h" |
7449 /* Override any gcc2 internal prototype to avoid an error. */ | 8307 /* Override any gcc2 internal prototype to avoid an error. */ |
7450 /* We use char because int might match the return type of a gcc2 | 8308 /* We use char because int might match the return type of a gcc2 |
7451 builtin and then its argument prototype would still apply. */ | 8309 builtin and then its argument prototype would still apply. */ |
7452 char tt_message_create(); | 8310 char tt_message_create(); |
7453 | 8311 |
7454 int main() { | 8312 int main() { |
7455 tt_message_create() | 8313 tt_message_create() |
7456 ; return 0; } | 8314 ; return 0; } |
7457 EOF | 8315 EOF |
7458 if { (eval echo configure:7459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8316 if { (eval echo configure:8317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7459 rm -rf conftest* | 8317 rm -rf conftest* |
7460 eval "ac_cv_lib_$ac_lib_var=yes" | 8318 eval "ac_cv_lib_$ac_lib_var=yes" |
7461 else | 8319 else |
7462 echo "configure: failed program was:" >&5 | 8320 echo "configure: failed program was:" >&5 |
7463 cat conftest.$ac_ext >&5 | 8321 cat conftest.$ac_ext >&5 |
7507 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8365 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7508 fi | 8366 fi |
7509 | 8367 |
7510 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8368 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7511 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8369 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7512 echo "configure:7513: checking for Dt/Dt.h" >&5 | 8370 echo "configure:8371: checking for Dt/Dt.h" >&5 |
7513 | 8371 |
7514 cat > conftest.$ac_ext <<EOF | 8372 cat > conftest.$ac_ext <<EOF |
7515 #line 7516 "configure" | 8373 #line 8374 "configure" |
7516 #include "confdefs.h" | 8374 #include "confdefs.h" |
7517 #include <Dt/Dt.h> | 8375 #include <Dt/Dt.h> |
7518 EOF | 8376 EOF |
7519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7520 { (eval echo configure:7521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8378 { (eval echo configure:8379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7522 if test -z "$ac_err"; then | 8380 if test -z "$ac_err"; then |
7523 rm -rf conftest* | 8381 rm -rf conftest* |
7524 eval "ac_cv_header_$ac_safe=yes" | 8382 eval "ac_cv_header_$ac_safe=yes" |
7525 else | 8383 else |
7538 with_cde=no | 8396 with_cde=no |
7539 fi | 8397 fi |
7540 } | 8398 } |
7541 test -z "$with_cde" && { | 8399 test -z "$with_cde" && { |
7542 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8400 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7543 echo "configure:7544: checking for DtDndDragStart in -lDtSvc" >&5 | 8401 echo "configure:8402: checking for DtDndDragStart in -lDtSvc" >&5 |
7544 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8402 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7545 | 8403 |
7546 xe_check_libs=" -lDtSvc " | 8404 xe_check_libs=" -lDtSvc " |
7547 cat > conftest.$ac_ext <<EOF | 8405 cat > conftest.$ac_ext <<EOF |
7548 #line 7549 "configure" | 8406 #line 8407 "configure" |
7549 #include "confdefs.h" | 8407 #include "confdefs.h" |
7550 /* Override any gcc2 internal prototype to avoid an error. */ | 8408 /* Override any gcc2 internal prototype to avoid an error. */ |
7551 /* We use char because int might match the return type of a gcc2 | 8409 /* We use char because int might match the return type of a gcc2 |
7552 builtin and then its argument prototype would still apply. */ | 8410 builtin and then its argument prototype would still apply. */ |
7553 char DtDndDragStart(); | 8411 char DtDndDragStart(); |
7554 | 8412 |
7555 int main() { | 8413 int main() { |
7556 DtDndDragStart() | 8414 DtDndDragStart() |
7557 ; return 0; } | 8415 ; return 0; } |
7558 EOF | 8416 EOF |
7559 if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8417 if { (eval echo configure:8418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7560 rm -rf conftest* | 8418 rm -rf conftest* |
7561 eval "ac_cv_lib_$ac_lib_var=yes" | 8419 eval "ac_cv_lib_$ac_lib_var=yes" |
7562 else | 8420 else |
7563 echo "configure: failed program was:" >&5 | 8421 echo "configure: failed program was:" >&5 |
7564 cat conftest.$ac_ext >&5 | 8422 cat conftest.$ac_ext >&5 |
7635 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8493 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7636 fi | 8494 fi |
7637 | 8495 |
7638 if test "$with_dragndrop" != "no" ; then | 8496 if test "$with_dragndrop" != "no" ; then |
7639 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8497 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7640 echo "configure:7641: checking if drag and drop API is needed" >&5 | 8498 echo "configure:8499: checking if drag and drop API is needed" >&5 |
7641 if test -n "$dragndrop_proto" ; then | 8499 if test -n "$dragndrop_proto" ; then |
7642 with_dragndrop=yes | 8500 with_dragndrop=yes |
7643 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8501 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7644 { test "$extra_verbose" = "yes" && cat << \EOF | 8502 { test "$extra_verbose" = "yes" && cat << \EOF |
7645 Defining HAVE_DRAGNDROP | 8503 Defining HAVE_DRAGNDROP |
7655 echo "$ac_t""no" 1>&6 | 8513 echo "$ac_t""no" 1>&6 |
7656 fi | 8514 fi |
7657 fi | 8515 fi |
7658 | 8516 |
7659 echo "checking for LDAP" 1>&6 | 8517 echo "checking for LDAP" 1>&6 |
7660 echo "configure:7661: checking for LDAP" >&5 | 8518 echo "configure:8519: checking for LDAP" >&5 |
8519 ldap_libs= | |
7661 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8520 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7662 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8521 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7663 echo "configure:7664: checking for ldap.h" >&5 | 8522 echo "configure:8523: checking for ldap.h" >&5 |
7664 | 8523 |
7665 cat > conftest.$ac_ext <<EOF | 8524 cat > conftest.$ac_ext <<EOF |
7666 #line 7667 "configure" | 8525 #line 8526 "configure" |
7667 #include "confdefs.h" | 8526 #include "confdefs.h" |
7668 #include <ldap.h> | 8527 #include <ldap.h> |
7669 EOF | 8528 EOF |
7670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7671 { (eval echo configure:7672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8530 { (eval echo configure:8531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7673 if test -z "$ac_err"; then | 8532 if test -z "$ac_err"; then |
7674 rm -rf conftest* | 8533 rm -rf conftest* |
7675 eval "ac_cv_header_$ac_safe=yes" | 8534 eval "ac_cv_header_$ac_safe=yes" |
7676 else | 8535 else |
7689 with_ldap=no | 8548 with_ldap=no |
7690 fi | 8549 fi |
7691 } | 8550 } |
7692 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8551 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7693 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8552 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7694 echo "configure:7695: checking for lber.h" >&5 | 8553 echo "configure:8554: checking for lber.h" >&5 |
7695 | 8554 |
7696 cat > conftest.$ac_ext <<EOF | 8555 cat > conftest.$ac_ext <<EOF |
7697 #line 7698 "configure" | 8556 #line 8557 "configure" |
7698 #include "confdefs.h" | 8557 #include "confdefs.h" |
7699 #include <lber.h> | 8558 #include <lber.h> |
7700 EOF | 8559 EOF |
7701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7702 { (eval echo configure:7703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8561 { (eval echo configure:8562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7704 if test -z "$ac_err"; then | 8563 if test -z "$ac_err"; then |
7705 rm -rf conftest* | 8564 rm -rf conftest* |
7706 eval "ac_cv_header_$ac_safe=yes" | 8565 eval "ac_cv_header_$ac_safe=yes" |
7707 else | 8566 else |
7721 fi | 8580 fi |
7722 } | 8581 } |
7723 if test "$with_ldap" != "no"; then | 8582 if test "$with_ldap" != "no"; then |
7724 | 8583 |
7725 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8584 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7726 echo "configure:7727: checking for ldap_search in -lldap" >&5 | 8585 echo "configure:8586: checking for ldap_search in -lldap" >&5 |
7727 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8586 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7728 | 8587 |
7729 xe_check_libs=" -lldap " | 8588 xe_check_libs=" -lldap " |
7730 cat > conftest.$ac_ext <<EOF | 8589 cat > conftest.$ac_ext <<EOF |
7731 #line 7732 "configure" | 8590 #line 8591 "configure" |
7732 #include "confdefs.h" | 8591 #include "confdefs.h" |
7733 /* Override any gcc2 internal prototype to avoid an error. */ | 8592 /* Override any gcc2 internal prototype to avoid an error. */ |
7734 /* We use char because int might match the return type of a gcc2 | 8593 /* We use char because int might match the return type of a gcc2 |
7735 builtin and then its argument prototype would still apply. */ | 8594 builtin and then its argument prototype would still apply. */ |
7736 char ldap_search(); | 8595 char ldap_search(); |
7737 | 8596 |
7738 int main() { | 8597 int main() { |
7739 ldap_search() | 8598 ldap_search() |
7740 ; return 0; } | 8599 ; return 0; } |
7741 EOF | 8600 EOF |
7742 if { (eval echo configure:7743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7743 rm -rf conftest* | 8602 rm -rf conftest* |
7744 eval "ac_cv_lib_$ac_lib_var=yes" | 8603 eval "ac_cv_lib_$ac_lib_var=yes" |
7745 else | 8604 else |
7746 echo "configure: failed program was:" >&5 | 8605 echo "configure: failed program was:" >&5 |
7747 cat conftest.$ac_ext >&5 | 8606 cat conftest.$ac_ext >&5 |
7762 | 8621 |
7763 test "$with_ldap_nolber" = "no" && { | 8622 test "$with_ldap_nolber" = "no" && { |
7764 xe_msg_checking="for ldap_open in -lldap" | 8623 xe_msg_checking="for ldap_open in -lldap" |
7765 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8624 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7766 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8625 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7767 echo "configure:7768: checking "$xe_msg_checking"" >&5 | 8626 echo "configure:8627: checking "$xe_msg_checking"" >&5 |
7768 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8627 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7769 | 8628 |
7770 xe_check_libs=" -lldap -llber" | 8629 xe_check_libs=" -lldap -llber" |
7771 cat > conftest.$ac_ext <<EOF | 8630 cat > conftest.$ac_ext <<EOF |
7772 #line 7773 "configure" | 8631 #line 8632 "configure" |
7773 #include "confdefs.h" | 8632 #include "confdefs.h" |
7774 /* Override any gcc2 internal prototype to avoid an error. */ | 8633 /* Override any gcc2 internal prototype to avoid an error. */ |
7775 /* We use char because int might match the return type of a gcc2 | 8634 /* We use char because int might match the return type of a gcc2 |
7776 builtin and then its argument prototype would still apply. */ | 8635 builtin and then its argument prototype would still apply. */ |
7777 char ldap_open(); | 8636 char ldap_open(); |
7778 | 8637 |
7779 int main() { | 8638 int main() { |
7780 ldap_open() | 8639 ldap_open() |
7781 ; return 0; } | 8640 ; return 0; } |
7782 EOF | 8641 EOF |
7783 if { (eval echo configure:7784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8642 if { (eval echo configure:8643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7784 rm -rf conftest* | 8643 rm -rf conftest* |
7785 eval "ac_cv_lib_$ac_lib_var=yes" | 8644 eval "ac_cv_lib_$ac_lib_var=yes" |
7786 else | 8645 else |
7787 echo "configure: failed program was:" >&5 | 8646 echo "configure: failed program was:" >&5 |
7788 cat conftest.$ac_ext >&5 | 8647 cat conftest.$ac_ext >&5 |
7803 } | 8662 } |
7804 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8663 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7805 xe_msg_checking="for ldap_open in -lldap" | 8664 xe_msg_checking="for ldap_open in -lldap" |
7806 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8665 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7807 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8666 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7808 echo "configure:7809: checking "$xe_msg_checking"" >&5 | 8667 echo "configure:8668: checking "$xe_msg_checking"" >&5 |
7809 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8668 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7810 | 8669 |
7811 xe_check_libs=" -lldap -llber -lkrb" | 8670 xe_check_libs=" -lldap -llber -lkrb" |
7812 cat > conftest.$ac_ext <<EOF | 8671 cat > conftest.$ac_ext <<EOF |
7813 #line 7814 "configure" | 8672 #line 8673 "configure" |
7814 #include "confdefs.h" | 8673 #include "confdefs.h" |
7815 /* Override any gcc2 internal prototype to avoid an error. */ | 8674 /* Override any gcc2 internal prototype to avoid an error. */ |
7816 /* We use char because int might match the return type of a gcc2 | 8675 /* We use char because int might match the return type of a gcc2 |
7817 builtin and then its argument prototype would still apply. */ | 8676 builtin and then its argument prototype would still apply. */ |
7818 char ldap_open(); | 8677 char ldap_open(); |
7819 | 8678 |
7820 int main() { | 8679 int main() { |
7821 ldap_open() | 8680 ldap_open() |
7822 ; return 0; } | 8681 ; return 0; } |
7823 EOF | 8682 EOF |
7824 if { (eval echo configure:7825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8683 if { (eval echo configure:8684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7825 rm -rf conftest* | 8684 rm -rf conftest* |
7826 eval "ac_cv_lib_$ac_lib_var=yes" | 8685 eval "ac_cv_lib_$ac_lib_var=yes" |
7827 else | 8686 else |
7828 echo "configure: failed program was:" >&5 | 8687 echo "configure: failed program was:" >&5 |
7829 cat conftest.$ac_ext >&5 | 8688 cat conftest.$ac_ext >&5 |
7844 } | 8703 } |
7845 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8704 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7846 xe_msg_checking="for ldap_open in -lldap" | 8705 xe_msg_checking="for ldap_open in -lldap" |
7847 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8706 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7848 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8707 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7849 echo "configure:7850: checking "$xe_msg_checking"" >&5 | 8708 echo "configure:8709: checking "$xe_msg_checking"" >&5 |
7850 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8709 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7851 | 8710 |
7852 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8711 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7853 cat > conftest.$ac_ext <<EOF | 8712 cat > conftest.$ac_ext <<EOF |
7854 #line 7855 "configure" | 8713 #line 8714 "configure" |
7855 #include "confdefs.h" | 8714 #include "confdefs.h" |
7856 /* Override any gcc2 internal prototype to avoid an error. */ | 8715 /* Override any gcc2 internal prototype to avoid an error. */ |
7857 /* We use char because int might match the return type of a gcc2 | 8716 /* We use char because int might match the return type of a gcc2 |
7858 builtin and then its argument prototype would still apply. */ | 8717 builtin and then its argument prototype would still apply. */ |
7859 char ldap_open(); | 8718 char ldap_open(); |
7860 | 8719 |
7861 int main() { | 8720 int main() { |
7862 ldap_open() | 8721 ldap_open() |
7863 ; return 0; } | 8722 ; return 0; } |
7864 EOF | 8723 EOF |
7865 if { (eval echo configure:7866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8724 if { (eval echo configure:8725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7866 rm -rf conftest* | 8725 rm -rf conftest* |
7867 eval "ac_cv_lib_$ac_lib_var=yes" | 8726 eval "ac_cv_lib_$ac_lib_var=yes" |
7868 else | 8727 else |
7869 echo "configure: failed program was:" >&5 | 8728 echo "configure: failed program was:" >&5 |
7870 cat conftest.$ac_ext >&5 | 8729 cat conftest.$ac_ext >&5 |
7893 #define HAVE_LDAP 1 | 8752 #define HAVE_LDAP 1 |
7894 EOF | 8753 EOF |
7895 } | 8754 } |
7896 | 8755 |
7897 if test "$with_ldap_nolber" = "yes" ; then | 8756 if test "$with_ldap_nolber" = "yes" ; then |
7898 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 8757 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi |
7899 else | 8758 else |
7900 if test "$with_ldap_krb" = "yes" ; then | 8759 if test "$with_ldap_krb" = "yes" ; then |
7901 LIBS="-lkrb $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$LIBS"; fi | 8760 ldap_libs="-lkrb $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$ldap_libs"; fi |
7902 fi | 8761 fi |
7903 if test "$with_ldap_krbdes" = "yes" ; then | 8762 if test "$with_ldap_krbdes" = "yes" ; then |
7904 LIBS="-ldes $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldes\" to \$LIBS"; fi | 8763 ldap_libs="-ldes $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldes\" to \$ldap_libs"; fi |
7905 LIBS="-lkrb $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$LIBS"; fi | 8764 ldap_libs="-lkrb $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$ldap_libs"; fi |
7906 fi | 8765 fi |
7907 LIBS="-llber $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$LIBS"; fi | 8766 ldap_libs="-llber $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-llber\" to \$ldap_libs"; fi |
7908 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 8767 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi |
7909 fi | 8768 fi |
8769 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | |
7910 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8770 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7911 do | 8771 do |
7912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7913 echo "configure:7914: checking for $ac_func" >&5 | 8773 echo "configure:8774: checking for $ac_func" >&5 |
7914 | 8774 |
7915 cat > conftest.$ac_ext <<EOF | 8775 cat > conftest.$ac_ext <<EOF |
7916 #line 7917 "configure" | 8776 #line 8777 "configure" |
7917 #include "confdefs.h" | 8777 #include "confdefs.h" |
7918 /* System header to define __stub macros and hopefully few prototypes, | 8778 /* System header to define __stub macros and hopefully few prototypes, |
7919 which can conflict with char $ac_func(); below. */ | 8779 which can conflict with char $ac_func(); below. */ |
7920 #include <assert.h> | 8780 #include <assert.h> |
7921 /* Override any gcc2 internal prototype to avoid an error. */ | 8781 /* Override any gcc2 internal prototype to avoid an error. */ |
7934 $ac_func(); | 8794 $ac_func(); |
7935 #endif | 8795 #endif |
7936 | 8796 |
7937 ; return 0; } | 8797 ; return 0; } |
7938 EOF | 8798 EOF |
7939 if { (eval echo configure:7940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8799 if { (eval echo configure:8800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7940 rm -rf conftest* | 8800 rm -rf conftest* |
7941 eval "ac_cv_func_$ac_func=yes" | 8801 eval "ac_cv_func_$ac_func=yes" |
7942 else | 8802 else |
7943 echo "configure: failed program was:" >&5 | 8803 echo "configure: failed program was:" >&5 |
7944 cat conftest.$ac_ext >&5 | 8804 cat conftest.$ac_ext >&5 |
7961 else | 8821 else |
7962 echo "$ac_t""no" 1>&6 | 8822 echo "$ac_t""no" 1>&6 |
7963 fi | 8823 fi |
7964 done | 8824 done |
7965 | 8825 |
7966 fi | 8826 LIBS="$save_LIBS" |
7967 | 8827 MAKE_SUBDIR="$MAKE_SUBDIR modules/ldap" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$MAKE_SUBDIR"; fi |
8828 if test "$with_modules" = "yes"; then | |
8829 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/ldap" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
8830 fi | |
8831 fi | |
8832 | |
8833 | |
8834 postgresql_libs= | |
7968 if test "$with_postgresql" != "no"; then | 8835 if test "$with_postgresql" != "no"; then |
7969 echo "checking for PostgreSQL" 1>&6 | 8836 echo "checking for PostgreSQL" 1>&6 |
7970 echo "configure:7971: checking for PostgreSQL" >&5 | 8837 echo "configure:8838: checking for PostgreSQL" >&5 |
7971 | 8838 |
7972 for header_dir in "" "pgsql/" "postgresql/"; do | 8839 for header_dir in "" "pgsql/" "postgresql/"; do |
7973 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8840 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7974 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8841 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7975 echo "configure:7976: checking for ${header_dir}libpq-fe.h" >&5 | 8842 echo "configure:8843: checking for ${header_dir}libpq-fe.h" >&5 |
7976 | 8843 |
7977 cat > conftest.$ac_ext <<EOF | 8844 cat > conftest.$ac_ext <<EOF |
7978 #line 7979 "configure" | 8845 #line 8846 "configure" |
7979 #include "confdefs.h" | 8846 #include "confdefs.h" |
7980 #include <${header_dir}libpq-fe.h> | 8847 #include <${header_dir}libpq-fe.h> |
7981 EOF | 8848 EOF |
7982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7983 { (eval echo configure:7984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8850 { (eval echo configure:8851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7985 if test -z "$ac_err"; then | 8852 if test -z "$ac_err"; then |
7986 rm -rf conftest* | 8853 rm -rf conftest* |
7987 eval "ac_cv_header_$ac_safe=yes" | 8854 eval "ac_cv_header_$ac_safe=yes" |
7988 else | 8855 else |
8002 | 8869 |
8003 done | 8870 done |
8004 | 8871 |
8005 test -n "$libpq_fe_h_file" && { | 8872 test -n "$libpq_fe_h_file" && { |
8006 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8873 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8007 echo "configure:8008: checking for PQconnectdb in -lpq" >&5 | 8874 echo "configure:8875: checking for PQconnectdb in -lpq" >&5 |
8008 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8875 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8009 | 8876 |
8010 xe_check_libs=" -lpq " | 8877 xe_check_libs=" -lpq " |
8011 cat > conftest.$ac_ext <<EOF | 8878 cat > conftest.$ac_ext <<EOF |
8012 #line 8013 "configure" | 8879 #line 8880 "configure" |
8013 #include "confdefs.h" | 8880 #include "confdefs.h" |
8014 /* Override any gcc2 internal prototype to avoid an error. */ | 8881 /* Override any gcc2 internal prototype to avoid an error. */ |
8015 /* We use char because int might match the return type of a gcc2 | 8882 /* We use char because int might match the return type of a gcc2 |
8016 builtin and then its argument prototype would still apply. */ | 8883 builtin and then its argument prototype would still apply. */ |
8017 char PQconnectdb(); | 8884 char PQconnectdb(); |
8018 | 8885 |
8019 int main() { | 8886 int main() { |
8020 PQconnectdb() | 8887 PQconnectdb() |
8021 ; return 0; } | 8888 ; return 0; } |
8022 EOF | 8889 EOF |
8023 if { (eval echo configure:8024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8890 if { (eval echo configure:8891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8024 rm -rf conftest* | 8891 rm -rf conftest* |
8025 eval "ac_cv_lib_$ac_lib_var=yes" | 8892 eval "ac_cv_lib_$ac_lib_var=yes" |
8026 else | 8893 else |
8027 echo "configure: failed program was:" >&5 | 8894 echo "configure: failed program was:" >&5 |
8028 cat conftest.$ac_ext >&5 | 8895 cat conftest.$ac_ext >&5 |
8051 EOF | 8918 EOF |
8052 } | 8919 } |
8053 | 8920 |
8054 | 8921 |
8055 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8922 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8056 echo "configure:8057: checking for PQconnectStart in -lpq" >&5 | 8923 echo "configure:8924: checking for PQconnectStart in -lpq" >&5 |
8057 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8924 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8058 | 8925 |
8059 xe_check_libs=" -lpq " | 8926 xe_check_libs=" -lpq " |
8060 cat > conftest.$ac_ext <<EOF | 8927 cat > conftest.$ac_ext <<EOF |
8061 #line 8062 "configure" | 8928 #line 8929 "configure" |
8062 #include "confdefs.h" | 8929 #include "confdefs.h" |
8063 /* Override any gcc2 internal prototype to avoid an error. */ | 8930 /* Override any gcc2 internal prototype to avoid an error. */ |
8064 /* We use char because int might match the return type of a gcc2 | 8931 /* We use char because int might match the return type of a gcc2 |
8065 builtin and then its argument prototype would still apply. */ | 8932 builtin and then its argument prototype would still apply. */ |
8066 char PQconnectStart(); | 8933 char PQconnectStart(); |
8067 | 8934 |
8068 int main() { | 8935 int main() { |
8069 PQconnectStart() | 8936 PQconnectStart() |
8070 ; return 0; } | 8937 ; return 0; } |
8071 EOF | 8938 EOF |
8072 if { (eval echo configure:8073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8939 if { (eval echo configure:8940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8073 rm -rf conftest* | 8940 rm -rf conftest* |
8074 eval "ac_cv_lib_$ac_lib_var=yes" | 8941 eval "ac_cv_lib_$ac_lib_var=yes" |
8075 else | 8942 else |
8076 echo "configure: failed program was:" >&5 | 8943 echo "configure: failed program was:" >&5 |
8077 cat conftest.$ac_ext >&5 | 8944 cat conftest.$ac_ext >&5 |
8103 cat >> confdefs.h <<EOF | 8970 cat >> confdefs.h <<EOF |
8104 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" | 8971 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" |
8105 EOF | 8972 EOF |
8106 } | 8973 } |
8107 | 8974 |
8108 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi | 8975 postgresql_libs="-lpq $postgresql_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$postgresql_libs"; fi |
8976 MAKE_SUBDIR="$MAKE_SUBDIR modules/postgresql" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$MAKE_SUBDIR"; fi | |
8977 if test "$with_modules" = "yes"; then | |
8978 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/postgresql" && if test "$extra_verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
8979 fi | |
8109 elif test "$with_postgresql" = "yes"; then | 8980 elif test "$with_postgresql" = "yes"; then |
8110 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --site-prefixes." >&2; exit 1; } | 8981 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --site-prefixes." >&2; exit 1; } |
8111 fi | 8982 fi |
8112 fi | 8983 fi |
8113 | 8984 |
8114 | 8985 |
8986 | |
8115 if test "$window_system" != "none"; then | 8987 if test "$window_system" != "none"; then |
8116 echo "checking for graphics libraries" 1>&6 | 8988 echo "checking for graphics libraries" 1>&6 |
8117 echo "configure:8118: checking for graphics libraries" >&5 | 8989 echo "configure:8990: checking for graphics libraries" >&5 |
8118 | 8990 |
8119 libpath_xpm= | 8991 libpath_xpm= |
8120 incpath_xpm= | 8992 incpath_xpm= |
8121 case "$opsys" in | 8993 case "$opsys" in |
8122 cygwin*) | 8994 cygwin*) |
8138 xpm_problem="" | 9010 xpm_problem="" |
8139 if test -z "$with_xpm"; then | 9011 if test -z "$with_xpm"; then |
8140 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9012 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8141 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9013 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8142 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9014 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8143 echo "configure:8144: checking for Xpm - no older than 3.4f" >&5 | 9015 echo "configure:9016: checking for Xpm - no older than 3.4f" >&5 |
8144 xe_check_libs=-lXpm | 9016 xe_check_libs=-lXpm |
8145 cat > conftest.$ac_ext <<EOF | 9017 cat > conftest.$ac_ext <<EOF |
8146 #line 8147 "configure" | 9018 #line 9019 "configure" |
8147 #include "confdefs.h" | 9019 #include "confdefs.h" |
8148 #define XPM_NUMBERS | 9020 #define XPM_NUMBERS |
8149 #include <X11/xpm.h> | 9021 #include <X11/xpm.h> |
8150 int main(int c, char **v) { | 9022 int main(int c, char **v) { |
8151 return c == 1 ? 0 : | 9023 return c == 1 ? 0 : |
8152 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9024 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8153 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9025 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8154 EOF | 9026 EOF |
8155 if { (eval echo configure:8156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9027 if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8156 then | 9028 then |
8157 ./conftest dummy_arg; xpm_status=$?; | 9029 ./conftest dummy_arg; xpm_status=$?; |
8158 if test "$xpm_status" = "0"; then | 9030 if test "$xpm_status" = "0"; then |
8159 with_xpm=yes; | 9031 with_xpm=yes; |
8160 else | 9032 else |
8194 | 9066 |
8195 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9067 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8196 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9068 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8197 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9069 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8198 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9070 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8199 echo "configure:8200: checking for \"FOR_MSW\" xpm" >&5 | 9071 echo "configure:9072: checking for \"FOR_MSW\" xpm" >&5 |
8200 xe_check_libs=-lXpm | 9072 xe_check_libs=-lXpm |
8201 cat > conftest.$ac_ext <<EOF | 9073 cat > conftest.$ac_ext <<EOF |
8202 #line 8203 "configure" | 9074 #line 9075 "configure" |
8203 #include "confdefs.h" | 9075 #include "confdefs.h" |
8204 | 9076 |
8205 int main() { | 9077 int main() { |
8206 XpmCreatePixmapFromData() | 9078 XpmCreatePixmapFromData() |
8207 ; return 0; } | 9079 ; return 0; } |
8208 EOF | 9080 EOF |
8209 if { (eval echo configure:8210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9081 if { (eval echo configure:9082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8210 rm -rf conftest* | 9082 rm -rf conftest* |
8211 xpm_for_msw=no | 9083 xpm_for_msw=no |
8212 else | 9084 else |
8213 echo "configure: failed program was:" >&5 | 9085 echo "configure: failed program was:" >&5 |
8214 cat conftest.$ac_ext >&5 | 9086 cat conftest.$ac_ext >&5 |
8230 fi | 9102 fi |
8231 fi | 9103 fi |
8232 | 9104 |
8233 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9105 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8234 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9106 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8235 echo "configure:8236: checking for compface.h" >&5 | 9107 echo "configure:9108: checking for compface.h" >&5 |
8236 | 9108 |
8237 cat > conftest.$ac_ext <<EOF | 9109 cat > conftest.$ac_ext <<EOF |
8238 #line 8239 "configure" | 9110 #line 9111 "configure" |
8239 #include "confdefs.h" | 9111 #include "confdefs.h" |
8240 #include <compface.h> | 9112 #include <compface.h> |
8241 EOF | 9113 EOF |
8242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8243 { (eval echo configure:8244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9115 { (eval echo configure:9116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8245 if test -z "$ac_err"; then | 9117 if test -z "$ac_err"; then |
8246 rm -rf conftest* | 9118 rm -rf conftest* |
8247 eval "ac_cv_header_$ac_safe=yes" | 9119 eval "ac_cv_header_$ac_safe=yes" |
8248 else | 9120 else |
8261 with_xface=no | 9133 with_xface=no |
8262 fi | 9134 fi |
8263 } | 9135 } |
8264 test -z "$with_xface" && { | 9136 test -z "$with_xface" && { |
8265 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9137 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8266 echo "configure:8267: checking for UnGenFace in -lcompface" >&5 | 9138 echo "configure:9139: checking for UnGenFace in -lcompface" >&5 |
8267 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9139 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8268 | 9140 |
8269 xe_check_libs=" -lcompface " | 9141 xe_check_libs=" -lcompface " |
8270 cat > conftest.$ac_ext <<EOF | 9142 cat > conftest.$ac_ext <<EOF |
8271 #line 8272 "configure" | 9143 #line 9144 "configure" |
8272 #include "confdefs.h" | 9144 #include "confdefs.h" |
8273 /* Override any gcc2 internal prototype to avoid an error. */ | 9145 /* Override any gcc2 internal prototype to avoid an error. */ |
8274 /* We use char because int might match the return type of a gcc2 | 9146 /* We use char because int might match the return type of a gcc2 |
8275 builtin and then its argument prototype would still apply. */ | 9147 builtin and then its argument prototype would still apply. */ |
8276 char UnGenFace(); | 9148 char UnGenFace(); |
8277 | 9149 |
8278 int main() { | 9150 int main() { |
8279 UnGenFace() | 9151 UnGenFace() |
8280 ; return 0; } | 9152 ; return 0; } |
8281 EOF | 9153 EOF |
8282 if { (eval echo configure:8283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9154 if { (eval echo configure:9155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8283 rm -rf conftest* | 9155 rm -rf conftest* |
8284 eval "ac_cv_lib_$ac_lib_var=yes" | 9156 eval "ac_cv_lib_$ac_lib_var=yes" |
8285 else | 9157 else |
8286 echo "configure: failed program was:" >&5 | 9158 echo "configure: failed program was:" >&5 |
8287 cat conftest.$ac_ext >&5 | 9159 cat conftest.$ac_ext >&5 |
8326 fi | 9198 fi |
8327 | 9199 |
8328 if test "$with_png $with_tiff" != "no no"; then | 9200 if test "$with_png $with_tiff" != "no no"; then |
8329 | 9201 |
8330 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9202 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8331 echo "configure:8332: checking for inflate in -lc" >&5 | 9203 echo "configure:9204: checking for inflate in -lc" >&5 |
8332 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9204 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8333 | 9205 |
8334 xe_check_libs=" -lc " | 9206 xe_check_libs=" -lc " |
8335 cat > conftest.$ac_ext <<EOF | 9207 cat > conftest.$ac_ext <<EOF |
8336 #line 8337 "configure" | 9208 #line 9209 "configure" |
8337 #include "confdefs.h" | 9209 #include "confdefs.h" |
8338 /* Override any gcc2 internal prototype to avoid an error. */ | 9210 /* Override any gcc2 internal prototype to avoid an error. */ |
8339 /* We use char because int might match the return type of a gcc2 | 9211 /* We use char because int might match the return type of a gcc2 |
8340 builtin and then its argument prototype would still apply. */ | 9212 builtin and then its argument prototype would still apply. */ |
8341 char inflate(); | 9213 char inflate(); |
8342 | 9214 |
8343 int main() { | 9215 int main() { |
8344 inflate() | 9216 inflate() |
8345 ; return 0; } | 9217 ; return 0; } |
8346 EOF | 9218 EOF |
8347 if { (eval echo configure:8348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9219 if { (eval echo configure:9220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8348 rm -rf conftest* | 9220 rm -rf conftest* |
8349 eval "ac_cv_lib_$ac_lib_var=yes" | 9221 eval "ac_cv_lib_$ac_lib_var=yes" |
8350 else | 9222 else |
8351 echo "configure: failed program was:" >&5 | 9223 echo "configure: failed program was:" >&5 |
8352 cat conftest.$ac_ext >&5 | 9224 cat conftest.$ac_ext >&5 |
8361 : | 9233 : |
8362 else | 9234 else |
8363 echo "$ac_t""no" 1>&6 | 9235 echo "$ac_t""no" 1>&6 |
8364 | 9236 |
8365 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9237 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8366 echo "configure:8367: checking for inflate in -lz" >&5 | 9238 echo "configure:9239: checking for inflate in -lz" >&5 |
8367 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9239 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8368 | 9240 |
8369 xe_check_libs=" -lz " | 9241 xe_check_libs=" -lz " |
8370 cat > conftest.$ac_ext <<EOF | 9242 cat > conftest.$ac_ext <<EOF |
8371 #line 8372 "configure" | 9243 #line 9244 "configure" |
8372 #include "confdefs.h" | 9244 #include "confdefs.h" |
8373 /* Override any gcc2 internal prototype to avoid an error. */ | 9245 /* Override any gcc2 internal prototype to avoid an error. */ |
8374 /* We use char because int might match the return type of a gcc2 | 9246 /* We use char because int might match the return type of a gcc2 |
8375 builtin and then its argument prototype would still apply. */ | 9247 builtin and then its argument prototype would still apply. */ |
8376 char inflate(); | 9248 char inflate(); |
8377 | 9249 |
8378 int main() { | 9250 int main() { |
8379 inflate() | 9251 inflate() |
8380 ; return 0; } | 9252 ; return 0; } |
8381 EOF | 9253 EOF |
8382 if { (eval echo configure:8383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9254 if { (eval echo configure:9255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8383 rm -rf conftest* | 9255 rm -rf conftest* |
8384 eval "ac_cv_lib_$ac_lib_var=yes" | 9256 eval "ac_cv_lib_$ac_lib_var=yes" |
8385 else | 9257 else |
8386 echo "configure: failed program was:" >&5 | 9258 echo "configure: failed program was:" >&5 |
8387 cat conftest.$ac_ext >&5 | 9259 cat conftest.$ac_ext >&5 |
8396 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9268 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8397 else | 9269 else |
8398 echo "$ac_t""no" 1>&6 | 9270 echo "$ac_t""no" 1>&6 |
8399 | 9271 |
8400 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9272 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8401 echo "configure:8402: checking for inflate in -lgz" >&5 | 9273 echo "configure:9274: checking for inflate in -lgz" >&5 |
8402 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9274 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8403 | 9275 |
8404 xe_check_libs=" -lgz " | 9276 xe_check_libs=" -lgz " |
8405 cat > conftest.$ac_ext <<EOF | 9277 cat > conftest.$ac_ext <<EOF |
8406 #line 8407 "configure" | 9278 #line 9279 "configure" |
8407 #include "confdefs.h" | 9279 #include "confdefs.h" |
8408 /* Override any gcc2 internal prototype to avoid an error. */ | 9280 /* Override any gcc2 internal prototype to avoid an error. */ |
8409 /* We use char because int might match the return type of a gcc2 | 9281 /* We use char because int might match the return type of a gcc2 |
8410 builtin and then its argument prototype would still apply. */ | 9282 builtin and then its argument prototype would still apply. */ |
8411 char inflate(); | 9283 char inflate(); |
8412 | 9284 |
8413 int main() { | 9285 int main() { |
8414 inflate() | 9286 inflate() |
8415 ; return 0; } | 9287 ; return 0; } |
8416 EOF | 9288 EOF |
8417 if { (eval echo configure:8418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9289 if { (eval echo configure:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8418 rm -rf conftest* | 9290 rm -rf conftest* |
8419 eval "ac_cv_lib_$ac_lib_var=yes" | 9291 eval "ac_cv_lib_$ac_lib_var=yes" |
8420 else | 9292 else |
8421 echo "configure: failed program was:" >&5 | 9293 echo "configure: failed program was:" >&5 |
8422 cat conftest.$ac_ext >&5 | 9294 cat conftest.$ac_ext >&5 |
8442 | 9314 |
8443 fi | 9315 fi |
8444 | 9316 |
8445 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9317 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8446 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9318 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8447 echo "configure:8448: checking for jpeglib.h" >&5 | 9319 echo "configure:9320: checking for jpeglib.h" >&5 |
8448 | 9320 |
8449 cat > conftest.$ac_ext <<EOF | 9321 cat > conftest.$ac_ext <<EOF |
8450 #line 8451 "configure" | 9322 #line 9323 "configure" |
8451 #include "confdefs.h" | 9323 #include "confdefs.h" |
8452 #include <jpeglib.h> | 9324 #include <jpeglib.h> |
8453 EOF | 9325 EOF |
8454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8455 { (eval echo configure:8456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9327 { (eval echo configure:9328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8457 if test -z "$ac_err"; then | 9329 if test -z "$ac_err"; then |
8458 rm -rf conftest* | 9330 rm -rf conftest* |
8459 eval "ac_cv_header_$ac_safe=yes" | 9331 eval "ac_cv_header_$ac_safe=yes" |
8460 else | 9332 else |
8473 with_jpeg=no | 9345 with_jpeg=no |
8474 fi | 9346 fi |
8475 } | 9347 } |
8476 test -z "$with_jpeg" && { | 9348 test -z "$with_jpeg" && { |
8477 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9349 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8478 echo "configure:8479: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9350 echo "configure:9351: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8479 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9351 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8480 | 9352 |
8481 xe_check_libs=" -ljpeg " | 9353 xe_check_libs=" -ljpeg " |
8482 cat > conftest.$ac_ext <<EOF | 9354 cat > conftest.$ac_ext <<EOF |
8483 #line 8484 "configure" | 9355 #line 9356 "configure" |
8484 #include "confdefs.h" | 9356 #include "confdefs.h" |
8485 /* Override any gcc2 internal prototype to avoid an error. */ | 9357 /* Override any gcc2 internal prototype to avoid an error. */ |
8486 /* We use char because int might match the return type of a gcc2 | 9358 /* We use char because int might match the return type of a gcc2 |
8487 builtin and then its argument prototype would still apply. */ | 9359 builtin and then its argument prototype would still apply. */ |
8488 char jpeg_destroy_decompress(); | 9360 char jpeg_destroy_decompress(); |
8489 | 9361 |
8490 int main() { | 9362 int main() { |
8491 jpeg_destroy_decompress() | 9363 jpeg_destroy_decompress() |
8492 ; return 0; } | 9364 ; return 0; } |
8493 EOF | 9365 EOF |
8494 if { (eval echo configure:8495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9366 if { (eval echo configure:9367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8495 rm -rf conftest* | 9367 rm -rf conftest* |
8496 eval "ac_cv_lib_$ac_lib_var=yes" | 9368 eval "ac_cv_lib_$ac_lib_var=yes" |
8497 else | 9369 else |
8498 echo "configure: failed program was:" >&5 | 9370 echo "configure: failed program was:" >&5 |
8499 cat conftest.$ac_ext >&5 | 9371 cat conftest.$ac_ext >&5 |
8525 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9397 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8526 fi | 9398 fi |
8527 | 9399 |
8528 png_problem="" | 9400 png_problem="" |
8529 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9401 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8530 echo "configure:8531: checking for pow" >&5 | 9402 echo "configure:9403: checking for pow" >&5 |
8531 | 9403 |
8532 cat > conftest.$ac_ext <<EOF | 9404 cat > conftest.$ac_ext <<EOF |
8533 #line 8534 "configure" | 9405 #line 9406 "configure" |
8534 #include "confdefs.h" | 9406 #include "confdefs.h" |
8535 /* System header to define __stub macros and hopefully few prototypes, | 9407 /* System header to define __stub macros and hopefully few prototypes, |
8536 which can conflict with char pow(); below. */ | 9408 which can conflict with char pow(); below. */ |
8537 #include <assert.h> | 9409 #include <assert.h> |
8538 /* Override any gcc2 internal prototype to avoid an error. */ | 9410 /* Override any gcc2 internal prototype to avoid an error. */ |
8551 pow(); | 9423 pow(); |
8552 #endif | 9424 #endif |
8553 | 9425 |
8554 ; return 0; } | 9426 ; return 0; } |
8555 EOF | 9427 EOF |
8556 if { (eval echo configure:8557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9428 if { (eval echo configure:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8557 rm -rf conftest* | 9429 rm -rf conftest* |
8558 eval "ac_cv_func_pow=yes" | 9430 eval "ac_cv_func_pow=yes" |
8559 else | 9431 else |
8560 echo "configure: failed program was:" >&5 | 9432 echo "configure: failed program was:" >&5 |
8561 cat conftest.$ac_ext >&5 | 9433 cat conftest.$ac_ext >&5 |
8572 with_png=no | 9444 with_png=no |
8573 fi | 9445 fi |
8574 } | 9446 } |
8575 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9447 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8576 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9448 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8577 echo "configure:8578: checking for png.h" >&5 | 9449 echo "configure:9450: checking for png.h" >&5 |
8578 | 9450 |
8579 cat > conftest.$ac_ext <<EOF | 9451 cat > conftest.$ac_ext <<EOF |
8580 #line 8581 "configure" | 9452 #line 9453 "configure" |
8581 #include "confdefs.h" | 9453 #include "confdefs.h" |
8582 #include <png.h> | 9454 #include <png.h> |
8583 EOF | 9455 EOF |
8584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8585 { (eval echo configure:8586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9457 { (eval echo configure:9458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8587 if test -z "$ac_err"; then | 9459 if test -z "$ac_err"; then |
8588 rm -rf conftest* | 9460 rm -rf conftest* |
8589 eval "ac_cv_header_$ac_safe=yes" | 9461 eval "ac_cv_header_$ac_safe=yes" |
8590 else | 9462 else |
8603 with_png=no | 9475 with_png=no |
8604 fi | 9476 fi |
8605 } | 9477 } |
8606 test -z "$with_png" && { | 9478 test -z "$with_png" && { |
8607 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9479 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8608 echo "configure:8609: checking for png_read_image in -lpng" >&5 | 9480 echo "configure:9481: checking for png_read_image in -lpng" >&5 |
8609 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9481 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8610 | 9482 |
8611 xe_check_libs=" -lpng " | 9483 xe_check_libs=" -lpng " |
8612 cat > conftest.$ac_ext <<EOF | 9484 cat > conftest.$ac_ext <<EOF |
8613 #line 8614 "configure" | 9485 #line 9486 "configure" |
8614 #include "confdefs.h" | 9486 #include "confdefs.h" |
8615 /* Override any gcc2 internal prototype to avoid an error. */ | 9487 /* Override any gcc2 internal prototype to avoid an error. */ |
8616 /* We use char because int might match the return type of a gcc2 | 9488 /* We use char because int might match the return type of a gcc2 |
8617 builtin and then its argument prototype would still apply. */ | 9489 builtin and then its argument prototype would still apply. */ |
8618 char png_read_image(); | 9490 char png_read_image(); |
8619 | 9491 |
8620 int main() { | 9492 int main() { |
8621 png_read_image() | 9493 png_read_image() |
8622 ; return 0; } | 9494 ; return 0; } |
8623 EOF | 9495 EOF |
8624 if { (eval echo configure:8625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9496 if { (eval echo configure:9497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8625 rm -rf conftest* | 9497 rm -rf conftest* |
8626 eval "ac_cv_lib_$ac_lib_var=yes" | 9498 eval "ac_cv_lib_$ac_lib_var=yes" |
8627 else | 9499 else |
8628 echo "configure: failed program was:" >&5 | 9500 echo "configure: failed program was:" >&5 |
8629 cat conftest.$ac_ext >&5 | 9501 cat conftest.$ac_ext >&5 |
8642 fi | 9514 fi |
8643 | 9515 |
8644 } | 9516 } |
8645 if test -z "$with_png"; then | 9517 if test -z "$with_png"; then |
8646 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9518 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8647 echo "configure:8648: checking for workable png version information" >&5 | 9519 echo "configure:9520: checking for workable png version information" >&5 |
8648 xe_check_libs="-lpng -lz" | 9520 xe_check_libs="-lpng -lz" |
8649 cat > conftest.$ac_ext <<EOF | 9521 cat > conftest.$ac_ext <<EOF |
8650 #line 8651 "configure" | 9522 #line 9523 "configure" |
8651 #include "confdefs.h" | 9523 #include "confdefs.h" |
8652 #include <png.h> | 9524 #include <png.h> |
8653 int main(int c, char **v) { | 9525 int main(int c, char **v) { |
8654 if (c == 1) return 0; | 9526 if (c == 1) return 0; |
8655 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9527 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8656 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9528 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8657 EOF | 9529 EOF |
8658 if { (eval echo configure:8659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9530 if { (eval echo configure:9531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8659 then | 9531 then |
8660 ./conftest dummy_arg; png_status=$?; | 9532 ./conftest dummy_arg; png_status=$?; |
8661 if test "$png_status" = "0"; then | 9533 if test "$png_status" = "0"; then |
8662 with_png=yes; | 9534 with_png=yes; |
8663 else | 9535 else |
8696 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9568 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8697 fi | 9569 fi |
8698 | 9570 |
8699 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9571 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8700 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9572 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8701 echo "configure:8702: checking for tiffio.h" >&5 | 9573 echo "configure:9574: checking for tiffio.h" >&5 |
8702 | 9574 |
8703 cat > conftest.$ac_ext <<EOF | 9575 cat > conftest.$ac_ext <<EOF |
8704 #line 8705 "configure" | 9576 #line 9577 "configure" |
8705 #include "confdefs.h" | 9577 #include "confdefs.h" |
8706 #include <tiffio.h> | 9578 #include <tiffio.h> |
8707 EOF | 9579 EOF |
8708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8709 { (eval echo configure:8710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9581 { (eval echo configure:9582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9582 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8711 if test -z "$ac_err"; then | 9583 if test -z "$ac_err"; then |
8712 rm -rf conftest* | 9584 rm -rf conftest* |
8713 eval "ac_cv_header_$ac_safe=yes" | 9585 eval "ac_cv_header_$ac_safe=yes" |
8714 else | 9586 else |
8727 with_tiff=no | 9599 with_tiff=no |
8728 fi | 9600 fi |
8729 } | 9601 } |
8730 test -z "$with_tiff" && { | 9602 test -z "$with_tiff" && { |
8731 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9603 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8732 echo "configure:8733: checking for TIFFClientOpen in -ltiff" >&5 | 9604 echo "configure:9605: checking for TIFFClientOpen in -ltiff" >&5 |
8733 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9605 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8734 | 9606 |
8735 xe_check_libs=" -ltiff " | 9607 xe_check_libs=" -ltiff " |
8736 cat > conftest.$ac_ext <<EOF | 9608 cat > conftest.$ac_ext <<EOF |
8737 #line 8738 "configure" | 9609 #line 9610 "configure" |
8738 #include "confdefs.h" | 9610 #include "confdefs.h" |
8739 /* Override any gcc2 internal prototype to avoid an error. */ | 9611 /* Override any gcc2 internal prototype to avoid an error. */ |
8740 /* We use char because int might match the return type of a gcc2 | 9612 /* We use char because int might match the return type of a gcc2 |
8741 builtin and then its argument prototype would still apply. */ | 9613 builtin and then its argument prototype would still apply. */ |
8742 char TIFFClientOpen(); | 9614 char TIFFClientOpen(); |
8743 | 9615 |
8744 int main() { | 9616 int main() { |
8745 TIFFClientOpen() | 9617 TIFFClientOpen() |
8746 ; return 0; } | 9618 ; return 0; } |
8747 EOF | 9619 EOF |
8748 if { (eval echo configure:8749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9620 if { (eval echo configure:9621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8749 rm -rf conftest* | 9621 rm -rf conftest* |
8750 eval "ac_cv_lib_$ac_lib_var=yes" | 9622 eval "ac_cv_lib_$ac_lib_var=yes" |
8751 else | 9623 else |
8752 echo "configure: failed program was:" >&5 | 9624 echo "configure: failed program was:" >&5 |
8753 cat conftest.$ac_ext >&5 | 9625 cat conftest.$ac_ext >&5 |
8782 | 9654 |
8783 | 9655 |
8784 if test "$with_gtk" = "yes"; then | 9656 if test "$with_gtk" = "yes"; then |
8785 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9657 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8786 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9658 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8787 echo "configure:8788: checking for compface.h" >&5 | 9659 echo "configure:9660: checking for compface.h" >&5 |
8788 | 9660 |
8789 cat > conftest.$ac_ext <<EOF | 9661 cat > conftest.$ac_ext <<EOF |
8790 #line 8791 "configure" | 9662 #line 9663 "configure" |
8791 #include "confdefs.h" | 9663 #include "confdefs.h" |
8792 #include <compface.h> | 9664 #include <compface.h> |
8793 EOF | 9665 EOF |
8794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8795 { (eval echo configure:8796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9667 { (eval echo configure:9668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8797 if test -z "$ac_err"; then | 9669 if test -z "$ac_err"; then |
8798 rm -rf conftest* | 9670 rm -rf conftest* |
8799 eval "ac_cv_header_$ac_safe=yes" | 9671 eval "ac_cv_header_$ac_safe=yes" |
8800 else | 9672 else |
8813 with_xface=no | 9685 with_xface=no |
8814 fi | 9686 fi |
8815 } | 9687 } |
8816 test -z "$with_xface" && { | 9688 test -z "$with_xface" && { |
8817 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9689 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8818 echo "configure:8819: checking for UnGenFace in -lcompface" >&5 | 9690 echo "configure:9691: checking for UnGenFace in -lcompface" >&5 |
8819 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9691 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8820 | 9692 |
8821 xe_check_libs=" -lcompface " | 9693 xe_check_libs=" -lcompface " |
8822 cat > conftest.$ac_ext <<EOF | 9694 cat > conftest.$ac_ext <<EOF |
8823 #line 8824 "configure" | 9695 #line 9696 "configure" |
8824 #include "confdefs.h" | 9696 #include "confdefs.h" |
8825 /* Override any gcc2 internal prototype to avoid an error. */ | 9697 /* Override any gcc2 internal prototype to avoid an error. */ |
8826 /* 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 |
8827 builtin and then its argument prototype would still apply. */ | 9699 builtin and then its argument prototype would still apply. */ |
8828 char UnGenFace(); | 9700 char UnGenFace(); |
8829 | 9701 |
8830 int main() { | 9702 int main() { |
8831 UnGenFace() | 9703 UnGenFace() |
8832 ; return 0; } | 9704 ; return 0; } |
8833 EOF | 9705 EOF |
8834 if { (eval echo configure:8835: \"$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 |
8835 rm -rf conftest* | 9707 rm -rf conftest* |
8836 eval "ac_cv_lib_$ac_lib_var=yes" | 9708 eval "ac_cv_lib_$ac_lib_var=yes" |
8837 else | 9709 else |
8838 echo "configure: failed program was:" >&5 | 9710 echo "configure: failed program was:" >&5 |
8839 cat conftest.$ac_ext >&5 | 9711 cat conftest.$ac_ext >&5 |
8868 | 9740 |
8869 | 9741 |
8870 | 9742 |
8871 if test "$with_x11" = "yes"; then | 9743 if test "$with_x11" = "yes"; then |
8872 echo "checking for X11 graphics libraries" 1>&6 | 9744 echo "checking for X11 graphics libraries" 1>&6 |
8873 echo "configure:8874: checking for X11 graphics libraries" >&5 | 9745 echo "configure:9746: checking for X11 graphics libraries" >&5 |
8874 fi | 9746 fi |
8875 | 9747 |
8876 case "$with_widgets" in | 9748 case "$with_widgets" in |
8877 "yes" | "athena") detect_athena=yes ;; | 9749 "yes" | "athena") detect_athena=yes ;; |
8878 *) detect_athena=no ;; | 9750 *) detect_athena=no ;; |
8879 esac | 9751 esac |
8880 | 9752 |
8881 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9753 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8882 echo "checking for the Athena widgets" 1>&6 | 9754 echo "checking for the Athena widgets" 1>&6 |
8883 echo "configure:8884: checking for the Athena widgets" >&5 | 9755 echo "configure:9756: checking for the Athena widgets" >&5 |
8884 | 9756 |
8885 case "$with_athena" in | 9757 case "$with_athena" in |
8886 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9758 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8887 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9759 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8888 "next") athena_variant=neXtaw athena_3d=yes ;; | 9760 "next") athena_variant=neXtaw athena_3d=yes ;; |
8892 esac | 9764 esac |
8893 | 9765 |
8894 if test "$athena_3d" = "no"; then | 9766 if test "$athena_3d" = "no"; then |
8895 | 9767 |
8896 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9768 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8897 echo "configure:8898: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9769 echo "configure:9770: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8898 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9770 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8899 | 9771 |
8900 xe_check_libs=" -l$athena_variant " | 9772 xe_check_libs=" -l$athena_variant " |
8901 cat > conftest.$ac_ext <<EOF | 9773 cat > conftest.$ac_ext <<EOF |
8902 #line 8903 "configure" | 9774 #line 9775 "configure" |
8903 #include "confdefs.h" | 9775 #include "confdefs.h" |
8904 /* Override any gcc2 internal prototype to avoid an error. */ | 9776 /* Override any gcc2 internal prototype to avoid an error. */ |
8905 /* We use char because int might match the return type of a gcc2 | 9777 /* We use char because int might match the return type of a gcc2 |
8906 builtin and then its argument prototype would still apply. */ | 9778 builtin and then its argument prototype would still apply. */ |
8907 char XawScrollbarSetThumb(); | 9779 char XawScrollbarSetThumb(); |
8908 | 9780 |
8909 int main() { | 9781 int main() { |
8910 XawScrollbarSetThumb() | 9782 XawScrollbarSetThumb() |
8911 ; return 0; } | 9783 ; return 0; } |
8912 EOF | 9784 EOF |
8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9785 if { (eval echo configure:9786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8914 rm -rf conftest* | 9786 rm -rf conftest* |
8915 eval "ac_cv_lib_$ac_lib_var=yes" | 9787 eval "ac_cv_lib_$ac_lib_var=yes" |
8916 else | 9788 else |
8917 echo "configure: failed program was:" >&5 | 9789 echo "configure: failed program was:" >&5 |
8918 cat conftest.$ac_ext >&5 | 9790 cat conftest.$ac_ext >&5 |
8924 | 9796 |
8925 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8926 echo "$ac_t""yes" 1>&6 | 9798 echo "$ac_t""yes" 1>&6 |
8927 | 9799 |
8928 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9800 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8929 echo "configure:8930: checking for threeDClassRec in -l$athena_variant" >&5 | 9801 echo "configure:9802: checking for threeDClassRec in -l$athena_variant" >&5 |
8930 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9802 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8931 | 9803 |
8932 xe_check_libs=" -l$athena_variant " | 9804 xe_check_libs=" -l$athena_variant " |
8933 cat > conftest.$ac_ext <<EOF | 9805 cat > conftest.$ac_ext <<EOF |
8934 #line 8935 "configure" | 9806 #line 9807 "configure" |
8935 #include "confdefs.h" | 9807 #include "confdefs.h" |
8936 /* Override any gcc2 internal prototype to avoid an error. */ | 9808 /* Override any gcc2 internal prototype to avoid an error. */ |
8937 /* We use char because int might match the return type of a gcc2 | 9809 /* We use char because int might match the return type of a gcc2 |
8938 builtin and then its argument prototype would still apply. */ | 9810 builtin and then its argument prototype would still apply. */ |
8939 char threeDClassRec(); | 9811 char threeDClassRec(); |
8940 | 9812 |
8941 int main() { | 9813 int main() { |
8942 threeDClassRec() | 9814 threeDClassRec() |
8943 ; return 0; } | 9815 ; return 0; } |
8944 EOF | 9816 EOF |
8945 if { (eval echo configure:8946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9817 if { (eval echo configure:9818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8946 rm -rf conftest* | 9818 rm -rf conftest* |
8947 eval "ac_cv_lib_$ac_lib_var=yes" | 9819 eval "ac_cv_lib_$ac_lib_var=yes" |
8948 else | 9820 else |
8949 echo "configure: failed program was:" >&5 | 9821 echo "configure: failed program was:" >&5 |
8950 cat conftest.$ac_ext >&5 | 9822 cat conftest.$ac_ext >&5 |
8971 | 9843 |
8972 | 9844 |
8973 else | 9845 else |
8974 | 9846 |
8975 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9847 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8976 echo "configure:8977: checking for threeDClassRec in -l$athena_variant" >&5 | 9848 echo "configure:9849: checking for threeDClassRec in -l$athena_variant" >&5 |
8977 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9849 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8978 | 9850 |
8979 xe_check_libs=" -l$athena_variant " | 9851 xe_check_libs=" -l$athena_variant " |
8980 cat > conftest.$ac_ext <<EOF | 9852 cat > conftest.$ac_ext <<EOF |
8981 #line 8982 "configure" | 9853 #line 9854 "configure" |
8982 #include "confdefs.h" | 9854 #include "confdefs.h" |
8983 /* Override any gcc2 internal prototype to avoid an error. */ | 9855 /* Override any gcc2 internal prototype to avoid an error. */ |
8984 /* We use char because int might match the return type of a gcc2 | 9856 /* We use char because int might match the return type of a gcc2 |
8985 builtin and then its argument prototype would still apply. */ | 9857 builtin and then its argument prototype would still apply. */ |
8986 char threeDClassRec(); | 9858 char threeDClassRec(); |
8987 | 9859 |
8988 int main() { | 9860 int main() { |
8989 threeDClassRec() | 9861 threeDClassRec() |
8990 ; return 0; } | 9862 ; return 0; } |
8991 EOF | 9863 EOF |
8992 if { (eval echo configure:8993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8993 rm -rf conftest* | 9865 rm -rf conftest* |
8994 eval "ac_cv_lib_$ac_lib_var=yes" | 9866 eval "ac_cv_lib_$ac_lib_var=yes" |
8995 else | 9867 else |
8996 echo "configure: failed program was:" >&5 | 9868 echo "configure: failed program was:" >&5 |
8997 cat conftest.$ac_ext >&5 | 9869 cat conftest.$ac_ext >&5 |
9005 echo "$ac_t""yes" 1>&6 | 9877 echo "$ac_t""yes" 1>&6 |
9006 athena_lib=$athena_variant | 9878 athena_lib=$athena_variant |
9007 else | 9879 else |
9008 echo "$ac_t""no" 1>&6 | 9880 echo "$ac_t""no" 1>&6 |
9009 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9881 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9010 echo "configure:9011: checking for threeDClassRec in -lXaw" >&5 | 9882 echo "configure:9883: checking for threeDClassRec in -lXaw" >&5 |
9011 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9883 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9012 | 9884 |
9013 xe_check_libs=" -lXaw " | 9885 xe_check_libs=" -lXaw " |
9014 cat > conftest.$ac_ext <<EOF | 9886 cat > conftest.$ac_ext <<EOF |
9015 #line 9016 "configure" | 9887 #line 9888 "configure" |
9016 #include "confdefs.h" | 9888 #include "confdefs.h" |
9017 /* Override any gcc2 internal prototype to avoid an error. */ | 9889 /* Override any gcc2 internal prototype to avoid an error. */ |
9018 /* We use char because int might match the return type of a gcc2 | 9890 /* We use char because int might match the return type of a gcc2 |
9019 builtin and then its argument prototype would still apply. */ | 9891 builtin and then its argument prototype would still apply. */ |
9020 char threeDClassRec(); | 9892 char threeDClassRec(); |
9021 | 9893 |
9022 int main() { | 9894 int main() { |
9023 threeDClassRec() | 9895 threeDClassRec() |
9024 ; return 0; } | 9896 ; return 0; } |
9025 EOF | 9897 EOF |
9026 if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9898 if { (eval echo configure:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9027 rm -rf conftest* | 9899 rm -rf conftest* |
9028 eval "ac_cv_lib_$ac_lib_var=yes" | 9900 eval "ac_cv_lib_$ac_lib_var=yes" |
9029 else | 9901 else |
9030 echo "configure: failed program was:" >&5 | 9902 echo "configure: failed program was:" >&5 |
9031 cat conftest.$ac_ext >&5 | 9903 cat conftest.$ac_ext >&5 |
9052 fi | 9924 fi |
9053 | 9925 |
9054 if test "$athena_3d" = "no"; then | 9926 if test "$athena_3d" = "no"; then |
9055 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9927 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9056 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9928 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9057 echo "configure:9058: checking for X11/Xaw/ThreeD.h" >&5 | 9929 echo "configure:9930: checking for X11/Xaw/ThreeD.h" >&5 |
9058 | 9930 |
9059 cat > conftest.$ac_ext <<EOF | 9931 cat > conftest.$ac_ext <<EOF |
9060 #line 9061 "configure" | 9932 #line 9933 "configure" |
9061 #include "confdefs.h" | 9933 #include "confdefs.h" |
9062 #include <X11/Xaw/ThreeD.h> | 9934 #include <X11/Xaw/ThreeD.h> |
9063 EOF | 9935 EOF |
9064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9065 { (eval echo configure:9066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9937 { (eval echo configure:9938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9067 if test -z "$ac_err"; then | 9939 if test -z "$ac_err"; then |
9068 rm -rf conftest* | 9940 rm -rf conftest* |
9069 eval "ac_cv_header_$ac_safe=yes" | 9941 eval "ac_cv_header_$ac_safe=yes" |
9070 else | 9942 else |
9080 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9952 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9081 else | 9953 else |
9082 echo "$ac_t""no" 1>&6 | 9954 echo "$ac_t""no" 1>&6 |
9083 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9955 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9084 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9956 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9085 echo "configure:9086: checking for X11/Xaw/XawInit.h" >&5 | 9957 echo "configure:9958: checking for X11/Xaw/XawInit.h" >&5 |
9086 | 9958 |
9087 cat > conftest.$ac_ext <<EOF | 9959 cat > conftest.$ac_ext <<EOF |
9088 #line 9089 "configure" | 9960 #line 9961 "configure" |
9089 #include "confdefs.h" | 9961 #include "confdefs.h" |
9090 #include <X11/Xaw/XawInit.h> | 9962 #include <X11/Xaw/XawInit.h> |
9091 EOF | 9963 EOF |
9092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9093 { (eval echo configure:9094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9965 { (eval echo configure:9966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9095 if test -z "$ac_err"; then | 9967 if test -z "$ac_err"; then |
9096 rm -rf conftest* | 9968 rm -rf conftest* |
9097 eval "ac_cv_header_$ac_safe=yes" | 9969 eval "ac_cv_header_$ac_safe=yes" |
9098 else | 9970 else |
9114 fi | 9986 fi |
9115 | 9987 |
9116 else | 9988 else |
9117 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9989 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9118 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9990 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9119 echo "configure:9120: checking for X11/$athena_variant/XawInit.h" >&5 | 9991 echo "configure:9992: checking for X11/$athena_variant/XawInit.h" >&5 |
9120 | 9992 |
9121 cat > conftest.$ac_ext <<EOF | 9993 cat > conftest.$ac_ext <<EOF |
9122 #line 9123 "configure" | 9994 #line 9995 "configure" |
9123 #include "confdefs.h" | 9995 #include "confdefs.h" |
9124 #include <X11/$athena_variant/XawInit.h> | 9996 #include <X11/$athena_variant/XawInit.h> |
9125 EOF | 9997 EOF |
9126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9127 { (eval echo configure:9128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9999 { (eval echo configure:10000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9128 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9129 if test -z "$ac_err"; then | 10001 if test -z "$ac_err"; then |
9130 rm -rf conftest* | 10002 rm -rf conftest* |
9131 eval "ac_cv_header_$ac_safe=yes" | 10003 eval "ac_cv_header_$ac_safe=yes" |
9132 else | 10004 else |
9139 rm -f conftest* | 10011 rm -f conftest* |
9140 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9141 echo "$ac_t""yes" 1>&6 | 10013 echo "$ac_t""yes" 1>&6 |
9142 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10014 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9143 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10015 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9144 echo "configure:9145: checking for X11/$athena_variant/ThreeD.h" >&5 | 10016 echo "configure:10017: checking for X11/$athena_variant/ThreeD.h" >&5 |
9145 | 10017 |
9146 cat > conftest.$ac_ext <<EOF | 10018 cat > conftest.$ac_ext <<EOF |
9147 #line 9148 "configure" | 10019 #line 10020 "configure" |
9148 #include "confdefs.h" | 10020 #include "confdefs.h" |
9149 #include <X11/$athena_variant/ThreeD.h> | 10021 #include <X11/$athena_variant/ThreeD.h> |
9150 EOF | 10022 EOF |
9151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9152 { (eval echo configure:9153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10024 { (eval echo configure:10025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9154 if test -z "$ac_err"; then | 10026 if test -z "$ac_err"; then |
9155 rm -rf conftest* | 10027 rm -rf conftest* |
9156 eval "ac_cv_header_$ac_safe=yes" | 10028 eval "ac_cv_header_$ac_safe=yes" |
9157 else | 10029 else |
9175 | 10047 |
9176 | 10048 |
9177 if test -z "$athena_h_path"; then | 10049 if test -z "$athena_h_path"; then |
9178 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10050 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9179 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10051 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9180 echo "configure:9181: checking for $athena_variant/XawInit.h" >&5 | 10052 echo "configure:10053: checking for $athena_variant/XawInit.h" >&5 |
9181 | 10053 |
9182 cat > conftest.$ac_ext <<EOF | 10054 cat > conftest.$ac_ext <<EOF |
9183 #line 9184 "configure" | 10055 #line 10056 "configure" |
9184 #include "confdefs.h" | 10056 #include "confdefs.h" |
9185 #include <$athena_variant/XawInit.h> | 10057 #include <$athena_variant/XawInit.h> |
9186 EOF | 10058 EOF |
9187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9188 { (eval echo configure:9189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10060 { (eval echo configure:10061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9190 if test -z "$ac_err"; then | 10062 if test -z "$ac_err"; then |
9191 rm -rf conftest* | 10063 rm -rf conftest* |
9192 eval "ac_cv_header_$ac_safe=yes" | 10064 eval "ac_cv_header_$ac_safe=yes" |
9193 else | 10065 else |
9200 rm -f conftest* | 10072 rm -f conftest* |
9201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10073 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9202 echo "$ac_t""yes" 1>&6 | 10074 echo "$ac_t""yes" 1>&6 |
9203 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10075 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9204 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10076 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9205 echo "configure:9206: checking for $athena_variant/ThreeD.h" >&5 | 10077 echo "configure:10078: checking for $athena_variant/ThreeD.h" >&5 |
9206 | 10078 |
9207 cat > conftest.$ac_ext <<EOF | 10079 cat > conftest.$ac_ext <<EOF |
9208 #line 9209 "configure" | 10080 #line 10081 "configure" |
9209 #include "confdefs.h" | 10081 #include "confdefs.h" |
9210 #include <$athena_variant/ThreeD.h> | 10082 #include <$athena_variant/ThreeD.h> |
9211 EOF | 10083 EOF |
9212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9213 { (eval echo configure:9214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10085 { (eval echo configure:10086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9215 if test -z "$ac_err"; then | 10087 if test -z "$ac_err"; then |
9216 rm -rf conftest* | 10088 rm -rf conftest* |
9217 eval "ac_cv_header_$ac_safe=yes" | 10089 eval "ac_cv_header_$ac_safe=yes" |
9218 else | 10090 else |
9237 fi | 10109 fi |
9238 | 10110 |
9239 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10111 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9240 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10112 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9241 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10113 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9242 echo "configure:9243: checking for X11/Xaw3d/XawInit.h" >&5 | 10114 echo "configure:10115: checking for X11/Xaw3d/XawInit.h" >&5 |
9243 | 10115 |
9244 cat > conftest.$ac_ext <<EOF | 10116 cat > conftest.$ac_ext <<EOF |
9245 #line 9246 "configure" | 10117 #line 10118 "configure" |
9246 #include "confdefs.h" | 10118 #include "confdefs.h" |
9247 #include <X11/Xaw3d/XawInit.h> | 10119 #include <X11/Xaw3d/XawInit.h> |
9248 EOF | 10120 EOF |
9249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9250 { (eval echo configure:9251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10122 { (eval echo configure:10123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9252 if test -z "$ac_err"; then | 10124 if test -z "$ac_err"; then |
9253 rm -rf conftest* | 10125 rm -rf conftest* |
9254 eval "ac_cv_header_$ac_safe=yes" | 10126 eval "ac_cv_header_$ac_safe=yes" |
9255 else | 10127 else |
9262 rm -f conftest* | 10134 rm -f conftest* |
9263 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9264 echo "$ac_t""yes" 1>&6 | 10136 echo "$ac_t""yes" 1>&6 |
9265 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10137 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9266 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10138 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9267 echo "configure:9268: checking for X11/Xaw3d/ThreeD.h" >&5 | 10139 echo "configure:10140: checking for X11/Xaw3d/ThreeD.h" >&5 |
9268 | 10140 |
9269 cat > conftest.$ac_ext <<EOF | 10141 cat > conftest.$ac_ext <<EOF |
9270 #line 9271 "configure" | 10142 #line 10143 "configure" |
9271 #include "confdefs.h" | 10143 #include "confdefs.h" |
9272 #include <X11/Xaw3d/ThreeD.h> | 10144 #include <X11/Xaw3d/ThreeD.h> |
9273 EOF | 10145 EOF |
9274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9275 { (eval echo configure:9276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10147 { (eval echo configure:10148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9277 if test -z "$ac_err"; then | 10149 if test -z "$ac_err"; then |
9278 rm -rf conftest* | 10150 rm -rf conftest* |
9279 eval "ac_cv_header_$ac_safe=yes" | 10151 eval "ac_cv_header_$ac_safe=yes" |
9280 else | 10152 else |
9302 fi | 10174 fi |
9303 | 10175 |
9304 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10176 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9305 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10177 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9306 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10178 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9307 echo "configure:9308: checking for Xaw3d/XawInit.h" >&5 | 10179 echo "configure:10180: checking for Xaw3d/XawInit.h" >&5 |
9308 | 10180 |
9309 cat > conftest.$ac_ext <<EOF | 10181 cat > conftest.$ac_ext <<EOF |
9310 #line 9311 "configure" | 10182 #line 10183 "configure" |
9311 #include "confdefs.h" | 10183 #include "confdefs.h" |
9312 #include <Xaw3d/XawInit.h> | 10184 #include <Xaw3d/XawInit.h> |
9313 EOF | 10185 EOF |
9314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9315 { (eval echo configure:9316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10187 { (eval echo configure:10188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9317 if test -z "$ac_err"; then | 10189 if test -z "$ac_err"; then |
9318 rm -rf conftest* | 10190 rm -rf conftest* |
9319 eval "ac_cv_header_$ac_safe=yes" | 10191 eval "ac_cv_header_$ac_safe=yes" |
9320 else | 10192 else |
9327 rm -f conftest* | 10199 rm -f conftest* |
9328 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9329 echo "$ac_t""yes" 1>&6 | 10201 echo "$ac_t""yes" 1>&6 |
9330 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10202 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9331 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10203 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9332 echo "configure:9333: checking for Xaw3d/ThreeD.h" >&5 | 10204 echo "configure:10205: checking for Xaw3d/ThreeD.h" >&5 |
9333 | 10205 |
9334 cat > conftest.$ac_ext <<EOF | 10206 cat > conftest.$ac_ext <<EOF |
9335 #line 9336 "configure" | 10207 #line 10208 "configure" |
9336 #include "confdefs.h" | 10208 #include "confdefs.h" |
9337 #include <Xaw3d/ThreeD.h> | 10209 #include <Xaw3d/ThreeD.h> |
9338 EOF | 10210 EOF |
9339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9340 { (eval echo configure:9341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10212 { (eval echo configure:10213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9342 if test -z "$ac_err"; then | 10214 if test -z "$ac_err"; then |
9343 rm -rf conftest* | 10215 rm -rf conftest* |
9344 eval "ac_cv_header_$ac_safe=yes" | 10216 eval "ac_cv_header_$ac_safe=yes" |
9345 else | 10217 else |
9367 fi | 10239 fi |
9368 | 10240 |
9369 if test -z "$athena_h_path"; then | 10241 if test -z "$athena_h_path"; then |
9370 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10242 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9371 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10243 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9372 echo "configure:9373: checking for X11/Xaw/ThreeD.h" >&5 | 10244 echo "configure:10245: checking for X11/Xaw/ThreeD.h" >&5 |
9373 | 10245 |
9374 cat > conftest.$ac_ext <<EOF | 10246 cat > conftest.$ac_ext <<EOF |
9375 #line 9376 "configure" | 10247 #line 10248 "configure" |
9376 #include "confdefs.h" | 10248 #include "confdefs.h" |
9377 #include <X11/Xaw/ThreeD.h> | 10249 #include <X11/Xaw/ThreeD.h> |
9378 EOF | 10250 EOF |
9379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9380 { (eval echo configure:9381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10252 { (eval echo configure:10253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9382 if test -z "$ac_err"; then | 10254 if test -z "$ac_err"; then |
9383 rm -rf conftest* | 10255 rm -rf conftest* |
9384 eval "ac_cv_header_$ac_safe=yes" | 10256 eval "ac_cv_header_$ac_safe=yes" |
9385 else | 10257 else |
9414 have_xaw=no | 10286 have_xaw=no |
9415 fi | 10287 fi |
9416 if test "$with_x11" = "yes"; then | 10288 if test "$with_x11" = "yes"; then |
9417 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10289 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9418 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10290 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9419 echo "configure:9420: checking for Xm/Xm.h" >&5 | 10291 echo "configure:10292: checking for Xm/Xm.h" >&5 |
9420 | 10292 |
9421 cat > conftest.$ac_ext <<EOF | 10293 cat > conftest.$ac_ext <<EOF |
9422 #line 9423 "configure" | 10294 #line 10295 "configure" |
9423 #include "confdefs.h" | 10295 #include "confdefs.h" |
9424 #include <Xm/Xm.h> | 10296 #include <Xm/Xm.h> |
9425 EOF | 10297 EOF |
9426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9427 { (eval echo configure:9428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10299 { (eval echo configure:10300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9429 if test -z "$ac_err"; then | 10301 if test -z "$ac_err"; then |
9430 rm -rf conftest* | 10302 rm -rf conftest* |
9431 eval "ac_cv_header_$ac_safe=yes" | 10303 eval "ac_cv_header_$ac_safe=yes" |
9432 else | 10304 else |
9439 rm -f conftest* | 10311 rm -f conftest* |
9440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9441 echo "$ac_t""yes" 1>&6 | 10313 echo "$ac_t""yes" 1>&6 |
9442 | 10314 |
9443 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10315 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9444 echo "configure:9445: checking for XmStringFree in -lXm" >&5 | 10316 echo "configure:10317: checking for XmStringFree in -lXm" >&5 |
9445 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10317 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9446 | 10318 |
9447 xe_check_libs=" -lXm " | 10319 xe_check_libs=" -lXm " |
9448 cat > conftest.$ac_ext <<EOF | 10320 cat > conftest.$ac_ext <<EOF |
9449 #line 9450 "configure" | 10321 #line 10322 "configure" |
9450 #include "confdefs.h" | 10322 #include "confdefs.h" |
9451 /* Override any gcc2 internal prototype to avoid an error. */ | 10323 /* Override any gcc2 internal prototype to avoid an error. */ |
9452 /* We use char because int might match the return type of a gcc2 | 10324 /* We use char because int might match the return type of a gcc2 |
9453 builtin and then its argument prototype would still apply. */ | 10325 builtin and then its argument prototype would still apply. */ |
9454 char XmStringFree(); | 10326 char XmStringFree(); |
9455 | 10327 |
9456 int main() { | 10328 int main() { |
9457 XmStringFree() | 10329 XmStringFree() |
9458 ; return 0; } | 10330 ; return 0; } |
9459 EOF | 10331 EOF |
9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10332 if { (eval echo configure:10333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9461 rm -rf conftest* | 10333 rm -rf conftest* |
9462 eval "ac_cv_lib_$ac_lib_var=yes" | 10334 eval "ac_cv_lib_$ac_lib_var=yes" |
9463 else | 10335 else |
9464 echo "configure: failed program was:" >&5 | 10336 echo "configure: failed program was:" >&5 |
9465 cat conftest.$ac_ext >&5 | 10337 cat conftest.$ac_ext >&5 |
9484 fi | 10356 fi |
9485 | 10357 |
9486 | 10358 |
9487 if test "$have_motif" = "yes"; then | 10359 if test "$have_motif" = "yes"; then |
9488 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10360 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9489 echo "configure:9490: checking for Lesstif" >&5 | 10361 echo "configure:10362: checking for Lesstif" >&5 |
9490 cat > conftest.$ac_ext <<EOF | 10362 cat > conftest.$ac_ext <<EOF |
9491 #line 9492 "configure" | 10363 #line 10364 "configure" |
9492 #include "confdefs.h" | 10364 #include "confdefs.h" |
9493 #include <Xm/Xm.h> | 10365 #include <Xm/Xm.h> |
9494 #ifdef LESSTIF_VERSION | 10366 #ifdef LESSTIF_VERSION |
9495 yes | 10367 yes |
9496 #endif | 10368 #endif |
9859 | 10731 |
9860 fi | 10732 fi |
9861 | 10733 |
9862 if test "$with_mule" = "yes" ; then | 10734 if test "$with_mule" = "yes" ; then |
9863 echo "checking for Mule-related features" 1>&6 | 10735 echo "checking for Mule-related features" 1>&6 |
9864 echo "configure:9865: checking for Mule-related features" >&5 | 10736 echo "configure:10737: checking for Mule-related features" >&5 |
9865 { test "$extra_verbose" = "yes" && cat << \EOF | 10737 { test "$extra_verbose" = "yes" && cat << \EOF |
9866 Defining MULE | 10738 Defining MULE |
9867 EOF | 10739 EOF |
9868 cat >> confdefs.h <<\EOF | 10740 cat >> confdefs.h <<\EOF |
9869 #define MULE 1 | 10741 #define MULE 1 |
9873 | 10745 |
9874 for ac_hdr in libintl.h | 10746 for ac_hdr in libintl.h |
9875 do | 10747 do |
9876 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10748 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10749 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9878 echo "configure:9879: checking for $ac_hdr" >&5 | 10750 echo "configure:10751: checking for $ac_hdr" >&5 |
9879 | 10751 |
9880 cat > conftest.$ac_ext <<EOF | 10752 cat > conftest.$ac_ext <<EOF |
9881 #line 9882 "configure" | 10753 #line 10754 "configure" |
9882 #include "confdefs.h" | 10754 #include "confdefs.h" |
9883 #include <$ac_hdr> | 10755 #include <$ac_hdr> |
9884 EOF | 10756 EOF |
9885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9886 { (eval echo configure:9887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10758 { (eval echo configure:10759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9888 if test -z "$ac_err"; then | 10760 if test -z "$ac_err"; then |
9889 rm -rf conftest* | 10761 rm -rf conftest* |
9890 eval "ac_cv_header_$ac_safe=yes" | 10762 eval "ac_cv_header_$ac_safe=yes" |
9891 else | 10763 else |
9912 fi | 10784 fi |
9913 done | 10785 done |
9914 | 10786 |
9915 | 10787 |
9916 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10788 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9917 echo "configure:9918: checking for strerror in -lintl" >&5 | 10789 echo "configure:10790: checking for strerror in -lintl" >&5 |
9918 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10790 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9919 | 10791 |
9920 xe_check_libs=" -lintl " | 10792 xe_check_libs=" -lintl " |
9921 cat > conftest.$ac_ext <<EOF | 10793 cat > conftest.$ac_ext <<EOF |
9922 #line 9923 "configure" | 10794 #line 10795 "configure" |
9923 #include "confdefs.h" | 10795 #include "confdefs.h" |
9924 /* Override any gcc2 internal prototype to avoid an error. */ | 10796 /* Override any gcc2 internal prototype to avoid an error. */ |
9925 /* We use char because int might match the return type of a gcc2 | 10797 /* We use char because int might match the return type of a gcc2 |
9926 builtin and then its argument prototype would still apply. */ | 10798 builtin and then its argument prototype would still apply. */ |
9927 char strerror(); | 10799 char strerror(); |
9928 | 10800 |
9929 int main() { | 10801 int main() { |
9930 strerror() | 10802 strerror() |
9931 ; return 0; } | 10803 ; return 0; } |
9932 EOF | 10804 EOF |
9933 if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10805 if { (eval echo configure:10806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9934 rm -rf conftest* | 10806 rm -rf conftest* |
9935 eval "ac_cv_lib_$ac_lib_var=yes" | 10807 eval "ac_cv_lib_$ac_lib_var=yes" |
9936 else | 10808 else |
9937 echo "configure: failed program was:" >&5 | 10809 echo "configure: failed program was:" >&5 |
9938 cat conftest.$ac_ext >&5 | 10810 cat conftest.$ac_ext >&5 |
9961 fi | 10833 fi |
9962 | 10834 |
9963 | 10835 |
9964 | 10836 |
9965 echo "checking for Mule input methods" 1>&6 | 10837 echo "checking for Mule input methods" 1>&6 |
9966 echo "configure:9967: checking for Mule input methods" >&5 | 10838 echo "configure:10839: checking for Mule input methods" >&5 |
9967 case "$with_xim" in "" | "yes" ) | 10839 case "$with_xim" in "" | "yes" ) |
9968 echo "checking for XIM" 1>&6 | 10840 echo "checking for XIM" 1>&6 |
9969 echo "configure:9970: checking for XIM" >&5 | 10841 echo "configure:10842: checking for XIM" >&5 |
9970 | 10842 |
9971 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10843 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9972 echo "configure:9973: checking for XOpenIM in -lX11" >&5 | 10844 echo "configure:10845: checking for XOpenIM in -lX11" >&5 |
9973 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10845 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9974 | 10846 |
9975 xe_check_libs=" -lX11 " | 10847 xe_check_libs=" -lX11 " |
9976 cat > conftest.$ac_ext <<EOF | 10848 cat > conftest.$ac_ext <<EOF |
9977 #line 9978 "configure" | 10849 #line 10850 "configure" |
9978 #include "confdefs.h" | 10850 #include "confdefs.h" |
9979 /* Override any gcc2 internal prototype to avoid an error. */ | 10851 /* Override any gcc2 internal prototype to avoid an error. */ |
9980 /* We use char because int might match the return type of a gcc2 | 10852 /* We use char because int might match the return type of a gcc2 |
9981 builtin and then its argument prototype would still apply. */ | 10853 builtin and then its argument prototype would still apply. */ |
9982 char XOpenIM(); | 10854 char XOpenIM(); |
9983 | 10855 |
9984 int main() { | 10856 int main() { |
9985 XOpenIM() | 10857 XOpenIM() |
9986 ; return 0; } | 10858 ; return 0; } |
9987 EOF | 10859 EOF |
9988 if { (eval echo configure:9989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10860 if { (eval echo configure:10861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9989 rm -rf conftest* | 10861 rm -rf conftest* |
9990 eval "ac_cv_lib_$ac_lib_var=yes" | 10862 eval "ac_cv_lib_$ac_lib_var=yes" |
9991 else | 10863 else |
9992 echo "configure: failed program was:" >&5 | 10864 echo "configure: failed program was:" >&5 |
9993 cat conftest.$ac_ext >&5 | 10865 cat conftest.$ac_ext >&5 |
10007 | 10879 |
10008 | 10880 |
10009 if test "$have_motif $have_lesstif" = "yes no"; then | 10881 if test "$have_motif $have_lesstif" = "yes no"; then |
10010 | 10882 |
10011 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10883 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10012 echo "configure:10013: checking for XmImMbLookupString in -lXm" >&5 | 10884 echo "configure:10885: checking for XmImMbLookupString in -lXm" >&5 |
10013 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10885 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10014 | 10886 |
10015 xe_check_libs=" -lXm " | 10887 xe_check_libs=" -lXm " |
10016 cat > conftest.$ac_ext <<EOF | 10888 cat > conftest.$ac_ext <<EOF |
10017 #line 10018 "configure" | 10889 #line 10890 "configure" |
10018 #include "confdefs.h" | 10890 #include "confdefs.h" |
10019 /* Override any gcc2 internal prototype to avoid an error. */ | 10891 /* Override any gcc2 internal prototype to avoid an error. */ |
10020 /* We use char because int might match the return type of a gcc2 | 10892 /* We use char because int might match the return type of a gcc2 |
10021 builtin and then its argument prototype would still apply. */ | 10893 builtin and then its argument prototype would still apply. */ |
10022 char XmImMbLookupString(); | 10894 char XmImMbLookupString(); |
10023 | 10895 |
10024 int main() { | 10896 int main() { |
10025 XmImMbLookupString() | 10897 XmImMbLookupString() |
10026 ; return 0; } | 10898 ; return 0; } |
10027 EOF | 10899 EOF |
10028 if { (eval echo configure:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10900 if { (eval echo configure:10901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10029 rm -rf conftest* | 10901 rm -rf conftest* |
10030 eval "ac_cv_lib_$ac_lib_var=yes" | 10902 eval "ac_cv_lib_$ac_lib_var=yes" |
10031 else | 10903 else |
10032 echo "configure: failed program was:" >&5 | 10904 echo "configure: failed program was:" >&5 |
10033 cat conftest.$ac_ext >&5 | 10905 cat conftest.$ac_ext >&5 |
10088 fi | 10960 fi |
10089 fi | 10961 fi |
10090 | 10962 |
10091 if test "$with_xfs" = "yes" ; then | 10963 if test "$with_xfs" = "yes" ; then |
10092 echo "checking for XFontSet" 1>&6 | 10964 echo "checking for XFontSet" 1>&6 |
10093 echo "configure:10094: checking for XFontSet" >&5 | 10965 echo "configure:10966: checking for XFontSet" >&5 |
10094 | 10966 |
10095 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10967 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10096 echo "configure:10097: checking for XmbDrawString in -lX11" >&5 | 10968 echo "configure:10969: checking for XmbDrawString in -lX11" >&5 |
10097 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10969 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10098 | 10970 |
10099 xe_check_libs=" -lX11 " | 10971 xe_check_libs=" -lX11 " |
10100 cat > conftest.$ac_ext <<EOF | 10972 cat > conftest.$ac_ext <<EOF |
10101 #line 10102 "configure" | 10973 #line 10974 "configure" |
10102 #include "confdefs.h" | 10974 #include "confdefs.h" |
10103 /* Override any gcc2 internal prototype to avoid an error. */ | 10975 /* Override any gcc2 internal prototype to avoid an error. */ |
10104 /* We use char because int might match the return type of a gcc2 | 10976 /* We use char because int might match the return type of a gcc2 |
10105 builtin and then its argument prototype would still apply. */ | 10977 builtin and then its argument prototype would still apply. */ |
10106 char XmbDrawString(); | 10978 char XmbDrawString(); |
10107 | 10979 |
10108 int main() { | 10980 int main() { |
10109 XmbDrawString() | 10981 XmbDrawString() |
10110 ; return 0; } | 10982 ; return 0; } |
10111 EOF | 10983 EOF |
10112 if { (eval echo configure:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10984 if { (eval echo configure:10985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10113 rm -rf conftest* | 10985 rm -rf conftest* |
10114 eval "ac_cv_lib_$ac_lib_var=yes" | 10986 eval "ac_cv_lib_$ac_lib_var=yes" |
10115 else | 10987 else |
10116 echo "configure: failed program was:" >&5 | 10988 echo "configure: failed program was:" >&5 |
10117 cat conftest.$ac_ext >&5 | 10989 cat conftest.$ac_ext >&5 |
10147 fi | 11019 fi |
10148 fi | 11020 fi |
10149 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11021 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10150 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11022 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10151 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11023 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10152 echo "configure:10153: checking for wnn/jllib.h" >&5 | 11024 echo "configure:11025: checking for wnn/jllib.h" >&5 |
10153 | 11025 |
10154 cat > conftest.$ac_ext <<EOF | 11026 cat > conftest.$ac_ext <<EOF |
10155 #line 10156 "configure" | 11027 #line 11028 "configure" |
10156 #include "confdefs.h" | 11028 #include "confdefs.h" |
10157 #include <wnn/jllib.h> | 11029 #include <wnn/jllib.h> |
10158 EOF | 11030 EOF |
10159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10160 { (eval echo configure:10161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11032 { (eval echo configure:11033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10162 if test -z "$ac_err"; then | 11034 if test -z "$ac_err"; then |
10163 rm -rf conftest* | 11035 rm -rf conftest* |
10164 eval "ac_cv_header_$ac_safe=yes" | 11036 eval "ac_cv_header_$ac_safe=yes" |
10165 else | 11037 else |
10178 with_wnn=no | 11050 with_wnn=no |
10179 fi | 11051 fi |
10180 } | 11052 } |
10181 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11053 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10182 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11054 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10183 echo "configure:10184: checking for wnn/commonhd.h" >&5 | 11055 echo "configure:11056: checking for wnn/commonhd.h" >&5 |
10184 | 11056 |
10185 cat > conftest.$ac_ext <<EOF | 11057 cat > conftest.$ac_ext <<EOF |
10186 #line 10187 "configure" | 11058 #line 11059 "configure" |
10187 #include "confdefs.h" | 11059 #include "confdefs.h" |
10188 #include <wnn/commonhd.h> | 11060 #include <wnn/commonhd.h> |
10189 EOF | 11061 EOF |
10190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10191 { (eval echo configure:10192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11063 { (eval echo configure:11064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10193 if test -z "$ac_err"; then | 11065 if test -z "$ac_err"; then |
10194 rm -rf conftest* | 11066 rm -rf conftest* |
10195 eval "ac_cv_header_$ac_safe=yes" | 11067 eval "ac_cv_header_$ac_safe=yes" |
10196 else | 11068 else |
10211 } | 11083 } |
10212 if test "$with_wnn" != "no"; then | 11084 if test "$with_wnn" != "no"; then |
10213 for ac_func in crypt | 11085 for ac_func in crypt |
10214 do | 11086 do |
10215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10216 echo "configure:10217: checking for $ac_func" >&5 | 11088 echo "configure:11089: checking for $ac_func" >&5 |
10217 | 11089 |
10218 cat > conftest.$ac_ext <<EOF | 11090 cat > conftest.$ac_ext <<EOF |
10219 #line 10220 "configure" | 11091 #line 11092 "configure" |
10220 #include "confdefs.h" | 11092 #include "confdefs.h" |
10221 /* System header to define __stub macros and hopefully few prototypes, | 11093 /* System header to define __stub macros and hopefully few prototypes, |
10222 which can conflict with char $ac_func(); below. */ | 11094 which can conflict with char $ac_func(); below. */ |
10223 #include <assert.h> | 11095 #include <assert.h> |
10224 /* Override any gcc2 internal prototype to avoid an error. */ | 11096 /* Override any gcc2 internal prototype to avoid an error. */ |
10237 $ac_func(); | 11109 $ac_func(); |
10238 #endif | 11110 #endif |
10239 | 11111 |
10240 ; return 0; } | 11112 ; return 0; } |
10241 EOF | 11113 EOF |
10242 if { (eval echo configure:10243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11114 if { (eval echo configure:11115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10243 rm -rf conftest* | 11115 rm -rf conftest* |
10244 eval "ac_cv_func_$ac_func=yes" | 11116 eval "ac_cv_func_$ac_func=yes" |
10245 else | 11117 else |
10246 echo "configure: failed program was:" >&5 | 11118 echo "configure: failed program was:" >&5 |
10247 cat conftest.$ac_ext >&5 | 11119 cat conftest.$ac_ext >&5 |
10266 fi | 11138 fi |
10267 done | 11139 done |
10268 | 11140 |
10269 test "$ac_cv_func_crypt" != "yes" && { | 11141 test "$ac_cv_func_crypt" != "yes" && { |
10270 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11142 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10271 echo "configure:10272: checking for crypt in -lcrypt" >&5 | 11143 echo "configure:11144: checking for crypt in -lcrypt" >&5 |
10272 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11144 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10273 | 11145 |
10274 xe_check_libs=" -lcrypt " | 11146 xe_check_libs=" -lcrypt " |
10275 cat > conftest.$ac_ext <<EOF | 11147 cat > conftest.$ac_ext <<EOF |
10276 #line 10277 "configure" | 11148 #line 11149 "configure" |
10277 #include "confdefs.h" | 11149 #include "confdefs.h" |
10278 /* Override any gcc2 internal prototype to avoid an error. */ | 11150 /* Override any gcc2 internal prototype to avoid an error. */ |
10279 /* We use char because int might match the return type of a gcc2 | 11151 /* We use char because int might match the return type of a gcc2 |
10280 builtin and then its argument prototype would still apply. */ | 11152 builtin and then its argument prototype would still apply. */ |
10281 char crypt(); | 11153 char crypt(); |
10282 | 11154 |
10283 int main() { | 11155 int main() { |
10284 crypt() | 11156 crypt() |
10285 ; return 0; } | 11157 ; return 0; } |
10286 EOF | 11158 EOF |
10287 if { (eval echo configure:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11159 if { (eval echo configure:11160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10288 rm -rf conftest* | 11160 rm -rf conftest* |
10289 eval "ac_cv_lib_$ac_lib_var=yes" | 11161 eval "ac_cv_lib_$ac_lib_var=yes" |
10290 else | 11162 else |
10291 echo "configure: failed program was:" >&5 | 11163 echo "configure: failed program was:" >&5 |
10292 cat conftest.$ac_ext >&5 | 11164 cat conftest.$ac_ext >&5 |
10317 } | 11189 } |
10318 fi | 11190 fi |
10319 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11191 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10320 | 11192 |
10321 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11193 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10322 echo "configure:10323: checking for jl_dic_list_e in -lwnn" >&5 | 11194 echo "configure:11195: checking for jl_dic_list_e in -lwnn" >&5 |
10323 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11195 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10324 | 11196 |
10325 xe_check_libs=" -lwnn " | 11197 xe_check_libs=" -lwnn " |
10326 cat > conftest.$ac_ext <<EOF | 11198 cat > conftest.$ac_ext <<EOF |
10327 #line 10328 "configure" | 11199 #line 11200 "configure" |
10328 #include "confdefs.h" | 11200 #include "confdefs.h" |
10329 /* Override any gcc2 internal prototype to avoid an error. */ | 11201 /* Override any gcc2 internal prototype to avoid an error. */ |
10330 /* We use char because int might match the return type of a gcc2 | 11202 /* We use char because int might match the return type of a gcc2 |
10331 builtin and then its argument prototype would still apply. */ | 11203 builtin and then its argument prototype would still apply. */ |
10332 char jl_dic_list_e(); | 11204 char jl_dic_list_e(); |
10333 | 11205 |
10334 int main() { | 11206 int main() { |
10335 jl_dic_list_e() | 11207 jl_dic_list_e() |
10336 ; return 0; } | 11208 ; return 0; } |
10337 EOF | 11209 EOF |
10338 if { (eval echo configure:10339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11210 if { (eval echo configure:11211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10339 rm -rf conftest* | 11211 rm -rf conftest* |
10340 eval "ac_cv_lib_$ac_lib_var=yes" | 11212 eval "ac_cv_lib_$ac_lib_var=yes" |
10341 else | 11213 else |
10342 echo "configure: failed program was:" >&5 | 11214 echo "configure: failed program was:" >&5 |
10343 cat conftest.$ac_ext >&5 | 11215 cat conftest.$ac_ext >&5 |
10351 echo "$ac_t""yes" 1>&6 | 11223 echo "$ac_t""yes" 1>&6 |
10352 libwnn=wnn | 11224 libwnn=wnn |
10353 else | 11225 else |
10354 echo "$ac_t""no" 1>&6 | 11226 echo "$ac_t""no" 1>&6 |
10355 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11227 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10356 echo "configure:10357: checking for jl_dic_list_e in -lwnn4" >&5 | 11228 echo "configure:11229: checking for jl_dic_list_e in -lwnn4" >&5 |
10357 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11229 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10358 | 11230 |
10359 xe_check_libs=" -lwnn4 " | 11231 xe_check_libs=" -lwnn4 " |
10360 cat > conftest.$ac_ext <<EOF | 11232 cat > conftest.$ac_ext <<EOF |
10361 #line 10362 "configure" | 11233 #line 11234 "configure" |
10362 #include "confdefs.h" | 11234 #include "confdefs.h" |
10363 /* Override any gcc2 internal prototype to avoid an error. */ | 11235 /* Override any gcc2 internal prototype to avoid an error. */ |
10364 /* We use char because int might match the return type of a gcc2 | 11236 /* We use char because int might match the return type of a gcc2 |
10365 builtin and then its argument prototype would still apply. */ | 11237 builtin and then its argument prototype would still apply. */ |
10366 char jl_dic_list_e(); | 11238 char jl_dic_list_e(); |
10367 | 11239 |
10368 int main() { | 11240 int main() { |
10369 jl_dic_list_e() | 11241 jl_dic_list_e() |
10370 ; return 0; } | 11242 ; return 0; } |
10371 EOF | 11243 EOF |
10372 if { (eval echo configure:10373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11244 if { (eval echo configure:11245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10373 rm -rf conftest* | 11245 rm -rf conftest* |
10374 eval "ac_cv_lib_$ac_lib_var=yes" | 11246 eval "ac_cv_lib_$ac_lib_var=yes" |
10375 else | 11247 else |
10376 echo "configure: failed program was:" >&5 | 11248 echo "configure: failed program was:" >&5 |
10377 cat conftest.$ac_ext >&5 | 11249 cat conftest.$ac_ext >&5 |
10385 echo "$ac_t""yes" 1>&6 | 11257 echo "$ac_t""yes" 1>&6 |
10386 libwnn=wnn4 | 11258 libwnn=wnn4 |
10387 else | 11259 else |
10388 echo "$ac_t""no" 1>&6 | 11260 echo "$ac_t""no" 1>&6 |
10389 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11261 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10390 echo "configure:10391: checking for jl_dic_list_e in -lwnn6" >&5 | 11262 echo "configure:11263: checking for jl_dic_list_e in -lwnn6" >&5 |
10391 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11263 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10392 | 11264 |
10393 xe_check_libs=" -lwnn6 " | 11265 xe_check_libs=" -lwnn6 " |
10394 cat > conftest.$ac_ext <<EOF | 11266 cat > conftest.$ac_ext <<EOF |
10395 #line 10396 "configure" | 11267 #line 11268 "configure" |
10396 #include "confdefs.h" | 11268 #include "confdefs.h" |
10397 /* Override any gcc2 internal prototype to avoid an error. */ | 11269 /* Override any gcc2 internal prototype to avoid an error. */ |
10398 /* We use char because int might match the return type of a gcc2 | 11270 /* We use char because int might match the return type of a gcc2 |
10399 builtin and then its argument prototype would still apply. */ | 11271 builtin and then its argument prototype would still apply. */ |
10400 char jl_dic_list_e(); | 11272 char jl_dic_list_e(); |
10401 | 11273 |
10402 int main() { | 11274 int main() { |
10403 jl_dic_list_e() | 11275 jl_dic_list_e() |
10404 ; return 0; } | 11276 ; return 0; } |
10405 EOF | 11277 EOF |
10406 if { (eval echo configure:10407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10407 rm -rf conftest* | 11279 rm -rf conftest* |
10408 eval "ac_cv_lib_$ac_lib_var=yes" | 11280 eval "ac_cv_lib_$ac_lib_var=yes" |
10409 else | 11281 else |
10410 echo "configure: failed program was:" >&5 | 11282 echo "configure: failed program was:" >&5 |
10411 cat conftest.$ac_ext >&5 | 11283 cat conftest.$ac_ext >&5 |
10419 echo "$ac_t""yes" 1>&6 | 11291 echo "$ac_t""yes" 1>&6 |
10420 libwnn=wnn6 | 11292 libwnn=wnn6 |
10421 else | 11293 else |
10422 echo "$ac_t""no" 1>&6 | 11294 echo "$ac_t""no" 1>&6 |
10423 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11295 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10424 echo "configure:10425: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11296 echo "configure:11297: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10425 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11297 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10426 | 11298 |
10427 xe_check_libs=" -lwnn6_fromsrc " | 11299 xe_check_libs=" -lwnn6_fromsrc " |
10428 cat > conftest.$ac_ext <<EOF | 11300 cat > conftest.$ac_ext <<EOF |
10429 #line 10430 "configure" | 11301 #line 11302 "configure" |
10430 #include "confdefs.h" | 11302 #include "confdefs.h" |
10431 /* Override any gcc2 internal prototype to avoid an error. */ | 11303 /* Override any gcc2 internal prototype to avoid an error. */ |
10432 /* We use char because int might match the return type of a gcc2 | 11304 /* We use char because int might match the return type of a gcc2 |
10433 builtin and then its argument prototype would still apply. */ | 11305 builtin and then its argument prototype would still apply. */ |
10434 char dic_list_e(); | 11306 char dic_list_e(); |
10435 | 11307 |
10436 int main() { | 11308 int main() { |
10437 dic_list_e() | 11309 dic_list_e() |
10438 ; return 0; } | 11310 ; return 0; } |
10439 EOF | 11311 EOF |
10440 if { (eval echo configure:10441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11312 if { (eval echo configure:11313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10441 rm -rf conftest* | 11313 rm -rf conftest* |
10442 eval "ac_cv_lib_$ac_lib_var=yes" | 11314 eval "ac_cv_lib_$ac_lib_var=yes" |
10443 else | 11315 else |
10444 echo "configure: failed program was:" >&5 | 11316 echo "configure: failed program was:" >&5 |
10445 cat conftest.$ac_ext >&5 | 11317 cat conftest.$ac_ext >&5 |
10480 | 11352 |
10481 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11353 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10482 if test "$with_wnn6" != "no"; then | 11354 if test "$with_wnn6" != "no"; then |
10483 | 11355 |
10484 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11356 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10485 echo "configure:10486: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11357 echo "configure:11358: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10486 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11358 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10487 | 11359 |
10488 xe_check_libs=" -l$libwnn " | 11360 xe_check_libs=" -l$libwnn " |
10489 cat > conftest.$ac_ext <<EOF | 11361 cat > conftest.$ac_ext <<EOF |
10490 #line 10491 "configure" | 11362 #line 11363 "configure" |
10491 #include "confdefs.h" | 11363 #include "confdefs.h" |
10492 /* Override any gcc2 internal prototype to avoid an error. */ | 11364 /* Override any gcc2 internal prototype to avoid an error. */ |
10493 /* We use char because int might match the return type of a gcc2 | 11365 /* We use char because int might match the return type of a gcc2 |
10494 builtin and then its argument prototype would still apply. */ | 11366 builtin and then its argument prototype would still apply. */ |
10495 char jl_fi_dic_list(); | 11367 char jl_fi_dic_list(); |
10496 | 11368 |
10497 int main() { | 11369 int main() { |
10498 jl_fi_dic_list() | 11370 jl_fi_dic_list() |
10499 ; return 0; } | 11371 ; return 0; } |
10500 EOF | 11372 EOF |
10501 if { (eval echo configure:10502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11373 if { (eval echo configure:11374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10502 rm -rf conftest* | 11374 rm -rf conftest* |
10503 eval "ac_cv_lib_$ac_lib_var=yes" | 11375 eval "ac_cv_lib_$ac_lib_var=yes" |
10504 else | 11376 else |
10505 echo "configure: failed program was:" >&5 | 11377 echo "configure: failed program was:" >&5 |
10506 cat conftest.$ac_ext >&5 | 11378 cat conftest.$ac_ext >&5 |
10531 | 11403 |
10532 canna_includes_found=no | 11404 canna_includes_found=no |
10533 if test "$with_canna" != "no"; then | 11405 if test "$with_canna" != "no"; then |
10534 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11406 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10535 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11407 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10536 echo "configure:10537: checking for canna/jrkanji.h" >&5 | 11408 echo "configure:11409: checking for canna/jrkanji.h" >&5 |
10537 | 11409 |
10538 cat > conftest.$ac_ext <<EOF | 11410 cat > conftest.$ac_ext <<EOF |
10539 #line 10540 "configure" | 11411 #line 11412 "configure" |
10540 #include "confdefs.h" | 11412 #include "confdefs.h" |
10541 #include <canna/jrkanji.h> | 11413 #include <canna/jrkanji.h> |
10542 EOF | 11414 EOF |
10543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10544 { (eval echo configure:10545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11416 { (eval echo configure:11417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10546 if test -z "$ac_err"; then | 11418 if test -z "$ac_err"; then |
10547 rm -rf conftest* | 11419 rm -rf conftest* |
10548 eval "ac_cv_header_$ac_safe=yes" | 11420 eval "ac_cv_header_$ac_safe=yes" |
10549 else | 11421 else |
10566 -d "/usr/local/canna/include"; then | 11438 -d "/usr/local/canna/include"; then |
10567 save_c_switch_site="$c_switch_site" | 11439 save_c_switch_site="$c_switch_site" |
10568 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11440 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10569 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11441 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10570 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11442 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10571 echo "configure:10572: checking for canna/jrkanji.h" >&5 | 11443 echo "configure:11444: checking for canna/jrkanji.h" >&5 |
10572 | 11444 |
10573 cat > conftest.$ac_ext <<EOF | 11445 cat > conftest.$ac_ext <<EOF |
10574 #line 10575 "configure" | 11446 #line 11447 "configure" |
10575 #include "confdefs.h" | 11447 #include "confdefs.h" |
10576 #include <canna/jrkanji.h> | 11448 #include <canna/jrkanji.h> |
10577 EOF | 11449 EOF |
10578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11450 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10579 { (eval echo configure:10580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11451 { (eval echo configure:11452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11452 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10581 if test -z "$ac_err"; then | 11453 if test -z "$ac_err"; then |
10582 rm -rf conftest* | 11454 rm -rf conftest* |
10583 eval "ac_cv_header_$ac_safe=yes" | 11455 eval "ac_cv_header_$ac_safe=yes" |
10584 else | 11456 else |
10602 fi | 11474 fi |
10603 fi | 11475 fi |
10604 | 11476 |
10605 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11477 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10606 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11478 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10607 echo "configure:10608: checking for canna/RK.h" >&5 | 11479 echo "configure:11480: checking for canna/RK.h" >&5 |
10608 | 11480 |
10609 cat > conftest.$ac_ext <<EOF | 11481 cat > conftest.$ac_ext <<EOF |
10610 #line 10611 "configure" | 11482 #line 11483 "configure" |
10611 #include "confdefs.h" | 11483 #include "confdefs.h" |
10612 #include <canna/RK.h> | 11484 #include <canna/RK.h> |
10613 EOF | 11485 EOF |
10614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10615 { (eval echo configure:10616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11487 { (eval echo configure:11488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10617 if test -z "$ac_err"; then | 11489 if test -z "$ac_err"; then |
10618 rm -rf conftest* | 11490 rm -rf conftest* |
10619 eval "ac_cv_header_$ac_safe=yes" | 11491 eval "ac_cv_header_$ac_safe=yes" |
10620 else | 11492 else |
10633 with_canna=no | 11505 with_canna=no |
10634 fi | 11506 fi |
10635 } | 11507 } |
10636 test -z "$with_canna" && { | 11508 test -z "$with_canna" && { |
10637 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11509 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10638 echo "configure:10639: checking for RkBgnBun in -lRKC" >&5 | 11510 echo "configure:11511: checking for RkBgnBun in -lRKC" >&5 |
10639 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11511 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10640 | 11512 |
10641 xe_check_libs=" -lRKC " | 11513 xe_check_libs=" -lRKC " |
10642 cat > conftest.$ac_ext <<EOF | 11514 cat > conftest.$ac_ext <<EOF |
10643 #line 10644 "configure" | 11515 #line 11516 "configure" |
10644 #include "confdefs.h" | 11516 #include "confdefs.h" |
10645 /* Override any gcc2 internal prototype to avoid an error. */ | 11517 /* Override any gcc2 internal prototype to avoid an error. */ |
10646 /* We use char because int might match the return type of a gcc2 | 11518 /* We use char because int might match the return type of a gcc2 |
10647 builtin and then its argument prototype would still apply. */ | 11519 builtin and then its argument prototype would still apply. */ |
10648 char RkBgnBun(); | 11520 char RkBgnBun(); |
10649 | 11521 |
10650 int main() { | 11522 int main() { |
10651 RkBgnBun() | 11523 RkBgnBun() |
10652 ; return 0; } | 11524 ; return 0; } |
10653 EOF | 11525 EOF |
10654 if { (eval echo configure:10655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11526 if { (eval echo configure:11527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10655 rm -rf conftest* | 11527 rm -rf conftest* |
10656 eval "ac_cv_lib_$ac_lib_var=yes" | 11528 eval "ac_cv_lib_$ac_lib_var=yes" |
10657 else | 11529 else |
10658 echo "configure: failed program was:" >&5 | 11530 echo "configure: failed program was:" >&5 |
10659 cat conftest.$ac_ext >&5 | 11531 cat conftest.$ac_ext >&5 |
10672 fi | 11544 fi |
10673 | 11545 |
10674 } | 11546 } |
10675 test -z "$with_canna" && { | 11547 test -z "$with_canna" && { |
10676 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11548 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10677 echo "configure:10678: checking for jrKanjiControl in -lcanna" >&5 | 11549 echo "configure:11550: checking for jrKanjiControl in -lcanna" >&5 |
10678 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11550 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10679 | 11551 |
10680 xe_check_libs=" -lcanna " | 11552 xe_check_libs=" -lcanna " |
10681 cat > conftest.$ac_ext <<EOF | 11553 cat > conftest.$ac_ext <<EOF |
10682 #line 10683 "configure" | 11554 #line 11555 "configure" |
10683 #include "confdefs.h" | 11555 #include "confdefs.h" |
10684 /* Override any gcc2 internal prototype to avoid an error. */ | 11556 /* Override any gcc2 internal prototype to avoid an error. */ |
10685 /* We use char because int might match the return type of a gcc2 | 11557 /* We use char because int might match the return type of a gcc2 |
10686 builtin and then its argument prototype would still apply. */ | 11558 builtin and then its argument prototype would still apply. */ |
10687 char jrKanjiControl(); | 11559 char jrKanjiControl(); |
10688 | 11560 |
10689 int main() { | 11561 int main() { |
10690 jrKanjiControl() | 11562 jrKanjiControl() |
10691 ; return 0; } | 11563 ; return 0; } |
10692 EOF | 11564 EOF |
10693 if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11565 if { (eval echo configure:11566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10694 rm -rf conftest* | 11566 rm -rf conftest* |
10695 eval "ac_cv_lib_$ac_lib_var=yes" | 11567 eval "ac_cv_lib_$ac_lib_var=yes" |
10696 else | 11568 else |
10697 echo "configure: failed program was:" >&5 | 11569 echo "configure: failed program was:" >&5 |
10698 cat conftest.$ac_ext >&5 | 11570 cat conftest.$ac_ext >&5 |
10734 | 11606 |
10735 if test "$need_motif" = "yes" ; then | 11607 if test "$need_motif" = "yes" ; then |
10736 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11608 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10737 | 11609 |
10738 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11610 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10739 echo "configure:10740: checking for layout_object_getvalue in -li18n" >&5 | 11611 echo "configure:11612: checking for layout_object_getvalue in -li18n" >&5 |
10740 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11612 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10741 | 11613 |
10742 xe_check_libs=" -li18n " | 11614 xe_check_libs=" -li18n " |
10743 cat > conftest.$ac_ext <<EOF | 11615 cat > conftest.$ac_ext <<EOF |
10744 #line 10745 "configure" | 11616 #line 11617 "configure" |
10745 #include "confdefs.h" | 11617 #include "confdefs.h" |
10746 /* Override any gcc2 internal prototype to avoid an error. */ | 11618 /* Override any gcc2 internal prototype to avoid an error. */ |
10747 /* We use char because int might match the return type of a gcc2 | 11619 /* We use char because int might match the return type of a gcc2 |
10748 builtin and then its argument prototype would still apply. */ | 11620 builtin and then its argument prototype would still apply. */ |
10749 char layout_object_getvalue(); | 11621 char layout_object_getvalue(); |
10750 | 11622 |
10751 int main() { | 11623 int main() { |
10752 layout_object_getvalue() | 11624 layout_object_getvalue() |
10753 ; return 0; } | 11625 ; return 0; } |
10754 EOF | 11626 EOF |
10755 if { (eval echo configure:10756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11627 if { (eval echo configure:11628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10756 rm -rf conftest* | 11628 rm -rf conftest* |
10757 eval "ac_cv_lib_$ac_lib_var=yes" | 11629 eval "ac_cv_lib_$ac_lib_var=yes" |
10758 else | 11630 else |
10759 echo "configure: failed program was:" >&5 | 11631 echo "configure: failed program was:" >&5 |
10760 cat conftest.$ac_ext >&5 | 11632 cat conftest.$ac_ext >&5 |
10836 fi | 11708 fi |
10837 | 11709 |
10838 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 11710 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10839 do | 11711 do |
10840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10841 echo "configure:10842: checking for $ac_func" >&5 | 11713 echo "configure:11714: checking for $ac_func" >&5 |
10842 | 11714 |
10843 cat > conftest.$ac_ext <<EOF | 11715 cat > conftest.$ac_ext <<EOF |
10844 #line 10845 "configure" | 11716 #line 11717 "configure" |
10845 #include "confdefs.h" | 11717 #include "confdefs.h" |
10846 /* System header to define __stub macros and hopefully few prototypes, | 11718 /* System header to define __stub macros and hopefully few prototypes, |
10847 which can conflict with char $ac_func(); below. */ | 11719 which can conflict with char $ac_func(); below. */ |
10848 #include <assert.h> | 11720 #include <assert.h> |
10849 /* Override any gcc2 internal prototype to avoid an error. */ | 11721 /* Override any gcc2 internal prototype to avoid an error. */ |
10862 $ac_func(); | 11734 $ac_func(); |
10863 #endif | 11735 #endif |
10864 | 11736 |
10865 ; return 0; } | 11737 ; return 0; } |
10866 EOF | 11738 EOF |
10867 if { (eval echo configure:10868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11739 if { (eval echo configure:11740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10868 rm -rf conftest* | 11740 rm -rf conftest* |
10869 eval "ac_cv_func_$ac_func=yes" | 11741 eval "ac_cv_func_$ac_func=yes" |
10870 else | 11742 else |
10871 echo "configure: failed program was:" >&5 | 11743 echo "configure: failed program was:" >&5 |
10872 cat conftest.$ac_ext >&5 | 11744 cat conftest.$ac_ext >&5 |
10894 | 11766 |
10895 | 11767 |
10896 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11768 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10897 do | 11769 do |
10898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10899 echo "configure:10900: checking for $ac_func" >&5 | 11771 echo "configure:11772: checking for $ac_func" >&5 |
10900 | 11772 |
10901 cat > conftest.$ac_ext <<EOF | 11773 cat > conftest.$ac_ext <<EOF |
10902 #line 10903 "configure" | 11774 #line 11775 "configure" |
10903 #include "confdefs.h" | 11775 #include "confdefs.h" |
10904 /* System header to define __stub macros and hopefully few prototypes, | 11776 /* System header to define __stub macros and hopefully few prototypes, |
10905 which can conflict with char $ac_func(); below. */ | 11777 which can conflict with char $ac_func(); below. */ |
10906 #include <assert.h> | 11778 #include <assert.h> |
10907 /* Override any gcc2 internal prototype to avoid an error. */ | 11779 /* Override any gcc2 internal prototype to avoid an error. */ |
10920 $ac_func(); | 11792 $ac_func(); |
10921 #endif | 11793 #endif |
10922 | 11794 |
10923 ; return 0; } | 11795 ; return 0; } |
10924 EOF | 11796 EOF |
10925 if { (eval echo configure:10926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10926 rm -rf conftest* | 11798 rm -rf conftest* |
10927 eval "ac_cv_func_$ac_func=yes" | 11799 eval "ac_cv_func_$ac_func=yes" |
10928 else | 11800 else |
10929 echo "configure: failed program was:" >&5 | 11801 echo "configure: failed program was:" >&5 |
10930 cat conftest.$ac_ext >&5 | 11802 cat conftest.$ac_ext >&5 |
10949 fi | 11821 fi |
10950 done | 11822 done |
10951 | 11823 |
10952 | 11824 |
10953 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11825 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10954 echo "configure:10955: checking for openpty" >&5 | 11826 echo "configure:11827: checking for openpty" >&5 |
10955 | 11827 |
10956 cat > conftest.$ac_ext <<EOF | 11828 cat > conftest.$ac_ext <<EOF |
10957 #line 10958 "configure" | 11829 #line 11830 "configure" |
10958 #include "confdefs.h" | 11830 #include "confdefs.h" |
10959 /* System header to define __stub macros and hopefully few prototypes, | 11831 /* System header to define __stub macros and hopefully few prototypes, |
10960 which can conflict with char openpty(); below. */ | 11832 which can conflict with char openpty(); below. */ |
10961 #include <assert.h> | 11833 #include <assert.h> |
10962 /* Override any gcc2 internal prototype to avoid an error. */ | 11834 /* Override any gcc2 internal prototype to avoid an error. */ |
10975 openpty(); | 11847 openpty(); |
10976 #endif | 11848 #endif |
10977 | 11849 |
10978 ; return 0; } | 11850 ; return 0; } |
10979 EOF | 11851 EOF |
10980 if { (eval echo configure:10981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11852 if { (eval echo configure:11853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10981 rm -rf conftest* | 11853 rm -rf conftest* |
10982 eval "ac_cv_func_openpty=yes" | 11854 eval "ac_cv_func_openpty=yes" |
10983 else | 11855 else |
10984 echo "configure: failed program was:" >&5 | 11856 echo "configure: failed program was:" >&5 |
10985 cat conftest.$ac_ext >&5 | 11857 cat conftest.$ac_ext >&5 |
10994 else | 11866 else |
10995 echo "$ac_t""no" 1>&6 | 11867 echo "$ac_t""no" 1>&6 |
10996 | 11868 |
10997 | 11869 |
10998 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11870 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10999 echo "configure:11000: checking for openpty in -lutil" >&5 | 11871 echo "configure:11872: checking for openpty in -lutil" >&5 |
11000 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11872 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11001 | 11873 |
11002 xe_check_libs=" -lutil " | 11874 xe_check_libs=" -lutil " |
11003 cat > conftest.$ac_ext <<EOF | 11875 cat > conftest.$ac_ext <<EOF |
11004 #line 11005 "configure" | 11876 #line 11877 "configure" |
11005 #include "confdefs.h" | 11877 #include "confdefs.h" |
11006 /* Override any gcc2 internal prototype to avoid an error. */ | 11878 /* Override any gcc2 internal prototype to avoid an error. */ |
11007 /* We use char because int might match the return type of a gcc2 | 11879 /* We use char because int might match the return type of a gcc2 |
11008 builtin and then its argument prototype would still apply. */ | 11880 builtin and then its argument prototype would still apply. */ |
11009 char openpty(); | 11881 char openpty(); |
11010 | 11882 |
11011 int main() { | 11883 int main() { |
11012 openpty() | 11884 openpty() |
11013 ; return 0; } | 11885 ; return 0; } |
11014 EOF | 11886 EOF |
11015 if { (eval echo configure:11016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11887 if { (eval echo configure:11888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11016 rm -rf conftest* | 11888 rm -rf conftest* |
11017 eval "ac_cv_lib_$ac_lib_var=yes" | 11889 eval "ac_cv_lib_$ac_lib_var=yes" |
11018 else | 11890 else |
11019 echo "configure: failed program was:" >&5 | 11891 echo "configure: failed program was:" >&5 |
11020 cat conftest.$ac_ext >&5 | 11892 cat conftest.$ac_ext >&5 |
11045 | 11917 |
11046 for ac_hdr in libutil.h util.h | 11918 for ac_hdr in libutil.h util.h |
11047 do | 11919 do |
11048 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11920 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11049 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11921 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11050 echo "configure:11051: checking for $ac_hdr" >&5 | 11922 echo "configure:11923: checking for $ac_hdr" >&5 |
11051 | 11923 |
11052 cat > conftest.$ac_ext <<EOF | 11924 cat > conftest.$ac_ext <<EOF |
11053 #line 11054 "configure" | 11925 #line 11926 "configure" |
11054 #include "confdefs.h" | 11926 #include "confdefs.h" |
11055 #include <$ac_hdr> | 11927 #include <$ac_hdr> |
11056 EOF | 11928 EOF |
11057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11058 { (eval echo configure:11059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11930 { (eval echo configure:11931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11060 if test -z "$ac_err"; then | 11932 if test -z "$ac_err"; then |
11061 rm -rf conftest* | 11933 rm -rf conftest* |
11062 eval "ac_cv_header_$ac_safe=yes" | 11934 eval "ac_cv_header_$ac_safe=yes" |
11063 else | 11935 else |
11090 case "$opsys" in | 11962 case "$opsys" in |
11091 hpux*) for ac_hdr in sys/ptyio.h | 11963 hpux*) for ac_hdr in sys/ptyio.h |
11092 do | 11964 do |
11093 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11965 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11094 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11966 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11095 echo "configure:11096: checking for $ac_hdr" >&5 | 11967 echo "configure:11968: checking for $ac_hdr" >&5 |
11096 | 11968 |
11097 cat > conftest.$ac_ext <<EOF | 11969 cat > conftest.$ac_ext <<EOF |
11098 #line 11099 "configure" | 11970 #line 11971 "configure" |
11099 #include "confdefs.h" | 11971 #include "confdefs.h" |
11100 #include <$ac_hdr> | 11972 #include <$ac_hdr> |
11101 EOF | 11973 EOF |
11102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11103 { (eval echo configure:11104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11975 { (eval echo configure:11976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11105 if test -z "$ac_err"; then | 11977 if test -z "$ac_err"; then |
11106 rm -rf conftest* | 11978 rm -rf conftest* |
11107 eval "ac_cv_header_$ac_safe=yes" | 11979 eval "ac_cv_header_$ac_safe=yes" |
11108 else | 11980 else |
11131 ;; | 12003 ;; |
11132 *) for ac_hdr in pty.h | 12004 *) for ac_hdr in pty.h |
11133 do | 12005 do |
11134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12006 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12007 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11136 echo "configure:11137: checking for $ac_hdr" >&5 | 12008 echo "configure:12009: checking for $ac_hdr" >&5 |
11137 | 12009 |
11138 cat > conftest.$ac_ext <<EOF | 12010 cat > conftest.$ac_ext <<EOF |
11139 #line 11140 "configure" | 12011 #line 12012 "configure" |
11140 #include "confdefs.h" | 12012 #include "confdefs.h" |
11141 #include <$ac_hdr> | 12013 #include <$ac_hdr> |
11142 EOF | 12014 EOF |
11143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11144 { (eval echo configure:11145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12016 { (eval echo configure:12017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12017 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11146 if test -z "$ac_err"; then | 12018 if test -z "$ac_err"; then |
11147 rm -rf conftest* | 12019 rm -rf conftest* |
11148 eval "ac_cv_header_$ac_safe=yes" | 12020 eval "ac_cv_header_$ac_safe=yes" |
11149 else | 12021 else |
11172 | 12044 |
11173 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12045 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11174 do | 12046 do |
11175 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12047 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11176 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12048 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11177 echo "configure:11178: checking for $ac_hdr" >&5 | 12049 echo "configure:12050: checking for $ac_hdr" >&5 |
11178 | 12050 |
11179 cat > conftest.$ac_ext <<EOF | 12051 cat > conftest.$ac_ext <<EOF |
11180 #line 11181 "configure" | 12052 #line 12053 "configure" |
11181 #include "confdefs.h" | 12053 #include "confdefs.h" |
11182 #include <$ac_hdr> | 12054 #include <$ac_hdr> |
11183 EOF | 12055 EOF |
11184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12056 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; } | 12057 { (eval echo configure:12058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11187 if test -z "$ac_err"; then | 12059 if test -z "$ac_err"; then |
11188 rm -rf conftest* | 12060 rm -rf conftest* |
11189 eval "ac_cv_header_$ac_safe=yes" | 12061 eval "ac_cv_header_$ac_safe=yes" |
11190 else | 12062 else |
11216 | 12088 |
11217 for ac_hdr in stropts.h | 12089 for ac_hdr in stropts.h |
11218 do | 12090 do |
11219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12091 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12092 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11221 echo "configure:11222: checking for $ac_hdr" >&5 | 12093 echo "configure:12094: checking for $ac_hdr" >&5 |
11222 | 12094 |
11223 cat > conftest.$ac_ext <<EOF | 12095 cat > conftest.$ac_ext <<EOF |
11224 #line 11225 "configure" | 12096 #line 12097 "configure" |
11225 #include "confdefs.h" | 12097 #include "confdefs.h" |
11226 #include <$ac_hdr> | 12098 #include <$ac_hdr> |
11227 EOF | 12099 EOF |
11228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11229 { (eval echo configure:11230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12101 { (eval echo configure:12102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11231 if test -z "$ac_err"; then | 12103 if test -z "$ac_err"; then |
11232 rm -rf conftest* | 12104 rm -rf conftest* |
11233 eval "ac_cv_header_$ac_safe=yes" | 12105 eval "ac_cv_header_$ac_safe=yes" |
11234 else | 12106 else |
11257 | 12129 |
11258 if test "$ac_cv_header_stropts_h" = "yes"; then | 12130 if test "$ac_cv_header_stropts_h" = "yes"; then |
11259 for ac_func in isastream | 12131 for ac_func in isastream |
11260 do | 12132 do |
11261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11262 echo "configure:11263: checking for $ac_func" >&5 | 12134 echo "configure:12135: checking for $ac_func" >&5 |
11263 | 12135 |
11264 cat > conftest.$ac_ext <<EOF | 12136 cat > conftest.$ac_ext <<EOF |
11265 #line 11266 "configure" | 12137 #line 12138 "configure" |
11266 #include "confdefs.h" | 12138 #include "confdefs.h" |
11267 /* System header to define __stub macros and hopefully few prototypes, | 12139 /* System header to define __stub macros and hopefully few prototypes, |
11268 which can conflict with char $ac_func(); below. */ | 12140 which can conflict with char $ac_func(); below. */ |
11269 #include <assert.h> | 12141 #include <assert.h> |
11270 /* Override any gcc2 internal prototype to avoid an error. */ | 12142 /* Override any gcc2 internal prototype to avoid an error. */ |
11283 $ac_func(); | 12155 $ac_func(); |
11284 #endif | 12156 #endif |
11285 | 12157 |
11286 ; return 0; } | 12158 ; return 0; } |
11287 EOF | 12159 EOF |
11288 if { (eval echo configure:11289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12160 if { (eval echo configure:12161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11289 rm -rf conftest* | 12161 rm -rf conftest* |
11290 eval "ac_cv_func_$ac_func=yes" | 12162 eval "ac_cv_func_$ac_func=yes" |
11291 else | 12163 else |
11292 echo "configure: failed program was:" >&5 | 12164 echo "configure: failed program was:" >&5 |
11293 cat conftest.$ac_ext >&5 | 12165 cat conftest.$ac_ext >&5 |
11314 | 12186 |
11315 for ac_hdr in strtio.h | 12187 for ac_hdr in strtio.h |
11316 do | 12188 do |
11317 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12189 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11318 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12190 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11319 echo "configure:11320: checking for $ac_hdr" >&5 | 12191 echo "configure:12192: checking for $ac_hdr" >&5 |
11320 | 12192 |
11321 cat > conftest.$ac_ext <<EOF | 12193 cat > conftest.$ac_ext <<EOF |
11322 #line 11323 "configure" | 12194 #line 12195 "configure" |
11323 #include "confdefs.h" | 12195 #include "confdefs.h" |
11324 #include <$ac_hdr> | 12196 #include <$ac_hdr> |
11325 EOF | 12197 EOF |
11326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11327 { (eval echo configure:11328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12199 { (eval echo configure:12200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11329 if test -z "$ac_err"; then | 12201 if test -z "$ac_err"; then |
11330 rm -rf conftest* | 12202 rm -rf conftest* |
11331 eval "ac_cv_header_$ac_safe=yes" | 12203 eval "ac_cv_header_$ac_safe=yes" |
11332 else | 12204 else |
11355 fi | 12227 fi |
11356 | 12228 |
11357 for ac_func in getloadavg | 12229 for ac_func in getloadavg |
11358 do | 12230 do |
11359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11360 echo "configure:11361: checking for $ac_func" >&5 | 12232 echo "configure:12233: checking for $ac_func" >&5 |
11361 | 12233 |
11362 cat > conftest.$ac_ext <<EOF | 12234 cat > conftest.$ac_ext <<EOF |
11363 #line 11364 "configure" | 12235 #line 12236 "configure" |
11364 #include "confdefs.h" | 12236 #include "confdefs.h" |
11365 /* System header to define __stub macros and hopefully few prototypes, | 12237 /* System header to define __stub macros and hopefully few prototypes, |
11366 which can conflict with char $ac_func(); below. */ | 12238 which can conflict with char $ac_func(); below. */ |
11367 #include <assert.h> | 12239 #include <assert.h> |
11368 /* Override any gcc2 internal prototype to avoid an error. */ | 12240 /* Override any gcc2 internal prototype to avoid an error. */ |
11381 $ac_func(); | 12253 $ac_func(); |
11382 #endif | 12254 #endif |
11383 | 12255 |
11384 ; return 0; } | 12256 ; return 0; } |
11385 EOF | 12257 EOF |
11386 if { (eval echo configure:11387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12258 if { (eval echo configure:12259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11387 rm -rf conftest* | 12259 rm -rf conftest* |
11388 eval "ac_cv_func_$ac_func=yes" | 12260 eval "ac_cv_func_$ac_func=yes" |
11389 else | 12261 else |
11390 echo "configure: failed program was:" >&5 | 12262 echo "configure: failed program was:" >&5 |
11391 cat conftest.$ac_ext >&5 | 12263 cat conftest.$ac_ext >&5 |
11414 if test "$ac_cv_func_getloadavg" = "yes"; then | 12286 if test "$ac_cv_func_getloadavg" = "yes"; then |
11415 for ac_hdr in sys/loadavg.h | 12287 for ac_hdr in sys/loadavg.h |
11416 do | 12288 do |
11417 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12289 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11418 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12290 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11419 echo "configure:11420: checking for $ac_hdr" >&5 | 12291 echo "configure:12292: checking for $ac_hdr" >&5 |
11420 | 12292 |
11421 cat > conftest.$ac_ext <<EOF | 12293 cat > conftest.$ac_ext <<EOF |
11422 #line 11423 "configure" | 12294 #line 12295 "configure" |
11423 #include "confdefs.h" | 12295 #include "confdefs.h" |
11424 #include <$ac_hdr> | 12296 #include <$ac_hdr> |
11425 EOF | 12297 EOF |
11426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11427 { (eval echo configure:11428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12299 { (eval echo configure:12300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11429 if test -z "$ac_err"; then | 12301 if test -z "$ac_err"; then |
11430 rm -rf conftest* | 12302 rm -rf conftest* |
11431 eval "ac_cv_header_$ac_safe=yes" | 12303 eval "ac_cv_header_$ac_safe=yes" |
11432 else | 12304 else |
11458 echo " xemacs will be linked with \"getloadavg.o\"" | 12330 echo " xemacs will be linked with \"getloadavg.o\"" |
11459 fi | 12331 fi |
11460 | 12332 |
11461 | 12333 |
11462 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12334 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11463 echo "configure:11464: checking for kstat_open in -lkstat" >&5 | 12335 echo "configure:12336: checking for kstat_open in -lkstat" >&5 |
11464 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12336 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11465 | 12337 |
11466 xe_check_libs=" -lkstat " | 12338 xe_check_libs=" -lkstat " |
11467 cat > conftest.$ac_ext <<EOF | 12339 cat > conftest.$ac_ext <<EOF |
11468 #line 11469 "configure" | 12340 #line 12341 "configure" |
11469 #include "confdefs.h" | 12341 #include "confdefs.h" |
11470 /* Override any gcc2 internal prototype to avoid an error. */ | 12342 /* Override any gcc2 internal prototype to avoid an error. */ |
11471 /* We use char because int might match the return type of a gcc2 | 12343 /* We use char because int might match the return type of a gcc2 |
11472 builtin and then its argument prototype would still apply. */ | 12344 builtin and then its argument prototype would still apply. */ |
11473 char kstat_open(); | 12345 char kstat_open(); |
11474 | 12346 |
11475 int main() { | 12347 int main() { |
11476 kstat_open() | 12348 kstat_open() |
11477 ; return 0; } | 12349 ; return 0; } |
11478 EOF | 12350 EOF |
11479 if { (eval echo configure:11480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12351 if { (eval echo configure:12352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11480 rm -rf conftest* | 12352 rm -rf conftest* |
11481 eval "ac_cv_lib_$ac_lib_var=yes" | 12353 eval "ac_cv_lib_$ac_lib_var=yes" |
11482 else | 12354 else |
11483 echo "configure: failed program was:" >&5 | 12355 echo "configure: failed program was:" >&5 |
11484 cat conftest.$ac_ext >&5 | 12356 cat conftest.$ac_ext >&5 |
11509 | 12381 |
11510 for ac_hdr in kstat.h | 12382 for ac_hdr in kstat.h |
11511 do | 12383 do |
11512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12384 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12385 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11514 echo "configure:11515: checking for $ac_hdr" >&5 | 12386 echo "configure:12387: checking for $ac_hdr" >&5 |
11515 | 12387 |
11516 cat > conftest.$ac_ext <<EOF | 12388 cat > conftest.$ac_ext <<EOF |
11517 #line 11518 "configure" | 12389 #line 12390 "configure" |
11518 #include "confdefs.h" | 12390 #include "confdefs.h" |
11519 #include <$ac_hdr> | 12391 #include <$ac_hdr> |
11520 EOF | 12392 EOF |
11521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11522 { (eval echo configure:11523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12394 { (eval echo configure:12395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11524 if test -z "$ac_err"; then | 12396 if test -z "$ac_err"; then |
11525 rm -rf conftest* | 12397 rm -rf conftest* |
11526 eval "ac_cv_header_$ac_safe=yes" | 12398 eval "ac_cv_header_$ac_safe=yes" |
11527 else | 12399 else |
11549 done | 12421 done |
11550 | 12422 |
11551 | 12423 |
11552 | 12424 |
11553 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12425 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11554 echo "configure:11555: checking for kvm_read in -lkvm" >&5 | 12426 echo "configure:12427: checking for kvm_read in -lkvm" >&5 |
11555 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12427 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11556 | 12428 |
11557 xe_check_libs=" -lkvm " | 12429 xe_check_libs=" -lkvm " |
11558 cat > conftest.$ac_ext <<EOF | 12430 cat > conftest.$ac_ext <<EOF |
11559 #line 11560 "configure" | 12431 #line 12432 "configure" |
11560 #include "confdefs.h" | 12432 #include "confdefs.h" |
11561 /* Override any gcc2 internal prototype to avoid an error. */ | 12433 /* Override any gcc2 internal prototype to avoid an error. */ |
11562 /* We use char because int might match the return type of a gcc2 | 12434 /* We use char because int might match the return type of a gcc2 |
11563 builtin and then its argument prototype would still apply. */ | 12435 builtin and then its argument prototype would still apply. */ |
11564 char kvm_read(); | 12436 char kvm_read(); |
11565 | 12437 |
11566 int main() { | 12438 int main() { |
11567 kvm_read() | 12439 kvm_read() |
11568 ; return 0; } | 12440 ; return 0; } |
11569 EOF | 12441 EOF |
11570 if { (eval echo configure:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12442 if { (eval echo configure:12443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11571 rm -rf conftest* | 12443 rm -rf conftest* |
11572 eval "ac_cv_lib_$ac_lib_var=yes" | 12444 eval "ac_cv_lib_$ac_lib_var=yes" |
11573 else | 12445 else |
11574 echo "configure: failed program was:" >&5 | 12446 echo "configure: failed program was:" >&5 |
11575 cat conftest.$ac_ext >&5 | 12447 cat conftest.$ac_ext >&5 |
11599 | 12471 |
11600 | 12472 |
11601 fi | 12473 fi |
11602 | 12474 |
11603 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12475 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11604 echo "configure:11605: checking whether netdb declares h_errno" >&5 | 12476 echo "configure:12477: checking whether netdb declares h_errno" >&5 |
11605 cat > conftest.$ac_ext <<EOF | 12477 cat > conftest.$ac_ext <<EOF |
11606 #line 11607 "configure" | 12478 #line 12479 "configure" |
11607 #include "confdefs.h" | 12479 #include "confdefs.h" |
11608 #include <netdb.h> | 12480 #include <netdb.h> |
11609 int main() { | 12481 int main() { |
11610 return h_errno; | 12482 return h_errno; |
11611 ; return 0; } | 12483 ; return 0; } |
11612 EOF | 12484 EOF |
11613 if { (eval echo configure:11614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12485 if { (eval echo configure:12486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11614 rm -rf conftest* | 12486 rm -rf conftest* |
11615 echo "$ac_t""yes" 1>&6 | 12487 echo "$ac_t""yes" 1>&6 |
11616 { test "$extra_verbose" = "yes" && cat << \EOF | 12488 { test "$extra_verbose" = "yes" && cat << \EOF |
11617 Defining HAVE_H_ERRNO | 12489 Defining HAVE_H_ERRNO |
11618 EOF | 12490 EOF |
11628 echo "$ac_t""no" 1>&6 | 12500 echo "$ac_t""no" 1>&6 |
11629 fi | 12501 fi |
11630 rm -f conftest* | 12502 rm -f conftest* |
11631 | 12503 |
11632 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12504 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11633 echo "configure:11634: checking for sigsetjmp" >&5 | 12505 echo "configure:12506: checking for sigsetjmp" >&5 |
11634 cat > conftest.$ac_ext <<EOF | 12506 cat > conftest.$ac_ext <<EOF |
11635 #line 11636 "configure" | 12507 #line 12508 "configure" |
11636 #include "confdefs.h" | 12508 #include "confdefs.h" |
11637 #include <setjmp.h> | 12509 #include <setjmp.h> |
11638 int main() { | 12510 int main() { |
11639 sigjmp_buf bar; sigsetjmp (bar, 0); | 12511 sigjmp_buf bar; sigsetjmp (bar, 0); |
11640 ; return 0; } | 12512 ; return 0; } |
11641 EOF | 12513 EOF |
11642 if { (eval echo configure:11643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12514 if { (eval echo configure:12515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11643 rm -rf conftest* | 12515 rm -rf conftest* |
11644 echo "$ac_t""yes" 1>&6 | 12516 echo "$ac_t""yes" 1>&6 |
11645 { test "$extra_verbose" = "yes" && cat << \EOF | 12517 { test "$extra_verbose" = "yes" && cat << \EOF |
11646 Defining HAVE_SIGSETJMP | 12518 Defining HAVE_SIGSETJMP |
11647 EOF | 12519 EOF |
11657 echo "$ac_t""no" 1>&6 | 12529 echo "$ac_t""no" 1>&6 |
11658 fi | 12530 fi |
11659 rm -f conftest* | 12531 rm -f conftest* |
11660 | 12532 |
11661 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12533 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11662 echo "configure:11663: checking whether localtime caches TZ" >&5 | 12534 echo "configure:12535: checking whether localtime caches TZ" >&5 |
11663 | 12535 |
11664 if test "$ac_cv_func_tzset" = "yes"; then | 12536 if test "$ac_cv_func_tzset" = "yes"; then |
11665 cat > conftest.$ac_ext <<EOF | 12537 cat > conftest.$ac_ext <<EOF |
11666 #line 11667 "configure" | 12538 #line 12539 "configure" |
11667 #include "confdefs.h" | 12539 #include "confdefs.h" |
11668 #include <time.h> | 12540 #include <time.h> |
11669 #if STDC_HEADERS | 12541 #if STDC_HEADERS |
11670 # include <stdlib.h> | 12542 # include <stdlib.h> |
11671 #endif | 12543 #endif |
11696 if (localtime (&now)->tm_hour != hour_unset) | 12568 if (localtime (&now)->tm_hour != hour_unset) |
11697 exit (1); | 12569 exit (1); |
11698 exit (0); | 12570 exit (0); |
11699 } | 12571 } |
11700 EOF | 12572 EOF |
11701 if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12573 if { (eval echo configure:12574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11702 then | 12574 then |
11703 emacs_cv_localtime_cache=no | 12575 emacs_cv_localtime_cache=no |
11704 else | 12576 else |
11705 conftest_rc="$?" | 12577 conftest_rc="$?" |
11706 echo "configure: failed program was:" >&5 | 12578 echo "configure: failed program was:" >&5 |
11726 | 12598 |
11727 fi | 12599 fi |
11728 | 12600 |
11729 if test "$HAVE_TIMEVAL" = "yes"; then | 12601 if test "$HAVE_TIMEVAL" = "yes"; then |
11730 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12602 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11731 echo "configure:11732: checking whether gettimeofday accepts one or two arguments" >&5 | 12603 echo "configure:12604: checking whether gettimeofday accepts one or two arguments" >&5 |
11732 cat > conftest.$ac_ext <<EOF | 12604 cat > conftest.$ac_ext <<EOF |
11733 #line 11734 "configure" | 12605 #line 12606 "configure" |
11734 #include "confdefs.h" | 12606 #include "confdefs.h" |
11735 | 12607 |
11736 #ifdef TIME_WITH_SYS_TIME | 12608 #ifdef TIME_WITH_SYS_TIME |
11737 #include <sys/time.h> | 12609 #include <sys/time.h> |
11738 #include <time.h> | 12610 #include <time.h> |
11749 struct timeval time; | 12621 struct timeval time; |
11750 gettimeofday (&time, 0); | 12622 gettimeofday (&time, 0); |
11751 | 12623 |
11752 ; return 0; } | 12624 ; return 0; } |
11753 EOF | 12625 EOF |
11754 if { (eval echo configure:11755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12626 if { (eval echo configure:12627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11755 rm -rf conftest* | 12627 rm -rf conftest* |
11756 echo "$ac_t""two" 1>&6 | 12628 echo "$ac_t""two" 1>&6 |
11757 else | 12629 else |
11758 echo "configure: failed program was:" >&5 | 12630 echo "configure: failed program was:" >&5 |
11759 cat conftest.$ac_ext >&5 | 12631 cat conftest.$ac_ext >&5 |
11771 rm -f conftest* | 12643 rm -f conftest* |
11772 fi | 12644 fi |
11773 | 12645 |
11774 | 12646 |
11775 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12647 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11776 echo "configure:11777: checking for inline" >&5 | 12648 echo "configure:12649: checking for inline" >&5 |
11777 | 12649 |
11778 ac_cv_c_inline=no | 12650 ac_cv_c_inline=no |
11779 for ac_kw in inline __inline__ __inline; do | 12651 for ac_kw in inline __inline__ __inline; do |
11780 cat > conftest.$ac_ext <<EOF | 12652 cat > conftest.$ac_ext <<EOF |
11781 #line 11782 "configure" | 12653 #line 12654 "configure" |
11782 #include "confdefs.h" | 12654 #include "confdefs.h" |
11783 | 12655 |
11784 int main() { | 12656 int main() { |
11785 } $ac_kw foo() { | 12657 } $ac_kw foo() { |
11786 ; return 0; } | 12658 ; return 0; } |
11787 EOF | 12659 EOF |
11788 if { (eval echo configure:11789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12660 if { (eval echo configure:12661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11789 rm -rf conftest* | 12661 rm -rf conftest* |
11790 ac_cv_c_inline=$ac_kw; break | 12662 ac_cv_c_inline=$ac_kw; break |
11791 else | 12663 else |
11792 echo "configure: failed program was:" >&5 | 12664 echo "configure: failed program was:" >&5 |
11793 cat conftest.$ac_ext >&5 | 12665 cat conftest.$ac_ext >&5 |
11824 | 12696 |
11825 if test "$__DECC" != "yes"; then | 12697 if test "$__DECC" != "yes"; then |
11826 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12698 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11827 # for constant arguments. Useless! | 12699 # for constant arguments. Useless! |
11828 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12700 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11829 echo "configure:11830: checking for working alloca.h" >&5 | 12701 echo "configure:12702: checking for working alloca.h" >&5 |
11830 | 12702 |
11831 cat > conftest.$ac_ext <<EOF | 12703 cat > conftest.$ac_ext <<EOF |
11832 #line 11833 "configure" | 12704 #line 12705 "configure" |
11833 #include "confdefs.h" | 12705 #include "confdefs.h" |
11834 #include <alloca.h> | 12706 #include <alloca.h> |
11835 int main() { | 12707 int main() { |
11836 char *p = alloca(2 * sizeof(int)); | 12708 char *p = alloca(2 * sizeof(int)); |
11837 ; return 0; } | 12709 ; return 0; } |
11838 EOF | 12710 EOF |
11839 if { (eval echo configure:11840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12711 if { (eval echo configure:12712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11840 rm -rf conftest* | 12712 rm -rf conftest* |
11841 ac_cv_header_alloca_h=yes | 12713 ac_cv_header_alloca_h=yes |
11842 else | 12714 else |
11843 echo "configure: failed program was:" >&5 | 12715 echo "configure: failed program was:" >&5 |
11844 cat conftest.$ac_ext >&5 | 12716 cat conftest.$ac_ext >&5 |
11858 } | 12730 } |
11859 | 12731 |
11860 fi | 12732 fi |
11861 | 12733 |
11862 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12734 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11863 echo "configure:11864: checking for alloca" >&5 | 12735 echo "configure:12736: checking for alloca" >&5 |
11864 | 12736 |
11865 cat > conftest.$ac_ext <<EOF | 12737 cat > conftest.$ac_ext <<EOF |
11866 #line 11867 "configure" | 12738 #line 12739 "configure" |
11867 #include "confdefs.h" | 12739 #include "confdefs.h" |
11868 | 12740 |
11869 #ifdef __GNUC__ | 12741 #ifdef __GNUC__ |
11870 # define alloca __builtin_alloca | 12742 # define alloca __builtin_alloca |
11871 #else | 12743 #else |
11889 | 12761 |
11890 int main() { | 12762 int main() { |
11891 char *p = (char *) alloca(1); | 12763 char *p = (char *) alloca(1); |
11892 ; return 0; } | 12764 ; return 0; } |
11893 EOF | 12765 EOF |
11894 if { (eval echo configure:11895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12766 if { (eval echo configure:12767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11895 rm -rf conftest* | 12767 rm -rf conftest* |
11896 ac_cv_func_alloca_works=yes | 12768 ac_cv_func_alloca_works=yes |
11897 else | 12769 else |
11898 echo "configure: failed program was:" >&5 | 12770 echo "configure: failed program was:" >&5 |
11899 cat conftest.$ac_ext >&5 | 12771 cat conftest.$ac_ext >&5 |
11928 EOF | 12800 EOF |
11929 } | 12801 } |
11930 | 12802 |
11931 | 12803 |
11932 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12804 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11933 echo "configure:11934: checking whether alloca needs Cray hooks" >&5 | 12805 echo "configure:12806: checking whether alloca needs Cray hooks" >&5 |
11934 | 12806 |
11935 cat > conftest.$ac_ext <<EOF | 12807 cat > conftest.$ac_ext <<EOF |
11936 #line 11937 "configure" | 12808 #line 12809 "configure" |
11937 #include "confdefs.h" | 12809 #include "confdefs.h" |
11938 #if defined(CRAY) && ! defined(CRAY2) | 12810 #if defined(CRAY) && ! defined(CRAY2) |
11939 webecray | 12811 webecray |
11940 #else | 12812 #else |
11941 wenotbecray | 12813 wenotbecray |
11955 | 12827 |
11956 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12828 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11957 if test $ac_cv_os_cray = yes; then | 12829 if test $ac_cv_os_cray = yes; then |
11958 for ac_func in _getb67 GETB67 getb67; do | 12830 for ac_func in _getb67 GETB67 getb67; do |
11959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11960 echo "configure:11961: checking for $ac_func" >&5 | 12832 echo "configure:12833: checking for $ac_func" >&5 |
11961 | 12833 |
11962 cat > conftest.$ac_ext <<EOF | 12834 cat > conftest.$ac_ext <<EOF |
11963 #line 11964 "configure" | 12835 #line 12836 "configure" |
11964 #include "confdefs.h" | 12836 #include "confdefs.h" |
11965 /* System header to define __stub macros and hopefully few prototypes, | 12837 /* System header to define __stub macros and hopefully few prototypes, |
11966 which can conflict with char $ac_func(); below. */ | 12838 which can conflict with char $ac_func(); below. */ |
11967 #include <assert.h> | 12839 #include <assert.h> |
11968 /* Override any gcc2 internal prototype to avoid an error. */ | 12840 /* Override any gcc2 internal prototype to avoid an error. */ |
11981 $ac_func(); | 12853 $ac_func(); |
11982 #endif | 12854 #endif |
11983 | 12855 |
11984 ; return 0; } | 12856 ; return 0; } |
11985 EOF | 12857 EOF |
11986 if { (eval echo configure:11987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12858 if { (eval echo configure:12859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11987 rm -rf conftest* | 12859 rm -rf conftest* |
11988 eval "ac_cv_func_$ac_func=yes" | 12860 eval "ac_cv_func_$ac_func=yes" |
11989 else | 12861 else |
11990 echo "configure: failed program was:" >&5 | 12862 echo "configure: failed program was:" >&5 |
11991 cat conftest.$ac_ext >&5 | 12863 cat conftest.$ac_ext >&5 |
12011 | 12883 |
12012 done | 12884 done |
12013 fi | 12885 fi |
12014 | 12886 |
12015 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12887 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12016 echo "configure:12017: checking stack direction for C alloca" >&5 | 12888 echo "configure:12889: checking stack direction for C alloca" >&5 |
12017 | 12889 |
12018 cat > conftest.$ac_ext <<EOF | 12890 cat > conftest.$ac_ext <<EOF |
12019 #line 12020 "configure" | 12891 #line 12892 "configure" |
12020 #include "confdefs.h" | 12892 #include "confdefs.h" |
12021 find_stack_direction () | 12893 find_stack_direction () |
12022 { | 12894 { |
12023 static char *addr = 0; | 12895 static char *addr = 0; |
12024 auto char dummy; | 12896 auto char dummy; |
12033 main () | 12905 main () |
12034 { | 12906 { |
12035 exit (find_stack_direction() < 0); | 12907 exit (find_stack_direction() < 0); |
12036 } | 12908 } |
12037 EOF | 12909 EOF |
12038 if { (eval echo configure:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12910 if { (eval echo configure:12911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12039 then | 12911 then |
12040 ac_cv_c_stack_direction=1 | 12912 ac_cv_c_stack_direction=1 |
12041 else | 12913 else |
12042 conftest_rc="$?" | 12914 conftest_rc="$?" |
12043 echo "configure: failed program was:" >&5 | 12915 echo "configure: failed program was:" >&5 |
12062 echo " xemacs will be linked with \"$ALLOCA\"" | 12934 echo " xemacs will be linked with \"$ALLOCA\"" |
12063 fi | 12935 fi |
12064 fi | 12936 fi |
12065 | 12937 |
12066 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12938 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12067 echo "configure:12068: checking for working strcoll" >&5 | 12939 echo "configure:12940: checking for working strcoll" >&5 |
12068 | 12940 |
12069 cat > conftest.$ac_ext <<EOF | 12941 cat > conftest.$ac_ext <<EOF |
12070 #line 12071 "configure" | 12942 #line 12943 "configure" |
12071 #include "confdefs.h" | 12943 #include "confdefs.h" |
12072 #include <string.h> | 12944 #include <string.h> |
12073 main () | 12945 main () |
12074 { | 12946 { |
12075 exit (strcoll ("abc", "def") >= 0 || | 12947 exit (strcoll ("abc", "def") >= 0 || |
12076 strcoll ("ABC", "DEF") >= 0 || | 12948 strcoll ("ABC", "DEF") >= 0 || |
12077 strcoll ("123", "456") >= 0); | 12949 strcoll ("123", "456") >= 0); |
12078 } | 12950 } |
12079 EOF | 12951 EOF |
12080 if { (eval echo configure:12081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12952 if { (eval echo configure:12953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12081 then | 12953 then |
12082 ac_cv_func_strcoll_works=yes | 12954 ac_cv_func_strcoll_works=yes |
12083 else | 12955 else |
12084 conftest_rc="$?" | 12956 conftest_rc="$?" |
12085 echo "configure: failed program was:" >&5 | 12957 echo "configure: failed program was:" >&5 |
12103 | 12975 |
12104 | 12976 |
12105 for ac_func in getpgrp | 12977 for ac_func in getpgrp |
12106 do | 12978 do |
12107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12108 echo "configure:12109: checking for $ac_func" >&5 | 12980 echo "configure:12981: checking for $ac_func" >&5 |
12109 | 12981 |
12110 cat > conftest.$ac_ext <<EOF | 12982 cat > conftest.$ac_ext <<EOF |
12111 #line 12112 "configure" | 12983 #line 12984 "configure" |
12112 #include "confdefs.h" | 12984 #include "confdefs.h" |
12113 /* System header to define __stub macros and hopefully few prototypes, | 12985 /* System header to define __stub macros and hopefully few prototypes, |
12114 which can conflict with char $ac_func(); below. */ | 12986 which can conflict with char $ac_func(); below. */ |
12115 #include <assert.h> | 12987 #include <assert.h> |
12116 /* Override any gcc2 internal prototype to avoid an error. */ | 12988 /* Override any gcc2 internal prototype to avoid an error. */ |
12129 $ac_func(); | 13001 $ac_func(); |
12130 #endif | 13002 #endif |
12131 | 13003 |
12132 ; return 0; } | 13004 ; return 0; } |
12133 EOF | 13005 EOF |
12134 if { (eval echo configure:12135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13006 if { (eval echo configure:13007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12135 rm -rf conftest* | 13007 rm -rf conftest* |
12136 eval "ac_cv_func_$ac_func=yes" | 13008 eval "ac_cv_func_$ac_func=yes" |
12137 else | 13009 else |
12138 echo "configure: failed program was:" >&5 | 13010 echo "configure: failed program was:" >&5 |
12139 cat conftest.$ac_ext >&5 | 13011 cat conftest.$ac_ext >&5 |
12157 echo "$ac_t""no" 1>&6 | 13029 echo "$ac_t""no" 1>&6 |
12158 fi | 13030 fi |
12159 done | 13031 done |
12160 | 13032 |
12161 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13033 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12162 echo "configure:12163: checking whether getpgrp takes no argument" >&5 | 13034 echo "configure:13035: checking whether getpgrp takes no argument" >&5 |
12163 | 13035 |
12164 cat > conftest.$ac_ext <<EOF | 13036 cat > conftest.$ac_ext <<EOF |
12165 #line 12166 "configure" | 13037 #line 13038 "configure" |
12166 #include "confdefs.h" | 13038 #include "confdefs.h" |
12167 | 13039 |
12168 /* | 13040 /* |
12169 * If this system has a BSD-style getpgrp(), | 13041 * If this system has a BSD-style getpgrp(), |
12170 * which takes a pid argument, exit unsuccessfully. | 13042 * which takes a pid argument, exit unsuccessfully. |
12215 exit(s>>8); | 13087 exit(s>>8); |
12216 } | 13088 } |
12217 } | 13089 } |
12218 | 13090 |
12219 EOF | 13091 EOF |
12220 if { (eval echo configure:12221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13092 if { (eval echo configure:13093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12221 then | 13093 then |
12222 ac_cv_func_getpgrp_void=yes | 13094 ac_cv_func_getpgrp_void=yes |
12223 else | 13095 else |
12224 conftest_rc="$?" | 13096 conftest_rc="$?" |
12225 echo "configure: failed program was:" >&5 | 13097 echo "configure: failed program was:" >&5 |
12242 | 13114 |
12243 fi | 13115 fi |
12244 | 13116 |
12245 | 13117 |
12246 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13118 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12247 echo "configure:12248: checking for working mmap" >&5 | 13119 echo "configure:13120: checking for working mmap" >&5 |
12248 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13120 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12249 cat > conftest.$ac_ext <<EOF | 13121 cat > conftest.$ac_ext <<EOF |
12250 #line 12251 "configure" | 13122 #line 13123 "configure" |
12251 #include "confdefs.h" | 13123 #include "confdefs.h" |
12252 #include <stdio.h> | 13124 #include <stdio.h> |
12253 #include <unistd.h> | 13125 #include <unistd.h> |
12254 #include <fcntl.h> | 13126 #include <fcntl.h> |
12255 #include <sys/mman.h> | 13127 #include <sys/mman.h> |
12278 return 0; | 13150 return 0; |
12279 perror ("conftest: mmap failed"); | 13151 perror ("conftest: mmap failed"); |
12280 return 1; | 13152 return 1; |
12281 } | 13153 } |
12282 EOF | 13154 EOF |
12283 if { (eval echo configure:12284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13155 if { (eval echo configure:13156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12284 then | 13156 then |
12285 have_mmap=yes | 13157 have_mmap=yes |
12286 else | 13158 else |
12287 conftest_rc="$?" | 13159 conftest_rc="$?" |
12288 echo "configure: failed program was:" >&5 | 13160 echo "configure: failed program was:" >&5 |
12307 esac | 13179 esac |
12308 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13180 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12309 if test "$rel_alloc $have_mmap" = "default yes"; then | 13181 if test "$rel_alloc $have_mmap" = "default yes"; then |
12310 if test "$doug_lea_malloc" = "yes"; then | 13182 if test "$doug_lea_malloc" = "yes"; then |
12311 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13183 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12312 echo "configure:12313: checking for M_MMAP_THRESHOLD" >&5 | 13184 echo "configure:13185: checking for M_MMAP_THRESHOLD" >&5 |
12313 cat > conftest.$ac_ext <<EOF | 13185 cat > conftest.$ac_ext <<EOF |
12314 #line 12315 "configure" | 13186 #line 13187 "configure" |
12315 #include "confdefs.h" | 13187 #include "confdefs.h" |
12316 #include <malloc.h> | 13188 #include <malloc.h> |
12317 int main() { | 13189 int main() { |
12318 | 13190 |
12319 #ifndef M_MMAP_THRESHOLD | 13191 #ifndef M_MMAP_THRESHOLD |
12321 !@+$%^&*_)(_ - unlikely to compile... | 13193 !@+$%^&*_)(_ - unlikely to compile... |
12322 #endif | 13194 #endif |
12323 | 13195 |
12324 ; return 0; } | 13196 ; return 0; } |
12325 EOF | 13197 EOF |
12326 if { (eval echo configure:12327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13198 if { (eval echo configure:13199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12327 rm -rf conftest* | 13199 rm -rf conftest* |
12328 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13200 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12329 else | 13201 else |
12330 echo "configure: failed program was:" >&5 | 13202 echo "configure: failed program was:" >&5 |
12331 cat conftest.$ac_ext >&5 | 13203 cat conftest.$ac_ext >&5 |
12346 } | 13218 } |
12347 | 13219 |
12348 | 13220 |
12349 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13221 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12350 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13222 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12351 echo "configure:12352: checking for termios.h" >&5 | 13223 echo "configure:13224: checking for termios.h" >&5 |
12352 | 13224 |
12353 cat > conftest.$ac_ext <<EOF | 13225 cat > conftest.$ac_ext <<EOF |
12354 #line 12355 "configure" | 13226 #line 13227 "configure" |
12355 #include "confdefs.h" | 13227 #include "confdefs.h" |
12356 #include <termios.h> | 13228 #include <termios.h> |
12357 EOF | 13229 EOF |
12358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12359 { (eval echo configure:12360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13231 { (eval echo configure:13232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12361 if test -z "$ac_err"; then | 13233 if test -z "$ac_err"; then |
12362 rm -rf conftest* | 13234 rm -rf conftest* |
12363 eval "ac_cv_header_$ac_safe=yes" | 13235 eval "ac_cv_header_$ac_safe=yes" |
12364 else | 13236 else |
12397 | 13269 |
12398 else | 13270 else |
12399 echo "$ac_t""no" 1>&6 | 13271 echo "$ac_t""no" 1>&6 |
12400 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13272 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12401 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13273 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12402 echo "configure:12403: checking for termio.h" >&5 | 13274 echo "configure:13275: checking for termio.h" >&5 |
12403 | 13275 |
12404 cat > conftest.$ac_ext <<EOF | 13276 cat > conftest.$ac_ext <<EOF |
12405 #line 12406 "configure" | 13277 #line 13278 "configure" |
12406 #include "confdefs.h" | 13278 #include "confdefs.h" |
12407 #include <termio.h> | 13279 #include <termio.h> |
12408 EOF | 13280 EOF |
12409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12410 { (eval echo configure:12411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13282 { (eval echo configure:13283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12412 if test -z "$ac_err"; then | 13284 if test -z "$ac_err"; then |
12413 rm -rf conftest* | 13285 rm -rf conftest* |
12414 eval "ac_cv_header_$ac_safe=yes" | 13286 eval "ac_cv_header_$ac_safe=yes" |
12415 else | 13287 else |
12437 fi | 13309 fi |
12438 | 13310 |
12439 | 13311 |
12440 | 13312 |
12441 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13313 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12442 echo "configure:12443: checking for socket" >&5 | 13314 echo "configure:13315: checking for socket" >&5 |
12443 | 13315 |
12444 cat > conftest.$ac_ext <<EOF | 13316 cat > conftest.$ac_ext <<EOF |
12445 #line 12446 "configure" | 13317 #line 13318 "configure" |
12446 #include "confdefs.h" | 13318 #include "confdefs.h" |
12447 /* System header to define __stub macros and hopefully few prototypes, | 13319 /* System header to define __stub macros and hopefully few prototypes, |
12448 which can conflict with char socket(); below. */ | 13320 which can conflict with char socket(); below. */ |
12449 #include <assert.h> | 13321 #include <assert.h> |
12450 /* Override any gcc2 internal prototype to avoid an error. */ | 13322 /* Override any gcc2 internal prototype to avoid an error. */ |
12463 socket(); | 13335 socket(); |
12464 #endif | 13336 #endif |
12465 | 13337 |
12466 ; return 0; } | 13338 ; return 0; } |
12467 EOF | 13339 EOF |
12468 if { (eval echo configure:12469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13340 if { (eval echo configure:13341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12469 rm -rf conftest* | 13341 rm -rf conftest* |
12470 eval "ac_cv_func_socket=yes" | 13342 eval "ac_cv_func_socket=yes" |
12471 else | 13343 else |
12472 echo "configure: failed program was:" >&5 | 13344 echo "configure: failed program was:" >&5 |
12473 cat conftest.$ac_ext >&5 | 13345 cat conftest.$ac_ext >&5 |
12478 | 13350 |
12479 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13351 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12480 echo "$ac_t""yes" 1>&6 | 13352 echo "$ac_t""yes" 1>&6 |
12481 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13353 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12482 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13354 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12483 echo "configure:12484: checking for netinet/in.h" >&5 | 13355 echo "configure:13356: checking for netinet/in.h" >&5 |
12484 | 13356 |
12485 cat > conftest.$ac_ext <<EOF | 13357 cat > conftest.$ac_ext <<EOF |
12486 #line 12487 "configure" | 13358 #line 13359 "configure" |
12487 #include "confdefs.h" | 13359 #include "confdefs.h" |
12488 #include <netinet/in.h> | 13360 #include <netinet/in.h> |
12489 EOF | 13361 EOF |
12490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12491 { (eval echo configure:12492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13363 { (eval echo configure:13364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12493 if test -z "$ac_err"; then | 13365 if test -z "$ac_err"; then |
12494 rm -rf conftest* | 13366 rm -rf conftest* |
12495 eval "ac_cv_header_$ac_safe=yes" | 13367 eval "ac_cv_header_$ac_safe=yes" |
12496 else | 13368 else |
12503 rm -f conftest* | 13375 rm -f conftest* |
12504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13376 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12505 echo "$ac_t""yes" 1>&6 | 13377 echo "$ac_t""yes" 1>&6 |
12506 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13378 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12507 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13379 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12508 echo "configure:12509: checking for arpa/inet.h" >&5 | 13380 echo "configure:13381: checking for arpa/inet.h" >&5 |
12509 | 13381 |
12510 cat > conftest.$ac_ext <<EOF | 13382 cat > conftest.$ac_ext <<EOF |
12511 #line 12512 "configure" | 13383 #line 13384 "configure" |
12512 #include "confdefs.h" | 13384 #include "confdefs.h" |
12513 #include <arpa/inet.h> | 13385 #include <arpa/inet.h> |
12514 EOF | 13386 EOF |
12515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12516 { (eval echo configure:12517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13388 { (eval echo configure:13389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13389 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12518 if test -z "$ac_err"; then | 13390 if test -z "$ac_err"; then |
12519 rm -rf conftest* | 13391 rm -rf conftest* |
12520 eval "ac_cv_header_$ac_safe=yes" | 13392 eval "ac_cv_header_$ac_safe=yes" |
12521 else | 13393 else |
12536 #define HAVE_SOCKETS 1 | 13408 #define HAVE_SOCKETS 1 |
12537 EOF | 13409 EOF |
12538 } | 13410 } |
12539 | 13411 |
12540 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13412 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12541 echo "configure:12542: checking "for sun_len member in struct sockaddr_un"" >&5 | 13413 echo "configure:13414: checking "for sun_len member in struct sockaddr_un"" >&5 |
12542 cat > conftest.$ac_ext <<EOF | 13414 cat > conftest.$ac_ext <<EOF |
12543 #line 12544 "configure" | 13415 #line 13416 "configure" |
12544 #include "confdefs.h" | 13416 #include "confdefs.h" |
12545 | 13417 |
12546 #include <sys/types.h> | 13418 #include <sys/types.h> |
12547 #include <sys/socket.h> | 13419 #include <sys/socket.h> |
12548 #include <sys/un.h> | 13420 #include <sys/un.h> |
12549 | 13421 |
12550 int main() { | 13422 int main() { |
12551 static struct sockaddr_un x; x.sun_len = 1; | 13423 static struct sockaddr_un x; x.sun_len = 1; |
12552 ; return 0; } | 13424 ; return 0; } |
12553 EOF | 13425 EOF |
12554 if { (eval echo configure:12555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13426 if { (eval echo configure:13427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12555 rm -rf conftest* | 13427 rm -rf conftest* |
12556 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13428 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12557 Defining HAVE_SOCKADDR_SUN_LEN | 13429 Defining HAVE_SOCKADDR_SUN_LEN |
12558 EOF | 13430 EOF |
12559 cat >> confdefs.h <<\EOF | 13431 cat >> confdefs.h <<\EOF |
12567 rm -rf conftest* | 13439 rm -rf conftest* |
12568 echo "$ac_t""no" 1>&6 | 13440 echo "$ac_t""no" 1>&6 |
12569 fi | 13441 fi |
12570 rm -f conftest* | 13442 rm -f conftest* |
12571 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13443 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12572 echo "configure:12573: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13444 echo "configure:13445: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12573 cat > conftest.$ac_ext <<EOF | 13445 cat > conftest.$ac_ext <<EOF |
12574 #line 12575 "configure" | 13446 #line 13447 "configure" |
12575 #include "confdefs.h" | 13447 #include "confdefs.h" |
12576 | 13448 |
12577 #include <sys/types.h> | 13449 #include <sys/types.h> |
12578 #include <netinet/in.h> | 13450 #include <netinet/in.h> |
12579 | 13451 |
12580 int main() { | 13452 int main() { |
12581 static struct ip_mreq x; | 13453 static struct ip_mreq x; |
12582 ; return 0; } | 13454 ; return 0; } |
12583 EOF | 13455 EOF |
12584 if { (eval echo configure:12585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13456 if { (eval echo configure:13457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12585 rm -rf conftest* | 13457 rm -rf conftest* |
12586 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13458 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12587 Defining HAVE_MULTICAST | 13459 Defining HAVE_MULTICAST |
12588 EOF | 13460 EOF |
12589 cat >> confdefs.h <<\EOF | 13461 cat >> confdefs.h <<\EOF |
12610 echo "$ac_t""no" 1>&6 | 13482 echo "$ac_t""no" 1>&6 |
12611 fi | 13483 fi |
12612 | 13484 |
12613 | 13485 |
12614 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13486 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12615 echo "configure:12616: checking for msgget" >&5 | 13487 echo "configure:13488: checking for msgget" >&5 |
12616 | 13488 |
12617 cat > conftest.$ac_ext <<EOF | 13489 cat > conftest.$ac_ext <<EOF |
12618 #line 12619 "configure" | 13490 #line 13491 "configure" |
12619 #include "confdefs.h" | 13491 #include "confdefs.h" |
12620 /* System header to define __stub macros and hopefully few prototypes, | 13492 /* System header to define __stub macros and hopefully few prototypes, |
12621 which can conflict with char msgget(); below. */ | 13493 which can conflict with char msgget(); below. */ |
12622 #include <assert.h> | 13494 #include <assert.h> |
12623 /* Override any gcc2 internal prototype to avoid an error. */ | 13495 /* Override any gcc2 internal prototype to avoid an error. */ |
12636 msgget(); | 13508 msgget(); |
12637 #endif | 13509 #endif |
12638 | 13510 |
12639 ; return 0; } | 13511 ; return 0; } |
12640 EOF | 13512 EOF |
12641 if { (eval echo configure:12642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13513 if { (eval echo configure:13514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12642 rm -rf conftest* | 13514 rm -rf conftest* |
12643 eval "ac_cv_func_msgget=yes" | 13515 eval "ac_cv_func_msgget=yes" |
12644 else | 13516 else |
12645 echo "configure: failed program was:" >&5 | 13517 echo "configure: failed program was:" >&5 |
12646 cat conftest.$ac_ext >&5 | 13518 cat conftest.$ac_ext >&5 |
12651 | 13523 |
12652 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13524 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12653 echo "$ac_t""yes" 1>&6 | 13525 echo "$ac_t""yes" 1>&6 |
12654 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13526 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12655 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13527 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12656 echo "configure:12657: checking for sys/ipc.h" >&5 | 13528 echo "configure:13529: checking for sys/ipc.h" >&5 |
12657 | 13529 |
12658 cat > conftest.$ac_ext <<EOF | 13530 cat > conftest.$ac_ext <<EOF |
12659 #line 12660 "configure" | 13531 #line 13532 "configure" |
12660 #include "confdefs.h" | 13532 #include "confdefs.h" |
12661 #include <sys/ipc.h> | 13533 #include <sys/ipc.h> |
12662 EOF | 13534 EOF |
12663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12664 { (eval echo configure:12665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13536 { (eval echo configure:13537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12666 if test -z "$ac_err"; then | 13538 if test -z "$ac_err"; then |
12667 rm -rf conftest* | 13539 rm -rf conftest* |
12668 eval "ac_cv_header_$ac_safe=yes" | 13540 eval "ac_cv_header_$ac_safe=yes" |
12669 else | 13541 else |
12676 rm -f conftest* | 13548 rm -f conftest* |
12677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13549 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12678 echo "$ac_t""yes" 1>&6 | 13550 echo "$ac_t""yes" 1>&6 |
12679 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13551 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12680 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13552 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12681 echo "configure:12682: checking for sys/msg.h" >&5 | 13553 echo "configure:13554: checking for sys/msg.h" >&5 |
12682 | 13554 |
12683 cat > conftest.$ac_ext <<EOF | 13555 cat > conftest.$ac_ext <<EOF |
12684 #line 12685 "configure" | 13556 #line 13557 "configure" |
12685 #include "confdefs.h" | 13557 #include "confdefs.h" |
12686 #include <sys/msg.h> | 13558 #include <sys/msg.h> |
12687 EOF | 13559 EOF |
12688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12689 { (eval echo configure:12690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13561 { (eval echo configure:13562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12691 if test -z "$ac_err"; then | 13563 if test -z "$ac_err"; then |
12692 rm -rf conftest* | 13564 rm -rf conftest* |
12693 eval "ac_cv_header_$ac_safe=yes" | 13565 eval "ac_cv_header_$ac_safe=yes" |
12694 else | 13566 else |
12722 fi | 13594 fi |
12723 | 13595 |
12724 | 13596 |
12725 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13597 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12726 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13598 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12727 echo "configure:12728: checking for dirent.h" >&5 | 13599 echo "configure:13600: checking for dirent.h" >&5 |
12728 | 13600 |
12729 cat > conftest.$ac_ext <<EOF | 13601 cat > conftest.$ac_ext <<EOF |
12730 #line 12731 "configure" | 13602 #line 13603 "configure" |
12731 #include "confdefs.h" | 13603 #include "confdefs.h" |
12732 #include <dirent.h> | 13604 #include <dirent.h> |
12733 EOF | 13605 EOF |
12734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12735 { (eval echo configure:12736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13607 { (eval echo configure:13608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12737 if test -z "$ac_err"; then | 13609 if test -z "$ac_err"; then |
12738 rm -rf conftest* | 13610 rm -rf conftest* |
12739 eval "ac_cv_header_$ac_safe=yes" | 13611 eval "ac_cv_header_$ac_safe=yes" |
12740 else | 13612 else |
12757 | 13629 |
12758 else | 13630 else |
12759 echo "$ac_t""no" 1>&6 | 13631 echo "$ac_t""no" 1>&6 |
12760 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13632 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12761 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13633 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12762 echo "configure:12763: checking for sys/dir.h" >&5 | 13634 echo "configure:13635: checking for sys/dir.h" >&5 |
12763 | 13635 |
12764 cat > conftest.$ac_ext <<EOF | 13636 cat > conftest.$ac_ext <<EOF |
12765 #line 12766 "configure" | 13637 #line 13638 "configure" |
12766 #include "confdefs.h" | 13638 #include "confdefs.h" |
12767 #include <sys/dir.h> | 13639 #include <sys/dir.h> |
12768 EOF | 13640 EOF |
12769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12770 { (eval echo configure:12771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13642 { (eval echo configure:13643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12772 if test -z "$ac_err"; then | 13644 if test -z "$ac_err"; then |
12773 rm -rf conftest* | 13645 rm -rf conftest* |
12774 eval "ac_cv_header_$ac_safe=yes" | 13646 eval "ac_cv_header_$ac_safe=yes" |
12775 else | 13647 else |
12798 fi | 13670 fi |
12799 | 13671 |
12800 | 13672 |
12801 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13673 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12802 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13674 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12803 echo "configure:12804: checking for nlist.h" >&5 | 13675 echo "configure:13676: checking for nlist.h" >&5 |
12804 | 13676 |
12805 cat > conftest.$ac_ext <<EOF | 13677 cat > conftest.$ac_ext <<EOF |
12806 #line 12807 "configure" | 13678 #line 13679 "configure" |
12807 #include "confdefs.h" | 13679 #include "confdefs.h" |
12808 #include <nlist.h> | 13680 #include <nlist.h> |
12809 EOF | 13681 EOF |
12810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12811 { (eval echo configure:12812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13683 { (eval echo configure:13684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12813 if test -z "$ac_err"; then | 13685 if test -z "$ac_err"; then |
12814 rm -rf conftest* | 13686 rm -rf conftest* |
12815 eval "ac_cv_header_$ac_safe=yes" | 13687 eval "ac_cv_header_$ac_safe=yes" |
12816 else | 13688 else |
12836 fi | 13708 fi |
12837 | 13709 |
12838 | 13710 |
12839 | 13711 |
12840 echo "checking "for sound support"" 1>&6 | 13712 echo "checking "for sound support"" 1>&6 |
12841 echo "configure:12842: checking "for sound support"" >&5 | 13713 echo "configure:13714: checking "for sound support"" >&5 |
12842 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13714 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12843 | 13715 |
12844 if test "$with_native_sound" != "no"; then | 13716 if test "$with_native_sound" != "no"; then |
12845 if test -n "$native_sound_lib"; then | 13717 if test -n "$native_sound_lib"; then |
12846 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13718 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12847 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13719 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12848 echo "configure:12849: checking for multimedia/audio_device.h" >&5 | 13720 echo "configure:13721: checking for multimedia/audio_device.h" >&5 |
12849 | 13721 |
12850 cat > conftest.$ac_ext <<EOF | 13722 cat > conftest.$ac_ext <<EOF |
12851 #line 12852 "configure" | 13723 #line 13724 "configure" |
12852 #include "confdefs.h" | 13724 #include "confdefs.h" |
12853 #include <multimedia/audio_device.h> | 13725 #include <multimedia/audio_device.h> |
12854 EOF | 13726 EOF |
12855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13727 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12856 { (eval echo configure:12857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13728 { (eval echo configure:13729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13729 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12858 if test -z "$ac_err"; then | 13730 if test -z "$ac_err"; then |
12859 rm -rf conftest* | 13731 rm -rf conftest* |
12860 eval "ac_cv_header_$ac_safe=yes" | 13732 eval "ac_cv_header_$ac_safe=yes" |
12861 else | 13733 else |
12899 case "$canonical" in | 13771 case "$canonical" in |
12900 *-sgi-* ) | 13772 *-sgi-* ) |
12901 if test -z "$native_sound_lib"; then | 13773 if test -z "$native_sound_lib"; then |
12902 | 13774 |
12903 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13775 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12904 echo "configure:12905: checking for ALopenport in -laudio" >&5 | 13776 echo "configure:13777: checking for ALopenport in -laudio" >&5 |
12905 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13777 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12906 | 13778 |
12907 xe_check_libs=" -laudio " | 13779 xe_check_libs=" -laudio " |
12908 cat > conftest.$ac_ext <<EOF | 13780 cat > conftest.$ac_ext <<EOF |
12909 #line 12910 "configure" | 13781 #line 13782 "configure" |
12910 #include "confdefs.h" | 13782 #include "confdefs.h" |
12911 /* Override any gcc2 internal prototype to avoid an error. */ | 13783 /* Override any gcc2 internal prototype to avoid an error. */ |
12912 /* We use char because int might match the return type of a gcc2 | 13784 /* We use char because int might match the return type of a gcc2 |
12913 builtin and then its argument prototype would still apply. */ | 13785 builtin and then its argument prototype would still apply. */ |
12914 char ALopenport(); | 13786 char ALopenport(); |
12915 | 13787 |
12916 int main() { | 13788 int main() { |
12917 ALopenport() | 13789 ALopenport() |
12918 ; return 0; } | 13790 ; return 0; } |
12919 EOF | 13791 EOF |
12920 if { (eval echo configure:12921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13792 if { (eval echo configure:13793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12921 rm -rf conftest* | 13793 rm -rf conftest* |
12922 eval "ac_cv_lib_$ac_lib_var=yes" | 13794 eval "ac_cv_lib_$ac_lib_var=yes" |
12923 else | 13795 else |
12924 echo "configure: failed program was:" >&5 | 13796 echo "configure: failed program was:" >&5 |
12925 cat conftest.$ac_ext >&5 | 13797 cat conftest.$ac_ext >&5 |
12946 fi ;; | 13818 fi ;; |
12947 hppa*-hp-hpux* ) | 13819 hppa*-hp-hpux* ) |
12948 if test -z "$native_sound_lib"; then | 13820 if test -z "$native_sound_lib"; then |
12949 | 13821 |
12950 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13822 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12951 echo "configure:12952: checking for AOpenAudio in -lAlib" >&5 | 13823 echo "configure:13824: checking for AOpenAudio in -lAlib" >&5 |
12952 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13824 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12953 | 13825 |
12954 xe_check_libs=" -lAlib " | 13826 xe_check_libs=" -lAlib " |
12955 cat > conftest.$ac_ext <<EOF | 13827 cat > conftest.$ac_ext <<EOF |
12956 #line 12957 "configure" | 13828 #line 13829 "configure" |
12957 #include "confdefs.h" | 13829 #include "confdefs.h" |
12958 /* Override any gcc2 internal prototype to avoid an error. */ | 13830 /* Override any gcc2 internal prototype to avoid an error. */ |
12959 /* We use char because int might match the return type of a gcc2 | 13831 /* We use char because int might match the return type of a gcc2 |
12960 builtin and then its argument prototype would still apply. */ | 13832 builtin and then its argument prototype would still apply. */ |
12961 char AOpenAudio(); | 13833 char AOpenAudio(); |
12962 | 13834 |
12963 int main() { | 13835 int main() { |
12964 AOpenAudio() | 13836 AOpenAudio() |
12965 ; return 0; } | 13837 ; return 0; } |
12966 EOF | 13838 EOF |
12967 if { (eval echo configure:12968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13839 if { (eval echo configure:13840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12968 rm -rf conftest* | 13840 rm -rf conftest* |
12969 eval "ac_cv_lib_$ac_lib_var=yes" | 13841 eval "ac_cv_lib_$ac_lib_var=yes" |
12970 else | 13842 else |
12971 echo "configure: failed program was:" >&5 | 13843 echo "configure: failed program was:" >&5 |
12972 cat conftest.$ac_ext >&5 | 13844 cat conftest.$ac_ext >&5 |
13010 | 13882 |
13011 if test -z "$sound_found"; then | 13883 if test -z "$sound_found"; then |
13012 for dir in "machine" "sys" "linux"; do | 13884 for dir in "machine" "sys" "linux"; do |
13013 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13885 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13014 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13886 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13015 echo "configure:13016: checking for ${dir}/soundcard.h" >&5 | 13887 echo "configure:13888: checking for ${dir}/soundcard.h" >&5 |
13016 | 13888 |
13017 cat > conftest.$ac_ext <<EOF | 13889 cat > conftest.$ac_ext <<EOF |
13018 #line 13019 "configure" | 13890 #line 13891 "configure" |
13019 #include "confdefs.h" | 13891 #include "confdefs.h" |
13020 #include <${dir}/soundcard.h> | 13892 #include <${dir}/soundcard.h> |
13021 EOF | 13893 EOF |
13022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13023 { (eval echo configure:13024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13895 { (eval echo configure:13896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13896 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13025 if test -z "$ac_err"; then | 13897 if test -z "$ac_err"; then |
13026 rm -rf conftest* | 13898 rm -rf conftest* |
13027 eval "ac_cv_header_$ac_safe=yes" | 13899 eval "ac_cv_header_$ac_safe=yes" |
13028 else | 13900 else |
13072 fi | 13944 fi |
13073 | 13945 |
13074 if test "$with_nas_sound" != "no"; then | 13946 if test "$with_nas_sound" != "no"; then |
13075 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13947 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13076 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13948 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13077 echo "configure:13078: checking for audio/audiolib.h" >&5 | 13949 echo "configure:13950: checking for audio/audiolib.h" >&5 |
13078 | 13950 |
13079 cat > conftest.$ac_ext <<EOF | 13951 cat > conftest.$ac_ext <<EOF |
13080 #line 13081 "configure" | 13952 #line 13953 "configure" |
13081 #include "confdefs.h" | 13953 #include "confdefs.h" |
13082 #include <audio/audiolib.h> | 13954 #include <audio/audiolib.h> |
13083 EOF | 13955 EOF |
13084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13956 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13085 { (eval echo configure:13086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13957 { (eval echo configure:13958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13958 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13087 if test -z "$ac_err"; then | 13959 if test -z "$ac_err"; then |
13088 rm -rf conftest* | 13960 rm -rf conftest* |
13089 eval "ac_cv_header_$ac_safe=yes" | 13961 eval "ac_cv_header_$ac_safe=yes" |
13090 else | 13962 else |
13098 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13099 echo "$ac_t""yes" 1>&6 | 13971 echo "$ac_t""yes" 1>&6 |
13100 | 13972 |
13101 | 13973 |
13102 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13974 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13103 echo "configure:13104: checking for AuOpenServer in -laudio" >&5 | 13975 echo "configure:13976: checking for AuOpenServer in -laudio" >&5 |
13104 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13976 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13105 | 13977 |
13106 xe_check_libs=" -laudio " | 13978 xe_check_libs=" -laudio " |
13107 cat > conftest.$ac_ext <<EOF | 13979 cat > conftest.$ac_ext <<EOF |
13108 #line 13109 "configure" | 13980 #line 13981 "configure" |
13109 #include "confdefs.h" | 13981 #include "confdefs.h" |
13110 /* Override any gcc2 internal prototype to avoid an error. */ | 13982 /* Override any gcc2 internal prototype to avoid an error. */ |
13111 /* We use char because int might match the return type of a gcc2 | 13983 /* We use char because int might match the return type of a gcc2 |
13112 builtin and then its argument prototype would still apply. */ | 13984 builtin and then its argument prototype would still apply. */ |
13113 char AuOpenServer(); | 13985 char AuOpenServer(); |
13114 | 13986 |
13115 int main() { | 13987 int main() { |
13116 AuOpenServer() | 13988 AuOpenServer() |
13117 ; return 0; } | 13989 ; return 0; } |
13118 EOF | 13990 EOF |
13119 if { (eval echo configure:13120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13991 if { (eval echo configure:13992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13120 rm -rf conftest* | 13992 rm -rf conftest* |
13121 eval "ac_cv_lib_$ac_lib_var=yes" | 13993 eval "ac_cv_lib_$ac_lib_var=yes" |
13122 else | 13994 else |
13123 echo "configure: failed program was:" >&5 | 13995 echo "configure: failed program was:" >&5 |
13124 cat conftest.$ac_ext >&5 | 13996 cat conftest.$ac_ext >&5 |
13153 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14025 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13154 echo " xemacs will be linked with \"nas.o\"" | 14026 echo " xemacs will be linked with \"nas.o\"" |
13155 fi | 14027 fi |
13156 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14028 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13157 cat > conftest.$ac_ext <<EOF | 14029 cat > conftest.$ac_ext <<EOF |
13158 #line 13159 "configure" | 14030 #line 14031 "configure" |
13159 #include "confdefs.h" | 14031 #include "confdefs.h" |
13160 #include <audio/Xtutil.h> | 14032 #include <audio/Xtutil.h> |
13161 EOF | 14033 EOF |
13162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13163 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14035 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13184 | 14056 |
13185 if test "$with_esd_sound" != "no"; then | 14057 if test "$with_esd_sound" != "no"; then |
13186 # Extract the first word of "esd-config", so it can be a program name with args. | 14058 # Extract the first word of "esd-config", so it can be a program name with args. |
13187 set dummy esd-config; ac_word=$2 | 14059 set dummy esd-config; ac_word=$2 |
13188 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14060 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13189 echo "configure:13190: checking for $ac_word" >&5 | 14061 echo "configure:14062: checking for $ac_word" >&5 |
13190 | 14062 |
13191 if test -n "$have_esd_config"; then | 14063 if test -n "$have_esd_config"; then |
13192 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14064 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13193 else | 14065 else |
13194 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14066 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13213 if test "$have_esd_config" = "yes"; then | 14085 if test "$have_esd_config" = "yes"; then |
13214 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14086 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13215 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 | 14087 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 |
13216 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14088 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13217 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14089 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13218 echo "configure:13219: checking for esd_play_stream" >&5 | 14090 echo "configure:14091: checking for esd_play_stream" >&5 |
13219 | 14091 |
13220 cat > conftest.$ac_ext <<EOF | 14092 cat > conftest.$ac_ext <<EOF |
13221 #line 13222 "configure" | 14093 #line 14094 "configure" |
13222 #include "confdefs.h" | 14094 #include "confdefs.h" |
13223 /* System header to define __stub macros and hopefully few prototypes, | 14095 /* System header to define __stub macros and hopefully few prototypes, |
13224 which can conflict with char esd_play_stream(); below. */ | 14096 which can conflict with char esd_play_stream(); below. */ |
13225 #include <assert.h> | 14097 #include <assert.h> |
13226 /* Override any gcc2 internal prototype to avoid an error. */ | 14098 /* Override any gcc2 internal prototype to avoid an error. */ |
13239 esd_play_stream(); | 14111 esd_play_stream(); |
13240 #endif | 14112 #endif |
13241 | 14113 |
13242 ; return 0; } | 14114 ; return 0; } |
13243 EOF | 14115 EOF |
13244 if { (eval echo configure:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14116 if { (eval echo configure:14117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13245 rm -rf conftest* | 14117 rm -rf conftest* |
13246 eval "ac_cv_func_esd_play_stream=yes" | 14118 eval "ac_cv_func_esd_play_stream=yes" |
13247 else | 14119 else |
13248 echo "configure: failed program was:" >&5 | 14120 echo "configure: failed program was:" >&5 |
13249 cat conftest.$ac_ext >&5 | 14121 cat conftest.$ac_ext >&5 |
13290 | 14162 |
13291 test -z "$with_tty" && with_tty=yes | 14163 test -z "$with_tty" && with_tty=yes |
13292 | 14164 |
13293 if test "$with_tty" = "yes" ; then | 14165 if test "$with_tty" = "yes" ; then |
13294 echo "checking for TTY-related features" 1>&6 | 14166 echo "checking for TTY-related features" 1>&6 |
13295 echo "configure:13296: checking for TTY-related features" >&5 | 14167 echo "configure:14168: checking for TTY-related features" >&5 |
13296 { test "$extra_verbose" = "yes" && cat << \EOF | 14168 { test "$extra_verbose" = "yes" && cat << \EOF |
13297 Defining HAVE_TTY | 14169 Defining HAVE_TTY |
13298 EOF | 14170 EOF |
13299 cat >> confdefs.h <<\EOF | 14171 cat >> confdefs.h <<\EOF |
13300 #define HAVE_TTY 1 | 14172 #define HAVE_TTY 1 |
13303 | 14175 |
13304 | 14176 |
13305 if test -z "$with_ncurses"; then | 14177 if test -z "$with_ncurses"; then |
13306 | 14178 |
13307 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14179 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13308 echo "configure:13309: checking for tgetent in -lncurses" >&5 | 14180 echo "configure:14181: checking for tgetent in -lncurses" >&5 |
13309 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14181 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13310 | 14182 |
13311 xe_check_libs=" -lncurses " | 14183 xe_check_libs=" -lncurses " |
13312 cat > conftest.$ac_ext <<EOF | 14184 cat > conftest.$ac_ext <<EOF |
13313 #line 13314 "configure" | 14185 #line 14186 "configure" |
13314 #include "confdefs.h" | 14186 #include "confdefs.h" |
13315 /* Override any gcc2 internal prototype to avoid an error. */ | 14187 /* Override any gcc2 internal prototype to avoid an error. */ |
13316 /* We use char because int might match the return type of a gcc2 | 14188 /* We use char because int might match the return type of a gcc2 |
13317 builtin and then its argument prototype would still apply. */ | 14189 builtin and then its argument prototype would still apply. */ |
13318 char tgetent(); | 14190 char tgetent(); |
13319 | 14191 |
13320 int main() { | 14192 int main() { |
13321 tgetent() | 14193 tgetent() |
13322 ; return 0; } | 14194 ; return 0; } |
13323 EOF | 14195 EOF |
13324 if { (eval echo configure:13325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14196 if { (eval echo configure:14197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13325 rm -rf conftest* | 14197 rm -rf conftest* |
13326 eval "ac_cv_lib_$ac_lib_var=yes" | 14198 eval "ac_cv_lib_$ac_lib_var=yes" |
13327 else | 14199 else |
13328 echo "configure: failed program was:" >&5 | 14200 echo "configure: failed program was:" >&5 |
13329 cat conftest.$ac_ext >&5 | 14201 cat conftest.$ac_ext >&5 |
13352 EOF | 14224 EOF |
13353 } | 14225 } |
13354 | 14226 |
13355 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14227 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13356 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14228 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13357 echo "configure:13358: checking for ncurses/curses.h" >&5 | 14229 echo "configure:14230: checking for ncurses/curses.h" >&5 |
13358 | 14230 |
13359 cat > conftest.$ac_ext <<EOF | 14231 cat > conftest.$ac_ext <<EOF |
13360 #line 13361 "configure" | 14232 #line 14233 "configure" |
13361 #include "confdefs.h" | 14233 #include "confdefs.h" |
13362 #include <ncurses/curses.h> | 14234 #include <ncurses/curses.h> |
13363 EOF | 14235 EOF |
13364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13365 { (eval echo configure:13366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14237 { (eval echo configure:14238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13367 if test -z "$ac_err"; then | 14239 if test -z "$ac_err"; then |
13368 rm -rf conftest* | 14240 rm -rf conftest* |
13369 eval "ac_cv_header_$ac_safe=yes" | 14241 eval "ac_cv_header_$ac_safe=yes" |
13370 else | 14242 else |
13382 echo "$ac_t""no" 1>&6 | 14254 echo "$ac_t""no" 1>&6 |
13383 fi | 14255 fi |
13384 | 14256 |
13385 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14257 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13386 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14258 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13387 echo "configure:13388: checking for ncurses/term.h" >&5 | 14259 echo "configure:14260: checking for ncurses/term.h" >&5 |
13388 | 14260 |
13389 cat > conftest.$ac_ext <<EOF | 14261 cat > conftest.$ac_ext <<EOF |
13390 #line 13391 "configure" | 14262 #line 14263 "configure" |
13391 #include "confdefs.h" | 14263 #include "confdefs.h" |
13392 #include <ncurses/term.h> | 14264 #include <ncurses/term.h> |
13393 EOF | 14265 EOF |
13394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13395 { (eval echo configure:13396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14267 { (eval echo configure:14268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13397 if test -z "$ac_err"; then | 14269 if test -z "$ac_err"; then |
13398 rm -rf conftest* | 14270 rm -rf conftest* |
13399 eval "ac_cv_header_$ac_safe=yes" | 14271 eval "ac_cv_header_$ac_safe=yes" |
13400 else | 14272 else |
13420 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14292 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13421 save_c_switch_site="$c_switch_site" | 14293 save_c_switch_site="$c_switch_site" |
13422 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14294 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13423 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14295 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13424 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14296 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13425 echo "configure:13426: checking for ncurses/curses.h" >&5 | 14297 echo "configure:14298: checking for ncurses/curses.h" >&5 |
13426 | 14298 |
13427 cat > conftest.$ac_ext <<EOF | 14299 cat > conftest.$ac_ext <<EOF |
13428 #line 13429 "configure" | 14300 #line 14301 "configure" |
13429 #include "confdefs.h" | 14301 #include "confdefs.h" |
13430 #include <ncurses/curses.h> | 14302 #include <ncurses/curses.h> |
13431 EOF | 14303 EOF |
13432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13433 { (eval echo configure:13434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14305 { (eval echo configure:14306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13435 if test -z "$ac_err"; then | 14307 if test -z "$ac_err"; then |
13436 rm -rf conftest* | 14308 rm -rf conftest* |
13437 eval "ac_cv_header_$ac_safe=yes" | 14309 eval "ac_cv_header_$ac_safe=yes" |
13438 else | 14310 else |
13463 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14335 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13464 else | 14336 else |
13465 for lib in curses termlib termcap; do | 14337 for lib in curses termlib termcap; do |
13466 | 14338 |
13467 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14339 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13468 echo "configure:13469: checking for tgetent in -l$lib" >&5 | 14340 echo "configure:14341: checking for tgetent in -l$lib" >&5 |
13469 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14341 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13470 | 14342 |
13471 xe_check_libs=" -l$lib " | 14343 xe_check_libs=" -l$lib " |
13472 cat > conftest.$ac_ext <<EOF | 14344 cat > conftest.$ac_ext <<EOF |
13473 #line 13474 "configure" | 14345 #line 14346 "configure" |
13474 #include "confdefs.h" | 14346 #include "confdefs.h" |
13475 /* Override any gcc2 internal prototype to avoid an error. */ | 14347 /* Override any gcc2 internal prototype to avoid an error. */ |
13476 /* We use char because int might match the return type of a gcc2 | 14348 /* We use char because int might match the return type of a gcc2 |
13477 builtin and then its argument prototype would still apply. */ | 14349 builtin and then its argument prototype would still apply. */ |
13478 char tgetent(); | 14350 char tgetent(); |
13479 | 14351 |
13480 int main() { | 14352 int main() { |
13481 tgetent() | 14353 tgetent() |
13482 ; return 0; } | 14354 ; return 0; } |
13483 EOF | 14355 EOF |
13484 if { (eval echo configure:13485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14356 if { (eval echo configure:14357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13485 rm -rf conftest* | 14357 rm -rf conftest* |
13486 eval "ac_cv_lib_$ac_lib_var=yes" | 14358 eval "ac_cv_lib_$ac_lib_var=yes" |
13487 else | 14359 else |
13488 echo "configure: failed program was:" >&5 | 14360 echo "configure: failed program was:" >&5 |
13489 cat conftest.$ac_ext >&5 | 14361 cat conftest.$ac_ext >&5 |
13510 if test -n "$libs_termcap"; then | 14382 if test -n "$libs_termcap"; then |
13511 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14383 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13512 else | 14384 else |
13513 | 14385 |
13514 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14386 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13515 echo "configure:13516: checking for tgetent in -lcurses" >&5 | 14387 echo "configure:14388: checking for tgetent in -lcurses" >&5 |
13516 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14388 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13517 | 14389 |
13518 xe_check_libs=" -lcurses " | 14390 xe_check_libs=" -lcurses " |
13519 cat > conftest.$ac_ext <<EOF | 14391 cat > conftest.$ac_ext <<EOF |
13520 #line 13521 "configure" | 14392 #line 14393 "configure" |
13521 #include "confdefs.h" | 14393 #include "confdefs.h" |
13522 /* Override any gcc2 internal prototype to avoid an error. */ | 14394 /* Override any gcc2 internal prototype to avoid an error. */ |
13523 /* We use char because int might match the return type of a gcc2 | 14395 /* We use char because int might match the return type of a gcc2 |
13524 builtin and then its argument prototype would still apply. */ | 14396 builtin and then its argument prototype would still apply. */ |
13525 char tgetent(); | 14397 char tgetent(); |
13526 | 14398 |
13527 int main() { | 14399 int main() { |
13528 tgetent() | 14400 tgetent() |
13529 ; return 0; } | 14401 ; return 0; } |
13530 EOF | 14402 EOF |
13531 if { (eval echo configure:13532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14403 if { (eval echo configure:14404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13532 rm -rf conftest* | 14404 rm -rf conftest* |
13533 eval "ac_cv_lib_$ac_lib_var=yes" | 14405 eval "ac_cv_lib_$ac_lib_var=yes" |
13534 else | 14406 else |
13535 echo "configure: failed program was:" >&5 | 14407 echo "configure: failed program was:" >&5 |
13536 cat conftest.$ac_ext >&5 | 14408 cat conftest.$ac_ext >&5 |
13544 echo "$ac_t""yes" 1>&6 | 14416 echo "$ac_t""yes" 1>&6 |
13545 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14417 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13546 else | 14418 else |
13547 echo "$ac_t""no" 1>&6 | 14419 echo "$ac_t""no" 1>&6 |
13548 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14420 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13549 echo "configure:13550: checking for tgetent in -ltermcap" >&5 | 14421 echo "configure:14422: checking for tgetent in -ltermcap" >&5 |
13550 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14422 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13551 | 14423 |
13552 xe_check_libs=" -ltermcap " | 14424 xe_check_libs=" -ltermcap " |
13553 cat > conftest.$ac_ext <<EOF | 14425 cat > conftest.$ac_ext <<EOF |
13554 #line 13555 "configure" | 14426 #line 14427 "configure" |
13555 #include "confdefs.h" | 14427 #include "confdefs.h" |
13556 /* Override any gcc2 internal prototype to avoid an error. */ | 14428 /* Override any gcc2 internal prototype to avoid an error. */ |
13557 /* We use char because int might match the return type of a gcc2 | 14429 /* We use char because int might match the return type of a gcc2 |
13558 builtin and then its argument prototype would still apply. */ | 14430 builtin and then its argument prototype would still apply. */ |
13559 char tgetent(); | 14431 char tgetent(); |
13560 | 14432 |
13561 int main() { | 14433 int main() { |
13562 tgetent() | 14434 tgetent() |
13563 ; return 0; } | 14435 ; return 0; } |
13564 EOF | 14436 EOF |
13565 if { (eval echo configure:13566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14437 if { (eval echo configure:14438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13566 rm -rf conftest* | 14438 rm -rf conftest* |
13567 eval "ac_cv_lib_$ac_lib_var=yes" | 14439 eval "ac_cv_lib_$ac_lib_var=yes" |
13568 else | 14440 else |
13569 echo "configure: failed program was:" >&5 | 14441 echo "configure: failed program was:" >&5 |
13570 cat conftest.$ac_ext >&5 | 14442 cat conftest.$ac_ext >&5 |
13608 } | 14480 } |
13609 | 14481 |
13610 | 14482 |
13611 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14483 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13612 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14484 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13613 echo "configure:13614: checking for gpm.h" >&5 | 14485 echo "configure:14486: checking for gpm.h" >&5 |
13614 | 14486 |
13615 cat > conftest.$ac_ext <<EOF | 14487 cat > conftest.$ac_ext <<EOF |
13616 #line 13617 "configure" | 14488 #line 14489 "configure" |
13617 #include "confdefs.h" | 14489 #include "confdefs.h" |
13618 #include <gpm.h> | 14490 #include <gpm.h> |
13619 EOF | 14491 EOF |
13620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13621 { (eval echo configure:13622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14493 { (eval echo configure:14494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13623 if test -z "$ac_err"; then | 14495 if test -z "$ac_err"; then |
13624 rm -rf conftest* | 14496 rm -rf conftest* |
13625 eval "ac_cv_header_$ac_safe=yes" | 14497 eval "ac_cv_header_$ac_safe=yes" |
13626 else | 14498 else |
13639 with_gpm=no | 14511 with_gpm=no |
13640 fi | 14512 fi |
13641 } | 14513 } |
13642 test -z "$with_gpm" && { | 14514 test -z "$with_gpm" && { |
13643 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14515 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13644 echo "configure:13645: checking for Gpm_Open in -lgpm" >&5 | 14516 echo "configure:14517: checking for Gpm_Open in -lgpm" >&5 |
13645 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14517 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13646 | 14518 |
13647 xe_check_libs=" -lgpm " | 14519 xe_check_libs=" -lgpm " |
13648 cat > conftest.$ac_ext <<EOF | 14520 cat > conftest.$ac_ext <<EOF |
13649 #line 13650 "configure" | 14521 #line 14522 "configure" |
13650 #include "confdefs.h" | 14522 #include "confdefs.h" |
13651 /* Override any gcc2 internal prototype to avoid an error. */ | 14523 /* Override any gcc2 internal prototype to avoid an error. */ |
13652 /* We use char because int might match the return type of a gcc2 | 14524 /* We use char because int might match the return type of a gcc2 |
13653 builtin and then its argument prototype would still apply. */ | 14525 builtin and then its argument prototype would still apply. */ |
13654 char Gpm_Open(); | 14526 char Gpm_Open(); |
13655 | 14527 |
13656 int main() { | 14528 int main() { |
13657 Gpm_Open() | 14529 Gpm_Open() |
13658 ; return 0; } | 14530 ; return 0; } |
13659 EOF | 14531 EOF |
13660 if { (eval echo configure:13661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14532 if { (eval echo configure:14533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13661 rm -rf conftest* | 14533 rm -rf conftest* |
13662 eval "ac_cv_lib_$ac_lib_var=yes" | 14534 eval "ac_cv_lib_$ac_lib_var=yes" |
13663 else | 14535 else |
13664 echo "configure: failed program was:" >&5 | 14536 echo "configure: failed program was:" >&5 |
13665 cat conftest.$ac_ext >&5 | 14537 cat conftest.$ac_ext >&5 |
13698 done | 14570 done |
13699 fi | 14571 fi |
13700 | 14572 |
13701 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14573 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13702 != "no no no" && echo "checking for database support" 1>&6 | 14574 != "no no no" && echo "checking for database support" 1>&6 |
13703 echo "configure:13704: checking for database support" >&5 | 14575 echo "configure:14576: checking for database support" >&5 |
13704 | 14576 |
13705 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14577 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13706 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14578 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13707 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14579 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13708 echo "configure:13709: checking for ndbm.h" >&5 | 14580 echo "configure:14581: checking for ndbm.h" >&5 |
13709 | 14581 |
13710 cat > conftest.$ac_ext <<EOF | 14582 cat > conftest.$ac_ext <<EOF |
13711 #line 13712 "configure" | 14583 #line 14584 "configure" |
13712 #include "confdefs.h" | 14584 #include "confdefs.h" |
13713 #include <ndbm.h> | 14585 #include <ndbm.h> |
13714 EOF | 14586 EOF |
13715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14587 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13716 { (eval echo configure:13717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14588 { (eval echo configure:14589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13718 if test -z "$ac_err"; then | 14590 if test -z "$ac_err"; then |
13719 rm -rf conftest* | 14591 rm -rf conftest* |
13720 eval "ac_cv_header_$ac_safe=yes" | 14592 eval "ac_cv_header_$ac_safe=yes" |
13721 else | 14593 else |
13741 fi | 14613 fi |
13742 | 14614 |
13743 if test "$with_database_gdbm" != "no"; then | 14615 if test "$with_database_gdbm" != "no"; then |
13744 | 14616 |
13745 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14617 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13746 echo "configure:13747: checking for dbm_open in -lgdbm" >&5 | 14618 echo "configure:14619: checking for dbm_open in -lgdbm" >&5 |
13747 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14619 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13748 | 14620 |
13749 xe_check_libs=" -lgdbm " | 14621 xe_check_libs=" -lgdbm " |
13750 cat > conftest.$ac_ext <<EOF | 14622 cat > conftest.$ac_ext <<EOF |
13751 #line 13752 "configure" | 14623 #line 14624 "configure" |
13752 #include "confdefs.h" | 14624 #include "confdefs.h" |
13753 /* Override any gcc2 internal prototype to avoid an error. */ | 14625 /* Override any gcc2 internal prototype to avoid an error. */ |
13754 /* We use char because int might match the return type of a gcc2 | 14626 /* We use char because int might match the return type of a gcc2 |
13755 builtin and then its argument prototype would still apply. */ | 14627 builtin and then its argument prototype would still apply. */ |
13756 char dbm_open(); | 14628 char dbm_open(); |
13757 | 14629 |
13758 int main() { | 14630 int main() { |
13759 dbm_open() | 14631 dbm_open() |
13760 ; return 0; } | 14632 ; return 0; } |
13761 EOF | 14633 EOF |
13762 if { (eval echo configure:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14634 if { (eval echo configure:14635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13763 rm -rf conftest* | 14635 rm -rf conftest* |
13764 eval "ac_cv_lib_$ac_lib_var=yes" | 14636 eval "ac_cv_lib_$ac_lib_var=yes" |
13765 else | 14637 else |
13766 echo "configure: failed program was:" >&5 | 14638 echo "configure: failed program was:" >&5 |
13767 cat conftest.$ac_ext >&5 | 14639 cat conftest.$ac_ext >&5 |
13785 | 14657 |
13786 fi | 14658 fi |
13787 | 14659 |
13788 if test "$with_database_dbm" != "no"; then | 14660 if test "$with_database_dbm" != "no"; then |
13789 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14661 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13790 echo "configure:13791: checking for dbm_open" >&5 | 14662 echo "configure:14663: checking for dbm_open" >&5 |
13791 | 14663 |
13792 cat > conftest.$ac_ext <<EOF | 14664 cat > conftest.$ac_ext <<EOF |
13793 #line 13794 "configure" | 14665 #line 14666 "configure" |
13794 #include "confdefs.h" | 14666 #include "confdefs.h" |
13795 /* System header to define __stub macros and hopefully few prototypes, | 14667 /* System header to define __stub macros and hopefully few prototypes, |
13796 which can conflict with char dbm_open(); below. */ | 14668 which can conflict with char dbm_open(); below. */ |
13797 #include <assert.h> | 14669 #include <assert.h> |
13798 /* Override any gcc2 internal prototype to avoid an error. */ | 14670 /* Override any gcc2 internal prototype to avoid an error. */ |
13811 dbm_open(); | 14683 dbm_open(); |
13812 #endif | 14684 #endif |
13813 | 14685 |
13814 ; return 0; } | 14686 ; return 0; } |
13815 EOF | 14687 EOF |
13816 if { (eval echo configure:13817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14688 if { (eval echo configure:14689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13817 rm -rf conftest* | 14689 rm -rf conftest* |
13818 eval "ac_cv_func_dbm_open=yes" | 14690 eval "ac_cv_func_dbm_open=yes" |
13819 else | 14691 else |
13820 echo "configure: failed program was:" >&5 | 14692 echo "configure: failed program was:" >&5 |
13821 cat conftest.$ac_ext >&5 | 14693 cat conftest.$ac_ext >&5 |
13830 else | 14702 else |
13831 echo "$ac_t""no" 1>&6 | 14703 echo "$ac_t""no" 1>&6 |
13832 | 14704 |
13833 | 14705 |
13834 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14706 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13835 echo "configure:13836: checking for dbm_open in -ldbm" >&5 | 14707 echo "configure:14708: checking for dbm_open in -ldbm" >&5 |
13836 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14708 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13837 | 14709 |
13838 xe_check_libs=" -ldbm " | 14710 xe_check_libs=" -ldbm " |
13839 cat > conftest.$ac_ext <<EOF | 14711 cat > conftest.$ac_ext <<EOF |
13840 #line 13841 "configure" | 14712 #line 14713 "configure" |
13841 #include "confdefs.h" | 14713 #include "confdefs.h" |
13842 /* Override any gcc2 internal prototype to avoid an error. */ | 14714 /* Override any gcc2 internal prototype to avoid an error. */ |
13843 /* We use char because int might match the return type of a gcc2 | 14715 /* We use char because int might match the return type of a gcc2 |
13844 builtin and then its argument prototype would still apply. */ | 14716 builtin and then its argument prototype would still apply. */ |
13845 char dbm_open(); | 14717 char dbm_open(); |
13846 | 14718 |
13847 int main() { | 14719 int main() { |
13848 dbm_open() | 14720 dbm_open() |
13849 ; return 0; } | 14721 ; return 0; } |
13850 EOF | 14722 EOF |
13851 if { (eval echo configure:13852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14723 if { (eval echo configure:14724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13852 rm -rf conftest* | 14724 rm -rf conftest* |
13853 eval "ac_cv_lib_$ac_lib_var=yes" | 14725 eval "ac_cv_lib_$ac_lib_var=yes" |
13854 else | 14726 else |
13855 echo "configure: failed program was:" >&5 | 14727 echo "configure: failed program was:" >&5 |
13856 cat conftest.$ac_ext >&5 | 14728 cat conftest.$ac_ext >&5 |
13887 } | 14759 } |
13888 | 14760 |
13889 | 14761 |
13890 if test "$with_database_berkdb" != "no"; then | 14762 if test "$with_database_berkdb" != "no"; then |
13891 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14763 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13892 echo "configure:13893: checking for Berkeley db.h" >&5 | 14764 echo "configure:14765: checking for Berkeley db.h" >&5 |
13893 for header in "db/db.h" "db.h"; do | 14765 for header in "db/db.h" "db.h"; do |
13894 cat > conftest.$ac_ext <<EOF | 14766 cat > conftest.$ac_ext <<EOF |
13895 #line 13896 "configure" | 14767 #line 14768 "configure" |
13896 #include "confdefs.h" | 14768 #include "confdefs.h" |
13897 | 14769 |
13898 #include <stdlib.h> | 14770 #include <stdlib.h> |
13899 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14771 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13900 #ifdef HAVE_INTTYPES_H | 14772 #ifdef HAVE_INTTYPES_H |
13912 | 14784 |
13913 int main() { | 14785 int main() { |
13914 | 14786 |
13915 ; return 0; } | 14787 ; return 0; } |
13916 EOF | 14788 EOF |
13917 if { (eval echo configure:13918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14789 if { (eval echo configure:14790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13918 rm -rf conftest* | 14790 rm -rf conftest* |
13919 db_h_file="$header"; break | 14791 db_h_file="$header"; break |
13920 else | 14792 else |
13921 echo "configure: failed program was:" >&5 | 14793 echo "configure: failed program was:" >&5 |
13922 cat conftest.$ac_ext >&5 | 14794 cat conftest.$ac_ext >&5 |
13928 else echo "$ac_t""$db_h_file" 1>&6 | 14800 else echo "$ac_t""$db_h_file" 1>&6 |
13929 fi | 14801 fi |
13930 | 14802 |
13931 if test "$with_database_berkdb" != "no"; then | 14803 if test "$with_database_berkdb" != "no"; then |
13932 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14804 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13933 echo "configure:13934: checking for Berkeley DB version" >&5 | 14805 echo "configure:14806: checking for Berkeley DB version" >&5 |
13934 cat > conftest.$ac_ext <<EOF | 14806 cat > conftest.$ac_ext <<EOF |
13935 #line 13936 "configure" | 14807 #line 14808 "configure" |
13936 #include "confdefs.h" | 14808 #include "confdefs.h" |
13937 #include <$db_h_file> | 14809 #include <$db_h_file> |
13938 #if DB_VERSION_MAJOR > 1 | 14810 #if DB_VERSION_MAJOR > 1 |
13939 yes | 14811 yes |
13940 #endif | 14812 #endif |
13942 EOF | 14814 EOF |
13943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13944 egrep "yes" >/dev/null 2>&1; then | 14816 egrep "yes" >/dev/null 2>&1; then |
13945 rm -rf conftest* | 14817 rm -rf conftest* |
13946 cat > conftest.$ac_ext <<EOF | 14818 cat > conftest.$ac_ext <<EOF |
13947 #line 13948 "configure" | 14819 #line 14820 "configure" |
13948 #include "confdefs.h" | 14820 #include "confdefs.h" |
13949 #include <$db_h_file> | 14821 #include <$db_h_file> |
13950 #if DB_VERSION_MAJOR > 2 | 14822 #if DB_VERSION_MAJOR > 2 |
13951 yes | 14823 yes |
13952 #endif | 14824 #endif |
13969 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14841 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13970 fi | 14842 fi |
13971 rm -f conftest* | 14843 rm -f conftest* |
13972 | 14844 |
13973 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14845 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13974 echo "configure:13975: checking for $dbfunc" >&5 | 14846 echo "configure:14847: checking for $dbfunc" >&5 |
13975 | 14847 |
13976 cat > conftest.$ac_ext <<EOF | 14848 cat > conftest.$ac_ext <<EOF |
13977 #line 13978 "configure" | 14849 #line 14850 "configure" |
13978 #include "confdefs.h" | 14850 #include "confdefs.h" |
13979 /* System header to define __stub macros and hopefully few prototypes, | 14851 /* System header to define __stub macros and hopefully few prototypes, |
13980 which can conflict with char $dbfunc(); below. */ | 14852 which can conflict with char $dbfunc(); below. */ |
13981 #include <assert.h> | 14853 #include <assert.h> |
13982 /* Override any gcc2 internal prototype to avoid an error. */ | 14854 /* Override any gcc2 internal prototype to avoid an error. */ |
13995 $dbfunc(); | 14867 $dbfunc(); |
13996 #endif | 14868 #endif |
13997 | 14869 |
13998 ; return 0; } | 14870 ; return 0; } |
13999 EOF | 14871 EOF |
14000 if { (eval echo configure:14001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14872 if { (eval echo configure:14873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14001 rm -rf conftest* | 14873 rm -rf conftest* |
14002 eval "ac_cv_func_$dbfunc=yes" | 14874 eval "ac_cv_func_$dbfunc=yes" |
14003 else | 14875 else |
14004 echo "configure: failed program was:" >&5 | 14876 echo "configure: failed program was:" >&5 |
14005 cat conftest.$ac_ext >&5 | 14877 cat conftest.$ac_ext >&5 |
14014 else | 14886 else |
14015 echo "$ac_t""no" 1>&6 | 14887 echo "$ac_t""no" 1>&6 |
14016 | 14888 |
14017 | 14889 |
14018 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14890 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14019 echo "configure:14020: checking for $dbfunc in -ldb" >&5 | 14891 echo "configure:14892: checking for $dbfunc in -ldb" >&5 |
14020 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14892 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14021 | 14893 |
14022 xe_check_libs=" -ldb " | 14894 xe_check_libs=" -ldb " |
14023 cat > conftest.$ac_ext <<EOF | 14895 cat > conftest.$ac_ext <<EOF |
14024 #line 14025 "configure" | 14896 #line 14897 "configure" |
14025 #include "confdefs.h" | 14897 #include "confdefs.h" |
14026 /* Override any gcc2 internal prototype to avoid an error. */ | 14898 /* Override any gcc2 internal prototype to avoid an error. */ |
14027 /* We use char because int might match the return type of a gcc2 | 14899 /* We use char because int might match the return type of a gcc2 |
14028 builtin and then its argument prototype would still apply. */ | 14900 builtin and then its argument prototype would still apply. */ |
14029 char $dbfunc(); | 14901 char $dbfunc(); |
14030 | 14902 |
14031 int main() { | 14903 int main() { |
14032 $dbfunc() | 14904 $dbfunc() |
14033 ; return 0; } | 14905 ; return 0; } |
14034 EOF | 14906 EOF |
14035 if { (eval echo configure:14036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14907 if { (eval echo configure:14908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14036 rm -rf conftest* | 14908 rm -rf conftest* |
14037 eval "ac_cv_lib_$ac_lib_var=yes" | 14909 eval "ac_cv_lib_$ac_lib_var=yes" |
14038 else | 14910 else |
14039 echo "configure: failed program was:" >&5 | 14911 echo "configure: failed program was:" >&5 |
14040 cat conftest.$ac_ext >&5 | 14912 cat conftest.$ac_ext >&5 |
14091 fi | 14963 fi |
14092 | 14964 |
14093 if test "$with_socks" = "yes"; then | 14965 if test "$with_socks" = "yes"; then |
14094 | 14966 |
14095 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14967 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14096 echo "configure:14097: checking for SOCKSinit in -lsocks" >&5 | 14968 echo "configure:14969: checking for SOCKSinit in -lsocks" >&5 |
14097 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14969 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14098 | 14970 |
14099 xe_check_libs=" -lsocks " | 14971 xe_check_libs=" -lsocks " |
14100 cat > conftest.$ac_ext <<EOF | 14972 cat > conftest.$ac_ext <<EOF |
14101 #line 14102 "configure" | 14973 #line 14974 "configure" |
14102 #include "confdefs.h" | 14974 #include "confdefs.h" |
14103 /* Override any gcc2 internal prototype to avoid an error. */ | 14975 /* Override any gcc2 internal prototype to avoid an error. */ |
14104 /* We use char because int might match the return type of a gcc2 | 14976 /* We use char because int might match the return type of a gcc2 |
14105 builtin and then its argument prototype would still apply. */ | 14977 builtin and then its argument prototype would still apply. */ |
14106 char SOCKSinit(); | 14978 char SOCKSinit(); |
14107 | 14979 |
14108 int main() { | 14980 int main() { |
14109 SOCKSinit() | 14981 SOCKSinit() |
14110 ; return 0; } | 14982 ; return 0; } |
14111 EOF | 14983 EOF |
14112 if { (eval echo configure:14113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14984 if { (eval echo configure:14985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14113 rm -rf conftest* | 14985 rm -rf conftest* |
14114 eval "ac_cv_lib_$ac_lib_var=yes" | 14986 eval "ac_cv_lib_$ac_lib_var=yes" |
14115 else | 14987 else |
14116 echo "configure: failed program was:" >&5 | 14988 echo "configure: failed program was:" >&5 |
14117 cat conftest.$ac_ext >&5 | 14989 cat conftest.$ac_ext >&5 |
14160 } | 15032 } |
14161 | 15033 |
14162 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15034 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14163 fi | 15035 fi |
14164 | 15036 |
14165 if test "$with_modules" != "no"; then | 15037 cat > conftest.$ac_ext <<EOF |
14166 echo "checking for module support" 1>&6 | 15038 #line 15039 "configure" |
14167 echo "configure:14168: checking for module support" >&5 | |
14168 | |
14169 if test "$with_msw" = "yes"; then | |
14170 have_dl=yes; | |
14171 else | |
14172 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | |
14173 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | |
14174 echo "configure:14175: checking for dlfcn.h" >&5 | |
14175 | |
14176 cat > conftest.$ac_ext <<EOF | |
14177 #line 14178 "configure" | |
14178 #include "confdefs.h" | |
14179 #include <dlfcn.h> | |
14180 EOF | |
14181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
14182 { (eval echo configure:14183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
14183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
14184 if test -z "$ac_err"; then | |
14185 rm -rf conftest* | |
14186 eval "ac_cv_header_$ac_safe=yes" | |
14187 else | |
14188 echo "$ac_err" >&5 | |
14189 echo "configure: failed program was:" >&5 | |
14190 cat conftest.$ac_ext >&5 | |
14191 rm -rf conftest* | |
14192 eval "ac_cv_header_$ac_safe=no" | |
14193 fi | |
14194 rm -f conftest* | |
14195 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
14196 echo "$ac_t""yes" 1>&6 | |
14197 | |
14198 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | |
14199 echo "configure:14200: checking for dlopen in -lc" >&5 | |
14200 cat > conftest.$ac_ext <<EOF | |
14201 #line 14202 "configure" | |
14202 #include "confdefs.h" | |
14203 #include <dlfcn.h> | |
14204 int main() { | |
14205 dlopen ("", 0); | |
14206 ; return 0; } | |
14207 EOF | |
14208 if { (eval echo configure:14209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14209 rm -rf conftest* | |
14210 have_dl=yes | |
14211 else | |
14212 echo "configure: failed program was:" >&5 | |
14213 cat conftest.$ac_ext >&5 | |
14214 rm -rf conftest* | |
14215 | |
14216 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | |
14217 echo "configure:14218: checking for dlopen in -ldl" >&5 | |
14218 ac_save_LIBS="$LIBS" | |
14219 LIBS="-ldl $LIBS" | |
14220 cat > conftest.$ac_ext <<EOF | |
14221 #line 14222 "configure" | |
14222 #include "confdefs.h" | |
14223 #include <dlfcn.h> | |
14224 int main() { | |
14225 dlopen ("", 0); | |
14226 ; return 0; } | |
14227 EOF | |
14228 if { (eval echo configure:14229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14229 rm -rf conftest* | |
14230 have_dl=yes | |
14231 else | |
14232 echo "configure: failed program was:" >&5 | |
14233 cat conftest.$ac_ext >&5 | |
14234 rm -rf conftest* | |
14235 LIBS="$ac_save_LIBS" | |
14236 fi | |
14237 rm -f conftest* | |
14238 ac_save_LIBS= | |
14239 fi | |
14240 rm -f conftest* | |
14241 else | |
14242 echo "$ac_t""no" 1>&6 | |
14243 fi | |
14244 | |
14245 if test -n "$have_dl"; then | |
14246 { test "$extra_verbose" = "yes" && cat << \EOF | |
14247 Defining HAVE_DLOPEN | |
14248 EOF | |
14249 cat >> confdefs.h <<\EOF | |
14250 #define HAVE_DLOPEN 1 | |
14251 EOF | |
14252 } | |
14253 | |
14254 else | |
14255 | |
14256 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | |
14257 echo "configure:14258: checking for shl_load in -ldld" >&5 | |
14258 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | |
14259 | |
14260 xe_check_libs=" -ldld " | |
14261 cat > conftest.$ac_ext <<EOF | |
14262 #line 14263 "configure" | |
14263 #include "confdefs.h" | |
14264 /* Override any gcc2 internal prototype to avoid an error. */ | |
14265 /* We use char because int might match the return type of a gcc2 | |
14266 builtin and then its argument prototype would still apply. */ | |
14267 char shl_load(); | |
14268 | |
14269 int main() { | |
14270 shl_load() | |
14271 ; return 0; } | |
14272 EOF | |
14273 if { (eval echo configure:14274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14274 rm -rf conftest* | |
14275 eval "ac_cv_lib_$ac_lib_var=yes" | |
14276 else | |
14277 echo "configure: failed program was:" >&5 | |
14278 cat conftest.$ac_ext >&5 | |
14279 rm -rf conftest* | |
14280 eval "ac_cv_lib_$ac_lib_var=no" | |
14281 fi | |
14282 rm -f conftest* | |
14283 xe_check_libs="" | |
14284 | |
14285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
14286 echo "$ac_t""yes" 1>&6 | |
14287 libdl=dld have_dl=yes; | |
14288 { test "$extra_verbose" = "yes" && cat << \EOF | |
14289 Defining HAVE_SHL_LOAD | |
14290 EOF | |
14291 cat >> confdefs.h <<\EOF | |
14292 #define HAVE_SHL_LOAD 1 | |
14293 EOF | |
14294 } | |
14295 | |
14296 else | |
14297 echo "$ac_t""no" 1>&6 | |
14298 | |
14299 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | |
14300 echo "configure:14301: checking for dld_init in -ldld" >&5 | |
14301 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | |
14302 | |
14303 xe_check_libs=" -ldld " | |
14304 cat > conftest.$ac_ext <<EOF | |
14305 #line 14306 "configure" | |
14306 #include "confdefs.h" | |
14307 /* Override any gcc2 internal prototype to avoid an error. */ | |
14308 /* We use char because int might match the return type of a gcc2 | |
14309 builtin and then its argument prototype would still apply. */ | |
14310 char dld_init(); | |
14311 | |
14312 int main() { | |
14313 dld_init() | |
14314 ; return 0; } | |
14315 EOF | |
14316 if { (eval echo configure:14317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14317 rm -rf conftest* | |
14318 eval "ac_cv_lib_$ac_lib_var=yes" | |
14319 else | |
14320 echo "configure: failed program was:" >&5 | |
14321 cat conftest.$ac_ext >&5 | |
14322 rm -rf conftest* | |
14323 eval "ac_cv_lib_$ac_lib_var=no" | |
14324 fi | |
14325 rm -f conftest* | |
14326 xe_check_libs="" | |
14327 | |
14328 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
14329 echo "$ac_t""yes" 1>&6 | |
14330 libdl=dld have_dl=yes; | |
14331 { test "$extra_verbose" = "yes" && cat << \EOF | |
14332 Defining HAVE_DLD_INIT | |
14333 EOF | |
14334 cat >> confdefs.h <<\EOF | |
14335 #define HAVE_DLD_INIT 1 | |
14336 EOF | |
14337 } | |
14338 | |
14339 else | |
14340 echo "$ac_t""no" 1>&6 | |
14341 fi | |
14342 | |
14343 | |
14344 fi | |
14345 | |
14346 | |
14347 fi | |
14348 fi | |
14349 if test -n "$have_dl"; then | |
14350 | |
14351 dll_ld= | |
14352 dll_ldflags= | |
14353 dll_cflags= | |
14354 dll_post= | |
14355 dll_ldo="-o" | |
14356 ld_dynamic_link_flags= | |
14357 xehost=$canonical | |
14358 xealias=$internal_configuration | |
14359 | |
14360 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | |
14361 echo "configure:14362: checking how to build dynamic libraries for ${xehost}" >&5 | |
14362 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | |
14363 case "$xehost" in | |
14364 *-*-linux-gnu*) ;; | |
14365 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | |
14366 esac | |
14367 | |
14368 xehost_cpu=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
14369 xehost_vendor=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
14370 xehost_os=`echo $xehost | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
14371 | |
14372 case "$xehost_os" in | |
14373 aix3*) | |
14374 # AIX sometimes has problems with the GCC collect2 program. For some | |
14375 # reason, if we set the COLLECT_NAMES environment variable, the problems | |
14376 # vanish in a puff of smoke. | |
14377 if test "${COLLECT_NAMES+set}" != set; then | |
14378 COLLECT_NAMES= | |
14379 export COLLECT_NAMES | |
14380 fi | |
14381 ;; | |
14382 esac | |
14383 | |
14384 # Now see if the compiler is really GCC. | |
14385 if test "$GCC" = "yes"; then | |
14386 XEGCC=yes | |
14387 else | |
14388 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | |
14389 echo "configure:14390: checking checking whether we are using GNU C" >&5 | |
14390 cat > conftest.$ac_ext <<EOF | |
14391 #line 14392 "configure" | |
14392 #include "confdefs.h" | |
14393 | |
14394 #ifdef __GNUC__ | |
14395 yes; | |
14396 #endif | |
14397 | |
14398 EOF | |
14399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
14400 egrep "yes" >/dev/null 2>&1; then | |
14401 rm -rf conftest* | |
14402 XEGCC=yes | |
14403 else | |
14404 rm -rf conftest* | |
14405 XEGCC=no | |
14406 fi | |
14407 rm -f conftest* | |
14408 | |
14409 echo "$ac_t""${XEGCC}" 1>&6 | |
14410 fi | |
14411 | |
14412 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | |
14413 echo "configure:14414: checking how to produce PIC code" >&5 | |
14414 wl= | |
14415 | |
14416 can_build_shared=yes | |
14417 if test "$XEGCC" = yes; then | |
14418 wl='-Wl,' | |
14419 | |
14420 case "$xehost_os" in | |
14421 aix[3-9]* | irix[5-9]* | osf[3-9]) | |
14422 # PIC is the default for these OSes. | |
14423 ;; | |
14424 | |
14425 os2*) | |
14426 # We can build DLLs from non-PIC. | |
14427 ;; | |
14428 amigaos*) | |
14429 # FIXME: we need at least 68020 code to build shared libraries, but | |
14430 # adding the `-m68020' flag to GCC prevents building anything better, | |
14431 # like `-m68040'. | |
14432 dll_cflags='-m68020 -resident32 -malways-restore-a4' | |
14433 ;; | |
14434 *cygwin* | *mingw* ) | |
14435 # PIC is the default | |
14436 ;; | |
14437 *) | |
14438 dll_cflags='-fPIC' | |
14439 ;; | |
14440 esac | |
14441 else | |
14442 # PORTME Check for PIC flags for the system compiler. | |
14443 case "$xehost_os" in | |
14444 hpux9* | hpux1[0-9]*) | |
14445 # Is there a better link_static_flag that works with the bundled CC? | |
14446 wl='-Wl,' | |
14447 dll_cflags='+Z' | |
14448 ;; | |
14449 | |
14450 irix[5-9]*) | |
14451 wl='-Wl,' | |
14452 # PIC (with -KPIC) is the default. | |
14453 ;; | |
14454 | |
14455 os2*) | |
14456 # We can build DLLs from non-PIC. | |
14457 ;; | |
14458 | |
14459 osf[3-9]*) | |
14460 # All OSF/1 code is PIC. | |
14461 wl='-Wl,' | |
14462 ;; | |
14463 | |
14464 aix[3-9]*) | |
14465 # All AIX code is PIC. | |
14466 wl='-Wl,' | |
14467 ;; | |
14468 | |
14469 sco3.2v5*) | |
14470 dll_cflags='-belf -Kpic' | |
14471 wl='-Wl,' | |
14472 ;; | |
14473 | |
14474 unixware*) | |
14475 dll_cflags="-KPIC" | |
14476 wl="-Wl," | |
14477 ;; | |
14478 | |
14479 sysv4*) | |
14480 dll_cflags="-KPIC" | |
14481 wl="-Wl," | |
14482 ;; | |
14483 | |
14484 sysv5*) | |
14485 dll_cflags="-KPIC" | |
14486 wl="-Wl," | |
14487 ;; | |
14488 | |
14489 solaris2*) | |
14490 dll_cflags='-KPIC' | |
14491 wl='-Wl,' | |
14492 ;; | |
14493 | |
14494 sunos4*) | |
14495 dll_cflags='-PIC' | |
14496 wl='-Qoption ld ' | |
14497 ;; | |
14498 | |
14499 uts4*) | |
14500 dll_cflags='-pic' | |
14501 ;; | |
14502 | |
14503 *) | |
14504 can_build_shared=no | |
14505 ;; | |
14506 esac | |
14507 fi | |
14508 | |
14509 if test -n "$dll_cflags"; then | |
14510 echo "$ac_t""${dll_cflags}" 1>&6 | |
14511 | |
14512 # Check to make sure the dll_cflags actually works. | |
14513 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | |
14514 echo "configure:14515: checking if PIC flag ${dll_cflags} really works" >&5 | |
14515 save_CFLAGS="$CFLAGS" | |
14516 CFLAGS="$CFLAGS $dll_cflags -DPIC" | |
14517 cat > conftest.$ac_ext <<EOF | |
14518 #line 14519 "configure" | |
14519 #include "confdefs.h" | |
14520 | |
14521 int main() { | |
14522 int x=0; | |
14523 ; return 0; } | |
14524 EOF | |
14525 if { (eval echo configure:14526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
14526 rm -rf conftest* | |
14527 | |
14528 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | |
14529 # reports no error. So, we need to grep stderr for (Bundled). | |
14530 if grep '(Bundled)' config.log >/dev/null; then | |
14531 echo "$ac_t""no" 1>&6 | |
14532 can_build_shared=no | |
14533 dll_cflags= | |
14534 else | |
14535 echo "$ac_t""yes" 1>&6 | |
14536 fi | |
14537 else | |
14538 echo "configure: failed program was:" >&5 | |
14539 cat conftest.$ac_ext >&5 | |
14540 rm -rf conftest* | |
14541 echo "$ac_t""no" 1>&6 | |
14542 can_build_shared=no | |
14543 dll_cflags= | |
14544 fi | |
14545 rm -f conftest* | |
14546 CFLAGS="$save_CFLAGS" | |
14547 else | |
14548 echo "$ac_t""none" 1>&6 | |
14549 fi | |
14550 | |
14551 if test "$can_build_shared" = "yes"; then | |
14552 cc_produces_so=no | |
14553 xldf= | |
14554 xcldf= | |
14555 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | |
14556 echo "configure:14557: checking if C compiler can produce shared libraries" >&5 | |
14557 if test "$XEGCC" = yes; then | |
14558 xcldf="-shared" | |
14559 xldf="-shared" | |
14560 else # Not using GCC | |
14561 case "$xehost_os" in | |
14562 aix[3-9]*) | |
14563 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" | |
14564 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" | |
14565 ;; | |
14566 | |
14567 freebsd2* | netbsd* | openbsd*) | |
14568 xldf="-Bshareable" | |
14569 xcldf="${wl}-Bshareable" | |
14570 ;; | |
14571 | |
14572 freebsd3*) | |
14573 xcldf="-shared" | |
14574 ;; | |
14575 | |
14576 hpux*) | |
14577 xldf="-b +s" | |
14578 xcldf="${wl}-b ${wl}+s" | |
14579 ;; | |
14580 | |
14581 irix[5-9]* | osf[3-9]*) | |
14582 xcldf="${wl}-shared" | |
14583 xldf="-shared" | |
14584 ;; | |
14585 | |
14586 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7* | uts4*) | |
14587 xcldf="-G" | |
14588 xldf="-G" | |
14589 ;; | |
14590 | |
14591 sunos4*) | |
14592 xcldf="${wl}-assert ${wl}pure-text ${wl}-Bstatic" | |
14593 xldf="-assert pure-text -Bstatic" | |
14594 ;; | |
14595 esac | |
14596 fi # End if if we are using gcc | |
14597 | |
14598 if test -n "$xcldf"; then | |
14599 save_LDFLAGS=$LDFLAGS | |
14600 save_LIBS=$LIBS | |
14601 save_xe_libs=$xe_libs | |
14602 LDFLAGS="$xcldf $LDFLAGS" | |
14603 LIBS= | |
14604 xe_libs= | |
14605 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
14606 cat > conftest.$ac_ext <<EOF | |
14607 #line 14608 "configure" | |
14608 #include "confdefs.h" | |
14609 | |
14610 int main() { | |
14611 int x=0; | |
14612 ; return 0; } | |
14613 EOF | |
14614 if { (eval echo configure:14615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14615 rm -rf conftest* | |
14616 cc_produces_so=yes | |
14617 else | |
14618 echo "configure: failed program was:" >&5 | |
14619 cat conftest.$ac_ext >&5 | |
14620 rm -rf conftest* | |
14621 cc_produces_so=no | |
14622 fi | |
14623 rm -f conftest* | |
14624 LDFLAGS=$save_LDFLAGS | |
14625 LIBS=$save_LIBS | |
14626 xe_libs=$save_xe_libs | |
14627 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | |
14628 else | |
14629 cc_produces_so=no | |
14630 fi | |
14631 echo "$ac_t""${cc_produces_so}" 1>&6 | |
14632 | |
14633 LTLD=$LD | |
14634 if test -z "$LTLD"; then | |
14635 ac_prog=ld | |
14636 if test "$XEGCC" = yes; then | |
14637 # Check if gcc -print-prog-name=ld gives a path. | |
14638 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | |
14639 echo "configure:14640: checking for ld used by GCC" >&5 | |
14640 ac_prog=`($CC -print-prog-name=ld) 2>&5` | |
14641 case "$ac_prog" in | |
14642 # Accept absolute paths. | |
14643 /*) | |
14644 if test -z "$LTLD"; then | |
14645 # case "$ac_prog" in | |
14646 # *gcc-lib*) LTLD="$CC" | |
14647 # ;; | |
14648 # *) | |
14649 LTLD="$ac_prog" | |
14650 # ;; | |
14651 # esac | |
14652 fi | |
14653 ;; | |
14654 "") | |
14655 # If it fails, then pretend we aren't using GCC. | |
14656 ac_prog=ld | |
14657 ;; | |
14658 *) | |
14659 # If it is relative, then search for the first ld in PATH. | |
14660 with_gnu_ld=unknown | |
14661 ;; | |
14662 esac | |
14663 else | |
14664 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | |
14665 echo "configure:14666: checking for GNU ld" >&5 | |
14666 fi | |
14667 | |
14668 if test -z "$LTLD"; then | |
14669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | |
14670 for ac_dir in $PATH; do | |
14671 test -z "$ac_dir" && ac_dir=. | |
14672 if test -f "$ac_dir/$ac_prog"; then | |
14673 LTLD="$ac_dir/$ac_prog" | |
14674 # Check to see if the program is GNU ld. I'd rather use --version, | |
14675 # but apparently some GNU ld's only accept -v. | |
14676 # Break only if it was the GNU/non-GNU ld that we prefer. | |
14677 if "$LTLD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | |
14678 xe_gnu_ld=yes | |
14679 else | |
14680 xe_gnu_ld=no | |
14681 fi | |
14682 fi | |
14683 done | |
14684 IFS="$ac_save_ifs" | |
14685 fi | |
14686 | |
14687 if test -n "$LTLD"; then | |
14688 echo "$ac_t""${LTLD}" 1>&6 | |
14689 else | |
14690 echo "$ac_t""no" 1>&6 | |
14691 fi | |
14692 | |
14693 if test -z "$LTLD" -a "$cc_produces_so" = no; then | |
14694 { echo "configure: error: no acceptable linker found in \$PATH" 1>&2; exit 1; } | |
14695 exit 1 | |
14696 fi | |
14697 fi | |
14698 | |
14699 ld_dynamic_link_flags= | |
14700 | |
14701 # Check to see if it really is or isn't GNU ld. | |
14702 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | |
14703 echo "configure:14704: checking if the linker is GNU ld" >&5 | |
14704 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | |
14705 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | |
14706 xe_gnu_ld=yes | |
14707 else | |
14708 xe_gnu_ld=no | |
14709 fi | |
14710 echo "$ac_t""${xe_gnu_ld}" 1>&6 | |
14711 | |
14712 case "$xehost_os" in | |
14713 amigaos* | sunos4*) | |
14714 # On these operating systems, we should treat GNU ld like the system ld. | |
14715 gnu_ld_acts_native=yes | |
14716 ;; | |
14717 *) | |
14718 gnu_ld_acts_native=no | |
14719 ;; | |
14720 esac | |
14721 | |
14722 if test "$cc_produces_so" = "yes"; then | |
14723 dll_ld=$CC | |
14724 dll_ldflags=$xcldf | |
14725 can_build_shared=yes | |
14726 ld_shlibs=yes | |
14727 else | |
14728 # OK - only NOW do we futz about with ld. | |
14729 # See if the linker supports building shared libraries. | |
14730 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | |
14731 echo "configure:14732: checking whether the linker supports shared libraries" >&5 | |
14732 dll_ld=$CC | |
14733 dll_ldflags=$LDFLAGS | |
14734 ld_shlibs=yes | |
14735 can_build_shared=yes | |
14736 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | |
14737 # See if GNU ld supports shared libraries. | |
14738 if $LTLD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | |
14739 dll_ld=$CC | |
14740 dll_ldflags="-shared" | |
14741 ld_shlibs=yes | |
14742 else | |
14743 ld_shlibs=no | |
14744 fi | |
14745 else | |
14746 # PORTME fill in a description of your system's linker (not GNU ld) | |
14747 case "$xehost_os" in | |
14748 aix3*) | |
14749 dll_ld=$LTLD | |
14750 dll_ldflags=$xldf | |
14751 ;; | |
14752 | |
14753 aix[4-9]*) | |
14754 dll_ldflags=$xcldf | |
14755 ;; | |
14756 | |
14757 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | |
14758 # support. Future versions do this automatically, but an explicit c++rt0.o | |
14759 # doesn't break anything, and helps significantly (at the cost of a little | |
14760 # extra space). | |
14761 freebsd2.2*) | |
14762 dll_ld=$LTLD | |
14763 dll_ldflags=$xldf | |
14764 dll_post="/usr/lib/c++rt0.o" | |
14765 ;; | |
14766 | |
14767 # Unfortunately, older versions of FreeBSD 2 don't have this feature. | |
14768 freebsd2*) | |
14769 dll_ld=$LTLD | |
14770 dll_ldflags="-Bshareable" | |
14771 ;; | |
14772 | |
14773 # FreeBSD 3, at last, uses gcc -shared to do shared libraries. | |
14774 freebsd3*) | |
14775 dll_ldflags="-shared" | |
14776 ;; | |
14777 | |
14778 hpux*) | |
14779 dll_ld=$LTLD | |
14780 dll_ldflags=$xldf | |
14781 ;; | |
14782 | |
14783 irix[5-9]*) | |
14784 dll_ld=$LTLD | |
14785 dll_ldflags=$xldf | |
14786 ;; | |
14787 | |
14788 netbsd*) | |
14789 # Tested with NetBSD 1.2 ld | |
14790 dll_ld=$LTLD | |
14791 dll_ldflags=$xldf | |
14792 ;; | |
14793 | |
14794 openbsd*) | |
14795 dll_ld=$LTLD | |
14796 dll_ldflags=$xldf | |
14797 ;; | |
14798 | |
14799 osf3* | osf4*) | |
14800 dll_ld=$LTLD | |
14801 dll_ldflags=$xldf | |
14802 ;; | |
14803 | |
14804 # For both SCO and Solaris we MAY want to have LDFLAGS include -z text | |
14805 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7*) | |
14806 dll_ld=$LTLD | |
14807 case "$dll_ld" in | |
14808 *gcc*) dll_ldflags="-shared" | |
14809 dll_ld=$CC | |
14810 ;; | |
14811 *) dll_ldflags="-G" | |
14812 ;; | |
14813 esac | |
14814 ;; | |
14815 | |
14816 sunos4*) | |
14817 if test "$XEGCC" = yes; then | |
14818 dll_ld=$CC | |
14819 else | |
14820 dll_ld=$LTLD | |
14821 fi | |
14822 dll_ldflags=$xldf | |
14823 ;; | |
14824 | |
14825 uts4*) | |
14826 dll_ld=$LTLD | |
14827 dll_ldflags="-G" | |
14828 ;; | |
14829 | |
14830 bsdi*) | |
14831 dll_ldflags="-r" | |
14832 dll_ld="shlicc2" | |
14833 ;; | |
14834 | |
14835 *) | |
14836 ld_shlibs=no | |
14837 can_build_shared=no | |
14838 ;; | |
14839 esac | |
14840 fi | |
14841 echo "$ac_t""${ld_shlibs}" 1>&6 | |
14842 if test "$ld_shlibs" = "no"; then | |
14843 can_build_shared=no | |
14844 fi | |
14845 fi # End of if cc_produces_so = no | |
14846 | |
14847 | |
14848 if test "$xe_gnu_ld" = yes; then | |
14849 if test "$ld_shlibs" = yes; then | |
14850 ld_dynamic_link_flags="${wl}-export-dynamic" | |
14851 fi | |
14852 fi | |
14853 | |
14854 if test -z "$ld_dynamic_link_flags"; then | |
14855 case "$xehost_os" in | |
14856 aix[3-9]*) | |
14857 ld_dynamic_link_flags= | |
14858 ;; | |
14859 | |
14860 freebsd2.2*) | |
14861 ld_dynamic_link_flags= | |
14862 ;; | |
14863 | |
14864 freebsd2*) | |
14865 ld_dynamic_link_flags= | |
14866 ;; | |
14867 | |
14868 freebsd3*) | |
14869 ld_dynamic_link_flags= | |
14870 ;; | |
14871 | |
14872 hpux*) | |
14873 ld_dynamic_link_flags="${wl}-E" | |
14874 ;; | |
14875 | |
14876 irix[5-9]*) | |
14877 ld_dynamic_link_flags= | |
14878 ;; | |
14879 | |
14880 netbsd*) | |
14881 ld_dynamic_link_flags= | |
14882 ;; | |
14883 | |
14884 openbsd*) | |
14885 ld_dynamic_link_flags= | |
14886 ;; | |
14887 | |
14888 osf3* | osf4*) | |
14889 ld_dynamic_link_flags= | |
14890 ;; | |
14891 | |
14892 solaris2* | solaris7*) | |
14893 ld_dynamic_link_flags= | |
14894 ;; | |
14895 | |
14896 sco3.2v5* | unixware* | sysv5* | sysv4*) | |
14897 ld_dynamic_link_flags="${wl}-Bexport" | |
14898 ;; | |
14899 | |
14900 sunos4*) | |
14901 ld_dynamic_link_flags= | |
14902 ;; | |
14903 | |
14904 uts4*) | |
14905 ld_dynamic_link_flags= | |
14906 ;; | |
14907 | |
14908 bsdi*) | |
14909 ld_dynamic_link_flags= | |
14910 ;; | |
14911 | |
14912 esac | |
14913 fi # End of if -z ld_dynamic_link_flags | |
14914 fi # End of if test "$can_build_shared" = "yes" | |
14915 | |
14916 | |
14917 | |
14918 | |
14919 | |
14920 | |
14921 | |
14922 | |
14923 fi | |
14924 | |
14925 if test "$can_build_shared" = "yes"; then | |
14926 { test "$extra_verbose" = "yes" && cat << \EOF | |
14927 Defining HAVE_SHLIB | |
14928 EOF | |
14929 cat >> confdefs.h <<\EOF | |
14930 #define HAVE_SHLIB 1 | |
14931 EOF | |
14932 } | |
14933 | |
14934 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
14935 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | |
14936 for ac_func in dlerror _dlerror | |
14937 do | |
14938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
14939 echo "configure:14940: checking for $ac_func" >&5 | |
14940 | |
14941 cat > conftest.$ac_ext <<EOF | |
14942 #line 14943 "configure" | |
14943 #include "confdefs.h" | |
14944 /* System header to define __stub macros and hopefully few prototypes, | |
14945 which can conflict with char $ac_func(); below. */ | |
14946 #include <assert.h> | |
14947 /* Override any gcc2 internal prototype to avoid an error. */ | |
14948 /* We use char because int might match the return type of a gcc2 | |
14949 builtin and then its argument prototype would still apply. */ | |
14950 char $ac_func(); | |
14951 | |
14952 int main() { | |
14953 | |
14954 /* The GNU C library defines this for functions which it implements | |
14955 to always fail with ENOSYS. Some functions are actually named | |
14956 something starting with __ and the normal name is an alias. */ | |
14957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
14958 choke me | |
14959 #else | |
14960 $ac_func(); | |
14961 #endif | |
14962 | |
14963 ; return 0; } | |
14964 EOF | |
14965 if { (eval echo configure:14966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14966 rm -rf conftest* | |
14967 eval "ac_cv_func_$ac_func=yes" | |
14968 else | |
14969 echo "configure: failed program was:" >&5 | |
14970 cat conftest.$ac_ext >&5 | |
14971 rm -rf conftest* | |
14972 eval "ac_cv_func_$ac_func=no" | |
14973 fi | |
14974 rm -f conftest* | |
14975 | |
14976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
14977 echo "$ac_t""yes" 1>&6 | |
14978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
14979 { test "$extra_verbose" = "yes" && cat << EOF | |
14980 Defining $ac_tr_func | |
14981 EOF | |
14982 cat >> confdefs.h <<EOF | |
14983 #define $ac_tr_func 1 | |
14984 EOF | |
14985 } | |
14986 | |
14987 else | |
14988 echo "$ac_t""no" 1>&6 | |
14989 fi | |
14990 done | |
14991 | |
14992 with_modules=yes | |
14993 else | |
14994 if test "$with_modules" = "yes"; then | |
14995 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } | |
14996 else | |
14997 echo " No module support." | |
14998 fi | |
14999 with_modules=no | |
15000 fi | |
15001 fi | |
15002 | |
15003 cat > conftest.$ac_ext <<EOF | |
15004 #line 15005 "configure" | |
15005 #include "confdefs.h" | 15039 #include "confdefs.h" |
15006 int main(int c,char *v[]){return 0;} | 15040 int main(int c,char *v[]){return 0;} |
15007 EOF | 15041 EOF |
15008 if { (eval echo configure:15009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15042 if { (eval echo configure:15043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15009 then | 15043 then |
15010 : | 15044 : |
15011 else | 15045 else |
15012 conftest_rc="$?" | 15046 conftest_rc="$?" |
15013 echo "configure: failed program was:" >&5 | 15047 echo "configure: failed program was:" >&5 |
15042 } | 15076 } |
15043 | 15077 |
15044 fi | 15078 fi |
15045 | 15079 |
15046 | 15080 |
15081 if test "$with_modules" = "yes"; then | |
15082 ld_libs_module= | |
15083 else | |
15084 | |
15085 T="" | |
15086 for W in $ldap_libs $postgresql_libs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | |
15087 ld_libs_module="$T" | |
15088 | |
15089 fi | |
15090 | |
15047 | 15091 |
15048 T="" | 15092 T="" |
15049 for W in $CFLAGS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 15093 for W in $CFLAGS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
15050 CFLAGS="$T" | 15094 CFLAGS="$T" |
15051 | 15095 |
15094 for W in $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 15138 for W in $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
15095 ld_libs_window_system="$T" | 15139 ld_libs_window_system="$T" |
15096 | 15140 |
15097 | 15141 |
15098 T="" | 15142 T="" |
15099 for W in $ld_libs_window_system $ld_libs_general; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 15143 for W in $ld_libs_window_system $ld_libs_general $ld_libs_module; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
15100 ld_libs_all="$T" | 15144 ld_libs_all="$T" |
15101 | 15145 |
15102 | 15146 |
15103 | 15147 |
15104 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | 15148 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi |
15922 s%@X_LIBS@%$X_LIBS%g | 15966 s%@X_LIBS@%$X_LIBS%g |
15923 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | 15967 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
15924 s%@install_pp@%$install_pp%g | 15968 s%@install_pp@%$install_pp%g |
15925 s%@libs_xauth@%$libs_xauth%g | 15969 s%@libs_xauth@%$libs_xauth%g |
15926 s%@dnd_objs@%$dnd_objs%g | 15970 s%@dnd_objs@%$dnd_objs%g |
15927 s%@lwlib_objs@%$lwlib_objs%g | |
15928 s%@ALLOCA@%$ALLOCA%g | |
15929 s%@have_esd_config@%$have_esd_config%g | |
15930 s%@dll_ld@%$dll_ld%g | 15971 s%@dll_ld@%$dll_ld%g |
15931 s%@dll_cflags@%$dll_cflags%g | 15972 s%@dll_cflags@%$dll_cflags%g |
15932 s%@dll_ldflags@%$dll_ldflags%g | 15973 s%@dll_ldflags@%$dll_ldflags%g |
15933 s%@dll_post@%$dll_post%g | 15974 s%@dll_post@%$dll_post%g |
15934 s%@dll_ldo@%$dll_ldo%g | 15975 s%@dll_ldo@%$dll_ldo%g |
15935 s%@ld_dynamic_link_flags@%$ld_dynamic_link_flags%g | 15976 s%@ld_dynamic_link_flags@%$ld_dynamic_link_flags%g |
15977 s%@with_modules@%$with_modules%g | |
15978 s%@MOD_CC@%$MOD_CC%g | |
15979 s%@MODARCHDIR@%$MODARCHDIR%g | |
15980 s%@MAKE_DOCFILE@%$MAKE_DOCFILE%g | |
15981 s%@MODCFLAGS@%$MODCFLAGS%g | |
15982 s%@INSTALLPATH@%$INSTALLPATH%g | |
15983 s%@MOD_INSTALL_PROGRAM@%$MOD_INSTALL_PROGRAM%g | |
15984 s%@OBJECT_TO_BUILD@%$OBJECT_TO_BUILD%g | |
15985 s%@ldap_libs@%$ldap_libs%g | |
15986 s%@postgresql_libs@%$postgresql_libs%g | |
15987 s%@lwlib_objs@%$lwlib_objs%g | |
15988 s%@ALLOCA@%$ALLOCA%g | |
15989 s%@have_esd_config@%$have_esd_config%g | |
15936 s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g | 15990 s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g |
15937 s%@INSTALL_ARCH_DEP_SUBDIR@%$INSTALL_ARCH_DEP_SUBDIR%g | 15991 s%@INSTALL_ARCH_DEP_SUBDIR@%$INSTALL_ARCH_DEP_SUBDIR%g |
15938 s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g | 15992 s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g |
15939 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g | 15993 s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g |
15940 s%@PROGNAME@%$PROGNAME%g | 15994 s%@PROGNAME@%$PROGNAME%g |